:root {
    --primary-color: #00715d;
    --primary-light: #3cbaa3;
    --primary-dark: #032d25;
    --secondary-color: #89352C;
    --secondary-light: #a74237;
    --secondary-dark: #6b2922;
    --accent-color: #ffc107;
    --accent-light: #ffca28;
    --accent-dark: #ff9800;
    --light-bg: #f8f9fa;
    --dark-text: #333;
    --gradient-primary: linear-gradient(135deg, #3a7d47 0%, #2D6338 50%, #1f4426 100%);
    --gradient-secondary: linear-gradient(135deg, #a74237 0%, #89352C 50%, #6b2922 100%);
    --gradient-accent: linear-gradient(135deg, #ffca28 0%, #ffc107 50%, #ff9800 100%);
    --gradient-mixed: linear-gradient(135deg, #2D6338 0%, #89352C 50%, #ffc107 100%);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-text);
    overflow-x: hidden;
    background: linear-gradient(to bottom, #f8f9fa 0%, #e8eef0 100%);
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.active {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Header */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(45, 99, 56, 0.1),
        0 2px 8px rgba(255, 255, 255, 0.8) inset;
    padding: 15px 0;
    border-bottom: 1px solid rgba(45, 99, 56, 0.1);
    position: relative;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    opacity: 0.5;
}

.navbar-brand {
    font-size: 28px;
    font-weight: bold;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(45, 99, 56, 0.3));
    position: relative;
}

.navbar-nav .nav-link {
    color: var(--dark-text) !important;
    margin: 0 15px;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 70%;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(45, 99, 56, 0.4);
    transition: transform 0.4s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary-color) !important;
    text-shadow: 0 2px 4px rgba(45, 99, 56, 0.2);
}

/* Hero Slider */
.hero-slider {
    height: 600px;
    position: relative;
}

.carousel-item {
    height: 600px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    z-index: 2;
    bottom: auto !important;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    text-align: left;
    max-width: 800px;
    width: 90%;
    background: rgba(30, 58, 76, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 30px 25px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4),
        0 -5px 20px rgba(255, 255, 255, 0.1) inset;
    border: 2px solid rgba(255, 255, 255, 0.15);
}

.carousel-caption h2 {
    font-size: 40px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 10px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.carousel-caption p {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin-bottom: 17px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.carousel-caption .btn {
    background: #ffc107;
    color: #1e3a4c;
    padding: 16px 40px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px rgba(255, 193, 7, 0.4);
    text-decoration: none;
}

.carousel-caption .btn:hover {
    background: #ffca28;
    color: #1e3a4c;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 193, 7, 0.5);
}

.carousel-caption .btn::after {
    content: '\\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 5px;
}

/* Charity Hero Slide (First Slide) */
.charity-hero-slide {
    background: transparent !important;
}

.charity-hero-slide img {
    display: none !important;
}

.charity-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1e3a4c 0%, #2c4a5c 50%, #1a2f3f 100%);
    z-index: 0;
}

.charity-hero-content {
    position: relative;
    z-index: 2;
    padding: 30px 0;
}

.charity-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffc107;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    font-style: italic;
}

.charity-hero-badge i {
    font-size: 24px;
}

.charity-hero-title {
    font-size: 40px;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.charity-hero-title .highlight-text {
    color: #ffc107;
    position: relative;
    display: inline-block;
}

.charity-hero-title .highlight-text::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    height: 8px;
    background: #ffc107;
    border-radius: 4px;
    z-index: -1;
}

.charity-hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.charity-btn-dark {
    background: rgba(40, 60, 80, 0.8);
    backdrop-filter: blur(10px);
    color: white;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.charity-btn-dark:hover {
    background: rgba(50, 70, 90, 0.9);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}

.charity-btn-yellow {
    background: #ffc107;
    color: #1e3a4c;
    padding: 16px 35px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    transition: all 0.4s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.4);
}

.charity-btn-yellow:hover {
    background: #ffca28;
    color: #1e3a4c;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 193, 7, 0.5);
}

/* Charity Hero Images Section */
.charity-hero-images {
    position: relative;
    height: 500px;
    z-index: 2;
}

.heart-shape {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 450px;
    height: 450px;
    z-index: 1;
}

.heart-shape svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 30px rgba(100, 120, 140, 0.4));
}

.charity-image-item {
    position: absolute;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border: 4px solid rgba(255, 255, 255, 0.9);
    z-index: 2;
    transition: all 0.4s ease;
}

.charity-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.charity-image-item:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    z-index: 3;
}

.charity-img-1 {
    top: 20%;
    left: 15%;
    width: 200px;
    height: 200px;
}

.charity-img-2 {
    top: 10%;
    right: 10%;
    width: 180px;
    height: 180px;
}

.charity-img-3 {
    bottom: 15%;
    left: 5%;
    width: 190px;
    height: 190px;
}

.charity-img-4 {
    bottom: 5%;
    right: 5%;
    width: 210px;
    height: 210px;
}

/* Charity Hero Decorations */
.charity-hero-decorations {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.deco-heart {
    position: absolute;
    top: 40px;
    left: 80px;
    font-size: 60px;
    color: #ffc107;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 5px 15px rgba(255, 193, 7, 0.4));
}

.deco-parachute {
    position: absolute;
    bottom: 80px;
    left: 100px;
    font-size: 50px;
    color: rgba(255, 193, 7, 0.6);
    animation: float 4s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Responsive for Charity Hero */
@media (max-width: 992px) {
    .charity-hero-title {
        font-size: 48px;
    }

    .charity-hero-images {
        height: 400px;
        margin-top: 50px;
    }

    .heart-shape {
        width: 350px;
        height: 350px;
    }

    .charity-img-1 {
        width: 160px;
        height: 160px;
    }

    .charity-img-2 {
        width: 140px;
        height: 140px;
    }

    .charity-img-3 {
        width: 150px;
        height: 150px;
    }

    .charity-img-4 {
        width: 170px;
        height: 170px;
    }

    .deco-heart {
        font-size: 45px;
        top: 20px;
        left: 40px;
    }

    .deco-parachute {
        font-size: 35px;
        bottom: 40px;
        left: 50px;
    }
}

@media (max-width: 768px) {
    .charity-hero-title {
        font-size: 36px;
    }

    .charity-hero-badge {
        font-size: 16px;
    }

    .charity-hero-buttons {
        flex-direction: column;
    }

    .charity-btn-dark,
    .charity-btn-yellow {
        width: 100%;
        justify-content: center;
    }

    .charity-hero-images {
        height: 350px;
    }

    .heart-shape {
        width: 280px;
        height: 280px;
    }

    .charity-img-1,
    .charity-img-2,
    .charity-img-3,
    .charity-img-4 {
        width: 120px;
        height: 120px;
    }

    .deco-heart,
    .deco-parachute {
        display: none;
    }

    /* Carousel Caption Responsive */
    .carousel-caption {
        padding: 40px 30px;
        width: 95%;
    }

    .carousel-caption h2 {
        font-size: 36px;
    }

    .carousel-caption p {
        font-size: 18px;
        margin-bottom: 25px;
    }

    .carousel-caption .btn {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 992px) {
    .carousel-caption {
        padding: 50px 40px;
    }

    .carousel-caption h2 {
        font-size: 44px;
    }

    .carousel-caption p {
        font-size: 20px;
    }
}

/* Sections */
.section {
    padding: 50px 0;
}

.section-title {
    font-size: 40px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    padding-bottom: 10px;
    filter: drop-shadow(0 2px 6px rgba(45, 99, 56, 0.2));
}

/* Our Story Section */
#our-story {
    background: linear-gradient(135deg, #e8f0ea 0%, #f5f9f6 50%, #fff 100%);
    position: relative;
    overflow: hidden;
    padding: 50px 0;
}

#our-story::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -50px;
    width: 200px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 90 C20 70, 10 50, 10 35 C10 20, 20 10, 30 10 C40 10, 45 15, 50 25 C55 15, 60 10, 70 10 C80 10, 90 20, 90 35 C90 50, 80 70, 50 90 Z" fill="%232D6338" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

#our-story::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: -30px;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="%2389352C" stroke-width="2" opacity="0.1" stroke-dasharray="5,5"/><circle cx="50" cy="50" r="30" fill="none" stroke="%2389352C" stroke-width="2" opacity="0.08" stroke-dasharray="3,3"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: spin 30s linear infinite;
    pointer-events: none;
}

#our-story .container {
    position: relative;
}

#our-story .row {
    align-items: center;
}

.story-content {
    font-size: 17px;
    line-height: 1.9;
    color: #555;
    background: #ffffff;
    padding: 25px 22px;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(45, 99, 56, 0.15),
        0 10px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    margin-left: -30px;
}

.story-content h2,
.story-content h3 {
    color: #1a1a1a;
    font-weight: 800;
    font-size: 40px;
    margin-bottom: 12px;
    line-height: 1.2;
}

.story-content p {
    margin-bottom: 10px;
    width: 100%;
    height: auto;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

/* Stacked layers effect behind the image */
.story-image::before,
.story-image::after {
    content: '';
    position: absolute;
    border-radius: 25px;
    background: linear-gradient(135deg,
            rgba(45, 99, 56, 0.15) 0%,
            rgba(137, 53, 44, 0.15) 100%);
    z-index: -1;
    transition: all 0.4s ease;
}

.story-image::before {
    top: -20px;
    left: -25px;
    right: 25px;
    bottom: 20px;
    background: linear-gradient(135deg,
            rgba(45, 99, 56, 0.12) 0%,
            rgba(45, 99, 56, 0.08) 100%);
}

.story-image::after {
    top: -35px;
    left: -45px;
    right: 45px;
    bottom: 35px;
    background: linear-gradient(135deg,
            rgba(45, 99, 56, 0.08) 0%,
            rgba(45, 99, 56, 0.04) 100%);
}

.story-image:hover {
    transform: translateY(-8px);
    box-shadow: 0 30px 70px rgba(45, 99, 56, 0.25),
        0 15px 35px rgba(0, 0, 0, 0.15);
}

.story-image:hover::before {
    top: -25px;
    left: -30px;
}

.story-image:hover::after {
    top: -40px;
    left: -50px;
}

/* Story image container wrapper */
.story-image-wrapper {
    position: relative;
    padding: 25px 25px 25px 40px;
}

/* Intervention Diagram */
.intervention-diagram {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
}

.coheart-box {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.85) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(45, 99, 56, 0.2);
    border-radius: 50px;
    padding: 15px 30px;
    margin-bottom: 10px;
    box-shadow: 0 20px 50px rgba(45, 99, 56, 0.15),
        0 -3px 10px rgba(255, 255, 255, 0.9) inset,
        0 8px 20px rgba(45, 99, 56, 0.1) inset;
    position: relative;
}

.coheart-box::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 40%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.6) 0%,
            transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

