/* =========================================================
   60MinutesToJEE - Home Page Prototype 2
   Separate stylesheet for index2.php
   ========================================================= */

:root {
    --h2-navy: #062a61;
    --h2-blue: #0759b9;
    --h2-yellow: #ffd21c;
    --h2-dark: #071b3d;
    --h2-light: #f4f8fd;
    --h2-text: #10264d;
}

body:has(.home2) {
    margin: 0;
    background: #fff;
    color: var(--h2-text);
}

/* Existing header is retained only for login/signup functionality. */
body:has(.home2) #ftco-navbar {
    display: none !important;
}

body:has(.home2) .home2-navbar {
    position: relative;
    z-index: 1000;
}

/* NAVBAR */
.home2-navbar {
    background: #06265a;
    border-bottom: 2px solid #ffd21c;
    color: #fff;
}

.home2-nav-inner {
    max-width: 1440px;
    min-height: 70px;
    margin: 0 auto;
    padding: 0 48px;
    display: flex;
    align-items: center;
    gap: 25px;
}

.home2-brand {
    display: flex;
    align-items: center;
    margin-right: auto;
}

.home2-brand img {
    width: 220px;
    max-height: 58px;
    object-fit: contain;
}

.home2-nav-links {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
}

.home2-nav-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background: #ffd21c;
    border-radius: 3px;
    box-shadow:
        0 0 6px rgba(255, 210, 28, 0.9),
        0 0 14px rgba(255, 210, 28, 0.55);
    opacity: 0;
    pointer-events: none;
    transition:
        left 0.28s ease,
        width 0.28s ease,
        opacity 0.2s ease;
    z-index: 5;
}

.home2-nav-links > a,
.home2-dropdown > a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.home2-nav-links a:hover {
    color: var(--h2-yellow);
}

.home2-dropdown {
    position: relative;
}

.home2-dropdown > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    margin-bottom: 3px;
    border-right: 2px solid #ffd21c;
    border-bottom: 2px solid #ffd21c;
    transform: rotate(45deg);
}

.home2-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 190px;
    padding: 10px 0;
    background: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,.2);
}

.home2-dropdown-menu a {
    display: block;
    padding: 9px 16px;
    color: #12315c;
    text-decoration: none;
    font-size: 14px;
}

.home2-dropdown:hover .home2-dropdown-menu {
    display: block;
}

.home2-nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home2-search {
    width: 34px;
    height: 34px;
    border: 0;
    background: transparent;
    position: relative;
    cursor: pointer;
}

.home2-search span {
    position: absolute;
    width: 12px;
    height: 12px;
    border: 2px solid #fff;
    border-radius: 50%;
    left: 8px;
    top: 7px;
}

.home2-search span:after {
    content: "";
    position: absolute;
    width: 7px;
    height: 2px;
    background: #fff;
    transform: rotate(45deg);
    right: -5px;
    bottom: -3px;
}

.home2-login,
.home2-signup {
    height: 38px;
    padding: 0 22px;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
}

.home2-login {
    background: transparent;
    border: 1px solid var(--h2-yellow);
    color: #fff;
}

.home2-signup {
    background: var(--h2-yellow);
    border: 1px solid var(--h2-yellow);
    color: #071b3d;
}

.home2-mobile-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
}

/* HERO */
.home2-hero {
    min-height: 510px;
    background: linear-gradient(90deg, #05285d 0%, #0a386f 48%, #08284f 100%);
    overflow: hidden;
    position: relative;
}

.home2-hero-inner {
    max-width: 1440px;
    min-height: 510px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 52% 48%;
    align-items: stretch;
}

.home2-hero-copy {
    padding: 55px 30px 45px 60px;
    position: relative;
    z-index: 2;
}

.home2-eyebrow {
    color: #ffd21c;
    font-size: 13px;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
}

.home2-hero h1 {
    margin: 0;
    color: #fff;
    font-size: clamp(48px, 5vw, 76px);
    line-height: .95;
    font-weight: 800;
    letter-spacing: -2px;
}

.home2-hero h1 span {
    display: block;
    color: #ffd21c;
    font-size: .54em;
    line-height: 1.2;
    letter-spacing: 0;
    margin-top: 12px;
}

.home2-hero-lead {
    margin: 18px 0 3px;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
}

.home2-subjects {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.home2-subjects b {
    color: #ffd21c;
    margin: 0 8px;
}

.home2-hero-features {
    display: flex;
    gap: 28px;
    margin: 25px 0;
}

.home2-hero-features div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    color: #fff;
    font-size: 12px;
    text-align: center;
}

.home2-hero-features strong {
    color: #ffd21c;
    font-size: 29px;
    line-height: 1;
}

.home2-hero-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.home2-feature-icon {
    color: #ffd21c;
    font-size: 38px;
    line-height: 1;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    text-align: center;
}
.home2-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 0 22px;
    border-radius: 25px;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 14px;
}

.home2-btn-yellow {
    background: #ffd21c;
    color: #071b3d !important;
}

