/* =========================================================
   ALPHASTACK ACADEMY
   WHITE + NAVY + BLUE THEME
   ========================================================= */

:root {
    --navy: #06204d;
    --navy-dark: #03183a;
    --blue: #155eef;
    --blue-dark: #0b45b8;
    --blue-light: #eaf2ff;
    --blue-soft: #f5f8ff;

    --text: #14213d;
    --muted: #667085;

    --border: #dbe5f5;
    --border-blue: #b9c8e5;

    --white: #ffffff;

    --shadow: 0 10px 30px rgba(6, 32, 77, 0.08);
    --shadow-hover: 0 16px 40px rgba(6, 32, 77, 0.14);
}


/* =========================================================
   GLOBAL
   ========================================================= */

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
select,
textarea {
    font-family: inherit;
}

.container {
    width: min(1120px, 92%);
    margin: 0 auto;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--navy);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.05;
    margin-bottom: 22px;
}

h1 span {
    color: var(--blue);
}

h2 {
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.1;
    margin-bottom: 16px;
}

h3 {
    margin-bottom: 9px;
}

p {
    color: var(--muted);
}


/* =========================================================
   HEADER / NAVBAR
   ========================================================= */

.site-header {
    width: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: relative;
    z-index: 1000;
}

.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
}

.brand img {
    width: 190px;
    height: auto;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 25px;
}