.coheart-logo-text {
    text-align: center;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 24px;
    letter-spacing: 2px;
}

.coheart-logo-text i {
    color: var(--secondary-color);
    font-size: 28px;
    margin-right: 5px;
}

.foundation-text {
    font-size: 12px;
    letter-spacing: 4px;
    margin-top: 5px;
}

.connecting-lines {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.intervention-circles {
    display: flex;
    justify-content: space-around;
    width: 100%;
    max-width: 500px;
    margin-top: 0;
}

.circle-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
}

.circle-link:hover {
    transform: translateY(-10px);
}

.circle-item {
    text-align: center;
}

.circle {
    width: 80px;
    height: 80px;
    border: 3px solid rgba(45, 99, 56, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    background: linear-gradient(145deg, #ffffff 0%, #f8fdf9 100%);
    margin: 0 auto 7px;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(45, 99, 56, 0.2),
        0 -3px 8px rgba(255, 255, 255, 0.9) inset,
        0 5px 15px rgba(45, 99, 56, 0.1) inset;
    position: relative;
}

.circle::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    height: 50%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.8) 0%,
            transparent 100%);
    border-radius: 50%;
    pointer-events: none;
}

.circle-link:hover .circle {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 20px 50px rgba(45, 99, 56, 0.35),
        0 -3px 10px rgba(255, 255, 255, 0.4) inset;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.circle-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin-top: 5px;
}

/* Responsive for diagram */
@media (max-width: 768px) {
    .intervention-circles {
        flex-wrap: wrap;
        gap: 30px;
    }

    .circle-item {
        flex: 0 0 calc(50% - 15px);
    }

    .coheart-box {
        padding: 20px 40px;
    }

    .coheart-logo-text {
        font-size: 20px;
    }

    /* Our Story responsive */
    .story-content {
        margin-left: 0;
        margin-top: 30px;
        padding: 35px 30px;
    }

    .story-content h2,
    .story-content h3 {
        font-size: 36px;
    }

    .story-image-wrapper {
        padding: 30px 20px;
    }

    .story-image::before {
        left: -15px;
        top: -15px;
        right: 15px;
        bottom: 15px;
    }

    .story-image::after {
        left: -25px;
        top: -25px;
        right: 25px;
        bottom: 25px;
    }
}


/* Interventions Section */
#interventions {
    background: linear-gradient(180deg, #f8fdf9 0%, #e8f5ea 30%, #d8ede0 60%, #e8f5ea 100%);
    position: relative;
    overflow: hidden;
}

#interventions::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="45" y="20" width="10" height="60" fill="%232D6338" opacity="0.05"/><rect x="20" y="45" width="60" height="10" fill="%232D6338" opacity="0.05"/><circle cx="50" cy="50" r="35" fill="none" stroke="%232D6338" stroke-width="3" opacity="0.03"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

#interventions::after {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -100px;
    width: 600px;
    height: 600px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 90 C20 70, 10 50, 10 35 C10 20, 20 10, 30 10 C40 10, 45 15, 50 25 C55 15, 60 10, 70 10 C80 10, 90 20, 90 35 C90 50, 80 70, 50 90 Z" fill="%2389352C" opacity="0.04"/><circle cx="50" cy="35" r="30" fill="none" stroke="%2389352C" stroke-width="2" opacity="0.05" stroke-dasharray="3,3"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 25s ease-in-out infinite reverse;
    pointer-events: none;
}

.interventions-title {
    font-size: 40px;
    font-weight: 900;
    background: var(--gradient-mixed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
    filter: drop-shadow(0 3px 8px rgba(45, 99, 56, 0.2));
}

.interventions-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 6px;
    background: var(--gradient-accent);
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.interventions-subtitle {
    font-size: 20px;
    color: #666;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 500;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Intervention Box Cards */
.intervention-box {
    background: #ffffff;
    border: none;
    border-radius: 15px;
    padding: 25px 20px 20px;
    height: 100%;
    text-align: center;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08),
        0 1px 3px rgba(0, 0, 0, 0.05);
    position: relative;
    cursor: pointer;
}

.intervention-box::before,
.intervention-box::after {
    display: none;
}

.intervention-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12),
        0 5px 15px rgba(0, 0, 0, 0.08);
}

.intervention-box-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    min-height: auto;
}

.intervention-circle-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(255, 182, 193, 0.3);
    color: #d63384;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 70px;
    transition: all 0.4s ease;
    position: relative;
    border: 3px dotted rgba(255, 182, 193, 0.8);
    box-shadow: none;
}

/* Different colors for each intervention */
.intervention-box:nth-child(1) .intervention-circle-large {
    background: rgba(255, 182, 193, 0.3);
    color: #d63384;
    border-color: rgba(255, 182, 193, 0.8);
}

.intervention-box:nth-child(2) .intervention-circle-large {
    background: rgba(45, 99, 56, 0.2);
    color: var(--primary-color);
    border-color: rgba(45, 99, 56, 0.5);
}

.intervention-box:nth-child(3) .intervention-circle-large {
    background: rgba(100, 149, 237, 0.25);
    color: #4169e1;
    border-color: rgba(100, 149, 237, 0.6);
}

.intervention-box:nth-child(4) .intervention-circle-large {
    background: rgba(137, 53, 44, 0.2);
    color: var(--secondary-color);
    border-color: rgba(137, 53, 44, 0.5);
}

.intervention-circle-large::before,
.intervention-circle-large::after {
    display: none;
}

.intervention-box:hover .intervention-circle-large {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.raso-badge {
    display: flex;
    align-items: center;
    justify-content: center;
}

.intervention-box-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 7px;
    text-transform: none;
    letter-spacing: 0;
    line-height: 1.4;
}

.intervention-box-text {
    font-size: 16px;
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 15px;
    flex-grow: 1;
    text-align: center;
}

.intervention-box-link {
    color: var(--accent-color);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: transparent;
    border-radius: 50%;
    border: 3px solid var(--accent-color);
    padding: 0;
    font-size: 18px;
}

.intervention-box-link::after {
    content: '\f061';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.intervention-box-link:hover {
    background: var(--accent-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(255, 193, 7, 0.3);
}

.intervention-box-link:hover::after {
    transform: translateX(3px);
}



/* Tree Structure for Interventions */
.interventions-tree-section {
    background: linear-gradient(135deg, #fef9e7 0%, #f9e79f 100%);
    padding: 0 0 70px 0;
    overflow: hidden;
}

.intervention-tree-container {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.tree-wrapper {
    position: relative;
    width: 100%;
    height: 650px;
    background: url('../images/tree.svg') center center no-repeat;
    background-size: contain;
}

/* Custom tree background image uploaded via admin */
.tree-wrapper.with-custom-bg {
    background: none;
}

.tree-background-image {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 700px;
    height: 100%;
    object-fit: contain;
    z-index: 1;
    pointer-events: none;
}

.tree-trunk {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 400px;
    z-index: 1;
}

.tree-foliage {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 500px;
    z-index: 2;
    pointer-events: none;
}

.tree-branch {
    position: absolute;
    z-index: 3;
    transition: all 0.3s ease;
}

.tree-branch:hover {
    z-index: 4;
}

/* Branch Positions */
.branch-1 {
    top: 98px;
    left: calc(50% - 190px);
    transform: translateX(-50%);
}

.branch-2 {
    top: 60px;
    right: calc(50% - 110px);
    transform: translateX(-50%);
}

.branch-3 {
    top: 233px;
    left: calc(50% - 193px);
    transform: translateX(-50%);
}

.branch-4 {
    top: 165px;
    right: calc(50% - 176px);
    transform: translateX(-50%);
}

.branch-link {
    text-decoration: none;
    display: block;
}

.branch-label {
    background: rgba(137, 53, 44, .6);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 2.5px;
    box-shadow:
        0 6px 20px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -2px 5px rgba(0, 0, 0, 0.25);
    position: relative;
    border: 2px solid #FFF;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.branch-label::before {
    content: '';
    position: absolute;
    top: 50%;
    height: 5px;
    background: linear-gradient(90deg, #4a2c2a 0%, #633b38 50%, transparent 100%);
    transform: translateY(-50%);
    border-radius: 2.5px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.25);
}




.branch-label:hover {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -2px 5px rgba(0, 0, 0, 0.25);
}

.branch-text {
    display: block;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

/* Tree Animations */
@keyframes sway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(0.5deg);
    }

    75% {
        transform: rotate(-0.5deg);
    }
}

@keyframes branchFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.tree-wrapper {
    animation: sway 8s ease-in-out infinite;
    transform-origin: center bottom;
}

.tree-branch {
    animation: branchFloat 3s ease-in-out infinite;
}

.tree-branch:nth-child(2) {
    animation-delay: 0.5s;
}

.tree-branch:nth-child(3) {
    animation-delay: 1s;
}

.tree-branch:nth-child(4) {
    animation-delay: 1.5s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .intervention-tree-container {
        min-height: 650px;
    }

    .tree-wrapper {
        height: 650px;
        transform: scale(0.85);
    }

    .branch-label {
        padding: 14px 28px;
        font-size: 15px;
    }

    .branch-1 {
        top: 155px;
        left: 25px;
    }

    .branch-2 {
        top: 175px;
        right: 40px;
    }

    .branch-3 {
        top: 285px;
        left: 30px;
    }

    .branch-4 {
        top: 310px;
        right: 50px;
    }
}

@media (max-width: 480px) {
    .intervention-tree-container {
        min-height: 550px;
    }

    .tree-wrapper {
        height: 550px;
        transform: scale(0.7);
    }

    .branch-label {
        padding: 12px 22px;
        font-size: 13px;
        letter-spacing: 1.5px;
    }
}

/* View All Button */
.btn-view-all,
.btn.active {
    background: var(--gradient-primary);
    color: white;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-block;
    transition: all 0.4s ease;
    box-shadow: 0 15px 40px rgba(45, 99, 56, 0.3),
        0 -3px 8px rgba(255, 255, 255, 0.3) inset,
        0 6px 15px rgba(0, 0, 0, 0.2) inset;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.btn-view-all::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.3) 0%,
            transparent 100%);
    border-radius: 50px 50px 0 0;
    pointer-events: none;
}

.btn-view-all::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-view-all:hover::after {
    width: 300px;
    height: 300px;
}

.btn-view-all:hover,
.btn-view-all:focus {
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(45, 99, 56, 0.4),
        0 -4px 10px rgba(255, 255, 255, 0.4) inset,
        0 8px 20px rgba(0, 0, 0, 0.25) inset,
        0 0 40px rgba(45, 99, 56, 0.2);
}

/* Keep old intervention-card styles for other pages */
.nav-tabs {
    border-bottom: 3px solid transparent;
    border-image: var(--gradient-primary) 1;
    justify-content: center;
    margin-bottom: 40px;
    box-shadow: 0 3px 10px rgba(45, 99, 56, 0.1);
}

.nav-tabs .nav-link {
    color: var(--dark-text);
    border: none;
    font-weight: 700;
    padding: 15px 30px;
    margin: 0 10px;
    border-radius: 15px 15px 0 0;
    transition: all 0.3s ease;
    position: relative;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 253, 249, 0.8) 100%);
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-color: transparent;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 253, 249, 0.95) 100%);
    box-shadow: 0 5px 15px rgba(45, 99, 56, 0.15);
}

