/* =========================================================================
   CSS Variables & Global Resets
logo color:#2e3384, #434790,#585c9d, #847f2e #8285b5, #842e33, #33842e


   
   ========================================================================= */

   :root {
    /* Color Palette */
    --primary-color: #2e3384;           /* Dark Teal - Primary Branding */
    --secondary-color: #e0f2f1;         /* Light Cyan - Background Accent */
    --accent-color: #8285b5;            /* Bright Teal - Active/Hover/Buttons */
    --accent-hover: #434790;            /* Darker Teal - Hover States */
    --text-color: #333333;
    --light-text-color: #ffffff;
    --border-color: #cccccc;
    --background-color: #f7f7f7;
    --soft-maroon: #842e5e;
    --international-blue: #2563eb;
    --light-blue: #60a5fa;
    --sunshine-yellow: #fbbf24;
    --bright-yellow: #fcd34d;
    --growth-green: #10b981;
    --fun-orange: #f97316;
    --soft-white: #f8fafc;
    --warm-gray: #64748b;
    --text-dark: #1e293b;
    --text-light: #ffffff;

    
    /* Typography */
    --font-family: 'Comic Neue', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 1rem;
    --font-size-sm: 0.9rem;
    --font-size-lg: 1.2rem;
    --font-size-xl: 1.8rem;
    --font-size-2xl: 2rem;
    
    /* Spacing & Layout */
    --spacing-xs: 5px;
    --spacing-sm: 10px;
    --spacing-md: 15px;
    --spacing-lg: 20px;
    --spacing-xl: 25px;
    --spacing-2xl: 30px;
    --spacing-3xl: 40px;
    
    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 5px;
    --border-radius-lg: 10px;
    
    /* Shadows */
    --box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    
    /* Header Heights */
    --header-height-desktop: 80px;
    --header-height-mobile: 130px;
}

/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =========================================================================
   Base Styles & Layout
   ========================================================================= */
html, body {
    height: 100%;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--background-color);
}

/* Main Content Area */
#main-content {
    padding-top: var(--spacing-sm);
    /* padding-top: calc(var(--header-height-desktop) + var(--spacing-lg)); */
    flex-grow: 1;
}

.content-wrapper {
    padding: var(--spacing-3xl) 0;
}

/* =========================================================================
   Layout Utilities
   ========================================================================= */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Links */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-color);
}

/* =========================================================================
   Header & Navigation
   ========================================================================= */
