/* ============================================
   TUY SENIOR HIGH SCHOOL - MODERN CSS
   Colors: Blue (#1e3a8a), Yellow (#fbbf24), Red (#dc2626)
   ============================================ */

/* RESET & BASE STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors from Logo */
    --primary-blue: #1e3a8a;
    --primary-blue-dark: #1e40af;
    --primary-blue-light: #3b82f6;
    --accent-yellow: #fbbf24;
    --accent-yellow-dark: #f59e0b;
    --accent-red: #dc2626;
    --accent-red-dark: #b91c1c;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8fafc;
    --gray: #64748b;
    --dark-gray: #334155;
    --black: #0f172a;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    
    /* Transitions */
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* CONTAINER */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TEXT UTILITIES */
.text-center {
    text-align: center;
}

/* ============================================
   NAVIGATION BAR
   ============================================ */

/* ============================================
   MODERN NAVBAR
   ============================================ */

.navbar-modern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    z-index: 10000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 61, 165, 0.1);
}

.navbar-modern.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.nav-container-modern {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.nav-logo-modern {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.nav-logo-modern:hover {
    transform: translateY(-2px);
}

.logo-icon-wrapper {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.1) 0%, rgba(253, 185, 19, 0.1) 100%);
    border-radius: 12px;
    padding: 8px;
    transition: all 0.3s ease;
}

.nav-logo-modern:hover .logo-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.2) 0%, rgba(253, 185, 19, 0.2) 100%);
    transform: rotate(5deg);
}

