/* =========================================================
   CHIDONO CODING4KIDS
   Landing Page Brand Styles
========================================================= */


/* =========================================================
   BRAND VARIABLES
========================================================= */

:root {
    --brand-blue: #08A9E6;
    --brand-blue-dark: #0879A8;
    --brand-blue-light: #EAF8FC;

    --brand-navy: #17324D;
    --brand-navy-dark: #10263A;

    --brand-orange: #F47A3C;
    --brand-orange-light: #FFF0E9;
    --brand-orange-dark: #D95D24;

    --white: #ffffff;
    --background: #F7FCFE;
    --section-blue: #EFFAFF;

    --text: #34495E;
    --muted: #6B7C8D;

    --border: #DCEAF0;

    --success: #159447;

    --shadow-sm: 0 5px 18px rgba(23, 50, 77, 0.07);
    --shadow: 0 18px 45px rgba(23, 50, 77, 0.12);

    --radius: 18px;
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", Arial, sans-serif;
    color: var(--brand-navy);
    background: var(--white);
    line-height: 1.6;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select {
    font: inherit;
}


/* =========================================================
   GLOBAL
========================================================= */

.container {
    width: min(1120px, calc(100% - 40px));
    margin: 0 auto;
}

.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: var(--brand-orange);

    font-size: 0.78rem;
    font-weight: 800;

    letter-spacing: 0.12em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    color: var(--brand-navy);
    line-height: 1.15;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

p {
    color: var(--text);
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(255, 255, 255, 0.97);

    border-bottom: 3px solid var(--brand-blue);

    backdrop-filter: blur(10px);
}

.header-inner {
    min-height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* ---------------------------------------------------------
   LOGO
--------------------------------------------------------- */

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-main {
    color: var(--brand-navy);

    font-size: 1.35rem;
    font-weight: 800;

    letter-spacing: -0.04em;
}

.logo-sub {
    padding-left: 10px;

    border-left: 2px solid var(--brand-orange);

    color: var(--brand-blue);

    font-size: 0.85rem;
    font-weight: 700;
}


/* ---------------------------------------------------------
   HEADER BUTTON
--------------------------------------------------------- */

.header-button {
    padding: 10px 22px;

    border-radius: 999px;

    background: var(--brand-orange);
    color: var(--white);

    font-size: 0.9rem;
    font-weight: 800;

    transition: 0.2s ease;
}

.header-button:hover {
    background: var(--brand-orange-dark);
    transform: translateY(-1px);
}


/* =========================================================
   BUTTONS
========================================================= */

.primary-button,
.secondary-button,
.whatsapp-button,
.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 0 25px;

    border-radius: 9px;

    font-weight: 800;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


/* ---------------------------------------------------------
   PRIMARY - BLUE
--------------------------------------------------------- */

.primary-button {
    background: var(--brand-blue);
    color: var(--white);

    box-shadow:
        0 8px 22px rgba(8, 169, 230, 0.25);
}

.primary-button:hover {
    background: var(--brand-blue-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 28px rgba(8, 169, 230, 0.30);
}


/* ---------------------------------------------------------
   SECONDARY - ORANGE
--------------------------------------------------------- */

.secondary-button {
    border: 2px solid var(--brand-orange);

    background: var(--white);
    color: var(--brand-orange);
}

.secondary-button:hover {
    background: var(--brand-orange);
    color: var(--white);

    transform: translateY(-2px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    overflow: hidden;

    padding: 90px 0 100px;

    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(8, 169, 230, 0.15),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 85%,
            rgba(244, 122, 60, 0.10),
            transparent 28%
        ),
        var(--background);
}


/* Decorative brand line */

.hero::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -120px;
    right: -80px;

    border-radius: 50%;

    border: 35px solid rgba(8, 169, 230, 0.08);
}


.hero-grid {
    display: grid;

    grid-template-columns: 1.1fr 0.9fr;

    align-items: center;

    gap: 70px;
}


/* ---------------------------------------------------------
   HERO BADGE
--------------------------------------------------------- */

.badge {
    display: inline-flex;

    padding: 7px 14px;

    margin-bottom: 22px;

    border-radius: 999px;

    background: var(--brand-orange-light);

    color: var(--brand-orange-dark);

    border: 1px solid rgba(244, 122, 60, 0.25);

    font-size: 0.78rem;
    font-weight: 800;
}


/* ---------------------------------------------------------
   HERO TITLE
--------------------------------------------------------- */

.hero h1 {
    max-width: 720px;

    font-size: clamp(2.8rem, 6vw, 4.7rem);

    letter-spacing: -0.055em;
}

.hero h1 span {
    display: block;

    color: var(--brand-blue);
}


.hero-text {
    max-width: 620px;

    margin-top: 24px;

    font-size: 1.12rem;
    line-height: 1.8;

    color: var(--muted);
}


.hero-buttons {
    display: flex;
    flex-wrap: wrap;

    gap: 12px;

    margin-top: 32px;
}


.hero-note {
    margin-top: 18px;

    font-size: 0.9rem;

    color: var(--muted);
}

.hero-note strong {
    color: var(--brand-orange);
}


/* =========================================================
   HERO CARD
========================================================= */

.hero-card {
    padding: 42px;

    border: 1px solid var(--border);

    border-top: 5px solid var(--brand-orange);

    border-radius: 24px;

    background: var(--white);

    box-shadow: var(--shadow);
}


.hero-card-icon {
    width: 70px;
    height: 70px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border-radius: 18px;

    background: var(--brand-blue-light);

    color: var(--brand-blue);

    font-size: 2rem;
}


.hero-card h3 {
    font-size: 1.65rem;
}


.hero-card p {
    margin-top: 12px;

    color: var(--muted);
}


.mini-stats {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 10px;

    margin-top: 30px;
    padding-top: 25px;

    border-top: 1px solid var(--border);
}


.mini-stats div {
    text-align: center;
}


.mini-stats strong {
    display: block;

    color: var(--brand-blue);

    font-size: 1.2rem;
}


.mini-stats span {
    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 0.75rem;
}


/* =========================================================
   INTRO
========================================================= */

.intro {
    padding: 85px 0;
}


.intro-content {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}


.intro h2 {
    max-width: 580px;
}


.intro p {
    max-width: 560px;

    font-size: 1.05rem;

    line-height: 1.9;

    color: var(--muted);
}


/* =========================================================
   COURSES
========================================================= */

.courses-section {
    padding: 90px 0;

    background: var(--section-blue);

    border-top: 1px solid #E0F3F9;
    border-bottom: 1px solid #E0F3F9;
}


.section-heading {
    max-width: 700px;

    margin: 0 auto 50px;

    text-align: center;
}


.section-heading p {
    margin-top: 15px;

    color: var(--muted);
}


.course-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}


.course-card {
    position: relative;

    padding: 32px;

    border: 1px solid var(--border);

    border-radius: var(--radius);

    background: var(--white);

    box-shadow: var(--shadow-sm);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}


.course-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--shadow);
}


