/* --- PREMIUM CORPORATE THEME VARIABLES --- */
/* --- PREMIUM CORPORATE THEME VARIABLES --- */
:root {
    /* Color Palette - Light Soft Sage (Earthy, not neon) */
    --bg-primary: #b5e7bc;   /* Was off-white, now a soft pale sage */
    --bg-secondary: #7ac781; /* Slightly deeper green-grey for contrast */
    --text-main: #1C2B20; 
    --text-muted: #4B5E51;
    --primary-dark: #0A2E16;
    --primary-main: #1D5832;
    --primary-light: #2C7A45;
    --accent-gold: #C5A86A;
    --white: #99aa86;
    
    /* Glassmorphism & Depth */
    --glass-bg: rgba(255, 255, 255, 0.65);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 16px 40px rgba(10, 46, 22, 0.05);
    --card-hover-shadow: 0 24px 48px rgba(10, 46, 22, 0.1);
    --input-bg: rgba(255, 255, 255, 0.8);
    --input-border: rgba(29, 88, 50, 0.2);
    
    /* Layout & Animation */
    --nav-bg: rgba(63, 94, 69, 0.85); /* Tinted to match the new light green */
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --transition-fast: 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-smooth: 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    --header-height: 90px;
}

[data-theme="dark"] {
    /* Color Palette - Deep Pine/Forest Green */
    --bg-primary: #112417;   /* Was almost black, now a deep forest green */
    --bg-secondary: #173020; /* Slightly lighter deep green for cards/sections */
    --text-main: #E2E8E4;
    --text-muted: #9BAA9E;
    --primary-dark: #1D5832;
    --primary-main: #348C51; /* Brightened slightly so it pops on the green bg */
    --primary-light: #4AAB6A;
    --accent-gold: #D4B97B;
    --white: #0A140D;
    
    /* Glassmorphism tuned for green dark mode */
    --glass-bg: rgba(23, 48, 32, 0.6); 
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    --card-hover-shadow: 0 24px 48px rgba(0, 0, 0, 0.4);
    --input-bg: rgba(0, 0, 0, 0.25);
    --input-border: rgba(255, 255, 255, 0.15);
    
    --nav-bg: rgba(17, 36, 23, 0.85); /* Tinted to match the new dark green */
}

/* --- DARK MODE TEXT VISIBILITY FIX --- */
[data-theme="dark"] .nav-links a,
[data-theme="dark"] .nav-btn,
[data-theme="dark"] .logo-text,
[data-theme="dark"] h1, 
[data-theme="dark"] h2, 
[data-theme="dark"] h3, 
[data-theme="dark"] h4, 
[data-theme="dark"] .premium-heading,
[data-theme="dark"] .section-subtitle {
    color: #FFFFFF; /* Forces text to be pure white in dark mode */
}

/* Make the hover effect on nav links a bright, visible green in dark mode */
[data-theme="dark"] .nav-links a:hover {
    color: var(--primary-light); 
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { 
    font-family: 'Plus Jakarta Sans', 'Noto Sans Sinhala', sans-serif; 
    color: var(--text-main); 
    background-color: var(--bg-primary); 
    line-height: 1.6; 
    overflow-x: hidden; 
    transition: background-color var(--transition-smooth), color var(--transition-smooth); 
}

/* Typography */
h1, h2, h3, h4, .premium-heading { 
    font-family: 'Playfair Display', 'Noto Serif Sinhala', serif; 
    color: var(--primary-dark); 
    line-height: 1.2; 
    transition: color var(--transition-smooth); 
}
h2 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 600; }
a { text-decoration: none; color: inherit; } 
ul { list-style: none; } 
img { max-width: 100%; display: block; }

