/* ==========================================
   RESET & VARIABLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --green-primary: #006A4E;
    --green-dark: #004d36;
    --green-light: #008060;
    --red-primary: #F42A41;
    --red-dark: #d41f33;
    --red-light: #ff4757;
    --white: #ffffff;
    --black: #0a0a0a;
    --gray-100: #f8f9fa;
    --gray-600: #6c757d;
    --gray-900: #212529;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--gray-900);
    overflow-x: hidden;
}

/* ==========================================
   NAVIGATION
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.logo-image {
    height: 45px;
    width: auto;
    max-width: 180px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green-primary), var(--red-primary));
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 0.25rem;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.625rem 0.875rem;
    color: var(--gray-900);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    border-radius: 6px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--green-primary);
    background: rgba(0, 106, 78, 0.05);
}

.arrow {
    font-size: 0.65rem;
    transition: transform 0.2s ease;
}

.dropdown {
    position: relative;
}

.dropdown:hover .arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    list-style: none;
    min-width: 200px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

.dropdown-menu a {
    display: block;
    padding: 0.625rem 1rem;
    color: var(--gray-900);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-size: 0.875rem;
}

.dropdown-menu a:hover {
    background: rgba(0, 106, 78, 0.05);
    color: var(--green-primary);
    padding-left: 1.25rem;
}

.btn-signin {
    padding: 0.625rem 1.5rem;
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--white);
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(244, 42, 65, 0.3);
    transition: all 0.3s ease;
}

.btn-signin:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(244, 42, 65, 0.4);
}

/* Hamburger Toggle Button */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
    background: transparent;
    border: none;
    z-index: 1001;
    -webkit-tap-highlight-color: transparent;
}

.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    background: var(--green-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* ==========================================
   MOBILE NAVIGATION STYLES
   ========================================== */

/* Reset mobile menu styles on desktop */
@media screen and (min-width: 1025px) {
    .nav-menu {
        position: static !important;
        transform: none !important;
        width: auto !important;
        height: auto !important;
        background: transparent !important;
        box-shadow: none !important;
        overflow-y: visible !important;
        padding: 0 !important;
        flex-direction: row !important;
    }

    .nav-toggle {
        display: none !important;
    }
    
    body.menu-open {
        overflow: visible !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
    }
}

@media screen and (max-width: 1024px) {
    .nav-container {
        padding: 1rem 1.5rem;
    }

    .nav-toggle {
        display: flex;
        order: 2;
        position: relative;
        z-index: 1002;
    }

    .nav-logo {
        order: 1;
    }

    .nav-menu {
        order: 3;
    }

    .nav-cta {
        order: 4;
        display: none;
    }

    /* Hamburger animation when active */
    .nav-toggle.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    /* Mobile menu positioning and animation */
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        display: flex !important;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
        justify-content: flex-start;
        padding: 1rem 0;
        overflow-y: auto;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1001;
        visibility: visible;
        opacity: 1;
    }

    .nav-menu.active {
        transform: translateX(0);
    }
    
    /* Ensure nav items are visible */
    .nav-menu .nav-item {
        display: block !important;
        visibility: visible;
        opacity: 1;
        width: 100%;
    }

    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100vh;
    }

    /* Mobile menu items */
    .nav-item {
        display: block !important;
        margin: 0;
        border-bottom: 1px solid var(--gray-100);
        width: 100%;
        list-style: none;
    }

    .nav-link {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
        width: 100%;
        font-size: 1rem;
        border-radius: 0;
        color: var(--gray-900);
        text-decoration: none;
        background: transparent;
    }

    .nav-link:hover,
    .nav-link.active {
        background: rgba(0, 106, 78, 0.08);
        color: var(--green-primary);
    }

    /* Dropdown styles for mobile */
    .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: var(--gray-100);
        border-radius: 0;
        padding: 0;
        margin: 0;
        min-width: auto;
    }

    .dropdown.active .dropdown-menu {
        display: block;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            max-height: 0;
        }
        to {
            opacity: 1;
            max-height: 500px;
        }
    }

    .dropdown-menu a {
        padding: 0.875rem 2.5rem;
        font-size: 0.9rem;
        border-bottom: 1px solid #e0e0e0;
    }

    .dropdown-menu a:hover {
        background: rgba(0, 106, 78, 0.05);
        padding-left: 2.75rem;
    }

    .dropdown .arrow {
        transition: transform 0.3s ease;
        font-size: 0.7rem;
        color: var(--green-primary);
    }

    .dropdown.active .arrow {
        transform: rotate(180deg);
    }

    /* Show Sign In button in mobile menu */
    .nav-menu::after {
        content: '';
        display: block;
        padding: 1rem 1.5rem;
    }

    .mobile-signin {
        display: block;
        margin: 1rem 1.5rem;
        padding: 0.875rem 1.5rem;
        background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
        color: var(--white);
        text-align: center;
        text-decoration: none;
        border-radius: 25px;
        font-weight: 600;
        box-shadow: 0 4px 15px rgba(244, 42, 65, 0.3);
    }
}