/* ---------------------------------------------------------
   FEATURED COURSE
--------------------------------------------------------- */

.course-card.featured {
    border: 2px solid var(--brand-blue);

    box-shadow:
        0 12px 35px rgba(8, 169, 230, 0.14);
}


.popular-tag {
    position: absolute;

    top: 18px;
    right: 18px;

    padding: 5px 10px;

    border-radius: 999px;

    background: var(--brand-orange);

    color: var(--white);

    font-size: 0.65rem;
    font-weight: 800;
}


.course-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 15px;

    background: var(--brand-blue-light);

    font-size: 1.7rem;
}


.course-card h3 {
    font-size: 1.35rem;
}


.course-card h3 small {
    display: block;

    margin-top: 4px;

    color: var(--brand-orange);

    font-size: 0.8rem;
    font-weight: 700;
}


.course-card p {
    min-height: 105px;

    margin-top: 15px;

    font-size: 0.92rem;

    color: var(--muted);
}


.course-link {
    display: inline-block;

    margin-top: 20px;

    color: var(--brand-blue);

    font-size: 0.9rem;
    font-weight: 800;
}


.course-link:hover {
    color: var(--brand-orange);
}


/* =========================================================
   LEARNING / BENEFITS
========================================================= */

.learning-section {
    padding: 100px 0;
}


