/* -------------------------------------- */
/* 1. Variables & Global Reset */
/* -------------------------------------- */
:root {
    /* Backgrounds & Text */
    --color-white: #FFFFFF;
    --color-ivory: #FFFEFA;
    --color-light-gray: #F2F2F2;
    --color-soft-beige: #FFF7E6;
    --color-deep-gray: #222222; /* Headings */
    --color-mid-gray: #555555; /* Body Text */

    /* Accents */
    --color-primary-blue: #78C1F3; /* Sky Blue */
    --color-secondary-orange: #F7B267; /* Soft Orange */
    --color-soft-green: #C2EABD; /* For specific tags/icons */
    --color-soft-yellow: #FFF1A6; /* For specific tags/icons */

    /* Fonts */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Shadow */
    --shadow-soft: 0 5px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 30px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    color: var(--color-mid-gray);
    background-color: var(--color-ivory);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    color: var(--color-deep-gray);
    font-weight: 800; /* ExtraBold */
}
h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}
.section-description {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
    color: var(--color-mid-gray);
}

section {
    padding: 100px 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
}
.soft-beige { background-color: var(--color-soft-beige); }
.light-gray { background-color: var(--color-light-gray); }
.primary-gradient-bg {
    background-image: linear-gradient(45deg, var(--color-primary-blue), #539dcf);
    color: var(--color-white);
}
.primary-gradient-bg h2, .primary-gradient-bg p {
    color: var(--color-white);
}


/* -------------------------------------- */
/* 2. Navigation & Marquee */
/* -------------------------------------- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    background-color: var(--color-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}
.logo {
    font-size: 1.6rem;
    color: var(--color-primary-blue);
    font-weight: 800;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
}
.nav-links a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--color-mid-gray);
    font-weight: 500;
    transition: color 0.3s ease;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--color-secondary-orange);
}
#mobileMenuBtn {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-mid-gray);
    margin-right: 15px; /* adds space between button and logo */
}
@media (max-width: 768px) {
    #mobileMenuBtn {
        display: block;
        position: absolute;
        left: 5%;  /* aligns button on the left */
        top: 50%;
        transform: translateY(-50%);
    }

    .logo {
        margin-left: 50px; /* shifts logo right so it doesn’t overlap button */
    }
}
/* Small Button */
#auth-button.small {
    padding: 4px 10px;
    font-size: 0.8rem;
    border-radius: 6px;
}

/* Simple modal style */
#legal-modal {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

#legal-modal .modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    text-align: left;
}

#legal-modal .close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Auth / greeting area */
#auth-button {
    background-color: var(--color-secondary-orange);
    color: var(--color-white);
    border: none;
    padding: 4px 10px; /* smaller padding */
    border-radius: 8px; /* slightly smaller radius */
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem; /* smaller text */
    transition: background 0.3s ease;
}

#auth-button:hover {
    background-color: darkorange;
}
#logout-button {
    background: none;
    border: 2px solid var(--color-mid-gray);
    padding: 6px 14px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 500;
    margin-left: 10px;
}

/* Responsive: hide nav-links and show menu btn on small screens */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px; /* below navbar */
        left: 0;
        right: 0;
        background-color: var(--color-white);
        padding: 15px 5%;
        box-shadow: 0 4px 8px rgba(0,0,0,0.05);
    }
    .nav-links a {
        margin: 10px 0;
    }
    #mobileMenuBtn {
        display: block;
    }
    #greeting-area {
        flex-direction: column;
        gap: 10px;
        margin-top: 10px;
    }
}


.marquee-banner {
  overflow: hidden;
  background-color: #fff7e6; /* Soft Yellow accent */
  white-space: nowrap;
  padding: 8px 0;
  display: flex;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) inset;
}

.marquee-image-content {
  display: flex;
  width: max-content;
  animation: marquee-image-scroll 25s linear infinite;
}

.marquee-group {
  display: flex;
}

