/* Global Variables */
:root {
    --primary-color: #008751;
    --primary-dark: #006b40;
    --primary-light: #e6f3ed;
    --primary-gradient: linear-gradient(135deg, #008751 0%, #005c36 100%);
    --secondary-color: #1A1A1A;
    --accent-color: #2E2E2E;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
    --text-color: #333333;
    --text-light: #555555;
    --border-color: #E0E0E0;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --font-primary: 'Poppins', sans-serif;
    --font-ui: 'Poppins', sans-serif;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--white);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px; /* Offset for sticky header */
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f8f9fa;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    letter-spacing: -0.02em;
}

p { margin-bottom: 1rem; color: var(--text-light); }

/* Utility Classes */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.bg-light { background-color: #f0f4f8; }
.bg-dark { background-color: var(--secondary-color); color: var(--white); }

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

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        margin-bottom: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

.section { padding: 6rem 0; position: relative; }

.section-header {
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    font-weight: 800;
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 0.5rem auto 1rem;
    border-radius: 2px;
}

.bg-white { background-color: var(--white); }

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    border-radius: 20px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(31, 38, 135, 0.15);
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.95);
}

.glass-card-dark {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    border-radius: 16px;
    padding: 2rem;
    color: var(--white);
}

/* News Ticker */
.news-ticker-container {
    background-color: var(--secondary-color);
    color: var(--white);
    height: 40px;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    z-index: 1001;
    font-size: 0.85rem;
    font-family: var(--font-primary);
}

.news-ticker-label {
    background-color: var(--primary-color);
    padding: 0 1rem;
    height: 100%;
    display: flex;
    align-items: center;
    font-weight: 700;
    z-index: 2;
    box-shadow: 2px 0 5px rgba(0,0,0,0.2);
}

.news-ticker {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
}

.ticker-wrapper {
    display: flex;
    animation: ticker 40s linear infinite;
}

.ticker-content {
    display: flex;
    padding-left: 0;
    flex-shrink: 0;
    white-space: nowrap;
}

.news-link {
    margin-right: 3rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--white);
    transition: var(--transition);
}

.news-link:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

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

/* Mega Menu */
.nav-item {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s;
}

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

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 90vw;
    max-width: 1000px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
    border-radius: 16px;
    padding: 2.5rem;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 1100;
}

.nav-item:hover .mega-menu {
    visibility: visible;
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.mega-content {
    display: grid;
    gap: 2rem;
}

.mega-col h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
    border-bottom: 2px solid rgba(0, 135, 81, 0.1);
    padding-bottom: 0.5rem;
}

.mega-col ul li {
    margin-bottom: 0.8rem;
}

.mega-col ul li a {
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
    padding: 0.3rem 0;
}

.mega-col ul li a i {
    color: var(--text-light);
    width: 20px;
    text-align: center;
    transition: var(--transition);
}

.mega-col ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.mega-col ul li a:hover i {
    color: var(--primary-color);
}