.logo-img-modern {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text-modern h1 {
    font-size: 1rem;
    font-weight: 800;
    background: linear-gradient(135deg, #003DA5 0%, #0052CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.logo-text-modern p {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin: 0;
    line-height: 1.2;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-text-modern p i {
    color: #003DA5;
    font-size: 0.7rem;
}

.nav-menu-modern {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
}

.nav-link-modern {
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link-modern i {
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.nav-link-modern:hover {
    color: #003DA5;
    background: rgba(0, 61, 165, 0.08);
}

.nav-link-modern:hover i {
    transform: scale(1.2);
}

.nav-link-modern.active {
    color: var(--white);
    background: linear-gradient(135deg, #003DA5 0%, #0052CC 100%);
    box-shadow: 0 4px 15px rgba(0, 61, 165, 0.3);
}

.nav-link-modern.active i {
    transform: scale(1.1);
}

.btn-login-modern {
    background: linear-gradient(135deg, #003DA5 0%, #0052CC 100%);
    color: var(--white);
    border: none;
    padding: 0.75rem 1.75rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0, 61, 165, 0.25);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.btn-login-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-login-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-login-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 61, 165, 0.4);
}

.btn-login-modern i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-login-modern:hover i {
    transform: translateX(5px);
}

.btn-login-text {
    position: relative;
    z-index: 1;
}

.hamburger-modern {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger-modern span {
    width: 28px;
    height: 3px;
    background: linear-gradient(135deg, #003DA5 0%, #0052CC 100%);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger-modern:hover span {
    background: linear-gradient(135deg, #0052CC 0%, #003DA5 100%);
}

.hamburger-modern.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-modern.active span:nth-child(2) {
    opacity: 0;
}

@media (max-width: 1024px) {
    .nav-menu-modern {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: white;
        width: 280px;
        height: 100vh;
        text-align: left;
        transition: left 0.3s ease;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
        padding: 100px 2rem 2rem;
        z-index: 9999;
        overflow-y: auto;
    }
    
    .nav-menu-modern.active {
        left: 0;
    }
    
    .nav-menu-modern li {
        margin: 0.5rem 0;
        width: 100%;
    }
    
    .nav-link-modern {
        width: 100%;
        justify-content: flex-start;
    }
    
    
    .hamburger-modern {
        display: flex;
        z-index: 10001;
    }
}

@media (max-width: 768px) {
    .nav-container-modern {
        padding: 0.75rem 1.5rem;
    }
    
    .logo-icon-wrapper {
        width: 40px;
        height: 40px;
    }
    
    .logo-text-modern h1 {
        font-size: 0.85rem;
    }
    
    .logo-text-modern p {
        font-size: 0.65rem;
    }
    
    .btn-login-modern {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    text-align: center;
    background: url('../images/buildingtshs_n.jpg') center center/cover no-repeat;
    overflow: hidden;
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 30%;
    width: 100%;
    height: 140%;
    background: linear-gradient(to right, transparent 0%, rgba(30, 58, 138, 0.1) 15%, rgba(30, 58, 138, 0.5) 30%, rgba(30, 58, 138, 0.85) 45%, var(--primary-blue) 60%, var(--primary-blue) 100%);
    transform: skewX(-12deg);
    z-index: 1;
    animation: gradientPulse 8s ease-in-out infinite alternate;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(251, 191, 36, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.2) 0%, transparent 50%),
        rgba(0, 0, 0, 0.1);
    z-index: 2;
}

/* Decorative shapes */
.hero::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 2;
    filter: blur(40px);
}

.hero-content {
    position: relative;
    z-index: 3;
    color: var(--white);
    animation: fadeInUp 1s ease;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    animation: badgeGlow 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.hero-badge i {
    color: var(--accent-yellow);
    font-size: 16px;
    filter: drop-shadow(0 0 8px rgba(251, 191, 36, 0.8));
    animation: flameFlicker 2s ease-in-out infinite;
}

.hero-title {
    font-size: 44px;
    font-weight: 900;
    margin-bottom: 12px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 40%, #fef3c7 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
    text-shadow: none;
}

.hero-subtitle {
    font-size: 16px;
    margin-bottom: 25px;
    opacity: 0.95;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn {
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
    color: var(--primary-blue);
    box-shadow: 
        0 10px 30px rgba(251, 191, 36, 0.4),
        0 0 0 0 rgba(251, 191, 36, 0.5);
    animation: buttonPulse 2s ease-in-out infinite;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(251, 191, 36, 0.6),
        0 0 30px rgba(251, 191, 36, 0.4);
}

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: rotate(10deg) scale(1.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 12px 32px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero-stats {
    display: flex;
    gap: 35px;
    justify-content: center;
    padding: 20px 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.hero-stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(251, 191, 36, 0.1) 50%,
        transparent 70%
    );
    animation: shine 4s ease-in-out infinite;
}

.stat-item {
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
    padding: 5px;
}

.stat-item:hover {
    transform: translateY(-8px);
}

.stat-item i {
    font-size: 36px;
    color: var(--accent-yellow);
    margin-bottom: 8px;
    display: block;
    filter: drop-shadow(0 0 12px rgba(251, 191, 36, 0.8));
    transition: all 0.3s ease;
}

.stat-item:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 1));
}

.stat-item h3 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 4px;
    background: linear-gradient(135deg, #ffffff 0%, #fef3c7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.stat-item p {
    font-size: 13px;
    opacity: 0.95;
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.6));
    z-index: 10;
}

.scroll-indicator:hover {
    transform: translateX(-50%) scale(1.3);
    filter: drop-shadow(0 0 20px rgba(251, 191, 36, 1));
}

/* ============================================
   SECTION STYLES
   ============================================ */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about {
    background: var(--light-gray);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.about-year {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: var(--accent-yellow);
    color: var(--primary-blue);
    padding: 20px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.about-year h3 {
    font-size: 16px;
    margin: 0;
}

.about-year h2 {
    font-size: 36px;
    font-weight: 800;
    margin: 0;
}

.about-text h3 {
    color: #fbbf24;
    font-size: 20px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h3 i {
    font-size: 24px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-text p {
    font-size: 16px;
    line-height: 1.9;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.feature-item {
    text-align: center;
    padding: 35px 25px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.2), transparent);
    transition: left 0.6s;
}

.feature-item:hover::before {
    left: 100%;
}

.feature-item:hover {
    transform: translateY(-15px) scale(1.05);
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: 
        0 20px 60px rgba(59, 130, 246, 0.3),
        0 0 50px rgba(59, 130, 246, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.feature-item i {
    font-size: 52px;
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: block;
    filter: drop-shadow(0 4px 20px rgba(59, 130, 246, 0.6));
    transition: all 0.3s ease;
}

.feature-item:hover i {
    transform: scale(1.2) rotate(5deg);
    filter: drop-shadow(0 8px 30px rgba(59, 130, 246, 0.8));
}

.feature-item h4 {
    font-size: 18px;
    color: #ffffff;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-item p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background: none;
    border: none;
    box-shadow: none;
}

/* ============================================
   COURSES/STRANDS SECTION
   ============================================ */

.courses {
    background: var(--white);
}

.strands-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.strand-card {
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.strand-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--accent-red));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition);
}

.strand-card:hover::before {
    transform: scaleX(1);
}

.strand-card:hover {
    border-color: var(--primary-blue);
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.strand-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-blue-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.strand-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.strand-desc {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 25px;
    line-height: 1.6;
}

.strand-card h4 {
    font-size: 16px;
    color: var(--primary-blue);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.strand-subjects,
.strand-careers {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 10px;
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

/* ============================================
   GALLERY SECTION
   ============================================ */

.gallery {
    background: var(--light-gray);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 300px;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(30, 58, 138, 0.95), transparent);
    color: var(--white);
    padding: 30px 20px;
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.gallery-overlay p {
    font-size: 14px;
    opacity: 0.9;
}

/* ============================================
   NEWS SECTION
   ============================================ */

.news {
    background: var(--white);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.1);
}

.news-content {
    padding: 30px;
}

.news-meta {
    display: flex;
    gap: 20px;
    font-size: 12px;
    color: rgba(251, 191, 36, 0.8);
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.news-content h3 {
    font-size: 22px;
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.4;
    font-weight: 700;
}

.news-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
    line-height: 1.7;
}

.news-link {
    color: #fbbf24;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 13px;
}

.news-link:hover {
    gap: 15px;
    color: #60a5fa;
    text-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.news-link:hover {
    gap: 12px;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */

.projects {
    background: var(--light-gray);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.project-card {
    background: var(--white);
    border-radius: 15px;
    padding: 0;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-image {
    width: 100%;
    min-height: 220px;
    max-height: 220px;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, #003DA5 0%, #0052CC 100%);
    flex-shrink: 0;
}

.project-image img {
    width: 100%;
    height: 100%;
    min-height: 220px;
    max-height: 220px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-status {
    position: static;
    padding: 0 35px;
    margin-bottom: 20px;
}

.btn-read-more {
    width: calc(100% - 70px);
    margin: 0 35px 25px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #003DA5 0%, #0052CC 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 61, 165, 0.3);
}

.btn-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 61, 165, 0.4);
}

.btn-read-more i {
    transition: transform 0.3s ease;
}

.btn-read-more:hover i {
    transform: translateX(4px);
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.ongoing {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
}

.status-badge i {
    animation: pulse 2s infinite;
}

.project-card h3 {
    font-size: 22px;
    color: var(--primary-blue);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 35px;
    margin-top: 25px;
}

.project-card p {
    font-size: 15px;
    color: var(--dark-gray);
    line-height: 1.7;
    margin-bottom: 20px;
    padding: 0 35px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.project-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 14px;
    color: var(--gray);
    padding: 0 35px 20px 35px;
}

.project-timeline span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ============================================
   ENROLLMENT SECTION
   ============================================ */

.enrollment {
    background: var(--white);
}

.enrollment-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.enrollment-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
}

.enrollment-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.enrollment-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--accent-yellow), var(--accent-yellow-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
}

.enrollment-card h3 {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 25px;
}

.enrollment-list {
    text-align: left;
    list-style: none;
}

.enrollment-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 15px;
    color: var(--dark-gray);
}

.enrollment-list i {
    color: var(--accent-yellow);
    font-size: 18px;
    margin-top: 3px;
}

.enrollment-schedule {
    text-align: center;
}

.enrollment-schedule p {
    font-size: 15px;
    color: var(--dark-gray);
    margin: 10px 0;
}

.schedule-date {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-red);
    margin: 15px 0 !important;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact {
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card {
    background: var(--white);
    padding: 25px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.contact-card i {
    font-size: 32px;
    color: var(--accent-yellow);
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 18px;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.6;
}

.contact-map {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    max-width: 100%;
    margin-top: 20px;
}

.contact-map iframe {
    height: 400px !important;
    width: 100%;
    display: block;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 30px 0 15px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    margin-bottom: 8px;
}

.footer-section h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.footer-section h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--accent-yellow);
}

.footer-section p {
    font-size: 12px;
    line-height: 1.5;
    opacity: 0.9;
    margin-bottom: 6px;
}

.social-links {
    display: flex;
    gap: 8px;
    margin-top: 10px;
}

.social-links a {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 14px;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-yellow);
    color: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 6px;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
    font-size: 12px;
}

.footer-section ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 12px;
    opacity: 0.8;
    margin: 3px 0;
}

.footer-bottom i {
    color: var(--accent-red);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.85;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes badgeGlow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 0 rgba(251, 191, 36, 0.4);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.2),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 20px 5px rgba(251, 191, 36, 0.6);
    }
}

@keyframes flameFlicker {
    0%, 100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: scale(1.05) rotate(-5deg);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.1) rotate(5deg);
        opacity: 0.95;
    }
    75% {
        transform: scale(1.05) rotate(-3deg);
        opacity: 0.85;
    }
}

@keyframes shimmer {
    0% {
        background-position: 0% center;
    }
    50% {
        background-position: 100% center;
    }
    100% {
        background-position: 0% center;
    }
}

@keyframes buttonPulse {
    0%, 100% {
        box-shadow: 
            0 10px 30px rgba(251, 191, 36, 0.4),
            0 0 0 0 rgba(251, 191, 36, 0.5);
    }
    50% {
        box-shadow: 
            0 10px 30px rgba(251, 191, 36, 0.4),
            0 0 0 10px rgba(251, 191, 36, 0);
    }
}

@keyframes shine {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    100% {
        transform: translate(50%, 50%) rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(251, 191, 36, 0.6);
    }
}

@keyframes borderGlow {
    0%, 100% {
        opacity: 0.4;
        filter: blur(20px);
    }
    50% {
        opacity: 0.7;
        filter: blur(25px);
    }
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes iconPulse {
    0%, 100% {
        background-position: 0% 50%;
        transform: scale(1);
    }
    50% {
        background-position: 100% 50%;
        transform: scale(1.05);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .strands-grid,
    .news-grid,
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .strands-grid,
    .gallery-grid,
    .news-grid,
    .projects-grid,
    .enrollment-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   MODAL STYLES
   ============================================ */

/* Base Modal */
/* ============================================
   MODERN LOGIN MODAL
   ============================================ */

.login-modal-modern {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    animation: fadeIn 0.3s ease;
}

.login-modal-modern.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
}

.login-modal-container {
    position: relative;
    z-index: 1;
    display: flex;
    background: white;
    border-radius: 24px;
    width: 90%;
    max-width: 900px;
    min-height: 600px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.login-left-section {
    flex: 1;
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.95) 0%, rgba(0, 82, 204, 0.95) 100%);
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.login-welcome-content {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.login-building-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.login-building-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.building-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 61, 165, 0.85) 0%, rgba(0, 82, 204, 0.85) 100%);
}

.login-text-content {
    position: relative;
    z-index: 2;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}

.login-logo-small {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.login-logo-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.login-text-content h2 {
    font-size: 2rem;
    font-weight: 800;
    color: white;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.login-text-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
    margin: 0;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.login-right-section {
    flex: 1;
    padding: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.login-form-wrapper {
    width: 100%;
    max-width: 400px;
}

.register-form-wrapper {
    max-height: 550px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.register-form-wrapper::-webkit-scrollbar {
    width: 6px;
}

.register-form-wrapper::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 10px;
}

.register-form-wrapper::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: 10px;
}

.register-form-wrapper::-webkit-scrollbar-thumb:hover {
    background: #003DA5;
}

.form-row-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 0;
}

.file-upload-modern {
    position: relative;
    border: 2px dashed var(--gray-300);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--gray-50);
}

.file-upload-modern:hover {
    border-color: #003DA5;
    background: rgba(0, 61, 165, 0.05);
}

.file-upload-modern input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload-label-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--gray-600);
}

.file-upload-label-modern i {
    font-size: 2rem;
    color: #003DA5;
}

.file-upload-label-modern span {
    font-size: 0.9rem;
    font-weight: 600;
}

.id-preview {
    margin-top: 1rem;
}

.id-preview img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.login-header {
    margin-bottom: 2rem;
}

.login-header h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #003DA5 0%, #0052CC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.login-header p {
    font-size: 0.95rem;
    color: var(--gray-600);
    margin: 0;
}

