
/* ====== CSS VARIABLES ====== */
:root {
    /* Colors */
    --primary-color: #b54246;
    --primary-dark: #9e393d;
    --primary-light: #e27a7e;
    --secondary-color: #192b3f;
    --secondary-dark: #132234;
    --secondary-light: #304561;
    --white-color: #ffffff;
    --light-color: #f7f9fc;
    --dark-color: #192b3f;
    --accent-color: #b28f65;
    --text-color: #4a5568;
    --title-color: #2d3748;
    --gray-color: #9b9fa3;
    --footer-bg: #1a202c;
    --light-red: #d3a591;
    --light-beige: #ddc5a0;
    --light-gray: #e2e8f0;
    --green: #709e7f;
    --border-color: #e6e8eb;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);

    /* Typography */
    --body-font: 'Manrope', sans-serif;
    --heading-font: 'Urbanist', sans-serif;

    /* Spacing */
    --section-padding: 6rem 0;
    --section-padding-sm: 4rem 0;
}

/* ====== RESET & BASE STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--body-font);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--white-color);
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--title-color);
}

h1 {
    font-size: 2.75rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h2 {
    font-size: 2.75rem;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 1.85rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
    display: inline-block;
    position: relative;
}

.section-subtitle::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background-color: var(--primary-color);
    margin-top: 0.5rem;
}

.section-title {
    font-size: 1.7rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.text-center .section-subtitle::after {
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 15px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: capitalize;
    transition: all 0.3s ease;
    font-size: 16px;
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white-color);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-dark);
    color: var(--white-color);
}

.btn-outline {
    background-color: transparent;
    color: var(--white-color);
    border: 2px solid var(--white-color);
    padding: 13px 30px;
}

.btn-outline:hover {
    background-color: var(--white-color);
    color: var(--primary-color);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 13px 30px;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-subscribe {
    background-color: var(--primary-color);
    color: var(--white-color);
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    height: 100%;
    padding: 0 25px;
}

.btn-subscribe:hover {
    background-color: var(--primary-dark);
    color: var(--white-color);
}

.btn-icon {
    display: inline-flex;
    align-items: center;
}

.btn-icon i, .btn-icon svg {
    margin-left: 8px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 18px 38px;
    font-size: 17px;
}

.container {
    max-width: 1200px;
}

.section-bg {
    background-color: var(--light-color);
}

/* ====== HEADER STYLES ====== */
/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    padding: 10px 0;
    color: var(--white-color);
    position: relative;
    z-index: 99;
}

.top-bar a {
    color: var(--white-color);
    margin-right: 20px;
    font-size: 14px;
    transition: all 0.3s ease;
    opacity: 0.9;
}

.top-bar a:hover {
    color: var(--white-color);
    opacity: 1;
}

.contact-info a {
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
}

.contact-info a i, .contact-info a svg {
    margin-right: 7px;
    font-size: 16px;
}