/* Tablet adjustments */
@media screen and (max-width: 768px) {
    .nav-container {
        padding: 0.875rem 1rem;
    }

    .logo-image {
        height: 40px;
    }

    .nav-menu {
        top: 60px;
        height: calc(100vh - 60px);
    }
}

/* Small mobile devices */
@media screen and (max-width: 480px) {
    .nav-container {
        padding: 0.75rem 1rem;
    }

    .logo-image {
        height: 35px;
    }

    .logo-text {
        font-size: 1.3rem;
    }

    .nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.95rem;
    }

    .dropdown-menu a {
        padding: 0.75rem 2rem;
        font-size: 0.875rem;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 80px 0 50px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2.5rem;
}

/* Left Column */
.hero-main {
    color: var(--gray-900);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.1), rgba(244, 42, 65, 0.1));
    border: 2px solid var(--green-primary);
    border-radius: 30px;
    margin-bottom: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--green-dark);
}

.badge-icon {
    color: var(--red-primary);
    font-size: 1.1rem;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.25rem;
    color: var(--gray-900);
}

.gradient-text {
    background: linear-gradient(135deg, var(--green-primary), var(--red-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-description {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 2rem;
    max-width: 550px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-primary), var(--red-dark));
    color: var(--white);
    box-shadow: 0 8px 25px rgba(244, 42, 65, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(244, 42, 65, 0.45);
}

.btn-primary:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

.btn-primary:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(244, 42, 65, 0.25), 0 8px 25px rgba(244, 42, 65, 0.35);
}

.btn-outline {
    background: transparent;
    color: black;
    border-color: var(--green-primary);
}

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

/* Right Column - Image Slider */
.hero-images {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-slide.active {
    opacity: 1;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.slider-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

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

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* Hero Bottom Section */
.hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

/* Stats */
.stats-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0.875rem;
}

.stat-box {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.25rem 0.875rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.stat-box:hover {
    border-color: var(--green-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.15);
}

.stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--green-primary), var(--red-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 600;
    line-height: 1.3;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    display: none;
}

.feature-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.feature-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.15);
}

.feature-content h3 {
    font-size: 0.7rem;
    color: var(--gray-600);
    font-weight: 600;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.feature-content p {
    font-size: 1rem;
    color: var(--gray-900);
    font-weight: 700;
    line-height: 1.3;
}

/* Slider Navigation */
.slider-nav {
    display: none;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .hero-images {
        height: 450px;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .feature-cards {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }
}

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

/* Right Column - Image Slider */
.hero-images {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.image-slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.image-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.image-slide.active {
    opacity: 1;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.875rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
}

.slider-arrow {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: var(--white);
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

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

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.dot.active {
    background: var(--white);
    width: 24px;
    border-radius: 4px;
}

/* ==========================================
   SECTION COMMON STYLES
   ========================================== */
section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.1), rgba(244, 42, 65, 0.1));
    border: 2px solid var(--green-primary);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--green-dark);
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--gray-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-600);
    line-height: 1.7;
}

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

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-section {
    background: var(--white);
}

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

.about-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

.about-content p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: var(--gray-900);
}

.highlight-icon {
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--green-primary), var(--red-primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.about-video {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.about-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 20px;
}

/* ==========================================
   TRAINING SECTION
   ========================================== */
.training-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.training-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.training-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 106, 78, 0.15);
}

