:root {
    --primary: #01A0B5; /* PEPA Blue */
    --primary-dark: #007c8c;
    --accent: #135091; /* Elegant Blue instead of Gold */
    --accent-dark: #0d3a6b;
    --dark: #121212;
    --light: #faf9f6; /* Soft Ivory */
    --white: #ffffff;
    --text: #2d2d2d;
    --text-muted: #6b7280;
    --border: #e5e7eb;
    --font-heading: 'Playfair Display', serif;
    --font-main: 'Inter', sans-serif;
    --transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Accessibility Modes */
body.dark-mode {
    --light: #121212;
    --white: #1e1e1e;
    --text: #f3f4f6;
    --text-muted: #9ca3af;
    --border: #2d2d2d;
}

body.high-contrast {
    --primary: #000;
    --accent: #ff0;
    --text: #000;
    --light: #fff;
    background: #fff !important;
}

body.dyslexic-font {
    font-family: 'OpenDyslexic', 'Inter', sans-serif !important;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text);
    background-color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    position: relative;
}

h1, h2, h3, h4, .site-name {
    font-family: var(--font-heading);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Layout Containers */
.container {
    width: 100%;
    max-width: 1600px;
    padding: 0 5%;
    margin: 0 auto;
}

.container-fluid {
    width: 100%;
    padding: 0;
}

@media (min-width: 1920px) {
    .container { padding: 0 3%; max-width: 100%; }
}

/* Buttons */
.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: none;
    cursor: pointer;
}

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

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 1.2rem 2.5rem;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    border: 1px solid var(--white);
    cursor: pointer;
}

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

/* Header Redesign */
.main-header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 0 5%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img { height: 60px; }
.logo-text { display: flex; flex-direction: column; }
.logo-text .site-name { font-size: 1.8rem; font-weight: 700; color: var(--primary); letter-spacing: 1px; line-height: 1; }
.logo-text .site-tagline { font-size: 0.7rem; text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-top: 5px; }

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 1.2rem;
    align-items: center;
}

.desktop-nav a {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    color: var(--text);
}

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

.btn-donate {
    background: var(--primary);
    color: var(--white) !important;
    padding: 0.6rem 1.2rem;
    border-radius: 2px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.header-actions { display: flex; align-items: center; gap: 1rem; }
.lang-switcher { font-weight: 700; font-size: 0.75rem; color: var(--text-muted); white-space: nowrap; }
.lang-switcher a { color: var(--text-muted); }
.lang-switcher a.active { color: var(--primary); }

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

@media (max-width: 1024px) {
    .desktop-nav { display: none; }
    .menu-toggle { display: block; }
}

@media (max-width: 480px) {
    .logo img { height: 45px; }
    .logo-text .site-name { font-size: 1.4rem; }
    .logo-text .site-tagline { font-size: 0.55rem; letter-spacing: 1px; }
    .header-actions { gap: 0.5rem; }
}

/* Mobile Nav Overlay */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-menu-overlay.open { opacity: 1; visibility: visible; }

.mobile-menu {
    position: absolute;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 400px;
    height: 100vh;
    background: var(--white);
    padding: 2.5rem;
    transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -15px 0 40px rgba(0,0,0,0.2);
    overflow-y: auto;
}

.mobile-menu-overlay.open .mobile-menu { right: 0; }

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.mobile-menu-header img { height: 55px; }
.menu-close { background: var(--light); border: none; font-size: 1.2rem; color: var(--primary); width: 45px; height: 45px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: 0.3s; }
.menu-close:hover { background: var(--primary); color: var(--white); transform: rotate(90deg); }

.mobile-nav ul { list-style: none; }
.mobile-nav li { border-bottom: 1px solid rgba(0,0,0,0.05); }
.mobile-nav li:last-child { border-bottom: none; }
.mobile-nav a { 
    font-size: 0.95rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 2px; 
    display: flex; 
    align-items: center; 
    gap: 20px; 
    padding: 1.2rem 0;
    color: var(--text);
    transition: 0.3s;
}
.mobile-nav a:hover { color: var(--primary); padding-left: 10px; }
.mobile-nav i { color: var(--accent); width: 25px; font-size: 1.1rem; opacity: 0.7; }

.mobile-donate { 
    background: var(--primary); 
    color: white !important; 
    display: block; 
    text-align: center; 
    padding: 1.2rem; 
    margin-top: 2rem; 
    letter-spacing: 2px; 
    font-weight: 800; 
    text-transform: uppercase;
    font-size: 0.85rem;
    box-shadow: 0 10px 20px rgba(1, 160, 181, 0.2);
}

.mobile-contact-info { margin-top: auto; padding-top: 2rem; border-top: 2px solid var(--primary); }
.mobile-contact-info p { margin-bottom: 1rem; font-size: 0.85rem; display: flex; align-items: center; gap: 15px; color: var(--text-muted); font-weight: 600; }
.mobile-contact-info i { color: var(--primary); font-size: 1rem; }

/* Dynamic Hero Section */
.dynamic-hero {
    background: linear-gradient(135deg, #01A0B5 0%, #135091 100%);
    overflow: hidden;
    color: white;
}

.hero-dynamic-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-blob {
    position: absolute;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.05));
    filter: blur(20px);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    animation: heroBlobMorph 12s infinite alternate ease-in-out;
}