.modern-login-form {
    margin-top: 2rem;
}

.modern-form-group {
    margin-bottom: 1.5rem;
}

.modern-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--gray-700);
    font-weight: 600;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 1rem;
    color: var(--gray-400);
    font-size: 1rem;
    transition: color 0.3s ease;
}

.input-wrapper input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: 2px solid var(--gray-200);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--gray-50);
}

.input-wrapper input:focus {
    outline: none;
    border-color: #003DA5;
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 61, 165, 0.1);
}

.input-wrapper input:focus + i,
.input-wrapper:focus-within i {
    color: #003DA5;
}

.modern-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #FDB913 0%, #FFCF4B 100%);
    color: #003DA5;
    border: none;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 1.5rem;
    box-shadow: 0 4px 20px rgba(253, 185, 19, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
}

.modern-submit-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(0, 61, 165, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.modern-submit-btn:hover::before {
    width: 300px;
    height: 300px;
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(253, 185, 19, 0.4);
}

.modern-submit-btn span,
.modern-submit-btn i {
    position: relative;
    z-index: 1;
}

.modern-submit-btn:hover i {
    transform: translateX(5px);
}

.modern-submit-btn i {
    transition: transform 0.3s ease;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--gray-200);
}

.login-footer p {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0;
}

.signup-link {
    color: #003DA5;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.signup-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #003DA5;
    transition: width 0.3s ease;
}

