/* Floating background icons */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 6s infinite ease-in-out;
}

.floating-icon:nth-child(even) {
    animation-duration: 8s;
}

.floating-icon:nth-child(3n) {
    animation-duration: 10s;
}

.floating-icon i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(10deg);
    }
}

/* Particle animation background */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255,255,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255,255,255,0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    z-index: 1;
}

/* Dark theme specific adjustments */
[data-theme="dark"] .hero::before {
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0,102,255,0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0,204,255,0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0,102,255,0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(0,204,255,0.3), transparent);
}

[data-theme="dark"] .floating-icon {
    background: rgba(0, 102, 255, 0.1);
}

[data-theme="dark"] .floating-icon i {
    color: rgba(0, 204, 255, 0.7);
}

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); }
    33% { transform: translateY(-20px) translateX(10px); }
    66% { transform: translateY(-10px) translateX(-5px); }
    100% { transform: translateY(0px) translateX(0px); }
}

/* Main Styles */
:root {
    /* Keep original colors for all other pages */
    --primary: #0066FF;
    --secondary: #00CCFF;
    --dark-text: #333333;
    --light-text: #FFFFFF;
    --background: #F5F7FA;
    --green: #4CAF50;
    --yellow: #FFC107;
    --blue: #2196F3;
    
    /* Attijariwafa Bank Brand Colors - ONLY for program-details */
    --brand-primary: #8B1538;        /* Dark Red/Burgundy */
    --brand-secondary: #D4AF37;       /* Gold */
    --brand-primary-dark: #6B0F2A;    /* Darker burgundy */
    --brand-secondary-light: #F4E4A6; /* Light gold */
    --brand-accent: #C41E3A;          /* Bright red accent */
    
    /* Dark theme variables */
    --bg-primary: #F5F7FA;
    --bg-secondary: #FFFFFF;
    --text-primary: #333333;
    --text-secondary: #666666;
    --border-color: #E5E5E5;
    --card-bg: #FFFFFF;
    --shadow: rgba(0, 0, 0, 0.1);
}

/* Dark theme */
[data-theme="dark"] {
    --bg-primary: #0F0F23;
    --bg-secondary: #1A1A2E;
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0B0;
    --border-color: #2A2A3E;
    --card-bg: #16213E;
    --shadow: rgba(0, 0, 0, 0.3);
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Enhanced Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light-text);
    font-weight: 600;
    border: 2px solid var(--primary);
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
    font-weight: 500;
}

.btn-secondary:hover {
    background: var(--light-text);
    color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* BRAND STYLES - ONLY FOR PROGRAM-DETAILS PAGE */
body.program-details-page .btn-primary {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, #E6C547 100%);
    color: var(--brand-primary);
    font-weight: 600;
    border: 2px solid var(--brand-secondary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

body.program-details-page .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #E6C547 0%, var(--brand-secondary) 100%);
}

body.program-details-page .btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--light-text);
    font-weight: 500;
}