.hero-blob:nth-child(1) { width: 600px; height: 600px; top: -200px; left: -100px; }
.hero-blob:nth-child(2) { width: 700px; height: 700px; bottom: -250px; right: -150px; animation-delay: -4s; }
.hero-blob:nth-child(3) { width: 400px; height: 400px; top: 10%; right: 5%; animation-delay: -8s; }

.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-icons i {
    position: absolute;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.1);
    animation: floatIcon 15s infinite linear;
}

.icon-1 { top: 15%; left: 10%; animation-duration: 18s; }
.icon-2 { top: 25%; right: 15%; animation-duration: 22s; }
.icon-3 { bottom: 20%; left: 20%; animation-duration: 20s; }
.icon-4 { bottom: 30%; right: 25%; animation-duration: 25s; }
.icon-5 { top: 60%; left: 5%; animation-duration: 19s; }
.icon-6 { top: 10%; right: 30%; animation-duration: 21s; }

.hero-brand {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.hero-logo-large {
    height: 120px;
    width: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
    animation: logoPulse 4s infinite ease-in-out;
}

@keyframes heroBlobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0, 0) rotate(0deg); }
    50% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: translate(30px, 30px) rotate(90deg); }
    100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: translate(0, 0) rotate(180deg); }
}

@keyframes floatIcon {
    0% { transform: translate(0, 0) rotate(0deg); opacity: 0; }
    10% { opacity: 0.1; }
    90% { opacity: 0.1; }
    100% { transform: translate(100px, -100px) rotate(360deg); opacity: 0; }
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@media (max-width: 768px) {
    .hero-logo-large { height: 80px; }
    .hero-blob { width: 200px; height: 200px; }
}
.page-hero {
    height: 70vh;
    min-height: 550px;
    position: relative;
    background-size: cover;
    background-position: center 25%;
    display: flex;
    align-items: center;
    padding: 0 !important;
}

.page-hero .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6));
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-hero .hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    color: white;
    margin-bottom: 1.5rem;
    font-weight: 400;
    line-height: 1.1;
}

.page-hero .hero-lead {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .page-hero {
        height: 60vh;
        min-height: 450px;
    }
}

/* Sections */
section { padding: 2rem 0; position: relative; }
.section-title { font-size: clamp(2.2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; color: var(--primary); line-height: 1.1; }
.eyebrow { font-family: var(--font-main); color: var(--accent); text-transform: uppercase; letter-spacing: 4px; font-size: 0.75rem; font-weight: 700; margin-bottom: 0.8rem; display: block; }

/* Hero Slideshow */
.hero-slideshow-container { height: 90vh; min-height: 700px; position: relative; overflow: hidden; background: #000; padding: 0; }
.hero-slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; background-size: cover; background-repeat: no-repeat; background-position: center 25%; opacity: 0; transition: opacity 2s; }
.slide.active { opacity: 1; }
.hero-video { width: 100%; height: 100%; object-fit: cover; }

.hero-nav { position: absolute; top: 50%; width: 100%; transform: translateY(-50%); display: flex; justify-content: space-between; padding: 0 2rem; z-index: 20; pointer-events: none; }
.hero-nav button { pointer-events: auto; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: white; width: 60px; height: 60px; border-radius: 50%; cursor: pointer; transition: 0.3s; backdrop-filter: blur(5px); }
.hero-nav button:hover { background: var(--primary); border-color: var(--primary); transform: scale(1.1); }
.hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; text-align: center; }
.hero-title { font-size: clamp(2.2rem, 6vw, 4.5rem); color: white; margin-bottom: 2.5rem; font-weight: 400; letter-spacing: -1px; line-height: 1.1; }
.hero-lead { color: var(--accent); text-transform: uppercase; letter-spacing: 4px; font-size: 0.9rem; font-weight: 700; margin-bottom: 1.5rem; }
.hero-actions { display: flex; gap: 1.5rem; justify-content: center; margin-top: 2rem; }

