:root {
  --primary-green: #218739;
  --primary-light-green: #e7f6ed;
  --light-green: #e6f4ea;
  --dark-green: #16642a;
  --text-dark: #333;
  --text-light: #fff;
  --card-radius: 14px;
  --border-line-color: var(--primary-green);
  --border-radius: 12px;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  --section-bg: #f5f9fc;
  --secondary-text: #5c768d;
}

/*--------------------------------------------------------------
# General Styling
--------------------------------------------------------------*/
body {
  font-family: 'Cairo', sans-serif;
  background-color: var(--section-bg);
  font-weight: 400;
  margin: 0;
  padding: 0;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* ----------------whats app  */

  a[aria-label="WhatsApp Chat"]:hover {
    box-shadow: 0 8px 16px var(--dark-green);
    transform: scale(1.2) rotate(10deg);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background: var(--primary-green);
  width: 40px;
  height: 40px;
  border-radius: var(--border-radius);
  transition: all 0.4s;
}

.back-to-top i {
  font-size: 24px;
  color: var(--text-light);
  line-height: 0;
}

.back-to-top:hover {
  background: var(--dark-green);
  color: var(--text-light);
}

.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Top Bar
--------------------------------------------------------------*/
#topbar {
  background: var(--text-light);
  border-bottom: 1px solid #eee;
  font-size: 15px;
  height: 40px;
  padding: 0;
}

#topbar .contact-info a {
  line-height: 0;
  color: var(--text-dark);
  transition: 0.3s;
}

#topbar .contact-info a:hover {
  color: var(--primary-green);
}

#topbar .contact-info i {
  color: var(--primary-green);
  line-height: 0;
  margin-right: 5px;
}

#topbar .contact-info .phone-icon {
  margin-left: 15px;
}

#topbar .social-links a {
  color: var(--primary-green);
  padding: 4px 12px;
  display: inline-block;
  line-height: 1px;
  transition: 0.3s;
}

#topbar .social-links a:hover {
  color: var(--primary-green);
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  padding: 60px 0;
  overflow: hidden;
}

.section-bg {
  background-color: var(--section-bg);
}

.section-title {
  text-align: center;
  padding-bottom: 30px;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 0;
  color: var(--dark-green);
}

.section-title p {
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# navbar
--------------------------------------------------------------*/
.navbar {
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);

}

.navbar-brand img {
    height: 50px;
}



.navbar-nav {
    flex-grow: 1;
    justify-content: center;
    display: flex;
    gap: 20px;

}

.navbar-nav .nav-link {
    font-weight: 200;
    font-size: 18px;
    color: var(--text-dark);
    padding: 2px 5px;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
}

.navbar-nav .dropdown-menu {
    border-radius: 12px;
    border: 1px solid #ddd;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
    padding: 8px 0;
    min-width: 220px;
    background-color: #fff;
}

.navbar-nav .dropdown-menu .dropdown-item {
    font-size: 15px;
    font-weight: 500;
    padding: 12px 25px;
    transition: background-color 0.3s ease, color 0.3s ease;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-nav .dropdown-menu .dropdown-item:hover {
    background-color: var(--light-green);
    color: var(--primary-green);
}

/* Remove automatic text transformation inside dropdown-item */
.navbar-nav .dropdown-menu .dropdown-item span.icon-circle {
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--light-green);
    color: var(--primary-green);
    text-align: center;
    line-height: 28px;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* If you want to restore icons later */
.navbar-nav .dropdown-menu .dropdown-item:hover span.icon-circle {
    background-color: var(--primary-green);
    color: #fff;
}

@media (max-width: 991.98px) {

    .navbar-nav .nav-link:active,
    .navbar-nav .nav-link:hover {
        background-color: var(--dark-green);
        color: var(--light-green) !important;
        border-radius: 8px;
        transition: all 0.3s ease;
        animation: hoverFade 0.3s ease;
    }

    .navbar-nav .dropdown-menu .dropdown-item:active {
        background-color: var(--dark-green);
        color: var(--light-green) !important;
    }
}

@keyframes hoverFade {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Open dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    /* If you want to raise the dropdown */
    animation: fadeIn 0.3s ease;
}

/* Smooth animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wider projects dropdown menu */
.custom-dropdown {
    min-width: 260px;
    display: block;
    width: 100%;
    /* Adjust this value as you want */
}

/* Icons and spacing */
.custom-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 16px;
}

