
:root {
    --brand-blue: #0f5ae0;
    --brand-orange: #cd4128;
    --ink: #1f2937;
    --muted: #6b7280;
    --bg: #f7f9fc;
}

html {
    scroll-behavior: smooth
}

body {
    font-family: "Poppins",system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
    color: var(--ink);
    background: #fff
}

/* Loader */
#loader {
    position: fixed;
    inset: 0;
    background: #fff;
    display: grid;
    place-items: center;
    z-index: 1080;
    transition: opacity .35s ease, visibility .35s ease;
}

    #loader.hidden {
        opacity: 0;
        visibility: hidden
    }

.spinner {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    border: 4px solid rgba(15,90,224,.15);
    border-top-color: var(--brand-blue);
    border-right-color: var(--brand-orange);
    animation: spin .9s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg)
    }
}

/* Header */
.topbar {
    background: #dd4b31;
    color: #fff;
    font-size: .9rem
}

.navbar-brand .wordmark {
    font-weight: 800;
    letter-spacing: .5px;
    color: var(--ink)
}

.brand-dot {
    color: var(--brand-orange)
}

.btn-cta {
    background: var(--brand-orange);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: .6rem 1rem;
    font-weight: 700
}

    .btn-cta:hover {
        opacity: .9;
        color: #fff
    }

.btn-ghost {
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    padding: .55rem 1rem;
    border-radius: 10px;
    font-weight: 700
}

    .btn-ghost:hover {
        background: var(--brand-blue);
        color: #fff
    }

/* Offcanvas nav */
.offcanvas-header {
    border-bottom: 1px solid #eee
}

.offcanvas .nav-link {
    padding: .65rem 0;
    border-bottom: 1px dashed #eee;
    font-weight: 600
}

    .offcanvas .nav-link:hover {
        color: var(--brand-blue)
    }

/* Hero */
.hero {
    padding: 4.5rem 0;
    background: linear-gradient(180deg,#f9fbff, #ffffff);
}

    .hero h1 {
        font-weight: 800;
        line-height: 1.15
    }

    .hero .lead {
        color: var(--muted)
    }

.badge-year {
    background: var(--brand-blue)
}

.hero-visual img {
    border-radius: 16px
}

/* Section helpers */
.section-title {
    color: #cd4128;
    font-weight: 800
}

.card-soft {
    border: 1px solid #eef0f6;
    border-radius: 16px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15,90,224,.06);
}

.course-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255,90,60,.12);
    color: var(--brand-orange);
    font-size: 20px;
}

/* CTA band */
.cta-band {
    background: #eb6e32;
    color: #fff;
    border-radius: 16px;
    padding: 24px
}

/* Footer */
.footer-min {
    background: #f7f9fc;
    border-top: 1px solid #eceff7
}

/* Sticky WhatsApp (mobile) */
.whatsapp-sticky {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 1040;
}

    .whatsapp-sticky a {
        display: flex;
        align-items: center;
        gap: .5rem;
        background: #25D366;
        color: #fff;
        padding: .6rem .9rem;
        border-radius: 999px;
        font-weight: 700;
        text-decoration: none;
        box-shadow: 0 6px 18px rgba(37,211,102,.35);
    }

/* Small tweaks */
@media (min-width:992px) {
    .hero {
        padding: 6rem 0
    }
}



/* Image hover zoom button */
.image-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: auto;
    overflow: hidden;
}

    .image-container img {
        width: 100%;
        height: auto;
        display: block;
        transition: 0.3s ease;
        border-radius: 10px;
    }

.zoom-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: 10px 20px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    opacity: 0;
    transition: 0.3s ease;
    border-radius: 5px;
}

.image-container:hover .zoom-btn {
    opacity: 1;
}

/* Fullscreen image viewer */
#fullscreen-img {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

    #fullscreen-img img {
        max-width: 90%;
        max-height: 90%;
    }

    #fullscreen-img span {
        position: absolute;
        top: 20px;
        right: 30px;
        font-size: 40px;
        color: white;
        cursor: pointer;
    }

.section-title {
    text-align: center;
    font-size: 2rem;
    margin: 40px 0 20px;
    color: #222;
}

/* Written Reviews */
.testimonial-card {
    background: #fff;
    padding: 20px;
    margin: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
}

    .testimonial-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
        color: #444;
    }

    .testimonial-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        color: #555;
    }

/* Video Reviews */
.video-card {
    margin: 10px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

    .video-card iframe {
        width: 100%;
        height: 220px;
        border: none;
    }

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    padding: 3rem 5%;
    align-items: start;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

    .contact-info h2 {
        margin-bottom: 1rem;
        color: #222;
        font-size: 1.5rem;
    }

    .contact-info p {
        margin: 0.6rem 0;
        font-size: 1rem;
    }

    .contact-info a {
        color: #0056b3;
        text-decoration: none;
    }

.map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
    min-height: 350px;
}

.social-links {
    margin-top: 1.5rem;
}

    .social-links a {
        margin-right: 12px;
        text-decoration: none;
        font-weight: 600;
        color: #444;
    }

footer {
    text-align: center;
    padding: 1rem;
    margin-top: 2rem;
    background: #1a1a1a;
    color: #fff;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

.result-card {
    background: #fff;
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .result-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.12);
    }

.result-img img {
    width: 120px;
    height: 120px;
    border: 4px solid var(--accent);
    object-fit: cover;
}

.student-class {
    font-size: 0.9rem;
    color: #777;
}

.percentage {
    display: block;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--accent);
    margin-top: 6px;
}
.year-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    display: inline-block;
    padding: 0 20px; /* Adds spacing between text and lines */
    text-align:center;
}

    .year-title::before,
    .year-title::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 70px; /* line length */
        height: 2px;
        background: var(--accent);
    }

    .year-title::before {
        right: 100%;
        margin-right: 15px;
    }

    .year-title::after {
        left: 100%;
        margin-left: 15px;
    }



.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--brand-orange);
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

    .social-icon-link:hover {
        transform: translateY(-3px);
        background: white;
        color: var(--brand-orange);
    }

    .social-icon-link i {
        font-size: 1.1rem;
    }