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

:root {
    --primary: #ff6b00;
    --primary-dark: #e85d00;
    --dark: #111827;
    --text: #374151;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e5e7eb;
    --green: #20b15a;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: "Poppins", sans-serif;
    color: var(--dark);
}

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

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

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

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

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

.navbar {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 21px;
    font-weight: 800;
    color: var(--dark);
}

.logo-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--primary);
    display: grid;
    place-items: center;
    color: white;
    font-size: 20px;
}

nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

nav a {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: .2s;
}

nav a:hover {
    color: var(--primary);
}

.nav-btn {
    background: var(--primary);
    color: white !important;
    padding: 11px 19px;
    border-radius: 8px;
}

.nav-btn:hover {
    background: var(--primary-dark);
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    font-size: 27px;
    cursor: pointer;
}

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

.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(255,107,0,.12), transparent 30%),
        linear-gradient(180deg,#fff 0%,#fff8f3 100%);
    padding: 85px 0 95px;
    overflow: hidden;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff0e6;
    color: var(--primary);
    padding: 8px 14px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(40px, 5vw, 66px);
    line-height: 1.08;
    margin-bottom: 22px;
    letter-spacing: -2px;
}

.hero h1 span {
    color: var(--primary);
}

.hero p {
    max-width: 600px;
    font-size: 17px;
    color: #667085;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 13px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 9px;
    font-weight: 700;
    font-size: 14px;
    transition: .25s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 8px 22px rgba(255,107,0,.22);
}

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

.btn-outline {
    border: 1px solid #ddd;
    background: white;
    color: var(--dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.hero-card {
    position: relative;
    min-height: 440px;
    background: linear-gradient(145deg,#171717,#292929);
    border-radius: 28px;
    padding: 35px;
    overflow: hidden;
    box-shadow: 0 25px 70px rgba(0,0,0,.18);
}

.hero-card::before {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: var(--primary);
    opacity: .9;
    right: -80px;
    top: -70px;
    filter: blur(2px);
}

.phone {
    position: absolute;
    width: 185px;
    height: 340px;
    right: 85px;
    bottom: -20px;
    border: 8px solid #111;
    border-radius: 30px;
    background: linear-gradient(150deg,#333,#111);
    box-shadow: 0 30px 50px rgba(0,0,0,.5);
    transform: rotate(-7deg);
}

.phone::after {
    content: "THE BHARAT MOBILE";
    position: absolute;
    left: 15px;
    right: 15px;
    top: 115px;
    color: white;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
}

.hero-floating {
    position: absolute;
    left: 25px;
    bottom: 28px;
    background: white;
    padding: 15px 18px;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0,0,0,.2);
}

.hero-floating strong {
    display: block;
    font-size: 20px;
    color: var(--dark);
}

.hero-floating small {
    color: #777;
}

/* ================= SECTION ================= */

section {
    padding: 90px 0;
}

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-heading .eyebrow {
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 10px;
}

.section-heading h2 {
    font-size: clamp(30px,4vw,43px);
    line-height: 1.15;
    margin-bottom: 13px;
}

.section-heading p {
    color: #6b7280;
}

/* ================= SERVICES ================= */

.services {
    background: var(--light);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 18px;
}

.service-card {
    background: white;
    padding: 28px 23px;
    border-radius: 16px;
    border: 1px solid var(--border);
    transition: .25s;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: #ffd3b5;
    box-shadow: 0 15px 35px rgba(0,0,0,.07);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    background: #fff1e8;
    display: grid;
    place-items: center;
    font-size: 25px;
    margin-bottom: 19px;
}

.service-card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13px;
    color: #6b7280;
}

/* ================= WHATSAPP ================= */

.whatsapp {
    padding: 18px 0;
    background: #20b15a;
    color: white;
}

.whatsapp-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.whatsapp h3 {
    color: white;
    font-size: 18px;
}

.whatsapp p {
    font-size: 13px;
    opacity: .9;
}

.whatsapp-btn {
    background: white;
    color: #159447;
    padding: 11px 18px;
    border-radius: 8px;
    font-weight: 700;
    white-space: nowrap;
}

/* ================= WHY US ================= */

.why-grid {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 65px;
    align-items: center;
}

.why-image {
    min-height: 460px;
    background: linear-gradient(145deg,#111,#303030);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}

.why-image::before {
    content: "100%";
    position: absolute;
    left: 35px;
    top: 35px;
    color: var(--primary);
    font-size: 75px;
    line-height: 1;
    font-weight: 800;
}

.why-image::after {
    content: "PRACTICAL";
    position: absolute;
    left: 40px;
    top: 120px;
    color: white;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 2px;
}

.why-content h2 {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 15px;
}

.why-content > p {
    color: #6b7280;
    margin-bottom: 25px;
}

.benefit-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.benefit {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px;
    background: #fafafa;
    border-radius: 9px;
}

.check {
    flex-shrink: 0;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #eafaf0;
    color: var(--green);
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 900;
}

.benefit span:last-child {
    font-size: 13px;
    font-weight: 600;
}

/* ================= COURSES ================= */

.courses {
    background: var(--light);
}

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

.course-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: .25s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,.08);
}

.course-card.featured {
    border: 2px solid var(--primary);
}

.popular {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--primary);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
}

.course-icon {
    font-size: 30px;
    margin-bottom: 15px;
}

.course-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.price {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 20px;
}

.price small {
    font-size: 12px;
    color: #888;
    font-weight: 500;
}

.course-details {
    border-top: 1px solid var(--border);
    padding-top: 17px;
    margin-bottom: 22px;
}

.course-details div {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 9px;
}

.course-details span:first-child {
    color: #777;
}

.course-details span:last-child {
    font-weight: 700;
    color: var(--dark);
}

.course-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 13px;
    font-weight: 700;
}