.custom-dropdown {
    padding: 6px 0;
}

/* Language menu */
.lang-menu {
    min-width: 10rem;
    display: block;
    position: relative;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
    padding: 0.5rem;
}

.lang-menu .dropdown-item {
    font-weight: 500;
    color: var(--text-color);
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-menu .dropdown-item:hover {
    background-color: var(--primary-light-green);
}

.lang-menu .dropdown-item i {
    font-size: 1rem;
}

.active-lang {
    background-color: #e7f6ed;
    color: var(--main-color-dark);
}

.active-lang i {
    display: inline-block;
}

.lang-menu .dropdown-item:not(.active-lang) i {
    display: none;
}

.lang-toggle:focus,
.lang-toggle:active,
.lang-toggle:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: transparent !important;
}

/* responsive */
@media (max-width: 991.98px) {
    .navbar-collapse {
        padding-bottom: 20px;
    }

    .navbar-nav {
        padding: 0.5rem 0.5rem;
    }

    .navbar-nav .nav-link {
        display: block;
        padding: 0.5rem 1rem;
        width: 100%;
        background-color: var(--primary-green);
        color: var(--primary-light-green);
    }

    .navbar-nav .nav-link.active {
        background-color: var(--dark-green);
        color: var(--light-green);
        border-radius: 6px;
    }

    .navbar-nav .nav-link:hover {
        background-color: var(--dark-green);
        color: var(--light-green);
        border-radius: 6px;
    }

    .dropdown-lang {
        margin-top: 15px;
        width: 100%;
    }

    .lang-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 0.5rem 1rem;
        border-radius: 6px;
    }

    .lang-menu {
        min-width: auto !important;
        width: 100% !important;
        margin-top: 0.5rem;
    }

    .lang-toggle img {
        width: 22px;
        height: 22px;
    }

    .lang-toggle>i {
        margin-inline-start: 0.25rem;
        margin-inline-end: 0;
    }
}

/* Margin between language button text and arrow */
.lang-toggle>i {
    margin-inline-start: 0.25rem;
    margin-inline-end: 0;
}

/* ضبط زر اللغات */
.btn.lang-toggle {
    border: 1px solid #ccc;
    /* حد بسيط */
    padding: 6px 12px;
    min-width: 140px;
    /* مناسب لعرض العلم + النص */
    justify-content: flex-start !important;
    /* العلم والنص على اليسار */
    gap: 8px;
    position: relative;
}

/* تحريك سهم التنزيل (caret) للطرف الأيمن */
.btn.lang-toggle::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    left: auto;
}

/* ترتيب العلم والنص في القائمة */
.dropdown-menu.lang-menu a.dropdown-item {
    justify-content: flex-start !important;
    gap: 8px;
}

/* جعل علامة الصح (check) في نهاية العنصر */
.dropdown-menu.lang-menu a.active-lang i.bi-check {
    margin-left: auto;
    color: #28a745;
}

/* تنسيق القائمة */
.dropdown-menu.lang-menu {
    min-width: 160px;
    padding: 0.25rem 0;
}


.btn-donate {
    background-color: var(--primary-green);
    color: var(--text-light);
    border-radius: 25px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-donate:hover {
    background-color: var(--dark-green);
    color: var(--text-light);
    transform: translateY(-1px);
}

.search-wrapper {
    position: relative;
    min-width: 180px;
}

.form-control {
    border-radius: 25px;
    padding: 6px 14px 6px 38px;
    border: 1px solid #ddd;
    direction: rtl;
    font-size: 14px;
}

.form-control:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 5px rgba(33, 135, 57, 0.3);
}

.search-icon {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    color: var(--text-dark);
    font-size: 14px;
    pointer-events: none;
}