.signup-link:hover::after {
    width: 100%;
}

.signup-link:hover {
    color: #0052CC;
}

@media (max-width: 768px) {
    .login-modal-container {
        flex-direction: column;
        max-width: 95%;
        min-height: auto;
    }
    
    .login-left-section {
        min-height: 250px;
    }
    
    .login-text-content {
        padding: 2rem 1.5rem;
    }
    
    .login-logo-small {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .login-text-content h2 {
        font-size: 1.5rem;
    }
    
    .login-text-content p {
        font-size: 0.9rem;
    }
    
    .login-right-section {
        padding: 2rem 1.5rem;
    }
    
    .login-header h3 {
        font-size: 1.5rem;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: white;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.register-teacher-modal .modal-content {
    max-width: 600px;
}

.modal-header {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.modal-header::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.modal-header h3 {
    font-size: 24px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.close-modal {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.close-modal:hover {
    background: rgba(255,255,255,0.25);
    transform: rotate(90deg);
}

.modal-body {
    padding: 35px;
}

/* Form Elements */
.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: #334155;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.form-group label i {
    color: #3b82f6;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e3a8a;
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 15px;
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(251, 191, 36, 0.4);
}

.submit-btn:active {
    transform: translateY(-1px);
}

.modal-footer-links {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e2e8f0;
}

.modal-footer-links p {
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
}

.modal-footer-links a {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
}

.modal-footer-links a:hover {
    color: #1e3a8a;
    text-decoration: underline;
}

/* Alert Messages */
.alert {
    padding: 14px 18px;
    border-radius: 12px;
    margin-bottom: 25px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: slideDown 0.3s ease;
}

.alert i {
    font-size: 18px;
}

.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 2px solid #86efac;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border: 2px solid #fca5a5;
}

.alert-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e40af;
    border: 2px solid #93c5fd;
}

/* Register Choice Modal */
.choice-description {
    text-align: center;
    color: #64748b;
    font-size: 15px;
    margin-bottom: 30px;
    font-weight: 500;
}

.account-type-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.account-type-card {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.account-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.account-type-card:hover::before {
    transform: scaleX(1);
}

.account-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    border-color: #3b82f6;
}

.account-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.student-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1e3a8a 100%);
}

.teacher-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.account-type-card h4 {
    color: #1e3a8a;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.account-type-card p {
    color: #64748b;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.account-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-top: 10px;
}

.account-badge.success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border: 1px solid #86efac;
}