.course-card.featured .course-btn {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ================= CTA ================= */

.cta {
    padding: 70px 0;
}

.cta-box {
    background: linear-gradient(120deg,#ff6b00,#ff8533);
    border-radius: 25px;
    padding: 55px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    position: relative;
}

.cta-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border: 50px solid rgba(255,255,255,.1);
    border-radius: 50%;
    right: -100px;
    top: -100px;
}

.cta h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 10px;
}

.cta p {
    opacity: .9;
}

.cta .btn {
    background: white;
    color: var(--primary);
    position: relative;
    z-index: 2;
}

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

.contact {
    background: #111827;
    color: white;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
}

.contact h2 {
    color: white;
    font-size: 40px;
    margin-bottom: 15px;
}

.contact-intro {
    color: #aeb6c4;
    margin-bottom: 30px;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 22px;
}

.contact-icon {
    width: 43px;
    height: 43px;
    border-radius: 10px;
    background: rgba(255,107,0,.15);
    display: grid;
    place-items: center;
    color: var(--primary);
}

.contact-item strong {
    display: block;
    margin-bottom: 2px;
}

.contact-item span {
    color: #aeb6c4;
    font-size: 13px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 18px;
}

.contact-form h3 {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 13px 14px;
    font-family: inherit;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary);
}

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

.submit-btn {
    width: 100%;
    border: 0;
    cursor: pointer;
}

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

footer {
    background: #0b1019;
    color: #87909f;
    padding: 23px 0;
    text-align: center;
    font-size: 12px;
}

/* ================= RESPONSIVE ================= */

@media(max-width: 950px) {

    #nav {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .hero-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 60px 0;
    }

    .hero-card {
        min-height: 390px;
    }

    .service-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .course-grid {
        grid-template-columns: 1fr;
        max-width: 550px;
        margin: auto;
    }

    .why-image {
        min-height: 350px;
    }
}

@media(max-width: 600px) {

    section {
        padding: 65px 0;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 15px;
    }

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

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

    .whatsapp-inner,
    .cta-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .cta-box {
        padding: 35px 25px;
    }

    .cta h2,
    .contact h2 {
        font-size: 30px;
    }

    .hero-card {
        min-height: 340px;
    }

    .phone {
        right: 40px;
        width: 155px;
        height: 290px;
    }
}

/* =====================================================
   MULTIPAGE ADDITIONS
   ===================================================== */

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

.nav-btn.active {
    color: white !important;
}

/* ================= PAGE HERO (inner pages) ================= */

.page-hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(255,107,0,.14), transparent 35%),
        linear-gradient(180deg,#fff 0%,#fff8f3 100%);
    padding: 70px 0 60px;
    text-align: center;
    border-bottom: 1px solid #f3e6dc;
}

.page-hero h1 {
    font-size: clamp(32px, 4.5vw, 52px);
    line-height: 1.12;
    letter-spacing: -1px;
    margin-bottom: 12px;
}

.page-hero h1 span {
    color: var(--primary);
}

.page-hero p {
    color: #667085;
    max-width: 620px;
    margin: 0 auto;
}

.breadcrumb {
    font-size: 13px;
    color: #98a2b3;
    margin-bottom: 14px;
}

.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
}

.section-cta {
    text-align: center;
    margin-top: 40px;
}

/* ================= STATS ================= */

.stats {
    padding: 0;
    margin-top: -35px;
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
}

.stat {
    padding: 26px 20px;
    text-align: center;
    border-right: 1px solid var(--border);
}

.stat:last-child {
    border-right: 0;
}

.stat strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 30px;
    color: var(--primary);
    line-height: 1.1;
}

.stat span {
    font-size: 13px;
    color: #6b7280;
    font-weight: 600;
}