.icon-circle {
    background: var(--primary-green);
    color: var(--text-light);
    border-radius: 50%;
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    margin-left: 6px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar {
    padding: 0;

}


.navbar .dropdown ul {
    display: block;
    position: absolute;
    right: 0px;
    top: 100%;
    margin: 0;
    padding: 10px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
    transition: 0.3s;
}


.navbar .dropdown:hover>ul {
    opacity: 1;
    visibility: visible;
}

.navbar .dropdown .dropdown ul {
    top: 0;
    right: calc(100% - 30px);
    visibility: hidden;
}

.navbar .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    right: 100%;
    visibility: visible;
}


/* ------------------------------------------------------------------------------------------------------------------------Hero  */
/* Container: full width with side padding */
.hero-section {
    width: 100%;
    /* margin: 20px auto; */
}

/* Slider: split text and image side by side */
.slider {
    display: flex;
    position: relative;
    overflow: hidden;
    /* box-shadow: 0 8px 30px rgba(33, 135, 57, 0.15); */
    background: #fff;
    padding: 40px 100px;
    border-radius: 15px;
    gap: 40px;
}

/* Mobile view */
@media (max-width: 768px) {
    .slider {
        padding: 20px 20px;
        flex-direction: column-reverse;
        gap: 20px;
    }
}

/* Slides */
.slide {
    display: none;
    width: 100%;
    box-sizing: border-box;
    align-items: center;
    gap: 40px;
}

.slide.active {
    display: flex;
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Slide text */
.slide-text {
    flex: 1 1 50%;
    max-width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    /* align text to left for English */
}

/* Slide title */
.slide-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #218739;
    line-height: 1.1;
}

/* Subtitle */
.slide-subtitle {
    font-weight: 600;
    font-size: 1rem;
    color: #555;
    margin-bottom: 12px;
}

/* Description */
.slide-desc {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #333;
}

/* Features list */
.features-list {
    margin-top: 8px;
    list-style: none;
    padding: 0;
    color: #444;
    font-size: 0.95rem;
}

.features-list li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.features-list li i {
    color: #218739;
    margin-right: 10px;
    /* for LTR, use margin-right */
    min-width: 16px;
    font-size: 1rem;
}

/* Call to action button */
.slide-btn-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    padding: 12px 20px;
    background-color: #fff;
    color: var(--primary-green);
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, transform 0.3s ease, color 0.3s ease;
    box-shadow: 0 4px 8px rgba(33, 135, 57, 0.15);
    border: 2px solid var(--primary-green);
    font-size: 1rem;
    gap: 10px;
}

.slide-btn-white:hover {
    background-color: var(--primary-green);
    color: #fff;
    border-color: var(--primary-green);
    transform: scale(1.05);
}

/* Heart icon inside button */
.slide-btn-icon-white {
    background: #fff;
    color: var(--primary-green);
    padding: 5px 8px;
    border-radius: 4px;
    font-size: 1.2rem;
    box-shadow: 0 2px 6px rgba(33, 135, 57, 0.3);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.slide-btn-white:hover .slide-btn-icon-white {
    background: #fff;
    color: var(--primary-green);
}

/* Slide image */
.slide-image {
    flex: 1 1 50%;
    max-width: 50%;
    text-align: center;
}

.slide-image img {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 6px 18px rgba(33, 135, 57, 0.15);
}

/* Navigation dots */
.slider-dots {
    text-align: center;
    margin-top: 25px;
}

.dot {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin: 0 8px;
    background-color: #e6f0e8;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #218739;
    box-shadow: none;
}

.dot:hover {
    background-color: #218739;
    transform: scale(1.2);
    box-shadow: 0 0 6px #218739;
}

.dot.active {
    background-color: #218739;
    box-shadow: 0 0 12px #218739;
    transform: scale(1.3);
    border-color: #1a6d2a;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .slide {
        flex-direction: column-reverse;
        text-align: center;
    }

    .slide-text,
    .slide-image {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .slide-title {
        font-size: 28px;
    }

    .slide-desc {
        font-size: 14px;
    }

    .slide-btn-white {
        width: 100%;
        justify-content: center;
    }
}

/* // ---------------------------------------------------------------------- */



.projects-section {
    padding: 60px 20px;
}

.container {
    max-width: 1200px;
    margin: auto;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.project-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--card-radius);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    background: white;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

/* Lift card on hover */
.project-card:hover {
    transform: translateY(-12px);
}

/* Image */
.project-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    border-top-left-radius: var(--card-radius);
    border-top-right-radius: var(--card-radius);
    display: block;
}