.training-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.training-card > p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--gray-600);
    margin-bottom: 1.5rem;
}

.training-list {
    list-style: none;
    padding: 0;
}

.training-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.9rem;
    color: var(--gray-600);
}

.training-list li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--green-primary);
    font-weight: 700;
}

/* ==========================================
   GALLERY PREVIEW SECTION
   ========================================== */
.gallery-preview {
    background: var(--white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 250px);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1.5rem;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

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

.gallery-overlay h3 {
    color: var(--white);
    font-size: 1.125rem;
    font-weight: 600;
}

.gallery-page { background: var(--white); padding: 4rem 0; }
.gallery-page-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; grid-auto-rows: 220px; }
.gallery-page-grid .gallery-item { height: 100%; }
.lightbox-image { width: 100%; height: auto; border-radius: 12px; }
.lightbox-caption { margin-top: 0.75rem; font-weight: 600; color: var(--gray-900); }

/* ==========================================
   NOTICE SECTION
   ========================================== */
.notice-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.notice-content h2 {
    text-align: left;
}

.notice-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.notice-item {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 15px;
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
}

.notice-item:hover {
    border-color: var(--green-primary);
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.1);
}

.notice-date {
    background: linear-gradient(135deg, var(--green-primary), var(--red-primary));
    color: var(--white);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.notice-date .day {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    line-height: 1;
}

.notice-date .month {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.25rem;
}

.notice-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
}

.notice-info p {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.notice-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
}

.notice-tag.new {
    background: var(--red-primary);
    color: var(--white);
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    padding: 5rem 0;
}

.cta-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

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

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

.cta-section .btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

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

/* ==========================================
   RANK STRUCTURE SECTION
   ========================================== */
.rank-section {
    background: var(--white);
    padding: 5rem 0;
}

.rank-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 2rem;
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.filter-btn:hover {
    border-color: var(--green-primary);
    color: var(--green-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 106, 78, 0.15);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    border-color: var(--green-primary);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0, 106, 78, 0.3);
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2rem;
    position: relative;
}

.rank-grid::before {
    content: '';
    position: absolute;
    top: 80px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--green-primary) 0%, 
        var(--green-primary) 20%, 
        var(--green-primary) 40%, 
        var(--green-primary) 60%, 
        var(--red-primary) 80%, 
        var(--red-primary) 100%);
    z-index: 0;
}

.rank-card {
    background: var(--white);
    border: 2px solid var(--gray-100);
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.rank-card:hover {
    border-color: var(--green-primary);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 106, 78, 0.2);
}

.rank-badge {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    background: var(--white);
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--gray-100);
    transition: all 0.3s ease;
}

.rank-card:hover .rank-badge {
    border-color: var(--green-primary);
    box-shadow: 0 15px 40px rgba(0, 106, 78, 0.3);
}

.rank-badge img {
    width: 85%;
    height: 85%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.rank-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.rank-level {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.1), rgba(244, 42, 65, 0.1));
    color: var(--green-dark);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rank-description {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 3rem 0 1.5rem;
}

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

.footer-col h3,
.footer-col h4 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.footer-col h3 {
    font-size: 1.5rem;
}