.nav-tabs .nav-link.active {
    color: white;
    background: var(--gradient-primary);
    border: none;
    box-shadow: 0 -8px 25px rgba(45, 99, 56, 0.3),
        0 -2px 8px rgba(255, 255, 255, 0.3) inset;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.intervention-card {
    background: linear-gradient(145deg, #ffffff 0%, #f8fdf9 100%);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(45, 99, 56, 0.15),
        0 -3px 10px rgba(255, 255, 255, 0.9) inset;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(45, 99, 56, 0.1);
}

.intervention-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.6) 0%,
            transparent 100%);
    border-radius: 25px 25px 0 0;
    pointer-events: none;
}

.intervention-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 30px 70px rgba(45, 99, 56, 0.25),
        0 -4px 15px rgba(255, 255, 255, 0.95) inset,
        0 0 40px rgba(45, 99, 56, 0.1);
}

.intervention-icon {
    width: 80px;
    height: 80px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 36px;
    color: white;
}

.intervention-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 24px;
}

.intervention-card p {
    color: #666;
    line-height: 1.7;
}

.btn-primary-custom {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary-custom:hover,
.btn-primary-custom:focus {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary-custom {
    background-color: var(--primary-color);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    color: white;
    transition: all 0.3s;
}

.btn-secondary-custom:hover,
.btn-secondary-custom:focus {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Testimonials Section */
#testimonials {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e8 25%, #fff5e1 50%, #fffdf6 75%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}


#testimonials::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: 4%;
    width: 140px;
    height: 140px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 25 C30 25 20 35 20 50 C20 65 30 70 40 75 C35 80 30 90 30 90 C40 85 45 80 50 75 C55 80 60 85 70 90 C70 90 65 80 60 75 C70 70 80 65 80 50 C80 35 70 25 50 25 Z" fill="%2389352C" opacity="0.08"/><path d="M50 20 L61 43 L85 43 L67 58 L73 82 L50 68 L27 82 L33 58 L15 43 L39 43 Z" fill="%23ffc107" opacity="0.06" transform="translate(-10, -10) scale(0.5)"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.testimonials-decorative-1 {
    content: '';
    position: absolute;
    top: 45%;
    left: 7%;
    width: 110px;
    height: 110px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><text x="50" y="75" font-size="90" fill="%232D6338" opacity="0.06" text-anchor="middle" font-family="Georgia, serif" font-weight="bold">&rdquo;</text><circle cx="50" cy="50" r="35" fill="none" stroke="%232D6338" stroke-width="1.5" opacity="0.04"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 24s ease-in-out infinite reverse;
    pointer-events: none;
}

.testimonials-decorative-2 {
    content: '';
    position: absolute;
    top: 65%;
    right: 9%;
    width: 95px;
    height: 95px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30 50 Q30 35 40 30 Q50 25 50 40 Q50 25 60 30 Q70 35 70 50 Q70 70 50 85 Q30 70 30 50 Z" fill="none" stroke="%2389352C" stroke-width="2.5" opacity="0.08"/><path d="M50 30 L53 42 L65 42 L55 50 L58 62 L50 54 L42 62 L45 50 L35 42 L47 42 Z" fill="%23ffc107" opacity="0.08"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: pulse 10s ease-in-out infinite;
    pointer-events: none;
}

#testimonials {
    position: relative;
}

#testimonials::before,
#testimonials::after,
.testimonials-decorative-1,
.testimonials-decorative-2 {
    z-index: 0;
}

#testimonials .container {
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    padding: 40px 30px;
    border-radius: 18px;
    box-shadow: 0 5px 25px rgba(255, 193, 7, 0.12), 0 2px 10px rgba(137, 53, 44, 0.08);
    margin: 20px 10px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 193, 7, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(255, 193, 7, 0.2), 0 5px 15px rgba(137, 53, 44, 0.12);
}

.testimonial-card-avatar {
    text-align: center;
    margin-bottom: 25px;
}

.testimonial-card-avatar img {
    width: 100px !important;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
}

.testimonial-quote {
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
}

.testimonial-text {
    font-style: italic;
    color: #666;
    line-height: 1.8;
    font-size: 15px;
    margin-bottom: 25px;
    text-align: left;
    flex-grow: 1;
}

.testimonial-author {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 5px;
    text-align: left;
}

.testimonial-position {
    color: #999;
    font-size: 14px;
    text-align: left;
}

/* Project Highlights Section */
#highlights {
    background: linear-gradient(135deg, #fffbf0 0%, #fff9e6 30%, #fffdf5 60%, #fffff8 100%);
    padding: 50px 0 20px 0;
    position: relative;
    overflow: hidden;
}



#highlights::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 6%;
    width: 160px;
    height: 160px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 85 C25 70, 15 55, 15 40 C15 25, 25 15, 35 15 C45 15, 47 20, 50 28 C53 20, 55 15, 65 15 C75 15, 85 25, 85 40 C85 55, 75 70, 50 85 Z" fill="none" stroke="%23ffc107" stroke-width="2.5" opacity="0.12"/><circle cx="50" cy="38" r="15" fill="%23ffc107" opacity="0.06"/><path d="M42 38 L47 43 L58 32" stroke="%23ffc107" stroke-width="2" fill="none" opacity="0.08"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 22s ease-in-out infinite;
    pointer-events: none;
}

.highlight-decorative-1 {
    content: '';
    position: absolute;
    top: 35%;
    right: 12%;
    width: 120px;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="35" y="20" width="30" height="45" rx="3" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.08"/><rect x="35" y="20" width="30" height="12" fill="%232D6338" opacity="0.06"/><line x1="42" y1="40" x2="58" y2="40" stroke="%23ffc107" stroke-width="2" opacity="0.08"/><line x1="42" y1="50" x2="58" y2="50" stroke="%23ffc107" stroke-width="2" opacity="0.08"/><circle cx="50" cy="75" r="8" fill="%232D6338" opacity="0.05"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 18s ease-in-out infinite reverse;
    pointer-events: none;
}

.highlight-decorative-2 {
    content: '';
    position: absolute;
    bottom: 35%;
    left: 8%;
    width: 110px;
    height: 110px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" fill="none" stroke="%2389352C" stroke-width="2" opacity="0.08" stroke-dasharray="8,4"/><circle cx="50" cy="50" r="25" fill="none" stroke="%2389352C" stroke-width="1.5" opacity="0.06" stroke-dasharray="4,4"/><path d="M45 45 L50 50 L60 40" stroke="%23ffc107" stroke-width="2.5" fill="none" opacity="0.1"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: spin 40s linear infinite;
    pointer-events: none;
}

#highlights {
    position: relative;
}

#highlights::before,
#highlights::after,
.highlight-decorative-1,
.highlight-decorative-2 {
    z-index: 0;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.6;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

#highlights>.container {
    position: relative;
    z-index: 1;
}

#highlights .section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.highlight-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

.highlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

/* Video Wrapper */
.highlight-video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background-color: #000;
}

.highlight-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Image Wrapper - Same aspect ratio as video */
.highlight-image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 aspect ratio */
    background-color: #f5f5f5;
    overflow: hidden;
}

.highlight-image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.highlight-card:hover .highlight-image-wrapper img {
    transform: scale(1.08);
}

/* Media Type Badge */
.highlight-media-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
}

.highlight-media-badge i {
    font-size: 12px;
}

.highlight-content {
    padding: 25px;
}

.highlight-badge {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.highlight-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.no-highlights {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-size: 18px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #highlights {
        padding: 60px 0;
    }

    #highlights .section-title {
        font-size: 32px;
    }

    .highlight-content {
        padding: 20px;
    }

    .highlight-title {
        font-size: 18px;
    }
}

/* =========================================
   DRIVE SECTION STYLES
   ========================================= */