.main-header {
    background: linear-gradient(135deg, #2e3384 0%, #842e33 100%);
    box-shadow: var(--box-shadow);
    color: var(--light-text-color);
    padding: var(--spacing-sm);
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: var(--header-height-desktop);
    border-bottom: 5px solid var(--sunshine-yellow);

}

/* extra */

  /* Header Styles */
        .header {
            background: linear-gradient(135deg, var(--international-blue) 0%, var(--light-blue) 100%);
            color: var(--text-light);
            box-shadow: 0 4px 20px rgba(37, 99, 235, 0.2);
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 5px solid var(--sunshine-yellow);
        }

        .top-bar {
            background: linear-gradient(to right,/*90deg, var(--growth-gren) 0%, var(--fun-orange) 100%*/ #ADF3F3, #F38AEF);
            padding: 10px 0;
            text-align: center;
            font-size: 0.95rem;
            font-weight: 600;
            color: var(--text-light);
            border-bottom: 2px solid var(--sunshine-yellow);
        }

        .header-main {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 20px 5%;
            max-width: 1400px;
            margin: 0 auto;
        }

        /* Logo Styles - UPDATED */
        .logo-container {
            display: flex;
            align-items: center;
            gap: 15px;
            text-decoration: none;
            color: inherit;
        }

        .logo-image-container {
            width: 85px;
            height: 85px;
            background: white;
            border-radius: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 8px 20px rgba(201, 201, 200, 1);
            transform: rotate(-2deg);
            padding: 5px;
            border: 3px solid var(--sunshine-yellow);
            overflow: hidden;
        }

        .logo-image-container img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            border-radius: 15px;
        }

        .logo-text {
            text-align: left;
        }

        .logo-main {
            font-size: 2.8rem;
            font-weight: 800;
            color: var(--sunshine-yellow);
            line-height: 1;
            text-shadow: 3px 3px 6px rgba(0,0,0,0.2);
            letter-spacing: 1px;
        }

        .logo-subtitle {
            font-size: 2.3rem;
            font-weight: 700;
            color: var(--text-light);
            letter-spacing: 1px;
            margin-top: 5px;
            background: linear-gradient(90deg, var(--growth-green) 0%, var(--fun-orange) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            padding: 2px 0;
        }

        .logo-tagline {
            font-size: 1rem;
            color: var(--text-light);
            opacity: 0.9;
            margin-top: 8px;
            font-style: italic;
            letter-spacing: 0.5px;
        }

        .grade-range {
            display: inline-block;
            background: var(--fun-orange);
            color: white;
            padding: 4px 12px;
            margin: 0 0 10px 0;
            border-radius: 15px;
            font-size: 0.9rem;
            font-weight: 600;
            margin-top: 5px;
        }

        /* Navigation Styles */
        .nav-container {
            background: linear-gradient(90deg, var(--growth-green) 0%, var(--fun-orange) 100%);
            border-top: 3px solid var(--sunshine-yellow);
        }

        .nav-menu {
            display: flex;
            justify-content: center;
            list-style: none;
            max-width: 1400px;
            margin: 0 auto;
            padding: 0 5%;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: block;
            padding: 20px 25px;
            color: var(--text-light);
            text-decoration: none;
            font-weight: 700;
            font-size: 1.1rem;
            transition: all 0.3s ease;
            border-bottom: 4px solid transparent;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        .nav-link:hover {
            background: linear-gradient(90deg, var(--sunshine-yellow) 0%, var(--bright-yellow) 100%);
            color: var(--international-blue);
            border-bottom-color: var(--international-blue);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        }

        .nav-link.active {
            background: linear-gradient(90deg, var(--sunshine-yellow) 0%, var(--bright-yellow) 100%);
            color: var(--international-blue);
            border-bottom-color: var(--international-blue);
            font-weight: 800;
        }

        /* Language Switcher */
        .language-switcher {
            display: flex;
            gap: 10px;
            margin-left: 30px;
        }

        .lang-btn {
            padding: 12px 20px;
            background: rgba(255,255,255,0.2);
            color: var(--text-light);
            text-decoration: none;
            border-radius: 25px;
            font-size: 1rem;
            font-weight: 700;
            transition: all 0.3s ease;
            border: 2px solid var(--sunshine-yellow);
            text-transform: uppercase;
        }

        .lang-btn:hover,
        .lang-btn.active {
            background: var(--sunshine-yellow);
            color: var(--international-blue);
            transform: translateY(-2px) scale(1.05);
            box-shadow: 0 6px 20px rgba(251, 191, 36, 0.4);
        }

        /* Mobile Menu Button */
        .mobile-menu-btn {
            display: none;
            background: var(--sunshine-yellow);
            border: none;
            color: var(--international-blue);
            font-size: 1.5rem;
            cursor: pointer;
            padding: 15px;
            border-radius: 10px;
            font-weight: bold;
            transition: all 0.3s ease;
        }

        .mobile-menu-btn:hover {
            transform: scale(1.1);
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .logo-main {
                font-size: 2.2rem;
            }
            
            .logo-subtitle {
                font-size: 1.1rem;
            }
            
            .nav-link {
                padding: 18px 20px;
                font-size: 1rem;
            }
            
            .logo-image-container {
                width: 75px;
                height: 75px;
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            .nav-container {
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background: linear-gradient(135deg, var(--international-blue) 0%, var(--light-blue) 100%);
                display: none;
            }

            .nav-container.active {
                display: block;
            }

            .nav-menu {
                flex-direction: column;
                padding: 0;
            }

            .nav-link {
                padding: 18px 25px;
                border-bottom: 2px solid rgba(255,255,255,0.1);
                border-left: 5px solid transparent;
            }

            .nav-link.active {
                border-left-color: var(--sunshine-yellow);
            }

            .language-switcher {
                margin: 20px;
                justify-content: center;
            }

            .header-main {
                flex-wrap: wrap;
                gap: 20px;
            }
        }

        @media (max-width: 480px) {
            .logo-container {
                flex-direction: column;
                text-align: center;
                gap: 10px;
            }

            .logo-image-container {
                width: 70px;
                height: 70px;
                margin: 0 auto;
            }

            .logo-main {
                font-size: 2rem;
            }

            .logo-subtitle {
                font-size: 1rem;
            }

            .logo-text {
                text-align: center;
            }

            .top-bar {
                font-size: 0.85rem;
                padding: 8px 0;
            }
            
            .language-switcher {
                margin-left: 0;
            }
        }

        /* Animation */
        @keyframes bounceIn {
            from {
                opacity: 0;
                transform: scale(0.8);
            }
            to {
                opacity: 1;
                transform: scale(1);
            }
        }

        .header-main {
            animation: bounceIn 0.6s ease-out;
        }

/* extra end */
        

/* Logo Styles */
.logo {
    width: 85px;
    height: 85px;
    background: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(201, 201, 200, 1);
    transform: rotate(-2deg);
    padding: 5px;
    border: 3px solid var(--sunshine-yellow);
    overflow: hidden;
}

.logo a {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 15px;
}

.logo-text {
    color: var(--light-text-color);
    font-size: var(--font-size-xl);
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.logo-text:hover {
    color: var(--accent-color);
}

/* Navigation Wrapper */
.nav-utilities-wrapper {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Main Navigation */
.main-nav {
    list-style: none;
    display: flex;
    gap: var(--spacing-lg);
    max-width: 1400px;
    margin: 0;
    padding: 0;
}

.main-nav li a {
    color: var(--light-text-color);
    padding: 6px 12px;
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.main-nav li.active a,
.main-nav li a:hover {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

/* =========================================================================
   Utilities (Search, Auth, Language)
   ========================================================================= */
.utilities {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-shrink: 0;
}

/* Search Form */
.search-form {
    display: flex;
    background-color: rgba(255, 255, 255, 0.125);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    max-width: 200px;
    transition: background-color 0.3s ease;
}

.search-form:focus-within {
    background-color: rgba(255, 255, 255, 0.2);
}

.search-form input[type="search"] {
    padding: 8px 10px;
    border: none;
    background: transparent;
    color: var(--light-text-color);
    font-size: var(--font-size-sm);
    width: 100%;
    flex: 1;
}

.search-form input[type="search"]::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-form input[type="search"]:focus {
    outline: none;
}

.search-form button {
    background-color: var(--accent-color);
    color: var(--light-text-color);
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-form button:hover {
    background-color: var(--accent-hover);
}

/* Auth Links */
.auth-link {
    color: var(--light-text-color);
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--border-radius-md);
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: var(--font-size-sm);
    white-space: nowrap;
}

.auth-link:hover {
    background-color: var(--accent-color);
    color: var(--light-text-color);
}

/* Language Switch */
.language-switch a {
    color: var(--light-text-color);
    font-weight: 600;
    border: 1px solid var(--light-text-color);
    padding: 5px 10px;
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-sm);
    transition: all 0.3s ease;
}

.language-switch a:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

/* =========================================================================
   Content Components
   ========================================================================= */
.card {
    background-color: #ffffff;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--box-shadow);
    margin-bottom: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);

}

.section-title {
    color: var(--primary-color);
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-lg);
    border-bottom: 3px solid var(--accent-color);
    padding-bottom: 8px;
}

.section-spacing {
    margin: var(--spacing-3xl) 0;
}

/* =========================================================================
   Buttons
   ========================================================================= */
button[type="submit"],
.button,
.login-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color);
    color: var(--light-text-color) !important;
    border: none;
    border-radius: var(--border-radius-md);
    cursor: pointer;
    font-size: var(--font-size-base);
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

button[type="submit"]:hover,
.button:hover,
.login-button:hover {
    background-color: var(--accent-hover);
    transform: translateY(-1px);
}

.secondary-button {
    background-color: var(--secondary-color);
    color: var(--primary-color) !important;
    border: 1px solid var(--primary-color);
}

.secondary-button:hover {
    background-color: #c9e6e5;
    transform: translateY(-1px);
}

.read-more {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* =========================================================================
   Home Page Styles
   ========================================================================= */

/* Hero Section */
.hero-section {
    position: relative;
    height: 500px;
    background: linear-gradient( #2e3384, #f7c94a), 
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&auto=format&fit=crop&w=1200&q=80') no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    padding: var(--spacing-3xl);
    z-index: 2;
}

.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    margin-bottom: var(--spacing-lg);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    margin-bottom: var(--spacing-xl);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Photo Gallery Section */
.photo-gallery {
    margin: var(--spacing-3xl) 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease;
    height: 250px;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.05);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: var(--spacing-lg);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

/* Content Grid Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-2xl);
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: var(--spacing-3xl);
}

.intro-section h1 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-lg);
    font-size: 2.2rem;
}

.intro-section p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

/* News and Events Items */
.news-list,
.events-list {
    margin-bottom: var(--spacing-xl);
}

.news-item,
.event-item {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
}

.news-item:last-child,
.event-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.news-item h3,
.event-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.news-excerpt {
    color: #666;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.news-meta {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: var(--spacing-md);
}

.event-details {
    margin-bottom: var(--spacing-sm);
}

.event-date,
.event-location {
    margin-bottom: var(--spacing-xs);
    font-size: 0.95rem;
}

.event-description {
    color: #666;
    line-height: 1.6;
}

/* No Content Message */
.no-content-message {
    text-align: center;
    padding: var(--spacing-xl);
    color: #666;
    font-style: italic;
}

/* View All Container */
.view-all-container {
    text-align: center;
    margin-top: var(--spacing-lg);
}

.view-all-link {
    display: inline-block;
    margin-top: var(--spacing-md);
}

/* School Identity Section */
.identity-section {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: var(--spacing-3xl) 0;
    text-align: center;
    border-radius: var(--border-radius-lg);
}

.identity-content {
    max-width: 800px;
    margin: 0 auto;
}

.identity-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.identity-subtitle {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

.identity-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-2xl);
    margin-top: var(--spacing-xl);
}

.identity-item {
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-md);
    min-width: 200px;
}

.identity-item strong {
    display: block;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-xs);
}

/* Play Zone Section */
.playzone-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
    padding: var(--spacing-3xl);
    border-radius: var(--border-radius-lg);
}

.playzone-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-3xl);
}

