/* style.css */
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background-color: #001a33; /* A solid, deep navy */
    position: sticky; 
    top: 0;
    z-index: 1000;
    /* This shadow creates the 'separation' you're looking for */
    box-shadow: 0 4px 20px rgba(0,0,0,0.4); 
}

/* Optional: Add a slight border at the bottom of the nav for extra 'edge' */
.navbar {
    border-bottom: 2px solid #FFD700; /* Thin gold line to match your brand */
}

.hero {
    /* Change this from 85vh to 60vh */
    height: 85vh; 
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 10%;

    background: linear-gradient(rgba(0, 26, 51, 0.65), rgba(0, 26, 51, 0.65)), 
                url('images/kids.png'); 
    
    background-size: cover;
    
    /* Keep the kids' faces in view by focusing on the top-center */
    background-position: center 15%; 
    background-repeat: no-repeat;
}

.cta-button {
    background: #FFD700; /* Bright Gold */
    color: #001a33; /* Deep Navy text for contrast */
    padding: 16px 35px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 50px; /* Pill shape looks more modern */
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); /* Makes it pop off the image */
    transition: all 0.3s ease;
    display: inline-block;
    margin-top: 20px;
}

.cta-button:hover {
    background: #e6c200; /* Slightly darker gold on hover */
    transform: scale(1.05); /* Grows slightly when touched */
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
}

.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 50px;
}

.card {
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 250px;
    transition: 0.3s;
}

.how-it-works {
    padding: 80px 10%;
    background-color: #ffffff;
    text-align: center;
}

.section-subtitle {
    color: #666;
    margin-bottom: 50px;
    font-size: 1.1rem;
}

.pillars-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.pillar-item {
    padding: 20px;
}

.pillar-icon {
    font-size: 2.5rem;
    color: #FFD700; /* Your Brand Gold */
    margin-bottom: 20px;
}

.pillar-item h4 {
    color: #002347; /* Your Brand Navy */
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.pillar-item p {
    color: #555;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .how-it-works {
        padding: 50px 5%;
    }
}

.card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.promo-text {
    text-align: center;
    color: #d4af37; /* Gold color for the registration highlight */
    font-size: 1.2rem;
    margin-bottom: 30px;
}

.form-section {
    background-color: #f4f7f6;
    padding: 80px 5%;
    display: flex;
    justify-content: center;
}

.form-container {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 500px;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #002347;
}

.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.submit-btn {
    width: 100%;
    background-color: #002347;
    color: white;
    padding: 15px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #004080;
}

/* Center Global Titles */
.centered-title {
    text-align: center;
    font-size: 2.5rem;
    color: #002347;
    margin-bottom: 10px;
    font-weight: 800;
}

.promo-text {
    text-align: center;
    color: #b8860b; /* Dark Gold */
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Card Styling with Icons */
.card-icon {
    font-size: 2.5rem;
    color: #FFD700;
    margin-bottom: 15px;
}

.card {
    text-align: center; /* Centers everything inside the card */
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid #eee;
}

.card.active {
    border: 2px solid #FFD700;
    transform: scale(1.05);
}

/* Button Styling (Premium Look) */
.submit-btn, .cta-button {
    background: linear-gradient(135deg, #002347, #004080);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px; /* Pill shape */
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 35, 71, 0.3);
    transition: 0.3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 35, 71, 0.5);
}

/* Centered Footer Grid */
.main-footer {
    background: #001a33;
    color: white;
    padding: 60px 10% 20px;
    text-align: center; /* Centers the whole footer content */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto; /* Centering the container */
}

.gold-text {
    color: #FFD700;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links a {
    color: #bbb;
    text-decoration: none;
}

.footer-links a:hover {
    color: #FFD700;
}

.footer-bottom {
    margin-top: 50px;
    border-top: 1px solid #333;
    padding-top: 20px;
    font-size: 0.8rem;
    color: #777;
}

/* Navigation Container */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 8%;
    background-color: #001a33; /* Deep Professional Navy */
    position: sticky; /* Stays at the top while scrolling */
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Replace all your .logo, .logo-icon, and .logo span code with this: */

.logo {
    display: flex !important; /* Force flexbox */
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 900;
    color: #FFD700;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-icon {
    display: inline-block !important;
    font-size: 2rem;
    color: #FFD700;
}

.logo span {
    text-transform: uppercase;
    color: #FFD700;
}

/* Nav Links Styling */
.nav-links {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.nav-links li a {
    text-decoration: none;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links li a:hover {
    color: #FFD700;
}

/* Login Button (Outline Style) */
.btn-login {
    border: 1px solid #FFD700;
    padding: 8px 20px;
    border-radius: 5px;
    color: #FFD700 !important;
    transition: all 0.3s ease !important;
}

.btn-login:hover {
    background: #FFD700;
    color: #001a33 !important;
}

/* Apply Now Nav Button (Solid Gold) */
.btn-apply-nav {
    background: #FFD700;
    color: #001a33 !important;
    padding: 10px 22px;
    border-radius: 5px;
    font-weight: 700 !important;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.2);
}

.btn-apply-nav:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

/* --- Mobile & Tablet Responsive Styles --- */

@media (max-width: 992px) {
    /* Tablet View */
    .card-container {
        flex-wrap: wrap; /* Allows cards to wrap to the next line */
        padding: 20px;
    }
    
    .navbar {
        padding: 15px 5%;
    }
}

@media (max-width: 768px) {
    /* Mobile View */
    
    /* 1. Stack the Navigation */
    .navbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    /* 2. Resize the Hero Text */
    .hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }

    .hero p {
        font-size: 1rem;
        padding: 0 20px;
    }

    /* 3. Stack the Pricing Cards vertically */
    .card-container {
        flex-direction: column;
        align-items: center;
    }

    .card {
        width: 90%; /* Make cards take up most of the screen width */
        max-width: 350px;
    }

    .card.active {
        transform: none; /* Remove the scale effect on mobile so it doesn't overlap */
    }

    /* 4. Center Titles */
    .centered-title {
        font-size: 2rem;
    }

    /* 5. Adjust Footer for small screens */
    .footer-grid {
        grid-template-columns: 1fr; /* Single column footer */
        text-align: center;
    }
}