/* ================= COURSE DETAIL ================= */

.course-detail-grid {
    display: grid;
    grid-template-columns: 1.3fr .9fr;
    gap: 40px;
    align-items: start;
}

.detail-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 22px;
}

.detail-card h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 12px;
}

.detail-meta div {
    background: #fff7f1;
    border-radius: 12px;
    padding: 14px;
}

.detail-meta small {
    display: block;
    color: #8a8f98;
    font-size: 12px;
}

.detail-meta strong {
    color: var(--dark);
    font-size: 15px;
}

.syllabus-list {
    list-style: none;
    display: grid;
    gap: 10px;
}

.syllabus-list li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 13px 15px;
    background: #fafafa;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
}

.syllabus-list .num {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
}

.sticky-form {
    position: sticky;
    top: 100px;
    border: 1px solid var(--border);
    box-shadow: 0 20px 45px rgba(0,0,0,.07);
}

.course-short {
    font-size: 13px;
    color: #6b7280;
    margin: -6px 0 16px;
}

/* ================= FORMS ================= */

.form-group select {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 13px 14px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    background: white;
    color: var(--text);
}

.form-group select:focus {
    border-color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.alert {
    padding: 13px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.alert-success {
    background: #eafaf0;
    color: #127a3d;
    border: 1px solid #b8ebcb;
}

.alert-error {
    background: #fff1f0;
    color: #b42318;
    border: 1px solid #fecdca;
}

.map-wrap {
    margin-top: 10px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.1);
}

.map-wrap iframe {
    width: 100%;
    height: 230px;
    border: 0;
    display: block;
}

.empty-state {
    text-align: center;
    color: #8a8f98;
    padding: 40px;
}

/* ================= FOOTER (multi column) ================= */

.site-footer {
    background: #0b1019;
    color: #87909f;
    padding: 60px 0 0;
    text-align: left;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 40px;
    padding-bottom: 40px;
}

.site-footer .logo {
    color: white;
    margin-bottom: 14px;
}

.site-footer h4 {
    color: white;
    font-size: 15px;
    margin-bottom: 16px;
}

.site-footer ul {
    list-style: none;
    display: grid;
    gap: 9px;
}

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

.footer-bottom {
    border-top: 1px solid #1d2533;
    padding: 20px 0;
    text-align: center;
    font-size: 12px;
}

.float-wa {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    font-size: 26px;
    box-shadow: 0 10px 25px rgba(0,0,0,.25);
    z-index: 999;
    transition: .2s;
}

.float-wa:hover {
    transform: scale(1.08);
}

@media(max-width: 950px) {
    .course-detail-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .sticky-form {
        position: static;
    }

    .stats-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stat:nth-child(2) {
        border-right: 0;
    }

    .stat:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .detail-meta {
        grid-template-columns: repeat(2,1fr);
    }
}

@media(max-width: 600px) {
    .footer-grid,
    .form-row {
        grid-template-columns: 1fr;
    }

    .detail-card {
        padding: 22px;
    }
}

/* ================= SIDEBAR MENU (mobile) ================= */

.side-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17,24,39,.55);
    opacity: 0;
    visibility: hidden;
    transition: .3s;
    z-index: 1100;
}

.side-menu {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(300px, 85vw);
    background: white;
    z-index: 1200;
    transform: translateX(-100%);
    transition: transform .3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: 10px 0 40px rgba(0,0,0,.15);
    overflow-y: auto;
}

body.menu-open {
    overflow: hidden;
}

body.menu-open .side-overlay {
    opacity: 1;
    visibility: visible;
}

body.menu-open .side-menu {
    transform: none;
}

.side-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
}

.side-head .logo {
    font-size: 17px;
}

.side-head .logo-icon {
    width: 36px;
    height: 36px;
    font-size: 17px;
}

.side-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: #f3f4f6;
    font-size: 18px;
    cursor: pointer;
}

.side-links {
    display: grid;
    gap: 4px;
    padding: 16px 14px;
}

.side-links a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
    color: var(--dark);
    transition: .2s;
}

.side-links a:hover {
    background: #fff4ec;
    color: var(--primary);
}

.side-links a.active {
    background: var(--primary);
    color: white;
}

.side-links .ico {
    width: 22px;
    text-align: center;
}

.side-cta {
    padding: 0 20px 16px;
    display: grid;
    gap: 10px;
}

.side-cta .btn {
    width: 100%;
}

.btn-wa {
    background: #20b15a;
    color: white;
}

.side-contact {
    margin-top: auto;
    padding: 18px 20px 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: #6b7280;
    display: grid;
    gap: 8px;
}

@media(min-width: 951px) {
    .side-menu,
    .side-overlay {
        display: none;
    }
}
