/********** Template CSS **********/
:root {
    --primary: #88B44E;
    --secondary: #FB9F38;
    --light: #F5F8F2;
    --dark: #252C30;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.go-to-whatsapp {
    position: fixed;
    display: none;
    left: 30px;
    bottom: 30px;   
    z-index: 99;

}


.fw-medium {
    font-weight: 600;
}

.fw-bold {
    font-weight: 700;
}

.fw-black {
    font-weight: 900;
}



/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/* Strip */

.header-wrapper {
    display: flex;
    justify-content: center;   /* توسيط أفقي */
    align-items: center;       /* توسيط رأسي */
    gap: 60px;                 /* مسافة بين العنوان والأيقونات */
    flex-wrap: wrap;           /* علشان الموبايل */
    text-align: center;
    background-color: #39513754;
    padding: 10px;
}

.icons {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* 📱 موبايل */
@media (max-width: 767px) {
    .header-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .icons {
        display: flex;
        justify-content: center;
    }
}



/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: absolute;
    padding: 0;
    width: 170px;
    height: 135px;
    top: 0;
    right: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
    font-size: larger;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand {
        width: 126px;
        height: 100px;
    }

    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 75px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/* لينك علي اليمين */
div.navbar-nav.ms-auto{
    margin-right: 460px;
    font-size: x-large;
    gap: 18px;
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    /* background: rgba(136, 180, 78, .4); */
    z-index: 1;
}
.colored{
    color: #36ab6e;
}




.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}



.page-header {
    background: linear-gradient(rgba(136, 180, 78, .7), rgba(136, 180, 78, .7)), url(../../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Section Title ***/
.section-title {
    position: relative;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 28px;
    height: 28px;
    bottom: -13px;
    left: calc(25% - 13px);
    background: var(--dark);
    border: 10px solid #FFFFFF;
    border-radius: 28px;
}

.section-title.text-center::before {
    left: 25%;
}

.section-title.text-center::after {
    left: calc(50% - 13px);
}

/* About */
.img-fluidd {
    width: 450px;
    padding-top:0px;
}

/*** Products ***/
.product {
    background: linear-gradient(rgba(136, 180, 78, .1), rgba(136, 180, 78, .1)), url(../../img/product-bg.png) left bottom no-repeat;
    background-size: auto;
}

.product-carousel .owl-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.product-carousel .owl-nav .owl-prev,
.product-carousel .owl-nav .owl-next {
    margin: 0 10px;
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: #496259 ;
    border-radius: 55px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .15);
    font-size: 25px;
    transition: .5s;
}

.product-carousel .owl-nav .owl-prev:hover,
.product-carousel .owl-nav .owl-next:hover {
    background: #FFFFFF;
    color: var(--primary);
}
/* Zoom In علي الصورة  */
.product-item img {
  transition: transform 0.4s ease; /* حركة ناعمة */
}

.product-item img:hover {
  transform: scale(1.1); /* تكبير الصورة */
}

/* تقليب الصور */
/* ====== إزالة الخلفية من هذا الكاروسيل فقط ====== */
#carouselExampleDark {
  background: transparent !important;
}

#carouselExampleDark .carousel-inner,
#carouselExampleDark .carousel-item {
  background: transparent !important;
}

/* ====== إزالة خلفية الكابشن ====== */
#carouselExampleDark .carousel-caption {
  background: transparent !important;
}

/* ====== تكبير الصور ====== */
#carouselExampleDark img {
  height: 420px;
  object-fit: contain;
  transition: transform 0.6s ease;
}

/* ====== Zoom In ====== */
#carouselExampleDark .carousel-item:hover img {
  transform: scale(1.08);
}

/* ====== للموبايل فقط ====== */
@media (max-width: 768px) {
  #carouselExampleDark img {
    height: 300px;
  }
}

/* ===== Clean Product Card ===== */

.product-item {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

/* الصورة تملى الكارت */
.product-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;       /* تملى الكارت */
    display: block;
    transition: transform 0.5s ease;
    
}

/* Zoom خفيف */
.product-item:hover img {
    transform: scale(1.06);
}

/* صندوق الاسم */
.product-item .bg-white {
    position: absolute;
    bottom: 50px;
    left: -28%;
    transform: translateX(-50%);
    
    background: rgb(43 72 50 / 65%) !important;
    padding: 8px 20px !important;
    margin: 0 !important;

    border-radius: 30px;
    width: fit-content;
}
/* صندوق الاسم */
.product-item .bg-whitee {
    position: absolute;
    bottom: 50px;
    left: -13%;
    transform: translateX(-50%);
    
    background: rgb(43 72 50 / 65%) !important;
    padding: 8px 20px !important;
    margin: 0 !important;

    border-radius: 30px;
    width: fit-content;
}
.product-item .bg-whitee{
    left: 0%;
    position: absolute;
    bottom: 60px;
    color: #FFFFFF;
    transform: translateX(-50%);
    
    background: rgb(43 72 50 / 65%) !important;
    padding: 8px 20px !important;
    margin: 0 !important;

    border-radius: 30px;
    width: fit-content;
}