.main-nav a {
    color: var(--navy);
    font-weight: 700;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.main-nav a:hover {
    color: var(--blue);
}

.main-nav a.active {
    color: var(--blue);
}

.menu-toggle {
    display: none;
    border: 1px solid var(--border-blue);
    background: var(--white);
    color: var(--navy);
    padding: 8px 11px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.1rem;
}


/* =========================================================
   HERO
   ========================================================= */

.hero {
    padding: 75px 0;
    background: linear-gradient(
        135deg,
        #ffffff 55%,
        #eef4ff 100%
    );
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 55px;
    align-items: center;
}

.eyebrow {
    font-weight: 900;
    letter-spacing: 0.14em;
    color: var(--blue);
    font-size: 0.8rem;
    margin-bottom: 13px;
}

.hero p {
    font-size: 1.08rem;
    max-width: 650px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.hero-actions {
    display: flex;
    gap: 13px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 20px;
    border-radius: 12px;
    font-weight: 800;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-primary {
    background: var(--blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--blue-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--border-blue);
    color: var(--navy);
    background: var(--white);
}

.btn-outline:hover {
    border-color: var(--blue);
    color: var(--blue);
    background: var(--blue-light);
}


/* =========================================================
   EVENT MINI CARD
   ========================================================= */

.event-mini {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-top: 26px;
    padding: 12px 15px;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 16px;

    width: fit-content;

    box-shadow: 0 8px 25px rgba(7, 29, 73, 0.05);
}

.event-dot {
    width: 10px;
    height: 10px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--blue);

    box-shadow: 0 0 0 6px var(--blue-light);
}

.event-mini strong {
    display: block;
    color: var(--navy);
    font-size: 0.86rem;
}

.event-mini small {
    display: block;
    color: var(--muted);
    font-size: 0.78rem;
}


/* =========================================================
   HERO EVENT IMAGE
   ========================================================= */

.hero-event-card {
    background: var(--white);
    padding: 12px;
    border-radius: 25px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.hero-event-card img {
    width: 100%;
    max-width: 500px;
    max-height: 600px;
    margin: 0 auto;
    object-fit: contain;
    border-radius: 16px;
}


/* =========================================================
   SECTIONS
   ========================================================= */

.section {
    padding: 80px 0;
    background: var(--white);
}

.light-section {
    background: var(--blue-soft);
}

.section-head {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 42px;
}

.section-head p {
    max-width: 700px;
    margin: 0 auto;
}


/* =========================================================
   TAG
   ========================================================= */

.tag {
    display: inline-block;

    color: var(--blue);
    background: var(--blue-light);

    border-radius: 999px;

    padding: 7px 12px;

    font-weight: 900;
    font-size: 0.75rem;
    letter-spacing: 0.07em;

    margin-bottom: 14px;
}


/* =========================================================
   FEATURE CARDS
   ========================================================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card,
.course-card,
.benefit-card,
.contact-card,
.registration-form,
.about-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 28px;

    box-shadow: var(--shadow);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.feature-card:hover,
.course-card:hover,
.benefit-card:hover,
.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--border-blue);
}

.feature-icon,
.course-symbol {
    font-size: 2.4rem;
    margin-bottom: 15px;
}

.feature-card p {
    margin-bottom: 18px;
}

.feature-card a {
    color: var(--blue);
    font-weight: 800;
}

.feature-card a:hover {
    color: var(--blue-dark);
}


/* =========================================================
   COURSE CARDS
   ========================================================= */

.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.course-card ul {
    padding-left: 20px;
    margin: 18px 0 25px;
    color: var(--muted);
}

.course-card li {
    margin-bottom: 6px;
}

.course-card .btn {
    margin-top: 10px;
}


/* =========================================================
   EVENT BANNER
   ========================================================= */

.event-banner {
    display: grid;
    grid-template-columns: 0.7fr 1fr;
    gap: 40px;
    align-items: center;

    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 25px;
    padding: 22px;

    box-shadow: var(--shadow);
}

.event-banner img {
    width: 100%;
    max-width: 500px;
    max-height: 550px;

    margin: 0 auto;

    object-fit: contain;
    border-radius: 15px;
    background: var(--blue-soft);
}

.event-label {
    display: inline-block;

    background: var(--blue-light);
    color: var(--blue);

    padding: 7px 11px;
    border-radius: 999px;

    font-size: 0.73rem;
    font-weight: 900;
}


/* =========================================================
   PAGE HERO
   ========================================================= */

/*
   White theme version.
   No dark full-screen background.
*/

.page-hero {
    padding: 75px 0;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f5f8ff 70%,
            #eaf2ff 100%
        );

    border-bottom: 1px solid var(--border);
}

.page-hero h1 {
    color: var(--navy);
    max-width: 850px;
}

.page-hero p {
    color: var(--muted);
    max-width: 760px;
    font-size: 1.05rem;
}

.page-hero .eyebrow {
    color: var(--blue);
}


/* =========================================================
   ABOUT
   ========================================================= */

.about-grid,
.course-detail,
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-copy h2 {
    font-size: 1.7rem;
    margin-top: 4px;
}

.about-copy h2:not(:first-child) {
    margin-top: 28px;
}


/* =========================================================
   CHECK LIST
   ========================================================= */

.check-list {
    list-style: none;
    margin-top: 20px;
    display: grid;
    gap: 12px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    font-weight: 700;
    color: var(--text);
}

.check-list li::before {
    content: "✓";

    position: absolute;
    left: 0;

    color: var(--blue);
    font-weight: 900;
}


/* =========================================================
   INFO PANEL
   ========================================================= */

.info-panel {
    background: linear-gradient(
        145deg,
        var(--blue-soft),
        #ffffff
    );

    border: 1px solid var(--border);

    padding: 30px;
    border-radius: 22px;

    box-shadow: var(--shadow);
}

.info-panel p {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}

.info-panel .btn {
    margin-top: 20px;
}


/* =========================================================
   EVENT FEATURE
   ========================================================= */

.event-feature {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 45px;
    align-items: center;

    background: var(--white);
    border: 1px solid var(--border);

    border-radius: 28px;
    padding: 25px;

    box-shadow: var(--shadow);
}

.event-poster-wrap {
    background: var(--blue-soft);
    border-radius: 20px;
    padding: 12px;
}

.event-poster-wrap img {
    width: 100%;
    max-width: 500px;
    max-height: 650px;

    margin: 0 auto;

    object-fit: contain;
    display: block;

    border-radius: 12px;
}

.event-info h2 {
    font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.event-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 25px 0;
}

.event-details div {
    padding: 15px;
    background: var(--blue-soft);
    border: 1px solid var(--border);
    border-radius: 15px;
}

.event-details strong {
    display: block;
    color: var(--navy);
    font-size: 0.85rem;
}

.event-details span {
    color: var(--muted);
}


/* =========================================================
   BENEFITS
   ========================================================= */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card span {
    display: inline-flex;

    width: 42px;
    height: 42px;

    align-items: center;
    justify-content: center;

    border-radius: 12px;

    background: var(--blue-light);
    color: var(--blue);

    font-weight: 900;

    margin-bottom: 16px;
}


/* =========================================================
   CONTACT
   ========================================================= */

.contact-item {
    display: flex;
    justify-content: space-between;
    gap: 20px;

    padding: 15px 0;

    border-bottom: 1px solid var(--border);
}

.contact-item strong {
    color: var(--navy);
}

.contact-item a {
    color: var(--blue);
    font-weight: 700;
}

.contact-item a:hover {
    color: var(--blue-dark);
}


/* =========================================================
   REGISTRATION FORM
   ========================================================= */

.registration-form {
    display: grid;
    gap: 9px;
}

.registration-form label {
    font-weight: 800;
    color: var(--navy);
    margin-top: 7px;
}

input,
select,
textarea {
    width: 100%;

    border: 1px solid #ccd6e7;
    border-radius: 10px;

    padding: 12px 13px;

    font: inherit;

    outline: none;

    background: var(--white);
    color: var(--text);

    transition: all 0.2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #98a2b3;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--blue);

    box-shadow:
        0 0 0 3px var(--blue-light);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

.form-note {
    font-size: 0.9rem;
    margin-bottom: 5px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    background: var(--navy);
    color: #dce7ff;
    padding: 55px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 35px;
    padding-bottom: 45px;
}

.footer-logo {
    width: 200px;
    background: var(--white);
    border-radius: 10px;
    padding: 7px;
    margin-bottom: 12px;
}

.site-footer h4 {
    color: var(--white);
    margin-bottom: 12px;
}

.site-footer a {
    display: block;
    color: #c7d5f3;
    margin: 7px 0;
}

.site-footer a:hover {
    color: var(--white);
}

.site-footer p {
    color: #c7d5f3;
    margin: 5px 0;
}

.footer-bottom {
    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.12);

    padding: 18px;

    color: #b8c8e8;

    font-size: 0.88rem;
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 900px) {

    .navbar {
        min-height: 72px;
    }

    .main-nav {
        display: none;

        position: absolute;

        top: 72px;
        left: 0;
        right: 0;

        background: var(--white);

        padding: 18px 5%;

        border-bottom: 1px solid var(--border);

        flex-direction: column;
        align-items: stretch;

        box-shadow: var(--shadow);
    }

    .main-nav.show {
        display: flex;
    }

    .main-nav a {
        padding: 9px 0;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .about-grid,
    .course-detail,
    .contact-grid,
    .event-banner,
    .event-feature {
        grid-template-columns: 1fr;
    }

    .feature-grid,
    .course-grid {
        grid-template-columns: 1fr 1fr;
    }

    .benefit-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-event-card {
        max-width: 600px;
        margin: 0 auto;
    }

    .event-banner img,
    .event-poster-wrap img {
        max-width: 450px;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .container {
        width: min(92%, 520px);
    }

    .brand img {
        width: 165px;
    }

    .hero {
        padding: 50px 0;
    }

    .section {
        padding: 60px 0;
    }

    .page-hero {
        padding: 55px 0;
    }

    .feature-grid,
    .course-grid,
    .benefit-grid,
    .event-details,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .event-mini {
        width: 100%;
    }

    .event-banner,
    .event-feature {
        padding: 16px;
    }

    .feature-card,
    .course-card,
    .benefit-card,
    .contact-card,
    .registration-form,
    .about-box {
        padding: 22px;
    }

    .event-poster-wrap {
        padding: 8px;
    }

    .hero-event-card {
        padding: 8px;
    }

    .hero-event-card img {
        max-height: 500px;
    }

    .event-poster-wrap img {
        max-height: 550px;
    }

    .contact-item {
        flex-direction: column;
        gap: 5px;
    }
}