/* Preloader */
#preloader { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: var(--bg-primary); z-index: 9999; display: flex; align-items: center; justify-content: center; transition: opacity 0.8s ease, visibility 0.8s; }
.loader-content { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.loader-logo { width: 60px; animation: pulse 2s infinite ease-in-out; }
.loader-line { width: 100px; height: 2px; background: rgba(29, 88, 50, 0.2); position: relative; overflow: hidden; border-radius: 2px; }
.loader-line::after { content: ''; position: absolute; top: 0; left: 0; height: 100%; width: 40%; background: var(--accent-gold); animation: loadSweep 1.5s infinite ease-in-out; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(0.95); opacity: 0.7; } }
@keyframes loadSweep { 0% { left: -40%; } 100% { left: 100%; } }
body.loaded #preloader { opacity: 0; visibility: hidden; }
body.loading-state { overflow: hidden; }

/* Layout & Containers */
.container { width: 90%; max-width: 1280px; margin: 0 auto; }
section { padding: 8rem 0; position: relative; }
.pt-0 { padding-top: 0; }
.section-bg-alt { background-color: var(--bg-secondary); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 2.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 4rem; align-items: center; }

/* Premium Header styling */
.section-header { text-align: center; margin-bottom: 5rem; display: flex; flex-direction: column; align-items: center; }
.accent-subtitle { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 3px; color: var(--accent-gold); font-weight: 600; margin-bottom: 1rem; }
.header-line { width: 60px; height: 2px; background: var(--accent-gold); margin: 1.5rem auto; border-radius: 2px; transition: width var(--transition-smooth); }
.section-header:hover .header-line { width: 100px; }
.section-header p { color: var(--text-muted); max-width: 600px; font-size: 1.1rem; }

