:root {
    --red: #E31E24;
    --green: #4FB878;
    --green-deep: #2F8F62;
    --lime: #CEDC27;
    --navy: #1D1F2B;
    --navy-soft: #2A2D3D;
    --ink: #16171F;
    --ink-soft: #5B5D6B;
    --cream: #FAF9F6;
    --white: #FFFFFF;
    --line: #E7E5DF;
    --radius: 14px;
    --font-display: 'Anton', sans-serif;
    --font-body: 'Inter', sans-serif;
    --shadow: 0 8px 24px rgba(20, 20, 30, 0.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.wrap {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    * {
        animation-duration: 0.001ms !important;
        transition-duration: 0.001ms !important;
    }
}

/* ---------- NAV ---------- */
.nav {
    position: relative;
    z-index: 30;
    padding: 18px 0 0;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.brand {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand .b1 {
    font-family: var(--font-display);
    font-size: 22px;
    letter-spacing: 0.5px;
    color: var(--red);
}

.brand .b2 {
    font-family: var(--font-display);
    font-size: 14px;
    letter-spacing: 2px;
    color: var(--navy);
    margin-top: 2px;
}

.brand .b2 span {
    color: var(--green-deep);
}

.social-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px 9px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13.5px;
    letter-spacing: 0.2px;
    box-shadow: var(--shadow);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    border: 1px solid transparent;
}

.pill-btn:hover {
    transform: translateY(-2px);
}

.pill-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.pill-yt {
    background: var(--red);
    color: #fff;
}

.pill-ig {
    background: linear-gradient(135deg, #f9ce34 0%, #ee2a7b 55%, #6228d7 100%);
    color: #fff;
}

.pill-text {
    white-space: nowrap;
}

.hero {

    position: relative;
    overflow: hidden;

    background: url("https://cdn.motion.ac.in/ssp/img/maharashtra-class-10th-notes/banner-img.jpg") center/cover no-repeat;

    padding: 40px 0 50px;
}

.hero-content {

    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;
}



.tag {
    display: inline-block;
    background: #d7ff00;
    padding: 10px 30px;
    border-radius: 40px;
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 10px;
}

.hero h1 {

    font-size: 47px;
    text-align: center;
    font-weight: 800;
    color: #e30613;
    margin: 0px 0 15px;
    padding: 0;
    text-transform: uppercase;
}

.hero h1 span {
    color: #111;
}

.hero p {
    font-size: 20px;
    color: #444;
    line-height: 1.6;
}

.hero-btns {

    margin-top: 35px;

    display: flex;
    gap: 15px;
}

.btn-primary {

    background: #e30613;

    color: #fff;

    padding: 14px 34px;

    border-radius: 40px;

    font-weight: 700;
}

.btn-outline {

    border: 2px solid #111;

    color: #111;

    padding: 12px 30px;

    border-radius: 40px;
}

.smartly-logo {
    width: 360px;
    margin: auto;
    margin-top: 0px;
}

.sir-image {
    width: 345px;
    position: absolute;
    right: 10%;
    bottom: 0;
}

.hero-left {
    text-align: center;
}

@media(max-width:768px) {

    .hero {
        background: url(https://cdn.motion.ac.in/ssp/img/maharashtra-class-10th-notes/banner-img-mob.jpg) center / cover no-repeat;
        padding: 20px 0 0px;
    }

    .hero-overlay {

        background:
            linear-gradient(180deg,
                rgba(255, 255, 255, .92),
                rgba(255, 255, 255, .75));
    }

    .hero-content {

        display: block;

        text-align: center;
    }

    .left,
    .right {

        width: 100%;
    }

    .hero h1 {

        font-size: 35px;
    }

    .hero p {

        font-size: 17px;

        margin: auto;
    }

    .hero-btns {

        justify-content: center;

        flex-wrap: wrap;
    }

    .smartly-logo {

        width: 240px;

        margin: 30px auto;
        display: block;
    }

    .sir-image {

        width: 290px;
        display: none;
        margin: auto;
    }

    .tag {

        font-size: 15px;
        padding: 8px 22px;
    }

    .tab-btn {
        font-size: 18px;
        padding: 10px 10px;
    }

}

/* ---------- TABS ---------- */
.tabs-band {
    background: var(--cream);
    padding: 0 0 6px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 40px 0 26px;
    flex-wrap: wrap;
}

.tab-btn {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: 16px;
    letter-spacing: 0.5px;
    padding: 13px 30px;
    border-radius: 999px;
    border: 2px solid var(--navy);
    background: transparent;
    color: var(--navy);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tab-btn.active {
    background: var(--navy);
    color: #fff;
}

.tab-btn:not(.active):hover {
    background: rgba(29, 31, 43, 0.06);
}

/* ---------- SUBJECT PANELS ---------- */
.panel {
    display: none;
}

.panel.active {
    display: block;
}

.subjects {
    background: var(--cream);
    padding: 6px 0 64px;
}

.accordion {
    max-width: 840px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.acc-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20, 20, 30, 0.04);
}

.acc-item.extra {
    border-color: var(--lime);
    box-shadow: 0 2px 14px rgba(206, 220, 39, 0.28);
}

.acc-head {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.acc-head-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.acc-index {
    font-family: var(--font-display);
    font-size: 13px;
    color: #fff;
    background: var(--green);
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.acc-item.extra .acc-index {
    background: var(--lime);
    color: var(--navy);
}

.acc-title {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(16px, 2.4vw, 20px);
    color: var(--navy);
    letter-spacing: 0.3px;
}

.acc-sub {
    font-size: 12.5px;
    color: var(--ink-soft);
    font-weight: 500;
    margin-top: 2px;
}

.chev {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.25s ease;
    color: var(--navy);
}

.acc-item.open .chev {
    transform: rotate(180deg);
}

.acc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    border-top: 1px solid transparent;
}

.acc-item.open .acc-body {
    border-top: 1px solid var(--line);
}

.acc-body-inner {
    padding: 6px 22px 22px;
}

table.notes-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14.5px;
}

table.notes-table thead th {
    text-align: left;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 11.5px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--ink-soft);
    padding: 10px 10px;
    border-bottom: 2px solid var(--navy);
}

table.notes-table thead th:last-child,
table.notes-table tbody td:last-child {
    text-align: right;
    width: 120px;
}

table.notes-table tbody td {
    padding: 14px 10px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
}

.empty-row td {
    padding: 26px 10px;
    text-align: center !important;
    color: var(--ink-soft);
    font-style: italic;
    font-size: 13.5px;
}

.pdf-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 13px;
    border-radius: 999px;
    background: var(--navy);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
}

/* ---------- LEAD FORM ---------- */
.lead {
    background: var(--navy);
    padding: 64px 0;
    position: relative;
    overflow: hidden;
}

.lead::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.14;
}

.lead-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}



@media (max-width:820px) {
    .lead-grid {
        grid-template-columns: 1fr;
    }
}

.lead-head .tag {
    display: inline-block;
    background: var(--lime);
    color: var(--navy);
    font-weight: 800;
    font-size: 11.5px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.lead-head h2 {
    font-family: var(--font-display);
    font-weight: 400;
    font-size: clamp(26px, 3.6vw, 38px);
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.05;
}

.lead-head p {
    color: #c9cad4;
    font-size: 14.5px;
    line-height: 1.6;
    max-width: 420px;
}

.lead-form {
    background: #fff;
    border-radius: 18px;
    padding: 28px;
    width: 70%;
    margin: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.field {
    margin-bottom: 14px;
}

.field label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--ink-soft);
    margin-bottom: 6px;
}

.field input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid var(--line);
    font-size: 14.5px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s ease;
}

