/*
|--------------------------------------------------------------------------
| ABM Books - Home Design 2
| File: public/assets/css/home2.css
|--------------------------------------------------------------------------
| Every page-specific selector is prefixed with home2- to keep this design
| independent from the existing homepage CSS.
*/

:root {
    --home2-blue: #075fbd;
    --home2-blue-dark: #082d5a;
    --home2-blue-deep: #062449;
    --home2-blue-soft: #eaf6ff;
    --home2-orange: #ff661f;
    --home2-orange-dark: #e95313;
    --home2-green: #12a862;
    --home2-text: #0a2b55;
    --home2-muted: #60728b;
    --home2-line: #dce9f5;
    --home2-bg: #f8fbff;
    --home2-card: #ffffff;
    --home2-shadow: 0 12px 35px rgba(16, 62, 109, 0.10);
    --home2-radius: 16px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.home2-body {
    margin: 0;
    min-width: 320px;
    background: #ffffff;
    color: var(--home2-text);
    font-family: "Inter", "Noto Sans Devanagari", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

.home2-body a {
    color: inherit;
    text-decoration: none;
}

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

.home2-shell {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.home2-skip {
    position: fixed;
    z-index: 9999;
    top: 12px;
    left: 12px;
    transform: translateY(-150%);
    padding: 10px 14px;
    border-radius: 8px;
    background: #ffffff;
    color: var(--home2-blue-dark);
    box-shadow: var(--home2-shadow);
}

.home2-skip:focus {
    transform: translateY(0);
}

/* Header */
.home2-header {
    position: sticky;
    z-index: 1000;
    top: 0;
    border-bottom: 1px solid rgba(8, 45, 90, 0.08);
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
}

.home2-nav-wrap {
    min-height: 72px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 28px;
}

.home2-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 190px;
}

.home2-brand-icon {
    position: relative;
    width: 54px;
    height: 42px;
    flex: 0 0 54px;
}

.home2-brand-icon > span {
    position: absolute;
    bottom: 3px;
    width: 24px;
    height: 33px;
    border: 3px solid var(--home2-blue);
    background: #ffffff;
}

.home2-brand-icon > span:first-child {
    left: 3px;
    border-radius: 3px 12px 3px 3px;
    transform: skewY(8deg);
}

.home2-brand-icon > span:nth-child(2) {
    right: 3px;
    border-radius: 12px 3px 3px 3px;
    transform: skewY(-8deg);
}

.home2-brand-icon > i {
    position: absolute;
    top: 0;
    left: 25px;
    width: 10px;
    height: 24px;
    border-radius: 10px 0;
    background: var(--home2-orange);
    transform: rotate(25deg);
}

.home2-brand-text {
    display: grid;
    gap: 1px;
}

.home2-brand-text strong {
    font-size: 25px;
    line-height: 1;
    letter-spacing: -1px;
    color: var(--home2-orange);
}

.home2-brand-text strong b {
    color: var(--home2-blue);
}

.home2-brand-text small {
    font-size: 9px;
    font-weight: 700;
    color: var(--home2-blue-dark);
}

.home2-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 26px;
    font-size: 13px;
    font-weight: 700;
}

.home2-nav a {
    position: relative;
    padding: 26px 0 23px;
    white-space: nowrap;
}

.home2-nav a::after {
    content: "";
    position: absolute;
    right: 50%;
    bottom: 16px;
    left: 50%;
    height: 2px;
    border-radius: 5px;
    background: var(--home2-blue);
    transition: left .2s ease, right .2s ease;
}

.home2-nav a:hover::after,
.home2-nav a.is-active::after {
    left: 0;
    right: 0;
}

.home2-nav-chevron {
    font-size: 12px;
    color: #6984a2;
}

.home2-top-search {
    width: 245px;
    height: 42px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border: 1px solid #d5e3ef;
    border-radius: 999px;
    background: #ffffff;
}

.home2-top-search input {
    width: 100%;
    min-width: 0;
    height: 100%;
    padding: 0 7px 0 18px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--home2-text);
    font: inherit;
    font-size: 12px;
}