/* Drive Section on Home Page */
.drive-section {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e8 25%, #fffef5 50%, #fefdf8 75%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.drive-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 8%;
    width: 180px;
    height: 180px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="35" r="12" fill="none" stroke="%232D6338" stroke-width="2.5" opacity="0.08"/><rect x="35" y="45" width="30" height="35" rx="3" fill="none" stroke="%232D6338" stroke-width="2.5" opacity="0.08"/><line x1="42" y1="55" x2="42" y2="70" stroke="%23ffc107" stroke-width="2" opacity="0.1"/><line x1="50" y1="55" x2="50" y2="70" stroke="%23ffc107" stroke-width="2" opacity="0.1"/><line x1="58" y1="55" x2="58" y2="70" stroke="%23ffc107" stroke-width="2" opacity="0.1"/><circle cx="50" cy="78" r="6" fill="%232D6338" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 22s ease-in-out infinite;
    pointer-events: none;
}

.drive-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 6%;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30 50 L30 60 Q30 65 35 65 L40 65 L40 80 L50 65 L60 65 L60 80 L70 65 L75 65 Q80 65 80 60 L80 50 Q80 45 75 45 L35 45 Q30 45 30 50 Z" fill="none" stroke="%2389352C" stroke-width="2.5" opacity="0.08"/><circle cx="40" cy="35" r="8" fill="none" stroke="%2389352C" stroke-width="2" opacity="0.06"/><circle cx="60" cy="35" r="8" fill="none" stroke="%2389352C" stroke-width="2" opacity="0.06"/><path d="M35 30 L40 25 L45 30" fill="none" stroke="%23ffc107" stroke-width="2" opacity="0.08"/><path d="M55 30 L60 25 L65 30" fill="none" stroke="%23ffc107" stroke-width="2" opacity="0.08"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 18s ease-in-out infinite reverse;
    pointer-events: none;
}


.drive-section {
    position: relative;
}

.drive-section::before,
.drive-section::after,
.drive-decorative-1,
.drive-decorative-2 {
    z-index: 0;
}

.drive-section .container {
    position: relative;
    z-index: 1;
}

.drive-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(255, 193, 7, 0.12), 0 3px 12px rgba(45, 99, 56, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 193, 7, 0.15);
}

.drive-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.drive-card:hover::before {
    transform: scaleX(1);
}

.drive-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(255, 193, 7, 0.2), 0 8px 20px rgba(45, 99, 56, 0.15);
}

.drive-card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #1e4626);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin-bottom: 24px;
    transition: all 0.4s ease;
}

.drive-card:hover .drive-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(45, 99, 56, 0.3);
}

.drive-card-icon.volunteer-icon {
    background: linear-gradient(135deg, var(--secondary-color), #5e2520);
}

.drive-card:hover .drive-card-icon.volunteer-icon {
    box-shadow: 0 10px 30px rgba(137, 53, 44, 0.3);
}

.drive-card-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 16px;
}

.drive-card-description {
    color: #666;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.drive-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, var(--primary-color), #1e4626);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.drive-card-btn:hover {
    gap: 15px;
    color: white;
    box-shadow: 0 5px 20px rgba(45, 99, 56, 0.4);
    transform: translateX(5px);
}

.volunteer-icon+.drive-card-title~.drive-card-description+.drive-card-btn {
    background: linear-gradient(135deg, var(--secondary-color), #5e2520);
}

.volunteer-icon+.drive-card-title~.drive-card-description+.drive-card-btn:hover {
    box-shadow: 0 5px 20px rgba(137, 53, 44, 0.4);
}

/* Research Page Styles */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1e4626 100%);
    padding: 150px 0 100px;
    color: white;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.page-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.page-header-icon {
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    margin: 0 auto 30px;
    backdrop-filter: blur(10px);
}

.page-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}

.page-subtitle {
    font-size: 20px;
    opacity: 0.95;
    max-width: 700px;
    margin: 0 auto;
}

.research-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d6 30%, #fff5eb 70%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.research-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="20" y="10" width="60" height="80" rx="5" fill="none" stroke="%2389352C" stroke-width="2" opacity="0.08"/><line x1="30" y1="25" x2="70" y2="25" stroke="%2389352C" stroke-width="2" opacity="0.06"/><line x1="30" y1="35" x2="70" y2="35" stroke="%2389352C" stroke-width="2" opacity="0.06"/><line x1="30" y1="45" x2="60" y2="45" stroke="%2389352C" stroke-width="2" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 16s ease-in-out infinite;
    pointer-events: none;
}

.research-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 3%;
    width: 120px;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="40" r="25" fill="none" stroke="%23ffc107" stroke-width="4" opacity="0.08"/><rect x="35" y="60" width="30" height="30" rx="2" fill="%23ffc107" opacity="0.05"/><line x1="50" y1="40" x2="65" y2="25" stroke="%23ffc107" stroke-width="3" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite reverse;
    pointer-events: none;
}

.research-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-description {
    color: #666;
    font-size: 17px;
    line-height: 1.8;
    margin-top: 20px;
}

.research-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.research-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.research-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.research-card-header {
    padding: 28px 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
}

.research-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark-text);
    margin: 0;
    flex: 1;
}

.research-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.research-status i {
    font-size: 8px;
}

.status-open {
    background: #d4edda;
    color: #155724;
}

.status-closed {
    background: #f8d7da;
    color: #721c24;
}

.research-card-body {
    padding: 20px 28px;
}

.research-description {
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
}

.research-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.research-meta-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: #555;
    font-size: 14px;
}

.research-meta-item i {
    color: var(--primary-color);
    margin-top: 3px;
}

.research-card-footer {
    padding: 0 28px 28px;
}

.btn-research-apply {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color), #1e4626);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btn-research-apply:hover {
    gap: 15px;
    color: white;
    box-shadow: 0 5px 20px rgba(45, 99, 56, 0.4);
}

.empty-state {
    text-align: center;
    padding: 80px 20px;
}

.empty-state-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: #adb5bd;
    margin: 0 auto 30px;
}

.empty-state h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 15px;
}

.empty-state p {
    color: #666;
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto;
}

.research-cta {
    background: linear-gradient(135deg, var(--primary-color), #1e4626);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.research-cta::before {
    content: '';
    position: absolute;
    top: -20px;
    right: 30px;
    width: 100px;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="40" cy="35" r="20" fill="none" stroke="white" stroke-width="2.5" opacity="0.12"/><rect x="52" y="50" width="8" height="35" rx="4" fill="white" opacity="0.1" transform="rotate(45 56 67)"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 12s ease-in-out infinite;
    pointer-events: none;
}

.research-cta::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 40px;
    width: 90px;
    height: 90px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30 25 L70 25 L70 75 L30 75 Z" fill="none" stroke="white" stroke-width="2" opacity="0.1" rx="3"/><line x1="40" y1="35" x2="60" y2="35" stroke="white" stroke-width="1.5" opacity="0.08"/><line x1="40" y1="45" x2="60" y2="45" stroke="white" stroke-width="1.5" opacity="0.08"/><line x1="40" y1="55" x2="55" y2="55" stroke="white" stroke-width="1.5" opacity="0.08"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 16s ease-in-out infinite reverse;
    pointer-events: none;
}

.research-cta-content h3 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.research-cta-content p {
    font-size: 18px;
    opacity: 0.95;
    margin-bottom: 30px;
}

.research-cta-content .btn-outline-primary {
    border: 2px solid white;
    color: white;
    padding: 14px 40px;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.research-cta-content .btn-outline-primary:hover {
    background: white;
    color: var(--primary-color);
}

/* Volunteer Page Styles */
.volunteer-hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #5e2520 100%);
    padding: 180px 0 120px;
    color: white;
    position: relative;
    overflow: hidden;
}

.volunteer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120"><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25"/><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V15.81C13,36.92,27.64,56.86,47.69,72.05,99.41,111.27,165,111,224.58,91.58c31.15-10.15,60.09-26.07,89.67-39.8,40.92-19,84.73-46,130.83-49.67,36.26-2.85,70.9,9.42,98.6,31.56,31.77,25.39,62.32,62,103.63,73,40.44,10.79,81.35-6.69,119.13-24.28s75.16-39,116.92-43.05c59.73-5.85,113.28,22.88,168.9,38.84,30.2,8.66,59,6.17,87.09-7.5,22.43-10.89,48-26.93,60.65-49.24V0Z" opacity=".5"/><path fill="%23ffffff" fill-opacity="0.05" d="M0,0V5.63C149.93,59,314.09,71.32,475.83,42.57c43-7.64,84.23-20.12,127.61-26.46,59-8.63,112.48,12.24,165.56,35.4C827.93,77.22,886,95.24,951.2,90c86.53-7,172.46-45.71,248.8-84.81V0Z"/></svg>') repeat-x bottom;
    background-size: 100% 120px;
}

.volunteer-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1), transparent 50%);
}

.volunteer-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

