/* ===== CSS Reset & Variables ===== */
:root {
    /* Modern Light Pastel Purple/Magenta Theme */
    --primary-color: #a855f7;
    --primary-dark: #9333ea;
    --primary-light: #c084fc;
    --secondary-color: #f472b6;
    --accent-color: #f9a8d4;
    --earth-brown: #c4b5fd;
    --forest-green: #a78bfa;
    --sage-green: #ddd6fe;
    --text-dark: #374151;
    --text-light: #9ca3af;
    --bg-white: #ffffff;
    --bg-light: #fefbff;
    --bg-cream: #fdf8ff;
    --border-color: #f3e8ff;
    --shadow-sm: 0 1px 2px rgba(168, 85, 247, 0.08);
    --shadow: 0 4px 6px rgba(168, 85, 247, 0.08);
    --shadow-lg: 0 10px 15px rgba(168, 85, 247, 0.1);
    --shadow-xl: 0 20px 25px rgba(168, 85, 247, 0.12);
    --shadow-2xl: 0 25px 50px rgba(168, 85, 247, 0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
    background: var(--bg-white);
    cursor: default;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.3px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

/* ===== Custom Cursor ===== */
.custom-cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, border-color 0.2s;
    z-index: 9999;
    mix-blend-mode: difference;
}

.custom-cursor.hover {
    width: 50px;
    height: 50px;
    background: rgba(168, 85, 247, 0.1);
}

.custom-cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 10000;
    transition: transform 0.1s;
    mix-blend-mode: difference;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
}

.logo {
    position: relative;
    cursor: pointer;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
}

.logo-link:hover {
    color: inherit;
}

.logo-image {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.logo-text {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 0;
    max-width: 200px;
    line-height: 1.3;
    text-align: left;
    color: var(--text-dark);
}

.logo h2 {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 0.2rem;
    position: relative;
    display: inline-block;
    transition: var(--transition);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.logo h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.logo:hover h2::after {
    width: 100%;
}

.logo p {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 300;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .logo-image {
        height: 35px;
    }
    
    .logo-text {
        font-size: 0.55rem;
        max-width: 150px;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
    padding: 0.5rem 0;
    display: inline-block;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition);
    border-radius: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link i {
    font-size: 0.7rem;
    margin-left: 0.3rem;
    transition: var(--transition);
}

.dropdown {
    position: relative;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-white);
    min-width: 220px;
    box-shadow: var(--shadow-xl);
    border-radius: 12px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    margin-top: 0.5rem;
    border: 1px solid var(--border-color);
    z-index: 1000;
}

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

.dropdown-menu li {
    list-style: none;
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    background: linear-gradient(90deg, rgba(168, 85, 247, 0.1), rgba(244, 114, 182, 0.1));
    color: var(--primary-color);
    padding-left: 2rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bg-white);
    color: var(--text-dark);
    overflow: hidden;
    padding-top: 80px;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background-image: url('programmes/assets/climate-change/CC1.jpg');
    background-size: cover;
    background-position: center;
}

.hero-video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-video-bg video.loaded {
    opacity: 1;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.55) 0%, rgba(244, 114, 182, 0.5) 100%);
    z-index: 1;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    opacity: 0.2;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(168, 85, 247, 0.1) 0%, 
        rgba(244, 114, 182, 0.1) 50%, 
        rgba(201, 169, 97, 0.1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-content {
    position: relative;
    z-index: 3;
    padding: 2rem;
    max-width: 900px;
    margin: 0 auto;
    color: var(--bg-white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content .hero-subtitle,
.hero-content .hero-description {
    color: rgba(255, 255, 255, 0.95);
}

.hero-title-wrapper {
    margin-bottom: 2rem;
}

.hero-title {
    font-family: 'Bebas Neue', sans-serif;
    font-weight: 400;
    font-size: clamp(3rem, 10vw, 6.5rem);
    line-height: 1.1;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title-word {
    display: inline-block;
    animation: fadeInUp 0.8s ease backwards;
    transition: var(--transition);
}

.title-word:nth-child(1) { animation-delay: 0.1s; }
.title-word:nth-child(2) { animation-delay: 0.2s; }
.title-word:nth-child(3) { animation-delay: 0.3s; }

.title-word.highlight {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    position: relative;
    padding: 0 15px;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 1),
        0 0 20px rgba(255, 255, 255, 0.8),
        0 0 30px rgba(255, 255, 255, 0.6),
        0 4px 15px rgba(0, 0, 0, 0.8),
        0 8px 25px rgba(0, 0, 0, 0.6);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.9)) drop-shadow(0 4px 20px rgba(0, 0, 0, 0.7));
    font-weight: 400;
    letter-spacing: 4px;
}

.title-word.highlight::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    animation: expandWidth 0.8s ease 0.5s backwards;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 100%; }
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    margin: 1.5rem 0;
    font-weight: 400;
    color: var(--text-light);
    animation: fadeInUp 1s ease 0.4s backwards;
    position: relative;
}

.hero-description {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    color: var(--text-light);
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s backwards;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.8s backwards;
    margin-bottom: 3rem;
}

.btn {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

.btn-secondary {
    background: var(--bg-white);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.3);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.btn-large {
    padding: 18px 45px;
    font-size: 1.1rem;
}

.hero-stats-preview {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 4rem;
    animation: fadeInUp 1s ease 1s backwards;
}

.preview-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    min-width: 120px;
}

.preview-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.preview-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Space Grotesk', sans-serif;
}

.preview-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--text-dark);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-light);
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    margin: 0 auto;
    position: relative;
}

.mouse::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes scroll {
    0% {
        opacity: 1;
        top: 10px;
    }
    100% {
        opacity: 0;
        top: 30px;
    }
}

/* ===== Section Styling ===== */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-dark);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    letter-spacing: 1px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.underline {
    width: 80px;
    height: 4px;
    background: var(--secondary-color);
    margin: 1.5rem auto 0;
    border-radius: 2px;
    animation: expandWidth 1s ease;
}

/* ===== Section Background Images ===== */
.section-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 0.3s ease-out;
    z-index: 0;
    will-change: opacity, transform;
}

/* Fix mobile background issues */
@media (max-width: 768px) {
    .section-bg-image {
        background-attachment: scroll;
        position: fixed;
    }
    
    .section-overlay {
        background: rgba(255, 255, 255, 0.9) !important;
    }
    
    .hero-video-bg {
        position: fixed;
    }
    
    .video-overlay {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.7) 0%, rgba(244, 114, 182, 0.65) 100%) !important;
    }
}

.section-bg-image.active {
    opacity: 0.5;
}

.section-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
    transition: background 0.5s ease;
}

/* Background images for different sections */
.about-section[data-bg-image="1"] .section-bg-image {
    background-image: url('programmes/assets/disability-inclusion/D1.jpg');
}

.mission-vision[data-bg-image="2"] .section-bg-image {
    background-image: url('programmes/assets/climate-change/CC2.jpg');
}

.stats-section[data-bg-image="3"] .section-bg-image {
    background-image: url('programmes/assets/disability-inclusion/D2.jpg');
}

/* ===== About Section ===== */
.about-section {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-text .lead {
    font-size: 1.3rem;
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 1.5rem;
    line-height: 1.8;
    position: relative;
    padding-left: 20px;
}

.about-text .lead::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.feature-item {
    min-height: 250px;
    perspective: 1000px;
    position: relative;
    overflow: visible;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

/* ===== Expandable Cards ===== */
.expandable-card {
    position: relative;
    cursor: pointer;
    transition: var(--transition);
}

.card-content-wrapper {
    position: relative;
}

.card-main {
    position: relative;
    z-index: 2;
}

.expand-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow);
}