.highlight-col {
    background: rgba(0, 135, 81, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
}

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

.mega-promo p {
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.mega-promo .date {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Mobile Menu Adjustments */
@media (max-width: 992px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding-top: 2rem;
        overflow-y: auto;
        display: flex;
        align-items: stretch; /* Ensure items take full width */
    }

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

    .nav-item {
        margin: 0;
        width: 100%;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        display: block;
    }
    
    .nav-link {
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .mega-menu {
        position: static !important;
        width: 100% !important;
        min-width: 100%;
        box-shadow: none !important;
        transform: none !important;
        visibility: visible !important;
        opacity: 1 !important;
        background: #f9f9f9;
        padding: 0;
        display: none;
        border: none;
        backdrop-filter: none;
        box-sizing: border-box;
        left: auto !important;
        margin: 0 !important;
    }
    
    .nav-item.active .mega-menu {
        display: block;
        padding: 1rem 0;
        border-top: 1px solid rgba(0,0,0,0.05);
    }

    .mega-content {
        display: block;
        gap: 0;
        text-align: left;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mega-col {
        padding: 0 2rem;
        margin-bottom: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .mega-col h4 {
        font-size: 1rem;
        color: var(--primary-color);
        margin-bottom: 0.5rem;
    }
    
    .dropdown-toggle {
        gap: 0.5rem;
    }
    
    .nav-item.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
}

/* Hero Slider */
.hero {
    /* Reset existing hero styles that conflict */
    background: #000; /* Fallback */
    padding-top: 0;
    overflow: hidden;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax */
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, transform 6s ease; /* Fade & Zoom effect */
    transform: scale(1);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1.05); /* Subtle zoom in (Ken Burns) */
}

/* Animation classes for slide content */
.slide-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.hero-slide.active .slide-up {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 { transition-delay: 0.2s; }
.delay-200 { transition-delay: 0.4s; }

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.slider-btn {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.slider-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Animation Stagger */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

.navbar {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 0.8rem 0;
    transition: var(--transition);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -1px;
}

.logo-sub {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--secondary-color);
    font-size: 0.95rem;
    position: relative;
}

.nav-link:not(.btn-nav)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:not(.btn-nav):hover::after { width: 100%; }

.btn-nav {
    padding: 0.6rem 1.2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50px;
    box-shadow: var(--shadow-md);
}

.btn-nav:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hamburger { display: none; cursor: pointer; }
.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background-color: var(--secondary-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    height: calc(100vh - 40px);
    min-height: 600px;
    background-image: url('https://images.unsplash.com/photo-1541976544383-304d9b9d9d6b?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-top: -80px; /* Pull up behind nav */
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 135, 81, 0.6));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0,0,0,0.5);
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    color: #f0f0f0;
    font-weight: 400;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--primary-gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 135, 81, 0.3);
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #009e5f 0%, #007d4b 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 135, 81, 0.4);
}

.btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    color: var(--white);
    backdrop-filter: blur(5px);
}

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

.btn-block { width: 100%; border-radius: 8px; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 1.5s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 25px; }
}

/* About Tabs */
.about-tabs-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
}

.tabs-nav {
    display: flex;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    overflow-x: auto; /* Enable horizontal scrolling */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    white-space: nowrap; /* Prevent wrapping */
}

.tab-btn {
    flex: 1;
    min-width: 120px; /* Minimum width to prevent squishing */
    padding: 1.5rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background-color: rgba(0, 135, 81, 0.03);
}

.tab-btn:hover:not(.active) {
    background-color: rgba(0,0,0,0.02);
}

.tabs-content {
    padding: 2.5rem;
    min-height: 200px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.4s ease;
}

.tab-pane.active { display: block; }

.tab-pane h3 { color: var(--primary-color); }

/* Swipeable Risk Panel */
.scrolling-wrapper-flexbox {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 2rem;
    padding: 1rem 1rem 3rem 1rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}

.scrolling-wrapper-flexbox::-webkit-scrollbar { display: none; }

.card-panel {
    flex: 0 0 auto;
    width: 300px;
    height: 350px;
    scroll-snap-align: center;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    border-radius: 20px;
}

.card-panel:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-front, .card-back {
    transition: var(--transition);
    width: 100%;
}

.card-back {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: var(--primary-color);
    color: var(--white);
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
}

.card-panel.flipped .card-front {
    opacity: 0;
    transform: translateY(-20px);
}

.card-panel.flipped .card-back {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.card-panel i {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tap-hint {
    font-size: 0.8rem;
    margin-top: 1rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* Service Modules */
.service-module {
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.service-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-module:hover::before { transform: scaleX(1); }
.service-module:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }

.service-module i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    transition: transform 0.3s;
}

.service-module:hover i {
    transform: scale(1.1);
}

/* Tools & Checklist */
.tool-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.checklist { margin-top: 1.5rem; }

.check-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    background: rgba(255,255,255,0.05);
    padding: 1rem;
    border-radius: 8px;
    transition: background 0.3s;
}

.check-item:hover { background: rgba(255,255,255,0.1); }

.check-item input {
    margin-right: 1rem;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.check-item label { cursor: pointer; font-size: 1rem; }

.check-result {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 600;
}
.check-result.safe { background: rgba(0, 135, 81, 0.2); border: 1px solid #008751; color: #4ade80; }
.check-result.danger { background: rgba(220, 38, 38, 0.2); border: 1px solid #dc2626; color: #f87171; }
.hidden { display: none; }

/* Process Timeline (Horizontal) */
.process-timeline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 0;
    overflow-x: auto;
}

.process-step {
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 100px;
    opacity: 0.5;
    transition: var(--transition);
}

.process-step.active { opacity: 1; }

.step-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--text-light);
    font-size: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step.active .step-icon {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 0 0 8px rgba(0, 135, 81, 0.15);
}

.process-bar {
    flex: 1;
    height: 3px;
    background: var(--border-color);
    margin: 0 10px;
    transform: translateY(-30px);
    position: relative;
    overflow: hidden;
}

/* Stats */
.stats {
    background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-attachment: fixed;
    color: var(--white);
    text-align: center;
}

.stats-overlay { background: rgba(0, 135, 81, 0.9); }
.stat-number { font-size: 3.5rem; font-weight: 800; margin-bottom: 0.5rem; }

/* Contact Form - Floating Labels */
.floating-label-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.floating-input {
    width: 100%;
    padding: 1.2rem 1rem 0.5rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    background: #f9f9f9;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.floating-input:focus {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 135, 81, 0.1);
}

.floating-label {
    position: absolute;
    top: 1.2rem;
    left: 1rem;
    font-size: 1rem;
    color: var(--text-light);
    pointer-events: none;
    transition: var(--transition);
}

.floating-input:focus ~ .floating-label,
.floating-input:not(:placeholder-shown) ~ .floating-label {
    top: 0.3rem;
    left: 1rem;
    font-size: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--text-light);
    z-index: 10;
    transition: var(--transition);
}

.password-toggle:hover {
    color: var(--primary-color);
}

.floating-input.has-toggle {
    padding-right: 3rem;
}

/* FAB */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    gap: 1rem;
}

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    font-size: 1.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.fab-main:hover { transform: rotate(45deg); background: var(--primary-dark); }