.marquee-group img {
  width: 200px;
  height: 200px;
  margin: 0 10px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

@keyframes marquee-image-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* Move half because we duplicated content */
}



/* -------------------------------------- */
/* 3. Massive Hero Header */
/* -------------------------------------- */
#hero {
    height: 100vh; /* Full viewport height */
    padding: 0 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* For background image and shapes */
    overflow: hidden;
}
.hero-section {
    width: 100%;
    height: 100vh; /* full viewport height */
    background-image: url('https://img.freepik.com/premium-photo/internet-communication-children-young-girl-with-laptop-her-hands-is-sitting-floor-giving-thumbs-up-child-communicates-online-yellow-isolated-background_222185-5806.jpg?w=360');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 900px;
    z-index: 10;
    position: relative; /* Ensures text is above background */
    color: var(--color-white); /* Adjust text color for better contrast on image */
}
#hero h1 {
    font-size: 4.5rem; /* Massive Heading */
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-white); /* Ensure headline is white */
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3); /* For readability */
}
#hero .subtext {
    font-size: 1.5rem;
    color: var(--color-white); /* Ensure subtext is white */
    margin-bottom: 40px;
    font-weight: 400;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2);
}

/* Floating Shapes Animation (Enhanced for Parallax) */
.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.3;
    pointer-events: none;
    filter: blur(50px);
    animation: float 20s infinite ease-in-out;
    z-index: 2; /* Below hero-content, above hero-bg-image */
}
.shape-a { width: 300px; height: 300px; background: var(--color-primary-blue); top: 5%; left: 0%; transform: rotate(45deg); animation-delay: 0s; }
.shape-b { width: 200px; height: 200px; background: var(--color-secondary-orange); bottom: 10%; right: 5%; animation-delay: 5s; }
.shape-c { width: 400px; height: 400px; background: var(--color-light-gray); top: 50%; left: 40%; animation-delay: 10s; }

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -40px) scale(1.05); }
    100% { transform: translate(0, 0) scale(1); }
}

/* -------------------------------------- */
/* 4. Buttons & CTAs */
/* -------------------------------------- */
.cta-button {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-weight: 200;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
}
.cta-button.primary-gradient {
    background-image: linear-gradient(45deg, var(--color-primary-blue), #539dcf);
    color: var(--color-white);
}
.cta-button.primary-gradient:hover {
    box-shadow: 0 8px 25px rgba(120, 193, 243, 0.5);
    transform: translateY(-2px);
}
.cta-button.secondary-orange-gradient {
    background-image: linear-gradient(45deg, var(--color-secondary-orange), #ff9640);
    color: var(--color-white);
}
.cta-button.secondary-orange-gradient:hover {
    box-shadow: 0 8px 25px rgba(247, 178, 103, 0.5);
    transform: translateY(-2px);
}

.outlined-button {
    background-color: transparent;
    border: 2px solid var(--color-white); /* Changed for hero contrast */
    color: var(--color-white); /* Changed for hero contrast */
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}
.outlined-button:hover {
    background-color: var(--color-white); /* Hover Fill */
    color: var(--color-primary-blue);
    box-shadow: var(--shadow-soft);
}
.outlined-button.black-border { /* For general use outside hero */
    border-color: var(--color-primary-blue);
    color: var(--color-primary-blue);
}
.outlined-button.black-border:hover {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
}

/* Pulse Effect */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0px rgba(120, 193, 243, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(120, 193, 243, 0); }
    100% { box-shadow: 0 0 0 0px rgba(120, 193, 243, 0); }
}
.pulse-effect {
    animation: pulse 2s infinite;
}
.cta-group button {
    margin: 0 10px;
}
.view-all-btn {
    margin-top: 50px;
}

/* -------------------------------------- */
/* 5. Introduction Section */
/* -------------------------------------- */
.intro-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.intro-card {
    background-color: var(--color-white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.intro-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}
.intro-icon {
    font-size: 3.5rem;
    color: var(--color-primary-blue);
    margin-bottom: 20px;
}
.intro-card h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* -------------------------------------- */
/* 6. Features Section */
/* -------------------------------------- */
.feature-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}
.feature-item {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background-color: var(--color-white);
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-hover);
}
.feature-item img {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;  /* centers the image horizontally */
    border-radius: 50%;
    background-color: var(--color-light-gray);
    object-fit: cover;     /* fills the circle nicely without empty spaces */
    display: block;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* optional: subtle shadow for style */
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 10px;
}


