/********** 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;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar .navbar-brand {
    position: absolute;
    padding: 0;
    width: 170px;
    height: 135px;
    top: 0;
    left: 0;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 600;
    text-transform: uppercase;
    outline: none;
}

.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;
    }
}


/*** 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;
}



.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);
}


/*** 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: var(--primary);
    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;
  }
}


/*** About ***/
.video {
    background: linear-gradient(rgba(136, 180, 78, .85), rgba(136, 180, 78, .85)), url(../img/video-bg.jpg) center center no-repeat;
    background-size: cover;
}

.btn-play {
    position: relative;
    display: block;
    box-sizing: content-box;
    width: 65px;
    height: 75px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 28px 30px 30px 38px;
    background: #FFFFFF;
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 120px;
    height: 120px;
    background: #FFFFFF;
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: 13px;
    border-left: 40px solid var(--primary);
    border-top: 28px solid transparent;
    border-bottom: 28px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** 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: var(--primary);
    border-radius: 50px;
}


/*** 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;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    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: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        rgba(0, 0, 0, .75),
        rgba(0, 0, 0, .75)
    ),
    url(../img/slider/1.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: ltr;
}

.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;
}




/* .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;
} */

/* ===== Supply Chain Article Style ===== */
.supply-card {
  border-radius: 16px;
  /* padding: 30px; */
  transition: all 0.3s ease;
}

.supply-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}

.supply-card h3 {
  font-weight: 700;
  margin-bottom: 15px;
}

.supply-card p {
  font-size: 20px;
  line-height: 1.9;
  color: #555;
}

.supply-card ul li {
  font-size: 16px;
  margin-bottom: 8px;
}

/* ===== زق الكلام على الشمال فعليًا ===== */
.supply-content {
  padding-right: 3rem;   /* زق الكلام شمال */
}

/* ===== Image ===== */
.supply-section .imge {
  display: flex;
  justify-content: space-between;
}

.supply-section .imge img {
  width: 600px;
  
  /* max-width: 100%; */
}



/* 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;
  }

  /* ===== Table ===== */
  .col-lg-7 {
    padding-left: 0;
    padding-right: 0;
  }

  .info-table {
    border-spacing: 12px;
    transform: none;
  }

  .info-table tr {
    flex-direction: column;
    gap: 15px;
  }

  .info-table td {
    padding: 16px;
  }

  .info-table strong,
  .info-table p {
    font-size: 15px;
  }

  /* ===== Mission & Vision ===== */
  .mv-grid {
    grid-template-columns: 1fr;
  }

  .mv-card {
    padding: 25px 20px;
  }

  .mv-card p {
    text-align: center;
    font-size: 15px;
  }

  /* ===== Supply Section ===== */
  .supply-section .imge {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .supply-section .imge img {
    width: 100%;
    max-width: 100%;
  }

  .supply-content {
    padding-right: 0;
  }

  .supply-card p {
    font-size: 16px;
  }

  /* ===== Footer ===== */
  .footer .btn.btn-link {
    text-align: center;
  }

  /* ===== Floating Buttons ===== */
  .back-to-top {
    right: 15px;
    bottom: 15px;
  }

  .go-to-whatsapp {
    left: 15px;
    bottom: 15px;
  }

}