.expand-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.expand-btn i {
    transition: var(--transition);
}

.expandable-card[data-expanded="true"] .expand-btn i {
    transform: rotate(180deg);
}

.card-expanded,
.service-expanded,
.programme-expanded {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease, padding 0.5s ease;
    padding: 0;
    position: relative;
    z-index: 1;
}

.expandable-card[data-expanded="true"] .card-expanded,
.expandable-card[data-expanded="true"] .service-expanded,
.expandable-card[data-expanded="true"] .programme-expanded {
    max-height: 1000px;
    opacity: 1;
    padding: 1.5rem 0 0;
}

.expandable-card[data-expanded="true"] {
    z-index: 10;
    position: relative;
}

.about-features .expandable-card[data-expanded="true"] {
    z-index: 10;
    position: relative;
}

.mv-grid .expandable-card[data-expanded="true"] {
    z-index: 10;
    position: relative;
}

.stats-grid .expandable-card[data-expanded="true"] {
    z-index: 10;
    position: relative;
}

.expanded-image-container {
    margin-top: 1.5rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.expanded-image-container img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

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

.feature-icon,
.service-icon,
.programme-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: var(--transition);
    display: inline-block;
}

.expandable-card:not([data-expanded="true"]):hover .feature-icon,
.expandable-card:not([data-expanded="true"]):hover .service-icon,
.expandable-card:not([data-expanded="true"]):hover .programme-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

.feature-item h4 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.feature-item p {
    font-size: 0.95rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.about-image {
    position: relative;
}

.image-container {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
    background: var(--bg-light);
}

.image-container img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    z-index: -1;
}

.image-container .main-image {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.image-container .hover-image {
    opacity: 0;
    transform: scale(1.1);
    z-index: 2;
    background: var(--bg-light);
    display: block;
}

.image-container .hover-image[src=""],
.image-container .hover-image:not([src]),
.image-container .hover-image[style*="display: none"] {
    display: none !important;
    opacity: 0 !important;
}

.image-container:hover .main-image {
    opacity: 0;
}

.image-container:hover .hover-image {
    opacity: 1 !important;
    transform: scale(1);
    display: block !important;
}

.image-container:hover .hover-image[data-loaded="false"],
.image-container:hover .hover-image[style*="display: none"] {
    display: none !important;
    opacity: 0 !important;
}

.image-container:hover .main-image:has(+ .hover-image[data-loaded="false"]) {
    opacity: 1 !important;
}

/* Ensure hover image is visible on hover if it exists and is loaded */
.image-container:hover .hover-image:not([data-loaded="false"]):not([style*="display: none"]) {
    opacity: 1 !important;
    transform: scale(1) !important;
    display: block !important;
}

/* ===== Mission & Vision ===== */
.mission-vision {
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.mission-vision .section-overlay {
    background: rgba(245, 247, 245, 0.7);
}

.mission-vision .container {
    position: relative;
    z-index: 2;
}

.parallax-section {
    position: relative;
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(244, 114, 182, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.mv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    position: relative;
    z-index: 1;
}

.mv-grid > * {
    isolation: isolate;
}

.mv-card {
    background: var(--bg-white);
    padding: 3rem 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: var(--transition-slow);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-height: 300px;
    text-decoration: none;
    color: inherit;
    display: block;
    isolation: isolate;
}

.mv-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.05), transparent);
    transition: left 0.5s;
    z-index: 0;
    pointer-events: none;
}

.glassmorphism {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 0;
    pointer-events: none;
}

.animated-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    position: relative;
    z-index: 1;
    color: var(--primary-color);
}

.mv-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    font-size: 1.6rem;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.mv-card p {
    color: var(--text-light);
    line-height: 1.9;
    font-size: 1rem;
    position: relative;
    z-index: 1;
}

/* Subtle hover effect for mv-card - isolated to prevent overlapping */
.mv-card:hover {
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.mv-card:hover .animated-icon {
    color: var(--secondary-color);
    filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.2));
}

.mv-card:hover h3 {
    color: var(--primary-color);
}

.card-ripple {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.15);
    transform: scale(0);
    opacity: 0;
    top: 50%;
    left: 50%;
    margin-left: -50px;
    margin-top: -50px;
    z-index: 0;
    pointer-events: none;
}

.mv-card:active .card-ripple {
    animation: ripple 0.6s ease-out;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== Stats Section ===== */
.stats-section {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
}

.stats-section .section-overlay {
    background: rgba(255, 255, 255, 0.7);
}

.stats-section .container {
    position: relative;
    z-index: 2;
}

.stats-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, rgba(37, 99, 235, 0.02) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(37, 99, 235, 0.02) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, rgba(37, 99, 235, 0.02) 75%),
        linear-gradient(-45deg, transparent 75%, rgba(37, 99, 235, 0.02) 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    opacity: 0.5;
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 3rem 2rem;
    background: var(--bg-white);
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    position: relative;
    overflow: visible;
    border: 1px solid var(--border-color);
    min-height: 250px;
    text-decoration: none;
    color: inherit;
    display: block;
}

.stat-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.stat-card-interactive {
    cursor: pointer;
}

.stat-card-interactive::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card-interactive:hover::before {
    opacity: 0.05;
}

.stat-card-interactive:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.stat-icon-wrapper {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
}

.stat-icon {
    font-size: 3rem;
    position: relative;
    z-index: 2;
    transition: var(--transition);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.stat-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(16, 185, 129, 0.1));
    border-radius: 50%;
    transition: var(--transition);
}

.stat-card-interactive:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
}

.stat-card-interactive:hover .stat-icon-bg {
    transform: translate(-50%, -50%) scale(1.3);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.2));
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    position: relative;
    display: inline-block;
    transition: var(--transition);
}

.stat-card-interactive:hover .stat-number {
    color: var(--primary-dark);
    transform: scale(1.1);
}

.stat-plus {
    font-size: 2rem;
    color: var(--secondary-color);
    font-weight: 700;
    margin-left: 0.2rem;
    opacity: 0.8;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 1rem;
    transition: var(--transition);
}

.stat-card-interactive:hover .stat-label {
    color: var(--text-dark);
}

.stat-progress-bar {
    width: 100%;
    height: 4px;
    background: var(--bg-light);
    border-radius: 2px;
    margin-top: 1.5rem;
    overflow: hidden;
    position: relative;
}

.stat-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    width: 0;
    transition: width 2s ease;
}

.stat-card-interactive:hover .stat-progress-fill {
    width: var(--progress-width, 100%);
}

/* ===== CTA Section ===== */
.cta-section {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9) 0%, rgba(244, 114, 182, 0.9) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('programmes/assets/climate-change/CC3.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.cta-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9) 0%, rgba(244, 114, 182, 0.9) 100%);
    z-index: 0;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    color: var(--bg-white);
    letter-spacing: 1px;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
}

/* ===== Page Header ===== */
.page-header {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, rgba(16, 185, 129, 0.05) 100%);
    color: var(--text-dark);
    padding: 180px 0 100px;
    text-align: center;
    margin-top: 70px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 50%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    letter-spacing: 2px;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.page-header p {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--text-light);
    position: relative;
    z-index: 1;
}

/* Continue with remaining styles... */