.playzone-text {
    flex: 1;
}

.playzone-image {
    flex: 1;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.playzone-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================================
   About Page Styles
   ========================================================================= */

.about-hero {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
}

.about-hero h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.about-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
}

.value-item {
    text-align: center;
    padding: var(--spacing-lg);
    background-color: var(--secondary-color);
    border-radius: var(--border-radius-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow);
}

.value-item h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    line-height: 1.6;
}

/* =========================================================================
   Contact Page Styles
   ========================================================================= */

.contact-hero {
    text-align: center;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffffff 100%);
}

.contact-hero h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: var(--spacing-lg);
}

.contact-hero p {
    font-size: 1.2rem;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* Contact Information */
.contact-details {
    margin-top: var(--spacing-lg);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    background-color: var(--accent-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: var(--spacing-lg);
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 1.2rem;
}

.contact-text h3 {
    color: var(--primary-color);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.contact-text p {
    color: #666;
    line-height: 1.6;
    margin-bottom: var(--spacing-xs);
}

.contact-text a {
    color: var(--accent-color);
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

/* Contact Form */
.contact-form-elements .form-group {
    margin-bottom: var(--spacing-lg);
}

.contact-form-elements label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-color);
}

.contact-form-elements input,
.contact-form-elements textarea {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form-elements input:focus,
.contact-form-elements textarea:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 160, 142, 0.1);
}

.contact-form-elements textarea {
    resize: vertical;
    min-height: 150px;
}

.contact-form-elements button {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
}

/* Map Section */
.map-section {
    margin-top: var(--spacing-3xl);
}

.map-container {
    height: 350px;
    background-color: #f8f9fa;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map-placeholder {
    text-align: center;
    color: #666;
}

.map-placeholder i {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: var(--spacing-md);
    display: block;
}

.map-placeholder p {
    font-size: 1.1rem;
}

/* =========================================================================
   Login Page Styles
   ========================================================================= */

/* .login-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
    padding: var(--spacing-3xl) 0;
} */

.login-container {
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: var(--spacing-xl);
}

.login-instructions {
    color: #666;
    margin-bottom: var(--spacing-xl);
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Login Form */
.login-form {
    margin-top: var(--spacing-xl);
}

.login-form .form-group {
    margin-bottom: var(--spacing-lg);
    text-align: left;
}

.login-form label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 600;
    color: var(--primary-color);
}

.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: var(--font-size-base);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.login-form input[type="text"]:focus,
.login-form input[type="password"]:focus {
    border-color: var(--accent-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(0, 160, 142, 0.1);
}

.login-button {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
    margin-top: var(--spacing-lg);
}

/* Login Footer */
.login-footer {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
}

.login-footer a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: var(--primary-color);
}

/* Message Styles */
.message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

/* Security Notice */
.security-notice {
    background-color: var(--secondary-color);
    padding: var(--spacing-md);
    border-radius: var(--border-radius-md);
    margin-top: var(--spacing-xl);
    font-size: 0.9rem;
    color: #666;
}

.security-notice i {
    color: var(--accent-color);
    margin-right: var(--spacing-xs);
}

/* =========================================================================
   Footer
   ========================================================================= */
.main-footer {
    /* background-color: var(--primary-color); */
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--soft-maroon) 100%);

    color: var(--light-text-color);
    text-align: center;
    padding: var(--spacing-lg) 0;
    font-size: var(--font-size-sm);
    flex-shrink: 0;
}