/* Grids */
.grid-2-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 3rem; }
.grid-3-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; }
.grid-4-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem; }

@media (min-width: 1024px) {
    .grid-3-cols { grid-template-columns: repeat(3, 1fr); }
    .grid-4-cols { grid-template-columns: repeat(4, 1fr); }
}

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

/* Stats Section */
.stats-section { padding-top: 0; margin-top: -80px; z-index: 10; }
.stats-card { background: var(--white); padding: 3.5rem 2.5rem; border: 1px solid rgba(0,0,0,0.05); box-shadow: 0 30px 60px rgba(0,0,0,0.05); }
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.stat-box { word-wrap: break-word; hyphens: auto; overflow-wrap: break-word; }
@media (max-width: 480px) {
    .stat-box strong { font-size: 1.8rem !important; }
    .stat-box p { font-size: 0.75rem !important; }
}

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

/* Program Items */
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(0,0,0,0.05); }

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

@media (max-width: 600px) {
    .program-grid { grid-template-columns: 1fr; }
}
.programmes-detailed-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0,0,0,0.05); }
@media (max-width: 1024px) {
    .programmes-detailed-grid { grid-template-columns: 1fr; }
}
.program-item { padding: 3rem; background: white; transition: var(--transition); overflow: hidden; }
.program-item h3 { margin-bottom: 1.5rem; font-size: 2.2rem; word-wrap: break-word; hyphens: auto; }
@media (max-width: 768px) {
    .program-item { padding: 2rem 1.5rem; }
    .program-item h3 { font-size: 1.8rem; }
}
@media (max-width: 480px) {
    .program-item { padding: 1.5rem 1rem; }
    .program-item h3 { font-size: 1.5rem; }
}
.program-item:hover { background: #fff; transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0,0,0,0.1); }
.program-item:hover img { transform: scale(1.05); }
.program-item img { transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }

/* Country Cards */
.country-card-luxury { transition: var(--transition); }
.country-card-luxury:hover { transform: translateY(-10px); }
.country-card-luxury .image-wrapper img { transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.country-card-luxury:hover .image-wrapper img { transform: scale(1.05); }

/* Contact Page */
.contact-card-about { background: var(--light); padding: 2.5rem; margin-bottom: 2rem; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.contact-card-flex { display: flex; gap: 2.5rem; align-items: center; flex-wrap: wrap; }
.contact-image-wrapper { width: 180px; height: 180px; flex-shrink: 0; }

@media (max-width: 600px) {
    .contact-card-about { padding: 1.5rem; }
    .contact-card-flex { gap: 1.5rem; justify-content: center; text-align: center; }
    .contact-image-wrapper { width: 150px; height: 150px; }
}

/* Network Cards */
.network-section { background-color: var(--light); position: relative; overflow: hidden; }

/* Locations Grid */
.locations-grid { margin-top: 2rem; display: grid; gap: 2rem; }
.location-item { display: flex; gap: 2rem; align-items: flex-start; overflow-wrap: break-word; word-wrap: break-word; word-break: break-word; hyphens: auto; }

@media (max-width: 600px) {
    .location-item { flex-direction: column; gap: 1rem; }
    .location-item h4 { font-size: 0.85rem; }
    .location-item p { font-size: 1rem !important; }
}
.network-section::before { content: "PEPA"; position: absolute; top: -50px; right: -50px; font-size: 20rem; font-weight: 900; color: rgba(0,0,0,0.02); z-index: 0; pointer-events: none; }

.network-card { 
    background: var(--white); 
    border: 1px solid var(--border); 
    border-radius: 0; /* Match sharp design */
    overflow: hidden; 
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.network-card:hover { 
    transform: translateY(-12px); 
    box-shadow: 0 40px 80px rgba(0,0,0,0.08); 
    border-color: var(--primary); 
}
.network-card .image-container { 
    height: 220px; 
    overflow: hidden; 
    position: relative;
}
.network-card .image-container img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1); 
}
.network-card:hover .image-container img { transform: scale(1.1); }
.network-card .card-content { 
    padding: 1.5rem; 
    flex-grow: 1; 
    display: flex; 
    flex-direction: column;
    border-top: 4px solid var(--accent);
}
.network-card h3 { 
    font-family: var(--font-heading); 
    font-size: 1.2rem; 
    color: var(--primary); 
    margin-bottom: 1rem; 
    line-height: 1.3;
}
.network-card .network-info { 
    font-size: 0.85rem; 
    color: var(--text-muted); 
    line-height: 1.7;
    word-break: break-word;
    overflow-wrap: anywhere;
}
.network-card .network-link {
    margin-top: auto;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: 0.3s;
}
.network-card:hover .network-link { color: var(--primary); gap: 15px; }

/* Network Grid Desktop - Ensure 4 columns */
.network-grid-desktop {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(0,0,0,0.05);
}
@media (max-width: 1200px) {
    .network-grid-desktop { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .network-grid-desktop { grid-template-columns: 1fr; }
}

/* Footer */
.site-footer { background: #000; color: #fff; padding: 5rem 0 3rem; border-top: 1px solid #1a1a1a; }
.footer-container { max-width: 1600px; margin: 0 auto; padding: 0 5%; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 2fr; gap: 4rem; margin-bottom: 4rem; }
.footer-logo { height: 80px; margin-bottom: 2rem; }
.footer-social { display: flex; gap: 1.5rem; margin-top: 2rem; }
.footer-social a { 
    width: 40px; 
    height: 40px; 
    background: rgba(255,255,255,0.05); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 50%; 
    font-size: 1rem; 
    transition: 0.3s; 
    color: #fff;
    border: 1px solid rgba(255,255,255,0.1);
}
.footer-social a:hover { background: var(--accent); color: #fff; transform: translateY(-3px); border-color: var(--accent); }
.footer-links h3, .footer-contact h3 { color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 2rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 1rem; }
.footer-links a { opacity: 0.7; color: #fff; }
.footer-links a:hover { opacity: 1; color: var(--accent); }
.footer-contact p { margin-bottom: 1.2rem; opacity: 0.8; display: flex; gap: 15px; color: #fff; }
.footer-contact i { color: var(--accent); }
.footer-bottom { border-top: 1px solid #1a1a1a; padding-top: 3rem; display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; opacity: 0.6; color: #fff; }

/* Notifications */
.notification-banner {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 1.5rem 2.5rem;
    z-index: 9999;
    color: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 15px;
    animation: slideInRight 0.5s ease forwards;
    max-width: 450px;
}

.notification-banner.success { background: #10b981; border-left: 5px solid #065f46; }
.notification-banner.error { background: #ef4444; border-left: 5px solid #991b1b; }

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}
.floating-container { 
    position: fixed; 
    bottom: 2rem; 
    right: 2rem; 
    z-index: 999; 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
    max-width: 60px;
}
.floating-btn { 
    width: 60px; 
    height: 60px; 
    background: var(--primary); 
    color: white; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    font-size: 1.2rem; 
    transition: 0.3s; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
    border: none;
    cursor: pointer;
}
.floating-btn:hover { transform: translateY(-5px); background: var(--accent); }
.back-to-top { background: var(--accent); opacity: 0; visibility: hidden; }
.back-to-top.show { opacity: 1; visibility: visible; }

/* Accessibility */
.accessibility-wrapper { position: fixed; bottom: 2rem; left: 2rem; z-index: 1000; }
.accessibility-trigger { 
    width: 60px; 
    height: 60px; 
    background: #0056b3; 
    color: white; 
    border: none; 
    font-size: 1.5rem; 
    cursor: pointer; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.2); 
    display: flex;
    align-items: center;
    justify-content: center;
}
.accessibility-menu { 
    position: absolute; 
    bottom: 80px; 
    left: 0; 
    background: white; 
    border: 1px solid var(--border); 
    padding: 2.5rem; 
    width: 320px; 
    display: none; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.1); 
}
.accessibility-menu.show { display: block; }
.accessibility-menu h3 { margin-bottom: 1.5rem; color: var(--primary); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; }
.accessibility-menu button { 
    width: 100%; 
    padding: 1rem; 
    margin-bottom: 0.8rem; 
    border: 1px solid var(--border); 
    background: var(--light); 
    cursor: pointer; 
    font-weight: 700; 
    text-transform: uppercase; 
    font-size: 0.75rem; 
    letter-spacing: 1px; 
    transition: 0.2s;
}
.accessibility-menu button:hover { background: var(--white); border-color: var(--primary); color: var(--primary); }

/* Form Styles */
.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    color: var(--primary);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
select,
textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--border);
    background: var(--light);
    font-family: var(--font-main);
    font-size: 1rem;
    color: var(--text);
    transition: var(--transition);
    border-radius: 0;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

textarea {
    resize: vertical;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.checkbox-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary);
}

.checkbox-item:hover {
    color: var(--primary);
}

.contact-form-container {
    margin-top: -5rem;
    position: relative;
    z-index: 5;
}

.contact-form-card {
    background: var(--white);
    padding: 4rem;
    box-shadow: 0 40px 100px rgba(0,0,0,0.05);
    border: 1px solid var(--border);
}

.contact-form-card h3 {
    margin-bottom: 3rem;
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
}

.contact-form-card .btn-primary {
    padding: 1.5rem;
}

@media (max-width: 1024px) {
    .contact-form-container {
        margin-top: 0;
    }
}

.program-icon {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 2rem;
    display: block;
    transition: var(--transition);
}
.program-item:hover .program-icon { transform: scale(1.1); color: var(--primary); }

/* Partners Section */
.partner-cell { width: 25%; padding: 0 20px; text-align: center; display: flex; align-items: center; justify-content: center; min-height: 100px; }
.partner-cell img { max-width: 100%; max-height: 80px; object-fit: contain; transition: 0.3s; }

@media (max-width: 768px) {
    .partner-cell { width: 50%; padding: 0 10px; min-height: 80px; }
    .partner-cell img { max-height: 60px; }
}

.partners-carousel {
    width: 100%;
    margin: 0 auto;
}

.partners-carousel .carousel-cell {
    margin-right: 10px;
}

/* Team Section Visuals */
.team-time-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.dynamic-time-bg {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.time-blob {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--primary), var(--accent));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    opacity: 0.2;
    animation: blobMorph 8s infinite alternate ease-in-out;
}

.time-blob:nth-child(2) {
    animation-delay: -2s;
    background: var(--accent);
    opacity: 0.1;
    width: 90%;
    height: 90%;
}

.time-blob:nth-child(3) {
    animation-delay: -4s;
    background: var(--primary);
    opacity: 0.1;
    width: 80%;
    height: 80%;
}

.time-icon-wrapper {
    position: relative;
    z-index: 2;
    text-align: center;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: default;
}

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

.time-icon-wrapper i {
    font-size: 6rem;
    color: var(--primary);
    display: block;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.blended-logo {
    width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.1));
    transition: 0.5s;
}

.time-icon-wrapper:hover .blended-logo {
    transform: scale(1.05);
}

.since-year {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent);
    margin-top: -10px;
}

@keyframes blobMorph {
    0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; transform: rotate(0deg); }
    100% { border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%; transform: rotate(180deg); }
}

@media (max-width: 768px) {
    .team-time-visual { height: 300px; }
    .dynamic-time-bg { width: 220px; height: 220px; }
    .time-icon-wrapper i { font-size: 4rem; }
    .since-year { font-size: 1.8rem; }
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; }
@media (max-width: 1024px) {
    .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .team-grid { grid-template-columns: 1fr; }
}

/* Partner Logos */
.partners-logo-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 3rem;
}
.partners-logo-row img {
    height: 60px;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: 0.3s;
}
.partners-logo-row img:hover {
    transform: scale(1.1);
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    color: var(--text);
    padding: 1.5rem 0;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.1);
    z-index: 10000;
    transform: translateY(100%);
    transition: transform 0.5s ease-in-out;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-content p {
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.cookie-content .btn-primary {
    padding: 0.8rem 2rem;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 1024px) {
    .program-grid { grid-template-columns: 1fr; }
    .footer-grid { 
        grid-template-columns: 1fr 1fr; 
        gap: 3rem; 
    }
    .footer-info, .footer-contact { grid-column: span 2; }
}

@media (max-width: 768px) {
    section { padding: 3rem 0; }
    .stats-section { margin-top: 0; }
    .stats-card { padding: 2rem; }
    .hero-title { font-size: 1.6rem; letter-spacing: 0; }
    .hero-lead { font-size: 0.7rem; letter-spacing: 2px; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
    .footer-grid { gap: 2rem; }
}
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 2rem; }  
@media (max-width: 768px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } } 

/* Flickity Arrows */
.flickity-prev-next-button {
    width: 40px;
    height: 40px;
    background: var(--white);
    border: 1px solid var(--border);
    opacity: 1;
    transition: 0.3s;
}
.flickity-prev-next-button:hover {
    background: var(--primary);
    color: white;
}
.flickity-prev-next-button.previous { left: -20px; }
.flickity-prev-next-button.next { right: -20px; }

@media (max-width: 1200px) {
    .flickity-prev-next-button.previous { left: 10px; }
    .flickity-prev-next-button.next { right: 10px; }
}