/* اسم المنتج */
.product-item .bg-white h4 {
    color: #fff !important;
    font-size: 18px;
    margin: 0;
    white-space: nowrap;
}

/* Hover تحسين بسيط */
.product-item:hover .bg-white {
    background: rgba(0, 0, 0, 0.8) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .product-item img {
        height: 260px;
    }

    .product-item .bg-white h4 {
        font-size: 16px;
    }
}

.img-fluiddd{
    width: 150%;
}




/*** Store ***/
.store-item .store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(138, 180, 78, .3);
    opacity: 0;
    transition: .5s;
}

.store-item:hover .store-overlay {
    opacity: 1;
}


/*** Contact ***/
.contact .btn-square {
    width: 100px;
    height: 100px;
    border: 20px solid var(--light);
    background: #496259 ;
    border-radius: 50px;
}

.quote-section {
    padding: 80px 20px;
}

.quote-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
}

/* Left */
.quote-info {
    flex: 1;
    background: linear-gradient(180deg, #48926D, #4A4B50);
    color: #fff;
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    padding-top: 75px;
    width: min-content;
}

.quote-info h5 {
    color: #FFFFFF;
    margin-bottom: 19px;
    font-size: x-large;
    font-weight: 700;
}

.quote-info p {
    margin-bottom: 20px;
    line-height: 1.9;
    font-size: larger;
    font-weight: 700;
}

.working-hours {
    margin-top: 40px;
    font-weight: bold;
}

/* Right */
.quote-form {
    flex: 1;
}

.quote-form h2 {
    color: #111;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 15px;
    
}

.quote-form textarea {
    height: 140px;
    resize: none;
}

.quote-form button {
    background: #48926D;
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 15px;
}

/* Responsive */
@media (max-width: 991px) {
    .quote-container {
        flex-direction: column;
    }

    .form-row {
        flex-direction: column;
    }
}

.plumbing-section {
    padding: 80px 20px;
    text-align: center;
}

.plumbing-section h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

.plumbing-section p {
    color: #777;
    margin-bottom: 50px;
}

.plumbing-container {
    max-width: 1200px;
    margin: auto;
    display: flex;
    gap: 40px;
}

/* Map */
.map-box {
    flex: 1;
}

.map-box iframe {
    width: 100%;
    height: 500px;
    border: 0;
    border-radius: 10px;
}

/* Form */
.plumbing-form {
    flex: 1;
}

.plumbing-form input,
.plumbing-form select,
.plumbing-form textarea {
    width: 100%;
    padding: 14px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.plumbing-form textarea {
    height: 150px;
}

.plumbing-form .form-row {
    display: flex;
    gap: 20px;
}

.plumbing-form button {
    background: #496259;
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
}

/* Responsive */
@media (max-width: 991px) {
    .plumbing-container {
        flex-direction: column;
    }

    .plumbing-form .form-row {
        flex-direction: column;
    }

    .map-box iframe {
        height: 300px;
    }
}




/*** Testimonial ***/
.testimonial {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../../img/testimonial-bg.jpg) center center no-repeat;
    background-size: cover;
}

.testimonial-item {
    margin: 0 auto;
    max-width: 600px;
    text-align: center;
    background: #FFFFFF;
    border: 30px solid var(--primary);
}

.testimonial-item img {
    width: 60px !important;
    height: 60px !important;
    border-radius: 60px;
}

.testimonial-carousel .owl-dots {
    margin-top: 35px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 15px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 30px;
    background: var(--dark);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
    direction: rtl;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: right;
    color: #B0B9AE;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    /* content: "\f100"; */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    color: #B0B9AE;
}

.copyright {
    background: #252525;
}

.copyright a:hover {
    color: #FFFFFF !important;
}

.navbar .dropdown-menu {
    min-width: 160px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,.15);
}

.navbar .dropdown-item {
    font-weight: 500;
    transition: .3s;
}

.navbar .dropdown-item:hover {
    background-color: var(--primary);
    color: #fff;
}

.page-header {
    height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
    url(../../img/slider/6.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #999999;
}

.products-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.product-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
    transition: .5s;
    height: 100%;
}

.product-img {
    overflow: hidden;
}

.product-img img {
    width: 100%;
    transition: .7s;
}

.product-content {
    padding: 25px;
    text-align: center;
}