/* Glass Panels & Components */
.glass-panel-premium {
    background: var(--glass-bg); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
    border-radius: var(--radius-md); transition: var(--transition-smooth);
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem; padding: 1rem 2.5rem; border-radius: 50px; font-weight: 500; cursor: pointer; transition: var(--transition-fast); border: none; font-size: 1rem; overflow: hidden; position: relative; }
.btn-primary { background: var(--primary-main); color: #fff; box-shadow: 0 8px 20px rgba(29, 88, 50, 0.25); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(29, 88, 50, 0.35); color: #fff; }
.btn-glass { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(10px); color: #fff; border: 1px solid rgba(255, 255, 255, 0.4); }
.btn-glass:hover { background: var(--white); color: var(--primary-dark); transform: translateY(-3px); border-color: transparent; }
.btn-block { width: 100%; }

/* Navigation */
header { position: fixed; top: 0; width: 100%; background: transparent; transition: var(--transition-smooth); height: var(--header-height); display: flex; align-items: center; z-index: 1000; padding: 1rem 0; }
header.scrolled { background: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05); border-bottom: 1px solid var(--glass-border); height: calc(var(--header-height) - 15px); }
.nav-container { display: flex; justify-content: space-between; align-items: center; width: 92%; max-width: 1400px; margin: 0 auto; background: var(--glass-bg); padding: 0.5rem 1.5rem; border-radius: 50px; border: 1px solid var(--glass-border); backdrop-filter: blur(12px); box-shadow: var(--glass-shadow); transition: var(--transition-smooth); }
header.scrolled .nav-container { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; padding: 0; border-radius: 0; width: 90%; max-width: 1280px; }
.brand-logo { height: 38px; object-fit: contain; }
.logo { display: flex; align-items: center; gap: 0.8rem; z-index: 1001; }
.logo-text { font-family: 'Playfair Display', serif; font-size: 1.4rem; font-weight: 700; color: var(--primary-dark); }
.nav-controls-wrapper { display: flex; align-items: center; gap: 3rem; }
.nav-links { display: flex; gap: 2.5rem; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-main); position: relative; transition: var(--transition-fast); }
.nav-links a::after { content: ''; position: absolute; width: 4px; height: 4px; border-radius: 50%; bottom: -10px; left: 50%; transform: translateX(-50%) scale(0); background-color: var(--accent-gold); transition: transform var(--transition-fast); }
.nav-links a:hover::after { transform: translateX(-50%) scale(1); }
.nav-links a:hover { color: var(--primary-main); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.nav-btn { background: transparent; border: none; color: var(--text-main); font-size: 1.1rem; cursor: pointer; transition: var(--transition-fast); display: flex; align-items: center; justify-content: center; height: 40px; border-radius: 50px; }
.nav-btn.icon-only { width: 40px; background: rgba(0,0,0,0.03); } 
[data-theme="dark"] .nav-btn.icon-only { background: rgba(255,255,255,0.05); }
.nav-btn:hover { background: var(--primary-main); color: #fff; transform: translateY(-2px); }
.lang-toggle { padding: 0 1.2rem; gap: 0.5rem; font-weight: 600; font-size: 0.85rem; background: rgba(0,0,0,0.03); }
[data-theme="dark"] .lang-toggle { background: rgba(255,255,255,0.05); }
.mobile-toggle { display: none; font-size: 1.3rem; }

/* Hero Section Cinematic */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; padding-top: var(--header-height); padding-bottom: 8rem; overflow: hidden; }
.hero-bg-layer { position: absolute; top: -5%; left: -5%; width: 110%; height: 110%; background-position: center; background-size: cover; background-repeat: no-repeat; z-index: 0; transition: transform 0.1s linear; filter: brightness(0.9); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 46, 22, 0.7) 0%, rgba(10, 46, 22, 0.3) 50%, var(--bg-primary) 100%); z-index: 1; }
[data-theme="dark"] .hero-overlay { background: linear-gradient(180deg, rgba(5, 18, 9, 0.85) 0%, rgba(5, 18, 9, 0.5) 50%, var(--bg-primary) 100%); }
.hero-container { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero-content { max-width: 900px; }
.hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3); backdrop-filter: blur(8px); color: #fff; padding: 0.6rem 1.2rem; border-radius: 50px; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 2rem; }
.hero-badge i { color: var(--accent-gold); }
.hero h1 { color: #fff; font-size: clamp(2.8rem, 6vw, 5rem); margin-bottom: 1.5rem; text-shadow: 0 10px 30px rgba(0,0,0,0.3); font-weight: 600; }
.hero p { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,0.9); font-weight: 300; margin-bottom: 3rem; max-width: 700px; margin-inline: auto; text-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.hero-btns { display: flex; gap: 1.5rem; justify-content: center; }

/* Stats Floating Bar */
.hero-stats-wrapper { position: absolute; bottom: -60px; left: 0; width: 100%; display: flex; justify-content: center; z-index: 10; padding: 0 5%; }
.hero-stats { width: 100%; max-width: 1100px; display: flex; justify-content: space-evenly; align-items: center; padding: 2.5rem; border-radius: var(--radius-lg); }
.stat-item { text-align: center; flex: 1; }
.stat-item h3 { font-size: clamp(2rem, 3vw, 2.8rem); color: var(--primary-main); font-weight: 700; margin-bottom: 0.2rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.stat-item p { font-size: 0.95rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 1px; }
.divider { width: 1px; height: 50px; background: var(--glass-border); }

/* About Section */
.lead-text { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 2rem; line-height: 1.8; }
.about-inline-img { border-radius: var(--radius-md); box-shadow: var(--glass-shadow); object-fit: cover; height: 250px; width: 100%; margin-top: 2rem; }
.about-cards-wrapper { display: flex; flex-direction: column; gap: 1.5rem; }
.about-card { display: flex; align-items: flex-start; gap: 1.5rem; padding: 2rem; border-left: 4px solid transparent; transition: var(--transition-smooth); cursor: default; }
.about-card:hover { border-left-color: var(--primary-main); transform: translateX(10px); box-shadow: var(--card-hover-shadow); }
.card-icon { width: 50px; height: 50px; border-radius: 50%; background: rgba(29, 88, 50, 0.08); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--primary-main); flex-shrink: 0; }
[data-theme="dark"] .card-icon { background: rgba(65, 160, 94, 0.15); color: var(--primary-light); }
.about-card h4 { font-size: 1.25rem; margin-bottom: 0.5rem; font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 600; }
.about-card p { font-size: 0.95rem; color: var(--text-muted); }

/* Directors / Services Cards */
.director-card { padding: 3rem 2rem; text-align: center; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); transition: var(--transition-smooth); }
.director-card:hover { transform: translateY(-10px); box-shadow: var(--card-hover-shadow); border-color: rgba(200, 168, 106, 0.3); }
.director-card h4 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.director-card span { color: var(--accent-gold); font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 1.5rem; }