.home2-btn-outline {
    border: 1px solid #fff;
    color: #fff !important;
    background: transparent;
}

.home2-play {
    width: 24px;
    height: 24px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

.home2-hero-visual {
    position: relative;
    min-height: 510px;
    overflow: hidden;
}

.home2-hero-image {
    position: absolute;
    inset: 0;
    background: url("../images/home2-hero-right.jpg") center center / 100% 100% no-repeat;
}

.home2-hero-note {
    position: absolute;
    color: #fff;
    font-family: Georgia, serif;
    font-style: italic;
    text-align: center;
    line-height: 1.05;
    text-shadow: 0 2px 4px rgba(0,0,0,.7);
    display: none;
}

.home2-note-left {
    left: 7%;
    top: 40%;
    transform: rotate(-7deg);
    font-size: 20px;
}

.home2-note-left b {
    color: #ffd21c;
}

.home2-note-right {
    right: 4%;
    top: 13%;
    font-size: 19px;
}

.home2-note-right b {
    display: block;
    margin-top: 10px;
    color: #ffd21c;
}

/* TRUST */
.home2-trust {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    max-width: 1440px;
    margin: 0 auto;
    background: #fff;
}

.home2-trust-item {
    min-height: 82px;
    padding: 8px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-right: 1px solid #d8dee8;
}

.home2-trust-item:last-child {
    border-right: 0;
}

.home2-trust-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #ffd21c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #062a61;
    font-size: 22px;
}

.home2-trust-item strong,
.home2-trust-item small {
    display: block;
}

.home2-trust-item strong {
    color: #092c62;
    font-size: 15px;
}

.home2-trust-item small {
    margin-top: 3px;
    font-size: 12px;
    color: #2b4266;
}

/* SECTION HEADING */
.home2-section {
    padding: 38px 4%;
}

.home2-section-heading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    text-align: center;
    margin-bottom: 25px;
}

.home2-section-heading h2 {
    margin: 0;
    color: #092b61;
    font-size: 30px;
    font-weight: 800;
}

.home2-section-heading p {
    margin: 4px 0 0;
    color: #12498a;
    font-size: 17px;
}

.home2-heading-line {
    width: 70px;
    height: 3px;
    background: #ffd21c;
    position: relative;
    top: -14px;
}
.home2-testimonials .home2-heading-line {
    position: relative;
    top: 0;
    margin-top: 0;
}

/* COURSE CARDS */
.home2-course-grid {
    max-width: 1370px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.home2-course-card {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 5px 18px rgba(13, 44, 88, .12);
    border: 1px solid #dce6f1;
}

.home2-course-image {
    height: 210px;
    position: relative;
    display: block;
    overflow: hidden;
    background: #0b3775;
}

.home2-course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home2-course-image > span {
    position: absolute;
    left: 0;
    top: 0;
    padding: 12px 18px;
    background: rgba(5, 43, 95, .94);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.home2-card-2 .home2-course-image > span {
    background: rgba(0, 111, 79, .94);
}

.home2-card-3 .home2-course-image > span {
    background: rgba(91, 20, 169, .94);
}

.home2-course-content {
    padding: 18px;
}

.home2-course-content h3 {
    margin: 0;
    min-height: 48px;
    color: #102b57;
    font-size: 21px;
    line-height: 1.15;
    font-weight: 800;
}

.home2-course-category {
    margin: 5px 0 10px;
    color: #31547e;
    font-weight: 600;
}

.home2-course-content ul {
    margin: 0 0 15px;
    padding: 0;
    list-style: none;
}

.home2-course-content li {
    margin: 7px 0;
    font-size: 13px;
    color: #263e61;
}

.home2-course-content li:before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-right: 7px;
    border-radius: 50%;
    background: #0759b9;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
}

.home2-course-button {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    border-radius: 22px;
    background: #0759b9;
    color: #fff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 700;
}

.home2-card-2 .home2-course-button {
    background: #00835e;
}

.home2-card-3 .home2-course-button {
    background: #5e16c7;
}

/* BENEFITS */
.home2-benefits {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    border-top: 1px solid #d9e1ec;
    border-bottom: 1px solid #d9e1ec;
    background: #f7fbff;
}

.home2-benefits div {
    min-height: 95px;
    padding: 12px 8px;
    border-right: 1px solid #d9e1ec;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    flex-direction: column;
}

.home2-benefits div:last-child {
    border-right: 0;
}

.home2-benefits span {
    width: 46px;
    height: 46px;
    border: 1px solid #c9d6e6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0759b9;
    font-size: 21px;
    font-weight: 400;
    background: #fff;
    flex-shrink: 0;
}

.home2-benefits strong {
    color: #092b61;
    font-size: 12px;
}

/* RESULT CTA */
/* RESULT CTA */
.home2-result-cta {
    min-height: 150px;
    display: grid;
    grid-template-columns: 20% 27% 31% 22%;
    align-items: stretch;
    background: #062d64;
    color: #fff;
    overflow: hidden;
}

.home2-result-image {
    min-height: 150px;
    background: url("../images/jee-result-banner.png") center center / cover no-repeat;
}

.home2-result-copy {
    display: flex;
    align-items: center;
    padding: 15px 25px;
}

.home2-result-copy h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: .3px;
}

