/*
Theme Name: Ard Hal Multaqa
Theme URI: https://example.com/
Author: Your Name
Author URI: https://example.com/
Description: A custom theme design for Ard Hal Multaqa.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ardhalmultaqa
*/

:root {
	--brown: #d7af7b;
	--green: #192d22;
	--black: #000000;
	--white: #ffffff;
}
html,
body {
	width: 100%;
	font-family: "Montserrat", sans-serif;
	overflow-x: hidden;
	font-size: 16px;
}
ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
a,
a:hover,
a:focus,
a:active {
	text-decoration: none;
	color: var(--black);
}
img {
	max-width: 100%;
	height: auto;
}
header.header {
	padding: 20px 0;
}
a.navbar-brand img {
	max-height: 120px;
	width: auto !important;
}
.navbar-nav {
	margin-left: 20px;
}
.navbar-nav li a {
	font-weight: bold;
	color: var(--black);
	margin-right: 10px;
	border-bottom: 3px solid transparent;
	padding: 5px 8px;
	text-transform: uppercase;
}
.navbar-nav li.current-menu-item a,
.navbar-nav li a:hover {
	border-color: var(--black);
}
ul.lagn_switcher {
	border: 2px solid #707070;
	border-radius: 30px;
	margin-right: 15px;
	overflow: hidden;
}
ul.lagn_switcher li {
	display: inline-block;
}
ul.lagn_switcher li a {
	display: inline-block;
	color: #fff;
	width: 50px;
	height: 50px;
	text-align: center;
	font-size: 12px;
	padding-top: 16px;
	border-radius: 100%;
	color: var(--brown);
	text-transform: uppercase;
	font-weight: bold;
	margin: -2px;
}
ul.lagn_switcher li.current-lang a {
	background-color: var(--brown);
	color: var(--white);
}
.search_form {
	border: 2px solid #707070;
	border-radius: 30px;
	overflow: hidden;
}
.search_form input {
	padding: 10px;
	border: none;
	outline: none;
	box-shadow: none;
	max-width: 150px;
}
.search_form button {
	border: none;
	outline: none;
	box-shadow: none;
	background: none;
	padding-right: 15px;
}
.home_slider {
	padding-bottom: 50px;
}
.home_slider .carousel-caption {
	background: linear-gradient(to right, var(--green), transparent);
	padding: 30px 70px;
	text-align: left;
	top: 50%;
	bottom: unset;
	transform: translate(0%, -50%);
	left: -10px;
	width: 70%;
	opacity: 1;
}
.home_slider .carousel-item img {
	width: 100%;
	height: 850px;
	border-radius: 40px;
	object-fit: cover;
}
.home_slider .carousel-item {
	padding-left: 10px;
}
.home_slider .carousel-caption h5 {
	font-size: 60px;
}
a.read_more {
	background: var(--brown);
	display: inline-block;
	padding: 10px 20px;
	margin-top: 20px;
	color: var(--white);
}
a.read_more i {
	width: 30px;
	height: 30px;
	border-radius: 100%;
	background: var(--white);
	color: var(--brown);
	text-align: center;
	padding-top: 6px;
}

.home_slider .carousel-indicators {
	background: #fff;
	left: unset;
	margin: 0;
	padding: 10px 30px 10px 10px;
}
.home_slider .carousel-indicators:before {
	content: "";
	position: absolute;
	width: 80px;
	height: 100%;
	top: 0;
	left: -80px;
	background: url(images/shape-1.png) no-repeat;
	background-position: center center;
	background-size: 100% 100%;
}
.home_slider .carousel-indicators::after {
	content: "";
	position: absolute;
	width: 70px;
	height: 80%;
	top: -70px;
	right: -7px;
	background: url(images/shape-2.png) no-repeat;
	background-position: center center;
	background-size: 100% 100%;
}

.home_slider .carousel-indicators button {
	box-sizing: content-box;
	flex: 0 1 auto;
	width: 150px;
	height: 70px;
	padding: 0;
	text-indent: 0;
	cursor: pointer;
	background-color: var(--bs-carousel-indicator-active-bg);
	background-clip: padding-box;
	border: 0;
	border-top: unset;
	border-bottom: unset;
	opacity: 1;
	position: relative;
}
.home_slider .carousel-indicators button img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.home_seso {
	padding: 50px 0;
}
.seso_inner {
	background: var(--green);
	border-radius: 50px 0 0 50px;
	position: relative;
	overflow: hidden;
}
ul.seso_list {
	padding: 50px 0px 50px 40px;
}
ul.seso_list li a {
	color: var(--white);
	font-size: 22px;
	font-weight: 500;
	position: relative;
}
ul.seso_list li a:before {
	content: "";
	position: absolute;
	width: 50px;
	height: 2px;
	background: var(--white);
	top: 50%;
	transform: translate(-120%, 50%);
	opacity: 0;
	transition: 0.2s all linear;
}
ul.seso_list li.active a:before,
ul.seso_list li a:hover:before {
	opacity: 1;
}
.seso_content {
	background: var(--white);
	height: 100%;
	padding: 50px 30px 20px;
}
a.learn_more {
	border: 2px solid #707070;
	padding: 10px 20px;
	border-radius: 30px;
	transition: 0.2s all linear;
}