.footer-col h4 {
    font-size: 1.125rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-logo {
    height: 60px;
    margin-bottom: 1rem;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--green-primary);
    transform: translateY(-3px);
}

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

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

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.contact-info li {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 0.75rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

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

.form-section {}
.form-card { background: var(--white); border: 2px solid var(--gray-100); border-radius: 15px; padding: 2rem; box-shadow: 0 8px 25px rgba(0, 106, 78, 0.08); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label { font-weight: 600; color: var(--gray-900); }
.form-control { width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--gray-100); border-radius: 10px; background: var(--white); font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: var(--gray-900); transition: all 0.2s ease; }
.form-control:focus { outline: none; border-color: var(--green-primary); box-shadow: 0 0 0 4px rgba(0, 106, 78, 0.08); }
.form-control[disabled] { background: #f3f4f6; color: var(--gray-600); }
.form-section-title { font-size: 1.25rem; font-weight: 700; color: var(--gray-900); }
.form-span { grid-column: 1 / -1; }
.checkbox-row { display: flex; align-items: center; gap: 0.75rem; }
.form-actions { margin-top: 1.5rem; display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }

.modal { position: fixed; inset: 0; background: rgba(0,0,0,0.4); display: flex; align-items: center; justify-content: center; z-index: 2000; padding: 2rem; }
.modal-content { background: var(--white); border: 2px solid var(--gray-100); border-radius: 15px; width: min(900px, 92vw); padding: 1.5rem; box-shadow: 0 20px 60px rgba(0,0,0,0.2); max-height: 90vh; overflow: auto; }
.preview-grid { display: grid; grid-template-columns: 280px 1fr; gap: 1.5rem; align-items: flex-start; }
.preview-image-wrap { background: var(--gray-100); border-radius: 12px; display: flex; align-items: center; justify-content: center; height: 280px; overflow: hidden; }
.preview-image-wrap img { width: 100%; height: 100%; object-fit: cover; }
.preview-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem 1rem; }
.preview-fields div { padding: 0.5rem 0.75rem; background: var(--gray-100); border-radius: 8px; }
.modal-actions { margin-top: 1rem; display: flex; justify-content: flex-end; }

.success-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); display: flex; align-items: center; justify-content: center; z-index: 2100; }
.success-box { background: var(--white); border: 2px solid var(--gray-100); border-radius: 15px; padding: 2rem 2.5rem; text-align: center; box-shadow: 0 20px 60px rgba(0,0,0,0.25); }
.success-check { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--green-primary), var(--green-dark)); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 1rem; transform: scale(0.8); animation: pop 400ms ease forwards; }
.success-text { font-weight: 700; color: var(--gray-900); }
@keyframes pop { to { transform: scale(1); } }

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

.footer-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.developer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.developer-link:hover {
    color: var(--white);
    border-bottom-color: var(--white);
}

/* ==========================================
   AT A GLANCE PAGE STYLES
   ========================================== */
.page-header {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
}

.page-header-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    line-height: 1.6;
}

.glance-section {
    padding: 5rem 0;
    background: var(--gray-100);
}

.glance-card-large {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.glance-icon {
    font-size: 4rem;
    flex-shrink: 0;
}

.glance-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1.5rem;
}

.glance-text p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.glance-text p strong {
    color: var(--green-primary);
    font-weight: 700;
}

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

.glance-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.glance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 106, 78, 0.15);
}

.glance-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.glance-icon-small {
    font-size: 2.5rem;
}

.glance-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
}

.glance-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin-bottom: 1rem;
}

.highlight-text {
    color: var(--green-primary);
    font-weight: 600;
    padding: 1rem;
    background: rgba(0, 106, 78, 0.05);
    border-left: 4px solid var(--green-primary);
    border-radius: 5px;
}

.accent-card {
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.05), rgba(244, 42, 65, 0.05));
    border: 2px solid var(--green-primary);
}

.motto-display, .spirit-display {
    text-align: center;
    padding: 2rem 1rem;
}

.motto-text, .spirit-text {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--green-primary), var(--red-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.3;
}

.glance-tasks {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

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

.task-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-100);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.task-card:hover {
    background: rgba(0, 106, 78, 0.05);
    transform: translateX(10px);
}

.task-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--green-primary), var(--red-primary));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    flex-shrink: 0;
}

.task-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.task-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--gray-600);
}

.glance-cta {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
}

.glance-cta h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.glance-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==========================================
   HISTORY PAGE STYLES
   ========================================== */
.history-header {
    background: linear-gradient(135deg, #004d36 0%, var(--green-primary) 50%, var(--red-primary) 100%);
}

.history-intro {
    background: var(--white);
    padding: 4rem 0;
}

.intro-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--gray-600);
    margin-bottom: 2rem;
}

.intro-highlight {
    font-size: 1.3rem;
    font-weight: 600;
    font-style: italic;
    color: var(--green-primary);
    padding: 1.5rem;
    background: rgba(0, 106, 78, 0.05);
    border-left: 4px solid var(--green-primary);
    border-radius: 8px;
}

/* History Chapters */
.history-chapters {
    background: var(--gray-50);
    padding: 5rem 0;
}

.history-chapter {
    max-width: 900px;
    margin: 0 auto 3rem;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
}