body.program-details-page .btn-secondary:hover {
    background: var(--light-text);
    color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Scroll Animation Styles */
.scroll-animate {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}

.scroll-animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.scroll-animate-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.scroll-animate-scale.animate {
    opacity: 1;
    transform: scale(1);
}

.scroll-animate-fade {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.scroll-animate-fade.animate {
    opacity: 1;
}

/* Staggered animation delays */
.scroll-animate:nth-child(1) { transition-delay: 0.1s; }
.scroll-animate:nth-child(2) { transition-delay: 0.2s; }
.scroll-animate:nth-child(3) { transition-delay: 0.3s; }
.scroll-animate:nth-child(4) { transition-delay: 0.4s; }
.scroll-animate:nth-child(5) { transition-delay: 0.5s; }

/* Text reveal effect */
.text-reveal {
    overflow: hidden;
    position: relative;
}

.text-reveal .char {
    display: inline-block;
    transform: translateY(100%);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.text-reveal.animate .char {
    transform: translateY(0%);
}

.text-reveal .char:nth-child(1) { transition-delay: 0.1s; }
.text-reveal .char:nth-child(2) { transition-delay: 0.2s; }
.text-reveal .char:nth-child(3) { transition-delay: 0.3s; }
.text-reveal .char:nth-child(4) { transition-delay: 0.4s; }
.text-reveal .char:nth-child(5) { transition-delay: 0.5s; }
.text-reveal .char:nth-child(6) { transition-delay: 0.6s; }
.text-reveal .char:nth-child(7) { transition-delay: 0.7s; }
.text-reveal .char:nth-child(8) { transition-delay: 0.8s; }
.text-reveal .char:nth-child(9) { transition-delay: 0.9s; }
.text-reveal .char:nth-child(10) { transition-delay: 1.0s; }
.text-reveal .char:nth-child(11) { transition-delay: 1.1s; }
.text-reveal .char:nth-child(12) { transition-delay: 1.2s; }
.text-reveal .char:nth-child(13) { transition-delay: 1.3s; }
.text-reveal .char:nth-child(14) { transition-delay: 1.4s; }
.text-reveal .char:nth-child(15) { transition-delay: 1.5s; }
.text-reveal .char:nth-child(16) { transition-delay: 1.6s; }
.text-reveal .char:nth-child(17) { transition-delay: 1.7s; }
.text-reveal .char:nth-child(18) { transition-delay: 1.8s; }
.text-reveal .char:nth-child(19) { transition-delay: 1.9s; }
.text-reveal .char:nth-child(20) { transition-delay: 2.0s; }

/* Override text-reveal for section titles to ensure they're always visible */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    /* Ensure section titles are always visible and not affected by text-reveal */
    overflow: visible !important;
    position: static !important;
}

.section-title .char {
    display: inline !important;
    transform: none !important;
    transition: none !important;
}

/* Prevent text-reveal class from affecting section titles */
.section-title.text-reveal {
    overflow: visible !important;
}

.section-title.text-reveal .char {
    transform: translateY(0%) !important;
    transition: none !important;
}

/* Parallax effect for hero section */
.hero {
    position: relative;
    overflow: hidden;
}

.hero .hero-content {
    transform: translateZ(0);
    will-change: transform;
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Enhanced stats animation */
.stats {
    position: relative;
    overflow: hidden;
}

.stat-item {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

.stat-item.animate {
    transform: translateY(0);
    opacity: 1;
}

/* Startup cards animation */
.startup-card {
    transition: all 0.3s ease;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.startup-card:hover {
    transform: rotateY(-5deg) rotateX(5deg) translateZ(30px);
    box-shadow: 
        -10px 20px 30px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255,255,255,0.1);
}

/* Testimonial cards animation */
.testimonial-card {
    transition: all 0.3s ease;
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* Partner logos animation */
.partner-logo {
    transition: all 0.3s ease;
    opacity: 0.7;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

/* Enhanced Advantages Section */
.program-advantages {
    background: linear-gradient(180deg, #731919 0%, #e52b2b 100%);
    color: white;
    padding: 100px 0; /* Increased from 80px for better proportion */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
    margin-top: 0; /* Remove any top margin */
    margin-bottom: 0; /* Ensure no bottom margin for consistency */
}

/* Ensure body and html don't interfere with sticky positioning */
body.program-details-page {
    overflow-x: hidden;
    overflow-y: visible; /* Critical for sticky to work */
}

/* Ensure program content doesn't interfere */
.program-content {
    overflow: visible;
}

/* Add a subtle transition element before advantages section */
.program-advantages::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    right: 0;
    height: 40px;
    background: linear-gradient(to bottom, transparent 0%, rgba(37, 99, 235, 0.1) 100%);
    z-index: -1;
}

/* Brand styling for program-details page */
body.program-details-page .program-advantages {
    background: linear-gradient(180deg, #731919 0%, #e52b2b 100%);
}

body.program-details-page .program-advantages::before {
    background: linear-gradient(to bottom, transparent 0%, rgba(115, 25, 25, 0.1) 100%);
}

.advantages-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

.advantages-header {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.advantages-header .section-title {
    text-align: left;
    margin-bottom: 20px;
}

.advantages-header h2:not(.section-title) {
    width: 100%;
    text-align: left;
    margin-bottom: 40px;
}

.advantages-content {
    width: 100%;
    color: white;
}

.advantages-bottom {
    display: grid;
    grid-template-columns: 1fr 2.5fr;
    gap: 60px;
    align-items: start;
    width: 100%;
}

.advantages-content {
    color: white;
}

.advantages-subtitle {
    color: var(--secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
}

body.program-details-page .advantages-subtitle {
    color: var(--brand-secondary);
}

.advantages-content h2 {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 30px;
    color: white;
}

/* Add this rule for smaller h2 elements in advantages content */
.advantages-content .advantages-header h2:not(.section-title) {
    font-size: 18px !important;
    font-weight: 500;
    line-height: 1.5;
}

.view-all-link {
    color: white;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 40px;
    transition: opacity 0.3s ease;
}

.view-all-link:hover {
    opacity: 0.8;
}

.advantages-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-width: none;
    width: 100%;
}

.advantage-item {
    background: transparent;
    padding: 20px 25px;
    border-radius: 0;
    margin-bottom: 15px;
    border-left: none;
    font-weight: bold;
    color: white;
    box-shadow: none;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

body.program-details-page .advantage-item {
    background: transparent;
    border-left: none;
    color: white;
    font-weight: bold;
}

.advantage-item:hover {
    transform: translateX(10px);
    box-shadow: none;
    background: transparent;
    color: white;
}

body.program-details-page .advantage-item:hover {
    background: transparent;
    color: white;
}

.advantage-item.active {
    background: white;
    color: #e52b2b;
    font-weight: bold;
    transform: translateX(15px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

body.program-details-page .advantage-item.active {
    background: white;
    color: #e52b2b;
    font-weight: bold;
}

.advantage-title {
    flex: 1;
}

.advantage-arrow {
    font-size: 14px;
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.advantage-item.active .advantage-arrow {
    transform: rotate(90deg);
    opacity: 1;
}

.advantages-description {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.4s ease;
}

.advantages-description h4 {
    color: var(--primary);
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

body.program-details-page .advantages-description h4 {
    color: var(--brand-primary);
}

.advantages-description p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
    font-size: 14px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.advantages-visual {
    position: relative;
    width: 100%;
    max-width: none;
}

.advantages-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    object-fit: cover;
    min-height: 280px; /* Reduced from 400px */
    max-height: 320px; /* Added max-height to limit the image height */
}

.advantages-description {
    background: rgba(255, 255, 255, 0.95);
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantages-description p {
    margin: 0;
    color: #374151;
    line-height: 1.6;
    font-size: 14px;
}

@media (max-width: 768px) {
    .program-info-content {
        margin-bottom: 60px;
        padding-bottom: 30px;
    }
    
    .advantages-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .advantages-bottom {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .advantages-visual img {
        min-height: 200px;
        max-height: 240px; /* Smaller maximum height on mobile */
    }
    
    .advantages-content h2 {
        font-size: 24px;
    }
    
    /* Responsive design for smaller h2 elements */
    .advantages-content .advantages-header h2:not(.section-title) {
        font-size: 16px !important;
    }
    
    .program-advantages {
        padding: 80px 0;
    }
    
    .program-advantages::before {
        top: -30px;
        height: 30px;
    }
    
    body.program-details-page .program-nav {
        margin-top: -10px;
        position: sticky;
        top: 0;
        z-index: 1100;
        background: var(--light-text);
        width: 100%;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: white;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, padding 0.3s ease;
    padding: 10px 0; /* Reduced from 15px to 10px */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled {
    background-color: white;
    padding: 6px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.scrolled .logo a {
    color: var(--dark-text);
}

.header.scrolled .main-nav a {
    color: var(--dark-text);
}

.header.scrolled .main-nav a:hover, 
.header.scrolled .main-nav a.active {
    color: var(--primary);
}

.header.scrolled .cta-button a {
    /* Keep the button styling */
    color: var(--light-text);
}

.header.scrolled .language-selector a {
    color: var(--dark-text);
}

/* White header for specific pages */
.header.white-header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header.white-header .logo a,
.header.white-header .main-nav a,
.header.white-header .language-selector a {
    color: var(--dark-text);
}

.header.white-header .main-nav a:hover,
.header.white-header .main-nav a.active {
    color: var(--primary);
}

.header.white-header .mobile-menu-toggle span {
    background-color: var(--dark-text);
}

/* Make CTA button text black in white header */
.header.white-header .cta-button .btn {
    border-color: var(--dark-text);
    color: var(--dark-text);
}

.header.white-header .cta-button .btn:hover {
    background-color: var(--dark-text);
    color: var(--light-text);
}

/* Remove header border/shadow for program-details page */
body.program-details-page .header.white-header {
    box-shadow: none;
}

body.program-details-page .header.scrolled {
    box-shadow: none;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header .logo {
    margin-left: -20px;
}

.logo a {
    font-size: 28px;
    font-weight: 700;
    color: var(--light-text);
    transition: color 0.3s ease;
}

.main-nav ul {
    display: flex;
    gap: 30px;
}

.main-nav a {
    font-size: 16px;
    color: #183e79;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a:hover, .main-nav a.active {
    color: #0f2a4a;
}

.main-nav a:hover::after, .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
}

/* Dropdown Menu Styles */
.main-nav .dropdown {
    position: relative;
}

.main-nav .dropdown-toggle {
    padding-right: 15px;
}

.main-nav .dropdown-toggle::after {
    content: '\f107'; /* FontAwesome down arrow */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.main-nav .dropdown:hover .dropdown-toggle::after {
    transform: translateY(-50%) rotate(180deg);
}

.main-nav .dropdown-menu {
    position: absolute;
    top: 100%;
    left: -15px;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.main-nav .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav .dropdown-menu li {
    display: block;
    margin: 0;
}

.main-nav .dropdown-menu a {
    color: var(--dark-text);
    padding: 8px 20px;
    display: block;
    font-size: 14px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.main-nav .dropdown-menu a:hover {
    background-color: rgba(0, 0, 0, 0.05);
    color: var(--primary);
}

.main-nav .dropdown-menu a:hover::after {
    display: none;
}

/* Adjust for white header */
.header.white-header .main-nav .dropdown-menu {
    background-color: white;
}

.header.white-header .main-nav .dropdown-menu a {
    color: var(--dark-text);
}

.header.white-header .main-nav .dropdown-menu a:hover {
    color: var(--primary);
}

/* Adjust for scrolled header */
.header.scrolled .main-nav .dropdown-menu {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
}

.cta-button .btn {
    background-color: transparent;
    border: 1px solid #183e79;
    color: #183e79;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.cta-button .btn:hover {
    background-color: var(--light-text);
    color: var(--primary);
}

.language-selector a {
    color: #183e79;
    font-weight: 500;
    transition: color 0.3s ease;
}

/* Dark theme toggle button styles */
.theme-toggle {
    position: relative;
    width: 50px;
    height: 25px;
    background: var(--border-color);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px;
}

.theme-toggle::before {
    content: '';
    position: absolute;
    width: 21px;
    height: 21px;
    background: var(--light-text);
    border-radius: 50%;
    transition: all 0.3s ease;
    left: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle {
    background: var(--primary);
}

[data-theme="dark"] .theme-toggle::before {
    transform: translateX(25px);
    background: var(--light-text);
}

.theme-toggle i {
    font-size: 12px;
    color: var(--text-secondary);
    z-index: 1;
}

.theme-toggle .fa-sun {
    color: #FFA500;
}

.theme-toggle .fa-moon {
    color: #4A90E2;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--light-text);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    color: var(--light-text);
    overflow: hidden;
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(0, 18, 51, 0.95) 0%, rgba(10, 36, 114, 0.85) 50%, rgba(14, 107, 168, 0.75) 100%);
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('path/to/pattern.png');
    opacity: 0.05;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 60px;
}

.hero-text {
    flex: 1;
    max-width: 550px;
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 24px;
    font-weight: 300;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-video-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.video-wrapper {
    width: 100%;
    max-width: 550px;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
}

.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Reduced opacity */
}

.message-box {
    position: absolute;
    top: 50%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%) rotate(-2deg); /* Center and maintain rotation */
    background-color: var(--primary);
    padding: 15px 30px;
    border-radius: 8px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 3;
    text-align: center;
}

.message-box h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--light-text);
    margin: 0;
    white-space: nowrap;
}

.social-icons {
    position: absolute;
    bottom: 40px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    z-index: 3;
}

.social-icons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

/* Responsive adjustments for hero section */
@media (max-width: 992px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text {
        max-width: 100%;
        margin-bottom: 40px;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 20px;
    }
    
    .video-wrapper {
        max-width: 100%;
        transform: perspective(1000px) rotateY(0deg);
    }
    
    .message-box {
        right: 0;
        bottom: 20px;
    }
    
    .message-box h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .message-box {
        padding: 10px 20px;
    }
    
    .message-box h2 {
        font-size: 24px;
    }
}

/* Mission Section */
.mission {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.mission-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.mission-text {
    flex: 1;
}

.section-subtitle {
    font-size: 50px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
    margin-left: 85px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mission-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Programs Section */
.programs {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--light-text);
}

.programs .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--light-text); /* Explicitly set to white */
}

/* ===== IMPROVED CLEAN PROGRAM CARD STYLES ===== */

/* Programs Grid */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
    padding: 0 10px;
}

/* Program Card */
.program-card {
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    color: #333;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    min-height: 450px;
}

.program-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-8px);
}

.program-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Program Image */
.program-image {
    position: relative;
    height: 220px;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.08);
}

/* Program Tags */
.program-tags {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 8px;
    z-index: 3;
    flex-wrap: wrap;
}

.tag {
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    white-space: nowrap;
}

.tag.startup {
    background: linear-gradient(135deg, #FFC107 0%, #FF8F00 100%);
    color: #333;
}

.tag.fintech {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
}

.tag.economie-verte {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
}

.tag.iot {
    background: linear-gradient(135deg, #2196F3 0%, #1565C0 100%);
    color: white;
}

.tag.community {
    background: linear-gradient(135deg, #9C27B0 0%, #6A1B9A 100%);
    color: white;
}

.tag-green {
    background-color: var(--green);
    color: var(--light-text);
}

.tag-yellow {
    background-color: var(--yellow);
    color: var(--dark-text);
}

.tag-blue {
    background-color: var(--blue);
    color: var(--light-text);
}

/* Program Content */
.program-content {
    padding: 25px;
    background-color: white;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.program-title {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.program-description {
    font-size: 15px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0;
    flex-grow: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.program-content p {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #4B5563; /* Slightly lighter than black for better readability */
}

/* Program Meta Information */
.program-meta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
    padding: 15px 0;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
}


.program-duration {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #6b7280;
    font-weight: 500;
}


.program-duration i {
    color: #9ca3af;
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.program-countdown {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Program Actions */
.program-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
    padding-top: 5px;
}

.program-actions .btn {
    flex: 1;
    text-align: center;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.program-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.program-actions .btn-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.program-actions .btn-secondary {
    background: transparent;
    color: #3b82f6;
    border: 2px solid #3b82f6;
}

.program-actions .btn-secondary:hover {
    background: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.programs-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.programs-pagination span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.programs-pagination span.active {
    background-color: var(--light-text);
    width: 30px;
    border-radius: 5px;
}

/* Stats Section */
.stats {
    padding: 100px 0;
    background-color: var(--bg-secondary);
    color: var(--text-primary);
    position: relative;
    overflow: hidden;
    transition: background-color 0.3s ease;
}

.stats .section-title {
    text-align: center;
    margin-bottom: 20px;
}

.stats-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: var(--text-primary);
    font-size: 16px;
    line-height: 1.6;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
}

.stat-item {
    text-align: center;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.6s ease-out;
}

.stat-item.animate {
    transform: translateY(0);
    opacity: 1;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary); /* Keep the blue color for numbers */
    margin-bottom: 10px;
    display: block; /* Ensure proper display */
}

.stat-label {
    font-size: 16px;
    color: var(--text-primary);
    font-weight: 600;
    margin-top: 5px;
    display: block;
}

/* Startups Section */
.startups {
    padding: 100px 0;
    background-color: var(--primary);
    color: var(--light-text);
}

.startups .section-title {
    text-align: center;
    margin-bottom: 50px;
    color: var(--light-text); /* Explicitly set to white */
}

.startups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.startup-card {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: all 0.3s ease;
    color: #333333;
}

.startup-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
    color: var(--light-text); /* White text on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.startup-logo {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    background-color: var(--light-text);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.startup-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.startup-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
}

.startup-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
    opacity: 0.8;
}

.startup-meta .location::before {
    content: '📍';
    margin-right: 5px;
}

.startup-meta .industry::before {
    content: '🏢';
    margin-right: 5px;
}

.startup-card p {
    font-size: 14px;
    line-height: 1.6;
}

.startups-navigation {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--light-text);
    border: 1px solid #eee;
    color: var(--primary);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background-color: var(--primary);
    color: var(--light-text);
    border-color: var(--primary);
}

.nav-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 5px;
    }
    
    .program-card {
        min-height: auto;
    }
    
    .program-image {
        height: 200px;
    }
    
    .program-content {
        padding: 20px;
    }
    
    .program-title {
        font-size: 18px;
    }
    
    .program-description {
        font-size: 14px;
        -webkit-line-clamp: 4;
    }
    
    .program-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .program-actions .btn {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .programs-navigation {
        margin-top: 30px;
        gap: 20px;
    }

    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .program-tags {
        top: 10px;
        left: 10px;
        gap: 6px;
    }
    
    .tag {
        padding: 6px 10px;
        font-size: 10px;
    }
    
    .program-content {
        padding: 15px;
    }
}

.startups-navigation button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--light-text);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.startups-navigation button:hover {
    background-color: var(--light-text);
    color: var(--primary);
}

/* Mobile Menu Styles */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: linear-gradient(135deg, #183e79 0%, #0f2a4a 100%);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.mobile-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav li {
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.mobile-nav li:last-child {
    border-bottom: none;
}

.mobile-nav a {
    color: white;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 10px 0;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav a:hover {
    color: #D4AF37;
    transform: translateX(10px);
}

.mobile-nav a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.mobile-nav a:hover::before {
    width: 15px;
}

.mobile-cta {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-cta .btn {
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, #D4AF37 0%, #E6C547 100%);
    color: #183e79;
    border: 2px solid #D4AF37;
    font-weight: 600;
    margin-bottom: 15px;
}

.mobile-cta .btn:hover {
    background: linear-gradient(135deg, #E6C547 0%, #D4AF37 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.mobile-language {
    margin-top: 20px;
    text-align: center;
}

.mobile-language a {
    color: white;
    font-size: 16px;
    font-weight: 600;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.mobile-language a:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

/* Mobile Menu Toggle Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 40px;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .mission-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .main-nav, .cta-button, .language-selector {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero p {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .programs-grid, .stats-grid, .startups-grid {
        grid-template-columns: 1fr;
    }
    
    /* Program Card Responsive */
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-card {
        margin: 0 10px;
    }
    
    .program-actions {
        flex-direction: column;
    }
    
    .program-actions .btn {
        flex: none;
    }
    
    .header .logo {
        margin-left: 0; /* Reset negative margin on mobile */
    }
}

@media (max-width: 480px) {
    .mobile-menu {
        width: 280px;
        padding: 70px 25px 25px;
    }
    
    .mobile-nav a {
        font-size: 16px;
    }
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(to bottom right, #0A2472, #0E6BA8);
    color: var(--light-text);
}

.testimonials .section-title {
    text-align: center;
    margin-bottom: 10px;
    color: var(--light-text); /* Explicitly set to white */
}

.testimonials-subtitle {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
}

.testimonials-description {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 50px;
    opacity: 0.8;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.testimonial-card h4 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--primary);
}

.testimonial-card p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-info span {
    font-size: 14px;
    opacity: 0.7;
}

.testimonials-navigation {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonials-navigation button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: none;
    color: var(--light-text);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonials-navigation button:hover {
    background-color: var(--light-text);
    color: var(--primary);
}

/* Partners Section */
.partners, .partners-section {
    padding: 120px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.partners h2, .partners-section h2 {
    text-align: center;
    margin-bottom: 70px; /* Increased from 50px */
    font-size: 42px; /* Increased from 36px for more prominence */
    color: var(--dark-text);
}

.partners-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px; /* Increased from 80px for more spacing */
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1600px; /* Increased from 1400px to allow for larger logos */
    padding: 0 20px; /* Added padding for better mobile display */
}

.partner-logo {
    max-width: 400px; /* Increased from 350px */
    height: 180px; /* Increased from 150px */
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(0%); /* Keeping colors visible */
    opacity: 0.7;
    transition: all 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.partner-logo img {
    max-width: 100%; /* Ensure image doesn't exceed container width */
    max-height: 100%; /* Ensure image doesn't exceed container height */
    object-fit: contain;
}

/* Program Details Page - Partners Section with 2 rows layout */
body.program-details-page .partners-section .partners-grid {
    display: flex;
    flex-direction: column;
    gap: 60px;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1400px;
    padding: 0 20px;
}

body.program-details-page .partners-section .partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    flex-wrap: wrap;
    width: 100%;
}

body.program-details-page .partners-section .partners-row.first-line {
    /* Styling for the main Attijariwafa Bank group */
    margin-bottom: 20px;
}

body.program-details-page .partners-section .partners-row.second-line {
    /* Styling for other subsidiaries */
    opacity: 0.9;
}

body.program-details-page .partners-section .partner-logo {
    max-width: 280px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: grayscale(0%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

body.program-details-page .partners-section .partner-logo:hover {
    opacity: 1;
    transform: scale(1.08);
}

@media (max-width: 1200px) {
    body.program-details-page .partners-section .partners-row {
        gap: 60px;
    }
    
    body.program-details-page .partners-section .partner-logo {
        max-width: 240px;
        height: 150px;
    }
}

@media (max-width: 992px) {
    body.program-details-page .partners-section .partners-row {
        gap: 40px;
    }
    
    body.program-details-page .partners-section .partner-logo {
        max-width: 200px;
        height: 120px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }

    .partners-grid {
        gap: 30px;
    }

    .partner-logo {
        max-width: 150px;
        height: 60px;
    }
    
    body.program-details-page .partners-section .partners-grid {
        gap: 40px;
    }
    
    body.program-details-page .partners-section .partners-row {
        flex-direction: column;
        gap: 30px;
    }
    
    body.program-details-page .partners-section .partner-logo {
        max-width: 180px;
        height: 100px;
    }
}

/* Footer Section */
.footer {
    background-color: var(--primary);
    color: var(--light-text);
    padding: 80px 0 40px;
}

/* Brand-aligned footer for program-details page ONLY */
body.program-details-page .footer {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    color: var(--light-text);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1.5fr;
    gap: 60px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    max-width: 120px;
    filter: brightness(0) invert(1); /* This will make the logo white */
}

/* Brand-aligned footer logo for program-details page */
body.program-details-page .footer-logo {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(45deg);
}

.copyright {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    color: var(--light-text);
    font-size: 18px;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 0.7;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 25px;
}

/* Brand-aligned footer headings for program-details page */
body.program-details-page .footer-column h4 {
    color: var(--brand-secondary);
    font-weight: 700;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: var(--light-text);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-column ul li a:hover {
    opacity: 1;
}

.footer-contact .contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--light-text);
    font-size: 14px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form textarea {
    height: 100px;
    resize: none;
}

.contact-form .btn-primary {
    background-color: var(--light-text);
    color: var(--primary);
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.contact-form .btn-primary:hover {
    opacity: 0.9;
}

/* Brand-aligned contact form button for program-details page */
body.program-details-page .contact-form .btn-primary {
    background-color: var(--brand-secondary);
    color: var(--brand-primary);
    border: 2px solid var(--brand-secondary);
    font-weight: 600;
}

body.program-details-page .contact-form .btn-primary:hover {
    background-color: #E6C547;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* Brand-aligned form inputs for program-details page */
body.program-details-page .contact-form input,
body.program-details-page .contact-form textarea {
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: rgba(212, 175, 55, 0.1);
}

body.program-details-page .contact-form input:focus,
body.program-details-page .contact-form textarea:focus {
    border-color: var(--brand-secondary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.2);
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-contact {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-contact {
        grid-column: auto;
    }
    
    .footer-links {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-subtitle {
        font-size: 32px;
    }
}

/* Programs Search Page Styles */
.programs-search {
    padding: 120px 0 60px;
    background-color: var(--background);
}

.search-container {
    background-color: var(--light-text);
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 40px;
}

.search-box {
    position: relative;
    margin-bottom: 20px;
}

.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
}

.search-input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #eee;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f8f8f8;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tag {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid #eee;
    background-color: transparent;
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-tag.active {
    background-color: var(--primary);
    color: var(--light-text);
    border-color: var(--primary);
}

.filter-tag:hover {
    background-color: var(--primary);
    color: var(--light-text);
    border-color: var(--primary);
}

.page-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--dark-text);
}

/* Search and Filter Enhancements */
.results-info {
    margin: 20px 0;
    color: #666;
    font-size: 14px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.no-results-content i {
    color: #ddd;
    margin-bottom: 20px;
}

.no-results-content h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.no-results-content p {
    font-size: 16px;
    line-height: 1.5;
}

/* Additional tag colors */
.tag-purple {
    background-color: #8B5CF6;
    color: white;
}

.tag-orange {
    background-color: #F97316;
    color: white;
}

/* Filter tag hover effects */
.filter-tag:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.filter-tag.active {
    background-color: var(--primary);
    color: white;
}

/* Search input focus effect */
.search-input:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Program card transition */
.program-card-link {
    transition: all 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    .programs-search {
        padding: 100px 0 40px;
    }

    .search-container {
        padding: 15px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .filter-tags {
        gap: 8px;
    }

    .filter-tag {
        padding: 6px 12px;
        font-size: 14px;
    }

    .modern-video-section {
        padding: 20px;
        margin: 20px 0 40px 0;
    }
    
    .video-screen {
        height: 250px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .info-text h3 {
        font-size: 2rem;
    }
    
    .program-image {
        height: 300px;
    }
}

/* Program Info Content - Enhanced Base Styles */
.program-info-content {
    margin-top: 60px;
    margin-bottom: 80px;
    padding-bottom: 40px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px;
    width: 100%;
}

.program-info-content h3,
.info-text h3 {
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 20px;
    position: relative;
    font-weight: 700;
    line-height: 1.2;
}

body.program-details-page .program-info-content h3,
body.program-details-page .info-text h3 {
    color: var(--brand-primary);
}

.program-info-content h3::after,
.info-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    border-radius: 2px;
}

body.program-details-page .program-info-content h3::after,
body.program-details-page .info-text h3::after {
    background: linear-gradient(to right, var(--brand-secondary), var(--brand-primary));
}

.info-text {
    width: 100%;
}

.info-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
    text-align: left;
}

.info-image {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    max-width: 100%;
}

.program-image:hover {
    transform: translateY(-5px);
}

/* Enhanced Responsive Design */
@media (max-width: 1400px) {
    .program-info-content {
        max-width: 1000px;
    }
    
    .info-grid {
        gap: 50px;
    }
}

@media (max-width: 1200px) {
    .program-info-content {
        margin-top: 50px;
        margin-bottom: 70px;
        padding-left: 30px;
        padding-right: 30px;
    }
    
    .info-grid {
        gap: 40px;
    }
    
    .program-info-content h3,
    .info-text h3 {
        font-size: 26px;
        margin-bottom: 18px;
    }
    
    .info-text p {
        font-size: 1.05rem;
        line-height: 1.6;
    }
    
    .program-image {
        height: 380px;
        border-radius: 14px;
    }
}

@media (max-width: 992px) {
    .program-info-content {
        margin-top: 40px;
        margin-bottom: 60px;
        padding-left: 25px;
        padding-right: 25px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
    }
    
    .program-info-content h3,
    .info-text h3 {
        font-size: 24px;
        margin-bottom: 16px;
        text-align: center;
    }
    
    .program-info-content h3::after,
    .info-text h3::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
    
    .info-text {
        order: 2;
    }
    
    .info-image {
        order: 1;
    }
    
    .info-text p {
        font-size: 1rem;
        text-align: left;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .program-image {
        height: 350px;
        border-radius: 12px;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .program-info-content {
        margin-top: 35px;
        margin-bottom: 50px;
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .info-grid {
        gap: 30px;
    }
    
    .program-info-content h3,
    .info-text h3 {
        font-size: 22px;
        margin-bottom: 14px;
    }
    
    .program-info-content h3::after,
    .info-text h3::after {
        width: 45px;
        height: 2.5px;
        bottom: -8px;
    }
    
    .info-text p {
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 100%;
    }
    
    .program-image {
        height: 300px;
        border-radius: 10px;
        max-width: 450px;
    }
}

@media (max-width: 576px) {
    .program-info-content {
        margin-top: 30px;
        margin-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .info-grid {
        gap: 25px;
    }
    
    .program-info-content h3,
    .info-text h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .program-info-content h3::after,
    .info-text h3::after {
        width: 40px;
        height: 2px;
        bottom: -6px;
    }
    
    .info-text p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .program-image {
        height: 250px;
        border-radius: 8px;
        max-width: 350px;
    }
}

@media (max-width: 480px) {
    .program-info-content {
        margin-top: 25px;
        margin-bottom: 35px;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .info-grid {
        gap: 20px;
    }
    
    .advantages-visual img {
        min-height: 180px;
        max-height: 200px;
    }
    
    .program-info-content h3,
    .info-text h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .program-info-content h3::after,
    .info-text h3::after {
        width: 35px;
        height: 2px;
        bottom: -5px;
    }
    
    .info-text p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .program-image {
        height: 220px;
        border-radius: 6px;
        max-width: 300px;
    }
}

@media (max-width: 360px) {
    .program-info-content {
        margin-top: 20px;
        margin-bottom: 30px;
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .info-grid {
        gap: 15px;
    }
    
    .program-info-content h3,
    .info-text h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .program-info-content h3::after,
    .info-text h3::after {
        width: 30px;
        height: 1.5px;
        bottom: -4px;
    }
    
    .info-text p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .program-image {
        height: 200px;
        border-radius: 4px;
        max-width: 280px;
    }
}

/* Ultra-wide screen optimization */
@media (min-width: 1600px) {
    .program-info-content {
        max-width: 1400px;
    }
    
    .info-grid {
        gap: 80px;
    }
    
    .program-info-content h3,
    .info-text h3 {
        font-size: 32px;
    }
    
    .info-text p {
        font-size: 1.2rem;
    }
    
    .program-image {
        height: 450px;
    }
}

/* Landscape orientation adjustments for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .program-info-content {
        margin-top: 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        align-items: center;
    }
    
    .info-grid {
        display: grid;
    }
    
    .info-image {
        order: unset;
    }
    
    .info-text {
        order: unset;
    }
    
    .program-info-content h3,
    .info-text h3 {
        font-size: 18px;
        text-align: left;
        margin-bottom: 10px;
    }
    
    .program-info-content h3::after,
    .info-text h3::after {
        left: 0;
        transform: none;
        width: 40px;
    }
    
    .info-text p {
        font-size: 0.85rem;
        text-align: left;
    }
    
    .program-image {
        height: 180px;
        margin: 0;
    }
}

/* High DPI displays adjustments */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .program-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .program-info-content {
        margin-top: 20px;
        page-break-inside: avoid;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-image {
        height: auto;
        max-height: 300px;
        border-radius: 0;
        box-shadow: none;
    }
    
    .program-info-content h3::after,
    .info-text h3::after {
        display: none;
    }
}

/* Hero Top Logo */
.hero-top-logo {
    position: absolute;
    top: 20px;
    left: 30px;
    z-index: 10;
    width: 200px;
    height: auto;
}

.hero-top-logo img {
    width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Responsive adjustments for top logo */
@media (max-width: 768px) {
    .hero-top-logo {
        width: 100px;
        top: 20px;
        left: 20px;
    }
}

@media (max-width: 480px) {
    .hero-top-logo {
        width: 80px;
        top: 15px;
        left: 15px;
    }
}

/* Enhanced Program Hero Section */
.program-hero {
    position: relative;
    padding: 80px 0 60px; /* Reduced top padding from 120px to 80px */
    background: linear-gradient(135deg, #1a365d 0%, #2d5a87 50%, #4a90a4 100%);
    color: white;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
}

/* Brand theme for program-details page */
body.program-details-page .program-hero {
    background: url('../images/partners/attijari1.png') center/cover no-repeat;
    position: relative;
    padding-top: 80px; /* Reduced from 120px to 80px */
}

.program-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 102, 255, 0.9), rgba(0, 204, 255, 0.8));
    z-index: 1;
}

body.program-details-page .program-hero::before {
    background: linear-gradient(45deg, rgba(139, 21, 56, 0.2), rgba(196, 30, 58, 0.3));
}

/* Create a clean, simple wave sloping from right to left */
body.program-details-page .program-hero::after {
    content: '';
    position: absolute;
    bottom: -90px; /* Made slightly bigger by extending bottom */
    left: 0;
    width: 100%;
    height: 200px; /* Increased from 180px to 200px */
    background: linear-gradient(135deg, #A91B3C 0%, #E6C547 50%, #E6C547 100%); /* Darker, more distinct shades */
    clip-path: polygon(0% 55%, 100% 20%, 100% 100%, 0% 100%);
    z-index: 3;
}

/* Fallback for browsers that don't support polygon */
@supports not (clip-path: polygon(0% 60%, 100% 20%, 100% 100%, 0% 100%)) {
    body.program-details-page .program-hero::after {
        clip-path: ellipse(150% 100% at 50% 0%);
        border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    }
}

.program-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}



/* Enhanced Video Section */
.modern-video-section {
    margin: 60px 0;
    padding: 40px;
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.05), rgba(0, 204, 255, 0.05));
    border-radius: 20px;
    border: 1px solid rgba(0, 102, 255, 0.1);
}

body.program-details-page .modern-video-section {
    background: linear-gradient(135deg, rgba(139, 21, 56, 0.05), rgba(212, 175, 55, 0.05));
    border: 1px solid rgba(139, 21, 56, 0.1);
}

.video-container {
    max-width: 800px;
    margin: 0 auto;
}

.video-player {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 102, 255, 0.2);
}

body.program-details-page .video-player {
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.2);
}

.video-screen {
    position: relative;
    width: 100%;
    height: 450px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Brand-aligned video screen for program-details page */
body.program-details-page .video-screen {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

.video-screen:hover {
    transform: scale(1.02);
}

body.program-details-page .video-screen:hover {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary) 100%);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--secondary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
}

body.program-details-page .play-button {
    background: var(--brand-secondary);
    color: var(--brand-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.play-button:hover {
    background: #4FC3F7;
    transform: scale(1.1);
}

body.program-details-page .play-button:hover {
    background: #E6C547;
}

.play-button i {
    font-size: 28px;
    color: var(--primary);
    margin-left: 4px;
}

body.program-details-page .play-button i {
    color: var(--brand-primary);
}

.video-controls {
    background: #2d2d2d;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.control-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.control-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.play-pause-btn,
.volume-btn,
.fullscreen-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.play-pause-btn:hover,
.volume-btn:hover,
.fullscreen-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #667eea;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 30%;
    background: #667eea;
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Program Info Content */
.program-info-content {
    margin-top: 60px;
    margin-bottom: 80px; /* Add bottom margin for better spacing */
    padding-bottom: 40px; /* Add padding for breathing room */
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 40px; /* Add margin to create space */
}



body.program-details-page .program-info-content h3::after,
body.program-details-page .info-text h3::after {
    background: linear-gradient(to right, var(--brand-secondary), var(--brand-primary));
}

.info-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #4a5568;
    margin: 0;
}

.info-image {
    position: relative;
}

.program-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.program-image:hover {
    transform: translateY(-5px);
}

/* Remove old program-description styles */
/* .program-description {
    display: none;
} */

.program-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.video-placeholder i {
    font-size: 48px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.video-placeholder:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.video-placeholder:hover i {
    transform: scale(1.1);
}

.description-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    transition: opacity 0.3s ease;
}

.description-content p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-text);
}

.description-image {
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
}

.program-deadline {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 20px;
    position: relative;
    z-index: 2;
    font-weight: 700;
    white-space: nowrap; /* Prevent line breaks */
}

.program-hero h1 {
    font-size: 100px;
    font-weight: 900;
    margin-bottom: -25px; /* Reduced from 10px */
    color: #FFC107;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3), 0 0 20px rgba(255, 193, 7, 0.2), 0 0 30px rgba(255, 193, 7, 0.1); /* Reduced glow effect */
    letter-spacing: -0.02em;
    line-height: 1.1;
    text-transform: uppercase;
    font-family: 'URW DIN Demi', 'Montserrat', 'Arial Black', sans-serif;
    text-align: center;
    display: block;
    transform: none;
}

body.program-details-page .program-hero h1 {
    color: #FFC107;
    font-weight: 900;
    text-transform: uppercase;
    font-family: 'URW DIN Demi', 'Montserrat', 'Arial Black', sans-serif;
    letter-spacing: -0.02em;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.3), 0 0 20px rgba(255, 193, 7, 0.2), 0 0 30px rgba(255, 193, 7, 0.1); /* Reduced glow effect */
    transform: none;
    text-align: center;
    display: block;
}

.program-brand {
    font-size: 60px; /* Much smaller - about 1/3 to 1/4 the height */
    font-weight: 700; /* Changed from 500 to 700 for bold */
    margin-bottom: 20px;
    color: #FFFFFF; /* Solid white */
    font-style: normal;
    letter-spacing: normal; /* Normal letter spacing for clear legibility */
    font-family: 'Montserrat', 'Roboto', sans-serif; /* Clean sans-serif */
    text-align: center;
    display: block;
    margin-top: 5px; /* Reduced from 15px */
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3); /* Added subtle white glow */
    visibility: hidden; /* Hide while maintaining space */
}

.program-subtitle {
    font-size: 20px;
    max-width: 700px;
    margin: 0 auto 40px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    line-height: 1.6;
    visibility: hidden; /* Hide while maintaining space */
}

body.program-details-page .program-subtitle {
    color: var(--brand-secondary-light);
    visibility: hidden; /* Hide while maintaining space */
}

.program-cta {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 30px;
}

.program-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

/* Program Navigation */
.program-nav {
    background: var(--light-text);
    border-bottom: 3px solid #888888;
    box-shadow: 0 2px 10px rgba(0, 102, 255, 0.1);
    position: static;
    z-index: 1100;
    width: 100%;
    transition: all 0.3s ease;
}

/* Style for the placeholder div */
.nav-placeholder {
    width: 100%;
    background: transparent;
}

/* Remove sticky behavior from program navigation */
.program-nav.nav-sticky {
    position: static !important;
    top: auto !important;
    left: auto;
    right: auto;
    z-index: auto;
    background: white;
    box-shadow: 0 2px 10px rgba(139, 21, 56, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

/* Ensure the program navigation has proper spacing */
body.program-details-page .program-nav {
    border-bottom: 3px solid #888888;
    box-shadow: 0 2px 10px rgba(139, 21, 56, 0.1);
    position: static;
    z-index: 1100;
    background: var(--light-text);
    width: 100%;
}

.program-nav ul {
    display: flex;
    justify-content: center;
    gap: 0;
    padding: 0;
    margin: 0;
    list-style: none;
}

.program-nav .nav-link {
    padding: 20px 30px;
    color: var(--primary);
    font-weight: 500;
    border-bottom: none;
    transition: all 0.3s ease;
    display: block;
    text-decoration: none;
    position: relative;
}

body.program-details-page .program-nav .nav-link {
    color: var(--brand-primary);
}

.program-nav .nav-link:hover,
.program-nav .nav-link.active {
    color: var(--secondary);
    border-bottom-color: transparent;
    background: linear-gradient(to bottom, transparent, rgba(0, 204, 255, 0.1));
}

body.program-details-page .program-nav .nav-link:hover,
body.program-details-page .program-nav .nav-link.active {
    color: var(--brand-secondary);
    border-bottom-color: transparent;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.1));
}

.program-content {
    padding: 60px 0;
    overflow: visible;
}

.program-section {
    margin-bottom: 60px;
}

.program-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
}

.program-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.info-card {
    background: var(--light-text);
    padding: 8px 12px;
    border-radius: 6px;
    text-align: left;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card i {
    font-size: 16px;
    color: var(--primary);
    margin: 0;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.info-card-content {
    flex: 1;
}

.info-card h3 {
    font-size: 13px;
    font-weight: 600;
    margin: 0 0 1px 0;
    color: var(--primary);
    line-height: 1.1;
}

.info-card p {
    font-size: 11px;
    margin: 0;
    color: #666;
    line-height: 1.2;
}

/* Remove old timeline styles */
.timeline {
    display: none;
}

.challenges-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.challenge-card {
    background: var(--light-text);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-answer {
    display: none;
    padding-top: 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .programs-search {
        padding: 100px 0 40px;
    }

    .search-container {
        padding: 15px;
    }

    .page-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .filter-tags {
        gap: 8px;
    }

    .filter-tag {
        padding: 6px 12px;
        font-size: 14px;
    }

    .program-description {
        grid-template-columns: 1fr;
    }
}

/* Finished Programs Section */
.finished-programs {
    padding: 80px 0;
    background-color: var(--bg-secondary);
    transition: background-color 0.3s ease;
}

.finished-programs .section-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--text-primary);
}

.finished-programs .program-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .finished-programs {
        padding: 60px 0;
    }

    .finished-programs .section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }
}

/* Target Audience Section */
.target-audience-section {
    background: linear-gradient(180deg, #731919 0%, #e52b2b 100%);
    color: white;
    padding: 100px 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    position: relative;
}

body.program-details-page .target-audience-section {
    background: linear-gradient(180deg, #731919 0%, #e52b2b 100%);
}

.target-audience-content {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.target-audience-images {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-grid {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.meeting-image {
    position: relative;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    object-fit: cover;
    width: 100%;
    max-width: 400px;
    height: auto;
}

.target-audience-text {
    text-align: left;
    max-width: 1200px;
    width: 100%;
}

.target-audience-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    text-align: left;
}

.target-audience-text p {
    font-size: 1.4rem;
    line-height: 1.6;
    margin-bottom: 40px;
    font-weight: bold;
    color: white;
    opacity: 1;
    max-width: 85%;
    width: 100%;
}

.btn-candidater {
    display: inline-block;
    background: white;
    color: #1e3a8a;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

body.program-details-page .btn-candidater {
    background: var(--brand-secondary);
    color: var(--brand-primary);
    border: 2px solid var(--brand-secondary);
}

.btn-candidater:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #f8fafc;
}

body.program-details-page .btn-candidater:hover {
    background: #E6C547;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

@media (max-width: 768px) {
    .target-audience-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .target-audience-text h2 {
        font-size: 2rem;
    }
    
    .meeting-image {
        max-width: 300px;
    }
}

/* Enhanced Results Section */
.program-results {
    background: linear-gradient(135deg, var(--primary) 0%, #1E40AF 100%);
    color: var(--light-text);
    padding: 80px 0;
    margin: 60px 0;
    border-radius: 20px;
    position: relative;
}

/* Enhanced Results Section - ONLY for program-details - WHITE BACKGROUND */
body.program-details-page .program-results {
    background: var(--light-text);
    color: var(--dark-text);
    padding: 80px 0;
    margin: 60px 0;
    border-radius: 20px;
    border: 2px solid var(--brand-secondary);
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.1);
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.results-header h2,
.results-title {
    color: var(--secondary);
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: 700;
}

body.program-details-page .results-header h2,
body.program-details-page .results-title {
    color: var(--brand-primary);
}

.results-subtitle {
    font-size: 18px;
    margin-bottom: 50px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

body.program-details-page .results-subtitle {
    color: var(--text-secondary);
}

.results-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.result-stat {
    text-align: center;
    padding: 20px;
}

.stat-number {
    color: var(--secondary) !important;
    font-size: 48px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    display: block;
    margin-bottom: 15px;
    line-height: 1;
}

body.program-details-page .stat-number {
    color: var(--brand-primary) !important;
    text-shadow: none;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

body.program-details-page .stat-label {
    color: var(--text-secondary);
}

/* Add subtle accent border to stat items */
body.program-details-page .result-stat {
    border-bottom: 3px solid var(--brand-secondary) !important;
    padding-bottom: 15px;
    transition: all 0.3s ease;
}

body.program-details-page .result-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(139, 21, 56, 0.1);
}

@media (max-width: 768px) {
    .program-results {
        padding: 60px 0;
    }
    
    .results-title {
        font-size: 32px;
    }
    
    .results-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-label {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .results-stats {
        grid-template-columns: 1fr;
    }
}

/* Alternative Program Results Section */
.program-results {
    background: #f8fafc;
    padding: 80px 0;
    margin-top: 60px;
}

.results-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.results-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 20px;
}

.results-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.result-stat {
    text-align: center;
    padding: 20px;
}

.result-stat .stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.result-stat .stat-number.blue {
    color: #3b82f6;
}

body.program-details-page .result-stat .stat-number.blue {
    color: var(--brand-secondary) !important;
}

.result-stat .stat-label {
    font-size: 1rem;
    color: #64748b;
    font-weight: 500;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 10px;
    display: inline-block;
}

body.program-details-page .result-stat .stat-label {
    border-bottom: 3px solid var(--brand-secondary);
}
/* Enhanced Timer */
.program-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.timer-item {
    background: rgba(255, 255, 255, 0.25); /* Increased opacity for better visibility */
    border: 2px solid rgba(255, 255, 255, 0.6); /* More visible border */
    border-radius: 15px;
    padding: 20px;
    min-width: 80px;
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Added shadow for depth */
}

body.program-details-page .timer-item {
    background: rgba(255, 255, 255, 0.3); /* Even more visible for program details */
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.timer-number {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff; /* Pure white for maximum contrast */
    margin-bottom: 5px;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Added text shadow for better readability */
}

body.program-details-page .timer-number {
    color: #ffffff; /* Override with pure white */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

.timer-label {
    font-size: 14px;
    color: #ffffff; /* Changed from rgba to pure white */
    font-weight: 600; /* Increased font weight */
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); /* Added text shadow */
}

body.program-details-page .timer-label {
    color: #ffffff; /* Pure white instead of brand color */
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

/* Enhanced Responsive Design for Program Hero Section */

/* Large tablets and small desktops (992px and down) */
@media (max-width: 992px) {
    .program-hero {
        padding: 85px 0 55px;
    }
    
    .program-hero h1 {
        font-size: 52px;
        letter-spacing: -0.02em;
    }
    
    .program-brand {
        font-size: 18px;
    }
    
    .program-subtitle {
        font-size: 18px;
        max-width: 600px;
    }
    
    .program-cta {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .program-cta .btn {
        width: 250px;
        text-align: center;
    }
    
    .program-timer {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .timer-item {
        min-width: 70px;
        padding: 18px;
    }
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
    .program-hero {
        padding: 70px 0 45px;
    }
    
    .program-hero h1 {
        font-size: 48px;
        line-height: 1.1;
    }
    
    .program-brand {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .program-subtitle {
        font-size: 16px;
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .program-deadline {
        flex-direction: row;
        gap: 0;
        margin-bottom: 25px;
        white-space: nowrap;
    }
    
    .deadline-text {
        font-size: 12px;
        font-weight: 800;
        color: white;
        display: inline; /* Ensure inline display */
    }
    
    .deadline-date {
        font-size: 14px;
        color: white;
        font-weight: 800;
        display: inline; /* Ensure inline display */
    }
    
    .program-timer {
        gap: 15px;
        margin-top: 30px;
    }
    
    .timer-item {
        padding: 15px;
        min-width: 60px;
        border-radius: 12px;
    }
    
    .timer-number {
        font-size: 20px;
    }
    
    .timer-label {
        font-size: 12px;
    }
    
    /* Adjust wave for tablets */
    body.program-details-page .program-hero::after {
        height: 120px;
        bottom: -40px;
        clip-path: polygon(0% 65%, 100% 25%, 100% 100%, 0% 100%);
    }
    
    body.program-details-page .program-nav {
      
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: var(--light-text);
        width: 100%;
    }
    
    /* Navigation adjustments */
    .program-nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .program-nav .nav-link {
        padding: 15px 20px;
        font-size: 14px;
    }
}

/* Large phones (576px and down) */
@media (max-width: 576px) {
    .program-hero {
        padding: 50px 0 35px;
    }
    
    .program-hero-content {
        padding: 0 20px;
    }
    
    .program-hero h1 {
        font-size: 36px;
        margin-bottom: 8px;
    }
    
    .program-brand {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .program-subtitle {
        font-size: 14px;
        max-width: 100%;
        margin-bottom: 25px;
        line-height: 1.5;
    }
    
    .program-cta .btn {
        width: 100%;
        max-width: 280px;
        padding: 12px 20px;
        font-size: 14px;
    }
    
    .program-timer {
        gap: 10px;
        margin-top: 25px;
    }
    
    .timer-item {
        padding: 12px 8px;
        min-width: 50px;
        border-radius: 10px;
    }
    
    .timer-number {
        font-size: 18px;
    }
    
    .timer-label {
        font-size: 10px;
        letter-spacing: 0.3px;
    }
    
    /* Navigation for mobile */
    .program-nav .nav-link {
        padding: 12px 15px;
        font-size: 13px;
    }
}

/* Small phones (480px and down) */
@media (max-width: 480px) {
    .program-hero {
        padding: 45px 0 30px;
    }
    
    .program-hero h1 {
        font-size: 32px;
        letter-spacing: -0.02em;
    }
    
    .program-brand {
        font-size: 14px;
    }
    
    .program-subtitle {
        font-size: 13px;
        padding: 0 10px;
    }
    
    .program-timer {
        gap: 8px;
        margin-top: 20px;
    }
    
    .timer-item {
        padding: 10px 6px;
        min-width: 45px;
    }
    
    .timer-number {
        font-size: 16px;
    }
    
    .timer-label {
        font-size: 9px;
    }
    
    /* Adjust wave for small phones */
    body.program-details-page .program-hero::after {
        height: 100px;
        bottom: -30px;
        clip-path: polygon(0% 70%, 100% 30%, 100% 100%, 0% 100%);
    }
    
    body.program-details-page .program-nav {
        
        top: 0;
        left: 0;
        right: 0;
        z-index: 1100;
        background: var(--light-text);
        width: 100%;
    }
    
    /* Compact navigation */
    .program-nav ul {
        gap: 0;
    }
    
    .program-nav .nav-link {
        padding: 10px 8px;
        font-size: 11px;
        text-align: center;
        flex: 1;
    }
}

/* Extra small phones (360px and down) */
@media (max-width: 360px) {
    .program-hero h1 {
        font-size: 28px;
    }
    
    .program-brand {
        font-size: 12px;
    }
    
    .program-subtitle {
        font-size: 12px;
    }
    
    .program-timer {
        gap: 6px;
    }
    
    .timer-item {
        padding: 8px 4px;
        min-width: 40px;
    }
    
    .timer-number {
        font-size: 14px;
    }
    
    .timer-label {
        font-size: 8px;
    }
    
    .program-nav .nav-link {
        padding: 8px 4px;
        font-size: 10px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 500px) and (orientation: landscape) {
    .program-hero {
        padding: 35px 0 25px;
    }
    
    .program-hero h1 {
        font-size: 36px;
        margin-bottom: 5px;
    }
    
    .program-brand {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .program-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .program-timer {
        margin-top: 15px;
    }
    
    .timer-item {
        padding: 10px;
    }
}

/* Application Form Styles */
.application-form-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.application-form-section h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
}

.application-form {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.form-section {
    margin-bottom: 30px;
}

.form-section h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 20px;
}

.two-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #555;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.add-partner-btn {
    margin-top: 10px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .application-form {
        padding: 20px;
    }

    .two-columns {
        grid-template-columns: 1fr;
    }

    .application-form-section h1 {
        font-size: 2rem;
    }
}
/* Modern Timeline Styles */
.modern-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #3b82f6 0%, #1e40af 100%);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 80px;
    opacity: 1;
    transform: translateY(0);
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-step:nth-child(even) .step-content {
    text-align: left;
    padding-right: 80px;
    padding-left: 0;
}

.timeline-step:nth-child(odd) .step-content {
    padding-left: 80px;
    padding-right: 0;
}

.step-number {
    position: relative;
    z-index: 2;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
    border: 4px solid white;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
    max-width: 380px;
}

.step-date {
    color: #6b7280;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Timeline Step Collapsible Styles */
.step-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    margin-bottom: 15px;
}

.step-header:hover {
    opacity: 0.8;
}

.step-title {
    flex: 1;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.step-toggle-link {
    margin-left: 0;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.details-text {
    color: var(--brand-primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    transition: color 0.3s ease;
    margin-left: 0;
}

/* REMOVE OR COMMENT OUT THIS HOVER EFFECT */
/*
.details-text:hover {
    color: #1e40af;
    text-decoration: none;
}
*/

/* Timeline step descriptions - collapsed by default */
.step-description-container {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0;
}

.step-description-container.expanded {
    max-height: 500px;
    padding: 12px 0 0 0;
}

.step-description {
    color: #6b7280;
    line-height: 1.6;
    font-size: 15px;
    margin: 0;
}

/* Animation delays for staggered effect */
.program-section.active .timeline-step:nth-child(2) { animation-delay: 0.1s; }
.program-section.active .timeline-step:nth-child(3) { animation-delay: 0.2s; }
.program-section.active .timeline-step:nth-child(4) { animation-delay: 0.3s; }
.program-section.active .timeline-step:nth-child(5) { animation-delay: 0.4s; }
.program-section.active .timeline-step:nth-child(6) { animation-delay: 0.5s; }
.program-section.active .timeline-step:nth-child(7) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-timeline {
        padding: 40px 0;
        max-width: 100%;
    }
    
    .timeline-line {
        left: 30px;
    }
    
    .timeline-step {
        flex-direction: row !important;
        margin-bottom: 60px;
    }
    
    .timeline-step:nth-child(even) .step-content,
    .timeline-step:nth-child(odd) .step-content {
        text-align: left;
        padding-left: 50px;
        padding-right: 20px;
        max-width: none;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 20px;
        margin-left: 5px;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .step-description {
        font-size: 14px;
    }
    
    /* Responsive adjustments for collapsible timeline */
    .step-header {
        padding: 6px 0;
    }
    
    .step-title {
        font-size: 18px;
    }
    
    .step-toggle-link {
        margin-left: 8px;
    }
    
    .details-text {
        font-size: 12px;
    }
    
    .step-description-container.expanded {
        max-height: 400px;
        padding: 10px 0 0 0;
    }
    
    .step-description {
        font-size: 14px;
    }
}

/* Modern Challenges Section */
.modern-challenges-list {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 0;
}

.modern-challenge-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    /* Add subtle red left border for visual differentiation */
    border-left: 4px solid #ef4444;
}
.modern-challenge-card[data-expanded="true"] .challenge-header {
    border-bottom: 1px solid #e5e7eb;
    background-color: #fef2f2; /* Very light red background when expanded */
}

.modern-challenge-card:hover {
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.15); /* Red-tinted shadow on hover */
    border-left-color: #dc2626; /* Darker red on hover */
}

.modern-challenge-card[data-expanded="true"] {
    border-left-color: #dc2626; /* Darker red when expanded */
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
}

.challenge-header {
    display: flex;
    align-items: center;
    padding: 20px 24px 16px 24px; /* Reduced bottom padding */
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.challenge-header:hover {
    background-color: #f9fafb;
}

/* Challenge numbers - default state */
.challenge-number {
    background: #f3f4f6;
    color: #6b7280;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-right: 16px;
    min-width: 40px;
    text-align: center;
}

.modern-challenge-card[data-expanded="true"] .challenge-number {
    background: #ef4444; /* Red background for expanded state */
    color: white;
}

.challenge-title-text {
    flex: 1;
}

/* Challenge titles - default state */
.challenge-title-text h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
    line-height: 1.4;
}

.modern-challenge-card[data-expanded="true"] .challenge-title-text h3 {
    color: #dc2626; /* Dark red for expanded title */
}

/* Challenge toggle icons - default state */
.challenge-toggle-icon {
    color: #dc2626;
    font-size: 24px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 2px solid #dc2626;
    border-radius: 50%;
    background-color: white;
}

.toggle-sign {
    font-weight: bold;
    line-height: 1;
    user-select: none;
    position: relative;
    color: #070707;
    text-shadow: 0 0 2px rgba(220, 38, 38, 0.5);
}

/* Default state: show + */
.toggle-sign::before {
    content: "+";
    font-size: 18px;
    font-weight: 900;
}

/* Expanded state: show - */
.modern-challenge-card[data-expanded="true"] .toggle-sign::before {
    content: "-";
    font-size: 18px;
    font-weight: 900;
}

/* Remove the old rotation transform */
.modern-challenge-card[data-expanded="true"] .challenge-toggle-icon {
    transform: none;
    background-color: #dc2626;
}

.modern-challenge-card[data-expanded="true"] .toggle-sign {
    color: white;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.5);
}

/* Challenge card content - collapsed by default */
.challenge-expanded-content {
    display: none;
    padding: 16px 24px 24px 24px; /* Reduced top padding */
    border-top: 1px solid #fecaca; /* Light red border */
    background: #fefefe; /* Slightly warmer white background */
}

.modern-challenge-card[data-expanded="true"] .challenge-expanded-content {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
    }
    to {
        opacity: 1;
        max-height: 1000px;
    }
}

.challenge-description {
    padding: 20px 0;
    border-bottom: 1px solid #e5e7eb;
    margin-bottom: 20px;
}

.challenge-description p {
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    font-size: 15px;
}

.challenge-image-container {
    margin-bottom: 24px;
    text-align: center;
}

.challenge-image {
    max-width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.challenge-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}
.challenge-detail-section {
    margin-top: 0; /* Remove any top margin */
}

.challenge-detail-section h4 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 12px;
    margin-top: 0; /* Ensure no top margin */
    padding-bottom: 8px;
    border-bottom: 2px solid #3b82f6;
    display: inline-block;
}

.challenge-detail-section p {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 12px;
    font-size: 14px;
}
.challenge-detail-section p:first-of-type {
    margin-top: 0; /* Remove top margin from first paragraph */
}

.challenge-detail-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.challenge-detail-section li {
    color: #4b5563;
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.5;
}

.challenge-detail-section li:before {
    content: "•";
    color: #3b82f6;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Brand-aligned challenge detail styles for program-details page */
body.program-details-page .challenge-detail-section h4 {
    border-bottom: 2px solid var(--brand-secondary);
}

body.program-details-page .challenge-detail-section li:before {
    color: var(--brand-secondary);
}

/* Brand-aligned challenge cards for program-details page */
body.program-details-page .modern-challenge-card {
    border-left: 4px solid var(--brand-primary);
}

body.program-details-page .modern-challenge-card:hover {
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.15);
    border-left-color: var(--brand-primary-dark);
}

body.program-details-page .modern-challenge-card[data-expanded="true"] {
    border-left-color: var(--brand-primary-dark);
    box-shadow: 0 4px 12px rgba(139, 21, 56, 0.1);
}

body.program-details-page .modern-challenge-card[data-expanded="true"] .challenge-header {
    background-color: rgba(139, 21, 56, 0.05);
}

body.program-details-page .modern-challenge-card[data-expanded="true"] .challenge-number {
    background: var(--brand-primary);
}

body.program-details-page .modern-challenge-card[data-expanded="true"] .challenge-title-text h3 {
    color: var(--brand-primary);
}

body.program-details-page .challenge-expanded-content {
    border-top: 1px solid rgba(139, 21, 56, 0.2);
}

/*body.program-details-page .category-title {
    color: var(--brand-primary);
    border-bottom: 3px solid var(--brand-primary);
}

/* Brand-aligned FAQ styles for program-details page */
body.program-details-page .faq-item {
    border-left: 4px solid var(--brand-secondary);
}

body.program-details-page .faq-item:hover {
    background-color: rgba(212, 175, 55, 0.05);
    border-left-color: var(--brand-primary);
}

body.program-details-page .faq-item.active {
    background-color: rgba(212, 175, 55, 0.1);
    border-left-color: var(--brand-primary-dark);
}

body.program-details-page .faq-item:hover .faq-question {
    color: var(--brand-primary) !important;
}

body.program-details-page .faq-item.active .faq-question {
    color: var(--brand-primary-dark) !important;
}

body.program-details-page .faq-item:hover .faq-question i {
    color: var(--brand-secondary);
}

body.program-details-page .faq-item.active .faq-question i {
    color: var(--brand-primary);
}

body.program-details-page .faq-section .section-title {
    border-bottom: 3px solid var(--brand-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .modern-challenges-list {
        padding: 20px 0;
    }
    
    .challenge-header {
        padding: 16px 20px 12px 20px;
    }
    
    .challenge-number {
        font-size: 12px;
        padding: 6px 10px;
        margin-right: 12px;
    }
    
    .challenge-title-text h3 {
        font-size: 16px;
    }
    
    .challenge-expanded-content {
        padding: 12px 20px 20px 20px;
    }
    
    .challenge-image {
        height: 150px;
    }
}

/* Ensure old challenge grid is hidden (it should stay hidden) */
.challenges-grid {
    display: none !important;
}

.challenge-card {
    background: var(--light-text);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: block;
}

/* Collapsed State */
.challenge-card[data-expanded="false"] .challenge-content,
.challenge-card[data-expanded="true"] .challenge-preview {
    display: none;
}

.challenge-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.challenge-title i {
    color: var(--primary);
    font-size: 20px;
}

.challenge-title h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
}

.expand-btn, .collapse-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    font-size: 18px;
    transition: transform 0.3s ease;
}

/* Update the expanded card styles */
.challenge-card[data-expanded="true"] {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    height: 90vh;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.challenge-card[data-expanded="true"] .challenge-content {
    flex: 1;
    overflow-y: auto;
    padding-right: 15px; /* Add space for scrollbar */
}

/* Style the scrollbar */
.challenge-card[data-expanded="true"] .challenge-content::-webkit-scrollbar {
    width: 8px;
}

.challenge-card[data-expanded="true"] .challenge-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.challenge-card[data-expanded="true"] .challenge-content::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

/* Hide all program sections by default except info */
.program-section {
    display: none;
    padding: 40px 0;
}

.program-section.active {
    display: block;
}

/* Info section content - always visible initially */
#info {
    display: block;
}

/* Enhanced FAQ Items with Blue Highlights */
.faq-item {
    border-bottom: 1px solid #e5e7eb;
    padding: 20px 0;
    /* Add subtle blue left border for visual differentiation */
    border-left: 4px solid #3b82f6;
    padding-left: 20px;
    margin-left: -20px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    background-color: #f8faff; /* Very light blue background on hover */
    border-left-color: #2563eb; /* Darker blue on hover */
}

.faq-item.active {
    background-color: #f0f9ff; /* Light blue background when active */
    border-left-color: #1d4ed8; /* Even darker blue when active */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    color: var(--dark-text) !important;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: none !important; /* Force unlimited height with !important */
    overflow: visible !important; /* Ensure content is not clipped */
    opacity: 1;
    padding: 20px 0;
}

/* Ensure all text within FAQ answers is properly styled and visible */
.faq-answer p,
.faq-answer span,
.faq-answer div {
    color: var(--dark-text) !important;
    margin-bottom: 15px;
    white-space: normal;
    word-wrap: break-word;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-question {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    color: var(--dark-text) !important;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
    color: #1e40af !important; /* Blue text on hover */
}

.faq-item.active .faq-question {
    color: #1d4ed8 !important; /* Darker blue when active */
}

.faq-question i {
    color: #6b7280;
    transition: all 0.3s ease;
}

.faq-item:hover .faq-question i {
    color: #3b82f6; /* Blue icon on hover */
}

.faq-item.active .faq-question i {
    color: #1d4ed8; /* Darker blue icon when active */
    transform: rotate(180deg);
}

/* Challenge card expansion styles */
.challenge-content {
    display: none;
    padding: 20px 0;
}

.challenge-toggle {
    cursor: pointer;
}

.challenge-toggle i {
    transition: transform 0.3s ease;
}

/* Navigation active state */
.program-nav .nav-link.active {
    color: #007bff;
    border-bottom: 2px solid #007bff;
}
/* Job Search Hero Section */
.job-search-hero {
    padding: 100px 0 50px;
    background-color: var(--background);
}

.job-search-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}

.job-search-text {
    flex: 1;
}

.job-search-text h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 20px;
    line-height: 1.2;
}

.job-search-text p {
    font-size: 20px;
    color: var(--dark-text);
}

.text-primary {
    color: var(--primary);
}

.job-search-image {
    flex: 1;
    text-align: right;
}

.job-search-image img {
    max-width: 100%;
    height: auto;
}

.job-search-form {
    display: flex;
    gap: 15px;
    background: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.search-field {
    flex: 1;
    position: relative;
}

.search-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.search-field input,
.search-field select {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: var(--dark-text);
    background-color: var(--background);
    appearance: none;
}

.search-field select {
    cursor: pointer;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
}

.search-btn {
    padding: 12px 30px;
    font-size: 16px;
    height: 100%;
    white-space: nowrap;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .job-search-form {
        flex-wrap: wrap;
    }

    .search-field {
        min-width: calc(33.333% - 10px);
    }

    .search-btn {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 992px) {
    .job-search-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .job-search-image {
        text-align: center;
    }

    .search-field {
        min-width: calc(50% - 8px);
    }
}

@media (max-width: 768px) {
    .job-search-text h1 {
        font-size: 36px;
    }

    .search-field {
        min-width: 100%;
    }
}
/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background-color: var(--background);
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-text);
}

.blog-search {
    max-width: 600px;
    margin: 0 auto 30px;
}

.search-container {
    position: relative;
    background: var(--light-text);
    border-radius: 30px;
    padding: 15px 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.search-container i {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
}

.search-input {
    width: 100%;
    border: none;
    background: none;
    padding-left: 35px;
    font-size: 16px;
    color: var(--dark-text);
}

.search-input::placeholder {
    color: #999;
}

.blog-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 20px;
    background: var(--light-text);
    color: var(--dark-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary);
    color: var(--light-text);
}

.filter-btn:hover {
    background: var(--primary);
    color: var(--light-text);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: var(--light-text);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-image {
    position: relative;
    height: 200px;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-image .tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary);
    color: var(--light-text);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 14px;
}

.blog-content {
    padding: 20px;
}

.blog-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.blog-tags .tag {
    font-size: 12px;
    color: var(--primary);
    text-decoration: none;
}

.blog-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-text);
    line-height: 1.4;
}

.blog-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-meta {
    font-size: 14px;
    color: #999;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.pagination a,
.pagination span {
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    color: var(--dark-text);
    transition: all 0.3s ease;
}

.pagination .page-number.active {
    background: var(--primary);
    color: var(--light-text);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--light-text);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-filters {
        gap: 10px;
    }

    .filter-btn {
        padding: 6px 15px;
        font-size: 14px;
    }

    .pagination {
        flex-wrap: wrap;
    }
}
/* Blog Details Styles */
.blog-details {
    padding: 80px 0;
    background-color: var(--background);
}

.breadcrumb {
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--dark-text);
}

.blog-content-wrapper {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 50px;
    margin-bottom: 60px;
}

.post-title {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.post-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    font-size: 14px;
}

.post-meta a,
.post-meta span {
    color: var(--dark-text);
    text-decoration: none;
}

.post-meta a:hover {
    color: var(--primary);
}

.post-image {
    margin-bottom: 30px;
    border-radius: 15px;
    overflow: hidden;
}

.post-image img {
    width: 100%;
    height: auto;
}

.post-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--dark-text);
}

.post-content p {
    margin-bottom: 20px;
}

.post-tags {
    margin: 40px 0;
}

.post-tags .tag {
    display: inline-block;
    padding: 5px 15px;
    margin-right: 10px;
    background-color: var(--light-text);
    color: var(--primary);
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
}

.share-section {
    margin-top: 0px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.share-section h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.social-share {
    display: flex;
    gap: 15px;
}

.social-share a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-text);
    color: var(--dark-text);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-share a:hover {
    background: var(--primary);
    color: var(--light-text);
}

.table-of-contents {
    background: var(--light-text);
    padding: 30px;
    border-radius: 15px;
    position: sticky;
    top: 100px;
}

.table-of-contents h2 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--dark-text);
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents ul ul {
    padding-left: 20px;
    margin-top: 10px;
}

.table-of-contents li {
    margin-bottom: 10px;
}

.table-of-contents a {
    color: var(--dark-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.table-of-contents a:hover {
    color: var(--primary);
}

.more-posts {
    margin-top: 80px;
}

.more-posts h2 {
    font-size: 32px;
    margin-bottom: 40px;
    text-align: center;
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .blog-content-wrapper {
        grid-template-columns: 1fr;
    }

    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .post-title {
        font-size: 32px;
    }

    .posts-grid {
        grid-template-columns: 1fr;
    }
}
/* About Us - Our Mission Page Styles */

.mission-hero {
    position: relative;
    height: 600px;
    background-image: url('../images/about-us/mission-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 0 80px; /* Reduced bottom padding */
    margin-bottom: 0; /* No negative margin needed */
}

.mission-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 18, 51, 0.85) 0%, rgba(10, 36, 114, 0.75) 50%, rgba(14, 107, 168, 0.65) 100%);
    z-index: 1;
}

/* Modern transition between hero and video sections */
.mission-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 2;
    transform-origin: bottom right;
    animation: section-transition 1.5s ease-out forwards;
}

/* Remove the previous decorative element that might interfere */
.mission-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.mission-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.mission-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.mission-hero p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

.mission-video {
    position: relative;
    z-index: 1;
    padding-top: 60px; /* Add some space at the top */
    padding-bottom: 80px;
    background-color: #fff;
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.video-placeholder {
    background-color: #f0f0f0;
    background-image: url('../images/video-thumbnail.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.play-button {
    width: 80px;
    height: 80px;
    background-color: #2563EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button i {
    color: white;
    font-size: 30px;
}

.play-button:hover {
    transform: scale(1.1);
    background-color: #1E40AF;
}

.values-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.underline-decoration {
    width: 200px;
    height: 4px;
    background-color: #2563EB;
    margin: 0 auto 50px;
    position: relative;
}

.underline-decoration:after {
    content: '';
    position: absolute;
    width: 100px;
    height: 4px;
    background-color: #2563EB;
    bottom: -10px;
    left: 50px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.value-card {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-10px);
}

.value-icon {
    font-size: 40px;
    color: #2563EB;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.value-card p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
}

.team-section {
    padding: 80px 0;
}

.section-description {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 18px;
    color: #666;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.team-member {
    text-align: center;
}

.member-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.member-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.team-member p {
    font-size: 16px;
    color: #666;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .mission-hero h1 {
        font-size: 32px;
    }
    
    .mission-hero p {
        font-size: 16px;
    }
    
    .video-placeholder {
        height: 350px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .video-placeholder {
        height: 250px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
    
    .play-button i {
        font-size: 24px;
    }
}

/* Animation for the wave transition */
@keyframes section-transition {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}
/* Programs Objectives Section */
.programs-objectives {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a2472 0%, #0e6ba8 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.objective-item {
    display: flex;
    align-items: center;
    margin-bottom: 80px;
    gap: 50px;
}

.objective-item:last-child {
    margin-bottom: 0;
}

.objective-item.reverse {
    flex-direction: row-reverse;
}

.objective-content {
    flex: 1;
}

.objective-image {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.objective-image img {
    width: 90%;
    height: auto;
    display: block;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 8px solid rgba(255, 255, 255, 0.1);
}

.objective-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    line-height: 1.3;
    position: relative;
    padding-bottom: 15px;
}

.objective-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background-color: #4dabf7;
}

.objective-content p {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Add decorative elements */
.programs-objectives:before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.programs-objectives:after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

/* Responsive styles for Programs Objectives */
@media (max-width: 992px) {
    .objective-item {
        flex-direction: column;
        gap: 30px;
    }
    
    .objective-item.reverse {
        flex-direction: column;
    }
    
    .objective-content,
    .objective-image {
        width: 100%;
    }
    
    .objective-content h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .programs-objectives {
        padding: 60px 0;
    }
    
    .objective-item {
        margin-bottom: 60px;
    }
    
    .objective-content h2 {
        font-size: 24px;
    }
    
    .objective-content p {
        font-size: 16px;
    }
}
/* Nos buts et objectifs Section */
.goals-objectives-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0a2472 0%, #0e6ba8 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
}

.goals-objectives-section .section-title {
    color: #fff;
}

.goals-objectives-section .section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 18px;
    line-height: 1.6;
}

.goals-content {
    display: flex;
    gap: 50px;
    align-items: flex-start;
}

.goals-text {
    flex: 1;
}

.goals-images {
    flex: 1;
}

.goal-item {
    display: flex;
    margin-bottom: 40px;
    align-items: flex-start;
}

.goal-icon {
    margin-right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.goal-item:hover .goal-icon {
    background-color: var(--primary);
    transform: scale(1.1);
}

.goal-icon i {
    color: #fff;
    font-size: 24px;
}

.goal-details h3 {
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 600;
    color: #fff;
}

.goal-details p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .goals-content {
        flex-direction: column;
    }
    
    .goals-images {
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
    
    .goal-item {
        flex-direction: column;
    }
    
    .goal-icon {
        margin-bottom: 15px;
    }
}
/* Présence Nationale et Internationale Section */
.global-presence-section {
    padding: 80px 0;
    background-color: #0a3170; /* Fond bleu foncé comme sur l'image */
    color: #ffffff;
}

.global-presence-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.global-presence-text {
    flex: 1;
}

.global-presence-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.global-presence-text p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 40px;
}

.global-presence-map {
    flex: 1;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.global-presence-map img {
    width: 100%;
    height: auto;
    display: block;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
}

.stat-item {
    margin-bottom: 20px;
}

.stat-number {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive styles */
@media (max-width: 992px) {
    .global-presence-content {
        flex-direction: column;
    }
    
    .global-presence-map {
        width: 100%;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .global-presence-text h2 {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* Villes et Partenaires Section */
.cities-partners-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.cities-section, .partners-section {
    margin-bottom: 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #333;
}

.cities-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.city-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.city-item i {
    color: #0056b3;
    margin-right: 10px;
    font-size: 1.2rem;
}

.city-item.global {
    background-color: #e6f7ff;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    justify-items: center;
    align-items: center;
}

.partner-logo {
    max-width: 150px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

@media (max-width: 992px) {
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .cities-list {
        flex-direction: column;
        align-items: center;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Programmes, Communauté et Partenaires Section */
.programs-community-partners {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.info-card {
    position: relative;
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(10, 36, 114, 0.85), rgba(14, 107, 168, 0.9));
    opacity: 0.85; /* Lower opacity to let more of the background image show through */
}

.card-content {
    position: relative;
    z-index: 1;
    padding: 30px;
    color: #fff;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.card-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.card-content h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #fff;
}

.card-content p {
    margin-bottom: 25px;
    line-height: 1.6;
    opacity: 0.9;
}

.btn-card {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 10px 20px;
    border: 2px solid #fff;
    border-radius: 30px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.btn-card:hover {
    background-color: #fff;
    color: #0e6ba8;
}

@media (max-width: 992px) {
    .cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        height: 350px;
    }
}
/* Team Page Styles */
/* Team Page Styles */
.team-hero {
    position: relative;
    height: 600px;
    background-image: url('../images/about-us/team-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 0 80px; /* Reduced bottom padding */
    margin-bottom: 0; /* No negative margin needed */
}

.team-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 18, 51, 0.85) 0%, rgba(10, 36, 114, 0.75) 50%, rgba(14, 107, 168, 0.65) 100%);
    z-index: 1;
}

/* Modern transition between hero and team composition sections */
.team-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 2;
    transform-origin: bottom right;
    animation: section-transition 1.5s ease-out forwards;
}

/* Remove the previous decorative element that might interfere */
.team-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.team-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.team-hero-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Team Composition Section - adjust to work with the new transition */
.team-composition {
    position: relative;
    z-index: 1;
    padding-top: 60px; /* Add some space at the top */
    padding-bottom: 80px;
    background-color: #f8f9fa;
}

/* Add the wave animation keyframes */
@keyframes section-transition {
    0% {
        transform: scaleX(0);
    }
    100% {
        transform: scaleX(1);
    }
}

/* Team Composition Section - adjust to work with the new transition */
.team-composition {
    position: relative;
    z-index: 1;
    padding-top: 60px; /* Add some space at the top */
    padding-bottom: 80px;
    background-color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.underline-decoration {
    width: 150px;
    height: 4px;
    background-color: #0056b3;
    margin: 0 auto 50px;
}

.composition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.composition-column {
    text-align: center;
    padding: 30px;
}

.icon-container {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-container img {
    max-width: 100%;
    max-height: 100%;
}

.composition-column h3 {
    font-size: 1.5rem;
    color: #0056b3;
    margin-bottom: 15px;
}

.composition-column p {
    color: #666;
    line-height: 1.6;
}

/* Team Members Section */
.team-members {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.member-photo {
    height: 250px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-photo img {
    transform: scale(1.05);
}

.member-info {
    padding: 20px;
    text-align: center;
}

.member-info h3 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: #333;
}

.member-title {
    color: #0056b3;
    font-weight: 500;
    margin-bottom: 15px;
}

.member-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.member-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: #f0f0f0;
    border-radius: 50%;
    color: #333;
    transition: all 0.3s ease;
}

.member-social a:hover {
    background-color: #0056b3;
    color: #fff;
}

@media (max-width: 992px) {
    .composition-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .team-hero-content h1 {
        font-size: 2.5rem;
    }
    
    .composition-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 350px;
        margin: 0 auto;
    }
}
/* Board Section Styles */
.board-section {
    background-color: #0a3170;
    color: #fff;
    padding: 80px 0;
}

.board-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.board-text {
    text-align: left;
    margin-bottom: 40px;
    align-self: flex-start;
}

.board-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.board-text p {
    font-size: 1.1rem;
    max-width: 500px;
    line-height: 1.5;
}

.board-members {
    width: 100%;
}

.board-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.board-member {
    background-color: transparent;
    border-radius: 8px;
    overflow: hidden;
    width: 220px;
}

.member-photo {
    height: 220px;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.member-info {
    padding: 15px;
    background-color: #fff;
    color: #333;
    position: relative;
}

.member-info h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.member-title {
    font-size: 0.85rem;
    color: #666;
}

.linkedin-link {
    position: absolute;
    right: 15px;
    top: 15px;
    color: #0077b5;
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .board-row {
        justify-content: center;
    }
    
    .board-member {
        width: 200px;
    }
    
    .member-photo {
        height: 200px;
    }
}

@media (max-width: 768px) {
    .board-section {
        padding: 60px 0;
    }
    
    .board-text h2 {
        font-size: 2rem;
    }
    
    .board-member {
        width: 180px;
    }
    
    .member-photo {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .board-row {
        flex-direction: column;
        align-items: center;
    }
    
    .board-member {
        width: 280px;
    }
    
    .member-photo {
        height: 280px;
    }
}
/* Operational Team Section Styles */
.operational-team-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.operational-team-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 60px;
    position: relative;
}

.arrow-graphic {
    margin-bottom: 30px;
}

.arrow-graphic img {
    width: 80px;
    height: auto;
}

.intro-text h2 {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.4;
}

.operational-team-content {
    text-align: center;
}

.operational-team-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.team-description {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 50px;
    line-height: 1.6;
    color: #666;
}

/* Slider Styles */
.team-members-slider {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.slider-container {
    overflow: hidden;
    margin-bottom: 30px;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.5s ease;
}

.operational-team-member {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    padding: 20px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    min-width: 100%;
    box-sizing: border-box;
}

.member-photo-container {
    position: relative;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.member-photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.social-links {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    color: #0a3170;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0a3170;
    color: #fff;
}

.member-details {
    flex: 1;
}

.member-details h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #0a3170;
}

.member-position {
    font-size: 1rem;
    font-weight: 600;
    color: #0a3170;
    margin-bottom: 15px;
}

.member-bio {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Slider Navigation */
.slider-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.slider-prev,
.slider-next {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #0a3170;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
    background-color: #0a3170;
    color: #fff;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #0a3170;
    transform: scale(1.2);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .intro-text h2 {
        font-size: 1.8rem;
    }
    
    .operational-team-content h2 {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .operational-team-section {
        padding: 60px 0;
    }
    
    .intro-text h2 {
        font-size: 1.6rem;
    }
    
    .operational-team-content h2 {
        font-size: 2rem;
    }
    
    .operational-team-member {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .member-details {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 576px) {
    .intro-text h2 {
        font-size: 1.4rem;
    }
    
    .operational-team-content h2 {
        font-size: 1.8rem;
    }
    
    .team-description {
        font-size: 1rem;
    }
    
    .member-details h3 {
        font-size: 1.5rem;
    }
}
/* Join Us Page Styles */

/* Hero Section */
/* Join Us Page Styles */

/* Hero Section */
.join-us-hero {
    position: relative;
    height: 600px;
    background-image: url('../images/about-us/join-us-hero.jpg');
    background-size: cover;
    background-position: center;
    color: var(--light-text);
    display: flex;
    align-items: center;
    text-align: center;
    padding: 120px 0 80px; /* Reduced bottom padding */
    margin-bottom: 0; /* No negative margin needed */
}

.join-us-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 18, 51, 0.85) 0%, rgba(10, 36, 114, 0.75) 50%, rgba(14, 107, 168, 0.65) 100%);
    z-index: 1;
}

/* Modern transition between hero and benefits sections */
.join-us-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 2;
    transform-origin: bottom right;
    animation: section-transition 1.5s ease-out forwards;
}

/* Remove the previous decorative element that might interfere */
.join-us-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    z-index: 0;
}

.join-us-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.join-us-hero h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.join-us-hero p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    font-weight: 300;
}

/* Benefits Section - adjust to work with the new transition */
.benefits-section {
    position: relative;
    z-index: 1;
    padding-top: 60px; /* Add some space at the top */
    padding-bottom: 80px;
    background-color: #ffffff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 15px;
    color: #333;
}

.underline-decoration {
    width: 150px;
    height: 4px;
    background-color: #0a3170;
    margin: 0 auto 50px;
    border-radius: 2px;
}

.benefits-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.benefit-item {
    flex: 1;
    min-width: 300px;
    text-align: center;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: rgba(10, 49, 112, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 40px;
    height: 40px;
}

.benefit-item h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #0a3170;
}

.benefit-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
}

/* Application Form Section */
.application-form-section {
    padding: 80px 0;
    background-color: #fff;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-container h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0a3170;
    text-align: center;
}

.form-container p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 30px;
    text-align: center;
}

.mentor-application-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 0 calc(50% - 10px);
}

.form-group.full-width {
    flex: 1 0 100%;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    color: #333;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #0a3170;
    outline: none;
}

.form-group select[multiple] {
    height: 120px;
}

.form-actions {
    width: 100%;
    margin-top: 20px;
    text-align: center;
}

.form-actions .btn {
    padding: 12px 30px;
    font-size: 1.1rem;
    background-color: #0a3170;
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn:hover {
    background-color: #072654;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .join-us-hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .benefit-item {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .join-us-hero {
        padding: 80px 0;
    }
    
    .join-us-hero h1 {
        font-size: 2rem;
    }
    
    .join-us-hero p {
        font-size: 1rem;
    }
    
    .benefits-grid {
        flex-direction: column;
    }
    
    .benefit-item {
        min-width: 100%;
    }
    
    .form-group {
        flex: 1 0 100%;
    }
    
    .form-container {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .join-us-hero h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .form-container h2 {
        font-size: 1.6rem;
    }
}
/* Community Hero Section */
.community-hero {
    position: relative;
    background-image: url('../images/community/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 120px 0;
    color: #fff;
    text-align: center;
}

.community-hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
}

.community-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.community-hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.community-hero p {
    font-size: 1.2rem;
    line-height: 1.6;
}

/* Community Navigation */
.community-nav {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.nav-tabs .tab {
    font-size: 1.1rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 10px 20px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .tab.active,
.nav-tabs .tab:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}

/* Entrepreneurs Section */
.entrepreneurs-section {
    padding: 60px 0;
    background: #fff;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    color: #666;
    line-height: 1.6;
}

.entrepreneurs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.entrepreneur-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.entrepreneur-card:hover {
    transform: translateY(-5px);
}

.entrepreneur-photo {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
}

.entrepreneur-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Reduced opacity */
}

.entrepreneur-info {
    padding: 15px;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.entrepreneur-info h3 {
    font-size: 1rem;
    font-weight: 500;
    margin: 0;
}

.entrepreneur-info .role {
    font-size: 0.9rem;
    color: #666;
    margin: 5px 0 0;
}

.linkedin-link {
    color: #0077b5;
    font-size: 1.2rem;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .entrepreneurs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .entrepreneurs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .entrepreneurs-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }
}
/* Startups Section */
.startups-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.startups-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.startup-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.startup-card:hover {
    transform: translateY(-5px);
}

.startup-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.startup-logo img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.startup-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
}

.startup-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #666;
}

.startup-meta .separator {
    margin: 0 5px;
}

.startup-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #666;
    text-align: center;
}

/* Responsive Styles for Startups */
@media (max-width: 1200px) {
    .startups-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .startups-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .startups-grid {
        grid-template-columns: 1fr;
    }
    
    .startup-card {
        padding: 20px;
    }
}
/* Partners Section */
.partners-section {
    padding: 80px 0;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

.partners-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background-color: rgba(0, 123, 255, 0.05);
    border-radius: 50%;
    transform: translate(100px, -100px);
    z-index: 0;
}

.partners-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 200px;
    background-color: rgba(0, 123, 255, 0.05);
    border-radius: 50%;
    transform: translate(-50px, 50px);
    z-index: 0;
}

.partners-section .container {
    position: relative;
    z-index: 1;
}

.partners-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 50px;
    margin-bottom: 50px;
}

.partners-row:last-child {
    margin-bottom: 0;
}

.partner-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    transition: transform 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
}

.partner-logo img {
    max-height: 100%;
    max-width: 150px;
    object-fit: contain;
}

/* Responsive Styles for Partners */
@media (max-width: 992px) {
    .partners-row {
        gap: 30px;
    }
    
    .partner-logo {
        height: 50px;
    }
    
    .partner-logo img {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .partners-section {
        padding: 60px 0;
    }
    
    .partners-row {
        gap: 20px;
    }
    
    .partner-logo {
        height: 40px;
    }
    
    .partner-logo img {
        max-width: 100px;
    }
}

@media (max-width: 576px) {
    .partners-row {
        gap: 15px;
    }
    
    .partner-logo {
        height: 35px;
        width: 40%;
        margin-bottom: 20px;
    }
    
    .partner-logo img {
        max-width: 90px;
    }
}
/* Community Navigation */
.community-nav {
    background: #fff;
    padding: 0;
    border-bottom: 1px solid #e0e0e0;
    margin-top: 120px; /* Increased significantly to match the image */
    margin-bottom: 60px;
    width: 100%;
}

.community-nav .container {
    max-width: 100%;
    padding: 0;
}

.nav-tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
}

.nav-tabs .tab {
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    text-decoration: none;
    padding: 15px 30px;
    border-bottom: 3px solid transparent;
    position: relative;
}

/* Add vertical separators between tabs */
.nav-tabs .tab:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 25%;
    height: 50%;
    width: 1px;
    background-color: #e0e0e0;
}

.nav-tabs .tab.active,
.nav-tabs .tab:hover {
    color: #007bff;
    border-bottom-color: #007bff;
}
/* Job Listings Section */
.job-listings-section {
    padding: 60px 0;
    background-color: var(--background);
}

.section-header {
    margin-bottom: 30px;
}

.job-count {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-text);
}

/* Add transition effect between sections */
.mission-video {
    padding: 80px 0;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.job-listings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.job-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.job-card-header {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.company-logo {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    overflow: hidden;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-width: 100%;
    max-height: 100%;
}

.job-info {
    flex: 1;
}

.company-name {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 5px;
}

.job-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--dark-text);
}

.job-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    color: #fff;
    background-color: var(--primary);
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.job-meta {
    display: flex;
    gap: 15px;
    font-size: 0.85rem;
    color: #666;
}

.job-location i,
.job-contract i {
    margin-right: 5px;
    color: var(--primary);
}

.job-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #555;
}

/* Responsive styles */
@media (max-width: 992px) {
    .job-listings-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .job-card-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .company-logo {
        margin-bottom: 10px;
    }
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    gap: 5px;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 0.9rem;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination-link.prev,
.pagination-link.next {
    width: auto;
    padding: 0 15px;
    border-radius: 20px;
    color: var(--primary);
}

.pagination-link:hover {
    background-color: #eaeaea;
}

.pagination-link.active {
    background-color: var(--primary);
    color: white;
}

.pagination-ellipsis {
    color: var(--dark-text);
    margin: 0 5px;
}

@media (max-width: 576px) {
    .pagination {
        flex-wrap: wrap;
    }
    
    .pagination-link {
        width: 35px;
        height: 35px;
        font-size: 0.8rem;
    }
}
/* Job Details Page Styles */
.job-details-hero {
    background-color: var(--primary);
    color: #fff;
    padding: 120px 0 60px; /* Increased top padding from 80px to 120px */
    position: relative;
    overflow: hidden;
}

.job-details-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10, 49, 112, 0.8) 0%, rgba(10, 49, 112, 0.6) 100%);
    z-index: 1;
}

.job-details-header {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 30px;
}

.job-details-header .company-logo {
    width: 80px;
    height: 80px;
    background-color: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.job-details-header .company-logo img {
    max-width: 100%;
    max-height: 100%;
}

.job-details-info h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff !important;
}

.job-details-info .job-meta {
    display: flex;
    gap: 20px;
    font-size: 1rem;
    color: #fff !important;
}

.job-details-info .job-meta i {
    margin-right: 8px;
}

.job-content-section {
    padding: 60px 0;
    background-color: var(--background);
}

.job-content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-block {
    margin-bottom: 40px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.content-block h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.content-block h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin: 25px 0 15px;
}

.content-block p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

.job-responsibilities,
.job-requirements {
    padding-left: 20px;
    margin-bottom: 20px;
}

.job-responsibilities li,
.job-requirements li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.5;
    color: #555;
}

.job-responsibilities li::before,
.job-requirements li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
}

.job-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.application-form,
.job-share,
.similar-jobs {
    background-color: #fff;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.application-form h3,
.job-share h3,
.similar-jobs h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 5px;
    color: var(--dark-text);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group input[type="file"] {
    padding: 8px 0;
    border: none;
}

.social-share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #fff;
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
}

.share-btn.linkedin {
    background-color: #0077b5;
}

.share-btn.twitter {
    background-color: #1da1f2;
}

.share-btn.facebook {
    background-color: #3b5998;
}

.share-btn.email {
    background-color: #ea4335;
}

.similar-job-item {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.similar-job-item:last-child {
    border-bottom: none;
}

.similar-job-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 5px;
}

.similar-job-item p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
}

.btn-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s ease;
}

.btn-text i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.btn-text:hover {
    color: var(--primary-dark);
}

.btn-text:hover i {
    transform: translateX(3px);
}

/* Responsive styles */
@media (max-width: 992px) {
    .job-content-grid {
        grid-template-columns: 1fr;
    }
    
    .job-details-info h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .job-details-header {
        flex-direction: column;
        align-items: flex-start;
        text-align: center;
    }
    
    .job-details-header .company-logo {
        margin: 0 auto 20px;
    }
    
    .job-details-info .job-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .job-details-info h1 {
        font-size: 1.8rem;
        text-align: center;
    }
}
.job-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}
.header-logo {
    height: 50px; /* Reduced from 100px */
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

/* Remove white logo filter for program-details page since header is now white */
body.program-details-page .header-logo {
    filter: none; /* Changed from brightness(0) invert(1) to none */
    transition: all 0.3s ease;
}

.header.scrolled .header-logo {
    height: 50px; /* Even smaller when scrolled */
}

body.program-details-page .header.scrolled .header-logo {
    filter: none; /* Changed from brightness(0) invert(1) to none */
}

/* Adjust logo size on mobile if needed */
@media (max-width: 768px) {
    .header-logo {
        height: 60px; /* Reduced from 85px */
    }
    
    .header.scrolled .header-logo {
        height: 45px;
    }
    
    /* Remove white logo filter on mobile for program-details page */
    body.program-details-page .header-logo,
    body.program-details-page .header.scrolled .header-logo {
        filter: none; /* Changed from brightness(0) invert(1) to none */
    }
}

/* Modern transitions for program sections */
.program-section {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    visibility: visible;
}

.program-section.active {
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Staggered animation for section content */
.program-section.active .timeline-item,
.program-section.active .challenge-card,
.program-section.active .faq-item {
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
    transform: translateY(20px);
}

.program-section.active .timeline-item:nth-child(1) { animation-delay: 0.1s; }
.program-section.active .timeline-item:nth-child(2) { animation-delay: 0.2s; }
.program-section.active .timeline-item:nth-child(3) { animation-delay: 0.3s; }

.program-section.active .challenge-card:nth-child(1) { animation-delay: 0.1s; }
.program-section.active .challenge-card:nth-child(2) { animation-delay: 0.2s; }
.program-section.active .challenge-card:nth-child(3) { animation-delay: 0.3s; }

.program-section.active .faq-item:nth-child(1) { animation-delay: 0.1s; }
.program-section.active .faq-item:nth-child(2) { animation-delay: 0.2s; }
.program-section.active .faq-item:nth-child(3) { animation-delay: 0.3s; }
.program-section.active .faq-item:nth-child(4) { animation-delay: 0.4s; }
.program-section.active .faq-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Smooth transitions for program advantages section */
.program-advantages {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-advantages.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth transitions for program results section */
.program-results {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.program-results.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth transitions for target audience section */
.target-audience-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.target-audience-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth transitions for partners section */
.partners-section {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.partners-section.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced navigation transitions */
.program-nav .nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.program-nav .nav-link::before {
    display: none !important;
}

/* Brand-aligned red hover effect for program-details page ONLY */
body.program-details-page .program-nav .nav-link::before {
    display: none !important;
}

.program-nav .nav-link.active::before,
.program-nav .nav-link:hover::before {
    display: none !important;
}

/* Advantage items animation */
.advantage-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.advantage-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.15);
}

/* Result stats animation */
.result-stat {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.result-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.1);
}

/* Partner logos hover effect */
.partner-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(1);
}

.partner-logo:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* Ensure header is transparent with white text for program-details page */
body.program-details-page .header {
    background-color: transparent !important;
    box-shadow: none;
    
}

/* Override header text colors for program-details page - white bold text */
body.program-details-page .header .logo a,
body.program-details-page .header .main-nav a,
body.program-details-page .header .language-selector a {
    color: #ffffff !important;
    font-weight: bold !important;
}

body.program-details-page .header .main-nav a:hover,
body.program-details-page .header .main-nav a.active {
    color: #f0f0f0 !important;
    font-weight: bold !important;
}

/* Ensure CTA button also follows the white theme */
body.program-details-page .header .cta-button .btn {
    color: #ffffff !important;
    border-color: #ffffff !important;
    font-weight: bold !important;
}

body.program-details-page .header .cta-button .btn:hover {
    background-color: #ffffff !important;
    color: #183e79 !important;
}

/* Update the program-details-page header scrolled state for white background */
body.program-details-page .header.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Change text colors to dark when scrolled for better contrast on white background */
body.program-details-page .header.scrolled .logo a,
body.program-details-page .header.scrolled .main-nav a,
body.program-details-page .header.scrolled .language-selector a {
    color: #183e79 !important;
    font-weight: bold !important;
}

body.program-details-page .header.scrolled .main-nav a:hover,
body.program-details-page .header.scrolled .main-nav a.active {
    color: #0056b3 !important;
    font-weight: bold !important;
}

/* Update CTA button for scrolled state */
body.program-details-page .header.scrolled .cta-button .btn {
    color: #183e79 !important;
    border-color: #183e79 !important;
    font-weight: bold !important;
}

body.program-details-page .header.scrolled .cta-button .btn:hover {
    background-color: #183e79 !important;
    color: #ffffff !important;
}



/* Brand-aligned timeline styles for program-details page */
body.program-details-page .timeline-line {
    background: linear-gradient(180deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
}

body.program-details-page .step-number {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.3);
}

body.program-details-page .step-toggle-icon {
    color: var(--brand-primary);
}

body.program-details-page .modern-challenge-card[data-expanded="true"] .challenge-number {
    background: var(--brand-primary);
    color: white;
}

body.program-details-page .challenge-header:hover {
    background-color: rgba(139, 21, 56, 0.05);
}

/* Additional brand overrides for any remaining blue elements */
body.program-details-page .step-title {
    color: var(--brand-primary);
}

body.program-details-page .step-date {
    color: var(--brand-primary-dark);
}

/* Add this override for step titles in program-details page */
body.program-details-page .step-title::after {
    background-color: var(--brand-primary);
}

/* Add this override for expanded challenge title in program-details page */
body.program-details-page .modern-challenge-card[data-expanded="true"] .challenge-title-text h3 {
    color: var(--brand-primary);
}

/* Add more spacing for program steps section title */
body.program-details-page #steps.program-section {
    padding-top: 80px;
}

body.program-details-page #steps.program-section h2.section-title {
    margin-top: 20px;
}

/* Fix FAQ section spacing - add more top margin to separate from program nav */
body.program-details-page #faq.program-section {
    padding-top: 80px;
}

/* Fix FAQ section title spacing */
body.program-details-page #faq.program-section h2 {
    margin-top: 20px;
    margin-bottom: 40px;
}

/* FAQ Section Title Enhancement */
.faq-section .section-title {
    border-bottom: 3px solid #3b82f6; /* Blue underline for FAQ section */
    display: inline-block;
    padding-bottom: 10px;
}

/* Fix FAQ answer text color - make it black instead of blue */
.faq-answer {
    color: var(--dark-text) !important;
    padding: 20px 0; /* Increased padding for better spacing */
    line-height: 1.6; /* Better line spacing for readability */
}

/* Ensure all text within FAQ answers is black and properly spaced */
.faq-answer p,
.faq-answer span,
.faq-answer div {
    color: var(--dark-text) !important;
    margin-bottom: 15px; /* Add spacing between paragraphs */
}

/* Remove margin from last paragraph to avoid extra space */
.faq-answer p:last-child {
    margin-bottom: 0;
}

/* Fix the active navigation link color that was affecting FAQ */
.program-nav .nav-link.active {
    color: var(--primary);
    border-bottom: none !important;
}

/* Brand-aligned active nav for program-details page */
body.program-details-page .program-nav .nav-link.active {
    color: var(--brand-primary);
    border-bottom: none !important;
}

/* Hide entire header for program-details page but keep candidater button */
/* 
body.program-details-page .header {
    display: none;
}
*/

/* Create floating candidater button for program-details page */
body.program-details-page .floating-candidater {
    position: fixed;
    top: 50%; /* Changed from 25px to center vertically like header buttons */
    right: 20px;
    transform: translateY(-50%);
    z-index: 1200;
    background: linear-gradient(135deg, var(--brand-secondary) 0%, #E6C547 100%);
    color: var(--brand-primary);
    padding: 12px 24px; /* Changed from 8px 20px to match .btn padding */
    border-radius: 30px;
    font-weight: 600; /* Increased from 500 to match header button weight */
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    font-size: 16px; /* Increased from 14px to match header button size */
    display: inline-block; /* Added to match .btn display property */
}

/* Alternative: Position relative to nav bar height when sticky */
body.program-details-page .program-nav.nav-sticky ~ .floating-candidater,
body.program-details-page .floating-candidater {
    top: 50%; /* Changed to center vertically */
    transform: translateY(-50%);
}

body.program-details-page .floating-candidater:hover {
    transform: translateY(-50%) translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #E6C547 0%, var(--brand-secondary) 100%);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body.program-details-page .floating-candidater {
        top: 50%; /* Keep centered on mobile */
        right: 15px;
        padding: 12px 20px; /* Adjusted to maintain proportion on mobile */
        font-size: 14px; /* Slightly smaller for mobile but proportional */
        transform: translateY(-50%);
    }
}

/* Program Details Page - Footer with 3 logos */
body.program-details-page .footer-brand .footer-logo {
    display: none;
}

body.program-details-page .footer-logos {
    display: flex;
    align-items: center;
    justify-content: center; /* Better centering */
    gap: 40px; /* Increased gap for better spacing */
    margin-bottom: 30px; /* Increased margin */
    flex-wrap: wrap;
    width: 100%;
}

body.program-details-page .footer-logos .footer-logo {
    display: block;
    height: 120px; /* Increased from 80px to 120px */
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.9;
}

body.program-details-page .footer-logos .footer-logo:hover {
    transform: scale(1.1); /* Slightly increased hover effect */
    opacity: 1;
}

/* Ensure proper spacing for footer brand section */
body.program-details-page .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Hide footer elements only for program-details page */
body.program-details-page .footer-brand .copyright,
body.program-details-page .footer-brand .social-links,
body.program-details-page .footer-links {
    display: none !important;
}

/* Reorganize footer layout for program-details page */
body.program-details-page .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

body.program-details-page .footer-brand {
    display: flex;
    justify-content: center;
    width: 100%;
}

body.program-details-page .footer-logos {
    justify-content: center;
    margin-bottom: 0;
}

body.program-details-page .footer-contact {
    width: 100%;
    max-width: 600px;
}

/* Responsive design for footer logos */
@media (max-width: 768px) {
    body.program-details-page .footer-logos {
        gap: 25px; /* Increased gap for tablets */
        justify-content: center;
        margin-bottom: 20px;
    }
    
    body.program-details-page .footer-logos .footer-logo {
        height: 80px; /* Increased from 40px to 80px for tablets */
    }
    
    body.program-details-page .footer-brand {
        align-items: center;
        text-align: center;
    }
    
    /* Responsive adjustments for program-details page footer */
    body.program-details-page .footer-content {
        gap: 30px;
    }
    
    body.program-details-page .footer-contact {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    body.program-details-page .footer-logos {
        gap: 15px;
    }
    
    body.program-details-page .footer-logos .footer-logo {
        height: 60px; /* Increased from 35px to 60px for mobile */
    }
}
/* Next Section Navigation Buttons */
.next-section-container {
    display: flex;
    justify-content: center;
    margin: 100px 0 40px; /* Increased top margin from 60px to 100px */
    padding: 0 20px;
}

/* Next Section Navigation Buttons - Default styling for all pages */
.next-section-btn,
.final-section-btn {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
    text-transform: none;
    letter-spacing: 0.5px;
}

.next-section-btn:hover,
.final-section-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.4);
    background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
}

.next-section-btn:active,
.final-section-btn:active {
    transform: translateY(0);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* Brand-aligned navigation buttons for program-details page ONLY */
body.program-details-page .next-section-btn,
body.program-details-page .final-section-btn {
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-primary-dark) 100%);
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

body.program-details-page .next-section-btn:hover,
body.program-details-page .final-section-btn:hover {
    box-shadow: 0 8px 25px rgba(139, 21, 56, 0.4);
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, #4A0A1C 100%);
}

body.program-details-page .next-section-btn:active,
body.program-details-page .final-section-btn:active {
    box-shadow: 0 4px 15px rgba(139, 21, 56, 0.3);
}

.next-section-btn i,
.final-section-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.next-section-btn:hover i {
    transform: translateX(3px);
}

.final-section-btn:hover i {
    transform: translateY(2px);
}

/* Responsive design for navigation buttons */
@media (max-width: 768px) {
    .next-section-btn,
    .final-section-btn {
        padding: 15px 30px;
        font-size: 14px;
        gap: 10px;
    }
    
    .next-section-container {
        margin: 80px 0 30px; /* Increased top margin for mobile from 40px to 80px */
    }
}

@media (max-width: 480px) {
    .next-section-btn,
    .final-section-btn {
        padding: 12px 25px;
        font-size: 13px;
        width: 100%;
        max-width: 280px;
    }
}

/* Challenge Categories */
.challenge-category {
    margin-bottom: 30px;
}

.challenge-category:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 20px;
    padding-bottom: 10px;
    /* border-bottom: 3px solid #ef4444; */ /* Remove red underline for challenge categories */
    display: inline-block;
    position: relative;
}

/* Brand-aligned category title for program-details page */
body.program-details-page .category-title {
    color: var(--brand-primary);
    /* border-bottom: 3px solid var(--brand-primary); */ /* Remove this line */
}

.category-title::after {
    display: none;
}

.hallenge-description-subtitle {
    margin-top: 8px;
    margin-bottom: 4px; /* Reduced bottom margin */
    font-size: 14px;
    color: #666;
    font-weight: normal;
    line-height: 1.4;
}

.challenge-description-subtitle p {
    margin: 0;
    font-size: inherit;
    color: inherit;
    line-height: inherit;
}

/* Media Section Styles */
.media-subsection {
    margin-bottom: 60px;
}

.media-subsection h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 30px;
    text-align: center;
}

/* Video Grid Styles */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 123, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-overlay:hover {
    background: var(--primary);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-item h4 {
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-text);
    margin: 20px 20px 10px;
}

.video-item p {
    font-size: 14px;
    color: var(--light-text);
    margin: 0 20px 20px;
    line-height: 1.5;
}

/* Press Coverage Styles */
.press-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.press-item {
    display: flex;
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.press-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.press-logo {
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 20px;
}

.press-logo img {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

.press-content {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.press-content h4 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 10px;
    line-height: 1.4;
}

.press-excerpt {
    font-size: 14px;
    color: var(--light-text);
    margin-bottom: 15px;
    line-height: 1.5;
}

.press-link {
    color: var(--primary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.press-link:hover {
    color: #0056b3;
}

.press-link i {
    margin-left: 5px;
    font-size: 12px;
}

/* Photo Gallery Styles */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.photo-item {
    position: relative;
    height: 200px;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.photo-item:hover {
    transform: scale(1.05);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.photo-item:hover .photo-overlay {
    transform: translateY(0);
}

.photo-overlay span {
    font-size: 14px;
    font-weight: 500;
}

/* Reglement Section Styles */
.reglement-subsection {
    margin-bottom: 50px;
}

.reglement-subsection h3 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-text);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary);
    position: relative;
}

.reglement-subsection h3::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

/* Brand-aligned reglement section for program-details page */
body.program-details-page .reglement-subsection h3 {
    border-bottom: 3px solid var(--brand-primary);
}

body.program-details-page .reglement-subsection h3::after {
    background: var(--brand-secondary);
}

.reglement-content {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.reglement-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
}

.reglement-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.reglement-item h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-text);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.reglement-item h4::before {
    content: '';
    width: 4px;
    height: 20px;
    background: var(--primary);
    margin-right: 12px;
    border-radius: 2px;
}

/* Brand-aligned reglement item for program-details page */
body.program-details-page .reglement-item h4::before {
    background: var(--brand-primary);
}

.reglement-item p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 15px;
}

.reglement-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.reglement-item li {
    font-size: 16px;
    line-height: 1.6;
    color: var(--light-text);
    margin-bottom: 10px;
    padding-left: 25px;
    position: relative;
}

.reglement-item li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 14px;
}

/* Brand-aligned reglement list items for program-details page */
body.program-details-page .reglement-item li::before {
    color: var(--brand-primary);
}

/* Responsive Design for Media and Reglement Sections */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .press-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .media-subsection h3,
    .reglement-subsection h3 {
        font-size: 24px;
        text-align: left;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .press-item {
        flex-direction: column;
    }
    
    .press-logo {
        width: 100%;
        height: 80px;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reglement-content {
        padding: 20px;
    }
    
    .reglement-item h4 {
        font-size: 18px;
    }
    
    .reglement-item p,
    .reglement-item li {
        font-size: 14px;
    }
    
    .challenge-category {
        margin-bottom: 40px;
    }
    
    .category-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .challenge-description-subtitle {
        font-size: 13px;
        margin-top: 6px;
    }
}

@media (max-width: 576px) {
    .photo-gallery {
        grid-template-columns: 1fr;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .media-subsection h3,
    .reglement-subsection h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .category-title {
        font-size: 20px;
        margin-bottom: 15px;
    }
}

/* Share Section Styles */
.share-section {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #e9ecef;
    border-bottom: 1px solid #e9ecef;
}

.share-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.share-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-logo {
    height: 56px; /* Increased from 40px (40% bigger) */
    width: auto;
}

.share-text {
    font-size: 16px;
    font-weight: 500;
    color: #dc3545;
    display: flex;
    align-items: center;
    gap: 8px;
}

.share-text::before {
    content: "⏰";
    font-size: 18px;
}

.share-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.share-label {
    font-size: 16px;
    font-weight: 500;
    color: #6c757d;
}

/* Share Dropdown Styles */
.share-dropdown {
    position: relative;
    display: inline-block;
}

.share-toggle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: transparent;
    color: #000;
    border: none;
    font-size: 44px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.share-toggle-btn:hover {
    background-color: #f8f9fa;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.share-dropdown-menu {
    position: absolute;
    top: 50%;
    right: 70px;
    transform: translateY(-50%);
    background: transparent; /* Changed from white to transparent */
    border-radius: 12px;
    box-shadow: none; /* Removed shadow */
    padding: 8px 16px;
    min-width: auto;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: none; /* Removed border */
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.share-dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
}

.share-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
    font-weight: 500;
    padding: 0;
}

.share-option:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.share-option span {
    display: none;
}

.share-option i {
    width: auto;
    text-align: center;
    font-size: 16px;
}

.share-option.facebook:hover {
    color: #1877f2;
}

.share-option.twitter:hover {
    color: #1da1f2;
}

.share-option.linkedin:hover {
    color: #0077b5;
}

.share-option.whatsapp:hover {
    color: #25d366;
}

.share-option.copy-link:hover {
    color: #6c757d;
}

/* Hide share button when dropdown is shown */
.share-toggle-btn.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Hide share label when dropdown is shown */
.share-label.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Responsive Design */
@media (max-width: 768px) {
    .share-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .share-left {
        justify-content: center;
    }
    
    .share-right {
        justify-content: center;
    }
    
    .share-dropdown-menu {
        right: 50%;
        transform: translateX(50%) translateY(-50%);
    }
    
    .share-dropdown-menu.show {
        transform: translateX(50%) translateY(-50%);
    }
}

/* Elise Message Section - Modernized */
.elise-message-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.elise-message-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 21, 56, 0.1), transparent);
}

.message-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.message-content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 60px;
    align-items: center;
    background: white;
    padding: 60px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
}

.message-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), #a91d47, var(--brand-primary));
    border-radius: 20px 20px 0 0;
}

.elise-photo-container {
    position: relative;
    width: 100%;
    max-width: 280px;
    aspect-ratio: 1;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--brand-primary);
    box-shadow: 0 10px 30px rgba(139, 21, 56, 0.2);
    margin: 0 auto;
}

.elise-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.message-text {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.elise-info {
    margin-bottom: 20px;
}

.elise-name {
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 10px;
    line-height: 1.2;
}

.elise-title {
    font-size: 16px;
    color: #666;
    line-height: 1.4;
    margin: 0;
}

.quote-content {
    position: relative;
}

.main-quote {
    font-size: 18px;
    color: #2c3e50;
    line-height: 1.8;
    margin: 0;
    padding-left: 40px;
    padding-right: 30px;
    position: relative;
    font-style: italic;
    font-weight: 600;
}

/* Remove or comment out this rule to eliminate the big quotes */
/*
.main-quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 70px;
    color: var(--brand-primary);
    font-family: 'Georgia', serif;
    line-height: 1;
    opacity: 0.8;
}
*/

.video-link-section {
    margin-top: 20px;
}

.video-invitation {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding-right:30px ;
}

.video-link {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.video-link:hover {
    color: #a91d47;
    border-bottom-color: #a91d47;
}

/* Responsive Design */
@media (max-width: 992px) {
    .message-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 40px 30px;
    }
    
    .elise-photo-container {
        max-width: 220px;
    }
    
    .elise-name {
        font-size: 24px;
    }
    
    .main-quote {
        font-size: 17px;
    }
}

@media (max-width: 768px) {
    .elise-message-section {
        padding: 60px 0;
    }
    
    .message-content {
        padding: 30px 20px;
        margin: 0 10px;
    }
    
    .elise-photo-container {
        max-width: 180px;
    }
    
    .elise-name {
        font-size: 22px;
    }
    
    .elise-title {
        font-size: 15px;
    }
    
    .main-quote {
        font-size: 16px;
        padding-left: 25px;
        padding-right: 25px;
    }
    
    /* Remove or comment out this responsive rule as well */
    /*
    .main-quote::before {
        font-size: 50px;
    }
    */
}

@media (max-width: 576px) {
    .elise-message-section {
        padding: 50px 0;
    }
    
    .message-content {
        padding: 25px 15px;
        gap: 25px;
    }
    
    .elise-photo-container {
        max-width: 150px;
    }
    
    .elise-name {
        font-size: 20px;
    }
    
    .elise-title {
        font-size: 14px;
    }
    
    .main-quote {
        font-size: 15px;
    }
    
    .video-invitation {
        font-size: 15px;
    }
}

.program-diagram-section {
    padding: 60px 0;
    /* background-color: #f8f9fa; */
}

.diagram-header {
    text-align: center;
    margin-bottom: 40px;
}

.diagram-header h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 15px;
}

.diagram-header p {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin: 0 auto;
}

.diagram-container {
    text-align: center;
}

.program-diagram-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Standardized Section Titles */
.program-info-content h2,
.info-text h2,
.target-audience-text h2,
.advantages-header h2.section-title {
    color: var(--primary);
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    position: relative;
}

body.program-details-page .program-info-content h2,
body.program-details-page .info-text h2,
body.program-details-page .target-audience-text h2,
body.program-details-page .advantages-header h2.section-title {
    color: var(--brand-primary);
}

/* Override colors for specific section titles to white */
body.program-details-page .target-audience-text h2,
body.program-details-page .advantages-header h2.section-title {
    color: white !important;
}

/* Add decorative underline for consistency */
.program-info-content h2::after,
.info-text h2::after,
.target-audience-text h2::after,
.advantages-header h2.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    border-radius: 2px;
}

body.program-details-page .program-info-content h2::after,
body.program-details-page .info-text h2::after,
body.program-details-page .target-audience-text h2::after,
body.program-details-page .advantages-header h2.section-title::after {
    background: linear-gradient(to right, var(--brand-secondary), var(--brand-primary));
}

/* Also update the decorative underline to be visible on dark backgrounds */
body.program-details-page .target-audience-text h2::after,
body.program-details-page .advantages-header h2.section-title::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0.7), white) !important;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .program-info-content h2,
    .info-text h2,
    .target-audience-text h2,
    .advantages-header h2.section-title {
        font-size: 28px;
        text-align: center;
    }
    
    .program-info-content h2::after,
    .info-text h2::after,
    .target-audience-text h2::after,
    .advantages-header h2.section-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
    }
}