.service-card { padding: 3rem 2.5rem; border-radius: var(--radius-md); background: var(--glass-bg); border: 1px solid var(--glass-border); position: relative; overflow: hidden; transition: var(--transition-smooth); z-index: 1; }
.service-card::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 0; background: var(--primary-main); transition: height 0.4s ease; z-index: -1; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--card-hover-shadow); }
.service-card:hover::after { height: 4px; }
.service-icon { font-size: 2.5rem; color: var(--primary-main); margin-bottom: 1.8rem; transition: var(--transition-fast); }
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); color: var(--accent-gold); }
.service-card h4 { font-size: 1.3rem; margin-bottom: 1rem; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; }

/* Gallery */
.gallery-grid { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 2rem; }
.gallery-item { position: relative; border-radius: var(--radius-md); overflow: hidden; aspect-ratio: 4/3; box-shadow: var(--glass-shadow); cursor: crosshair; }
.gallery-item .blur-wrapper { width: 100%; height: 100%; }
.gallery-item img { transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 46, 22, 0.9) 0%, rgba(10, 46, 22, 0) 60%); display: flex; flex-direction: column; justify-content: flex-end; padding: 2rem; opacity: 0; transition: var(--transition-smooth); z-index: 10; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay h4 { color: #fff; font-size: 1.3rem; transform: translateY(20px); transition: transform 0.4s ease; margin-bottom: 0.3rem; }
.gallery-overlay p { color: rgba(255,255,255,0.8); font-size: 0.95rem; transform: translateY(20px); transition: transform 0.4s ease 0.1s; margin: 0; }
.gallery-item:hover .gallery-overlay h4, .gallery-item:hover .gallery-overlay p { transform: translateY(0); }

/* Updates & Notices */
.updates-notices-container { display: grid; grid-template-columns: 1.6fr 1fr; gap: 4rem; }
.section-subtitle { font-size: 1.4rem; font-weight: 600; margin-bottom: 2.5rem; display: flex; align-items: center; gap: 1rem; color: var(--primary-dark); font-family: 'Plus Jakarta Sans', sans-serif; }
.section-subtitle i { color: var(--accent-gold); font-size: 1.6rem; }
.update-card { display: flex; border-radius: var(--radius-md); overflow: hidden; margin-bottom: 2rem; background: var(--glass-bg); border: 1px solid var(--glass-border); transition: var(--transition-smooth); }
.update-card:hover { transform: translateY(-5px); box-shadow: var(--card-hover-shadow); }
.news-blur-wrapper { width: 280px; flex-shrink: 0; }
.update-content { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }
.date { color: var(--accent-gold); font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: 0.5rem; text-transform: uppercase; letter-spacing: 1px; }
.update-content h4 { font-size: 1.25rem; margin-bottom: 1rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.read-more { margin-top: auto; padding-top: 1.5rem; color: var(--primary-main); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 0.5rem; transition: var(--transition-fast); }
.read-more:hover { gap: 1rem; color: var(--primary-dark); }
.notice-card { padding: 2rem; margin-bottom: 1.5rem; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: var(--radius-md); border-left: 4px solid var(--accent-gold); transition: var(--transition-smooth); }
.notice-card:hover { transform: translateX(5px); box-shadow: var(--glass-shadow); }
.notice-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.notice-icon { color: var(--accent-gold); }

/* Contact Forms & Map */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.2fr; overflow: hidden; border: 1px solid var(--glass-border); padding: 0; }
.contact-info { padding: 5rem 4rem; position: relative; background: var(--primary-dark); color: #fff; overflow: hidden; }
.info-bg-img { position: absolute; inset: 0; background: url('https://images.unsplash.com/photo-1518531933037-91b2f5f229cc?q=80&w=800&auto=format&fit=crop') center/cover; opacity: 0.08; mix-blend-mode: luminosity; }
.info-content { position: relative; z-index: 2; }
.light-text { color: #fff !important; margin-bottom: 3rem; }
.info-item { display: flex; gap: 1.5rem; margin-bottom: 2.5rem; }
.icon-box { width: 45px; height: 45px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent-gold); font-size: 1.2rem; flex-shrink: 0; }
.info-item h5 { color: var(--accent-gold); font-size: 0.95rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 0.5rem; font-family: 'Plus Jakarta Sans', sans-serif; }
.info-item p { font-weight: 300; opacity: 0.85; font-size: 0.95rem; }
.contact-form { padding: 5rem 4rem; background: transparent; }
.form-title { font-size: 1.8rem; margin-bottom: 2.5rem; }
.input-group { position: relative; margin-bottom: 2rem; }
.input-field { width: 100%; padding: 1.2rem 1rem 0.8rem; background: var(--input-bg); border: 1px solid var(--input-border); border-radius: var(--radius-sm); font-family: inherit; color: var(--text-main); font-size: 1rem; transition: var(--transition-fast); }
.input-field:focus { outline: none; border-color: var(--primary-main); box-shadow: 0 0 0 4px rgba(29, 88, 50, 0.1); }
textarea.input-field { height: 140px; resize: none; padding-top: 1.5rem; }
.input-label { position: absolute; left: 1rem; top: 1.2rem; color: var(--text-muted); font-size: 1rem; transition: 0.2s ease all; pointer-events: none; }
.input-field:focus ~ .input-label, .input-field:valid ~ .input-label { top: 0.4rem; font-size: 0.75rem; color: var(--primary-main); font-weight: 600; }
.map-container { width: 100%; height: 500px; border-radius: var(--radius-md); overflow: hidden; padding: 1rem; }
.map-container iframe { width: 100%; height: 100%; border: 0; border-radius: calc(var(--radius-md) - 0.5rem); filter: grayscale(30%) contrast(1.1); transition: filter 0.5s ease; }
[data-theme="dark"] .map-container iframe { filter: grayscale(50%) invert(90%) hue-rotate(180deg) contrast(1.1); }

/* Footer */
footer { background: #061109; color: #8A9C90; padding: 6rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.05); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 5rem; margin-bottom: 5rem; }
.footer-logo { color: #fff; font-size: 1.5rem; margin-bottom: 1.5rem; display: flex; align-items: center; gap: 0.8rem; font-family: 'Playfair Display', serif; font-weight: 700; }
.footer-bio { font-size: 0.95rem; line-height: 1.8; margin-bottom: 2rem; max-width: 400px; }
.footer-grid h4 { color: #fff; font-size: 1.1rem; margin-bottom: 2rem; font-weight: 600; font-family: 'Plus Jakarta Sans', sans-serif; letter-spacing: 1px; text-transform: uppercase; }
.footer-links li { margin-bottom: 1.2rem; }
.footer-links a { transition: var(--transition-fast); display: flex; align-items: center; gap: 0.8rem; font-size: 0.95rem; }
.footer-links a i { font-size: 0.8rem; color: var(--accent-gold); transition: transform var(--transition-fast); }
.footer-links a:hover { color: #fff; }
.footer-links a:hover i { transform: translateX(5px); }
.social-icons { display: flex; gap: 1rem; }
.social-icons a { width: 45px; height: 45px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center; color: #fff; transition: var(--transition-fast); }
.social-icons a:hover { background: var(--primary-main); border-color: var(--primary-main); transform: translateY(-3px); }
.footer-bottom { text-align: center; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.05); font-size: 0.85rem; letter-spacing: 1px; }

/* WhatsApp Float */
.wa-float { position: fixed; width: 65px; height: 65px; bottom: 30px; right: 30px; background: linear-gradient(135deg, #25D366, #128C7E); color: #FFF; border-radius: 50px; text-align: center; font-size: 35px; box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4); z-index: 1000; display: flex; align-items: center; justify-content: center; transition: var(--transition-fast); animation: pulseWA 2.5s infinite; }
.wa-float:hover { transform: scale(1.1) translateY(-5px); animation: none; box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5); }
@keyframes pulseWA { 0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); } 70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); } 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); } }

/* --- BLUR UP IMAGES --- */
.blur-wrapper { position: relative; overflow: hidden; background-color: var(--glass-border); }
.director-blur-wrapper { width: 140px; height: 140px; border-radius: 50%; margin: 0 auto 1.5rem; border: 4px solid var(--glass-bg); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.gallery-blur-wrapper { width: 100%; height: 100%; position: absolute; inset: 0; }
.img-low { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(30px); transform: scale(1.1); transition: opacity 0.8s ease; z-index: 1; }
.img-high { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; z-index: 2; }
.img-high.loaded { opacity: 1; }

/* --- ANIMATIONS & REVEALS --- */
.reveal-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
.reveal-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal-up.active, .reveal-left.active, .reveal-right.active { opacity: 1; transform: translate(0, 0); }

.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; } .delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }
.stagger-children > div { opacity: 0; transform: translateY(30px); transition: all 0.6s cubic-bezier(0.22, 1, 0.36, 1); }
.stagger-children.active > div { opacity: 1; transform: translateY(0); }
.stagger-children.active > div:nth-child(1) { transition-delay: 0.1s; } .stagger-children.active > div:nth-child(2) { transition-delay: 0.2s; } .stagger-children.active > div:nth-child(3) { transition-delay: 0.3s; } .stagger-children.active > div:nth-child(4) { transition-delay: 0.4s; }