.learn_more {
  position: relative;
  z-index: 10;
}
a.learn_more i {
	width: 30px;
	height: 30px;
	background: var(--brown);
	text-align: center;
	padding-top: 7px;
	border-radius: 100%;
	margin-left: 20px;
	transition: 0.2s all linear;
}
a.learn_more:hover {
	background-color: var(--brown);
	border-color: var(--brown);
}
a.learn_more:hover i {
	background: var(--black);
	color: var(--brown);
}
.seso_img {
	background: #fff;
	height: 100%;
}
.seso_inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.seso_inner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 30px;
}
section.home_services {
	position: relative;
	padding: 50px 0;
}
.home_services h2 {
	font-size: 24px;
	margin-bottom: 30px;
}
.home_service_link {
	display: block;
	width: fit-content;
	color: var(--brown);
	margin-left: auto;
	margin-top: 20px;
	font-size: 16px;
}
.home_service_link i {
	margin-left: 10px;
}
.home_services_slider .owl-stage {
	padding-left: 0 !important;
}
.service_box_slide {
	width: 100%;
	
	border-radius: 40px 40px 0px 40px;
	overflow: hidden;
	position: relative;
	 height: 400px;    /* ارتفاع ثابت */
}
.service_box_slide h3 {
	font-size: 20px;
	color: var(--white);
	position: absolute;
	bottom: 80px;
	left: 20px;
	max-width: 50%;
	z-index: 2;
	font-size: 28px;
}
.service_box_slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.service_box_btn {
	position: absolute;
	bottom: 0;
	background: #fff;
	height: 60px;
	right: 0px;
	z-index: 2;
	padding: 15px 20px 0px 2px;
}
.service_box_btn:before {
	content: "";
	position: absolute;
	width: 46px;
	height: 100%;
	top: 0;
	left: -45px;
	background: url(images/shape-1.png) no-repeat;
	background-position: center center;
	background-size: 100% 100%;
}
.service_box_btn:after {
	content: "";
	position: absolute;
	width: 40px;
	height: 100%;
	top: -59px;
	right: -4px;
	background: url(images/shape-2.png) no-repeat;
	background-position: center center;
	background-size: 100% 100%;
}
.service_box_slide > a {
	position: absolute;
	width: 100%;
	height: 100%;
	background: rgb(0 0 0 / 50%);
	opacity: 1;
	transition: 0.2s all linear;
}
.service_box_slide:hover > a {
	opacity: 0;
}
section.submered_home {
	padding: 50px 0;
}
#home_projects_slid .carousel-caption {
	position: unset;
	color: var(--black);
	text-align: left;
	margin-bottom: 10px;
}
div#home_projects_slid img {
	width: 100%;
	height: 500px;
	object-fit: cover;
	border-radius: 40px;
}
.project_slide_btns {
	position: absolute;
	bottom: 522px;
	right: 0;
	border: 2px solid #707070;
	padding: 3px;
	background: #fff;
	border-radius: 30px;
}
#home_projects_slid .carousel-control-next,
#home_projects_slid .carousel-control-prev {
	position: unset;
	background: var(--brown);
	opacity: 1;
	width: 30px;
	height: 30px;
	border-radius: 100%;
	display: inline-block;
	padding-top: 0px;
}
#home_projects_slid .carousel-control-next svg,
#home_projects_slid .carousel-control-prev svg {
	width: 50%;
}
#home_projects_slid .carousel-control-next {
	margin-left: 50px;
}
.home_clients_slider .owl-stage {
	padding-left: 0 !important;
}
.client_box img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.client_box {
	width: 100%;
	aspect-ratio: 1 / 0.7;
	border: 2px solid #707070;
	padding: 20px 10px;
}
footer.footer {
	background: var(--green);
	padding: 50px 0;
	color: var(--white);
}
.powered_by img {
	max-height: 24px;
}
.footer_logo img {
	min-width: 90px;
	margin-bottom: 20px;
}
ul.footer_menu {
	text-align: center;
	margin-bottom: 20px;
	display: flex;
	justify-content: space-around;
}
ul.footer_menu li a {
	color: var(--white);
	font-weight: 500;
	margin: 0 10px 10px;
	display: flex;
	justify-content: space-between;
}
.footer h5 {
	font-weight: 100;
}
ul.social li {
	display: inline-block;
}
ul.social li a {
	color: var(--white);
	margin-right: 10px;
}
.footer_middle {
	border-left: 1px solid #707070;
	padding: 0 15px;
	border-right: 1px solid #707070;
	height: 100%;
}
button.navbar-toggler {
	padding: 10px 15px;
	width: 50px;
	background: var(--brown);
}