.account-badge.warning {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fbbf24;
}

/* Modern Account Type Cards */
.account-type-grid-modern {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.account-type-card-modern {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    position: relative;
    overflow: hidden;
}

.account-type-card-modern::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.account-type-card-modern:hover {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 20px rgba(0, 61, 165, 0.12);
    transform: translateX(4px);
}

.account-type-card-modern:hover::before {
    transform: scaleY(1);
}

.account-icon-modern {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--white);
}

.student-icon-modern {
    background: linear-gradient(135deg, #3b82f6 0%, #1e40af 100%);
}

.teacher-icon-modern {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.account-type-card-modern > div:last-child {
    flex: 1;
}

.account-type-card-modern h4 {
    color: var(--gray-900);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.account-type-card-modern p {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 0.75rem 0;
}

.account-badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.success-badge {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
}

.warning-badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
}

/* Info Box */
.info-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #93c5fd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-box i {
    color: #1e40af;
    font-size: 20px;
    margin-top: 2px;
}

.info-box p {
    color: #1e40af;
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.warning-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: #fbbf24;
}

.warning-box i {
    color: #92400e;
}

.warning-box p {
    color: #92400e;
}

/* File Upload */
.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.file-upload-label:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.file-upload-label i {
    font-size: 40px;
    color: #94a3b8;
    display: block;
    margin-bottom: 10px;
}

.file-upload-label span {
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
}

.id-preview {
    margin-top: 15px;
    display: none;
}

.id-preview.active {
    display: block;
}

.id-preview img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.id-preview .file-name {
    margin-top: 10px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
    font-size: 13px;
    color: #334155;
    display: flex;
    align-items: center;
    gap: 10px;
}

.id-preview .file-name i {
    color: #22c55e;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .account-type-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
    }
}