.field input:focus {
    border-color: var(--green-deep);
}

.class-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--cream);
    border: 1.5px dashed var(--green-deep);
    color: var(--navy);
    font-weight: 700;
    font-size: 13.5px;
    padding: 10px 14px;
    border-radius: 10px;
}

.submit-btn {
    width: 100%;
    margin-top: 6px;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: var(--red);
    color: #fff;
    font-family: var(--font-display);
    font-size: 16px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: filter 0.15s ease;
}

.submit-btn:hover {
    filter: brightness(1.08);
}

.form-note {
    font-size: 11.5px;
    color: var(--ink-soft);
    text-align: center;
    margin-top: 10px;
}

.submitbtn {
    font-family: Lato;
    font-size: 20px !important;
    font-weight: 600 !important;
    line-height: 24px !important;
    letter-spacing: 0 !important;
    text-align: center !important;
    color: #fff !important;
    margin-top: 0.5rem;
    background: linear-gradient(0deg, #d40000, #d40000), linear-gradient(180deg, #e60000 0, #bb0101 100%) !important;
}

.close {
    position: absolute;
    top: 0;
    right: 10px;
}

.modal-title {
    text-align: center;
}

.modal-dialog {
    max-width: 450px !important;
    margin: 1.75rem auto;
}



.success-msg {
    display: none;
    background: #eafaf1;
    border: 1px solid var(--green-deep);
    color: var(--green-deep);
    font-weight: 600;
    font-size: 13.5px;
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 14px;
    text-align: center;
}

/* ---------- FOOTER ---------- */
footer {
    background: var(--ink);
    color: #a9abb6;
    padding: 40px 0 26px;
}

.foot-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.foot-brand {
    font-family: var(--font-display);
    font-size: 18px;
    color: #fff;
    letter-spacing: 0.5px;
}

.foot-social {
    display: flex;
    gap: 10px;
}

.icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #232430;
    transition: background 0.15s ease, transform 0.15s ease;
}

.icon-btn svg {
    width: 18px;
    height: 18px;
}

.icon-btn:hover {
    transform: translateY(-2px);
}

.icon-btn.yt:hover {
    background: var(--red);
}

.icon-btn.ig:hover {
    background: linear-gradient(135deg, #f9ce34, #ee2a7b, #6228d7);
}

.icon-btn.wa:hover {
    background: #25D366;
}

.foot-copy {
    text-align: center;
    font-size: 12px;
    margin-top: 26px;
    color: #6d6f7c;
}

/* ---------- WHATSAPP FLOAT ---------- */
.wa-float {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 50;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
    animation: pulse 2.4s ease-in-out infinite;
}

.wa-float svg {
    width: 28px;
    height: 28px;
    color: #fff;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
    }

    50% {
        box-shadow: 0 10px 34px rgba(37, 211, 102, 0.7);
    }
}

.download-btn {
    width: 50% !important;
    margin: auto;
}

.mob-banner {
    display: none;
}

@media (max-width:767px) {
    .nav-inner {
        justify-content: center;
        text-align: center;
    }

    .social-row {
        justify-content: center;
    }

    .pill-text {
        display: none;
    }

    .pill-btn {
        padding: 10px;
    }

    .tab-btn {
        width: 160px;
        font-size: 14px;
        padding: 10px 10px;
    }

    .download-btn {
        width: 100% !important;
        font-size: 10px !important;
    }

    table.notes-table tbody td {
        padding: 12px 5px;
        font-size: 11px;
    }

    .hero-copy {
        display: block;
        position: initial;
        padding: 20px;
    }

    .hero-bg {
        padding: 0;
        background: none;
    }

    .mob-banner {
        display: block;
    }

    .hero-sub {
        font-size: 11px;
    }

}