/* Content */
.project-info {
    padding: 20px 22px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Title */
.project-info h3 {
    color: var(--primary-green);
    margin: 0 0 12px 0;
    font-size: 22px;
    font-weight: 700;
}

.project-info p:first-of-type {
    margin: 6px 0;
    color: #444;
    font-size: 15px;
    line-height: 1.5;
    height: 67.5px;
    /* 3 lines × 22.5px */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icons inside paragraphs */
.project-info p i {
    margin-left: 10px;
    color: var(--primary-green);
    min-width: 22px;
    font-size: 16px;
}

/* Action button */
.btn-action {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: white;
    padding: 10px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.btn-action i {
    margin-left: 10px;
    font-size: 17px;
}

.btn-action:hover {
    background-color: #219150;
    transform: scale(1.05);
}

/* Animated underline */
.project-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--border-line-color);
    border-radius: 4px 4px 0 0;
    transition: width 0.35s ease;
}

/* Expand underline on hover */
.project-card:hover::after {
    width: 100%;
}

/* Responsive tweak */
@media (max-width: 400px) {
    .project-card {
        height: auto;
    }

    .project-card img {
        height: 160px;
    }
}

.about {
  padding-bottom: 30px;
}

.about .container {
  box-shadow: var(--box-shadow);
}

.about .video-box img {
  padding: 15px 0;
}

.about .section-title p {
  text-align: left;
  font-style: italic;
  color: var(--text-dark);
}

.about .about-content {
  padding: 40px;
}

.about .icon-box + .icon-box {
  margin-top: 40px;
}

.about .icon-box .icon {
  float: left;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--primary-light-green);
  border-radius: 6px;
  transition: 0.5s;
}

.about .icon-box .icon i {
  color: var(--primary-green);
  font-size: 32px;
}

.about .icon-box:hover .icon {
  background: var(--primary-green);
}

.about .icon-box:hover .icon i {
  color: var(--text-light);
}

.about .icon-box .title {
  margin-left: 95px;
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 18px;
  text-transform: uppercase;
}

.about .icon-box .title a {
  color: var(--text-dark);
  transition: 0.3s;
}

.about .icon-box .title a:hover {
  color: var(--primary-green);
}

.about .icon-box .description {
  margin-left: 95px;
  line-height: 24px;
  font-size: 14px;
  color: var(--text-dark);
}

.about .video-box {
  position: relative;
}

.about .play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--primary-green) 50%, rgba(33, 135, 57, 0.4) 52%);
  border-radius: 50%;
  display: block;
  position: absolute;
  left: calc(50% - 47px);
  top: calc(50% - 47px);
  overflow: hidden;
}

.about .play-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid var(--text-light);
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.about .play-btn::before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation: pulsate-btn 2s infinite;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid rgba(33, 135, 57, 0.7);
  top: -15%;
  left: -15%;
  background: transparent;
}

.about .play-btn:hover::after {
  border-left: 15px solid var(--primary-green);
  transform: scale(20);
}

.about .play-btn:hover::before {
  animation: none;
}

/* About Lists */

.about-lists {
  padding: 40px;
}

.about-lists .row {
  overflow: hidden;
}

.about-lists .content-item {
  padding: 40px;
  border-left: 1px solid var(--border-line-color);
  border-bottom: 1px solid var(--border-line-color);
  margin: -1px;
}

.about-lists .content-item span {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: var(--primary-green);
}

.about-lists .content-item h4 {
  font-size: 28px;
  font-weight: 400;
  padding: 0;
  margin: 20px 0;
  color: var(--text-dark);
}

.about-lists .content-item p {
  color: var(--text-dark);
  font-size: 15px;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .about-lists .content-item {
    padding: 40px 0;
  }
}

@keyframes pulsate-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }
  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}