button.navbar-toggler svg {
	fill: var(--white);
}
.page_cover {
	margin-bottom: 50px;
}
.page_cover img {
	width: 100%;
}
section.about_page h1,
h1 {
	font-size: 2.3rem;
}
.about_page h1 span {
	color: var(--brown);
}
.about_page img {
	width: 100%;
	margin: 20px 0;
}
.about_box_img {
	width: 100%;
	aspect-ratio: 1 / 0.8;
	margin-bottom: 20px;
	overflow: hidden;
}
.about_box_img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	margin: 0;
}
.about_box_img h3 {
	font-weight: bold;
	font-size: 2.2rem;
}
.about_box_img h3 span {
	display: block;
	margin-top: 10px;
	background: var(--brown);
	width: fit-content;
	padding: 5px 20px;
}
.about_box_img h3:after {
	content: "";
	width: 50%;
	height: 3px;
	background: #707070;
	display: block;
	margin-top: 20px;
}
section.mission_vision {
	padding-top: 30px;
}
.mission_vision h3 {
	font-size: 2.1rem;
	margin-bottom: 20px;
	font-weight: 500;
}
.why_chooseus {
	padding: 50px 0;
}
.why_chooseus h3 {
	font-size: 2.1rem;
	margin-bottom: 20px;
	font-weight: 500;
}
.services_page {
	padding: 0 0 50px;
}
.services_page h1 {
	font-size: 2.5rem;
	font-weight: 500;
	margin-bottom: 20px;
}
.service_inner {
	margin-bottom: 50px;
}
.service_inner p {
	padding: 0 100px;
}
.contact_page .service_inner p {
	padding: 0;
}
.service_box {
	position: relative;
	padding: 30px 0 20px;
	border-top: 1px solid #707070;
}
.service_box h3 {
	cursor: pointer;
	font-size: 1.5rem;
	font-weight: 500;
}
.service_box .service_box_content {
	max-height: 0;
	overflow: hidden;
	visibility: hidden;
	transition: max-height 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.service_box .service_box_content a {
	width: fit-content;
	display: block;
	padding: 5px 20px;
}
.service_box.show .service_box_content {
	max-height: 500px;
	overflow: 1;
	visibility: visible;
}
.service_box > i {
	position: absolute;
	top: 40px;
	right: 10px;
	font-size: 22px;
}
.projects_page {
	padding: 0 0 50px;
}
.project_bo {
	margin-top: 30px;
}
.project_bo h3 {
	font-size: 1.4rem;
	font-weight: 500;
	margin-top: 20px;
}
.project_bo img {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	margin: 10px 0;
}
.gmap {
	height: 100%;
}

.gmap iframe {
	width: 100%;
	min-height: 250px;
	height: 100%;
}
.form_inner {
	border: 1px solid #707070;
	border-radius: 30px;
	padding: 50px;
}
.form_inner input,
.form_inner textarea {
	width: 100%;
	display: block;
	margin-bottom: 10px;
	border: none;
	border-bottom: 1px solid #707070;
	padding: 5px;
	outline: none;
	resize: none;
}
.form_inner textarea {
	min-height: 150px;
}
.contact_form button[type="submit"] {
	display: block;
	background: var(--green);
	color: var(--white);
	padding: 10px 10px 10px 20px;
	border-radius: 30px;
	border: none;
	outline: none;
	margin: 20px 0 0 auto;
	width: fit-content;
}
.contact_form button[type="submit"] i {
	width: 30px;
	height: 30px;
	border-radius: 100%;
	background: var(--brown);
	padding-top: 6px;
}
/* media queries */
@media (max-width: 767px) {
	a.navbar-brand img {
		max-height: 100px;
	}
	.home_slider .carousel-item img {
		height: 250px;
	}
	.home_slider .carousel-indicators button {
		width: 60px;
		height: 40px;
	}
	.home_slider .carousel-indicators:before {
		width: 40px;
		left: -39px;
	}
	.home_slider .carousel-indicators::after {
		width: 70px;
		top: -44px;
		right: -7px;
	}
	.seso_content {
		padding: 20px 30px 30px;
	}
	.home_service_link,
	.home_services h2 {
		margin: 0;
	}
	section.submered_home {
		padding-top: 0;
	}
	div#home_projects_slid img {
		height: 200px;
	}
	section.home_services,
	.home_seso {
		padding: 0;
	}
	section.home_services {
		padding-top: 30px;
	}
	.client_box {
		padding: 10px;
	}
	.footer h5 {
		margin-top: 20px;
	}
}



/* حواف السلايدر بالضبط */
.custom-slider-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  /* لإظهار القطع من الأسفل */
  clip-path: path('M 0 0 H 100% V 100% Q 100% 100% 95% 90% Q 90% 100% 0 100% Z');
}

/* الصورة داخل السلايدر */
.custom-slider-wrapper .carousel-inner img {
  object-fit: cover;
  height: 300px; /* غيره حسب ارتفاعك */
}



.home_slider .carousel-inner .carousel-item img {
    object-fit: cover;
     height: 600px; /* هنا تتحكم بالارتفاع اللي تريده */
}


/* أزرار السلايدر custom */
.slider-custom-controls {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: white;
  border-radius: 2rem;
  border: 1px solid #ddd;
  display: flex;
  gap: 1rem;
  padding: 0.5rem 1rem;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-custom-controls button {
  background: #e5b16d;
  color: black;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.3s;
}

.slider-custom-controls button:hover {
  background: #d89c4b;
}