/* Services, Programmes, Contact page specific styles */
.services-page, .programmes-page, .contact-page {
    padding: 80px 0;
    background: var(--bg-white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

/* ===== Service Cards ===== */
.service-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-image-container {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.service-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-main-image {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.service-hover-image {
    opacity: 0;
    transform: scale(1.1);
    z-index: 2;
}

.service-card:hover .service-main-image {
    opacity: 0;
}

.service-card:hover .service-hover-image {
    opacity: 1;
    transform: scale(1);
}

.service-card .service-icon-wrapper,
.service-card h3,
.service-card .service-description,
.service-card .service-submenu,
.service-card .expand-btn,
.service-card .service-expanded {
    padding-left: 2rem;
    padding-right: 2rem;
}

.service-card h3 {
    padding-top: 1rem;
}

.service-icon-wrapper {
    text-align: center;
    margin: -2.5rem 0 1rem;
    position: relative;
    z-index: 3;
    padding: 0;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: var(--bg-white);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
    color: var(--secondary-color);
    box-shadow: var(--shadow-xl);
}

.service-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    text-align: center;
}

.service-card:hover h3 {
    color: var(--secondary-color);
}

.service-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

.service-submenu {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.sub-service-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.sub-service-item i {
    color: var(--secondary-color);
    font-size: 0.85rem;
}

.sub-service-item:hover {
    padding-left: 0.5rem;
    color: var(--primary-color);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

/* ===== Card Link Button ===== */
.card-link-btn {
    padding: 1rem 2rem;
    text-align: center;
    margin-top: auto;
    position: relative;
    z-index: 1;
}

.card-link-btn span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.service-card:hover .card-link-btn span,
.programme-card:hover .card-link-btn span,
.mv-card:hover .card-link-btn span {
    color: var(--secondary-color);
    gap: 0.8rem;
}

.card-link-btn i {
    transition: var(--transition);
}

.service-card:hover .card-link-btn i,
.programme-card:hover .card-link-btn i,
.mv-card:hover .card-link-btn i {
    transform: translateX(5px);
}

/* Make service and programme cards work as links */
.service-card,
.programme-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card:visited,
.programme-card:visited {
    color: inherit;
}

/* Programme card links */
.programme-link {
    text-decoration: none;
    display: block;
    transition: var(--transition);
}

.programme-link:hover {
    text-decoration: none;
}

/* ===== Programme Detail Pages ===== */

.programme-details {
    padding: 60px 0;
    background: var(--bg-white);
}

.programme-overview {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.programme-content h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.programme-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.programme-highlights h3 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem 0;
    font-size: 1.4rem;
}

.programme-impact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.programme-impact li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
    font-size: 1rem;
    transition: var(--transition);
    border-bottom: 1px solid var(--border-color);
}

.programme-impact li:last-child {
    border-bottom: none;
}

.programme-impact li i {
    color: var(--secondary-color);
    font-size: 1rem;
    margin-top: 0.3rem;
    min-width: 15px;
}

.programme-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--primary-color);
}

.stat-card h3 {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.stat-card p {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
}

.resources-section {
    margin: 5rem 0;
}

.resources-section h2 {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.resource-card {
    background: var(--bg-white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.resource-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
}

.resource-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.resource-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.resource-card p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.gallery-section {
    margin: 5rem 0;
}

.gallery-section h2 {
    text-align: center;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3rem;
    font-size: 2.2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 300px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

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

.gallery-overlay h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.2rem;
}

.gallery-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* ===== Programme Cards ===== */
.programmes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

@media (max-width: 1024px) {
    .programmes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programmes-grid {
        grid-template-columns: 1fr;
    }
}

.programme-card {
    background: var(--bg-white);
    padding: 0;
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.programme-image-container {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.programme-image-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.programme-main-image {
    opacity: 1;
    transform: scale(1);
    z-index: 1;
}

.programme-hover-image {
    opacity: 0;
    transform: scale(1.1);
    z-index: 2;
}

.programme-card:hover .programme-main-image {
    opacity: 0;
}

.programme-card:hover .programme-hover-image {
    opacity: 1;
    transform: scale(1);
}

.programme-card .programme-icon-wrapper,
.programme-card .programme-year,
.programme-card h3,
.programme-card .programme-description,
.programme-card .programme-impact,
.programme-card .expand-btn,
.programme-card .programme-expanded {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Ensure content takes appropriate space in flex layout */
.programme-icon-wrapper {
    flex-shrink: 0;
}

.programme-card h3,
.programme-description {
    flex-grow: 1;
}

.programme-icon-wrapper {
    text-align: center;
    /* Previously used a large negative margin to overlap images.
       Now we keep it fully inside the card so the icon is not cut off. */
    margin: 1.5rem 0 1rem;
    position: relative;
    z-index: 3;
    padding: 0;
}

.programme-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: var(--bg-white);
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.programme-card:hover .programme-icon {
    transform: scale(1.1) rotate(10deg);
    color: var(--secondary-color);
    box-shadow: var(--shadow-xl);
}

.programme-year {
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.programme-card:hover .programme-year {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
}

.programme-card h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    text-align: center;
    padding-top: 1rem;
}

.programme-card:hover h3 {
    color: var(--secondary-color);
}

.programme-description {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    text-align: center;
}

.programme-impact {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.programme-impact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: var(--transition);
}

.programme-impact li i {
    color: var(--secondary-color);
    font-size: 0.85rem;
    min-width: 15px; /* Ensure consistent spacing for icons */
    transition: var(--transition); /* Ensure smooth transition for icon color */
}

.programme-impact li:hover {
    color: var(--primary-color);
}

/* Prevent padding change on hover to avoid icon movement */
.programme-card:hover .programme-impact li {
    color: var(--primary-color);
}



.programme-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-color);
    text-decoration: none;
}

.programme-expanded {
    padding: 0 2rem 2rem !important;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.7rem 0;
    color: var(--text-dark);
    position: relative;
    padding-left: 1.8rem;
    transition: var(--transition);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.2rem;
    transition: var(--transition);
}

.service-card:hover .service-features li {
    padding-left: 2rem;
}

.service-card:hover .service-features li::before {
    transform: scale(1.3);
}

.service-hover-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    pointer-events: none;
}

.service-card:hover .service-hover-effect {
    width: 400px;
    height: 400px;
}

/* ===== Programmes Page Styles ===== */
.programmes-page {
    background: var(--bg-white);
    position: relative;
}

.programmes-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.programmes-intro .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.9;
}

.programmes-timeline {
    position: relative;
    padding: 2rem 0;
}

.programme-item {
    margin-bottom: 4rem;
    position: relative;
    padding: 2.5rem;
    background: var(--bg-white);
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-slow);
    border-left: 4px solid var(--primary-color);
    cursor: pointer;
    overflow: hidden;
}

.programme-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s;
}

.programme-item:hover::before {
    transform: scaleY(1);
}

.programme-item::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -50px;
    transform: translateY(-50%);
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s, right 0.5s;
}

.programme-item:hover::after {
    opacity: 1;
    right: -30px;
}

.programme-item:hover {
    transform: translateX(25px) scale(1.02);
    box-shadow: var(--shadow-2xl);
    border-left-width: 6px;
    border-left-color: var(--secondary-color);
    background: linear-gradient(to right, rgba(37, 99, 235, 0.02), var(--bg-white));
}

.programme-year {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 20px;
    transition: var(--transition);
}

.programme-item:hover .programme-year {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    transform: scale(1.1);
}

.programme-content {
    position: relative;
    z-index: 1;
}

.programme-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    transition: var(--transition);
    position: relative;
    display: inline-block;
}

