/* =====================================================
   RESET & BASE
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html { scroll-behavior: smooth; }
body {
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #ffffff;
}

/* ================= NAVIGATION ================= */
.site-header { background: #ffffff; position: relative; z-index: 1000; }
.main-nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav-logo img { max-height: 60px; display: block; }
.nav-menu { list-style: none; display: flex; gap: 32px; }
.nav-link { text-decoration: none; font-weight: 600; color: #333; }
.nav-link:hover { color: #0B3C8C; }
.btn { display: inline-block; padding: 12px 28px; border-radius: 8px; font-weight: 700; text-decoration: none; cursor: pointer; transition: background 0.3s ease; }
.btn-nav { background: linear-gradient(to right, #4FA3FF, #0B3C8C); color: #ffffff; }
.btn-nav:hover { background: linear-gradient(to right, #0B3C8C, #4FA3FF); }
.nav-toggle { display: none; font-size: 28px; background: none; border: none; cursor: pointer; }

/* ================= HERO ================= */
.hero { padding: 60px 0; background: #f8f9fa; }
.hero-content { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; gap: 48px; }
.hero-text { flex: 1; max-width: 600px; }
.hero-title { font-size: 3rem; line-height: 1.2; margin-bottom: 20px; color: #0B3C8C; }
.hero-subtitle { font-size: 1.2rem; margin-bottom: 28px; color: #555; }
.btn-hero { background: linear-gradient(to right, #FFE58A, #E09B00); color: #333; padding: 16px 40px; border-radius: 10px; font-size: 1.1rem; }
.btn-hero:hover { background: linear-gradient(to right, #E09B00, #FFE58A); }
.hero-trust { margin-top: 14px; font-size: 0.85rem; color: #666; }
.hero-visual {
    flex: 1;
    max-width: 420px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

/* ================= SUBJECTS ================= */
.subjects { padding: 80px 0; background: linear-gradient(135deg,#4FA3FF,#0B3C8C); }
.subjects-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; text-align: center; }
.section-title { font-size: 2.5rem; color: #ffffff; margin-bottom: 12px; }
.section-subtitle { font-size: 1.1rem; color: #e6ecff; max-width: 700px; margin: 0 auto 56px; }
.subjects-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 40px; }
.subject-card { background: rgba(255,255,255,0.15); backdrop-filter: blur(10px); border-radius: 20px; padding: 40px 32px; transition: transform 0.3s ease, box-shadow 0.3s ease; }
.subject-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.subject-icon { width: 64px; height: 64px; margin: 0 auto 24px; border-radius: 50%; }
.maths-icon { background: linear-gradient(135deg,#dbeafe,#93c5fd); }
.science-icon { background: linear-gradient(135deg,#fff3bf,#facc15); }
.subject-title { font-size: 1.5rem; color: #ffffff; margin-bottom: 12px; }
.subject-description { font-size: 1rem; color: #f1f5ff; margin-bottom: 16px; }
.subject-grades { font-size: 0.95rem; font-weight: 600; color: #ffffff; }

/* ================= HOW IT WORKS ================= */
.how-it-works { padding: 80px 0; background: #ffffff; }
.how-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; text-align: center; }
.how-container .section-title { font-size: 2.5rem; color: #0B3C8C; margin-bottom: 12px; }
.how-container .section-subtitle { font-size: 1.1rem; color: #555; max-width: 700px; margin: 0 auto 56px; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; margin-top: 56px; }
.step-card { text-align: center; padding: 24px; }
.step-number { font-weight: 700; font-size: 1rem; color: #0B3C8C; margin-bottom: 12px; }
.step-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none; /* remove frame background */
}
.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.step-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: #0B3C8C; }
.step-description { font-size: 1rem; color: #555; }

/* ================= BENEFITS ================= */
.benefits { padding: 80px 0; background: #f8f9fa; }
.benefits-container { max-width: 1200px; margin: 0 auto; padding: 0 24px; text-align: center; }
.benefits-container .section-title { font-size: 2.5rem; color: #0B3C8C; margin-bottom: 12px; }
.benefits-container .section-subtitle { font-size: 1.1rem; color: #555; max-width: 700px; margin: 0 auto 56px; }
.benefits-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 32px; margin-top: 40px; }
.benefit-card { text-align: center; padding: 24px; }
.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,#FFE58A,#E09B00);
}
.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}
.benefit-text { font-size: 1rem; color: #555; font-weight: 600; }

/* ================= FREE TRIAL ================= */
.free-trial { padding: 80px 24px; text-align: center; background: linear-gradient(135deg,#4FA3FF,#0B3C8C); }
.free-trial-container { max-width: 800px; margin: 0 auto; }
.free-trial-container .section-title { font-size: 2.5rem; color: #fff; margin-bottom: 12px; }
.free-trial-container .section-subtitle { font-size: 1.2rem; color: #e6ecff; margin-bottom: 32px; }
.btn-free-trial {
    background: linear-gradient(to right,#FFE58A,#E09B00);
    color: #333;
    font-size: 1.25rem;
    padding: 18px 48px;
    border-radius: 34px;
    font-weight: 700;
    display: inline-block;
    text-decoration: none;
    transition: background 0.3s ease;
}
.btn-free-trial:hover { background: linear-gradient(to right,#E09B00,#FFD75A); }

/* ================= FAQ ================= */
.faq { padding: 80px 24px; background: #f8f9fa; }
.faq-container { max-width: 800px; margin: 0 auto; text-align: center; }
.faq-container .section-title { font-size: 2.5rem; color: #0B3C8C; margin-bottom: 12px; }
.faq-container .section-subtitle { font-size: 1.1rem; color: #555; margin-bottom: 40px; }
.faq-grid { display: flex; flex-direction: column; gap: 16px; }
.faq-card { background: #F9F9F9; border-radius: 12px; padding: 16px 24px; box-shadow: 0 4px 10px rgba(0,0,0,0.05); text-align: left; }
.faq-question { width: 100%; text-align: left; font-size: 18px; font-weight: 600; color: #0B3C8C; border: none; background: none; cursor: pointer; padding: 8px 0; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; font-size: 16px; color: #666666; padding-left: 8px; }

/* ================= CONTACT / REGISTRATION ================= */
.contact-section {
    background: linear-gradient(135deg, #FFE58A, #E09B00);
    padding: 80px 24px;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: flex-start;
}

/* ================= CONTACT DETAILS ================= */
.contact-details {
    color: #0B3C8C;
}

.contact-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
}

.contact-line {
    margin-bottom: 20px;
    line-height: 1.6;
}

.contact-line .label {
    font-weight: 700;
    display: block;
}

.contact-line .value {
    font-weight: 400;
}

/* ================= FORM CARD ================= */
.form-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #0B3C8C;
    margin-bottom: 16px;
}

.form-subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 32px;
}

/* ================= FORM ELEMENTS ================= */
form label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #0B3C8C;
    margin-bottom: 8px;
    margin-top: 16px;
}

form input,
form select,
form textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid #CCCCCC;
    font-size: 15px;
    font-family: 'Inter', Arial, sans-serif;
}

form textarea {
    resize: vertical;
}

/* ================= SUBMIT BUTTON ================= */
.submit-btn {
    margin-top: 32px;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #4FA3FF, #0B3C8C);
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #0B3C8C, #4FA3FF);
}

/* ================= CONFIRMATION ================= */
.confirmation-message {
    display: none;
    background: #ffffff;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15);
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* ================= FOOTER ================= */
.site-footer {
    background: #0B3C8C;
    color: #ffffff;
    padding: 48px 24px 24px;
    font-family: Inter, Arial, sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

/* ---------- BRAND ---------- */
.footer-logo {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 15px;
    line-height: 1.6;
    color: #e6ecff;
}

/* ---------- LINKS ---------- */
.footer-links h4,
.footer-social h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* ---------- SOCIAL ---------- */
.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 44px;
    height: 44px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
}

.social-icons a:hover {
    transform: scale(1.08);
    background: #f0f0f0;
}

.social-icons img {
    width: 22px;
    height: 22px;
}

/* ---------- BOTTOM ---------- */
.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    text-align: center;
    font-size: 14px;
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.25);
    margin-bottom: 24px;
}

.legal-links {
    margin-top: 12px;
}

.legal-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
}

.legal-links a:hover {
    text-decoration: underline;
}

.legal-links span {
    margin: 0 8px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}


/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}
/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .btn-nav { display: none; }
    .nav-menu { position: absolute; top: 80px; right: 24px; background: #ffffff; flex-direction: column; gap: 20px; padding: 20px; border-radius: 12px; display: none; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
    .nav-menu.active { display: flex; }

    .hero-content { flex-direction: column; text-align: center; }
    .hero-title { font-size: 2.2rem; }
    .hero-visual { max-width: 300px; margin-top: 24px; }

    .subjects-grid { grid-template-columns: 1fr; gap: 28px; }
    .steps-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
    .benefits-grid { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }

    .contact-container { flex-direction: column; gap: 32px; }
}

/* POPIA Checkbox Styling */
.popia-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}
.popia-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 4px;
    cursor: pointer;
}
.popia-text {
    font-size: 14px !important;
    font-weight: 400 !important;
    margin-top: 0 !important;
    line-height: 1.4;
    cursor: pointer;
}
.popia-text a {
    color: #0B3C8C;
    text-decoration: underline;
}