.history-chapter:hover {
    box-shadow: 0 8px 30px rgba(0, 106, 78, 0.15);
    transform: translateY(-2px);
}

.chapter-header {
    background: linear-gradient(135deg, var(--green-primary), #004d36);
    color: var(--white);
    padding: 2rem 2.5rem;
    position: relative;
}

.chapter-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-primary), transparent);
}

.chapter-year {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.chapter-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    margin: 0;
    line-height: 1.3;
}

.chapter-body {
    padding: 2.5rem;
}

.chapter-body p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 1.5rem;
}

.chapter-body p:last-child {
    margin-bottom: 0;
}

/* Chapter Details */
.chapter-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.detail-item {
    background: var(--gray-50);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 3px solid var(--green-primary);
}

.detail-label {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--green-primary);
    margin-bottom: 0.75rem;
}

.detail-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Chapter Note */
.chapter-note {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    background: linear-gradient(135deg, rgba(0, 106, 78, 0.05), rgba(0, 106, 78, 0.02));
    padding: 1.25rem 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
    border-left: 3px solid var(--green-primary);
}

.chapter-note svg {
    flex-shrink: 0;
    color: var(--green-primary);
    margin-top: 2px;
}

.chapter-note p {
    font-size: 0.95rem;
    font-style: italic;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Expansion Cards */
.expansion-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
}

.expansion-item {
    background: var(--gray-50);
    padding: 1.75rem;
    border-radius: 8px;
    border-top: 3px solid var(--green-primary);
    transition: all 0.3s ease;
}

.expansion-item:hover {
    background: rgba(0, 106, 78, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 106, 78, 0.1);
}

.expansion-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
}

.expansion-item p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.6;
}

/* Liberation War Highlight */
.chapter-highlight {
    border: 2px solid var(--red-primary);
    position: relative;
}

.chapter-highlight .chapter-header {
    background: linear-gradient(135deg, var(--red-primary), #c21e3a);
}

.chapter-highlight::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--red-primary), var(--green-primary));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.1;
}

.valor-statement {
    background: linear-gradient(135deg, rgba(244, 42, 65, 0.1), rgba(244, 42, 65, 0.05));
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
    border: 2px solid rgba(244, 42, 65, 0.2);
}

.valor-icon {
    margin-bottom: 1rem;
}

.valor-icon svg {
    color: var(--red-primary);
}

.valor-statement p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    line-height: 1.7;
    margin: 0;
}

/* Formation Announcement */
.formation-announcement {
    background: linear-gradient(135deg, var(--green-primary), #004d36);
    color: var(--white);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin: 2rem 0;
    box-shadow: 0 6px 25px rgba(0, 106, 78, 0.3);
}

.formation-announcement p {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--white);
    margin: 0;
    line-height: 1.7;
}

/* Merger Info */
.merger-info {
    background: var(--gray-50);
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
    border: 2px dashed var(--green-primary);
}

.merger-info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
    text-align: center;
}

.merger-info > p {
    font-size: 1rem;
    color: var(--gray-700);
    margin-bottom: 1rem;
}

.merger-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.merger-list li {
    padding: 0.75rem 1.5rem;
    margin: 0.5rem 0;
    background: var(--white);
    border-left: 4px solid var(--green-primary);
    border-radius: 6px;
    font-weight: 600;
    color: var(--gray-900);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.merger-result {
    font-style: italic;
    text-align: center;
    color: var(--green-primary);
    font-weight: 600;
    margin-top: 1.5rem;
}

/* Motto Display */
.motto-display {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 106, 78, 0.3);
    position: relative;
}

.motto-display::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 12px;
    pointer-events: none;
}

.motto-content {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.motto-label {
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    opacity: 1;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.motto-text {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin: 1rem 0;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.motto-bangla {
    font-family: 'Anek Bangla', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: var(--white);
    opacity: 1;
    letter-spacing: 0.5px;
}

/* Mission Objectives */
.mission-objectives {
    margin-top: 2.5rem;
}

.objectives-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid var(--green-primary);
}

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

.objective-item {
    background: var(--gray-50);
    padding: 1.75rem;
    border-radius: 10px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 5rem;
}

.objective-item:hover {
    border-color: var(--green-primary);
    background: rgba(0, 106, 78, 0.03);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 106, 78, 0.12);
}

.objective-number {
    position: absolute;
    left: 1.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--green-primary);
    opacity: 0.3;
    font-family: 'Playfair Display', serif;
}

