/* ========================================
   EDUCATION ACADEMY BY AKASH SHARMA
   MAIN STYLESHEET
======================================== */


/* =====================
   RESET
===================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}


/* =====================
   VARIABLES
===================== */

:root {
    --primary: #0b1f3a;
    --primary-light: #123b6d;
    --orange: #f59e0b;
    --orange-dark: #d97706;
    --white: #ffffff;
    --light: #f7f9fc;
    --gray: #64748b;
    --dark: #111827;
    --border: #e2e8f0;
}


/* =====================
   BODY
===================== */

body {
    font-family: "DM Sans", sans-serif;
    color: var(--dark);
    background: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}


/* =====================
   CONTAINER
===================== */

.container {
    width: min(1150px, 90%);
    margin: auto;
}


/* =====================
   COMMON
===================== */

.section {
    padding: 100px 0;
}

.section-tag {
    display: inline-block;
    color: var(--orange-dark);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-heading h2 {
    font-family: "Outfit", sans-serif;
    font-size: 46px;
    color: var(--primary);
    line-height: 1.15;
    margin-bottom: 18px;
}

.section-heading h2 span {
    color: var(--orange);
}

.section-heading p {
    color: var(--gray);
    font-size: 17px;
}


/* =====================
   BUTTONS
===================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    padding: 15px 24px;

    border-radius: 8px;

    font-weight: 700;

    transition: 0.3s;

    cursor: pointer;
}

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-3px);
}

.btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-dark {
    background: var(--primary);
    color: var(--white);
}

.btn-dark:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
}

.btn-white {
    background: var(--white);
    color: var(--orange-dark);
}

.btn-white:hover {
    transform: translateY(-3px);
}


/* =====================
   ANNOUNCEMENT BAR
===================== */

.announcement-bar {
    background: var(--primary);
    color: var(--white);

    text-align: center;

    padding: 10px 15px;

    font-size: 14px;
}

.announcement-bar span {
    color: var(--orange);
    font-weight: 700;
}


/* =====================
   NAVBAR
===================== */

.header {
    background: var(--white);

    position: sticky;
    top: 0;

    z-index: 1000;

    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.07);
}

.navbar {
    height: 78px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* LOGO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--primary);
    border-radius: 10px;

    font-size: 24px;
}

.logo-content h2 {
    font-family: "Outfit", sans-serif;

    font-size: 19px;

    color: var(--primary);

    line-height: 1.2;
}

.logo-content span {
    font-size: 12px;

    color: var(--gray);
}


/* NAV MENU */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-menu a {
    color: var(--dark);

    font-size: 15px;

    font-weight: 600;

    transition: 0.3s;
}

.nav-menu a:hover {
    color: var(--orange);
}

.nav-menu .nav-button {
    background: var(--orange);

    color: var(--white);

    padding: 12px 20px;

    border-radius: 7px;
}

.nav-menu .nav-button:hover {
    background: var(--orange-dark);
    color: var(--white);
}


/* MOBILE MENU */

.menu-toggle {
    display: none;

    border: none;

    background: transparent;

    font-size: 28px;

    cursor: pointer;

    color: var(--primary);
}


/* =====================
   HERO
===================== */

.hero {
    min-height: 680px;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            rgba(11, 31, 58, 0.98),
            rgba(11, 31, 58, 0.91),
            rgba(11, 31, 58, 0.75)
        ),
        url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80");

    background-size: cover;
    background-position: center;

    color: var(--white);
}

.hero-container {
    width: min(1150px, 90%);

    display: grid;
    grid-template-columns: 1.3fr 0.7fr;

    gap: 60px;

    align-items: center;
}


/* HERO CONTENT */

.hero-content {
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 16px;

    background: rgba(255, 255, 255, 0.1);

    border: 1px solid rgba(255, 255, 255, 0.15);

    border-radius: 30px;

    font-size: 14px;

    margin-bottom: 25px;
}

.hero-badge span {
    color: var(--orange);
}

.hero h1 {
    font-family: "Outfit", sans-serif;

    font-size: clamp(48px, 6vw, 78px);

    line-height: 1.05;

    margin-bottom: 25px;

    letter-spacing: -2px;
}

.hero h1 span {
    display: block;

    color: var(--orange);
}

.hero-content > p {
    max-width: 620px;

    color: #d7e0ec;

    font-size: 18px;

    margin-bottom: 32px;
}


/* HERO BUTTONS */

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;

    margin-bottom: 40px;
}


/* HERO TRUST */

.hero-trust {
    display: flex;
    align-items: center;
    gap: 25px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-family: "Outfit", sans-serif;

    font-size: 24px;

    color: var(--white);
}