.volunteer-hero-icon {
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 56px;
    margin: 0 auto 40px;
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.volunteer-hero-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

.volunteer-hero-subtitle {
    font-size: 22px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.btn-volunteer-hero {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: white;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-volunteer-hero:hover {
    gap: 18px;
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.volunteer-about {
    padding: 100px 0;
}

.volunteer-image {
    position: relative;
}

.volunteer-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 16px;
    opacity: 0.1;
    z-index: -1;
}

.volunteer-description {
    color: #666;
    font-size: 17px;
    line-height: 1.8;
    margin-top: 20px;
}

.volunteer-roles-section {
    padding: 80px 0;
    background: white;
}

.volunteer-roles-content {
    max-width: 800px;
    margin: 40px auto 0;
}

.volunteer-roles-content ul {
    list-style: none;
    padding: 0;
}

.volunteer-roles-content ul li {
    padding: 20px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.volunteer-roles-content ul li:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.volunteer-roles-content ul li::before {
    content: '✓';
    display: inline-block;
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    margin-right: 15px;
    font-weight: bold;
}

.volunteer-benefits-section {
    padding: 80px 0;
}

.volunteer-benefits-content {
    max-width: 800px;
    margin: 40px auto 0;
}

.volunteer-benefits-content ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.volunteer-benefits-content ul li {
    padding: 25px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    font-weight: 500;
    color: var(--dark-text);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 60px;
}

.volunteer-benefits-content ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.volunteer-benefits-content ul li::before {
    content: '★';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--secondary-color), #5e2520);
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-size: 18px;
}

.volunteer-cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #fff0f0 0%, #ffe8e8 30%, #fff5f5 70%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.volunteer-cta-section::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 5%;
    width: 150px;
    height: 150px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 30 C30 30, 20 40, 20 55 C20 70, 30 80, 50 90 C70 80, 80 70, 80 55 C80 40, 70 30, 50 30 Z" fill="none" stroke="%2389352C" stroke-width="2.5" opacity="0.08"/><circle cx="40" cy="50" r="3" fill="%2389352C" opacity="0.1"/><circle cx="60" cy="50" r="3" fill="%2389352C" opacity="0.1"/><path d="M35 60 Q50 70 65 60" fill="none" stroke="%2389352C" stroke-width="2" opacity="0.08"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 15s ease-in-out infinite;
    pointer-events: none;
}

.volunteer-cta-section::after {
    content: '';
    position: absolute;
    bottom: 15%;
    right: 8%;
    width: 120px;
    height: 120px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" fill="none" stroke="%23ffc107" stroke-width="2.5" opacity="0.08" stroke-dasharray="8,4"/><path d="M50 25 L55 40 L70 40 L58 50 L62 65 L50 55 L38 65 L42 50 L30 40 L45 40 Z" fill="%23ffc107" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: spin 35s linear infinite;
    pointer-events: none;
}

.volunteer-cta-card {
    background: linear-gradient(135deg, var(--secondary-color), #5e2520);
    border-radius: 20px;
    padding: 70px 50px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 60px rgba(137, 53, 44, 0.3);
}

.volunteer-cta-card h2 {
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 20px;
}

.volunteer-cta-card p {
    font-size: 20px;
    opacity: 0.95;
    margin-bottom: 40px;
}

.btn-volunteer-cta {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 45px;
    background: white;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 17px;
    transition: all 0.3s ease;
}

.btn-volunteer-cta:hover {
    gap: 18px;
    color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .drive-card {
        padding: 30px;
    }

    .drive-card-title {
        font-size: 24px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .research-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-hero-title {
        font-size: 36px;
    }

    .volunteer-hero-subtitle {
        font-size: 18px;
    }

    .volunteer-benefits-content ul {
        grid-template-columns: 1fr;
    }

    .volunteer-cta-card {
        padding: 50px 30px;
    }

    .volunteer-cta-card h2 {
        font-size: 32px;
    }

    .research-cta {
        padding: 40px 30px;
    }

    .research-cta-content h3 {
        font-size: 26px;
    }
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: white;
    padding: 30px 0 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 -10px 40px rgba(45, 99, 56, 0.3) inset;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.15) 0%,
            transparent 100%);
    pointer-events: none;
}

.footer::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 180px;
    height: 180px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 90 C20 70, 10 50, 10 35 C10 20, 20 10, 30 10 C40 10, 45 15, 50 25 C55 15, 60 10, 70 10 C80 10, 90 20, 90 35 C90 50, 80 70, 50 90 Z" fill="none" stroke="white" stroke-width="2" opacity="0.1"/><circle cx="50" cy="35" r="25" fill="none" stroke="white" stroke-width="1.5" opacity="0.08" stroke-dasharray="4,4"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer h5 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--secondary-color);
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 5px;
}

.social-icons a {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    text-align: center;
    line-height: 44px;
    margin-right: 12px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2),
        0 -2px 6px rgba(255, 255, 255, 0.3) inset;
    position: relative;
}

.social-icons a::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    right: 3px;
    height: 50%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.4) 0%,
            transparent 100%);
    border-radius: 50%;
    pointer-events: none;
}

.social-icons a:hover {
    background: linear-gradient(145deg, #ffffff 0%, #f5fdf7 100%);
    color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3),
        0 -3px 8px rgba(255, 255, 255, 0.5) inset,
        0 0 25px rgba(255, 255, 255, 0.4);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    margin-top: 20px;
    padding-top: 10px;
    text-align: center;
}

/* Interventions List Page */
.page-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Module Cards for Interventions List */
.module-card {
    background: linear-gradient(145deg, #ffffff 0%, #fafcfb 100%);
    border: none;
    border-radius: 25px;
    padding: 22px 20px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    /* align-items: center; */
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(45, 99, 56, 0.1),
        0 3px 10px rgba(0, 0, 0, 0.05);
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-mixed);
    opacity: 0;
    transition: all 0.5s ease;
}

.module-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.module-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 60px rgba(45, 99, 56, 0.15),
        0 10px 30px rgba(255, 193, 7, 0.1),
        0 0 40px rgba(255, 193, 7, 0.08);
    background: linear-gradient(145deg, #ffffff 0%, #fffef8 100%);
}

.module-card:hover::before {
    opacity: 1;
    height: 8px;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

.module-card:hover::after {
    opacity: 1;
}

.module-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
    position: relative;
    padding: 90px 0;
}

.module-number {
    font-size: 13px;
    color: var(--accent-color);
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.2));
}

.module-icon {
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 20px;
}

.module-logo {
    width: 120px;
    height: 120px;
}

.module-star {
    font-size: 70px;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 10px rgba(255, 193, 7, 0.3));
    transition: all 0.4s ease;
}

.module-card:hover .module-star {
    transform: scale(1.15) rotate(15deg);
    filter: drop-shadow(0 6px 15px rgba(255, 193, 7, 0.4));
}

.module-title {
    font-size: 26px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    line-height: 1.3;
    filter: drop-shadow(0 2px 6px rgba(45, 99, 56, 0.15));
    text-align: left;
}

.module-description {
    font-size: 17px;
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 17px;
    flex-grow: 1;
}

.module-link {
    font-size: 12px;
    font-weight: 700;
    color: var(--accent-color);
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 20px;
    border: 2px solid var(--accent-color);
    position: relative;
    overflow: hidden;
    z-index: 1;
    max-width: 150px;
}

.module-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--accent-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.module-link span,
.module-link i {
    position: relative;
    z-index: 2;
}

.module-link:hover {
    color: white !important;
    border-color: var(--accent-color);
    box-shadow: 0 8px 20px rgba(255, 193, 7, 0.3);
    transform: translateX(5px);
}

.module-link:hover::before {
    width: 300px;
    height: 300px;
}

.module-link i {
    font-size: 11px;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 2;
}

.module-link:hover i {
    transform: translateX(5px);
    color: white !important;
}

/* Old intervention-list-card styles (keep for backwards compatibility) */
.intervention-list-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
    transition: transform 0.3s;
}

.intervention-list-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.intervention-list-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.intervention-list-card .card-body {
    padding: 30px;
}

.intervention-list-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 26px;
}

.intervention-list-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 20px;
}

.badge-custom {
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    margin-right: 10px;
}

/* Intervention Detail Page */
.intervention-hero-section {
    position: relative;
    margin-top: 76px;
    padding: 50px 100px 20px;
    background-color: #E8F5E9;
}

.intervention-hero-image {
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.intervention-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.intervention-hero-title {
    text-align: center;
    padding: 50px 20px;
}

.intervention-hero-title h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 15px 0;
    letter-spacing: 1px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Intervention Section */
.about-intervention-section {
    padding: 80px 0;
    background-color: white;
}

.detail-section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.detail-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-content {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.about-intro {
    font-size: 17px;
    font-weight: 500;
    color: #888;
    margin-bottom: 25px;
}

.about-content h3 {
    color: var(--primary-color);
    font-size: 22px;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.gallery-item {
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    margin: 10px;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

/* Owl Carousel Custom Styling */
.owl-carousel .owl-nav button.owl-prev,
.owl-carousel .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--primary-color) !important;
    color: white !important;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 20px;
    line-height: 45px;
    transition: all 0.3s;
}

.owl-carousel .owl-nav button.owl-prev:hover,
.owl-carousel .owl-nav button.owl-next:hover,
.owl-carousel .owl-nav button.owl-prev:focus,
.owl-carousel .owl-nav button.owl-next:focus {
    background-color: var(--secondary-color) !important;
}

.owl-carousel .owl-nav button.owl-prev {
    left: -20px;
}

.owl-carousel .owl-nav button.owl-next {
    right: -20px;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-carousel .owl-dot {
    display: inline-block;
    margin: 0 5px;
}

.owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background-color: #ccc;
    display: block;
    border-radius: 50%;
    transition: all 0.3s;
}

.owl-carousel .owl-dot.active span,
.owl-carousel .owl-dot:hover span {
    background-color: var(--primary-color);
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: var(--primary-color);
}

/* Videos Section */
.videos-section {
    padding: 80px 0;
    background-color: white;
}

.video-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    transition: box-shadow 0.3s;
    margin: 10px;
}

.video-card:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.video-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 600;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Carousel container positioning */
.owl-carousel {
    position: relative;
}

/* What People Say Section */
.people-say-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.testimonial-detail-card {
    background: white;
    padding: 40px 30px;
    box-shadow: 0 3px 20px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin: 10px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
}

.testimonial-avatar {
    text-align: center;
    margin-bottom: 25px;
}

.testimonial-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    object-fit: cover;
}

.testimonial-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.testimonial-quote {
    font-size: 15px;
    line-height: 1.8;
    color: #666;
    font-style: italic;
    margin-bottom: 20px;
    text-align: left;
    flex-grow: 1;
}

.testimonial-author-info {
    margin-top: auto;
    padding-top: 20px;
}

.author-name {
    font-size: 18px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
    text-align: left;
}

.author-position {
    font-size: 14px;
    color: #999;
    text-align: left;
}

/* Detail CTA Section */
.detail-cta-section {
    background-color: white;
    padding: 80px 0;
    color: var(--text-color);
}