.programme-content h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--secondary-color);
    transition: var(--transition);
}

.programme-item:hover .programme-content h3::after {
    width: 100%;
}

.programme-item:hover .programme-content h3 {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.programme-category {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: inline-block;
    padding: 0.3rem 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 15px;
    transition: var(--transition);
}

.programme-item:hover .programme-category {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

.programme-content p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.9;
    transition: var(--transition);
}

.programme-item:hover .programme-content p {
    color: var(--text-dark);
}

.timeline-programme-impact {
    list-style: none;
    padding: 0;
    margin-top: 1.5rem;
}

.timeline-programme-impact li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 2rem;
    transition: var(--transition);
    border-bottom: 1px solid var(--bg-light);
}

.timeline-programme-impact li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-weight: bold;
    font-size: 1.3rem;
    transition: var(--transition);
}

.programme-item:hover .timeline-programme-impact li {
    padding-left: 2.5rem;
    border-bottom-color: var(--border-color);
}

.programme-item:hover .timeline-programme-impact li::before {
    transform: scale(1.3) rotate(360deg);
    color: var(--primary-color);
}

.programme-categories {
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 2px solid var(--bg-light);
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.category-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 25px;
    text-align: center;
    transition: var(--transition-slow);
    border-top: 4px solid var(--accent-color);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.1), transparent);
    transform: rotate(45deg);
    transition: transform 0.6s;
}

.category-card:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.category-card:hover {
    transform: translateY(-15px) rotate(-2deg);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05), rgba(37, 99, 235, 0.05));
    box-shadow: var(--shadow-2xl);
    border-top-color: var(--primary-color);
}

.category-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    transition: var(--transition);
    display: inline-block;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.category-card:hover .category-icon {
    transform: scale(1.3) rotate(15deg);
    filter: drop-shadow(0 8px 16px rgba(245, 158, 11, 0.4));
}

.category-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    z-index: 1;
}

.category-card:hover h4 {
    color: var(--secondary-color);
}

.category-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.category-card:hover p {
    color: var(--text-dark);
}

/* ===== Contact Page Styles ===== */
.contact-page {
    background: var(--bg-white);
    position: relative;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.contact-form-section {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s;
}

.contact-form-section:hover::before {
    transform: scaleX(1);
}

.contact-form-section h2,
.contact-info-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1rem;
}

.contact-form-section h2::after,
.contact-info-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.form-intro,
.contact-info-section p {
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-white);
    width: 100%;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transform: translateY(-2px);
    background: var(--bg-white);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: var(--primary-light);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input {
    margin-top: 0.3rem;
    width: auto;
    cursor: pointer;
}

.checkbox-group label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin-left: 10px;
}

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

.form-message {
    margin-top: 1rem;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    display: none;
    animation: slideDown 0.3s ease;
}

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

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.info-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition-slow);
    box-shadow: var(--shadow);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.info-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s;
}

.info-card:hover::before {
    transform: scaleY(1);
}

.info-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-xl);
    border-left-width: 6px;
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    display: inline-block;
    color: var(--primary-color);
}

.info-icon i {
    font-size: 2.5rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.info-card:hover .info-icon,
.info-card:hover .info-icon i {
    transform: scale(1.2) rotate(10deg);
    filter: drop-shadow(0 4px 8px rgba(168, 85, 247, 0.3));
    color: var(--secondary-color);
}

.info-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
    transition: var(--transition);
}

.info-card:hover h4 {
    color: var(--secondary-color);
}

.info-card p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.8;
    transition: var(--transition);
}

.info-card:hover p {
    color: var(--text-dark);
}

.contact-quick-links,
.social-contact {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 20px;
}

.contact-quick-links h3,
.social-contact h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.contact-quick-links ul {
    list-style: none;
    padding: 0;
}

.contact-quick-links li {
    margin-bottom: 0.8rem;
}

.contact-quick-links a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 500;
}

.contact-quick-links a:hover {
    color: var(--primary-color);
    background: var(--bg-white);
    padding-left: 1.5rem;
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.social-links-large {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link-large {
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: var(--transition);
    font-weight: 500;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.social-link-large::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.social-link-large:hover::before {
    width: 300px;
    height: 300px;
}

.social-link-large:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-xl);
}

.map-section {
    margin-top: 4rem;
    padding: 3rem;
    background: var(--bg-light);
    border-radius: 25px;
    box-shadow: var(--shadow-lg);
}

.map-section h2 {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.map-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.map-placeholder {
    background: var(--bg-white);
    padding: 4rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: var(--text-light);
    border: 2px dashed var(--border-color);
    transition: var(--transition);
}

.map-placeholder:hover {
    border-color: var(--primary-color);
    background: rgba(37, 99, 235, 0.02);
}

.map-placeholder p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.map-note {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(37, 99, 235, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-bottom:hover p {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    padding: 8px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-color);
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 45px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-xl);
        padding: 2rem 0;
        gap: 0;
        max-height: calc(100vh - 45px);
        overflow-y: auto;
    }
    


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

    .nav-menu li {
        margin: 0.5rem 0;
    }

    /* Mobile Dropdown Styles */
    .dropdown {
        position: relative;
    }

    .dropdown > .nav-link {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
    }

    .dropdown > .nav-link i {
        transition: transform 0.3s ease;
    }

    .dropdown.active > .nav-link i {
        transform: rotate(180deg);
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(168, 85, 247, 0.05);
        margin: 0;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, padding 0.3s ease;
        border-radius: 0;
        border: none;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li {
        margin: 0;
    }

    .dropdown-menu a {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
        color: var(--text-dark);
    }

    .dropdown-menu a:hover {
        background: rgba(168, 85, 247, 0.1);
        padding-left: 2rem;
    }

    .hamburger {
        display: flex;
    }

    .about-content,
    .mv-grid,
    .stats-grid,
    .footer-content,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-stats-preview {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .feature-item {
        height: 200px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .hero-title {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    /* Fix mobile background visibility */
    .section-bg-image {
        background-attachment: scroll !important;
        position: absolute !important;
    }
    
    .section-overlay {
        background: rgba(255, 255, 255, 0.95) !important;
    }
    
    .hero-video-bg {
        position: absolute !important;
    }
    
    .video-overlay {
        background: linear-gradient(135deg, rgba(168, 85, 247, 0.75) 0%, rgba(244, 114, 182, 0.7) 100%) !important;
    }
    
    .hero-content {
        text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5) !important;
    }
    
    section {
        padding: 60px 0 !important;
    }
    
    .services-page, .programmes-page, .contact-page {
        padding: 60px 0 !important;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .mv-card,
    .service-card,
    .contact-form-section {
        padding: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
    }
}

/* ===== NEW HOMEPAGE STYLES ===== */

/* Modern Font Override for Homepage */
.home-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
}

.home-page h1, .home-page h2, .home-page h3 {
    font-family: 'Syne', sans-serif;
}

/* Floating Objects */
.floating-objects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.floating-leaf {
    position: absolute;
    opacity: 0.15;
    transition: transform 0.1s linear;
}

.floating-leaf img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.leaf-1 { top: 15%; left: 5%; }
.leaf-2 { top: 40%; right: 8%; }
.leaf-3 { top: 60%; left: 3%; }
.leaf-4 { top: 25%; right: 3%; }
.leaf-5 { top: 75%; right: 5%; }

.floating-globe {
    position: absolute;
    top: 50%;
    right: 2%;
    opacity: 0.1;
}

.floating-globe img {
    width: 120px;
    height: 120px;
}

/* CTA Link in Nav */
.nav-link.cta-link {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
}

.nav-link.cta-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.nav-link.cta-link::before {
    display: none;
}

/* ===== Hero Introduction Section ===== */
.hero-intro {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 120px 0 80px;
    background: #ffffff;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.hero-bg-shapes .shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: rgba(168, 85, 247, 0.08);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: rgba(244, 114, 182, 0.06);
    bottom: -100px;
    left: -100px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(201, 169, 97, 0.05);
    top: 40%;
    left: 30%;
}

.hero-image-blend {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
    mask-image: linear-gradient(to left, rgba(0,0,0,0.3), transparent 80%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,0.3), transparent 80%);
}

.blend-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: multiply;
}

.blend-image.blend-1 {
    opacity: 0.6;
}

.blend-image.blend-2 {
    opacity: 0.4;
    transform: scale(1.1);
}

.hero-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease;
}

.hero-badge i {
    font-size: 0.9rem;
}

.hero-intro .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
    display: block;
    font-weight: 700;
    letter-spacing: -1px;
}