.learning-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    gap: 100px;

    align-items: center;
}


.learning-grid > div:first-child p {
    margin-top: 20px;

    color: var(--muted);
}


.benefits {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


.benefit {
    display: flex;

    gap: 14px;

    padding: 22px;

    border: 1px solid var(--border);

    border-radius: 14px;

    background: var(--white);
}


.benefit > span {
    width: 28px;
    height: 28px;

    flex: 0 0 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--brand-orange-light);

    color: var(--brand-orange);

    font-weight: 800;
}


.benefit strong {
    color: var(--brand-navy);
}


.benefit p {
    margin-top: 5px;

    font-size: 0.85rem;

    color: var(--muted);
}


/* =========================================================
   REGISTRATION
========================================================= */

.registration-section {
    padding: 100px 0;

    background: var(--background);
}


.registration-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 70px;

    align-items: start;
}


.registration-info h2 {
    margin-top: 3px;
}


.registration-info > p {
    max-width: 500px;

    margin-top: 20px;

    color: var(--muted);
}


/* ---------------------------------------------------------
   PRICE
--------------------------------------------------------- */

.price-box {
    display: inline-flex;

    flex-direction: column;

    margin-top: 30px;

    padding: 18px 24px;

    border-left: 5px solid var(--brand-orange);

    border-radius: 10px;

    background: var(--brand-orange-light);
}


.price-box span {
    color: var(--brand-orange-dark);

    font-size: 0.8rem;
}


.price-box strong {
    margin-top: 3px;

    color: var(--brand-navy);

    font-size: 1.7rem;
}


/* ---------------------------------------------------------
   WHATSAPP
--------------------------------------------------------- */

.contact-box {
    margin-top: 35px;

    padding-top: 30px;

    border-top: 1px solid var(--border);
}


.contact-box p {
    margin-top: 8px;

    font-size: 0.9rem;

    color: var(--muted);
}


.whatsapp-button {
    margin-top: 18px;

    background: #16A34A;

    color: var(--white);
}


.whatsapp-button:hover {
    background: #15803D;

    transform: translateY(-2px);
}


/* =========================================================
   REGISTRATION CARD
========================================================= */

.registration-card {
    padding: 38px;

    border: 1px solid var(--border);

    border-top: 5px solid var(--brand-blue);

    border-radius: 22px;

    background: var(--white);

    box-shadow: var(--shadow);
}


.form-row {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 18px;
}


.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 7px;

    color: var(--brand-navy);

    font-size: 0.85rem;
    font-weight: 700;
}