.cta-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.cta-subtitle {
    font-size: 16px;
    margin-bottom: 40px;
    color: var(--text-color);
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-light {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cta-light:hover,
.btn-cta-light:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

.btn-cta-dark {
    background-color: var(--primary-color);
    color: white;
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 5px;
    border: 2px solid var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.btn-cta-dark:hover,
.btn-cta-dark:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Old styles kept for compatibility */
.intervention-detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0 40px;
}

.intervention-detail-header h1 {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
}

.detail-section {
    padding: 60px 0;
}

.detail-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.detail-content h2 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
    font-size: 28px;
}

.detail-content h3 {
    color: var(--primary-color);
    margin-top: 25px;
    margin-bottom: 15px;
    font-size: 22px;
}

.detail-content ul,
.detail-content ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.detail-sidebar {
    background-color: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 100px;
}

.detail-sidebar h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.detail-sidebar .info-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.detail-sidebar .info-item:last-child {
    border-bottom: none;
}

.detail-sidebar .info-label {
    font-weight: bold;
    color: var(--dark-text);
    display: block;
}

.detail-sidebar .info-value {
    color: #666;
}

.feature-box {
    background: white;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature-box h4 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* Events Section */
.events-section {
    background: linear-gradient(135deg, #e0f5ec 0%, #cceee0 30%, #d8f2e6 60%, #e8f8f0 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.events-section::before {
    content: '';
    position: absolute;
    top: 8%;
    right: 7%;
    width: 180px;
    height: 180px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="15" y="22" width="70" height="62" rx="6" fill="none" stroke="%232D6338" stroke-width="2.5" opacity="0.1"/><rect x="15" y="22" width="70" height="18" rx="6" fill="%232D6338" opacity="0.08"/><circle cx="30" cy="18" r="4" fill="%232D6338" opacity="0.12"/><circle cx="70" cy="18" r="4" fill="%232D6338" opacity="0.12"/><rect x="25" y="48" width="15" height="12" rx="2" fill="%23ffc107" opacity="0.1"/><rect x="45" y="48" width="15" height="12" rx="2" fill="%232D6338" opacity="0.06"/><rect x="65" y="48" width="15" height="12" rx="2" fill="%232D6338" opacity="0.06"/><rect x="25" y="65" width="15" height="12" rx="2" fill="%232D6338" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 18s ease-in-out infinite;
    pointer-events: none;
}

.events-section::after {
    content: '';
    position: absolute;
    bottom: 12%;
    left: 4%;
    width: 130px;
    height: 130px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" fill="none" stroke="%232D6338" stroke-width="2.5" opacity="0.08" stroke-dasharray="6,4"/><path d="M35 50 L45 60 L65 40" stroke="%23ffc107" stroke-width="3" fill="none" opacity="0.12" stroke-linecap="round" stroke-linejoin="round"/><circle cx="50" cy="50" r="25" fill="none" stroke="%232D6338" stroke-width="1.5" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 22s ease-in-out infinite reverse;
    pointer-events: none;
}

.events-decorative-1 {
    content: '';
    position: absolute;
    top: 40%;
    left: 8%;
    width: 100px;
    height: 100px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M50 20 L55 40 L75 45 L57 58 L62 78 L50 68 L38 78 L43 58 L25 45 L45 40 Z" fill="none" stroke="%23ffc107" stroke-width="2.5" opacity="0.1"/><circle cx="50" cy="50" r="30" fill="none" stroke="%23ffc107" stroke-width="1.5" opacity="0.06" stroke-dasharray="3,3"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: pulse 8s ease-in-out infinite;
    pointer-events: none;
}

.events-decorative-2 {
    content: '';
    position: absolute;
    top: 65%;
    right: 10%;
    width: 110px;
    height: 110px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M30 45 L35 40 L40 45" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.08"/><circle cx="35" cy="50" r="8" fill="%232D6338" opacity="0.06"/><path d="M60 45 L65 40 L70 45" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.08"/><circle cx="65" cy="50" r="8" fill="%232D6338" opacity="0.06"/><path d="M35 65 Q50 70 65 65" fill="none" stroke="%23ffc107" stroke-width="2.5" opacity="0.1"/><circle cx="50" cy="50" r="35" fill="none" stroke="%232D6338" stroke-width="1.5" opacity="0.05" stroke-dasharray="5,5"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.events-section {
    position: relative;
}

.events-section::before,
.events-section::after,
.events-decorative-1,
.events-decorative-2 {
    z-index: 0;
}

.events-section .container {
    position: relative;
    z-index: 1;
}

.event-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(45, 99, 56, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(45, 99, 56, 0.1);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(45, 99, 56, 0.2);
}

.event-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-card:hover .event-image img {
    transform: scale(1.08);
}

.event-card:hover .event-image img {
    transform: scale(1.1);
}

.event-image.video-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 60px;
}

.event-date-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.event-date-badge .date-day {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.event-date-badge .date-month {
    font-size: 14px;
    color: var(--secondary-color);
    text-transform: uppercase;
    font-weight: 600;
}

.event-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 22px;
}

.event-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
    color: #666;
    font-size: 14px;
}

.event-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.event-meta i {
    color: var(--primary-color);
    width: 18px;
}

.event-content p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.event-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}

.event-actions .btn {
    flex: 1;
    min-width: 120px;
    font-size: 14px;
    padding: 10px 15px;
}

.btn-event-half {
    flex: 1 1 calc(50% - 5px);
    min-width: 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}

/* Event Detail Page - Modern Design */
.event-detail-hero {
    position: relative;
    min-height: 500px;
    margin-top: 76px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.event-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.1);
}

.event-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(45, 99, 56, 0.95), rgba(137, 53, 44, 0.9));
}

.event-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 60px 0;
}

.event-category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.event-category-badge i {
    margin-right: 8px;
}

.event-hero-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.event-hero-description {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.event-hero-meta-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.event-hero-meta-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 500;
}

.event-hero-meta-item i {
    font-size: 18px;
    opacity: 0.9;
}

.event-hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.btn-hero-primary,
.btn-hero-secondary {
    padding: 15px 35px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 30px;
    border: 2px solid white;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-hero-primary {
    background: white;
    color: var(--primary-color);
}

.btn-hero-primary:hover {
    background: transparent;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

.btn-hero-secondary {
    background: transparent;
    color: white;
}

.btn-hero-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 255, 255, 0.3);
}

/* Event Detail Section */
.event-detail-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.event-detail-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.event-detail-card:hover {
    transform: translateY(-5px);
}

.detail-card-header {
    padding: 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    gap: 15px;
}

.detail-card-header i {
    font-size: 28px;
}

.detail-card-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.detail-card-body {
    padding: 30px;
}

.event-description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.event-description-text p {
    margin-bottom: 15px;
}

.event-video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.event-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Gallery Carousel Styling */
.event-gallery-carousel .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.event-gallery-carousel .gallery-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.event-gallery-carousel .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    padding: 20px;
    font-size: 14px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.event-gallery-carousel .gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Sidebar Styling */
.event-sidebar-sticky {
    position: sticky;
    top: 100px;
}

.event-sidebar-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 25px;
    overflow: hidden;
}

.sidebar-card-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-card-header i {
    font-size: 24px;
}

.sidebar-card-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.sidebar-card-body {
    padding: 25px;
}

.event-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.event-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.event-info-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.info-icon {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-icon i {
    color: white;
    font-size: 20px;
}

.info-content strong {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-content p {
    margin: 0;
    color: #666;
    font-size: 16px;
}

/* CTA Card */
.event-cta-card {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.cta-card-content {
    padding: 30px;
    text-align: center;
}

.cta-card-content i {
    font-size: 48px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.cta-card-content h4 {
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 700;
}

.cta-card-content p {
    font-size: 15px;
    margin-bottom: 25px;
    opacity: 0.95;
}

.cta-card-content .btn {
    background: white;
    color: var(--primary-color);
    border: none;
}

.cta-card-content .btn:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-back-link a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    background: white;
    border-radius: 15px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.sidebar-back-link a:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Related Events Section */
.related-events-section {
    padding: 80px 0;
    background: white;
}

/* Event Detail Page */
.event-detail-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 80px 0 40px;
    margin-top: 76px;
}

.event-detail-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
}

.event-detail-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    font-size: 16px;
    margin-top: 20px;
}

.event-detail-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.event-detail-content {
    padding: 60px 0;
}

.event-cover-image {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.event-video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 30px;
    border-radius: 10px;
}

.event-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.event-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.event-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s;
}

.event-gallery img:hover {
    transform: scale(1.05);
}

.event-sidebar {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 10px;
    position: sticky;
    top: 100px;
}

.event-sidebar h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 22px;
}

.event-sidebar .info-item {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ddd;
}

.event-sidebar .info-item:last-child {
    border-bottom: none;
}

.event-sidebar .info-label {
    font-weight: bold;
    color: var(--dark-text);
    display: block;
    margin-bottom: 5px;
}

.event-sidebar .info-value {
    color: #666;
}

.event-sidebar .btn {
    width: 100%;
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .carousel-caption h2 {
        font-size: 32px;
    }

    .carousel-caption p {
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-slider,
    .carousel-item {
        height: 400px;
    }

    .nav-tabs .nav-link {
        padding: 10px 15px;
        margin: 5px;
    }

    .event-detail-hero {
        min-height: 400px;
    }

    .event-hero-title {
        font-size: 32px;
    }

    .event-hero-description {
        font-size: 16px;
    }

    .event-hero-meta-row {
        flex-direction: column;
        gap: 15px;
        padding: 15px;
    }

    .event-hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }

    .detail-card-header {
        padding: 20px;
    }

    .detail-card-header h2 {
        font-size: 20px;
    }

    .detail-card-body {
        padding: 20px;
    }

    .event-sidebar-sticky {
        position: static;
        margin-top: 30px;
    }

    .event-detail-header {
        padding: 60px 0 30px;
    }

    .event-detail-header h1 {
        font-size: 28px;
    }

    .event-detail-meta {
        flex-direction: column;
        gap: 15px;
    }

    .event-sidebar {
        position: static;
        margin-top: 30px;
    }

    .event-actions {
        flex-direction: row;
    }

    .event-actions .btn,
    .btn-event-half {
        width: 100%;
        flex: 1 1 100%;
    }
}