.fab-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition);
}

.fab-container:hover .fab-options {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.fab-option {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--white);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    font-size: 1.2rem;
}

.fab-option:hover { background: var(--primary-light); }

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    width: 90%;
    max-width: 500px;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    z-index: 2001;
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

/* Footer */
.footer { background: #111; color: #ccc; padding: 5rem 0 1rem; }
.footer-col h3 { color: var(--white); margin-bottom: 1.5rem; font-size: 1.2rem; }
.footer-col ul li { margin-bottom: 0.8rem; }
.footer-col ul li a:hover { color: var(--primary-color); padding-left: 5px; }
.social-links { display: flex; gap: 1rem; }
.social-links a {
    width: 45px; height: 45px; background: #222;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; color: var(--white);
    transition: var(--transition);
}
.social-links a:hover { background: var(--primary-color); transform: translateY(-3px); }
.footer-bottom { margin-top: 4rem; padding-top: 1.5rem; border-top: 1px solid #333; font-size: 0.9rem; }

/* Newsletter Form */
.newsletter-form {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-top: 0.5rem;
}
.newsletter-form input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #333;
    border-radius: 10px;
    background: #1a1a1a;
    color: #eee;
    outline: none;
    transition: var(--transition);
}
.newsletter-form input::placeholder { color: #9aa0a6; }
.newsletter-form input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 135, 81, 0.15);
    background: #111;
}
.newsletter-form button {
    width: 56px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}
.newsletter-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    z-index: 998;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}
.back-to-top i {
    font-size: 1rem;
}
.back-to-top:hover {
    transform: translateY(-2px);
}

/* Animations & Ripple */
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.ripple { position: relative; overflow: hidden; }
.ripple::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #fff 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .5s, opacity 1s;
}
.ripple:active::after { transform: scale(0, 0); opacity: .3; transition: 0s; }

/* Education Hub Styling */
.edu-card {
    padding: 0;
    cursor: pointer;
    overflow: hidden;
}

.edu-header {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.4);
}

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

.edu-title i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.edu-title h4 { margin: 0; font-size: 1.1rem; }

.edu-icon {
    transition: transform 0.3s ease;
    color: var(--text-light);
}

.edu-card.active .edu-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.edu-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(255,255,255,0.2);
}

.edu-card.active .edu-body {
    max-height: 200px; /* Approximate max height */
}

.edu-body p {
    padding: 1.5rem;
    margin: 0;
    font-size: 0.95rem;
}

/* CTA Strip */
.cta-strip {
    padding: 4rem 0;
    background: var(--primary-color);
    background-image: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    margin-bottom: -40px; /* Slight overlap with next section for visual flow */
    position: relative;
    z-index: 10;
    border-radius: 0 0 40px 40px; /* Styling touch */
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.cta-text h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.cta-text p {
    color: rgba(255,255,255,0.9);
    margin: 0;
    font-size: 1.2rem;
}

.cta-actions {
    display: flex;
    gap: 1rem;
}

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

.btn-white:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

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

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

/* President Message Section */
.president-message {
    background-color: var(--white);
    overflow: hidden;
    font-family: var(--font-primary);
}

.president-content {
    display: flex;
    align-items: center;
    gap: 5rem;
}

.president-img-container {
    flex: 1;
    position: relative;
}

.president-img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--white);
    transition: transform 0.3s;
}