.title-line {
    display: block;
    animation: fadeInUp 0.8s ease backwards;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

.title-line.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-intro .hero-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    animation: fadeInUp 0.8s ease 0.5s backwards;
}

.hero-cta .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

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

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

.hero-stats {
    display: flex;
    gap: 2.5rem;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.hero-stats .stat-item {
    background: none;
    padding: 0;
    box-shadow: none;
    border: none;
    min-height: auto;
    text-align: left;
}

.hero-stats .stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Syne', sans-serif;
    display: inline;
}

.hero-stats .stat-suffix {
    font-size: 1.5rem;
    color: var(--secondary-color);
    font-weight: 700;
}

.hero-stats .stat-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.25rem;
    font-weight: 500;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
}

.hero-image-card {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.hero-image-card:first-child {
    width: 280px;
    height: 350px;
    top: 0;
    right: 0;
    z-index: 2;
}

.hero-image-card.floating {
    width: 220px;
    height: 280px;
    bottom: 20px;
    left: 20px;
    z-index: 3;
    animation: floatCard 6s ease-in-out infinite;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 1.5rem 1rem;
    color: white;
}

.image-overlay span {
    font-size: 0.9rem;
    font-weight: 600;
}

.floating-icon {
    position: absolute;
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    animation: floatIcon 4s ease-in-out infinite;
}

.floating-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.floating-icon.icon-1 {
    top: 20%;
    left: 40%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    top: 50%;
    right: 10%;
    animation-delay: 1s;
}

.floating-icon.icon-3 {
    bottom: 10%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

/* Scroll Prompt */
.scroll-prompt {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-prompt span {
    display: block;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-line {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    margin: 0 auto;
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

/* ===== VMV Section (Vision Mission Values) ===== */
.vmv-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.section-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(244, 114, 182, 0.03) 0%, transparent 40%);
    pointer-events: none;
}

.vmv-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.vmv-float {
    position: absolute;
    border-radius: 50%;
}

.vmv-circle-1 {
    width: 300px;
    height: 300px;
    border: 1px solid rgba(168, 85, 247, 0.1);
    top: 10%;
    right: -100px;
}

.vmv-circle-2 {
    width: 200px;
    height: 200px;
    border: 1px solid rgba(244, 114, 182, 0.1);
    bottom: 20%;
    left: -50px;
}

.vmv-dots {
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    top: 50%;
    left: 10%;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header.light {
    color: white;
}

.section-header.light .section-title,
.section-header.light .section-subtitle {
    color: white;
}

.section-header.light .section-tag {
    background: rgba(255,255,255,0.2);
    color: white;
}

.section-tag {
    display: inline-block;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* VMV Cards Grid */
.vmv-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.vmv-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    position: relative;
    min-height: 400px;
}

.vmv-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.vmv-card .card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.vmv-card .card-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.15;
    transition: all 0.5s ease;
}

.vmv-card:hover .card-bg-image img {
    opacity: 0.25;
    transform: scale(1.05);
}

.vmv-card .card-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vmv-card .card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

.vmv-card:hover .card-icon {
    transform: scale(1.1) rotate(-5deg);
}

.vmv-card .card-icon i {
    font-size: 1.8rem;
    color: white;
}

.vmv-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.vmv-card p {
    color: var(--text-light);
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.card-link:hover {
    gap: 1rem;
}

.card-link i {
    transition: transform 0.3s ease;
}

.card-link:hover i {
    transform: translateX(5px);
}

.card-decoration {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.vmv-card:hover .card-decoration {
    transform: scaleX(1);
}

/* ===== Components Section ===== */
.components-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.components-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.components-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.components-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.92), rgba(31, 92, 63, 0.95));
}

.components-section .container {
    position: relative;
    z-index: 2;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.component-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.component-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
}

.component-icon-wrapper {
    position: relative;
    width: 60px;
    height: 60px;
    margin-bottom: 1.5rem;
}

.component-icon-wrapper .icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.component-card:hover .icon-bg {
    transform: rotate(45deg);
}

.component-icon-wrapper i {
    position: relative;
    z-index: 2;
    font-size: 1.5rem;
    color: white;
    line-height: 60px;
    width: 60px;
    text-align: center;
}

.component-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.75rem;
}

.component-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.component-number {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.1);
    font-family: 'Syne', sans-serif;
}

.components-cta {
    text-align: center;
}

.btn-light {
    background: white;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-light:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* ===== Impact Section ===== */
.impact-section {
    padding: 100px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.impact-floating-objects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.impact-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(168, 85, 247, 0.1);
}

.impact-circle.circle-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    left: -100px;
}

.impact-circle.circle-2 {
    width: 250px;
    height: 250px;
    bottom: -50px;
    right: -50px;
}

.impact-line {
    position: absolute;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.2), transparent);
    top: 50%;
    right: 10%;
    transform: rotate(-45deg);
}

.impact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.impact-content .section-tag,
.impact-content .section-title {
    text-align: left;
}

.impact-description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin: 1.5rem 0 2rem;
}

.impact-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.impact-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.impact-feature i {
    color: var(--primary-color);
    font-size: 1rem;
}