/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services {
  padding-bottom: 30px;
}

.services .icon-box {
  margin-bottom: 20px;
  text-align: center;
}

.services .icon {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
  background: var(--text-light);
  border-radius: 50%;
  transition: 0.5s;
  color: var(--primary-green);
  box-shadow: var(--box-shadow);
  overflow: hidden;
}

.services .icon i {
  font-size: 36px;
  line-height: 0;
}

.services .icon-box:hover .icon {
  box-shadow: 0px 0 30px rgba(33, 135, 57, 0.5);
}

.services .title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 18px;
  position: relative;
  padding-bottom: 15px;
  color: var(--text-dark);
}

.services .title a {
  color: var(--text-dark);
  transition: 0.3s;
}

.services .title a:hover {
  color: var(--primary-green);
}

.services .title::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 2px;
  background: var(--primary-green);
  bottom: 0;
  left: calc(50% - 25px);
}

.services .description {
  line-height: 24px;
  font-size: 14px;
  color: var(--text-dark);
}

/*--------------------------------------------------------------
# Our Portfolio
--------------------------------------------------------------*/
.portfolio .portfolio-item {
  margin-bottom: 30px;
}

.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 0 35px 0;
  list-style: none;
  text-align: center;
}

.portfolio #portfolio-flters li {
  cursor: pointer;
  margin: 0 15px 15px 0;
  display: inline-block;
  padding: 10px 20px;
  font-size: 12px;
  line-height: 20px;
  color: var(--text-dark);
  border-radius: 4px;
  text-transform: uppercase;
  background: var(--text-light);
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio #portfolio-flters li:hover,
.portfolio #portfolio-flters li.filter-active {
  background: var(--primary-green);
  color: var(--text-light);
}

.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}

.portfolio .portfolio-wrap {
  box-shadow: 0px 2px 12px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-wrap img {
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  opacity: 0;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  transition: 0.3s;
  text-align: center;
  background: rgba(22, 100, 42, 0.6);
  padding-bottom: 30px;
}

.portfolio .portfolio-wrap .portfolio-info h4 {
  font-size: 20px;
  color: var(--text-light);
  font-weight: 600;
}

.portfolio .portfolio-wrap .portfolio-info p {
  color: var(--text-light);
  font-size: 14px;
  text-transform: uppercase;
}

.portfolio .portfolio-wrap .portfolio-info a {
  color: var(--primary-green);
  margin: 0 4px;
  line-height: 0;
  background-color: var(--text-light);
  border-radius: 50px;
  text-align: center;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.portfolio .portfolio-wrap .portfolio-info a i {
  font-size: 22px;
  line-height: 0;
}

.portfolio .portfolio-wrap .portfolio-info a:hover {
  background: var(--primary-green);
  color: var(--text-light);
}

.portfolio .portfolio-wrap:hover {
  box-shadow: 0px 4px 14px rgba(0, 0, 0, 0.16);
}

.portfolio .portfolio-wrap:hover .portfolio-info {
  opacity: 1;
  padding-bottom: 0;
}

.portfolio .portfolio-wrap:hover img {
  transform: scale(1.1);
}

/* Portfolio Details */

.portfolio-details {
  padding-top: 40px;
}

.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--text-light);
  opacity: 1;
  border: 1px solid var(--primary-green);
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--primary-green);
}

.portfolio-details .portfolio-info {
  padding: 30px;
  box-shadow: var(--box-shadow);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--light-green);
  color: var(--text-dark);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  color: var(--text-dark);
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: var(--text-dark);
}


/*--------------------------------------------------------------
# Our Team
--------------------------------------------------------------*/
  .partner-logo {
        max-width: 120px;
        max-height: 120px;
        border-radius: 16px;
        transition: all 0.4s ease;
        opacity: 0.7;
        filter: grayscale(60%);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
      }

      .swiper-slide-active .partner-logo {
        transform: scale(1.25);
        opacity: 1;
        filter: grayscale(0%);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
      }

      .partner-logo:hover {
        transform: scale(1.1);
        opacity: 0.9;
        filter: grayscale(0%);
      }

      .partners-swiper {
        padding: 30px 0;
      }



      .swiper-pagination-bullet {
        width: 30px;
        height: 4px;
        background: #218739;
        opacity: 0.3;
        border-radius: 2px;
        transition: all 0.3s ease;
      }

      .swiper-pagination-bullet-active {
        opacity: 1;
        background: #16642a;
        width: 40px;
        height: 5px;
      }