.home2-result-copy span {
    color: #ffd21c;
}

.home2-quote {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 15px 25px;
    border-left: 1px solid rgba(255,255,255,.25);
}

.home2-quote-text {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
}

.home2-quote small {
    display: block;
    margin-top: 9px;
    color: #d6e1f3;
    font-size: 11px;
    line-height: 1.45;
}

.home2-result-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 10px;
}

.home2-result-action .home2-btn {
    min-height: 38px;
    padding: 0 18px;
    font-size: 13px;
    white-space: nowrap;
}

.home2-result-highlights {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 13px;
    width: 100%;
}

.home2-result-highlights div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
    min-width: 55px;
}

.home2-result-highlights i {
    color: #ffd21c;
    font-size: 20px;
}

.home2-result-highlights span {
    color: #dce7f7;
    font-size: 8px;
    line-height: 1.1;
    white-space: nowrap;
}

/* TESTIMONIALS */
.home2-testimonials {
    padding: 38px 4%;
    background: #fff;
}

.home2-testimonial-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.home2-testimonial-grid article {
    display: grid;
    grid-template-columns: 65px 1fr;
    column-gap: 14px;
    align-items: center;
    padding: 17px;
    border: 1px solid #d8e2ee;
    border-radius: 10px;
    background: #fbfdff;
}

.home2-student-avatar {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #dfeaf8;
    color: #0759b9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.home2-testimonial-grid p {
    margin: 0 0 7px;
    grid-column: 2;
    font-size: 13px;
    line-height: 1.45;
    color: #263e61;
}

.home2-testimonial-grid strong,
.home2-testimonial-grid small {
    grid-column: 2;
}

.home2-testimonial-grid strong {
    color: #0b2e63;
    font-size: 13px;
}

.home2-testimonial-grid small {
    color: #60728d;
    font-size: 11px;
}

/* FINAL CTA */
.home2-final-cta {
    min-height: 105px;
    padding: 12px 5%;
    display: grid;
    grid-template-columns: 70px 1fr auto 180px;
    gap: 20px;
    align-items: center;
    background: #fff5c9;
}

.home2-target {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0759b9;
    font-size: 38px;
}

.home2-final-cta h2 {
    margin: 0;
    color: #082f68;
    font-size: 22px;
}

.home2-final-cta p {
    margin: 3px 0 0;
    color: #28456f;
}

.home2-btn-dark {
    background: #092e64;
    color: #fff !important;
}

.home2-final-note {
    position: relative;
    color: #102b57;
    font-family: Georgia, serif;
    font-style: italic;
    font-weight: 700;
    font-size: 17px;
    line-height: 1.15;
    text-align: center;
    transform: rotate(-4deg);
    padding: 8px 14px;
}

.home2-final-note span {
    display: block;
}

.home2-final-note::after {
    content: "";
    display: block;
    width: 70px;
    height: 3px;
    margin: 5px auto 0;
    background: #ffd21c;
    border-radius: 50%;
    transform: rotate(-3deg);
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .home2-nav-inner {
        padding: 0 25px;
    }

    .home2-nav-links {
        gap: 13px;
    }

    .home2-hero-copy {
        padding-left: 35px;
    }

    .home2-hero-features {
        gap: 15px;
    }
}

@media (max-width: 992px) {
    .home2-nav-links,
    .home2-nav-actions {
        display: none;
    }

    .home2-mobile-toggle {
        display: block;
    }

    .home2-nav-links.home2-nav-open {
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 25px;
        background: #06265a;
    }

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

    .home2-hero-copy {
        padding: 40px 30px;
    }

    .home2-hero-visual {
        min-height: 350px;
    }

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

    .home2-course-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

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

    .home2-result-cta {
        grid-template-columns: 1fr 1fr;
        padding: 20px;
        gap: 15px;
    }

    .home2-result-image {
        display: none;
    }

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

    .home2-final-cta {
        grid-template-columns: 60px 1fr;
    }

    .home2-final-cta > .home2-btn,
    .home2-final-note {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 600px) {
    .home2-nav-inner {
        min-height: 62px;
        padding: 0 15px;
    }

    .home2-brand img {
        width: 175px;
    }

    .home2-hero-copy {
        padding: 35px 20px;
    }

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

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

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

    .home2-trust-item {
        border-right: 0;
        border-bottom: 1px solid #d8dee8;
    }

    .home2-section {
        padding: 30px 15px;
    }

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

   .home2-heading-line {
    width: 35px;
    margin-top: -10px;
   }

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

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

    .home2-result-copy,
    .home2-quote {
        border-left: 0;
        text-align: center;
    }

    .home2-result-cta > .home2-btn {
        margin-bottom: 10px;
    }

    .home2-final-cta {
        grid-template-columns: 45px 1fr;
        padding: 20px;
    }

    .home2-final-cta h2 {
        font-size: 18px;
    }
}