.trust-item span {
    font-size: 13px;

    color: #b9c6d6;
}

.trust-line {
    width: 1px;
    height: 40px;

    background: rgba(255, 255, 255, 0.25);
}


/* HERO CARD */

.hero-card {
    background: var(--white);

    color: var(--dark);

    padding: 32px;

    border-radius: 16px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.hero-card-top {
    display: flex;
    align-items: center;
    gap: 8px;

    color: var(--orange-dark);

    font-size: 13px;

    font-weight: 700;

    margin-bottom: 20px;
}

.live-dot {
    width: 9px;
    height: 9px;

    background: #22c55e;

    border-radius: 50%;
}

.hero-card h3 {
    font-family: "Outfit", sans-serif;

    color: var(--primary);

    font-size: 28px;

    line-height: 1.2;

    margin-bottom: 15px;
}

.hero-card > p {
    color: var(--gray);

    font-size: 15px;

    margin-bottom: 25px;
}

.card-info {
    display: grid;

    gap: 12px;

    margin-bottom: 25px;
}

.card-info div {
    display: flex;
    align-items: center;

    gap: 12px;

    background: var(--light);

    padding: 12px;

    border-radius: 8px;
}

.card-info span {
    font-size: 20px;
}

.card-info p {
    font-size: 14px;

    font-weight: 600;
}

.card-button {
    display: block;

    width: 100%;

    background: var(--primary);

    color: var(--white);

    text-align: center;

    padding: 14px;

    border-radius: 8px;

    font-weight: 700;

    transition: 0.3s;
}

.card-button:hover {
    background: var(--primary-light);
}


/* =====================
   STATS
===================== */

.stats-section {
    background: var(--white);

    padding: 35px 0;
}

.stats-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    background: var(--white);

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);

    border-radius: 14px;

    overflow: hidden;
}

.stat-box {
    display: flex;
    align-items: center;

    gap: 15px;

    padding: 28px;

    border-right: 1px solid var(--border);
}

.stat-box:last-child {
    border-right: none;
}

.stat-icon {
    width: 52px;
    height: 52px;

    display: grid;
    place-items: center;

    background: #fff4dd;

    border-radius: 10px;

    font-size: 24px;
}

.stat-box h3 {
    font-family: "Outfit", sans-serif;

    color: var(--primary);

    font-size: 27px;

    line-height: 1.1;
}

.stat-box p {
    color: var(--gray);

    font-size: 13px;
}


/* =====================
   ABOUT
===================== */

.about {
    background: var(--light);
}

.about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 80px;

    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;

    height: 550px;

    object-fit: cover;

    border-radius: 18px;
}

.experience-card {
    position: absolute;

    bottom: -30px;
    right: -25px;

    background: var(--orange);

    color: var(--white);

    padding: 24px;

    border-radius: 12px;

    display: flex;
    align-items: center;

    gap: 12px;

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.experience-card strong {
    font-family: "Outfit", sans-serif;

    font-size: 42px;

    line-height: 1;
}

.experience-card span {
    font-size: 13px;

    line-height: 1.4;
}

.about-content h2 {
    font-family: "Outfit", sans-serif;

    font-size: 46px;

    color: var(--primary);

    line-height: 1.15;

    margin-bottom: 22px;
}

.about-content h2 span {
    display: block;

    color: var(--orange);
}

.about-text {
    color: var(--gray);

    font-size: 16px;

    margin-bottom: 28px;
}

.about-features {
    display: grid;

    gap: 14px;

    margin-bottom: 32px;
}

.feature {
    display: flex;
    align-items: center;

    gap: 12px;

    font-weight: 600;

    color: #334155;
}

.feature span {
    width: 27px;
    height: 27px;

    display: grid;
    place-items: center;

    background: #e7f2ff;

    color: var(--primary);

    border-radius: 50%;

    font-size: 13px;
}


/* =====================
   COURSES
===================== */

.courses {
    background: var(--white);
}

.courses-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.course-card {
    position: relative;

    padding: 35px;

    border: 1px solid var(--border);

    border-radius: 16px;

    background: var(--white);

    transition: 0.3s;
}

.course-card:hover {
    transform: translateY(-8px);

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);

    border-color: transparent;
}

.course-card.featured {
    border: 2px solid var(--orange);
}

.popular-tag {
    position: absolute;

    top: -14px;
    right: 25px;

    background: var(--orange);

    color: var(--white);

    padding: 6px 14px;

    border-radius: 20px;

    font-size: 12px;

    font-weight: 700;
}

.course-icon {
    width: 65px;
    height: 65px;

    display: grid;
    place-items: center;

    background: #fff4dd;

    border-radius: 14px;

    font-size: 30px;

    margin-bottom: 25px;
}