.objective-item p {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.6;
    margin: 0;
}

/* Legacy Section */
.history-legacy {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    color: var(--white);
    padding: 5rem 0;
    text-align: center;
}

.legacy-content {
    max-width: 800px;
    margin: 0 auto;
}

.legacy-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.legacy-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    opacity: 0.95;
    margin-bottom: 2.5rem;
}

.legacy-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ==========================================
   RESPONSIVE - ADDITIONAL SECTIONS
   ========================================== */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .training-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }
    .gallery-page-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    
    .gallery-item.large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .rank-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .rank-grid::before {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-grid { grid-template-columns: 1fr; }
    .form-actions { justify-content: stretch; flex-direction: column; }
    .form-actions .btn { width: 100%; justify-content: center; }

    .preview-grid { grid-template-columns: 1fr; }
    .preview-fields { grid-template-columns: 1fr; }
    .modal-content { width: 96vw; padding: 1rem; }

    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .rank-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .rank-section {
        padding: 3rem 0;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-page-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    
    .glance-grid {
        grid-template-columns: 1fr;
    }
    
    .tasks-grid {
        grid-template-columns: 1fr;
    }
    
    .glance-card-large {
        flex-direction: column;
        padding: 2rem;
    }
    
    .glance-tasks {
        padding: 2rem;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-header {
        padding: 120px 0 60px;
    }
    
    /* History Page Mobile */
    .chapter-header {
        padding: 1.5rem;
    }
    
    .chapter-year {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
    }
    
    .chapter-title {
        font-size: 1.5rem;
    }
    
    .chapter-body {
        padding: 1.5rem;
    }
    
    .chapter-details {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .expansion-cards {
        grid-template-columns: 1fr;
    }
    
    .objectives-grid {
        grid-template-columns: 1fr;
    }
    
    .objective-item {
        padding-left: 4.5rem;
    }
    
    .objective-number {
        left: 1.5rem;
        font-size: 2rem;
    }
    
    .motto-text {
        font-size: 1.75rem;
    }
    
    .motto-bangla {
        font-size: 1.35rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

@media (max-width: 480px) {
    .gallery-page-grid { grid-template-columns: 1fr; grid-auto-rows: 180px; }
}
}
.auth-section { padding: 4rem 0; background: var(--white); }
.auth-card { max-width: 720px; margin: 0 auto; }
.auth-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.25rem; }
.auth-brand { display: flex; align-items: center; gap: 0.75rem; }
.auth-brand .brand-mark { display: inline-flex; width: 36px; height: 36px; align-items: center; justify-content: center; border-radius: 8px; background: var(--gray-100); }
.secure-badge { background: #0f766e; color: #fff; padding: 0.4rem 0.75rem; border-radius: 999px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em; }
.auth-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }
.auth-extra { display: flex; align-items: center; gap: 1rem; }
.checkbox { display: inline-flex; align-items: center; gap: 0.5rem; }
.link { color: var(--primary); text-decoration: none; }
.link:hover { text-decoration: underline; }

.btn.btn-primary.loading { opacity: 0.9; cursor: not-allowed; }

.auth-section .btn-primary {
    background: linear-gradient(135deg, var(--green-primary), var(--green-dark));
    box-shadow: 0 8px 25px rgba(0, 106, 78, 0.35);
    border-radius: 8px;
}
.auth-section .btn-primary:hover {
    box-shadow: 0 12px 35px rgba(0, 106, 78, 0.45);
}
.auth-section .btn-large {
    padding: 1.25rem 2.75rem;
    font-size: 1.15rem;
}

.login-success-content { text-align: center; padding: 1rem 0; }
.success-icon { width: 72px; height: 72px; background: #16a34a; color: #fff; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 2rem; margin-bottom: 0.5rem; transform: scale(0.9); animation: pop 250ms ease-out forwards; }
@keyframes pop { to { transform: scale(1); } }

@media (max-width: 768px) {
    .auth-card { margin: 0 0.5rem; }
    .auth-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}