.form-group input,
.form-group select {
    width: 100%;

    height: 50px;

    padding: 0 14px;

    border: 1px solid #CDDDE5;

    border-radius: 9px;

    outline: none;

    background: var(--white);

    color: var(--brand-navy);

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.form-group input::placeholder {
    color: #9AAAB5;
}


.form-group input:focus,
.form-group select:focus {
    border-color: var(--brand-blue);

    box-shadow:
        0 0 0 3px rgba(8, 169, 230, 0.12);
}


/* =========================================================
   PAYMENT NOTE
========================================================= */

.payment-note {
    margin: 8px 0 20px;

    padding: 13px 15px;

    border-radius: 9px;

    background: var(--brand-blue-light);

    color: var(--brand-blue-dark);

    font-size: 0.8rem;
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-button {
    width: 100%;

    border: none;

    background: var(--brand-orange);

    color: var(--white);

    cursor: pointer;

    box-shadow:
        0 8px 20px rgba(244, 122, 60, 0.22);
}


.submit-button:hover {
    background: var(--brand-orange-dark);

    transform: translateY(-2px);

    box-shadow:
        0 12px 26px rgba(244, 122, 60, 0.28);
}


.form-small-print {
    margin-top: 14px;

    text-align: center;

    color: #9AAAB5;

    font-size: 0.72rem;
}


/* =========================================================
   FAQ
========================================================= */

.faq-section {
    padding: 90px 0;
}


.faq-list {
    max-width: 780px;

    margin: 0 auto;
}


.faq-list details {
    border-bottom: 1px solid var(--border);
}


.faq-list summary {
    padding: 22px 5px;

    cursor: pointer;

    list-style: none;

    color: var(--brand-navy);

    font-weight: 700;
}


.faq-list summary::-webkit-details-marker {
    display: none;
}


.faq-list summary::after {
    content: "+";

    float: right;

    color: var(--brand-orange);

    font-size: 1.2rem;
}


.faq-list details[open] summary::after {
    content: "−";
}


.faq-list details p {
    max-width: 700px;

    padding: 0 5px 22px;

    color: var(--muted);

    font-size: 0.9rem;
}


/* =========================================================
   FINAL CTA
========================================================= */

.final-cta {
    padding: 90px 20px;

    text-align: center;

    background:
        linear-gradient(
            135deg,
            var(--brand-blue),
            var(--brand-blue-dark)
        );
}


.final-cta h2 {
    color: var(--white);
}


.final-cta p {
    max-width: 600px;

    margin: 18px auto 28px;

    color: rgba(255, 255, 255, 0.88);
}


.final-cta .primary-button {
    background: var(--brand-orange);

    color: var(--white);

    box-shadow:
        0 8px 20px rgba(0, 0, 0, 0.15);
}


.final-cta .primary-button:hover {
    background: var(--brand-orange-dark);
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding: 35px 0;

    border-top: 1px solid var(--border);

    background: var(--brand-navy);
}


.footer-inner {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    color: rgba(255, 255, 255, 0.65);

    font-size: 0.8rem;
}


.footer-inner strong {
    color: var(--white);
}


.footer-inner p {
    color: rgba(255, 255, 255, 0.60);

    font-size: 0.75rem;
}


.footer-contact a {
    color: var(--brand-orange);

    font-weight: 700;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 900px) {

    .hero-grid,
    .intro-content,
    .learning-grid,
    .registration-grid {
        grid-template-columns: 1fr;
    }

    .hero-grid {
        gap: 45px;
    }

    .hero {
        padding: 70px 0 80px;
    }

    .intro-content {
        gap: 30px;
    }

    .learning-grid {
        gap: 45px;
    }

    .registration-grid {
        gap: 40px;
    }

   

    .course-card p {
        min-height: auto;
    }
}
@media (max-width: 1100px) {
    .course-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 650px) {

    .container {
        width: min(100% - 28px, 1120px);
    }

    .header-inner {
        min-height: 65px;
    }

    .logo-main {
        font-size: 1.05rem;
    }

    .logo-sub {
        font-size: 0.75rem;
    }

    .header-button {
        padding: 8px 14px;

        font-size: 0.78rem;
    }
/* =========================================================
   HEADER ACTIONS
========================================================= */

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.header-actions {
    gap: 6px;
}

.login-button,
.header-button {
    padding: 8px 11px;
    font-size: 0.72rem;
}

/* Student Login */

.login-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 9px 20px;

    border: 2px solid var(--brand-blue);
    border-radius: 999px;

    background: transparent;
    color: var(--brand-blue);

    font-size: 0.9rem;
    font-weight: 800;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.login-button:hover {
    background: var(--brand-blue);
    color: var(--white);

    transform: translateY(-1px);
}
    .hero {
        padding: 55px 0 65px;
    }

    .hero h1 {
        font-size: 2.65rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons a {
        width: 100%;
    }

    .hero-card {
        padding: 28px;
    }

    .intro,
    .courses-section,
    .learning-section,
    .registration-section,
    .faq-section {
        padding: 70px 0;
    }

    .benefits {
        grid-template-columns: 1fr;
    }

    .registration-card {
        padding: 24px 18px;
    }

    .form-row {
        grid-template-columns: 1fr;

        gap: 0;
    }

    .footer-inner {
        flex-direction: column;

        align-items: flex-start;
    }
}


/* =========================================================
   ACCESSIBILITY
========================================================= */

:focus-visible {
    outline: 3px solid rgba(8, 169, 230, 0.35);

    outline-offset: 3px;
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition: none !important;
    }
}