.impact-feature span {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Impact Visual */
.impact-visual {
    position: relative;
    height: 500px;
}

.impact-image-stack {
    position: relative;
    height: 100%;
}

.impact-img {
    position: absolute;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

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

.impact-img.img-1 {
    width: 280px;
    height: 350px;
    top: 0;
    left: 0;
    z-index: 3;
}

.impact-img.img-2 {
    width: 220px;
    height: 280px;
    top: 50px;
    right: 20px;
    z-index: 2;
}

.impact-img.img-3 {
    width: 180px;
    height: 220px;
    bottom: 0;
    left: 40%;
    z-index: 1;
}

.impact-stat-badge {
    position: absolute;
    bottom: 80px;
    left: 200px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 4;
    animation: floatCard 5s ease-in-out infinite;
}

.badge-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Syne', sans-serif;
}

.badge-text {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ===== Partners Section ===== */
.partners-section {
    padding: 80px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.partners-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.partner-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(168, 85, 247, 0.03);
}

.partner-shape.shape-1 {
    width: 300px;
    height: 300px;
    top: -100px;
    right: 10%;
}

.partner-shape.shape-2 {
    width: 200px;
    height: 200px;
    bottom: -50px;
    left: 5%;
}

.partners-showcase {
    position: relative;
    overflow: hidden;
    margin: 3rem 0;
    padding: 2rem 0;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex !important; /* Always visible */
}

.partners-nav-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.partners-nav-btn.prev {
    left: 20px;
}

.partners-nav-btn.next {
    right: 20px;
}

.partners-track {
    display: flex;
    gap: 4rem;
    animation: scrollPartners 30s linear infinite;
    cursor: grab;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
}

.partners-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

@media (max-width: 768px) {
    .partners-track {
        animation: none;
        gap: 3rem;
        padding: 1rem 0;
        width: max-content;
        touch-action: pan-y;
    }
    
    .partners-track:hover {
        animation: none;
    }
}

.partners-track:active {
    cursor: grabbing;
}

/* ===== Partners Grid Layout ===== */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
    padding: 0 1rem;
}

.partner-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-logo-container {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
    padding: 2rem;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo-container {
    background: rgba(168, 85, 247, 0.1);
    transform: scale(1.1);
}

.partner-logo-container img {
    max-width: 100%;
    max-height: 100%;
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.partner-card:hover .partner-logo-container img {
    filter: grayscale(0%);
}

.partner-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: var(--primary-color);
}

@media (max-width: 1024px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-logo-container {
        width: 130px;
        height: 130px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1.2rem;
        padding: 0;
    }
    
    .partner-card {
        padding: 1.2rem;
    }
    
    .partner-logo-container {
        width: 110px;
        height: 110px;
        padding: 1.3rem;
    }
    
    .partner-name {
        font-size: 1rem;
    }
    
    .partners-showcase {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        position: relative;
    }
    
    .partners-nav-btn {
        display: flex !important;
        width: 60px;
        height: 60px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 10px;
        right: auto;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
        border: 2px solid var(--primary-color);
        border-radius: 50%;
        backdrop-filter: blur(15px);
        box-shadow: 0 6px 30px rgba(0,0,0,0.3);
        touch-action: manipulation;
        pointer-events: auto;
        -webkit-tap-highlight-color: transparent;
        user-select: none;
        outline: none;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .partners-nav-btn:hover {
        background: white;
        box-shadow: 0 8px 40px rgba(0,0,0,0.4);
        transform: translateY(-50%) scale(1.05);
    }
    
    .partners-nav-btn i {
        font-size: 20px;
        color: var(--primary-color);
    }
    
    .partners-nav-btn.next {
        right: 10px;
        left: auto;
    }
    
    .partners-track {
        gap: 3rem;
        padding: 1rem 0;
        width: max-content;
        touch-action: pan-y;
    }
    
    .partner-logo {
        min-width: 250px;
        padding: 2rem;
        flex-shrink: 0;
    }
    
    .partner-logo img {
        width: 150px;
        height: 150px;
    }
    
    .partner-logo span {
        font-size: 1rem;
    }
}

@keyframes scrollPartners {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% + 10px)); }
}

@keyframes scrollPartnersPaused {
    0% { transform: translateX(0); }
    100% { transform: translateX(0); }
}

.partner-logo {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    cursor: pointer; /* Add cursor pointer for clickable effect */
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .partner-logo:hover {
        transform: none;
        box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    }
    
    .partner-logo img:hover {
        filter: grayscale(100%) opacity(0.6);
    }
}

/* Partner Modal */
.partner-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
}

.partner-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 30px;
    border-radius: 15px;
    width: 80%;
    max-width: 600px;
    position: relative;
    text-align: center;
    animation: modalFadeIn 0.3s ease;
}

.partner-modal-close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    z-index: 1001;
}

.partner-modal-close:hover,
.partner-modal-close:focus {
    color: #000;
}

.partner-modal img {
    max-width: 150px;
    max-height: 150px;
    margin-bottom: 15px;
}

.partner-modal h3 {
    margin: 15px 0;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.partner-modal p {
    color: var(--text-light);
    line-height: 1.6;
}

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

/* Small Screen Adjustments for Partners Grid */
@media (max-width: 480px) {
    .partners-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .partner-card {
        padding: 1rem;
    }
    
    .partner-logo-container {
        width: 70px;
        height: 70px;
        padding: 0.8rem;
    }
    
    .partner-name {
        font-size: 0.9rem;
    }
}

.partner-logo img {
    width: 150px;
    height: 150px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.6);
    transition: filter 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
}

.partner-logo span {
    font-size: 1rem;
    color: var(--text-dark);
    font-weight: 600;
    white-space: nowrap;
}

.partner-cta {
    text-align: center;
    margin-top: 2rem;
}

.partner-cta p {
    font-size: 1.1rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.btn-outline-dark {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

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

/* ===== CTA Section (New) ===== */
.home-page .cta-section {
    padding: 100px 0;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(31, 92, 63, 0.95));
}

.cta-floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.cta-float {
    position: absolute;
}

.cta-float.cta-leaf {
    top: 20%;
    left: 10%;
    opacity: 0.3;
}

.cta-float.cta-leaf img {
    width: 80px;
    height: 80px;
    filter: brightness(10);
}

.cta-float.cta-heart {
    bottom: 20%;
    right: 10%;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.2);
}

.home-page .cta-section .cta-content {
    position: relative;
    z-index: 2;
}

.home-page .cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.home-page .cta-section p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: white;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.btn-outline-white {
    background: transparent;
    border: 2px solid white;
    color: white;
}

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

/* ===== New Footer Styles ===== */
.home-page .footer {
    margin-top: 0;
}

.footer-top {
    background: var(--text-dark);
    padding: 5rem 0 3rem;
    position: relative;
}