/* ============================================
   MEDIA SECTION STYLES
   ============================================ */

/* Media Section General */
.media-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #e6f2ff 0%, #d4e7ff 50%, #f0f7ff 100%);
    position: relative;
    overflow: hidden;
}

.media-section::before {
    content: '';
    position: absolute;
    top: 15%;
    left: 5%;
    width: 130px;
    height: 130px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="20" y="30" width="60" height="45" rx="5" fill="none" stroke="%232D6338" stroke-width="2.5" opacity="0.08"/><circle cx="50" cy="52" r="12" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.1"/><rect x="65" y="35" width="8" height="6" rx="2" fill="%232D6338" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 18s ease-in-out infinite;
    pointer-events: none;
}

.media-section::after {
    content: '';
    position: absolute;
    bottom: 10%;
    right: 8%;
    width: 110px;
    height: 110px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="25" y="25" width="50" height="50" rx="8" fill="none" stroke="%23ffc107" stroke-width="3" opacity="0.08"/><circle cx="50" cy="50" r="15" fill="%23ffc107" opacity="0.05"/><path d="M35 70 L50 55 L65 70" fill="none" stroke="%23ffc107" stroke-width="2" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 22s ease-in-out infinite reverse;
    pointer-events: none;
}

.media-section .section-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.media-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.media-section .section-description {
    color: #666;
    font-size: 18px;
    margin-bottom: 40px;
}