/* =========================================================================
   Responsive Design
   ========================================================================= */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light-text-color);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--spacing-sm);
    transition: color 0.3s ease;
}

.menu-toggle:hover {
    color: var(--accent-color);
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-3xl);
    }
    
    .search-form input[type="search"] {
        width: 80px;
    }
    
    .playzone-content {
        flex-direction: column;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    /* Header Adjustments */
    .main-header {
        height: var(--header-height-mobile);
    }

    .header-content {
        flex-wrap: wrap;
        padding: 0 var(--spacing-md);
    }

    .logo {
        flex-grow: 1;
        padding: 8px 0;
    }

    .logo a {
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }

    .logo-text {
        font-size: var(--font-size-lg);
    }

    .logo-image {
        max-height: 50px;
    }

    /* Mobile Navigation */
    .menu-toggle {
        display: block;
    }

    .nav-utilities-wrapper {
        background: linear-gradient(90deg, var(--growth-green) 0%, var(--fun-orange) 100%);
            border-top: 3px solid var(--sunshine-yellow);

        /* width: 100%;
        max-height: 0;
        overflow: hidden;
        flex-direction: column;
        align-items: flex-start;
        background-color: #00382e;
        transition: max-height 0.3s ease-in-out; */
    }

    .nav-utilities-wrapper.nav-open {
        max-height: 600px;
        padding-bottom: var(--spacing-sm);
    }

    .main-nav {
        flex-direction: column;
        width: 100%;
        margin: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: var(--spacing-sm);
        gap: 0;
    }

    .main-nav li {
        width: 100%;
        text-align: center;
    }

    .main-nav li a {
        display: block;
        padding: var(--spacing-sm);
        border-radius: 0;
    }

    /* Mobile Utilities */
    .utilities {
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: var(--spacing-sm);
        padding: var(--spacing-sm) 0;
    }

    .search-form {
        width: 90%;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .auth-link,
    .language-switch {
        width: 90%;
        text-align: center;
        justify-content: center;
    }

    .language-switch a {
        display: block;
        width: 100%;
    }

    /* Hero Section */
    .hero-section {
        height: 400px;
    }

    .hero-content {
        padding: var(--spacing-xl);
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    /* Typography Adjustments */
    .about-hero h1,
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .about-hero p,
    .contact-hero p {
        font-size: 1.1rem;
    }
    
    .intro-section h1 {
        font-size: 1.8rem;
    }
    
    .news-item h3,
    .event-item h3 {
        font-size: 1.1rem;
    }

    /* Identity Section */
    .identity-title {
        font-size: 2rem;
    }

    /* Contact Page */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        margin-right: 0;
        margin-bottom: var(--spacing-md);
        align-self: center;
    }
    
    .map-container {
        height: 250px;
    }
    
    .map-placeholder i {
        font-size: 2rem;
    }

    /* Values Grid */
    .values-grid {
        grid-template-columns: 1fr;
    }

    /* Login Page */
    .login-container {
        padding: var(--spacing-xl);
        margin: var(--spacing-lg);
    }
    
    .login-section {
        min-height: 60vh;
        padding: var(--spacing-xl) 0;
    }

    /* Hide link text on mobile, show only icons */
    .link-text {
        display: none;
    }
}

/* --- Font: Comic Neue --- */
/* latin */
@font-face {
  font-family: 'Comic Neue';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/comicneue/v9/4UaHrEJDsxBrF37olUeD96rp5w.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* latin bold */
@font-face {
  font-family: 'Comic Neue';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(https://fonts.gstatic.com/s/comicneue/v9/4UaErEJDsxBrF37olUeD_xHM8pxULg.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Apply it site-wide */
body {
  font-family: 'Comic Neue', sans-serif;
}


/* Small Mobile Optimization */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .content-wrapper {
        padding: var(--spacing-lg) 0;
    }
    
    .card {
        padding: var(--spacing-lg);

    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .hero-section {
        height: 300px;
    }
    
    .login-container {
        padding: var(--spacing-lg);
    }
    
    .login-instructions {
        font-size: 1rem;
    }
    
    .playzone-section,
    .identity-section {
        padding: var(--spacing-xl);
    }
    
    .identity-details {
        gap: var(--spacing-lg);
    }
    
    .identity-item {
        min-width: 150px;
        padding: var(--spacing-md);
    }
}