.footer-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(244, 114, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.footer-brand .footer-logo h2 {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.footer-brand .footer-logo p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.footer-links h4,
.footer-contact h4 {
    font-family: 'Syne', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1rem;
    width: 20px;
}

.registration {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 1.5rem 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.powered-by {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

/* ===== Homepage Responsive ===== */
@media (max-width: 1024px) {
    .hero-content-wrapper {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
    }
    
    .hero-visual {
        display: none;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .vmv-grid,
    .components-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .impact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .impact-visual {
        height: 400px;
    }
    
    .impact-content .section-tag,
    .impact-content .section-title {
        text-align: center;
    }
    
    .impact-description {
        text-align: center;
    }
    
    .impact-features {
        justify-items: center;
    }
    
    .impact-content .btn {
        display: block;
        margin: 0 auto;
        width: fit-content;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .hero-intro {
        padding: 110px 0 60px !important;
    }
    
    .hero-stats {
        flex-wrap: wrap;
        gap: 1.5rem;
    }
    
    .hero-stats .stat-item {
        min-width: 100px;
    }
    
    .vmv-grid,
    .components-grid {
        grid-template-columns: 1fr;
    }
    
    .impact-features {
        grid-template-columns: 1fr;
    }
    
    .impact-visual {
        height: 350px;
    }
    
    .impact-img.img-1 {
        width: 200px;
        height: 250px;
    }
    
    .impact-img.img-2 {
        width: 160px;
        height: 200px;
        right: 0;
    }
    
    .impact-img.img-3 {
        width: 140px;
        height: 180px;
        left: 30%;
    }
    
    .impact-stat-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .floating-objects {
        display: none;
    }
    
    .scroll-prompt {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vmv-card {
        min-height: 350px;
    }
}

/* ===== INNER PAGE STYLES ===== */

.inner-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #ffffff;
}

.inner-page h1, .inner-page h2, .inner-page h3 {
    font-family: 'Syne', sans-serif;
}

/* Page Hero */
.page-hero {
    position: relative;
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    overflow: hidden;
}

.page-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.9), rgba(31, 92, 63, 0.95));
}

.page-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.page-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.breadcrumb a:hover {
    opacity: 1;
}

.breadcrumb span {
    opacity: 0.7;
}

/* Content Section */
.content-section {
    padding: 80px 0;
    background: #ffffff;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text .lead-text {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-text p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.content-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(168, 85, 247, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-badge i {
    font-size: 0.8rem;
}

/* Content Image */
.content-image {
    position: relative;
}

.image-stack {
    position: relative;
    height: 500px;
}

.stack-img-1 {
    position: absolute;
    width: 300px;
    height: 380px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    top: 0;
    left: 0;
    z-index: 2;
}

.stack-img-2 {
    position: absolute;
    width: 250px;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
    bottom: 0;
    right: 0;
    z-index: 1;
}

.experience-badge {
    position: absolute;
    bottom: 100px;
    left: 200px;
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
    z-index: 3;
}

.exp-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: 'Syne', sans-serif;
}

.exp-text {
    display: block;
    font-size: 0.85rem;
    color: var(--text-light);
    font-weight: 500;
}

/* Approach Section */
.approach-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.approach-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.approach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.approach-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: transform 0.3s ease;
}

.approach-card:hover .approach-icon {
    transform: scale(1.1) rotate(-5deg);
}

.approach-icon i {
    font-size: 1.5rem;
    color: white;
}

.approach-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.approach-card p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Stats Banner */
.stats-banner {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.stats-banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stats-banner-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.92), rgba(31, 92, 63, 0.95));
}

.stats-banner .container {
    position: relative;
    z-index: 2;
}

.stats-banner-content h2 {
    color: white;
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}

.stats-banner-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-banner-item {
    color: white;
}

.stat-num {
    font-size: 3rem;
    font-weight: 800;
    font-family: 'Syne', sans-serif;
    display: inline;
}

.stat-plus {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-text {
    display: block;
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

/* ===== Certificates Section ===== */
.certificates-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.certificates-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.certificate-card {
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.certificate-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.certificate-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.certificate-card:hover::before {
    transform: scaleX(1);
}

.certificate-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bg-light), var(--bg-cream));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.certificate-icon i {
    font-size: 2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.certificate-card:hover .certificate-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.1);
}

.certificate-card:hover .certificate-icon i {
    color: white;
}

.certificate-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.certificate-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    transition: var(--transition);
}

.certificate-card:hover .certificate-content h3 {
    color: var(--primary-color);
}

.certificate-desc {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.certificate-number {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    font-family: 'Space Grotesk', monospace;
    margin-top: 0.5rem;
}

.certificate-download {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    margin-top: 1rem;
}

.certificate-download i {
    font-size: 0.9rem;
}

.certificate-download:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
    .certificates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .certificates-grid {
        grid-template-columns: 1fr;
    }
    
    .certificate-card {
        padding: 1.5rem;
    }
}

/* ===== News Marquee Section (Home Page) ===== */
.news-marquee-section {
    padding: 60px 0;
    background: var(--bg-white);
    overflow: hidden;
}

.news-marquee-header {
    text-align: center;
    margin-bottom: 2rem;
}

.news-marquee-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.news-marquee-header p {
    color: var(--text-light);
}

.news-marquee-wrapper {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}

.news-marquee-wrapper::before,
.news-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.news-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-white), transparent);
}

.news-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-white), transparent);
}

.news-marquee-track {
    display: flex;
    gap: 2rem;
    animation: marqueeScroll 30s linear infinite;
    width: max-content;
}

.news-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.news-marquee-item {
    flex-shrink: 0;
    width: 350px;
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.news-marquee-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.news-marquee-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.news-marquee-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-marquee-item:hover .news-marquee-image img {
    transform: scale(1.1);
}

.news-marquee-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
}

.news-marquee-content {
    padding: 1.25rem;
}

.news-marquee-date {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-marquee-content h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-marquee-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}

.news-marquee-cta {
    text-align: center;
    margin-top: 2rem;
}

/* ===== News & Events Page ===== */
.news-filter-section {
    padding: 40px 0 20px;
    background: var(--bg-white);
}

.news-filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
}

.filter-tab:hover {
    border-color: var(--primary-light);
    color: var(--primary-color);
}

.filter-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
    color: white;
}

.news-grid-section {
    padding: 40px 0 80px;
    background: var(--bg-white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.news-card {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.news-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
}

.news-date {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.95);
    color: var(--text-dark);
    font-size: 0.8rem;
    font-weight: 500;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-date i {
    color: var(--primary-color);
}

.news-card-content {
    padding: 1.5rem;
}

.news-card-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
    transition: var(--transition);
}

.news-card:hover .news-card-content h3 {
    color: var(--primary-color);
}

.news-card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.news-author {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.news-author i {
    color: var(--primary-color);
}

.news-read-more {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: var(--transition);
}

.news-read-more:hover {
    color: var(--secondary-color);
    gap: 0.6rem;
}

@media (max-width: 992px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-marquee-item {
        width: 300px;
    }
    
    .filter-tab {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Page CTA */
.page-cta {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
}

.page-cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.page-cta-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.page-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Showcase */
.services-showcase {
    padding: 0 0 80px;
    background: #ffffff;
}

.services-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-showcase-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
}

.service-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.service-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

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

.service-card-overlay {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

.service-number {
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
}

.service-card-content {
    padding: 1.5rem 2rem 2rem;
}

.service-icon-small {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.service-icon-small i {
    font-size: 1.2rem;
    color: white;
}

.service-card-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.service-card-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-features li i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

/* Process Section */
.process-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}

.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.process-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.process-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.95), rgba(31, 92, 63, 0.97));
}

.process-section .container {
    position: relative;
    z-index: 2;
}

.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.process-step {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(255,255,255,0.3);
    font-family: 'Syne', sans-serif;
    margin-bottom: 0.5rem;
}

.process-step h4 {
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-step p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    line-height: 1.5;
}

.process-connector {
    width: 40px;
    height: 2px;
    background: rgba(255,255,255,0.3);
}

/* Programmes Showcase */
.programmes-showcase {
    padding: 0 0 80px;
    background: #ffffff;
}

.programmes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.programme-showcase-card {
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    text-decoration: none;
    display: block;
}

.programme-showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.programme-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.programme-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.programme-showcase-card:hover .programme-image img {
    transform: scale(1.1);
}

.programme-overlay {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
}

.programme-tag {
    background: rgba(255,255,255,0.9);
    color: var(--primary-color);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.programme-content {
    padding: 1.5rem 2rem 2rem;
}

.programme-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.programme-icon i {
    font-size: 1.2rem;
    color: white;
}

.programme-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.programme-content p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.programme-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    transition: gap 0.3s ease;
}

.programme-showcase-card:hover .programme-link {
    gap: 1rem;
}

/* Programme Card Enhancements */
.programme-preview-stats {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    gap: 1rem;
    z-index: 3;
}

.programme-preview-stats span {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    backdrop-filter: blur(10px);
}

.programme-preview-stats span i {
    font-size: 0.75rem;
}

.programme-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1rem;
}