.home2-top-search button {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 0;
    border-radius: 50%;
    background: var(--home2-blue);
    color: #ffffff;
    font-size: 23px;
    cursor: pointer;
}

.home2-menu-toggle,
.home2-menu-button {
    display: none;
}

/* Hero */
.home2-hero {
    position: relative;
    min-height: 490px;
    overflow: hidden;
    background:
        radial-gradient(circle at 25% 20%, rgba(255,255,255,.98) 0 20%, rgba(255,255,255,.66) 42%, transparent 65%),
        linear-gradient(105deg, #f8fcff 0%, #e8f6ff 50%, #cfeeff 100%);
}

.home2-hero::before {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 120px;
    background: linear-gradient(to top, rgba(255,255,255,.95), transparent);
    pointer-events: none;
}

.home2-hero-backdrop {
    position: absolute;
    inset: 0;
    opacity: .45;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 68% 26%, rgba(255,255,255,.9) 0 4%, transparent 5%),
        linear-gradient(165deg, transparent 0 52%, rgba(67,139,194,.18) 52.3% 53.5%, transparent 54%),
        linear-gradient(18deg, transparent 0 66%, rgba(62,132,184,.15) 66.3% 67.8%, transparent 68%);
}

.home2-hero-layout {
    position: relative;
    z-index: 2;
    min-height: 490px;
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
}

.home2-hero-copy {
    padding: 65px 30px 58px 0;
}

.home2-overline {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--home2-blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .04em;
}

.home2-hero-copy h1 {
    max-width: 620px;
    margin: 0;
    color: #092e61;
    font-size: clamp(42px, 4.2vw, 63px);
    line-height: 1.01;
    letter-spacing: -2.6px;
}

.home2-hero-copy p {
    max-width: 590px;
    margin: 18px 0 0;
    color: #365574;
    font-size: 16px;
    line-height: 1.7;
}

.home2-hero-actions {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-top: 26px;
}

.home2-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 24px;
    border-radius: 9px;
    font-weight: 800;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.home2-btn:hover {
    transform: translateY(-2px);
}