/* Decorative Elements */
.decorative-blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.1; z-index: 0; pointer-events: none; }
.blob-1 { top: 10%; right: -10%; width: 500px; height: 500px; background: var(--primary-main); }
.relative-section { overflow: hidden; }
.relative-z { position: relative; z-index: 2; }

/* --- RESPONSIVE DESIGN --- */
@media (max-width: 1024px) {
    .contact-wrapper { grid-template-columns: 1fr; }
    .updates-notices-container { grid-template-columns: 1fr; }
    .hero-stats-wrapper { position: relative; bottom: 0; margin-top: -3rem; padding: 0 1.5rem; }
    .hero-stats { grid-template-columns: 1fr 1fr; display: grid; gap: 2rem; }
    .divider { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}
@media (max-width: 768px) {
    :root { --header-height: 80px; }
    section { padding: 5rem 0; }
    .nav-container { width: 95%; border-radius: 12px; padding: 0.8rem 1rem; }
    .mobile-toggle { display: block; }
    .nav-links { display: none; } /* Handled via JS active class */
    .nav-menu { position: absolute; top: 100%; left: 0; width: 100%; background: var(--glass-bg); backdrop-filter: blur(20px); flex-direction: column; padding: 2rem 0; clip-path: polygon(0 0, 100% 0, 100% 0, 0 0); transition: clip-path 0.4s ease-in-out; border-radius: 0 0 20px 20px; box-shadow: var(--glass-shadow); border: 1px solid var(--glass-border); border-top: none; }
    .nav-menu.active { display: flex; clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); }
    .nav-links { flex-direction: column; align-items: center; gap: 1.5rem; width: 100%; display: flex; }
    .hero { 
        min-height: 100vh; 
        padding-top: calc(var(--header-height) + 2rem); 
        /* Add this to prevent content from clipping at the bottom */
        justify-content: flex-start; 
        padding-bottom: 3rem;
    }
    .hero h1 { font-size: 2.5rem; }
    .hero-btns { 
        flex-direction: column; 
        width: 100%; 
        max-width: 300px; 
        /* Change the margin to add space (4rem) below the buttons */
        margin: 0 auto 4rem auto; 
    }
    .hero-stats { grid-template-columns: 1fr 1fr; padding: 1.5rem; gap: 1.5rem; }
    .about-card { flex-direction: column; gap: 1rem; text-align: center; align-items: center; border-left: none; border-top: 4px solid transparent; }
    .about-card:hover { border-top-color: var(--primary-main); transform: translateY(-5px); }
    .contact-info, .contact-form { padding: 3rem 2rem; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-logo, .social-icons, .footer-links a { justify-content: center; }
    .wa-float { width: 55px; height: 55px; font-size: 30px; bottom: 20px; right: 20px; }
    .news-blur-wrapper { width: 100%; height: 220px; }
    .update-card { flex-direction: column; }
}