/* Modern Tab Navigation */
.nav-tabs-modern {
    border: none;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.nav-tabs-modern .nav-link {
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: 600;
    color: var(--dark-text);
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-tabs-modern .nav-link:hover {
    background-color: rgba(255, 255, 255, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.nav-tabs-modern .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color), #3d7948);
    color: white;
    box-shadow: 0 4px 20px rgba(45, 99, 56, 0.3);
}

/* Media Grid Layout */
.media-grid,
.media-grid-home {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Media Card */
.media-card,
.media-card-home {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    background: white;
    cursor: pointer;
}

.media-card:hover,
.media-card-home:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.media-thumbnail {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.media-card:hover .media-thumbnail,
.media-card-home:hover .media-thumbnail {
    transform: scale(1.1);
}

.media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.media-card:hover .media-overlay,
.media-card-home:hover .media-overlay {
    opacity: 1;
}

.media-title {
    color: white;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.media-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.4;
}

.media-type-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    color: var(--primary-color);
    z-index: 10;
}

.media-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: var(--primary-color);
    transition: all 0.3s ease;
    z-index: 5;
}

.media-card:hover .media-play-icon,
.media-card-home:hover .media-play-icon {
    transform: translate(-50%, -50%) scale(1.2);
    background: white;
}

/* Document Cards */
.document-card,
.document-card-home {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.document-card:hover,
.document-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.doc-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), #3d7948);
}

.doc-icon.pdf {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.doc-icon.doc,
.doc-icon.docx {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.doc-content {
    flex: 1;
}

.doc-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 8px;
}

.doc-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
}

.doc-meta {
    display: flex;
    gap: 15px;
    font-size: 13px;
    color: #999;
    margin-bottom: 15px;
}

.doc-meta i {
    margin-right: 5px;
}

.btn-download {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-download:hover {
    background: var(--secondary-color);
    transform: translateX(5px);
}

/* Video Modal Styles */
.modal-video .modal-dialog {
    max-width: 900px;
}

.modal-video .modal-content {
    background: transparent;
    border: none;
}

.modal-video .modal-body {
    padding: 0;
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* View All Button */
.btn-view-all-media {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 20px rgba(45, 99, 56, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-view-all-media:hover,
.btn-view-all-media:focus {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(137, 53, 44, 0.3);
    color: white;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #666;
}

/* Lightbox Enhancements */
.lb-data .lb-caption {
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.lb-data .lb-number {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Media Styles */
@media (max-width: 1200px) {

    .media-grid,
    .media-grid-home {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .media-section {
        padding: 50px 0;
    }

    .media-section .section-title {
        font-size: 32px;
    }

    .media-grid,
    .media-grid-home {
        grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));
        gap: 20px;
    }

    .nav-tabs-modern {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-tabs-modern .nav-link {
        text-align: center;
    }

    .document-card,
    .document-card-home {
        flex-direction: column;
        text-align: center;
    }

    .doc-icon {
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .media-section .section-title {
        font-size: 28px;
    }

    .media-thumbnail {
        height: 200px;
    }

    .media-play-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }

    .doc-title {
        font-size: 16px;
    }

    .btn-view-all-media {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* ============================================
   MODERN MEDIA PORTFOLIO STYLES
   ============================================ */

/* Modern Section Wrapper */
.media-section-modern {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fdf9 0%, #e8f5ea 50%, #f0f8f2 100%);
    position: relative;
    overflow: hidden;
}

.media-section-modern::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 200px;
    height: 200px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="35" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.05" stroke-dasharray="5,5"/><circle cx="50" cy="50" r="25" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.06" stroke-dasharray="3,3"/><circle cx="50" cy="50" r="15" fill="%232D6338" opacity="0.03"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: spin 40s linear infinite;
    pointer-events: none;
}

.media-section-modern::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 8%;
    width: 160px;
    height: 160px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="30" y="30" width="40" height="40" rx="5" fill="none" stroke="%23ffc107" stroke-width="2" opacity="0.08" transform="rotate(45 50 50)"/><circle cx="50" cy="50" r="20" fill="none" stroke="%23ffc107" stroke-width="2" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 24s ease-in-out infinite;
    pointer-events: none;
}

.media-section-modern>.container {
    position: relative;
    z-index: 1;
}

/* Modern Section Title */
.section-title-modern {
    font-size: 40px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: none;
}

/* Modern Tabs V2 */
.nav-tabs-modern-v2 {
    border: none;
    gap: 15px;
    margin-bottom: 50px;
}

.nav-tabs-modern-v2 .nav-link {
    border: none;
    background: white;
    color: var(--dark-text);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.nav-tabs-modern-v2 .nav-link i {
    font-size: 20px;
}

.nav-tabs-modern-v2 .nav-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(45, 99, 56, 0.25);
}

.nav-tabs-modern-v2 .nav-link.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 30px rgba(45, 99, 56, 0.3);
    transform: translateY(-3px);
}

/* Modern Media Grid */
.modern-media-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Modern Media Card */
.modern-media-card {
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-media-card a {
    text-decoration: none;
    color: inherit;
}

.media-card-inner {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.modern-media-card:hover .media-card-inner {
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.media-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.media-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.audio-placeholder,
.pdf-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.pdf-placeholder {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.modern-media-card:hover .media-image-wrapper img {
    transform: scale(1.1) rotate(2deg);
}

.media-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.modern-media-card:hover .media-gradient-overlay {
    opacity: 1;
}

.media-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 10;
}

.modern-media-card:hover .media-icon-overlay {
    transform: translate(-50%, -50%) scale(1);
}

.icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

.icon-circle.play-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    50% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4), 0 0 0 15px rgba(255, 255, 255, 0.1);
    }
}

.video-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 8px 18px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.media-content {
    padding: 25px;
}

.media-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.category-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color), #3d7948);
    color: white;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 10px;
}

.category-badge i {
    margin-right: 5px;
}

.media-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-top: 12px;
}

/* Modern Docs Grid */
.modern-docs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.modern-doc-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-doc-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.doc-card-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px;
    text-align: center;
    position: relative;
}

.doc-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.doc-icon-modern.pdf {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.doc-icon-modern.doc,
.doc-icon-modern.docx {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.file-type-badge {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.doc-card-body {
    padding: 25px;
}

.doc-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 12px;
    line-height: 1.4;
}

.doc-description {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.doc-meta {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #999;
    margin-bottom: 20px;
}

.doc-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.doc-card-footer {
    padding: 0 25px 25px;
    display: flex;
    gap: 12px;
}

/* Document Action Buttons */
.btn-doc-action {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 99, 56, 0.2);
}

.btn-doc-action.btn-view {
    background: linear-gradient(135deg, var(--primary-color), #3d7948);
    color: white;
    border: 2px solid transparent;
}

.btn-doc-action.btn-view:hover {
    background: linear-gradient(135deg, #3d7948, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 99, 56, 0.3);
    color: white;
}

.btn-doc-action.btn-download {
    background: linear-gradient(135deg, var(--secondary-color), #a34139);
    color: white;
    border: 2px solid transparent;
}

.btn-doc-action.btn-download:hover {
    background: linear-gradient(135deg, #a34139, var(--secondary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(137, 53, 44, 0.3);
    color: white;
}

.btn-doc-action i {
    font-size: 16px;
}

.btn-doc-action span {
    font-weight: 600;
}

.btn-download-modern {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), #3d7948);
    color: white;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(45, 99, 56, 0.3);
}

.btn-download-modern:hover {
    background: linear-gradient(135deg, #3d7948, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(45, 99, 56, 0.4);
    color: white;
}

.btn-download-modern i {
    margin-right: 8px;
}

/* Empty State Modern */
.empty-state-modern {
    text-align: center;
    padding: 80px 20px;
}

.empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
    background: rgba(45, 99, 56, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    color: var(--primary-color);
}

.empty-state-modern h4 {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.empty-state-modern p {
    font-size: 16px;
    color: var(--dark-text);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {

    .modern-media-grid,
    .modern-docs-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .section-title-modern {
        font-size: 32px;
    }

    .modern-media-grid,
    .modern-docs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .nav-tabs-modern-v2 {
        flex-direction: column;
        gap: 10px;
    }

    .nav-tabs-modern-v2 .nav-link {
        width: 100%;
        justify-content: center;
    }

    .media-image-wrapper {
        height: 220px;
    }

    .icon-circle {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
}

/* ========================================
   PARTNERSHIPS SECTION
   ======================================== */

.partnerships-section {
    background: linear-gradient(135deg, #e8f5f0 0%, #d5ede5 25%, #e0f2eb 50%, #ecf7f3 75%, #f5faf8 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.partnerships-section::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 7%;
    width: 170px;
    height: 170px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M25 50 L40 50 Q40 40 50 40 Q60 40 60 50 L75 50" fill="none" stroke="%232D6338" stroke-width="2.5" opacity="0.08"/><circle cx="25" cy="50" r="8" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.08"/><circle cx="75" cy="50" r="8" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.08"/><path d="M45 55 L45 65 L50 60 L55 65 L55 55" fill="%23ffc107" opacity="0.1"/><circle cx="50" cy="50" r="35" fill="none" stroke="%232D6338" stroke-width="1.5" opacity="0.04" stroke-dasharray="4,4"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.partnerships-section::after {
    content: '';
    position: absolute;
    bottom: 12%;
    left: 6%;
    width: 130px;
    height: 130px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="30" y="40" width="40" height="45" rx="3" fill="none" stroke="%232D6338" stroke-width="2.5" opacity="0.08"/><rect x="35" y="35" width="12" height="8" fill="%232D6338" opacity="0.06"/><rect x="53" y="35" width="12" height="8" fill="%232D6338" opacity="0.06"/><rect x="37" y="50" width="8" height="8" rx="1" fill="%23ffc107" opacity="0.08"/><rect x="55" y="50" width="8" height="8" rx="1" fill="%23ffc107" opacity="0.08"/><rect x="37" y="65" width="8" height="8" rx="1" fill="%23ffc107" opacity="0.08"/><rect x="55" y="65" width="8" height="8" rx="1" fill="%23ffc107" opacity="0.08"/><path d="M42 30 L50 25 L58 30" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.06"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 24s ease-in-out infinite reverse;
    pointer-events: none;
}

.partnerships-section {
    position: relative;
}

.partnerships-section::before,
.partnerships-section::after {
    z-index: 0;
}

.partnerships-section .container {
    position: relative;
    z-index: 1;
}

.partnership-card {
    background: white;
    border-radius: 15px;
    padding: 15px 10px;
    text-align: center;
    border: 1px solid rgba(45, 99, 56, 0.12);
    box-shadow: 0 4px 15px rgba(45, 99, 56, 0.08), 0 2px 8px rgba(45, 99, 56, 0.05);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.partnership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(45, 99, 56, 0.15), 0 5px 15px rgba(45, 99, 56, 0.1);
    border-color: var(--primary-color);
}

.partnership-logo-wrapper {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.partnership-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partnership-card:hover .partnership-logo {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

.partnership-name {
    font-size: 13px;
    font-weight: 600;
    color: #666;
    margin-top: auto;
    transition: color 0.3s ease;
    line-height: 1.4;
}

.partnership-card:hover .partnership-name {
    color: var(--primary-color);
}

/* Responsive Grid for Partnerships */
@media (min-width: 1200px) {

    /* Desktop: 5 per row */
    .partnerships-section .col-lg-2 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {

    /* Tablet: 3 per row */
    .partnerships-section .col-md-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }

    .partnership-card {
        min-height: 160px;
    }

    .partnership-logo-wrapper {
        height: 80px;
    }
}

@media (max-width: 767px) {

    /* Mobile: 2 per row */
    .partnerships-section .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .partnership-card {
        padding: 20px 15px;
        min-height: 140px;
        border-radius: 12px;
    }

    .partnership-logo-wrapper {
        height: 60px;
        margin-bottom: 10px;
    }

    .partnership-name {
        font-size: 11px;
    }

    .partnerships-section {
        padding: 60px 0;
    }
}

/* Animation for partnership cards on scroll */
.partnership-card.fade-in-up {
    animation-delay: calc(var(--animation-order) * 0.1s);
}

/* Clickable partnership cards */
.partnership-card[onclick] {
    cursor: pointer;
}

.partnership-card[onclick]:active {
    transform: translateY(-6px) scale(0.98);
}

/* ========================================
   OTHER PROJECTS SECTION
   ======================================== */

.other-projects-section {
    background: linear-gradient(135deg, #fffbf0 0%, #fff8e8 20%, #fff5e1 40%, #fffef5 60%, #fefdf8 80%, #ffffff 100%);
    padding: 50px 0;
    position: relative;
    overflow: hidden;
}

.other-projects-section::before {
    content: '';
    position: absolute;
    top: 8%;
    left: 4%;
    width: 160px;
    height: 160px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="30" y="40" width="15" height="40" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.07"/><rect x="50" y="30" width="15" height="50" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.07"/><rect x="70" y="35" width="15" height="45" fill="none" stroke="%232D6338" stroke-width="2" opacity="0.07"/><circle cx="55" cy="15" r="8" fill="%23ffc107" opacity="0.08"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.other-projects-section::after {
    content: '';
    position: absolute;
    bottom: 12%;
    right: 6%;
    width: 130px;
    height: 130px;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><rect x="25" y="25" width="50" height="50" rx="5" fill="none" stroke="%2389352C" stroke-width="2.5" opacity="0.08"/><line x1="35" y1="35" x2="45" y2="35" stroke="%2389352C" stroke-width="2" opacity="0.06"/><line x1="35" y1="45" x2="45" y2="45" stroke="%2389352C" stroke-width="2" opacity="0.06"/><rect x="55" y="55" width="15" height="15" rx="2" fill="%23ffc107" opacity="0.07"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    animation: float 24s ease-in-out infinite reverse;
    pointer-events: none;
}

/* Homepage Cards (3 per row on desktop) */
.other-project-card {
    background: white;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.12), 0 3px 10px rgba(137, 53, 44, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 193, 7, 0.15);
}

.other-project-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 45px rgba(255, 193, 7, 0.2), 0 8px 20px rgba(137, 53, 44, 0.15);
}

.project-image-wrapper {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.other-project-card:hover .project-image {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.other-project-card:hover .project-overlay {
    opacity: 1;
}

.project-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.other-project-card:hover .project-title {
    color: var(--secondary-color);
}

.project-excerpt {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-read-more:hover {
    color: var(--secondary-color);
    gap: 12px;
}

.project-read-more i {
    transition: transform 0.3s ease;
}

.project-read-more:hover i {
    transform: translateX(5px);
}

/* List Page Cards (Larger) */
.other-project-card-large {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.other-project-card-large:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.project-image-wrapper-large {
    position: relative;
    height: 280px;
    overflow: hidden;
}

.project-image-large {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.other-project-card-large:hover .project-image-large {
    transform: scale(1.08);
}

.project-overlay-large {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(45, 99, 56, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.other-project-card-large:hover .project-overlay-large {
    opacity: 1;
}

.project-content-large {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.project-title-large {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.3;
}

.project-excerpt-large {
    font-size: 16px;
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
    flex-grow: 1;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.project-date {
    font-size: 14px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-view-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: var(--primary-color);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.project-view-details:hover {
    background: var(--secondary-color);
    color: white;
    gap: 12px;
    transform: translateX(5px);
}

/* Detail Page Styles */
.project-detail-section {
    padding: 60px 0;
}

.project-detail-header {
    text-align: center;
    margin-bottom: 40px;
}

.project-detail-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.project-detail-meta {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: var(--primary-color);
}

.project-detail-image {
    margin-bottom: 50px;
}

.project-detail-image img {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.project-detail-content {
    margin-bottom: 50px;
}

.content-section {
    margin-bottom: 40px;
}

.content-section-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid var(--primary-color);
}

.content-body {
    font-size: 17px;
    line-height: 1.8;
    color: #444;
}

.content-body p {
    margin-bottom: 20px;
}

.project-detail-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.project-share {
    text-align: center;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 15px;
}

.project-share h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.share-facebook {
    background: #3b5998;
}

.share-facebook:hover {
    background: #2d4373;
    transform: translateY(-3px);
}

.share-twitter {
    background: #1da1f2;
}

.share-twitter:hover {
    background: #0c8cd6;
    transform: translateY(-3px);
}

.share-linkedin {
    background: #0077b5;
}

.share-linkedin:hover {
    background: #005885;
    transform: translateY(-3px);
}

.share-email {
    background: #666;
}

.share-email:hover {
    background: #444;
    transform: translateY(-3px);
}

.related-projects-section {
    padding: 80px 0;
}

.page-header-small {
    padding: 120px 0 20px 0;
}

/* Responsive Design */
@media (max-width: 991px) {
    .project-detail-title {
        font-size: 32px;
    }

    .content-section-title {
        font-size: 24px;
    }

    .project-image-wrapper {
        height: 220px;
    }

    .project-image-wrapper-large {
        height: 240px;
    }
}

@media (max-width: 767px) {
    .other-projects-section {
        padding: 60px 0;
    }

    .project-detail-title {
        font-size: 28px;
    }

    .project-title {
        font-size: 20px;
    }

    .project-title-large {
        font-size: 22px;
    }

    .project-image-wrapper {
        height: 200px;
    }

    .project-image-wrapper-large {
        height: 220px;
    }

    .project-content {
        padding: 20px;
    }

    .project-content-large {
        padding: 25px;
    }

    .project-detail-actions {
        flex-direction: column;
    }

    .project-detail-actions .btn {
        width: 100%;
    }

    .share-buttons {
        gap: 10px;
    }

    .share-btn {
        width: 45px;
        height: 45px;
    }
}

/* Animation delays for staggered appearance */
.other-project-card:nth-child(1) {
    animation-delay: 0.1s;
}

.other-project-card:nth-child(2) {
    animation-delay: 0.2s;
}

.other-project-card:nth-child(3) {
    animation-delay: 0.3s;
}

.other-project-card:nth-child(4) {
    animation-delay: 0.4s;
}

.other-project-card:nth-child(5) {
    animation-delay: 0.5s;
}

.other-project-card:nth-child(6) {
    animation-delay: 0.6s;
}

.other-project-card-large:nth-child(1) {
    animation-delay: 0.1s;
}

.other-project-card-large:nth-child(2) {
    animation-delay: 0.2s;
}

.other-project-card-large:nth-child(3) {
    animation-delay: 0.3s;
}