/*--------------------------------------------------------------
# Contact Us
--------------------------------------------------------------*/
.contact .info-box {
  color: var(--text-dark);
  text-align: center;
  box-shadow: var(--box-shadow);
  padding: 20px 0 30px 0;
  margin-bottom: 30px;
  width: 100%;
}

.contact .info-box i {
  font-size: 32px;
  color: var(--primary-green);
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted var(--light-green);
}

.contact .info-box h3 {
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 700;
  margin: 10px 0;
}

.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: var(--box-shadow);
  padding: 30px;
}

.contact .php-email-form .error-message {
  display: none;
  color: var(--text-light);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .sent-message {
  display: none;
  color: var(--text-light);
  background: var(--primary-green);
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: var(--text-light);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--primary-green);
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form .form-group {
  margin-bottom: 20px;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: var(--border-radius);
  box-shadow: none;
  font-size: 14px;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  background-color: var(--light-green);
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type=submit] {
  background: var(--primary-green);
  border: 0;
  padding: 10px 30px;
  color: var(--text-light);
  transition: 0.4s;
}

.contact .php-email-form button[type=submit]:hover {
  background: var(--dark-green);
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Footer 
--------------------------------------------------------------*/

/* Footer */
#footer {
  background: var(--dark-green);
  padding: 0 0 30px 0;
  color: var(--text-light);
  font-size: 14px;
}

#footer .footer-top {
  background: var(--primary-green);
  border-top: 1px solid var(--light-green);
  border-bottom: 1px solid var(--light-green);
  padding: 60px 0 30px 0;
}

#footer .footer-top .footer-info {
  margin-bottom: 30px;
}

#footer .footer-top .footer-info h3 {
  font-size: 24px;
  margin: 0 0 20px 0;
  padding: 2px 0;
  line-height: 1;
  font-weight: 700;
}

#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
  color: var(--text-light);
}

#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: var(--light-green);
  color: var(--primary-green);
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}

#footer .footer-top .social-links a:hover {
  background: var(--primary-green);
  color: var(--text-light);
  text-decoration: none;
}

#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-light);
  position: relative;
  padding-bottom: 12px;
}

#footer .footer-top .footer-links {
  margin-bottom: 30px;
}

#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: var(--light-green);
  font-size: 18px;
  line-height: 1;
}

#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}

#footer .footer-top .footer-links ul a {
  color: var(--text-light);
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}

#footer .footer-top .footer-links ul a:hover {
  color: var(--light-green);
}

#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: var(--text-light);
  padding: 6px 10px;
  position: relative;
  border-radius: var(--border-radius);
}

#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}

#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  background: var(--primary-green);
  color: var(--text-light);
  transition: 0.3s;
      border: 1px solid var(--section-bg);
  border-radius: var(--border-radius);
}

#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: var(--dark-green);
}

#footer .copyright {
  text-align: center;
  padding-top: 30px;
}

#footer .credits {
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: var(--text-light);
}

#footer .credits a {
  color: var(--light-green);
}
/* -----------------------------donate */
 /* Animation keyframes */
  @keyframes fadeSlideUp {
    0% {
      opacity: 0;
      transform: translateY(30px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* تطبيق الانيميشن على البوكسات */
  .donate-box {
    opacity: 0;
    animation: fadeSlideUp 0.7s ease forwards;
  }

  /* تأخير دخول كل بوكس */
  .donate-box:nth-child(1) {
    animation-delay: 0.2s;
  }
  .donate-box:nth-child(2) {
    animation-delay: 0.5s;
  }

  /* حركة خفيفة على الأيقونات */
  .donate-box .icon {
    display: inline-block;
    animation: iconBounce 2.5s ease-in-out infinite;
  }

  @keyframes iconBounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }