:root {
    /* Color Palette - Vibrant Kids/Admin Theme */
    --primary: #4f46e5;
    --primary-light: #818cf8;
    --primary-dark: #3730a3;
    --secondary: #7c3aed;
    --accent: #f59e0b;
    --success: #22c55e;
    --danger: #ef4444;
    --info: #3b82f6;

    /* Card Colors */
    --card-blue: #3b82f6;
    --card-orange: #f97316;
    --card-green: #22c55e;
    --card-purple: #a855f7;

    /* Base Colors */
    --bg-body: #f3f4f6;
    --white: #ffffff;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;

    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Outfit', sans-serif;

    /* Missing Gradients and Utilities */
    --grad-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);

    /* Grays */
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-body);
}

body {
    background-color: var(--bg-body);
    /* Polka dot pattern attempt */
    background-image: radial-gradient(#e5e7eb 1px, transparent 1px);
    background-size: 20px 20px;
    color: var(--text-dark);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}


/* ----------------------------------------------------
   SHARED UTILITIES
---------------------------------------------------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ----------------------------------------------------
   ADMIN DASHBOARD STYLES
---------------------------------------------------- */
.admin-header {
    background: linear-gradient(to right, #6366f1, #a855f7);
    color: white;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.admin-brand {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-nav {
    display: flex;
    gap: 1.5rem;
}

.admin-nav a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: white;
}

.user-menu {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    cursor: pointer;
}

.dashboard-container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.page-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.page-title h1 {
    font-size: 2rem;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.current-time {
    background: #6366f1;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.widget-card {
    border-radius: var(--radius);
    color: white;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.widget-card.blue {
    background: var(--card-blue);
}

.widget-card.orange {
    background: var(--card-orange);
}

.widget-card.green {
    background: var(--card-green);
}

.widget-card.purple {
    background: var(--card-purple);
}

.widget-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.widget-info h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.widget-info .number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.widget-icon {
    font-size: 3.5rem;
    opacity: 0.3;
}

.widget-footer {
    background: rgba(0, 0, 0, 0.1);
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.2s;
}

.widget-footer:hover {
    background: rgba(0, 0, 0, 0.2);
}

.panel {
    background: white;
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
}

.panel-header {
    background: #4f46e5;
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panel-body {
    padding: 1.5rem;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-bottom: 1px solid #f3f4f6;
}

.list-item:last-child {
    border-bottom: none;
}

.avatar-circle {
    width: 40px;
    height: 40px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.item-info {
    flex: 1;
}

.item-info h4 {
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.item-info p {
    color: var(--text-light);
    font-size: 0.85rem;
}

.badge-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
}

.badge-pill.approved {
    background: var(--success);
}

.badge-pill.pending {
    background: var(--accent);
}

/* ----------------------------------------------------
   LANDING PAGE (PUBLIC) STYLES
---------------------------------------------------- */
/* Landing Page Header */
#header {
    background: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

#header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-light);
    transition: 0.2s;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links .btn-primary {
    color: var(--white) !important;
}

.nav-links .btn-secondary {
    color: var(--primary) !important;
}

/* Landing Page Hero */
.hero {
    background: #ffffff;
    padding: 4rem 2rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: flex;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.hero-text {
    flex: 1;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    object-fit: contain;
}

.floating-image {
    box-shadow: none !important;
    border-radius: 0 !important;
    mix-blend-mode: multiply;
    animation: float 6s ease-in-out infinite, fadeInScale 1s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.hero-text h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-text p {
    font-size: 1.25rem;
    color: #666;
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    display: inline-block;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: none;
}

.btn-secondary {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary:hover {
    background: #f3f4f6;
}

/* Landing Page Features Section */
.features {
    padding: 4rem 0;
    background: #f9fafb;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-title p {
    color: var(--text-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Landing Page Footer */
footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: block;
    color: white;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #9ca3af;
}

.footer-links a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

/* Auth Forms */
.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    padding: 1rem;
}

.auth-card {
    background: white;
    padding: 2.5rem;
    border-radius: 1rem;
    width: 100%;
    max-width: 400px;
}

.auth-card h1 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: 0.3s;
    background: #f9fafb;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.btn-login {
    width: 100%;
    background: var(--primary);
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 1rem;
    display: block;
    text-align: center;
}

.btn-login:hover {
    background: var(--primary-dark);
    color: #ffffff !important;
    box-shadow: 0 10px 15px -3px rgba(79, 70, 229, 0.4);
    transform: translateY(-2px);
    opacity: 1;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--text-light);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 600;
}

/* Helpers */
.hidden {
    display: none;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        height: calc(100vh - 70px);
        padding: 2rem;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: flex;
        align-items: center;
        gap: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .hamburger {
        display: block !important;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--primary);
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.hamburger {
    display: none;
}

/* ----------------------------------------------------
   CONTACT PAGE STYLES
---------------------------------------------------- */
.contact-hero {
    background: var(--grad-primary);
    padding: 6rem 0;
    text-align: center;
    color: white;
}

.contact-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: -3rem;
    padding-bottom: 6rem;
}

.contact-info-panel {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.contact-info-panel h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.info-text p {
    color: var(--text-light);
    line-height: 1.6;
}

.social-links-contact {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
}

.social-links-contact a {
    width: 45px;
    height: 45px;
    background: #f3f4f6;
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.social-links-contact a:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-5px);
}

.contact-form-panel {
    background: white;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.contact-form-panel h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-dark);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    min-height: 150px;
    font-family: inherit;
    background: #f9fafb;
    transition: 0.3s;
}

.contact-form textarea:focus {
    border-color: var(--primary);
    background: white;
    outline: none;
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        margin-top: 2rem;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }
}