.course-number {
    position: absolute;

    top: 35px;
    right: 35px;

    font-family: "Outfit", sans-serif;

    color: #d8e0ea;

    font-size: 24px;

    font-weight: 700;
}

.course-card h3 {
    font-family: "Outfit", sans-serif;

    font-size: 24px;

    color: var(--primary);

    margin-bottom: 14px;
}

.course-card p {
    color: var(--gray);

    font-size: 15px;

    margin-bottom: 25px;
}

.course-card a {
    color: var(--orange-dark);

    font-weight: 700;
}


/* =====================
   WHY US
===================== */

.why-us {
    background: var(--primary);

    color: var(--white);
}

.light-heading h2 {
    color: var(--white);
}

.light-heading p {
    color: #b7c5d5;
}

.why-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 20px;
}

.why-card {
    background: rgba(255, 255, 255, 0.07);

    border: 1px solid rgba(255, 255, 255, 0.1);

    border-radius: 14px;

    padding: 30px;

    transition: 0.3s;
}

.why-card:hover {
    transform: translateY(-6px);

    background: rgba(255, 255, 255, 0.12);
}

.why-icon {
    font-size: 38px;

    margin-bottom: 20px;
}

.why-card h3 {
    font-family: "Outfit", sans-serif;

    font-size: 21px;

    margin-bottom: 12px;
}

.why-card p {
    color: #b7c5d5;

    font-size: 14px;
}


/* =====================
   PROCESS
===================== */

.process {
    background: var(--white);
}

.process-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 35px;
}

.process-card {
    text-align: center;

    position: relative;
}

.process-number {
    width: 75px;
    height: 75px;

    margin: 0 auto 22px;

    display: grid;
    place-items: center;

    border-radius: 50%;

    background: #fff4dd;

    color: var(--orange-dark);

    font-family: "Outfit", sans-serif;

    font-size: 21px;

    font-weight: 700;
}

.process-card h3 {
    color: var(--primary);

    font-family: "Outfit", sans-serif;

    font-size: 20px;

    margin-bottom: 10px;
}

.process-card p {
    color: var(--gray);

    font-size: 14px;
}


/* =====================
   TESTIMONIALS
===================== */

.testimonials {
    background: var(--light);
}

.testimonial-grid {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;
}

.testimonial-card {
    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 15px;

    padding: 30px;

    transition: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-5px);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.stars {
    color: var(--orange);

    letter-spacing: 2px;

    margin-bottom: 18px;
}

.testimonial-card > p {
    color: var(--gray);

    font-style: italic;

    margin-bottom: 25px;
}

.student-info {
    display: flex;

    align-items: center;

    gap: 12px;
}

.student-avatar {
    width: 48px;
    height: 48px;

    display: grid;
    place-items: center;

    background: var(--primary);

    color: var(--white);

    border-radius: 50%;

    font-weight: 700;
}

.student-info h4 {
    color: var(--primary);

    font-size: 15px;
}

.student-info span {
    color: var(--gray);

    font-size: 13px;
}


/* =====================
   CTA
===================== */

.cta {
    background: linear-gradient(
        135deg,
        var(--orange),
        #f97316
    );

    padding: 100px 0;

    color: var(--white);

    text-align: center;
}

.cta-content {
    max-width: 750px;

    margin: auto;
}

.cta-content > span {
    display: inline-block;

    background: rgba(255, 255, 255, 0.18);

    padding: 8px 15px;

    border-radius: 20px;

    font-size: 13px;

    margin-bottom: 20px;
}

.cta h2 {
    font-family: "Outfit", sans-serif;

    font-size: 52px;

    line-height: 1.1;

    margin-bottom: 20px;
}

.cta p {
    font-size: 17px;

    margin-bottom: 30px;

    opacity: 0.9;
}


/* =====================
   CONTACT
===================== */

.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;

    grid-template-columns: 0.8fr 1.2fr;

    gap: 60px;

    align-items: start;
}

.contact-info {
    display: grid;

    gap: 18px;
}

.contact-item {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 22px;

    background: var(--light);

    border-radius: 12px;
}

.contact-icon {
    font-size: 25px;
}

.contact-item h4 {
    color: var(--primary);

    margin-bottom: 5px;
}

.contact-item p {
    color: var(--gray);

    font-size: 14px;
}


/* FORM */

.contact-form {
    padding: 35px;

    background: var(--white);

    border: 1px solid var(--border);

    border-radius: 16px;

    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.input-group {
    margin-bottom: 18px;
}

.input-group input,
.input-group textarea {
    width: 100%;

    padding: 15px;

    border: 1px solid var(--border);

    border-radius: 8px;

    outline: none;

    font-family: inherit;

    font-size: 14px;

    transition: 0.3s;
}

.input-group input:focus,
.input-group textarea:focus {
    border-color: var(--primary);

    box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.08);
}