.social-icons a {
    margin-left: 15px;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* Navigation */
.navbar {
    background-color: var(--white-color);
    padding: 20px 0;
    transition: all 0.3s ease;
}

.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    animation: slideDown 0.5s;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.header-hide {
    transform: translateY(-100%);
}

.navbar-brand img {
    max-height: 50px;
    transition: all 0.3s ease;
}

.header-fixed .navbar-brand img {
    max-height: 45px;
}

.navbar-nav {
    margin-left: auto;
}

.navbar-nav .nav-item {
    margin: 0 8px;
    position: relative;
}

.navbar-nav .nav-link {
    color: var(--secondary-color);
    font-weight: 600;
    padding: 10px 15px;
    text-transform: capitalize;
    position: relative;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: calc(100% - 30px);
}

.navbar-nav .dropdown-menu {
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    margin-top: 15px;
    animation: fadeInUp 0.4s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar-nav .dropdown-item {
    padding: 8px 25px;
    color: var(--secondary-color);
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-nav .dropdown-item:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
    transform: translateX(5px);
}

.donate-btn .btn {
    background-color: var(--primary-color);
    color: var(--white-color);
    text-transform: capitalize;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.donate-btn .btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* Hamburger Menu Styling */
.navbar-toggler {
    border: none;
    padding: 0;
    width: 30px;
    height: 20px;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: none !important;
    position: relative;
    height: 2px;
    width: 100%;
    background-color: var(--secondary-color);
    display: block;
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before,
.navbar-toggler-icon::after {
    content: '';
    position: absolute;
    height: 2px;
    width: 100%;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}

.navbar-toggler-icon::before {
    top: -8px;
}

.navbar-toggler-icon::after {
    bottom: -8px;
}

.navbar-toggler.active .navbar-toggler-icon {
    background-color: transparent;
}

.navbar-toggler.active .navbar-toggler-icon::before {
    transform: translateY(8px) rotate(45deg);
}

.navbar-toggler.active .navbar-toggler-icon::after {
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 991px) {
    .navbar-collapse {
        background-color: var(--white-color);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        padding: 20px;
        margin-top: 15px;
    }

    .navbar-nav .nav-item {
        margin: 0;
    }

    .navbar-nav .nav-link {
        padding: 12px 15px;
        border-bottom: 1px solid var(--light-gray);
    }

    .navbar-nav .nav-item:last-child .nav-link {
        border-bottom: none;
    }

    .navbar-nav .nav-link::after {
        display: none;
    }

    .navbar-nav .dropdown-menu {
        box-shadow: none;
        padding: 0;
        margin-top: 0;
        margin-bottom: 10px;
        background-color: var(--light-color);
    }

    .donate-btn {
        margin-top: 15px;
        text-align: center;
    }
}
/* ====== HERO SLIDER STYLES ====== */
:root {
    --primary-color: #b5424e;
    --secondary-color: #193b3f;
    --white-color: #ffffff;
}

.hero-slider {
    position: relative;
    background: var(--secondary-color);
    min-height: 700px;
    overflow: hidden;
}

.hero-slider .carousel-item {
    min-height: 700px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(25, 43, 63, 0.5),
        rgba(181, 66, 70, 0.4)
    );
}

.hero-content {
    padding: 150px 0;
    color: var(--white-color);
    position: relative;
    z-index: 2;
}

.hero-content .tagline {
    text-transform: uppercase;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 25px;
    background-color: rgba(255, 255, 255, 0.1);
    display: inline-block;
    padding: 7px 20px;
    border-radius: 30px;
    animation: fadeInDown 0.8s;
}

.hero-content h1 {
    color: var(--white-color);
    font-size: 4rem;
    margin-bottom: 25px;
    line-height: 1.2;
    font-weight: 800;
    max-width: 900px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.8s;
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 35px;
    opacity: 0.9;
    max-width: 700px;
    animation: fadeInUp 1s;
}

.hero-content .btn {
    margin-right: 15px;
    margin-bottom: 15px;
    animation: fadeInUp 1.2s;
}

.hero-content .election-day {
    margin-top: 40px;
    text-transform: uppercase;
    font-weight: 700;
    display: inline-block;
    background-color: var(--primary-color);
    padding: 10px 25px;
    border-radius: 30px;
    letter-spacing: 1px;
    animation: fadeInUp 1.4s;
    box-shadow: 0 5px 15px rgba(181, 66, 70, 0.3);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--white-color);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: invert(0%) sepia(100%) saturate(0%) hue-rotate(288deg) brightness(0%) contrast(103%);
}

.carousel-indicators {
    bottom: 30px;
    z-index: 15;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--white-color);
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero-slider,
    .hero-slider .carousel-item {
        min-height: 600px;
    }

    .hero-content {
        padding: 100px 0;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 16px;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
}
/* ====== ABOUT SECTION STYLES ====== */
.about-section {
    padding: var(--section-padding);
}

.about-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    position: relative;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: all 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

.contribution-note {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 20px 25px;
    border-radius: 15px;
    max-width: 80%;
    box-shadow: 0 10px 25px rgba(181, 66, 70, 0.25);
    backdrop-filter: blur(5px);
}

.contribution-note h3 {
    font-size: 18px;
    color: var(--white-color);
    margin-bottom: 8px;
}

.contribution-note p {
    margin-bottom: 0;
    font-style: italic;
    font-size: 14px;
    opacity: 0.9;
}

.about-content {
    padding-left: 30px;
}

.about-content h2 {
    margin-bottom: 25px;
}

.about-list {
    margin: 25px 0;
    padding-left: 0;
}

.about-list li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.about-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 2px;
    width: 25px;
    height: 25px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    font-size: 14px;
    font-weight: bold;
}

.signature img {
    max-height: 80px;
    margin-bottom: 10px;
}

/* ====== CAMPAIGN SECTION STYLES ====== */
.campaign-section {
    padding: var(--section-padding);
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.campaign-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    opacity: 0.03;
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.campaign-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    opacity: 0.03;
    border-radius: 50%;
    transform: translate(-50px, 50px);
}

.section-header {
    max-width: 800px;
    margin: 0 auto 60px;
}

.campaign-card {
    background-color: var(--white-color);
    padding: 40px 30px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.campaign-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 0;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: -1;
}

.campaign-card:hover {
    box-shadow: var(--hover-shadow);
    transform: translateY(-10px);
}

.campaign-card:hover::before {
    height: 100%;
}

.campaign-card .icon {
    margin-bottom: 25px;
    width: 70px;
    height: 70px;
    background-color: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.campaign-card:hover .icon {
    background-color: rgba(181, 66, 70, 0.1);
}

.campaign-card .icon img {
    height: 35px;
    width: auto;
    transition: all 0.3s ease;
}

.campaign-card:hover .icon img {
    transform: scale(1.1);
}

.campaign-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.campaign-card .read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    position: relative;
}

.campaign-card .read-more i {
    margin-left: 8px;
    transition: all 0.3s ease;
}

.campaign-card .read-more:hover i {
    transform: translateX(5px);
}

.read-more::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.read-more:hover::after {
    width: 100%;
}

.community-cta {
    margin-top: 50px;
    font-size: 18px;
    padding: 25px;
    background-color: var(--white-color);
    border-radius: 15px;
    box-shadow: var(--card-shadow);
    text-align: center;
    position: relative;
    z-index: 1;
}

.community-cta a {
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.community-cta a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.community-cta a:hover {
    color: var(--primary-dark);
}

.community-cta a:hover::after {
    height: 0;
}

/* New Features Section */
.features-section {
    padding: var(--section-padding);
}

.feature-card {
    padding: 40px 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.feature-card-1 {
    background-color: rgba(181, 66, 70, 0.08);
    border-bottom: 3px solid var(--primary-color);
}

.feature-card-2 {
    background-color: rgba(25, 43, 63, 0.08);
    border-bottom: 3px solid var(--secondary-color);
}

.feature-card-3 {
    background-color: rgba(112, 158, 127, 0.08);
    border-bottom: 3px solid var(--green);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.feature-icon {
    margin-bottom: 25px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-card-1 .feature-icon {
    background-color: var(--primary-color);
}

.feature-card-2 .feature-icon {
    background-color: var(--secondary-color);
}

.feature-card-3 .feature-icon {
    background-color: var(--green);
}

.feature-icon i {
    color: var(--white-color);
    font-size: 24px;
}

.feature-card h3 {
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
    font-size: 24px;
}

.feature-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
}

.feature-card-1 h3::after {
    background-color: var(--primary-color);
}

.feature-card-2 h3::after {
    background-color: var(--secondary-color);
}

.feature-card-3 h3::after {
    background-color: var(--green);
}

.feature-card ul {
    margin-top: 20px;
    padding-left: 0;
}

.feature-card ul li {
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.feature-card ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    font-weight: bold;
}

.feature-card-1 ul li::before {
    color: var(--primary-color);
}

.feature-card-2 ul li::before {
    color: var(--secondary-color);
}

.feature-card-3 ul li::before {
    color: var(--green);
}

.feature-card .btn {
    margin-top: auto;
    align-self: flex-start;
}

/* Testimonial Section */
/* Continued from previous style artifact */

/* Testimonial Section */
.testimonial-section {
    padding: var(--section-padding);
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.testimonial-pattern {
    position: absolute;
    opacity: 0.05;
    z-index: 0;
}

.pattern-1 {
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: var(--primary-color);
    border-radius: 50%;
    transform: translate(100px, -100px);
}

.pattern-2 {
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    transform: translate(-50px, 50px);
}

.testimonial-card {
    background-color: var(--white-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    margin: 40px 10px 20px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.author-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid var(--light-gray);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 20px;
}

.author-info p {
    color: var(--gray-color);
    margin-bottom: 0;
}

.testimonial-text {
    position: relative;
    padding-top: 20px;
}

.testimonial-text::before {
    content: """;
    font-size: 70px;
    line-height: 1;
    font-family: serif;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -20px;
    left: -15px;
}

.testimonial-rating {
    color: #ffc107;
    font-size: 18px;
    margin-top: 15px;
}

.testimonial-slider .slick-dots {
    bottom: -40px;
}

.testimonial-slider .slick-dots li button:before {
    font-size: 12px;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-slider .slick-dots li.slick-active button:before {
    opacity: 1;
}

/* Stats Section */
.stats-section {
    padding: var(--section-padding-sm);
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("../images/pattern-bg.png");
    background-size: cover;
    opacity: 0.05;
}

.stats-item {
    text-align: center;
    padding: 20px;
    position: relative;
}

.stats-icon {
    margin-bottom: 20px;
    font-size: 40px;
    color: var(--white-color);
    opacity: 0.8;
}

.counter-wrapper {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--heading-font);
    margin-bottom: 10px;
    line-height: 1.2;
}

.counter-element {
    display: inline-block;
}

.stats-title {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 0;
}

.stats-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    height: 50%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

.stats-row .col-md-3:last-child .stats-item::after {
    display: none;
}

/* Team Section */
.team-section {
    padding: var(--section-padding);
}

.team-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    background-color: var(--white-color);
    position: relative;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.team-image {
    position: relative;
    overflow: hidden;
}

.team-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.05);
}

.team-social {
    position: absolute;
    top: 20px;
    right: -50px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    opacity: 0;
}

.team-social a {
    width: 40px;
    height: 40px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    color: var(--secondary-color);
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-social a:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
    transform: scale(1.1);
}

.team-card:hover .team-social {
    right: 20px;
    opacity: 1;
}

.team-info {
    padding: 25px;
    text-align: center;
    border-top: 5px solid var(--primary-color);
}

.team-info h3 {
    font-size: 22px;
    text-transform: capitalize;
    margin-bottom: 5px;
}

.team-info h3 a {
    color: var(--secondary-color);
}

.team-info h3 a:hover {
    color: var(--primary-color);
}

.team-info p {
    color: var(--primary-color);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 15px;
}

.team-bio {
    border-top: 1px solid var(--light-gray);
    padding-top: 15px;
    margin-top: 15px;
}

/* Events Section */
.events-section {
    padding: var(--section-padding);
    background-color: var(--light-color);
}

.event-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
    position: relative;
    transition: all 0.3s ease;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.event-image {
    position: relative;
    overflow: hidden;
}

.event-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.05);
}

.event-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(181, 66, 70, 0.2);
}

.event-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.event-date .month {
    text-transform: uppercase;
    font-size: 14px;
    font-weight: 600;
}

.event-content {
    padding: 25px;
}

.event-meta {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.event-meta > div {
    margin-right: 20px;
    font-size: 14px;
    color: var(--gray-color);
    display: flex;
    align-items: center;
}

.event-meta i {
    margin-right: 5px;
    color: var(--primary-color);
}

.event-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.event-content h3 a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.event-content h3 a:hover {
    color: var(--primary-color);
}

.event-content .location {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    color: var(--text-color);
}

.event-content .location i {
    margin-right: 8px;
    color: var(--primary-color);
}

.event-content .btn {
    padding: 10px 20px;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(rgba(25, 43, 63, 0.9), rgba(25, 43, 63, 0.9)), url('../images/cta-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    color: var(--white-color);
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--white-color);
    font-size: 3rem;
    margin-bottom: 25px;
}

.cta-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

/* Volunteer Section */
.volunteer-section {
    padding: var(--section-padding);
}

.volunteer-card {
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.volunteer-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: inherit;
    z-index: -1;
    transition: all 0.3s ease;
}

.volunteer-card:hover::before {
    transform: scale(1.05);
}

.volunteer-card:hover {
    transform: translateY(-10px);
}

.volunteer-card-1 {
    background-color: rgba(181, 66, 70, 0.08);
}

.volunteer-card-2 {
    background-color: rgba(25, 43, 63, 0.08);
}

.volunteer-card-3 {
    background-color: rgba(178, 143, 101, 0.08);
}

.volunteer-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.volunteer-card-1 .volunteer-icon {
    background-color: rgba(181, 66, 70, 0.15);
    color: var(--primary-color);
}

.volunteer-card-2 .volunteer-icon {
    background-color: rgba(25, 43, 63, 0.15);
    color: var(--secondary-color);
}

.volunteer-card-3 .volunteer-icon {
    background-color: rgba(178, 143, 101, 0.15);
    color: var(--accent-color);
}

.volunteer-icon i {
    font-size: 36px;
}

.volunteer-card h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.volunteer-card-1 h3 {
    color: var(--primary-color);
}

.volunteer-card-2 h3 {
    color: var(--secondary-color);
}

.volunteer-card-3 h3 {
    color: var(--accent-color);
}

.volunteer-card p {
    margin-bottom: 25px;
}

.volunteer-form {
    background-color: var(--white-color);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--card-shadow);
}

.volunteer-form h3 {
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.volunteer-form h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.form-control {
    height: 54px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(181, 66, 70, 0.1);
}

textarea.form-control {
    height: auto;
    resize: none;
}

.form-select {
    height: 54px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(181, 66, 70, 0.1);
}

/* Blog Section */
.blog-section {
    padding: var(--section-padding);
}

.blog-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
    background-color: var(--white-color);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.blog-image {
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 5px 15px;
    font-size: 14px;
    border-radius: 30px;
    font-weight: 600;
    z-index: 1;
}



.blog-date i {
    margin-right: 5px;
}

.blog-content {
    padding: 25px;
}

.blog-content h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.blog-content h3 a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.blog-content h3 a:hover {
    color: var(--primary-color);
}

.blog-author {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-name {
    font-weight: 600;
    color: var(--secondary-color);
}

.blog-content .read-more {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    margin-top: 15px;
}

.blog-content .read-more i {
    margin-left: 5px;
    transition: all 0.3s ease;
}

.blog-content .read-more:hover i {
    transform: translateX(5px);
}

/* ====== FOOTER STYLES ====== */
.footer {
    background-color: var(--footer-bg);
    color: var(--white-color);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/footer-pattern.png');
    background-size: cover;
    opacity: 0.03;
}

.footer-top {
    padding: 80px 0 40px;
    position: relative;
    z-index: 1;
}

.newsletter-section {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 20px;
    margin-bottom: 60px;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(181, 66, 70, 0.1);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.newsletter-section h2 {
    color: var(--white-color);
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter-section p {
    color: rgba(255, 255, 255, 0.8);
}

.newsletter-form {
    position: relative;
    max-width: 500px;
}

.newsletter-form .form-control {
    height: 54px;
    border-radius: 50px;
    padding: 10px 150px 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white-color);
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-color);
}

.newsletter-form .btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 54px;
    padding: 0 30px;
    border-radius: 0 50px 50px 0;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo img {
    max-height: 50px;
    margin-bottom: 25px;
}

.footer-text {
    margin-bottom: 25px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
}

.footer-social {
    display: flex;
    margin-bottom: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white-color);
    margin-right: 10px;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.widget-title {
    font-size: 22px;
    color: var(--white-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.widget-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links {
    padding-left: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    font-size: 12px;
}

.footer-links a:hover {
    color: var(--white-color);
    padding-left: 5px;
}

.contact-info li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
}

.contact-info i {
    margin-right: 15px;
    color: var(--primary-color);
    font-size: 18px;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.7);
}

.contact-info a:hover {
    color: var(--white-color);
}

.contact-info address {
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    margin-bottom: 0;
}

.footer-post {
    display: flex;
    margin-bottom: 20px;
}

.footer-post:last-child {
    margin-bottom: 0;
}

.footer-post-thumb {
    flex: 0 0 80px;
    margin-right: 15px;
}

.footer-post-thumb img {
    border-radius: 5px;
    height: 60px;
    width: 100%;
    object-fit: cover;
}

.footer-post-content h6 {
    font-size: 16px;
    margin-bottom: 5px;
}

.footer-post-content h6 a {
    color: rgba(255, 255, 255, 0.9);
}

.footer-post-content h6 a:hover {
    color: var(--primary-color);
}

.footer-post-date {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
}

.copyright a {
    color: var(--primary-color);
    font-weight: 600;
}

.footer-bottom-links {
    text-align: right;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 20px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(181, 66, 70, 0.3);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
}

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white-color);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease;
}

.preloader-hide {
    opacity: 0;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(181, 66, 70, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Styles */
@media (max-width: 1199px) {
    :root {
        --section-padding: 5rem 0;
    }

    h1 {
        font-size: 3.25rem;
    }

    h2 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }
}

@media (max-width: 991px) {
    :root {
        --section-padding: 4rem 0;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 18px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 40px;
    }

    .campaign-card, .feature-card, .team-card {
        margin-bottom: 30px;
    }

    .stats-item::after {
        display: none;
    }
}

@media (max-width: 767px) {
    :root {
        --section-padding: 3.5rem 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-content {
        padding: 120px 0;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-content .btn {
        margin-bottom: 10px;
    }

    .event-meta {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-meta > div {
        margin-bottom: 10px;
    }

    .copyright, .footer-bottom-links {
        text-align: center;
    }

    .footer-bottom-links {
        margin-top: 15px;
    }

    .footer-bottom-links a {
        margin: 0 10px;
    }
}

@media (max-width: 575px) {
    h1 {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .newsletter-section {
        padding: 30px 20px;
    }

    .newsletter-form .btn {
        position: static;
        width: 100%;
        margin-top: 15px;
        border-radius: 50px;
    }

/* Completing the Responsive Styles */
@media (max-width: 575px) {
    .newsletter-form .form-control {
        padding: 10px 20px;
        border-radius: 10px;
    }

    .contribution-note {
        left: 15px;
        bottom: 15px;
        padding: 15px;
    }

    .cta-section {
        padding: 60px 0;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content p {
        font-size: 16px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .volunteer-card, .volunteer-form {
        padding: 30px 20px;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;
        width: 40px;
        height: 40px;
    }
}

/* Custom Animations */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animated.animate-fade-up {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-down {
    opacity: 0;
    transform: translateY(-30px);
    transition: all 0.8s ease;
}

.animated.animate-fade-down {
    opacity: 1;
    transform: translateY(0);
}

.animate-fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.8s ease;
}

.animated.animate-fade-left {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.8s ease;
}

.animated.animate-fade-right {
    opacity: 1;
    transform: translateX(0);
}

.animate-fade-in {
    opacity: 0;
    transition: all 0.8s ease;
}

.animated.animate-fade-in {
    opacity: 1;
}

.animate-scale-up {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease;
}

.animated.animate-scale-up {
    opacity: 1;
    transform: scale(1);
}

/* Animation Delays */
.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* Donation Page Styles */
.donation-section {
    padding: var(--section-padding);
}

.donation-options {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 40px;
    box-shadow: var(--card-shadow);
    margin-bottom: 30px;
}

.donation-title {
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.donation-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.amount-options {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.amount-option {
    flex: 1 0 calc(33.333% - 15px);
    min-width: 100px;
}

.amount-option input[type="radio"] {
    display: none;
}

.amount-option label {
    display: block;
    padding: 15px;
    text-align: center;
    background-color: var(--light-color);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.amount-option input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.amount-option label:hover {
    background-color: rgba(181, 66, 70, 0.1);
}

.custom-amount {
    margin-bottom: 30px;
}

.donation-frequency {
    margin-bottom: 30px;
}

.frequency-options {
    display: flex;
    gap: 15px;
}

.frequency-option {
    flex: 1;
}

.frequency-option input[type="radio"] {
    display: none;
}

.frequency-option label {
    display: block;
    padding: 15px;
    text-align: center;
    background-color: var(--light-color);
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.frequency-option input[type="radio"]:checked + label {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.donation-form .form-group {
    margin-bottom: 20px;
}

.donation-form .btn {
    width: 100%;
    padding: 15px;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    color: var(--gray-color);
    font-size: 14px;
}

.secure-badge i {
    margin-right: 8px;
    color: var(--green);
}

.donation-info {
    background-color: var(--light-color);
    border-radius: 15px;
    padding: 40px;
}

.donation-info ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.donation-info ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 10px;
}

.donation-info ul li::before {
    content: '•';
    position: absolute;
    left: -15px;
    color: var(--primary-color);
    font-weight: bold;
}

.donor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.donor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-donors {
    margin-top: 30px;
}

.donor-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.donor-item:last-child {
    border-bottom: none;
}

.donor-info h5 {
    margin-bottom: 5px;
    font-size: 16px;
}

.donor-amount {
    color: var(--primary-color);
    font-weight: 600;
}

.donor-date {
    font-size: 14px;
    color: var(--gray-color);
}

/* Gallery Page Styles */
.gallery-section {
    padding: var(--section-padding);
}

.gallery-filter {
    margin-bottom: 40px;
    text-align: center;
}

.gallery-filter button {
    background: none;
    border: none;
    padding: 8px 20px;
    margin: 0 5px 10px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.gallery-filter button.active,
.gallery-filter button:hover {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.gallery-item {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 20px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-caption {
    color: var(--white-color);
}

.gallery-caption h4 {
    color: var(--white-color);
    margin-bottom: 5px;
    font-size: 18px;
}

.gallery-caption p {
    margin-bottom: 0;
    font-size: 14px;
    opacity: 0.8;
}

.gallery-view {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 50px;
    height: 50px;
    background-color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-view {
    transform: translate(-50%, -50%) scale(1);
}

/* Video Popup */
.video-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-popup-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
}

.video-popup-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.video-popup-close {
    position: absolute;
    top: -40px;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    color: var(--white-color);
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-popup-close:hover {
    background-color: var(--primary-dark);
    transform: rotate(90deg);
}

/* Timeline Section */
.timeline-section {
    padding: var(--section-padding);
    position: relative;
}

.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 30px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--light-gray);
}

.timeline-item {
    display: flex;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 30px);
    padding: 30px;
    border-radius: 15px;
    background-color: var(--white-color);
    box-shadow: var(--card-shadow);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 30px;
    height: 3px;
    background-color: var(--light-gray);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 30px;
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 30px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -30px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--light-color);
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.timeline-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.timeline-content p {
    margin-bottom: 0;
}

/* Media Queries for Timeline */
@media (max-width: 767px) {
    .timeline-container::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }

    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
    }
}

/* Achievements Section */
.achievements-section {
    padding: var(--section-padding-sm);
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    color: var(--white-color);
    position: relative;
    overflow: hidden;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/pattern-bg.png');
    background-size: cover;
    opacity: 0.05;
}

.achievement-item {
    text-align: center;
    padding: 30px 20px;
    position: relative;
}

.achievement-icon {
    margin-bottom: 20px;
    width: 80px;
    height: 80px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.achievement-icon i {
    font-size: 36px;
    color: var(--white-color);
}

.achievement-count {
    font-size: 3.5rem;
    font-weight: 700;
    font-family: var(--heading-font);
    margin-bottom: 10px;
    line-height: 1.2;
}

.achievement-text {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 0;
    text-transform: capitalize;
}

/* Custom Form Styling */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: var(--light-color);
    border-radius: 5px;
    transition: all 0.3s ease;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: var(--light-gray);
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 9px;
    top: 5px;
    width: 7px;
    height: 12px;
    border: solid var(--white-color);
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}
/* Additional CSS for About, Services, and Single Service Pages */

/* ====== PAGE BANNER STYLES ====== */
.page-banner {
    position: relative;
    padding: 120px 0;
    color: var(--white-color);
    text-align: center;
}

.page-title h1 {
    color: var(--white-color);
    font-size: 3.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.breadcrumb {
    background: transparent;
    display: inline-flex;
    margin-bottom: 0;
    padding: 0;
}

.breadcrumb-item a {
    color: var(--white-color);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.breadcrumb-item a:hover {
    opacity: 1;
    color: var(--white-color);
}

.breadcrumb-item.active {
    color: var(--white-color);
    opacity: 1;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--white-color);
    opacity: 0.6;
    content: "/";
}

/* ====== ABOUT PAGE STYLES ====== */
.about-story-section .about-image {
    position: relative;
    box-shadow: var(--card-shadow);
    border-radius: 15px;
    overflow: hidden;
}

.experience-badge {
    position: absolute;
    bottom: 30px;
    right: -20px;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 25px;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 20px rgba(181, 66, 70, 0.3);
    z-index: 1;
}

.experience-years {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 5px;
    font-family: var(--heading-font);
}

.experience-text {
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.mission-vision .mission-box,
.mission-vision .vision-box {
    background-color: var(--light-color);
    padding: 25px;
    border-radius: 15px;
    height: 100%;
    transition: all 0.3s ease;
}

.mission-vision .mission-box:hover,
.mission-vision .vision-box:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.mission-vision h4 {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.mission-vision .vision-box h4 {
    color: var(--secondary-color);
}

.value-card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.value-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(181, 66, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background-color: var(--primary-color);
}

.value-icon i {
    font-size: 36px;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.value-card:hover .value-icon i {
    color: var(--white-color);
}

.value-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

/* Timeline styles */
.timeline-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding: 40px 0;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background-color: var(--light-gray);
}

.timeline-item {
    display: flex;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    z-index: 1;
}

.timeline-content {
    width: calc(50% - 40px);
    padding: 30px;
    border-radius: 15px;
    background-color: var(--white-color);
    box-shadow: var(--card-shadow);
    position: relative;
    transition: all 0.3s ease;
}

.timeline-content::before {
    content: '';
    position: absolute;
    top: 20px;
    width: 30px;
    height: 3px;
    background-color: var(--light-gray);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 40px;
    margin-left: auto;
}

.timeline-item:nth-child(odd) .timeline-content::before {
    left: -30px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 40px;
}

.timeline-item:nth-child(even) .timeline-content::before {
    right: -30px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

.timeline-date {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(181, 66, 70, 0.1);
    border-radius: 30px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 14px;
}

.timeline-content h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

@media (max-width: 767px) {
    .timeline-container::before {
        left: 30px;
    }

    .timeline-dot {
        left: 30px;
    }

    .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px !important;
        margin-right: 0 !important;
    }

    .timeline-content::before {
        left: -30px !important;
        right: auto !important;
    }
}

/* ====== SERVICES PAGE STYLES ====== */
.services-intro-section .experience-badge {
    width: 140px;
    height: 140px;
}

.service-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.service-image {
    position: relative;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: all 0.5s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    transition: all 0.3s ease;
    transform: translateY(0);
}

.service-card:hover .service-content {
    transform: translateY(-10px);
}

.service-content h3 {
    color: var(--white-color);
    font-size: 1.5rem;
    margin-bottom: 0;
    text-transform: capitalize;
}

.service-link {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.additional-service-card {
    background-color: var(--white-color);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.additional-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.additional-service-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 10px;
}

.additional-service-content {
    padding: 20px;
}

.additional-service-content .service-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(181, 66, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.additional-service-content .service-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.additional-service-content h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.process-card {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 40px 20px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.process-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    z-index: -1;
}

.process-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--hover-shadow);
}

.process-icon {
    position: relative;
    width: 80px;
    height: 80px;
    background-color: rgba(181, 66, 70, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

.process-icon i {
    font-size: 30px;
    color: var(--primary-color);
}

.process-number {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--white-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.process-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.faq-section .accordion-item {
    border: none;
    margin-bottom: 15px;
    border-radius: 10px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.faq-section .accordion-button {
    padding: 20px;
    font-weight: 600;
    font-size: 18px;
    color: var(--title-color);
    background-color: var(--white-color);
    border-radius: 10px !important;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: var(--white-color);
    box-shadow: none;
}

.faq-section .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(181, 66, 70, 0.25);
}

.faq-section .accordion-button::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
    transition: all 0.3s ease;
}

.faq-section .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='currentColor' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
    transform: rotate(0deg);
}

.faq-section .accordion-body {
    padding: 0 20px 20px;
    background-color: var(--white-color);
    color: var(--text-color);
}

.faq-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

/* ====== SERVICE SINGLE PAGE STYLES ====== */
.service-feature-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.service-feature-image img {
    width: 100%;
    height: auto;
    transition: all 0.5s ease;
}

.benefit-item {
    background-color: var(--white-color);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    height: 100%;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--hover-shadow);
}

/* Modern Navbar Styling */

:root {
    --primary-color: #2C70D5;
    --secondary-color: #233658;
    --accent-color: #F4A634;
    --light-color: #F5F8FE;
    --dark-color: #1E2639;
    --text-color: #4A5268;
    --transition-speed: 0.3s;
    --header-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    --hover-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  }

  /* Top Strip Styling */
  .top-strip {
    background-color: var(--secondary-color);
    padding: 8px 0;
    font-size: 0.875rem;
    color: #fff;
    transition: all var(--transition-speed) ease;
  }

  .contact-details {
    display: flex;
    align-items: center;
  }

  .contact-info-item {
    color: #fff;
    margin-right: 20px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    transition: color var(--transition-speed) ease;
  }

  .contact-info-item i {
    margin-right: 8px;
    font-size: 0.875rem;
  }

  .contact-info-item:hover {
    color: var(--accent-color);
  }

  /* Social Icons */
  .social-icons {
    display: inline-flex;
    align-items: center;
  }

  .social-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-left: 8px;
    transition: all var(--transition-speed) ease;
    text-decoration: none;
  }

  .social-icon:hover {
    background-color: var(--accent-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
  }

  /* Main Navigation */
  .main-navigation {
    background-color: #fff;
    padding: 0;
    box-shadow: var(--header-shadow);
    position: relative;
    z-index: 1000;
    transition: all var(--transition-speed) ease;
  }

  .site-header.sticky-top {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1030;
  }

  .nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: height var(--transition-speed) ease;
  }

  /* On scroll styling for smaller header */
  .site-header.scrolled .nav-wrapper {
    height: 70px;
  }

  .site-header.scrolled .top-strip {
    padding: 5px 0;
  }

  /* Logo */
  .site-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--dark-color);
    height: 100%;
    padding: 10px 0;
    transition: all var(--transition-speed) ease;
  }

  .site-logo img {
    max-height: 45px;
    transition: all var(--transition-speed) ease;
  }

  .site-header.scrolled .site-logo img {
    max-height: 40px;
  }

  /* Primary Navigation */
  .nav-menu {
    display: flex;
    align-items: center;
  }

  .primary-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-item {
    position: relative;
    margin: 0;
    display: flex;
    align-items: center;
  }

  .nav-link {
    font-weight: 600;
    color: var(--dark-color);
    padding: 30px 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
    transition: all var(--transition-speed) ease;
  }

  .nav-link .dropdown-icon {
    font-size: 10px;
    margin-left: 6px;
    transition: all var(--transition-speed) ease;
  }

  .nav-item.active > .nav-link,
  .nav-item:hover > .nav-link {
    color: var(--primary-color);
  }

  .nav-item.active > .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    right: 15px;
    height: 3px;
    background-color: var(--primary-color);
  }

  /* Submenu Styling */
  .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: var(--hover-shadow);
    border-radius: 5px;
    width: 220px;
    padding: 15px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-speed) ease;
    z-index: 100;
  }

  .nav-item.has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-item.has-children:hover > .nav-link .dropdown-icon {
    transform: rotate(180deg);
  }

  .sub-menu a {
    display: block;
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 20px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all var(--transition-speed) ease;
  }

  .sub-menu a:hover,
  .sub-menu li.active a {
    color: var(--primary-color);
    background-color: var(--light-color);
    padding-left: 25px;
  }

  /* CTA Button */
  .cta-button {
    margin-left: 15px;
  }

  .action-btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    font-weight: 600;
    border-radius: 5px;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
  }

  .action-btn:hover {
    background-color: var(--secondary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--hover-shadow);
  }

  /* Mobile Toggle Button */
  .mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1050;
  }

  .toggle-bar {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: all var(--transition-speed) ease;
  }

  /* RTL Support */
  [dir="rtl"] .contact-info-item {
    margin-right: 0;
    margin-left: 20px;
  }

  [dir="rtl"] .contact-info-item i {
    margin-right: 0;
    margin-left: 8px;
  }

  [dir="rtl"] .social-icon {
    margin-left: 0;
    margin-right: 8px;
  }

  [dir="rtl"] .nav-link .dropdown-icon {
    margin-left: 0;
    margin-right: 6px;
  }

  [dir="rtl"] .sub-menu {
    left: auto;
    right: 0;
  }

  [dir="rtl"] .sub-menu a:hover {
    padding-left: 20px;
    padding-right: 25px;
  }

  [dir="rtl"] .cta-button {
    margin-left: 0;
    margin-right: 15px;
  }

  /* Mobile Responsive */
  @media (max-width: 991px) {
    .nav-wrapper {
      height: 70px;
    }

    .mobile-toggle {
      display: block;
    }

    .nav-menu {
      position: fixed;
      top: 0;
      right: -300px;
      width: 280px;
      height: 100vh;
      background-color: #fff;
      flex-direction: column;
      align-items: flex-start;
      box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
      padding: 100px 0 30px;
      overflow-y: auto;
      transition: right var(--transition-speed) ease;
    }

    .nav-menu.active {
      right: 0;
    }

    .mobile-toggle.active .toggle-bar:nth-child(1) {
      transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active .toggle-bar:nth-child(2) {
      opacity: 0;
    }

    .mobile-toggle.active .toggle-bar:nth-child(3) {
      transform: rotate(-45deg) translate(5px, -5px);
    }

    .primary-menu {
      flex-direction: column;
      width: 100%;
    }

    .nav-item {
      width: 100%;
      flex-direction: column;
      align-items: flex-start;
    }

    .nav-link {
      padding: 12px 20px;
      width: 100%;
      justify-content: space-between;
      border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .sub-menu {
      position: static;
      width: 100%;
      opacity: 1;
      visibility: visible;
      transform: none;
      box-shadow: none;
      background-color: #f9f9f9;
      padding: 0;
      max-height: 0;
      overflow: hidden;
      transition: max-height var(--transition-speed) ease;
    }

    .nav-item.submenu-open > .sub-menu {
      max-height: 1000px;
    }

    .nav-item.has-children > .nav-link .dropdown-icon {
      transition: transform var(--transition-speed) ease;
    }

    .nav-item.submenu-open > .nav-link .dropdown-icon {
      transform: rotate(180deg);
    }

    .cta-button {
      margin: 20px auto 0;
      width: 80%;
      text-align: center;
    }

    .action-btn {
      display: block;
      width: 100%;
      text-align: center;
    }

    /* RTL Mobile */
    [dir="rtl"] .nav-menu {
      right: auto;
      left: -300px;
    }

    [dir="rtl"] .nav-menu.active {
      right: auto;
      left: 0;
    }
  }

  /* Extra Small Devices */
  @media (max-width: 575px) {
    .contact-details {
      justify-content: center;
      margin-bottom: 10px;
    }

    .social-and-lang {
      text-align: center !important;
    }

    .top-strip .row {
      flex-direction: column;
    }

    .top-strip .col-md-6 {
      width: 100%;
      text-align: center;
    }
  }

  /* JavaScript-ready classes */
  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-speed) ease;
    z-index: 990;
  }

  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
  /* Language switcher styles */

.language-switcher {
    position: relative;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}

.current-lang {
    display: flex;
    align-items: center;
    color: #fff;
    padding: 5px 8px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.current-lang:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.lang-icon {
    font-size: 16px;
    margin-right: 5px;
}

.lang-name {
    font-weight: 500;
    font-size: 14px;
}

.lang-arrow {
    font-size: 10px;
    margin-left: 5px;
    transition: all 0.3s ease;
}

.language-switcher:hover .lang-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 8px 0;
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 5px;
}

.language-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lang-option:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.lang-option .lang-icon {
    font-size: 16px;
    margin-right: 8px;
}

/* RTL support */
[dir="rtl"] .lang-icon {
    margin-right: 0;
    margin-left: 5px;
}

[dir="rtl"] .lang-arrow {
    margin-left: 0;
    margin-right: 5px;
}

[dir="rtl"] .lang-dropdown {
    right: auto;
    left: 0;
}

[dir="rtl"] .lang-option .lang-icon {
    margin-right: 0;
    margin-left: 8px;
}

/* Mobile responsiveness */
@media (max-width: 575px) {
    .language-switcher {
        margin-top: 5px;
    }
}
/* Submenu Styles */
.sidebar-submenu {
    list-style: none;
    padding-left: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease;
    background-color: rgba(255, 255, 255, 0.05);
}

.sidebar-menu-item.open .sidebar-submenu {
    max-height: 500px; /* Adjust based on expected number of submenu items */
    opacity: 1;
}

.sidebar-submenu .sidebar-link {
    padding-left: 10px;
    font-size: 0.9rem;
}

/* Rotation of dropdown arrow when open */
.sidebar-menu-item.open .submenu-arrow {
    transform: rotate(90deg);
}