.programme-highlights li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.35rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.programme-highlights li i {
    color: var(--secondary-color);
    font-size: 0.7rem;
}

.programme-showcase-card:hover .programme-highlights li {
    color: var(--text-dark);
}

/* Contact Main Section */
.contact-main-section {
    padding: 80px 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
}

.contact-form-wrapper,
.contact-info-wrapper {
    background: white;
}

.contact-form-header,
.contact-info-header {
    margin-bottom: 2rem;
}

.contact-form-header h2,
.contact-info-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-form-header p,
.contact-info-header p {
    color: var(--text-light);
}

.modern-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group .required {
    color: #e74c3c;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.1);
}

.checkbox-group {
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
}

.checkbox-group input {
    width: auto;
    margin-top: 0.25rem;
}

.checkbox-group label {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-light);
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: fit-content;
}

/* Contact Info Cards */
.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background: rgba(168, 85, 247, 0.1);
}

.info-card-icon {
    width: 50px;
    height: 50px;
    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-card-icon i {
    font-size: 1.2rem;
    color: white;
}

.info-card-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.info-card-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.5;
}

.contact-social {
    margin-bottom: 2rem;
}

.contact-social h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.social-links-row {
    display: flex;
    gap: 0.75rem;
}

.social-link-circle {
    width: 45px;
    height: 45px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link-circle:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.quick-links-box {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: 15px;
}

.quick-links-box h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.quick-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

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

.quick-link-item:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.quick-link-item i {
    color: var(--primary-color);
}

/* Map Section Modern */
.map-section-modern {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--border-color);
}

.map-placeholder-modern {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(244, 114, 182, 0.05));
    padding: 4rem 2rem;
    border-radius: 24px;
    text-align: center;
}

.map-icon {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.map-placeholder-modern h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.map-placeholder-modern p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* VMV Detail Section */
.vmv-detail-section {
    padding: 80px 0;
    background: #ffffff;
}

.vmv-detail-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 3rem;
}

.vmv-icon-large {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vmv-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.vmv-detail-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.vmv-lead {
    font-size: 1.25rem;
    color: var(--text-dark);
    font-weight: 500;
    line-height: 1.7;
}

.vmv-image-section {
    margin-bottom: 3rem;
}

.vmv-image-section img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.vmv-text-content {
    max-width: 800px;
}

.vmv-text-content p {
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.vmv-pillars {
    margin-top: 4rem;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pillars-grid.four-cols {
    grid-template-columns: repeat(4, 1fr);
}

.pillar-card {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.pillar-card:hover {
    background: white;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}

.pillar-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.pillar-icon i {
    font-size: 1.5rem;
    color: white;
}

.pillar-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Inner Page Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .content-image {
        order: -1;
    }
    
    .image-stack {
        height: 400px;
    }
    
    .approach-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-showcase-grid {
        grid-template-columns: 1fr;
    }
    
    .programmes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid,
    .pillars-grid.four-cols {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .page-hero {
        min-height: 40vh;
        padding: 120px 0 60px;
    }
    
    .approach-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-banner-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .programmes-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-connector {
        width: 2px;
        height: 30px;
    }
    
    .pillars-grid,
    .pillars-grid.four-cols {
        grid-template-columns: 1fr;
    }
    
    .vmv-detail-wrapper {
        flex-direction: column;
        text-align: center;
    }
    
    .vmv-icon-large {
        margin: 0 auto;
    }
    
    .vmv-image-section img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .page-cta-buttons {
        flex-direction: column;
    }
    
    .page-cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .stack-img-1 {
        width: 200px;
        height: 260px;
    }
    
    .stack-img-2 {
        width: 160px;
        height: 200px;
    }
    
    .experience-badge {
        left: 50%;
        transform: translateX(-50%);
        bottom: 50px;
    }
}

/* ===== Programme Gallery Section ===== */
.programme-gallery {
    padding: 80px 0;
    background: var(--bg-light);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    width: 100%;
    max-width: 100%;
}

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

.gallery-item img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

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

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(168, 85, 247, 0.9), transparent 60%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item-overlay span {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.gallery-item-overlay i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    color: white;
    font-size: 2rem;
    transition: transform 0.3s ease;
}

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

/* ===== Programme Documents Section ===== */
.programme-documents {
    padding: 80px 0;
    background: var(--bg-white);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.document-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
    text-decoration: none;
    color: inherit;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.document-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.document-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.document-icon.pdf {
    background: linear-gradient(135deg, #ff6b6b, #ee5a5a);
    color: white;
}

.document-icon.doc {
    background: linear-gradient(135deg, #4dabf7, #339af0);
    color: white;
}

.document-icon.docx {
    background: linear-gradient(135deg, #5c7cfa, #4263eb);
    color: white;
}

.document-info {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.document-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    word-break: break-word;
}

.document-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.document-info p i {
    font-size: 0.75rem;
}

.document-download {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    transition: var(--transition);
    flex-shrink: 0;
}

.document-card:hover .document-download {
    background: var(--primary-color);
    color: white;
}

/* Lightbox for Gallery */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.lightbox.active {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 10px;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.25rem;
}

.lightbox-nav:hover {
    background: var(--primary-color);
}

.lightbox-prev {
    left: -70px;
}

.lightbox-next {
    right: -70px;
}

.lightbox-caption {
    text-align: center;
    color: white;
    margin-top: 1rem;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .programme-gallery,
    .programme-documents {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        width: 100%;
        max-width: 100%;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    
    .documents-grid {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
        gap: 1rem;
    }
    
    .document-card {
        width: 100%;
        max-width: 100%;
        padding: 1.25rem;
        gap: 1rem;
    }
    
    .lightbox-nav {
        display: none;
    }
    
    .lightbox-content {
        max-width: 95vw;
    }
}

@media (max-width: 480px) {
    .programme-gallery,
    .programme-documents {
        padding: 40px 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
    }
    
    .gallery-item {
        width: 100%;
        max-width: 100%;
    }
    
    .documents-grid {
        gap: 0.75rem;
        width: 100%;
        max-width: 100%;
    }
    
    .document-card {
        padding: 1rem;
        gap: 0.75rem;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
    }
    
    .document-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
        flex-shrink: 0;
    }
    
    .document-info {
        min-width: 0;
        flex: 1;
    }
    
    .document-info h4 {
        font-size: 0.9rem;
    }
    
    .document-info p {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .document-download {
        width: 35px;
        height: 35px;
        flex-shrink: 0;
    }
}

/* ===== Legal Content Styles ===== */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-dark);
}

.legal-content p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1.25rem;
    font-size: 1rem;
}

.content-text.legal-content {
    padding: 0;
}

.legal-content h2.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
    font-family: 'Syne', sans-serif;
}

.legal-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Syne', sans-serif;
}

.legal-content h2:first-of-type {
    margin-top: 2rem;
}

.legal-list {
    margin-left: 2rem;
    margin-bottom: 1.5rem;
    padding-left: 0;
    list-style: none;
}

.legal-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-light);
    line-height: 1.8;
}

.legal-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.legal-list li strong {
    color: var(--text-dark);
    font-weight: 600;
}

.text-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.text-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.contact-info-box {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    border-left: 4px solid var(--primary-color);
}

.contact-info-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.contact-info-item {
    color: var(--text-light);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    line-height: 1.8;
}

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

.contact-info-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-info-item a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.contact-info-item a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-content h2.section-title {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }
    
    .legal-content h3 {
        font-size: 1.15rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
}