/* -------------------------------------- */
/* 7. Course/Blog Grids & Interaction */
/* -------------------------------------- */
.course-filter {
    margin-bottom: 40px;
}
.filter-btn {
    background-color: var(--color-white);
    border: 1px solid var(--color-light-gray);
    color: var(--color-mid-gray);
    padding: 8px 20px;
    margin: 0 5px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}
.filter-btn:hover, .filter-btn.active {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
    border-color: var(--color-primary-blue);
}

.course-grid, .blog-grid, .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.course-card, .blog-card, .testimonial-card {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: left;
}
.course-card:hover, .blog-card:hover, .testimonial-card:hover {
    transform: translateY(-8px); /* Card Lift */
    box-shadow: var(--shadow-hover);
}

/* Image Hover Zoom + Overlay */
.card-image-wrapper {
    overflow: hidden;
    position: relative;
}
.course-image, .blog-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}
.course-card:hover .course-image, .blog-card:hover .blog-image {
    transform: scale(1.08); /* Image Zoom */
}
.hover-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(247, 178, 103, 0.9); /* Soft Orange Overlay */
    color: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}
.course-card:hover .hover-overlay, .blog-card:hover .hover-overlay {
    opacity: 1;
}
.learn-more-btn, .read-more-btn {
    background-color: var(--color-white);
    color: var(--color-secondary-orange);
    padding: 8px 20px;
    border: none;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 15px;
    transition: all 0.3s ease;
}
.learn-more-btn:hover, .read-more-btn:hover {
    background-color: var(--color-primary-blue);
    color: var(--color-white);
}

.card-info {
    padding: 15px 20px;
}
.card-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.tag {
    display: inline-block;
    background-color: var(--color-light-gray);
    color: var(--color-mid-gray);
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}
.tag.primary { background-color: var(--color-primary-blue); color: var(--color-white); }
.tag.secondary { background-color: var(--color-secondary-orange); color: var(--color-white); }
.course-description {
    font-size: 0.95rem;
    color: var(--color-mid-gray);
}
.blog-card .card-info p {
    font-size: 0.95rem;
    margin-top: 10px;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonial-card {
    text-align: center;
    padding: 30px;
}
.quote-text {
    font-style: italic;
    margin-bottom: 20px;
}
.student-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid var(--color-secondary-orange);
    margin-right: 10px;
}
.student-info {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    color: var(--color-deep-gray);
}

/* -------------------------------------- */
/* 8. Split Section (About Us) */
/* -------------------------------------- */
.split-section {
    display: flex;
    text-align: left;
    gap: 5%;
    padding: 100px 5%;
    align-items: center;
}
.split-image, .split-content {
    flex: 1;
}
.split-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}
.main-headline {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 2.2rem;
}
.milestones {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    flex-wrap: wrap;
}
.milestone-item h4 {
    color: var(--color-secondary-orange);
    font-size: 2rem;
    margin-bottom: 5px;
}
.milestone-item p {
    font-size: 0.9rem;
    color: var(--color-mid-gray);
}