.president-img:hover {
    transform: scale(1.02);
}

.president-quote-container {
    flex: 1.5;
}

.quote-icon {
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.15;
    margin-bottom: 1rem;
}

.president-quote {
    font-size: 1.4rem;
    font-style: italic;
    color: var(--text-color);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.president-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.president-title {
    color: var(--text-light);
    font-weight: 500;
    font-size: 1rem;
}

/* Events Section */
.event-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.event-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.event-date {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.5rem 1.2rem;
    font-weight: 700;
    text-align: center;
    width: fit-content;
    border-radius: 0 0 10px 0;
    font-size: 1.1rem;
}

.event-body {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.event-title {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.event-info {
    font-size: 0.95rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.event-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

/* Partners Section */
.partners-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    align-items: center;
    opacity: 0.8;
}

.partner-item {
    transition: var(--transition);
}

.partner-item:hover {
    transform: scale(1.1);
    opacity: 1;
}

.partner-logo {
    height: 60px;
    filter: grayscale(100%);
    transition: var(--transition);
    cursor: pointer;
}

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

/* Global Responsive Fixes */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Enhanced Media Queries */
@media (max-width: 1200px) {
    .container { width: 95%; }
    .hero-title { font-size: 3.5rem; }
}

@media (max-width: 992px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .process-timeline { flex-wrap: wrap; }
    .process-bar { display: none; }
    .process-step { width: 50%; margin-bottom: 2rem; }
    .cta-content { text-align: center; justify-content: center; }
    
    .president-content {
        gap: 3rem; /* Reduce gap on tablets */
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--white);
        width: 100%;
        height: calc(100vh - 60px);
        text-align: center;
        box-shadow: 0 10px 10px rgba(0,0,0,0.1);
        padding: 2rem 0;
        overflow-y: auto;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active { left: 0; }
    
    .nav-item { width: 100%; margin: 1rem 0; }
    
    /* Mobile Mega Menu */
    .mega-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        background: transparent;
        box-shadow: none;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transform: none;
        border: none;
        transition: max-height 0.3s ease;
    }
    
    .nav-item.active .mega-menu {
        max-height: 1000px;
        padding: 1rem 0;
        background: rgba(0,0,0,0.02);
    }
    
    .mega-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        text-align: left;
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    
    .section { padding: 3rem 0; }
    .section-header { margin-bottom: 2.5rem; }
    .section-title { font-size: 2rem; }
    
    .hero-title { font-size: 2.5rem; }
    .hero-subtitle { font-size: 1.1rem; }
    .hero-btns { flex-direction: column; gap: 1rem; width: 80%; margin: 0 auto; }
    .hero-btns .btn { width: 100%; }
    
    .hero-slide {
        background-attachment: scroll; /* Fix mobile background jitter */
        background-position: center;
    }
    
    /* About Tabs Responsive */
    .tabs-nav {
        overflow-x: auto;
        white-space: nowrap;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border-bottom: 2px solid rgba(0,0,0,0.05);
        padding-bottom: 0.5rem;
    }
    
    .tabs-nav::-webkit-scrollbar { display: none; }
    
    .tab-btn {
        flex: 0 0 auto;
        padding: 0.8rem 1.2rem;
        font-size: 0.9rem;
    }

    .hamburger { display: block; }
    .fab-container { bottom: 20px; right: 20px; }
    
    .news-ticker-container { display: none; }
    
    .cta-strip { padding: 3rem 0; border-radius: 0; margin-bottom: 0; }
    .cta-actions { width: 100%; flex-direction: column; }
    
    .president-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    .president-quote-container { text-align: center; }
    .president-quote { font-size: 1.2rem; }
    
    .partners-grid { gap: 2rem; }
    .partner-logo { height: 40px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2rem; }
    .section-title { font-size: 1.8rem; }
    
    .btn { padding: 0.7rem 1.5rem; width: 100%; }
    
    .footer-col { text-align: center; }
    .footer-col ul li { justify-content: center; }
    
    .top-bar { display: none; } /* Assuming there is a top bar */
}