.product-content h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.product-card:hover {
    transform: translateY(-15px);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card:hover .btn {
    background-color: var(--primary);
    color: #fff;
}

/**/
.mission-vision {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

.mission-vision .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

/* .section-title {
  text-align: center;
  font-size: 36px;
  margin-bottom: 60px;
  font-weight: bold;
} */

.section-title span {
  color: #f5b000;
}

.mv-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

/* الكارت التالتة تاخد الصف كله */
.mv-card.full {
  grid-column: 1 / -1;
}

.mv-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transition: 0.4s ease;
}

.mv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.mv-card .icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #222;
}

.mv-card p {
  font-size: 16px;
  line-height: 1.7;
  color: #666;
  text-align: left;
}

@media (max-width: 768px) {
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-card.full {
    grid-column: auto;
  }
}


/* Prodact Details  */
/* ====== ضبط الصف كله ====== */
/* ============================= */
/* Product Details Layout */
/* ============================= */
.products-section{
    background-image: url(../../img/product-bg.png);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto;
    background-attachment: fixed;
}




/* توحيد المسافات يمين وشمال */
.row.gx-5 {
  --bs-gutter-x: 5rem;
}

/* ============================= */
/* Image */
/* ============================= */

.img-details {
  padding-left: 6.5rem;
  padding-right: 2.5rem;
}

.img-details img {
  max-width: 119%;
  height: auto;
  transform: scale(1.05);
  transform-origin: center;
  border-radius: 14px;
}

/* ============================= */
/* Table */
/* ============================= */

.col-lg-7 {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
  direction: rtl;
}

.info-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 22px;
  transform: scale(1.05);
  transform-origin: center;
}

/* ============================= */
/* Cards Style */
/* ============================= */

.info-table tr {
  display: flex;
  gap: 22px;
  padding: 5px;
}

.info-table td {
  flex: 1;
  background: #fff;
  border-radius: 16px;
  padding: 22px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.info-table td[colspan="2"] {
  flex: 100%;
}

/* ============================= */
/* Text */
/* ============================= */

.label {
  display: block;
  font-size: 14px;
  color: #888;
  margin-bottom: 6px;
}

.info-table strong {
  font-size: 18px;
  color: #111;
}

.info-table p {
  margin: 0;
  line-height: 1.8;
  color: #333;
}


p{
    font-size: large;
}

/* .products-section{
    background-image: url(../../img/product-bg.png);
    background-position: left bottom;
    background-repeat: no-repeat;
    background-size: auto;
}
.product-details { */
  /* background-color: #f8f9fa; */
  /* direction: rtl;
  padding: 80px 0;
  
}

.img-details{
    width: 545px;
}


.product-img img {
  width: 100%;
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
} */

/* الكروت */
/* .detail-card {
  background: #fff;
  padding: 24px 26px;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
  height: 100%;
  transition: 0.3s ease;
  
}

.detail-card:hover {
  transform: translateY(-4px);
} */

/* العناوين */
/* .detail-card span {
  font-size: 16px;
  font-weight: 500;
  color: #6c757d;
  margin-bottom: 8px;
  display: block;
}

.detail-card h6 {
  font-size: 18px;
  font-weight: 700;
}

.detail-card p {
  font-size: 18px;
  line-height: 1.9;
  color: #444;
} */






/* Mobile media query */

/* ================================= */
/* 📱 Mobile Responsive Fix */
/* ================================= */
@media (max-width: 768px) {

  /* ===== Navbar ===== */
  .navbar .navbar-brand {
    position: relative;
    width: 110px;
    height: auto;
  }

  .navbar .navbar-nav {
    margin-top: 60px;
  }

  .navbar .navbar-nav .nav-link {
    padding: 10px 0;
    margin-right: 0;
    font-size: 14px;
  }

  /* ===== Carousel ===== */
  .carousel-caption {
    padding: 15px;
    text-align: center;
  }

  #carouselExampleDark img {
    height: 260px;
    transform: none;
  }

  /* ===== Products Section ===== */
  .products-section {
    padding: 50px 0;
    background-attachment: scroll;
  }

  /* ===== Product Details Layout ===== */
  .row.gx-5 {
    --bs-gutter-x: 1.25rem;
  }

  /* ===== Image Details ===== */
  .img-details {
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 25px;
    text-align: center;
  }

  .img-details img {
    max-width: 100%;
    transform: none;
  }



  

  /* ===== Footer ===== */
  .footer .btn.btn-link {
    text-align: center;
  }

  /* ===== Floating Buttons ===== */
  .back-to-top {
    right: 15px;
    bottom: 15px;
  }

  .go-to-whatsapp {
    left: 15px;
    bottom: 15px;
  }

}