.input-group textarea {
    min-height: 130px;

    resize: vertical;
}

.form-button {
    width: 100%;

    border: none;

    font-size: 15px;
}


/* =====================
   FOOTER
===================== */

.footer {
    background: #071629;

    color: var(--white);

    padding-top: 75px;
}

.footer-grid {
    display: grid;

    grid-template-columns: 2fr 1fr 1fr 1.4fr;

    gap: 50px;

    padding-bottom: 60px;
}

.footer-logo .logo-content h2 {
    color: var(--white);
}

.footer-logo .logo-content span {
    color: #94a3b8;
}

.footer-about > p {
    color: #94a3b8;

    margin-top: 20px;

    max-width: 330px;

    font-size: 14px;
}

.footer-column h3 {
    font-family: "Outfit", sans-serif;

    margin-bottom: 20px;

    font-size: 18px;
}

.footer-column a,
.footer-column p {
    display: block;

    color: #94a3b8;

    font-size: 14px;

    margin-bottom: 12px;

    transition: 0.3s;
}

.footer-column a:hover {
    color: var(--orange);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);

    padding: 22px 0;

    text-align: center;

    color: #64748b;

    font-size: 13px;
}


/* ========================================
   RESPONSIVE - TABLET
======================================== */

@media (max-width: 1000px) {

    .hero-container {
        grid-template-columns: 1fr;

        padding: 80px 0;
    }

    .hero-card {
        max-width: 500px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-box:nth-child(2) {
        border-right: none;
    }

    .stat-box:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .about-grid {
        gap: 50px;
    }

    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 50px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* ========================================
   RESPONSIVE - MOBILE
======================================== */

@media (max-width: 768px) {

    .section {
        padding: 75px 0;
    }

    .section-heading {
        margin-bottom: 40px;
    }

    .section-heading h2,
    .about-content h2 {
        font-size: 36px;
    }


    /* NAV */

    .menu-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;

        top: 78px;
        left: 0;

        width: 100%;

        background: var(--white);

        flex-direction: column;

        align-items: flex-start;

        gap: 0;

        padding: 0 5%;

        max-height: 0;

        overflow: hidden;

        transition: 0.4s;
    }

    .nav-menu.active {
        max-height: 500px;

        padding-top: 20px;

        padding-bottom: 20px;

        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
    }

    .nav-menu a {
        width: 100%;

        padding: 14px 0;
    }

    .nav-menu .nav-button {
        text-align: center;

        margin-top: 10px;

        padding: 13px;
    }


    /* HERO */

    .hero {
        min-height: auto;
    }

    .hero h1 {
        font-size: 52px;
    }

    .hero-container {
        padding: 80px 0;
    }

    .hero-card {
        padding: 25px;
    }


    /* ABOUT */

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-image img {
        height: 420px;
    }

    .experience-card {
        right: 15px;

        bottom: -20px;
    }


    /* COURSES */

    .courses-grid {
        grid-template-columns: 1fr;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
    }


    /* TESTIMONIAL */

    .testimonial-grid {
        grid-template-columns: 1fr;
    }


    /* CTA */

    .cta {
        padding: 75px 0;
    }

    .cta h2 {
        font-size: 40px;
    }

}


/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 550px) {

    .announcement-bar {
        font-size: 12px;
    }

    .navbar {
        height: 70px;
    }

    .logo-icon {
        width: 42px;
        height: 42px;

        font-size: 20px;
    }

    .logo-content h2 {
        font-size: 16px;
    }

    .logo-content span {
        font-size: 11px;
    }

    .nav-menu {
        top: 70px;
    }


    /* HERO */

    .hero h1 {
        font-size: 42px;
    }

    .hero-content > p {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-trust {
        gap: 15px;
    }

    .trust-item strong {
        font-size: 20px;
    }


    /* STATS */

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat-box {
        border-right: none;

        border-bottom: 1px solid var(--border);
    }

    .stat-box:nth-child(2) {
        border-bottom: 1px solid var(--border);
    }

    .stat-box:last-child {
        border-bottom: none;
    }


    /* ABOUT */

    .about-image img {
        height: 350px;
    }

    .experience-card {
        position: relative;

        right: auto;
        bottom: auto;

        margin-top: 15px;

        justify-content: center;
    }


    /* WHY */

    .why-grid {
        grid-template-columns: 1fr;
    }


    /* PROCESS */

    .process-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    /* CTA */

    .cta h2 {
        font-size: 34px;
    }


    /* FOOTER */

    .footer-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }

    .footer {
        padding-top: 60px;
    }

}