/* -------------------------------------- */
/* 9. Newsletter CTA Section */
/* -------------------------------------- */
#newsletter-cta {
    padding: 80px 5%;
}
#newsletter-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}
#newsletter-cta p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 30px;
}
.newsletter-inline-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto;
}
.newsletter-inline-form input {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    color: var(--color-deep-gray);
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
.newsletter-inline-form button {
    padding: 12px 25px;
    box-shadow: none; /* Override default button shadow */
}


/* -------------------------------------- */
/* 10. Forms & Floating Labels */
/* -------------------------------------- */
.contact-form {
    max-width: 600px;
    margin: 40px auto 0;
    background-color: var(--color-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    text-align: left;
}
.floating-label-group {
    position: relative;
    margin-bottom: 30px;
}
.floating-label-group input, .floating-label-group textarea {
    width: 100%;
    padding: 10px 0;
    border: none;
    border-bottom: 2px solid var(--color-light-gray);
    font-size: 1rem;
    color: var(--color-deep-gray);
    background: transparent;
    transition: border-bottom-color 0.3s ease;
}
.floating-label-group input:focus, .floating-label-group textarea:focus {
    border-bottom-color: var(--color-primary-blue); /* Focus Glow */
    outline: none;
}
.floating-label-group label {
    position: absolute;
    top: 10px;
    left: 0;
    color: var(--color-mid-gray);
    pointer-events: none;
    transition: all 0.3s ease;
}
.floating-label-group input:focus ~ label,
.floating-label-group input:not(:placeholder-shown) ~ label,
.floating-label-group textarea:focus ~ label,
.floating-label-group textarea:not(:placeholder-shown) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--color-secondary-orange);
}

/* -------------------------------------- */
/* 11. Modals (Auth & Article) */
:root {
    --color-white: #fff;
    --color-dark-gray: #333;
    --primary-color: #ff7f50;
}

/* Modal Base */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--color-white);
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 400px;
    position: relative;
    text-align: center;
    animation: fadeInScale 0.3s ease-out;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    color: var(--color-dark-gray);
}

/* Tabs */
.tab-buttons {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
}

.tab-buttons button {
    background: none;
    border: none;
    font-weight: bold;
    cursor: pointer;
    padding: 8px 12px;
}

.active-tab {
    border-bottom: 2px solid var(--primary-color);
}

/* Panels */
.auth-panel {
    display: none;
}

.auth-panel.active {
    display: block;
}

/* Forms */
form input {
    width: 100%;
    padding: 10px;
    margin: 8px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.cta-button {
    width: 100%;
    padding: 12px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-top: 10px;
}

.social-login-divider {
    margin: 15px 0;
    font-weight: bold;
}

.social-login-btn {
    width: 100%;
    padding: 10px;
    margin: 5px 0;
    border: 1px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    background: #f5f5f5;
}

/* Animation */
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}


/* Article Modal Specifics */
#article-modal-content h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--color-primary-blue);
    text-align: center;
}
#article-modal-content p {
    margin-bottom: 15px;
    line-height: 1.8;
    color: var(--color-mid-gray);
}
#article-modal-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: var(--shadow-soft);
}
#article-modal-content .article-meta {
    font-size: 0.9rem;
    color: var(--color-secondary-orange);
    font-weight: 500;
    margin-bottom: 25px;
    text-align: center;
}