@media (max-width: 768px) {
    .program-info-content h2,
    .info-text h2,
    .target-audience-text h2,
    .advantages-header h2.section-title {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .program-numbers {
        padding: 60px 0;
    }
    
    .numbers-header .section-title {
        font-size: 2rem;
    }
    
    .numbers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .number-item {
        padding: 25px 20px;
        flex-direction: column;
        text-align: center;
    }
    
    .number-icon {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .number-value {
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 2.5rem;
    }
    
    .number-description {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .number-item {
        padding: 20px 15px;
    }
    
    .number-value {
        font-size: 2.2rem;
    }
    
    .numbers-header .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .program-info-content h2,
    .info-text h2,
    .target-audience-text h2,
    .advantages-header h2.section-title {
        font-size: 22px;
    }
    
    /* Responsive design for smaller h2 elements */
    .advantages-content .advantages-header h2:not(.section-title) {
        font-size: 14px !important;
    }
}

/* Updated logos section - no container styling for white logos */
.program-logos-section {
    margin-top: 40px;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.logos-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Removed all container styling - no background, border, or backdrop-filter */
    transition: all 0.3s ease;
}

.logo-item:hover {
    transform: translateY(-5px);
    /* Removed container hover effects */
}

.logo-item img {
    height: 70px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    filter: brightness(1) contrast(1);
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: brightness(1.1) contrast(1.1);
    transform: scale(1.05);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .program-logos-section {
        margin-top: 30px;
        padding: 20px 0;
    }
    
    .logos-container {
        gap: 30px;
    }
    
    .logo-item img {
        height: 55px;
        max-width: 140px;
    }
}

@media (max-width: 480px) {
    .logos-container {
        gap: 20px;
    }
    
    .logo-item img {
        height: 45px;
        max-width: 120px;
    }
}
/* Program Description Section Styling */
.program-description {
    background: #ffffff;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-bottom: 0; /* Ensure no bottom margin */
}

.program-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.program-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.program-description .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.program-description-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.description-text {
    flex: 1;
    color: #e52b2b;
}

.description-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 30px;
    font-weight: bold;
    text-align: left;
}

.description-text p:last-child {
    margin-bottom: 0;
}

.description-image {
    flex: 0 0 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.description-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.description-image img:hover {
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 768px) {
    .program-description {
        padding: 60px 0;
    }
    
    .program-description-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .description-image {
        flex: none;
        order: -1;
    }
    
    .description-text p {
        font-size: 1.1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .program-description {
        padding: 40px 0;
    }
    
    .description-text p {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .description-image {
        flex: 0 0 300px;
    }
}

/* Program Stats Section Styling */
.program-stats {
    background: white;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.program-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.program-stats::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #f1c40f, #f39c12);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.program-stats .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.stats-header {
    text-align: center;
    margin-bottom: 60px;
}

.stats-header .section-title {
    font-family: 'Montserrat', sans-serif;
    color: #af2b23;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    line-height: 1.2;
    text-align: left;
    position: relative;
}

.stats-header .section-subtitle {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.stats-grid .stat-item:nth-child(4),
.stats-grid .stat-item:nth-child(5) {
    grid-row: 2;
}

.stats-grid .stat-item:nth-child(4) {
    grid-column: 1 / 2;
}

.stats-grid .stat-item:nth-child(5) {
    grid-column: 3 / 4;
}

.stat-item {
    text-align: center;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-size: 6rem;
    font-weight: 700;
    color: #4a90e2;
    margin-bottom: 15px;
    line-height: 1;
}

.stat-description {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 20px;
}

.stat-line {
    width: 80px;
    height: 4px;
    background: #4a90e2;
    margin: 0 auto;
    border-radius: 2px;
}

.program-stats .stat-item {
    text-align: center;
    position: relative;
    opacity: 1;
    transform: translateY(0);
}

.program-stats .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #af2b23;
    margin-bottom: 10px;
    opacity: 1;
    transform: translateY(0);
}

.program-stats .stat-description {
    font-size: 1.5rem;
    color: #af2b23;
    line-height: 1.4;
    opacity: 1;
    transform: translateY(0);
}

.program-stats .stat-line {
    width: 80px;
    height: 6px;
    background-color: #f8c323;
    margin: 0 auto;
    border-radius: 3px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .program-stats {
        padding: 60px 0;
    }
    
    .stats-header .section-title {
        font-size: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 40px;
    }
    
    .stats-grid .stat-item:nth-child(4),
    .stats-grid .stat-item:nth-child(5) {
        grid-row: auto;
        grid-column: auto;
    }
    
    .stat-number {
        font-size: 3rem;
    }
}

@media (max-width: 480px) {
    .program-stats {
        padding: 40px 0;
    }
    
    .stats-header .section-title {
        font-size: 1.8rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stats-grid {
        gap: 30px;
    }
}

/* New Footer Styles */
.new-footer {
    background-color: #f8f9fa;
    padding: 60px 0 0;
    border-top: 1px solid #e9ecef;
}

.new-footer-content {
    display: flex;
    align-items: flex-start;
    gap: 80px;
    margin-bottom: 40px;
}

.footer-logo-section {
    flex-shrink: 0;
}

.new-footer-logo {
    max-width: 200px;
    height: auto;
}

.footer-sections {
    display: flex;
    gap: 80px;
    flex: 1;
}

.footer-section {
    flex: 1;
}

.footer-section h3 {
    color: #2c5aa0;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Poppins', sans-serif;
}

.newsletter-form {
    margin-top: 10px;
}

.newsletter-input {
    width: 100%;
    max-width: 300px;
    padding: 12px 16px;
    border: 2px solid #2c5aa0;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: #1e3d72;
}

.job-link {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.job-link:hover {
    color: #1e3d72;
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #2c5aa0;
    color: white !important;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

.social-icons a:hover {
    background-color: #1e3d72;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.4);
}

.social-icons a i {
    color: white !important;
    font-size: 20px;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #2c5aa0;
    color: white !important;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(44, 90, 160, 0.3);
}

.footer-social-icons a:hover {
    background-color: #1e3d72;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.4);
}

.footer-social-icons a i {
    color: white !important;
    font-size: 20px;
}

.footer-bottom {
    border-top: 1px solid #e9ecef;
    padding: 20px 0;
    background-color: #ffffff;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright-text {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.footer-legal-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-legal-links a {
    color: #2c5aa0;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #1e3d72;
}

/* Responsive Design */
@media (max-width: 992px) {
    .new-footer-content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .footer-sections {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .new-footer {
        padding: 40px 0 0;
    }
    
    .footer-sections {
        gap: 30px;
    }
    
    .footer-legal-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Header buttons container for program details page */
body.program-details-page .header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

/* Candidater button in header */
body.program-details-page .candidater-button .btn-candidater {
    background: linear-gradient(135deg, var(--brand-secondary) 0%, #E6C547 100%);
    color: var(--brand-primary);
    border: 1px solid transparent;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    font-size: 16px;
    display: inline-block;
}

body.program-details-page .candidater-button .btn-candidater:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
    background: linear-gradient(135deg, #E6C547 0%, var(--brand-secondary) 100%);
}

/* Remove the old floating candidater styles for this page */
body.program-details-page .floating-candidater {
    display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body.program-details-page .header-buttons {
        gap: 10px;
    }
    
    body.program-details-page .candidater-button .btn-candidater {
        padding: 10px 18px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    body.program-details-page .header-buttons {
        flex-direction: column;
        gap: 8px;
    }
}