/* =========================================================
   SPARK LABS
   MHSC CONNECTED ENGINEERING PROGRAM PAGE
========================================================= */


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #102a43;
    background: #ffffff;
}

img {
    display: block;
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}


/* =========================================================
   NAVBAR
   (identical to curriculum.css so the header matches
   across every page)
========================================================= */

.navbar {
    height: 84px;
    padding: 0 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;

    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;

    gap: 10px;

    flex-shrink: 0;

    cursor: pointer;
}

.logo-icon {
    width: 42px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.logo-icon img {
    width: 42px;
    height: 48px;

    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.logo-text strong {
    color: #1268e8;

    font-size: 22px;
    line-height: 23px;

    font-weight: 700;
}

.logo-text small {
    margin-top: 3px;

    color: #111827;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;
}

.navigation {
    display: flex;
    align-items: center;

    gap: 37px;

    height: 100%;

    margin-left: auto;
    margin-right: 40px;
}

.navigation a {
    height: 100%;
    display: flex;
    align-items: center;
    position: relative;

    color: #0d172a;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.navigation a:hover {
    color: #1769e8;
}

.navigation a.active {
    color: #1268e8;
}

.navigation a.active::after {
    content: "";

    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 2px;

    background: #1268e8;
}

.enroll-button {
    width: auto;
    min-width: 140px;
    height: 48px;

    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: #176ce8;

    color: #ffffff;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;

    box-shadow: 0 7px 18px rgba(23, 108, 232, 0.18);

    flex-shrink: 0;
}

.enroll-button:hover {
    background: #0f5ed6;
}


/* =========================================================
   PROGRAM HERO
========================================================= */

.program-hero {
    width: 100%;
    min-height: 460px;

    position: relative;

    display: flex;
    align-items: center;

    overflow: hidden;

    background: #eef7ff;
}

.hero-content {
    width: 52%;

    padding-left: 6%;
    padding-top: 30px;
    padding-bottom: 30px;

    position: relative;

    z-index: 5;
}

.hero-label {
    display: inline-block;

    color: #0867e8;

    font-size: 14px;
    font-weight: 700;

    letter-spacing: 1px;

    margin-bottom: 12px;
}

.hero-content h1 {
    color: #102a43;

    font-size: 48px;

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1.3px;

    margin-bottom: 17px;
}

.hero-content h1 span {
    display: block;

    color: #176ce8;

    font-size: 26px;

    letter-spacing: -0.5px;

    margin-top: 8px;
}

.hero-description {
    max-width: 560px;

    color: #526b89;

    font-size: 14px;

    line-height: 1.7;

    margin-bottom: 26px;
}

.hero-buttons {
    display: flex;

    gap: 14px;
}

.primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 48px;

    padding: 0 24px;

    background: #176ce8;

    color: #ffffff;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 7px 18px rgba(23, 108, 232, 0.18);

    white-space: nowrap;
}

.primary-btn:hover {
    background: #0f5ed6;
}

.secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 48px;

    padding: 0 24px;

    background: #ffffff;

    color: #176ce8;

    border: 1px solid #bdd7f7;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}

.secondary-btn:hover {
    background: #eef7ff;
}


/* HERO IMAGE */

.hero-image-wrapper {
    position: absolute;

    right: 0;
    top: 0;

    width: 50%;
    height: 100%;

    overflow: hidden;
}

.hero-main-image {
    position: absolute;

    top: 0;
    right: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    object-position: center;

    border-radius: 48% 0 0 48%;
}

.hero-circle-decoration {
    position: absolute;

    left: -32px;
    top: 44px;

    width: 145px;
    height: 145px;

    border: 2px dashed #1974ee;

    border-radius: 50%;

    z-index: 3;
}

.hero-circle-decoration::after {
    content: "";

    position: absolute;

    width: 15px;
    height: 15px;

    background: #1974ee;

    border-radius: 50%;

    bottom: 9px;
    left: 2px;
}

.hero-dots {
    position: absolute;

    right: 10px;
    top: 275px;

    display: flex;
    flex-direction: column;

    gap: 8px;

    z-index: 4;
}

.hero-dots span {
    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #1974ee;
}


/* =========================================================
   QUICK INFO
========================================================= */

.quick-info {
    width: 100%;

    max-width: 1180px;

    margin: -35px auto 0;

    padding: 0 6%;

    position: relative;
    z-index: 10;

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 18px;
}

.info-card {
    background: #ffffff;

    border: 1px solid #dce6f0;

    border-radius: 11px;

    padding: 20px 18px;

    text-align: center;

    box-shadow: 0 10px 24px rgba(20, 50, 90, 0.08);
}

.info-card-icon {
    font-size: 26px;

    margin-bottom: 8px;
}

.info-card h3 {
    color: #102a43;

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 5px;
}

.info-card p {
    color: #526b89;

    font-size: 12px;

    line-height: 1.5;
}


/* =========================================================
   SECTION HEADING (shared)
========================================================= */

.section-heading {
    text-align: center;

    margin-bottom: 34px;
}

.section-heading h2 {
    color: #102a43;

    font-size: 27px;

    line-height: 1.2;

    margin-bottom: 8px;

    font-weight: 700;
}

.section-heading p {
    color: #526b89;

    font-size: 13px;

    max-width: 560px;

    margin: 0 auto;

    line-height: 1.6;
}

.section-heading.light h2 {
    color: #ffffff;
}


/* =========================================================
   CLASSES
========================================================= */

.classes-section {
    width: 100%;

    padding: 75px 6% 65px;

    background: #ffffff;
}

.class-grid {
    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 26px;
}

.class-card {
    background: #ffffff;

    border: 1px solid #dce6f0;

    border-radius: 14px;

    padding: 28px 26px 30px;

    box-shadow: 0 5px 15px rgba(20, 50, 90, 0.045);

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.class-card:hover {
    transform: translateY(-3px);

    box-shadow: 0 9px 24px rgba(20, 50, 90, 0.08);
}

.class-card .badge {
    display: inline-block;

    padding: 5px 12px;

    border-radius: 6px;

    font-size: 11px;

    font-weight: 700;

    margin-bottom: 14px;
}

.blue-grade {
    background: #e4efff;
    color: #0867e8;
}

.purple-grade {
    background: #eee7ff;
    color: #7540ed;
}

.class-card h3 {
    color: #102a43;

    font-size: 22px;

    font-weight: 700;

    margin-bottom: 4px;
}

.class-card h4 {
    color: #344f70;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 16px;
}

.class-card ul {
    list-style: none;

    margin-bottom: 22px;
}

.class-card ul li {
    position: relative;

    padding-left: 20px;

    color: #526b89;

    font-size: 13px;

    line-height: 2;
}

.class-card ul li::before {
    content: "✓";

    position: absolute;

    left: 0;

    color: #12a86a;

    font-weight: 700;
}

.syllabus-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    height: 46px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;
}

.blue-btn {
    background: #176ce8;
    color: #ffffff;
}

.blue-btn:hover {
    background: #0f5ed6;
}

.purple-btn {
    background: #7540ed;
    color: #ffffff;
}

.purple-btn:hover {
    background: #6230d8;
}


/* =========================================================
   THEMES
========================================================= */

.themes {
    width: 100%;

    padding: 65px 6%;

    background: linear-gradient(
        110deg,
        #182f8f,
        #063fa9
    );
}

.theme-grid {
    width: 100%;
    max-width: 1000px;

    margin: 0 auto;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.theme-card {
    background: rgba(255, 255, 255, 0.06);

    border: 1px solid rgba(255, 255, 255, 0.18);

    border-radius: 14px;

    padding: 28px 22px;

    text-align: center;
}

.theme-icon {
    font-size: 34px;

    margin-bottom: 10px;
}

.theme-card h3 {
    color: #ffffff;

    font-size: 17px;

    font-weight: 700;

    margin-bottom: 10px;
}

.theme-card p {
    color: #d7e3f7;

    font-size: 13px;

    line-height: 1.65;
}


/* =========================================================
   SCHEDULE
========================================================= */

.schedule {
    width: 100%;

    padding: 65px 6%;

    background: #ffffff;
}

.schedule-grid {
    width: 100%;
    max-width: 700px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 12px;
}

.schedule-row {
    display: flex;
    align-items: center;

    gap: 20px;

    background: #f6faff;

    border: 1px solid #dce6f0;

    border-radius: 10px;

    padding: 16px 22px;
}

.schedule-date {
    min-width: 80px;

    color: #ffffff;

    background: #176ce8;

    border-radius: 6px;

    padding: 6px 10px;

    text-align: center;

    font-size: 12px;

    font-weight: 700;
}

.schedule-event {
    color: #102a43;

    font-size: 14px;

    font-weight: 700;
}


/* =========================================================
   REGISTER
========================================================= */

.register {
    width: 100%;

    padding: 65px 6%;

    background: #eef7ff;

    text-align: center;
}

.register-intro {
    max-width: 620px;

    margin: 0 auto 30px;

    color: #526b89;

    font-size: 14px;

    line-height: 1.7;
}

.register-details {
    width: 100%;
    max-width: 700px;

    margin: 0 auto 30px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.register-item {
    background: #ffffff;

    border: 1px solid #dce6f0;

    border-radius: 11px;

    padding: 18px 14px;

    display: flex;
    flex-direction: column;

    gap: 6px;

    box-shadow: 0 5px 15px rgba(20, 50, 90, 0.045);
}

.register-item strong {
    color: #102a43;

    font-size: 13px;
}

.register-item span {
    color: #526b89;

    font-size: 13px;
}

.register-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 50px;

    padding: 0 32px;

    background: #176ce8;

    color: #ffffff;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    box-shadow: 0 7px 18px rgba(23, 108, 232, 0.18);
}

.register-btn:hover {
    background: #0f5ed6;
}


/* =========================================================
   FAQ
========================================================= */

.faq {
    width: 100%;

    padding: 65px 6% 75px;

    background: #ffffff;
}

.faq-list {
    width: 100%;
    max-width: 720px;

    margin: 0 auto;

    display: flex;
    flex-direction: column;

    gap: 14px;
}

.faq-item {
    background: #f6faff;

    border: 1px solid #dce6f0;

    border-radius: 11px;

    padding: 18px 22px;
}

.faq-item h3 {
    color: #102a43;

    font-size: 14px;

    font-weight: 700;

    margin-bottom: 6px;
}

.faq-item p {
    color: #526b89;

    font-size: 13px;

    line-height: 1.6;
}


/* =========================================================
   FOOTER
   (identical to curriculum.css so the footer matches
   across every page)
========================================================= */

.footer {
    background-color: #071b33;
    color: white;
    padding: 60px 6% 0;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;

    display: grid;

    grid-template-columns:
        1.5fr
        1fr
        1fr
        1.2fr
        1.6fr;

    gap: 40px;

    padding-bottom: 45px;
}

.footer-brand {
    max-width: 260px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.footer-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.footer-logo strong {
    display: block;
    color: #ffffff;
    font-size: 19px;
}

.footer-logo small {
    display: block;
    margin-top: 3px;
    color: #b9cce0;
    font-size: 8px;
    letter-spacing: 1px;
    font-weight: 700;
}

.footer-brand > p {
    color: #aebfd1;
    font-size: 12px;
    line-height: 1.7;
}

.footer-column h3,
.footer-newsletter h3 {
    margin-bottom: 18px;
    color: white;
    font-size: 14px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column a {
    color: #aebfd1;
    text-decoration: none;
    font-size: 12px;
    transition: 0.2s;
}

.footer-column a:hover {
    color: #0878e8;
}

.footer-column p {
    color: #aebfd1;
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

.footer-newsletter {
    max-width: 300px;
}

.footer-newsletter > p {
    color: #aebfd1;
    font-size: 12px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.newsletter-form {
    display: flex;
    width: 100%;
}

.newsletter-form input {
    min-width: 0;
    flex: 1;

    padding: 12px;

    border: 1px solid #304b66;
    border-right: none;
    border-radius: 6px 0 0 6px;

    background-color: #102a43;
    color: white;

    outline: none;
    font-size: 11px;
}

.newsletter-form input::placeholder {
    color: #8fa5ba;
}

.newsletter-form input:focus {
    border-color: #0878e8;
}

.newsletter-form button {
    padding: 12px 14px;

    border: none;
    border-radius: 0 6px 6px 0;

    background-color: #0878e8;
    color: white;

    cursor: pointer;

    font-size: 11px;
    font-weight: 600;
}

.newsletter-form button:hover {
    background-color: #0566c7;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;

    padding: 20px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-top: 1px solid #203a53;
}

.footer-bottom p {
    color: #8299ad;
    font-size: 10px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: #8299ad;
    text-decoration: none;
    font-size: 10px;
}

.footer-bottom-links a:hover {
    color: white;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .navbar {
        padding: 0 4%;
    }

    .navigation {
        gap: 22px;

        margin-right: 25px;
    }

    .program-hero {
        min-height: 420px;
    }

    .hero-content {
        width: 55%;

        padding-left: 5%;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-image-wrapper {
        width: 48%;
    }

    .quick-info {
        grid-template-columns: repeat(2, 1fr);
    }

    .class-grid {
        max-width: 700px;
    }

    .theme-grid {
        gap: 16px;
    }
}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 850px) {

    .navbar {
        height: auto;

        min-height: 80px;

        padding: 15px 5%;

        flex-wrap: wrap;

        gap: 15px;
    }

    .navigation {
        height: auto;

        margin: 0 auto;

        flex-wrap: wrap;

        justify-content: center;

        gap: 18px;
    }

    .navigation a {
        height: 35px;
    }

    .navigation a.active::after {
        bottom: 0;
    }


    .program-hero {
        height: auto;

        display: block;

        padding-bottom: 30px;
    }

    .hero-content {
        width: 100%;

        padding: 35px 7% 0;
    }

    .hero-image-wrapper {
        position: relative;

        width: 90%;
        height: 280px;

        margin: 25px auto 0;
    }

    .hero-main-image {
        border-radius: 25px;
    }

    .hero-circle-decoration {
        display: none;
    }

    .quick-info {
        margin-top: 25px;

        grid-template-columns: repeat(2, 1fr);
    }

    .class-grid {
        grid-template-columns: 1fr;

        max-width: 500px;
    }

    .theme-grid {
        grid-template-columns: 1fr;

        max-width: 420px;
    }

    .register-details {
        grid-template-columns: 1fr;

        max-width: 420px;
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 550px) {

    .navbar {
        padding: 14px 5%;
    }

    .logo-text strong {
        font-size: 19px;
    }

    .logo-text small {
        font-size: 8px;
    }

    .navigation {
        gap: 12px;
    }

    .navigation a {
        font-size: 12px;
    }

    .enroll-button {
        min-width: auto;

        height: 42px;

        padding: 0 15px;

        font-size: 12px;
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content h1 span {
        font-size: 20px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .quick-info {
        grid-template-columns: 1fr;
    }

    .schedule-row {
        flex-direction: column;
        align-items: flex-start;
    }
}