/* ============================================
   ENHANCED MOBILE RESPONSIVE STYLES
   ============================================ */

/* Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .login-modal-container {
        max-width: 700px;
        min-height: 500px;
    }
    
    .login-text-content h2 {
        font-size: 1.75rem;
    }
    
    .login-logo-small {
        width: 70px;
        height: 70px;
    }
}

/* Mobile Landscape & Portrait Tablets */
@media (max-width: 768px) {
    /* Hero Section */
    .hero {
        height: 80vh;
        min-height: 500px;
        padding-bottom: 60px;
    }
    
    .hero-content {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 25px;
        padding: 25px 20px;
    }
    
    /* Sections */
    .section {
        padding: 50px 0;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .section-header p {
        font-size: 14px;
    }
    
    /* About Section */
    .about-content {
        gap: 30px;
    }
    
    .about-image {
        height: 250px;
    }
    
    .about-features {
        gap: 15px;
    }
    
    .feature-item {
        padding: 15px;
    }
    
    .feature-item i {
        font-size: 20px;
        width: 40px;
        height: 40px;
    }
    
    /* Strands */
    .strand-card {
        padding: 25px 20px;
    }
    
    .strand-card h3 {
        font-size: 18px;
    }
    
    /* Gallery */
    .gallery-item {
        height: 200px;
    }
    
    /* News & Projects */
    .news-card,
    .project-card {
        padding: 20px;
    }
    
    .news-card h3,
    .project-card h3 {
        font-size: 16px;
    }
    
    /* Contact */
    .contact-info-item {
        padding: 15px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    /* Login Modal */
    .login-modal-container {
        flex-direction: column;
        width: 95%;
        max-width: 95%;
        min-height: auto;
        max-height: 90vh;
    }
    
    .login-left-section {
        min-height: 200px;
        padding: 30px 20px;
    }
    
    .login-text-content {
        padding: 2rem;
    }
    
    .login-text-content h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .login-text-content p {
        font-size: 0.9rem;
    }
    
    .login-logo-small {
        width: 60px;
        height: 60px;
        margin-bottom: 1.5rem;
    }
    
    .login-right-section {
        padding: 2rem 1.5rem;
    }
    
    .login-form-wrapper {
        max-width: 100%;
    }
    
    .register-form-wrapper {
        max-height: 400px;
    }
    
    .form-row-modern {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .login-close-btn {
        top: 1rem;
        right: 1rem;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    /* Navbar */
    .nav-container-modern {
        padding: 0.75rem 1rem;
    }
    
    .logo-icon-wrapper {
        width: 35px;
        height: 35px;
    }
    
    .logo-text-modern h1 {
        font-size: 0.75rem;
    }
    
    .logo-text-modern p {
        font-size: 0.6rem;
    }
    
    .btn-login-modern {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    /* Hero */
    .hero {
        height: 70vh;
        min-height: 450px;
        padding-bottom: 40px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 26px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .hero-stats {
        padding: 20px 15px;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 11px;
    }
    
    /* Sections */
    .section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 13px;
    }
    
    /* About */
    .about-image {
        height: 200px;
        border-radius: 15px;
    }
    
    .about-text h2 {
        font-size: 22px;
    }
    
    .about-text p {
        font-size: 13px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .feature-item i {
        font-size: 18px;
        width: 35px;
        height: 35px;
    }
    
    .feature-item h4 {
        font-size: 13px;
    }
    
    /* Cards */
    .strand-card,
    .news-card,
    .project-card {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .strand-card h3,
    .news-card h3,
    .project-card h3 {
        font-size: 15px;
    }
    
    .strand-card p,
    .news-card p,
    .project-card p {
        font-size: 12px;
    }
    
    /* Gallery */
    .gallery-item {
        height: 180px;
        border-radius: 12px;
    }
    
    /* Contact */
    .contact-form input,
    .contact-form textarea,
    .contact-form select {
        padding: 10px 14px;
        font-size: 13px;
    }
    
    .contact-info-item {
        padding: 12px;
    }
    
    .contact-info-item i {
        font-size: 18px;
        width: 35px;
        height: 35px;
    }
    
    .contact-info-item h4 {
        font-size: 13px;
    }
    
    .contact-info-item p {
        font-size: 12px;
    }
    
    /* Footer */
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        gap: 25px;
    }
    
    .footer-section h3 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .footer-section p,
    .footer-section a {
        font-size: 12px;
    }
    
    .footer-bottom {
        padding-top: 20px;
        font-size: 11px;
    }
    
    /* Login Modal */
    .login-modal-container {
        border-radius: 20px;
        max-height: 95vh;
    }
    
    .login-left-section {
        min-height: 180px;
        padding: 25px 15px;
    }
    
    .login-text-content {
        padding: 1.5rem;
    }
    
    .login-text-content h2 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .login-text-content p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .login-logo-small {
        width: 50px;
        height: 50px;
        margin-bottom: 1rem;
        border-radius: 15px;
        padding: 0.75rem;
    }
    
    .login-right-section {
        padding: 1.5rem 1.25rem;
    }
    
    .login-form-header h3 {
        font-size: 1.25rem;
    }
    
    .login-form-header p {
        font-size: 0.85rem;
    }
    
    .form-group-modern label {
        font-size: 0.85rem;
    }
    
    .form-input-modern {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .form-input-icon {
        font-size: 1rem;
    }
    
    .btn-login-submit {
        padding: 0.875rem;
        font-size: 0.95rem;
    }
    
    .register-form-wrapper {
        max-height: 350px;
    }
    
    .file-upload-modern {
        padding: 1rem;
    }
    
    .file-upload-label-modern i {
        font-size: 1.5rem;
    }
    
    .file-upload-label-modern span {
        font-size: 0.8rem;
    }
    
    .login-close-btn {
        top: 0.75rem;
        right: 0.75rem;
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
}

/* Extra Small Devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 22px;
    }
    
    .hero-subtitle {
        font-size: 13px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .login-text-content h2 {
        font-size: 1.1rem;
    }
    
    .login-text-content p {
        font-size: 0.8rem;
    }
}

/* Email Verification Styles */
.input-wrapper-with-button {
    display: flex;
    gap: 10px;
    align-items: center;
}

.input-wrapper-with-button .input-wrapper {
    flex: 1;
}

.verify-email-btn {
    padding: 12px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verify-email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}

.verify-email-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

.verify-code-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.verify-code-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.email-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #10b981;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
    animation: fadeIn 0.5s ease;
}

.email-verified-badge i {
    font-size: 16px;
}

.code-hint {
    font-size: 13px;
    color: #6b7280;
    margin-top: 8px;
    text-align: center;
}

.code-hint span {
    color: #ef4444;
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