/* -------------------------------------- */
/* 12. Footer */
/* -------------------------------------- */
footer {
    background-color: var(--color-white);
    padding: 40px 5% 20px;
    border-top: 1px solid var(--color-light-gray);
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: left;
    margin-bottom: 30px;
}
.footer-col h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li, .footer-link {
    line-height: 2;
    transition: color 0.3s ease;
    text-decoration: none;
    color: var(--color-mid-gray);
    cursor: pointer;
}
.footer-col li:hover, .footer-link:hover {
    color: var(--color-primary-blue);
}
.newsletter-col input {
    padding: 10px;
    border: 1px solid var(--color-light-gray);
    border-radius: 5px;
    width: 60%;
    margin-right: 5px;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid var(--color-light-gray);
}
.social-links a {
    color: var(--color-mid-gray);
    font-size: 1.2rem;
    margin-left: 15px;
    transition: color 0.3s ease, transform 0.3s ease;
}
.social-links a:hover {
    color: var(--color-secondary-orange);
    transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 992px) {
    #hero h1 { font-size: 3.5rem; }
    #hero .subtext { font-size: 1.3rem; }
    .split-section { flex-direction: column; }
    .split-image { margin-bottom: 30px; }
    .main-headline { font-size: 1.8rem; }
    .newsletter-inline-form { flex-direction: column; max-width: 350px; }
    .newsletter-inline-form input { width: 100%; margin-bottom: 10px; }
}
@media (max-width: 768px) {
    #hero h1 { font-size: 2.5rem; }
    #hero .subtext { font-size: 1.1rem; }
    .navbar { flex-wrap: wrap; justify-content: center; }
    .nav-links { display: none; } /* Consider a hamburger menu for production */
    .cta-group { display: flex; flex-direction: column; gap: 15px; }
    section { padding: 60px 5%; }
    h2 { font-size: 2.2rem; }
    .intro-cards-grid, .feature-grid, .course-grid, .blog-grid, .testimonial-grid, .milestones {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .feature-item { max-width: 100%; }
    .modal-content.large { height: 90vh; padding: 30px; }
}
/* ... (Existing CSS structure and variables) ... */

/* -------------------------------------- */
/* 3. Massive Hero Header */
/* -------------------------------------- */
#hero {
    /* ... (rest of hero CSS) ... */
    overflow: hidden; /* Important for Marquee and shapes */
}
.hero-bg-image {
    /* Existing Styles - Simulated Real Imagery */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center 50%; /* Adjusted for better focus */
    opacity: 0.8; 
    z-index: 1;
    /* Added transition for subtle parallax on scroll (JS handles actual parallax) */
    transition: transform 0.5s ease; 
}
/* ... (Floating shapes and animations remain the same) ... */

/* -------------------------------------- */
/* 10. Forms & Floating Labels (Ensuring Placeholders work with Labels) */
/* -------------------------------------- */
.floating-label-group input, .floating-label-group textarea {
    /* ... (rest of input styling) ... */
    /* Ensure there's no default placeholder text visible initially */
    text-overflow: ellipsis; /* Fallback for no placeholder */
}
/* The placeholder=" " is critical in HTML to trigger :not(:placeholder-shown) in CSS, but we use JS to fill it for better browser compatibility. */

.floating-label-group input:focus ~ label,
.floating-label-group input:not([placeholder=""]) ~ label, /* Key fix for required field in some browsers */
.floating-label-group textarea:focus ~ label,
.floating-label-group textarea:not([placeholder=""]) ~ label {
    top: -15px;
    font-size: 0.8rem;
    color: var(--color-secondary-orange);
}


/* -------------------------------------- */
/* 11. Modals (Auth, Article, Legal) */
/* -------------------------------------- */
/* ... (Existing modal CSS remains the same) ... */
.modal-content.large {
    max-width: 900px; /* Slightly wider for document readability */
    height: 80vh;
    overflow-y: auto;
    padding: 50px;
    text-align: left; /* Crucial for policy docs */
}
#legal-modal-content h3 {
    font-size: 2.2rem;
    color: var(--color-primary-blue);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 2px solid var(--color-light-gray);
    padding-bottom: 10px;
}
#legal-modal-content h4 {
    font-size: 1.5rem;
    color: var(--color-secondary-orange);
    margin-top: 25px;
    margin-bottom: 10px;
}
#legal-modal-content p, #legal-modal-content li {
    line-height: 1.8;
    margin-bottom: 15px;
}
#legal-modal-content ul {
    margin-left: 20px;
    list-style-type: disc;
}


/* -------------------------------------- */
/* 13. Mobile Responsiveness Enhancements */

    /* Hero background adjustment for mobile */
    .hero-bg-image {
        background-position: center 30%; 
    }
    
    /* Footer responsiveness */
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .social-links {
        margin-top: 10px;
    }