.home2-btn-orange {
    background: linear-gradient(135deg, #ff7b35, var(--home2-orange));
    color: #ffffff !important;
    box-shadow: 0 12px 25px rgba(255, 102, 31, .28);
}

.home2-btn-orange:hover {
    background: linear-gradient(135deg, #ff8648, var(--home2-orange-dark));
    box-shadow: 0 15px 30px rgba(255, 102, 31, .34);
}

.home2-watch-link {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    color: #163c68;
    font-size: 13px;
    font-weight: 800;
}

.home2-play {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 2px solid var(--home2-blue);
    border-radius: 50%;
    color: var(--home2-blue);
    font-size: 11px;
}

.home2-hero-trust {
    max-width: 670px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 35px;
}

.home2-trust-item {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-right: 16px;
}

.home2-trust-item + .home2-trust-item {
    padding-left: 20px;
    border-left: 1px solid #cfe0ef;
}

.home2-trust-icon {
    flex: 0 0 auto;
    color: var(--home2-blue);
    font-size: 20px;
    letter-spacing: -4px;
}

.home2-trust-item > span:last-child {
    display: grid;
    gap: 2px;
}

.home2-trust-item b {
    color: #183a64;
    font-size: 11px;
}

.home2-trust-item small {
    color: #6b8198;
    font-size: 9px;
}

.home2-hero-art {
    position: relative;
    align-self: stretch;
    min-height: 490px;
}

.home2-student-photo {
    position: absolute;
    z-index: 4;
    right: 6%;
    bottom: 0;
    width: 58%;
    height: 94%;
    border-radius: 47% 47% 0 0;
    background:
        linear-gradient(to top, rgba(5, 59, 116, .14), transparent 40%),
        url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=900&q=86") center 25% / cover no-repeat;
    box-shadow: inset 35px 0 80px rgba(222,244,255,.55);
    clip-path: polygon(9% 0, 100% 0, 100% 100%, 0 100%, 1% 24%);
}

.home2-mountain {
    position: absolute;
    z-index: 1;
    bottom: 85px;
    width: 310px;
    height: 195px;
    opacity: .3;
    background: linear-gradient(135deg, transparent 50%, #79b5d7 50%);
    transform: rotate(45deg) skew(-8deg, -8deg);
}

.home2-mountain-one {
    left: 0;
}

.home2-mountain-two {
    left: 200px;
    bottom: 112px;
    width: 230px;
    height: 145px;
    opacity: .18;
}

.home2-temple {
    position: absolute;
    z-index: 3;
    right: 1%;
    bottom: 52px;
    width: 112px;
    height: 180px;
    opacity: .72;
}

.home2-temple span {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.home2-temple-top {
    top: 0;
    width: 4px;
    height: 35px;
    background: #b47a22;
}

.home2-temple-top::after {
    content: "";
    position: absolute;
    top: -3px;
    left: -5px;
    width: 14px;
    height: 8px;
    border-radius: 50%;
    background: #d69b35;
}

.home2-temple-roof {
    top: 34px;
    width: 110px;
    height: 36px;
    clip-path: polygon(50% 0, 100% 78%, 74% 78%, 72% 100%, 28% 100%, 26% 78%, 0 78%);
    background: #e2a236;
}

.home2-temple-body {
    top: 72px;
    width: 58px;
    height: 108px;
    border: 7px solid #e3a74c;
    border-bottom: 0;
    background: repeating-linear-gradient(90deg, #b6622e 0 8px, #82391c 8px 15px);
}

.home2-book-stack {
    position: absolute;
    z-index: 7;
    right: 17%;
    bottom: 7px;
    width: 250px;
    height: 150px;
}

.home2-stack-book {
    position: absolute;
    right: 0;
    width: 235px;
    height: 74px;
    overflow: hidden;
    border: 3px solid rgba(255,255,255,.82);
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 12px 24px rgba(0, 41, 83, .18);
    transform-origin: center;
}

.home2-stack-book img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home2-stack-book-1 {
    z-index: 3;
    bottom: 74px;
    transform: rotate(-2deg);
}

.home2-stack-book-2 {
    z-index: 2;
    right: 8px;
    bottom: 38px;
    transform: rotate(1deg);
}

.home2-stack-book-3 {
    z-index: 1;
    right: 15px;
    bottom: 0;
    transform: rotate(-1deg);
}

.home2-stack-demo {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .1em;
}

.home2-stack-demo.is-blue { background: #1671c9; }
.home2-stack-demo.is-orange { background: #ff7a27; }
.home2-stack-demo.is-green { background: #159a56; }

.home2-hand-note {
    position: absolute;
    z-index: 8;
    color: #104b93;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    font-style: italic;
    line-height: 1.05;
    transform: rotate(-7deg);
}

.home2-hand-note strong {
    font-weight: 500;
}

.home2-note-one {
    top: 132px;
    left: 1%;
}

.home2-note-two {
    right: -1%;
    bottom: 48px;
    padding: 15px 18px;
    border-radius: 10px 0 0 10px;
    background: rgba(9, 92, 177, .82);
    color: #ffffff;
    font-size: 18px;
    transform: rotate(-7deg);
}

/* Global home sections */
.home2-section {
    padding: 34px 0 38px;
}

.home2-section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 24px;
}

.home2-section-heading h2 {
    margin: 0;
    color: #092e61;
    font-size: 29px;
    letter-spacing: -.8px;
}

.home2-heading-line {
    display: block;
    width: 42px;
    height: 3px;
    margin-top: 8px;
    border-radius: 5px;
    background: var(--home2-orange);
}

.home2-section-heading > a {
    margin-bottom: 8px;
    color: var(--home2-blue);
    font-size: 12px;
    font-weight: 800;
}

.home2-section-heading > a:hover {
    color: var(--home2-orange);
}

.home2-api-notice {
    padding: 10px 0;
    background: #fff7e7;
    color: #74480f;
    font-size: 13px;
    text-align: center;
}

.home2-empty {
    padding: 28px;
    border: 1px dashed #bdd2e4;
    border-radius: 12px;
    background: #f8fbff;
    color: #60728b;
    text-align: center;
}

/* Class cards */
.home2-classes {
    background: #ffffff;
}

.home2-class-grid {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    gap: 13px;
}

.home2-class-card {
    min-height: 122px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 7px;
    border: 1px solid #e1ecf5;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(20, 64, 108, .07);
    text-align: center;
    transition: transform .18s ease, box-shadow .18s ease;
}

.home2-class-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 13px 27px rgba(20, 64, 108, .13);
}

.home2-class-card small {
    color: currentColor;
    font-size: 11px;
    font-weight: 800;
}

.home2-class-card strong {
    margin: 1px 0 5px;
    font-size: 37px;
    line-height: 1;
}

.home2-class-card span {
    min-height: 26px;
    color: #55708d;
    font-size: 8px;
    font-weight: 700;
    line-height: 1.25;
}

.home2-class-card:nth-child(10n + 1) { color: #e13b52; background: #fffafb; }
.home2-class-card:nth-child(10n + 2) { color: #f07a22; background: #fffdf9; }
.home2-class-card:nth-child(10n + 3) { color: #e4a400; background: #fffefa; }
.home2-class-card:nth-child(10n + 4) { color: #17a75e; background: #fbfffd; }
.home2-class-card:nth-child(10n + 5) { color: #1aa765; background: #fafffc; }
.home2-class-card:nth-child(10n + 6) { color: #1674c7; background: #f9fcff; }
.home2-class-card:nth-child(10n + 7) { color: #1877c3; background: #f9fcff; }
.home2-class-card:nth-child(10n + 8) { color: #6550b8; background: #fcfaff; }
.home2-class-card:nth-child(10n + 9) { color: #8a3ca5; background: #fffbff; }
.home2-class-card:nth-child(10n) { color: #bd2f66; background: #fffafd; }

/* Featured books */
.home2-featured-books {
    background: linear-gradient(180deg, #ffffff, #f9fcff);
}

.home2-featured-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.home2-book-card {
    overflow: hidden;
    border: 1px solid #e2ecf5;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 7px 22px rgba(11, 56, 101, .07);
    transition: transform .18s ease, box-shadow .18s ease;
}

.home2-book-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(11, 56, 101, .13);
}

.home2-book-cover {
    height: 255px;
    display: block;
    padding: 13px 20px 0;
    background: linear-gradient(160deg, #f8fbfd, #eef5fa);
}

.home2-book-cover img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 10px 10px rgba(0, 30, 60, .12));
}

.home2-cover-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    border-radius: 5px 5px 0 0;
    background:
        linear-gradient(160deg, rgba(255,255,255,.3), transparent),
        linear-gradient(145deg, #22a05e, #0d5caa);
    color: #ffffff;
    text-align: center;
}

.home2-cover-fallback span {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.home2-cover-fallback strong {
    font-size: 19px;
    line-height: 1.15;
}

.home2-book-card-body {
    padding: 12px 15px 14px;
}

.home2-book-class {
    display: inline-flex;
    padding: 4px 8px;
    border-radius: 5px;
    background: #15a45f;
    color: #ffffff;
    font-size: 9px;
    font-weight: 800;
}

.home2-book-card h3 {
    min-height: 40px;
    margin: 8px 0 4px;
    font-size: 14px;
    line-height: 1.35;
}

.home2-book-card h3 a:hover {
    color: var(--home2-blue);
}

.home2-book-card p {
    margin: 0 0 12px;
    color: #677b91;
    font-size: 10px;
}

.home2-book-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home2-book-bottom strong {
    color: var(--home2-orange);
    font-size: 14px;
}

.home2-book-bottom > a {
    width: 31px;
    height: 31px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: #eaf5ff;
    color: var(--home2-blue);
    font-weight: 900;
}

/* New releases */
.home2-new-releases {
    padding-top: 26px;
    background: #ffffff;
}

.home2-new-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
}

.home2-new-card {
    min-height: 98px;
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    gap: 11px;
    padding: 9px;
    border: 1px solid #e4edf5;
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(14, 58, 102, .06);
    transition: transform .18s ease, border-color .18s ease;
}

.home2-new-card:hover {
    transform: translateY(-3px);
    border-color: #b9d7ee;
}

.home2-new-thumb {
    width: 62px;
    height: 80px;
    overflow: hidden;
    display: grid;
    place-items: center;
    border-radius: 5px;
    background: #eef6fd;
}

.home2-new-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home2-mini-cover {
    color: var(--home2-blue);
    font-size: 10px;
    font-weight: 900;
}

.home2-new-copy {
    min-width: 0;
    display: grid;
    gap: 8px;
}

.home2-new-copy strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 11px;
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.home2-new-copy small {
    color: var(--home2-orange);
    font-size: 10px;
    font-weight: 800;
}

/* Authors */
.home2-authors-section {
    background: #fbfdff;
}

.home2-authors-layout {
    display: grid;
    grid-template-columns: 1fr 225px;
    gap: 18px;
}

.home2-author-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.home2-author-card {
    min-height: 162px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px 12px;
    border: 1px solid #e2edf5;
    border-radius: 11px;
    background: #ffffff;
    box-shadow: 0 6px 18px rgba(15, 58, 100, .06);
    text-align: center;
    transition: transform .18s ease;
}

.home2-author-card:hover {
    transform: translateY(-4px);
}

.home2-author-photo {
    width: 68px;
    height: 68px;
    overflow: hidden;
    display: grid;
    place-items: center;
    margin-bottom: 10px;
    border: 4px solid #eef5fb;
    border-radius: 50%;
    background: linear-gradient(145deg, #dcecff, #edf5fd);
}

.home2-author-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home2-author-photo > span {
    color: var(--home2-blue);
    font-size: 25px;
    font-weight: 900;
}

.home2-author-card strong {
    margin-bottom: 4px;
    font-size: 11px;
}

.home2-author-card small {
    color: #63788d;
    font-size: 8px;
    line-height: 1.35;
}

.home2-author-quote {
    min-height: 162px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 22px 26px;
    border-radius: 11px;
    background: linear-gradient(145deg, #ecf7ff, #dceeff);
    color: #234568;
}

.home2-author-quote > span {
    height: 35px;
    color: var(--home2-blue);
    font: 60px/1 Georgia, serif;
}

.home2-author-quote p {
    margin: 0;
    font: italic 17px/1.5 Georgia, serif;
}

.home2-author-quote cite {
    margin-top: 12px;
    font-size: 9px;
    font-style: normal;
    font-weight: 800;
    text-align: right;
}

/* QR section */
.home2-qr-section {
    padding: 34px 0 28px;
    overflow: hidden;
    border-top: 1px solid #e2edf5;
    background: #ffffff;
}

.home2-qr-layout {
    display: grid;
    grid-template-columns: 340px 1fr 220px;
    align-items: center;
    gap: 42px;
}

.home2-qr-visual {
    position: relative;
    height: 210px;
}

.home2-open-book {
    position: absolute;
    left: 0;
    bottom: 20px;
    width: 250px;
    height: 125px;
    transform: perspective(500px) rotateX(8deg);
}

.home2-book-page {
    position: absolute;
    bottom: 0;
    width: 128px;
    height: 108px;
    border: 1px solid #c9d8e5;
    background: linear-gradient(90deg, #fff 0%, #f1f4f7 100%);
    box-shadow: 0 12px 22px rgba(0, 46, 87, .13);
}

.home2-page-left {
    left: 0;
    border-radius: 5px 2px 12px 18px;
    transform: skewY(-6deg);
}

.home2-page-right {
    right: 0;
    border-radius: 2px 5px 18px 12px;
    transform: skewY(6deg);
}

.home2-fake-qr {
    position: absolute;
    z-index: 3;
    top: 28px;
    left: 59px;
    width: 62px;
    height: 62px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 6px;
    background: #ffffff;
}

.home2-fake-qr i {
    display: block;
    background: #071d35;
}

.home2-fake-qr i:nth-child(2),
.home2-fake-qr i:nth-child(4),
.home2-fake-qr i:nth-child(8) {
    background: transparent;
    border: 3px solid #071d35;
}

.home2-phone {
    position: absolute;
    z-index: 4;
    right: 25px;
    bottom: 3px;
    width: 82px;
    height: 150px;
    padding: 16px 6px 8px;
    border: 7px solid #142a3f;
    border-radius: 17px;
    background: #e9f7ff;
    box-shadow: 0 16px 25px rgba(0, 44, 83, .22);
    transform: rotate(5deg);
}

.home2-phone-speaker {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 30px;
    height: 4px;
    border-radius: 5px;
    background: #1c3144;
    transform: translateX(-50%);
}

.home2-phone-screen {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    border-radius: 8px;
    background: linear-gradient(160deg, #46a5e9, #0a6ac1);
    color: #ffffff;
    font-size: 30px;
}

.home2-scan-badge {
    position: absolute;
    z-index: 5;
    right: 82px;
    top: 15px;
    width: 78px;
    height: 78px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--home2-orange);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(255, 102, 31, .28);
    font-size: 11px;
    font-weight: 900;
    line-height: 1.1;
    text-align: center;
}

.home2-qr-copy h2 {
    margin: 0 0 12px;
    color: #092e61;
    font-size: 28px;
}

.home2-qr-copy > p {
    max-width: 580px;
    margin: 0;
    color: #58708a;
    font-size: 14px;
    line-height: 1.65;
}

.home2-resource-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 25px;
}

.home2-resource-grid > div {
    display: grid;
    justify-items: center;
    gap: 8px;
    text-align: center;
}

.home2-resource-grid span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 2px solid var(--home2-blue);
    border-radius: 50%;
    color: var(--home2-blue);
    font-weight: 900;
}

.home2-resource-grid small {
    color: #375879;
    font-size: 9px;
    font-weight: 700;
}

.home2-qr-note {
    color: #135394;
    font: italic 26px/1.15 Georgia, serif;
    text-align: center;
    transform: rotate(-5deg);
}

.home2-qr-note strong {
    font-weight: 500;
}

/* CTA */
.home2-contact-strip {
    position: relative;
    overflow: hidden;
    padding: 22px 0;
    background: linear-gradient(90deg, #238bd2, #176fc0 48%, #0a5ba5);
    color: #ffffff;
}

.home2-contact-strip::after {
    content: "";
    position: absolute;
    right: -80px;
    bottom: -40px;
    width: 420px;
    height: 140px;
    opacity: .2;
    background: linear-gradient(150deg, transparent 50%, #ffffff 50%);
    transform: rotate(8deg);
}

.home2-contact-layout {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 115px 1fr auto;
    align-items: center;
    gap: 26px;
}

.home2-contact-student {
    width: 105px;
    height: 105px;
    align-self: end;
    border-radius: 48% 48% 12px 12px;
    background:
        linear-gradient(to top, rgba(2,70,130,.25), transparent),
        url("https://images.unsplash.com/photo-1503676382389-4809596d5290?auto=format&fit=crop&w=400&q=82") center 25% / cover no-repeat;
}

.home2-contact-copy h2 {
    margin: 0 0 5px;
    font-size: 23px;
}

.home2-contact-copy p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 12px;
    line-height: 1.55;
}

/* Footer */
.home2-footer {
    background: linear-gradient(180deg, #073b70, #062d57);
    color: #d9ebff;
}

.home2-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .75fr 1fr 1fr;
    gap: 42px;
    padding-block: 34px 30px;
}

.home2-brand.is-footer .home2-brand-text strong,
.home2-brand.is-footer .home2-brand-text strong b {
    color: #ffffff;
}

.home2-brand.is-footer .home2-brand-text small {
    color: #cbe3fb;
}

.home2-brand.is-footer .home2-brand-icon > span {
    border-color: #ffffff;
    background: transparent;
}

.home2-footer-brand > p {
    max-width: 280px;
    margin: 18px 0 0;
    color: #c5ddf5;
    font-size: 12px;
    line-height: 1.65;
}

.home2-footer-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 11px;
}

.home2-footer-column h3 {
    margin: 2px 0 7px;
    color: #ffffff;
    font-size: 13px;
}

.home2-footer-column a {
    color: #d5e8fa;
}

.home2-footer-column a:hover {
    color: #ffffff;
}

.home2-footer-social > div {
    display: flex;
    gap: 7px;
}

.home2-footer-social > div a {
    width: 27px;
    height: 27px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    color: #ffffff;
    font-size: 10px;
    font-weight: 900;
}

.home2-footer-social > p {
    margin-top: 12px;
    color: #dcecff;
    font: italic 15px/1.3 Georgia, serif;
}

.home2-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.1);
    background: rgba(0,0,0,.08);
}

.home2-footer-bottom .home2-shell {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    color: #aac7e3;
    font-size: 9px;
}

.home2-footer-bottom span:last-child {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home2-footer-bottom a:hover {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 1180px) {
    .home2-nav-wrap {
        gap: 18px;
    }

    .home2-nav {
        gap: 17px;
        font-size: 12px;
    }

    .home2-top-search {
        width: 190px;
    }

    .home2-class-grid {
        grid-template-columns: repeat(5, 1fr);
    }

    .home2-featured-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .home2-featured-grid .home2-book-card:nth-child(5) {
        display: none;
    }

    .home2-new-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home2-qr-layout {
        grid-template-columns: 300px 1fr;
    }

    .home2-qr-note {
        display: none;
    }
}

@media (max-width: 980px) {
    .home2-shell {
        width: min(100% - 30px, 900px);
    }

    .home2-nav-wrap {
        grid-template-columns: auto auto;
        justify-content: space-between;
    }

    .home2-menu-button {
        width: 43px;
        height: 43px;
        display: grid;
        align-content: center;
        gap: 5px;
        padding: 9px;
        border: 1px solid #d8e6f2;
        border-radius: 9px;
        cursor: pointer;
    }

    .home2-menu-button span {
        display: block;
        height: 2px;
        border-radius: 5px;
        background: var(--home2-blue-dark);
    }

    .home2-nav,
    .home2-top-search {
        display: none;
    }

    .home2-menu-toggle:checked ~ .home2-nav {
        position: absolute;
        top: 72px;
        right: 15px;
        left: 15px;
        display: grid;
        gap: 0;
        padding: 10px 18px 18px;
        border: 1px solid #dce9f4;
        border-radius: 0 0 14px 14px;
        background: #ffffff;
        box-shadow: 0 20px 30px rgba(9, 45, 83, .12);
    }

    .home2-menu-toggle:checked ~ .home2-nav a {
        padding: 12px 4px;
        border-bottom: 1px solid #edf3f8;
    }

    .home2-menu-toggle:checked ~ .home2-nav a::after {
        display: none;
    }

    .home2-hero-layout {
        grid-template-columns: 1fr;
    }

    .home2-hero-copy {
        position: relative;
        z-index: 10;
        max-width: 700px;
        padding: 58px 0 390px;
    }

    .home2-hero-art {
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        min-height: 390px;
    }

    .home2-student-photo {
        right: 4%;
        width: 50%;
        height: 100%;
    }

    .home2-note-one {
        left: 33%;
        top: 40px;
    }

    .home2-featured-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home2-featured-grid .home2-book-card:nth-child(4) {
        display: none;
    }

    .home2-author-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home2-author-card:nth-child(n+4) {
        display: none;
    }

    .home2-qr-layout {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .home2-qr-visual {
        width: 340px;
        max-width: 100%;
        margin-inline: auto;
    }

    .home2-resource-grid {
        max-width: 600px;
    }

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

    .home2-footer-social {
        grid-column: 1 / -1;
    }
}

@media (max-width: 760px) {
    .home2-shell {
        width: min(100% - 24px, 680px);
    }

    .home2-brand-text strong {
        font-size: 21px;
    }

    .home2-brand-text small {
        font-size: 8px;
    }

    .home2-brand-icon {
        width: 47px;
        height: 38px;
        flex-basis: 47px;
        transform: scale(.88);
        transform-origin: left center;
    }

    .home2-hero {
        min-height: 830px;
    }

    .home2-hero-copy {
        padding: 48px 0 440px;
    }

    .home2-hero-copy h1 {
        font-size: clamp(38px, 11vw, 50px);
        letter-spacing: -2px;
    }

    .home2-hero-copy p {
        font-size: 14px;
    }

    .home2-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 17px;
    }

    .home2-hero-trust {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 26px;
    }

    .home2-trust-item + .home2-trust-item {
        padding-left: 0;
        border-left: 0;
    }

    .home2-student-photo {
        right: -15px;
        width: 72%;
    }

    .home2-book-stack {
        right: 35%;
        bottom: 18px;
        transform: scale(.82);
        transform-origin: bottom right;
    }

    .home2-note-one {
        display: none;
    }

    .home2-note-two {
        right: 1%;
        bottom: 150px;
        font-size: 14px;
    }

    .home2-section {
        padding: 29px 0 32px;
    }

    .home2-section-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 9px;
        margin-bottom: 18px;
    }

    .home2-section-heading h2 {
        font-size: 25px;
    }

    .home2-section-heading > a {
        margin: 0;
    }

    .home2-class-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .home2-class-card {
        min-height: 105px;
    }

    .home2-featured-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .home2-featured-grid .home2-book-card:nth-child(4) {
        display: block;
    }

    .home2-book-cover {
        height: 210px;
        padding-inline: 12px;
    }

    .home2-new-grid {
        grid-template-columns: 1fr;
    }

    .home2-new-card {
        grid-template-columns: 72px 1fr;
    }

    .home2-authors-layout {
        grid-template-columns: 1fr;
    }

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

    .home2-author-card:nth-child(3) {
        display: flex;
    }

    .home2-author-quote {
        min-height: 135px;
    }

    .home2-resource-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .home2-contact-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .home2-contact-student {
        display: none;
    }

    .home2-contact-layout .home2-btn {
        justify-self: center;
    }

    .home2-footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    .home2-footer-brand {
        grid-column: 1 / -1;
    }

    .home2-footer-social {
        grid-column: auto;
    }

    .home2-footer-bottom .home2-shell {
        flex-direction: column;
        justify-content: center;
        padding-block: 13px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .home2-shell {
        width: min(100% - 20px, 440px);
    }

    .home2-nav-wrap {
        min-height: 66px;
    }

    .home2-menu-toggle:checked ~ .home2-nav {
        top: 66px;
    }

    .home2-brand {
        min-width: 0;
        gap: 3px;
    }

    .home2-brand-text strong {
        font-size: 18px;
    }

    .home2-brand-text small {
        display: none;
    }

    .home2-hero {
        min-height: 790px;
    }

    .home2-hero-copy {
        padding-top: 38px;
        padding-bottom: 430px;
    }

    .home2-overline {
        font-size: 11px;
    }

    .home2-hero-copy h1 {
        font-size: 36px;
    }

    .home2-btn {
        width: 100%;
    }

    .home2-watch-link {
        align-self: center;
    }

    .home2-student-photo {
        right: -65px;
        width: 100%;
        opacity: .96;
    }

    .home2-book-stack {
        left: -35px;
        right: auto;
        transform: scale(.68);
        transform-origin: bottom left;
    }

    .home2-featured-grid {
        grid-template-columns: 1fr;
    }

    .home2-featured-grid .home2-book-card:nth-child(4),
    .home2-featured-grid .home2-book-card:nth-child(5) {
        display: none;
    }

    .home2-book-cover {
        height: 300px;
    }

    .home2-author-grid {
        grid-template-columns: 1fr 1fr;
    }

    .home2-qr-visual {
        transform: scale(.88);
        transform-origin: center;
    }

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

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

    .home2-footer-brand,
    .home2-footer-social {
        grid-column: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .home2-body *,
    .home2-body *::before,
    .home2-body *::after {
        transition: none !important;
        animation: none !important;
    }
}
