/* =========================================================
   GARUDACHAL VIDYAPEETH - HOMEPAGE
   File: assets/css/home.css
   ========================================================= */

/* =========================================================
   01. HOME VARIABLES
   ========================================================= */

:root {
    --home-orange: #FF6B00;
    --home-orange-dark: #D95700;
    --home-orange-light: #FFF1E7;

    --home-blue: #123B63;
    --home-blue-dark: #092B4A;
    --home-blue-light: #EAF3FA;

    --home-white: #FFFFFF;
    --home-black: #101828;
    --home-text: #475467;
    --home-muted: #667085;

    --home-border: #E4E7EC;
    --home-bg: #F8FAFC;
    --home-bg-soft: #F5F8FB;

    --home-radius-sm: 10px;
    --home-radius: 18px;
    --home-radius-lg: 28px;

    --home-shadow-sm:
        0 4px 16px rgba(18, 59, 99, 0.06);

    --home-shadow:
        0 12px 35px rgba(18, 59, 99, 0.09);

    --home-shadow-lg:
        0 24px 60px rgba(18, 59, 99, 0.14);

    --home-transition:
        all 0.3s ease;
}


/* =========================================================
   02. GLOBAL HOMEPAGE
   ========================================================= */

.homepage {
    overflow: hidden;
    background: var(--home-white);
}

.homepage *,
.homepage *::before,
.homepage *::after {
    box-sizing: border-box;
}

.homepage a {
    text-decoration: none;
}

.homepage img {
    max-width: 100%;
    height: auto;
}

.homepage .container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   03. COMMON SECTION
   ========================================================= */

.homepage .section {
    padding: 100px 0;
}

.homepage .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 14px;

    color: var(--home-orange);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.homepage .section-eyebrow::before {
    content: "";
    width: 26px;
    height: 2px;
    background: var(--home-orange);
    border-radius: 20px;
}

.homepage .section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;

    margin-bottom: 50px;
}

.homepage .section-heading.centered {
    display: block;
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.homepage .section-heading.centered .section-eyebrow {
    justify-content: center;
}

.homepage .section-heading h2,
.homepage .section-content h2 {
    margin: 0;
}

.homepage h2 {
    color: var(--home-blue);

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.homepage h2 span {
    color: var(--home-orange);
}

.homepage p {
    color: var(--home-text);
    line-height: 1.8;
}

.homepage .lead {
    font-size: 18px;
    line-height: 1.8;
    color: var(--home-text);
}


/* =========================================================
   04. BUTTONS
   ========================================================= */

.homepage .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 48px;
    padding: 12px 22px;

    border: 2px solid transparent;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    cursor: pointer;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}

.homepage .btn:hover {
    transform: translateY(-2px);
}

.homepage .btn-lg {
    min-height: 54px;
    padding: 14px 27px;
    font-size: 15px;
}

.homepage .btn-primary {
    color: var(--home-white);
    background: var(--home-orange);
    border-color: var(--home-orange);

    box-shadow: 0 8px 22px rgba(255, 107, 0, 0.22);
}

.homepage .btn-primary:hover {
    color: var(--home-white);
    background: var(--home-orange-dark);
    border-color: var(--home-orange-dark);

    box-shadow: 0 12px 28px rgba(255, 107, 0, 0.3);
}

.homepage .btn-outline-primary {
    color: var(--home-blue);
    background: transparent;
    border-color: var(--home-blue);
}

.homepage .btn-outline-primary:hover {
    color: var(--home-white);
    background: var(--home-blue);
}

.homepage .btn-outline-light {
    color: var(--home-white);
    background: transparent;
    border-color: rgba(255, 255, 255, 0.65);
}

.homepage .btn-outline-light:hover {
    color: var(--home-blue);
    background: var(--home-white);
    border-color: var(--home-white);
}

.homepage .btn-white {
    color: var(--home-blue);
    background: var(--home-white);
    border-color: var(--home-white);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.homepage .btn-white:hover {
    color: var(--home-orange);
    background: #fff8f3;
}

.homepage .text-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: var(--home-orange);

    font-size: 14px;
    font-weight: 800;

    transition: var(--home-transition);
}

.homepage .text-link i {
    transition: transform 0.25s ease;
}

.homepage .text-link:hover {
    color: var(--home-orange-dark);
}

.homepage .text-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   05. HERO
   ========================================================= */

.home-hero {
    position: relative;

    min-height: 700px;

    display: flex;
    align-items: center;

    color: var(--home-white);

    background:
        linear-gradient(
            100deg,
            rgba(9, 43, 74, 0.97) 0%,
            rgba(18, 59, 99, 0.91) 48%,
            rgba(18, 59, 99, 0.65) 100%
        ),
        linear-gradient(
            135deg,
            #123B63,
            #0A2E4F
        );

    isolation: isolate;
}

.home-hero::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            circle at 85% 25%,
            rgba(255, 107, 0, 0.22),
            transparent 28%
        ),
        radial-gradient(
            circle at 70% 90%,
            rgba(255, 255, 255, 0.06),
            transparent 30%
        );

    z-index: -1;
}

.home-hero::after {
    content: "";

    position: absolute;

    width: 520px;
    height: 520px;

    right: -220px;
    bottom: -250px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;

    box-shadow:
        0 0 0 80px rgba(255, 255, 255, 0.02),
        0 0 0 160px rgba(255, 255, 255, 0.015);

    z-index: -1;
}

.hero-container {
    position: relative;
    z-index: 2;
}

.hero-content {
    width: min(760px, 100%);
    padding: 100px 0 110px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-bottom: 22px;
    padding: 8px 14px;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 100px;

    background: rgba(255, 255, 255, 0.08);

    color: #fff;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #FFB37D;
}

.hero-content h1 {
    margin: 0;

    color: var(--home-white);

    font-size: clamp(44px, 6vw, 76px);
    line-height: 1.02;
    font-weight: 900;

    letter-spacing: -0.045em;
}

.hero-content h1 span {
    display: block;
    color: #FF9A4D;
}

.hero-location {
    margin: 18px 0 0;

    color: rgba(255, 255, 255, 0.88) !important;

    font-size: 19px;
    font-weight: 600;
}

.hero-description {
    max-width: 670px;

    margin: 22px 0 0;

    color: rgba(255, 255, 255, 0.78) !important;

    font-size: 18px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;

    margin-top: 34px;
}

.hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 35px;

    margin-top: 50px;
    padding-top: 26px;

    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-meta-item strong {
    color: #fff;

    font-size: 15px;
    font-weight: 800;
}

.hero-meta-item span {
    color: rgba(255, 255, 255, 0.6);

    font-size: 12px;
}

.hero-scroll {
    position: absolute;

    left: 50%;
    bottom: 24px;

    transform: translateX(-50%);

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.58);

    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll i {
    animation: heroScroll 1.7s infinite;
}

@keyframes heroScroll {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(5px);
    }
}


/* =========================================================
   06. QUICK HIGHLIGHTS
   ========================================================= */

.quick-highlights {
    position: relative;
    z-index: 5;

    margin-top: -55px;
}

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);

    border-radius: var(--home-radius);

    overflow: hidden;

    background: var(--home-white);

    box-shadow: var(--home-shadow-lg);
}

.highlight-card {
    display: flex;
    align-items: center;
    gap: 15px;

    min-height: 125px;
    padding: 24px;

    border-right: 1px solid var(--home-border);
}

.highlight-card:last-child {
    border-right: 0;
}

.highlight-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: var(--home-orange);
    background: var(--home-orange-light);

    font-size: 19px;
}

.highlight-card strong {
    display: block;

    margin-bottom: 5px;

    color: var(--home-blue);

    font-size: 14px;
    font-weight: 800;
}

.highlight-card span {
    display: block;

    color: var(--home-muted);

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   07. ABOUT SCHOOL
   ========================================================= */

.about-section {
    background: var(--home-white);
}

.section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;

    align-items: center;
}

.about-image-wrap {
    position: relative;
}

.about-image-placeholder {
    min-height: 560px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 16px;

    border-radius: var(--home-radius-lg);

    color: rgba(255, 255, 255, 0.9);

    background:
        linear-gradient(
            135deg,
            #123B63,
            #1D557F
        );

    box-shadow: var(--home-shadow-lg);

    overflow: hidden;
}

.about-image-placeholder::before {
    content: "";

    position: absolute;

    width: 360px;
    height: 360px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 50%;
}

.about-image-placeholder i {
    position: relative;

    font-size: 65px;

    color: #FF9A4D;
}

.about-image-placeholder span {
    position: relative;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.experience-badge {
    position: absolute;

    right: -25px;
    bottom: 35px;

    width: 155px;
    min-height: 155px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 15px;

    border: 8px solid var(--home-white);
    border-radius: 50%;

    text-align: center;

    color: var(--home-white);
    background: var(--home-orange);

    box-shadow: var(--home-shadow);
}

.experience-badge strong {
    font-size: 35px;
    line-height: 1;
}

.experience-badge span {
    margin-top: 6px;

    font-size: 10px;
    line-height: 1.4;
    font-weight: 700;
}

.about-content h2 {
    margin-bottom: 24px;
}

.about-content p {
    margin: 0 0 17px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 13px;

    margin: 28px 0;
}

.about-features div {
    display: flex;
    align-items: center;
    gap: 9px;

    color: var(--home-blue);

    font-size: 13px;
    font-weight: 700;
}

.about-features i {
    color: var(--home-orange);
}


/* =========================================================
   08. WHY SCHOOL
   ========================================================= */

.why-section {
    background: var(--home-bg);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.feature-card {
    position: relative;

    min-height: 290px;

    padding: 32px;

    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);

    background: var(--home-white);

    box-shadow: var(--home-shadow-sm);

    overflow: hidden;

    transition: var(--home-transition);
}

.feature-card:hover {
    transform: translateY(-8px);

    border-color: rgba(255, 107, 0, 0.25);

    box-shadow: var(--home-shadow);
}

.feature-number {
    position: absolute;

    top: 18px;
    right: 22px;

    color: rgba(18, 59, 99, 0.06);

    font-size: 55px;
    font-weight: 900;
}

.feature-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 24px;

    border-radius: 16px;

    color: var(--home-orange);
    background: var(--home-orange-light);

    font-size: 22px;
}

.feature-card h3 {
    margin: 0 0 12px;

    color: var(--home-blue);

    font-size: 19px;
    font-weight: 800;
}

.feature-card p {
    margin: 0;

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   09. ACADEMICS
   ========================================================= */

.academics-section {
    background: var(--home-white);
}

.academic-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.academic-card {
    position: relative;

    padding: 28px;

    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);

    background: var(--home-white);

    box-shadow: var(--home-shadow-sm);

    transition: var(--home-transition);
}

.academic-card:hover {
    transform: translateY(-6px);

    border-color: rgba(255, 107, 0, 0.28);

    box-shadow: var(--home-shadow);
}

.academic-stage {
    display: inline-block;

    margin-bottom: 18px;
    padding: 6px 10px;

    border-radius: 50px;

    color: var(--home-orange);
    background: var(--home-orange-light);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.academic-icon {
    width: 54px;
    height: 54px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 18px;

    border-radius: 15px;

    color: var(--home-white);
    background: var(--home-blue);

    font-size: 20px;
}

.academic-card h3 {
    margin: 0 0 5px;

    color: var(--home-blue);

    font-size: 20px;
    font-weight: 800;
}

.academic-card strong {
    display: block;

    color: var(--home-orange);

    font-size: 12px;
}

.academic-card p {
    margin: 12px 0 0;

    font-size: 13px;
}


/* =========================================================
   10. SNAPSHOT
   ========================================================= */

.snapshot-section {
    padding-top: 0;

    background: var(--home-white);
}

.snapshot-box {
    position: relative;

    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
    gap: 60px;

    padding: 55px;

    border-radius: var(--home-radius-lg);

    background:
        linear-gradient(
            125deg,
            var(--home-blue),
            #1A4E77
        );

    overflow: hidden;
}

.snapshot-box::after {
    content: "";

    position: absolute;

    right: -150px;
    top: -200px;

    width: 500px;
    height: 500px;

    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 50%;
}

.snapshot-heading {
    position: relative;
    z-index: 1;
}

.snapshot-heading h2 {
    color: var(--home-white);
}

.snapshot-heading h2 span {
    color: #FF9A4D;
}

.snapshot-heading .section-eyebrow {
    color: #FF9A4D;
}

.snapshot-stats {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(2, 1fr);

    gap: 1px;

    overflow: hidden;

    border-radius: 15px;

    background: rgba(255, 255, 255, 0.12);
}

.snapshot-stat {
    min-height: 130px;

    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 25px;

    background: rgba(255, 255, 255, 0.05);
}

.snapshot-stat strong {
    color: var(--home-white);

    font-size: 28px;
    font-weight: 900;
}

.snapshot-stat span {
    margin-top: 6px;

    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
}


/* =========================================================
   11. PRINCIPAL MESSAGE
   ========================================================= */

.principal-section {
    background: var(--home-bg);
}

.principal-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 65px;

    align-items: center;

    padding: 55px;

    border-radius: var(--home-radius-lg);

    background: var(--home-white);

    box-shadow: var(--home-shadow);
}

.principal-photo {
    position: relative;
}

.photo-placeholder {
    min-height: 410px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 15px;

    border-radius: 22px;

    color: var(--home-blue);

    background:
        linear-gradient(
            145deg,
            #EDF4F9,
            #DCEAF4
        );
}

.photo-placeholder i {
    font-size: 75px;
    color: var(--home-orange);
}

.photo-placeholder span {
    font-size: 12px;
    font-weight: 700;
    color: var(--home-muted);
}

.principal-content h2 {
    margin-bottom: 22px;
}

.principal-content p {
    margin: 0 0 15px;
}

.principal-signature {
    display: flex;
    flex-direction: column;

    margin-top: 28px;
    padding-left: 16px;

    border-left: 3px solid var(--home-orange);
}

.principal-signature strong {
    color: var(--home-blue);

    font-size: 15px;
}

.principal-signature span {
    margin-top: 4px;

    color: var(--home-muted);

    font-size: 12px;
}


/* =========================================================
   12. HOSTEL
   ========================================================= */

.hostel-section {
    background: var(--home-white);
}

.hostel-grid {
    gap: 90px;
}

.hostel-content h2 {
    margin-bottom: 22px;
}

.hostel-content .lead {
    margin-bottom: 28px;
}

.hostel-points {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 14px;

    margin-bottom: 32px;
}

.hostel-points div {
    display: flex;
    align-items: flex-start;
    gap: 10px;

    color: var(--home-blue);

    font-size: 13px;
    font-weight: 700;
}

.hostel-points i {
    flex: 0 0 auto;

    width: 21px;
    height: 21px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: var(--home-white);
    background: var(--home-orange);

    font-size: 9px;
}

.hostel-visual {
    position: relative;
}

.hostel-image-placeholder {
    min-height: 520px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 15px;

    border-radius: var(--home-radius-lg);

    color: var(--home-white);

    background:
        linear-gradient(
            135deg,
            #123B63,
            #1D557F
        );

    box-shadow: var(--home-shadow-lg);
}

.hostel-image-placeholder i {
    font-size: 70px;
    color: #FF9A4D;
}

.hostel-image-placeholder span {
    font-size: 13px;
    font-weight: 700;
}


/* =========================================================
   13. ADMISSION BANNER
   ========================================================= */

.admission-section {
    padding: 20px 0 100px;

    background: var(--home-white);
}

.admission-banner {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 50px 55px;

    border-radius: var(--home-radius-lg);

    color: var(--home-white);

    background:
        linear-gradient(
            110deg,
            var(--home-orange),
            #E34F00
        );

    box-shadow: 0 20px 50px rgba(255, 107, 0, 0.2);

    overflow: hidden;
}

.admission-banner::after {
    content: "";

    position: absolute;

    right: -100px;
    top: -180px;

    width: 420px;
    height: 420px;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 50%;
}

.admission-content {
    position: relative;
    z-index: 2;
}

.admission-label {
    display: inline-block;

    margin-bottom: 10px;

    color: rgba(255, 255, 255, 0.75);

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.admission-content h2 {
    max-width: 650px;

    margin: 0;

    color: var(--home-white);

    font-size: clamp(28px, 3.5vw, 42px);
}

.admission-content p {
    margin: 15px 0 0;

    color: rgba(255, 255, 255, 0.85);
}

.admission-action {
    position: relative;
    z-index: 2;

    flex: 0 0 auto;

    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.admission-contact {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: rgba(255, 255, 255, 0.9);

    font-size: 12px;
    font-weight: 700;
}

.admission-contact:hover {
    color: #fff;
}


/* =========================================================
   14. NEWS
   ========================================================= */

.news-section {
    background: var(--home-bg);
}

.content-placeholder-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 22px;
}

.content-placeholder-card {
    display: flex;
    gap: 18px;

    padding: 27px;

    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);

    background: var(--home-white);

    box-shadow: var(--home-shadow-sm);

    transition: var(--home-transition);
}

.content-placeholder-card:hover {
    transform: translateY(-5px);

    box-shadow: var(--home-shadow);
}

.placeholder-icon {
    flex: 0 0 50px;

    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: var(--home-orange);
    background: var(--home-orange-light);

    font-size: 19px;
}

.placeholder-label {
    display: block;

    margin-bottom: 8px;

    color: var(--home-orange);

    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.content-placeholder-card h3 {
    margin: 0 0 9px;

    color: var(--home-blue);

    font-size: 16px;
    line-height: 1.4;
}

.content-placeholder-card p {
    margin: 0;

    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   15. EVENTS
   ========================================================= */

.events-section {
    background: var(--home-white);
}

.event-empty {
    min-height: 260px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 40px;

    border: 1px dashed #CCD5DE;
    border-radius: var(--home-radius);

    text-align: center;

    background: var(--home-bg-soft);
}

.event-empty-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 17px;

    border-radius: 18px;

    color: var(--home-orange);
    background: var(--home-orange-light);

    font-size: 25px;
}

.event-empty h3 {
    margin: 0 0 8px;

    color: var(--home-blue);

    font-size: 19px;
}

.event-empty p {
    max-width: 650px;

    margin: 0;

    font-size: 13px;
}


/* =========================================================
   16. GALLERY
   ========================================================= */

.gallery-section {
    background: var(--home-bg);
}

.gallery-placeholder-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;

    grid-template-rows: 210px 210px;

    gap: 14px;
}

.gallery-placeholder {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 9px;

    border-radius: 16px;

    color: rgba(255, 255, 255, 0.85);

    background:
        linear-gradient(
            135deg,
            #123B63,
            #285B80
        );

    overflow: hidden;

    transition: var(--home-transition);
}

.gallery-placeholder::before {
    content: "";

    position: absolute;

    inset: 0;

    background:
        radial-gradient(
            circle at 50% 50%,
            rgba(255, 107, 0, 0.17),
            transparent 45%
        );
}

.gallery-placeholder:hover {
    transform: scale(1.015);
}

.gallery-placeholder i,
.gallery-placeholder span {
    position: relative;
}

.gallery-placeholder i {
    font-size: 27px;
    color: #FF9A4D;
}

.gallery-placeholder span {
    font-size: 11px;
    font-weight: 700;
}

.gallery-placeholder.large {
    grid-row: span 2;
}


/* =========================================================
   17. CONTACT
   ========================================================= */

.contact-section {
    background: var(--home-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;

    gap: 80px;

    align-items: center;
}

.contact-intro h2 {
    margin-bottom: 20px;
}

.contact-intro p {
    max-width: 500px;

    margin-bottom: 28px;
}

.contact-details {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 15px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;

    min-height: 125px;

    padding: 20px;

    border: 1px solid var(--home-border);
    border-radius: 15px;

    background: var(--home-bg);

    transition: var(--home-transition);
}

.contact-item:hover {
    border-color: rgba(255, 107, 0, 0.25);

    background: var(--home-white);

    box-shadow: var(--home-shadow-sm);
}

.contact-icon {
    flex: 0 0 40px;

    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    color: var(--home-orange);
    background: var(--home-orange-light);

    font-size: 15px;
}

.contact-item span {
    display: block;

    margin-bottom: 6px;

    color: var(--home-muted);

    font-size: 10px;
    font-weight: 800;

    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.contact-item strong {
    color: var(--home-blue);

    font-size: 12px;
    line-height: 1.65;
}

.contact-item a {
    color: var(--home-blue);
}

.contact-item a:hover {
    color: var(--home-orange);
}


/* =========================================================
   18. FINAL CTA
   ========================================================= */

.final-cta {
    padding: 0 0 90px;

    background: var(--home-white);
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 35px;

    padding: 55px;

    border-radius: var(--home-radius-lg);

    color: var(--home-white);

    background:
        linear-gradient(
            120deg,
            var(--home-blue-dark),
            var(--home-blue)
        );

    box-shadow: var(--home-shadow-lg);
}

.final-cta-inner > div:first-child {
    max-width: 650px;
}

.final-cta-inner span {
    color: #FF9A4D;

    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.final-cta-inner h2 {
    margin: 8px 0;

    color: var(--home-white);

    font-size: clamp(30px, 4vw, 46px);
}

.final-cta-inner p {
    margin: 0;

    color: rgba(255, 255, 255, 0.65);
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    flex: 0 0 auto;
}


/* =========================================================
   19. ANIMATION HELPERS
   ========================================================= */

.homepage .feature-card,
.homepage .academic-card,
.homepage .content-placeholder-card,
.homepage .contact-item,
.homepage .gallery-placeholder {
    will-change: transform;
}

.homepage .animate-on-scroll {
    opacity: 0;
    transform: translateY(25px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.homepage .animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* =========================================================
   20. TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .homepage .container {
        width: min(100% - 32px, 1050px);
    }

    .homepage .section {
        padding: 80px 0;
    }

    .highlight-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .highlight-card:nth-child(2) {
        border-right: 0;
    }

    .highlight-card:nth-child(-n + 2) {
        border-bottom: 1px solid var(--home-border);
    }

    .section-grid {
        gap: 50px;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .academic-timeline {
        grid-template-columns: repeat(2, 1fr);
    }

    .snapshot-box {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .principal-card {
        grid-template-columns: 1fr 1.3fr;
        gap: 40px;
        padding: 40px;
    }

    .hostel-grid {
        gap: 50px;
    }

    .contact-grid {
        gap: 45px;
    }

}


/* =========================================================
   21. MOBILE
   ========================================================= */

@media (max-width: 767px) {

    .homepage .container {
        width: calc(100% - 28px);
    }

    .homepage .section {
        padding: 65px 0;
    }

    .homepage h2 {
        font-size: 31px;
    }

    .homepage .section-heading {
        display: block;

        margin-bottom: 32px;
    }

    .homepage .section-heading > a {
        margin-top: 18px;
    }

    .homepage .section-heading.centered {
        margin-bottom: 35px;
    }


    /* HERO */

    .home-hero {
        min-height: 680px;
    }

    .hero-content {
        padding: 80px 0 100px;
    }

    .hero-content h1 {
        font-size: clamp(40px, 12vw, 58px);
    }

    .hero-location {
        font-size: 16px;
    }

    .hero-description {
        font-size: 15px;
        line-height: 1.7;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .hero-meta {
        gap: 20px;
        margin-top: 35px;
    }

    .hero-meta-item {
        min-width: calc(50% - 10px);
    }

    .hero-scroll {
        display: none;
    }


    /* HIGHLIGHTS */

    .quick-highlights {
        margin-top: -35px;
    }

    .highlight-grid {
        grid-template-columns: 1fr;

        border-radius: 16px;
    }

    .highlight-card {
        min-height: 100px;

        border-right: 0;
        border-bottom: 1px solid var(--home-border);
    }

    .highlight-card:last-child {
        border-bottom: 0;
    }


    /* ABOUT */

    .section-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-placeholder {
        min-height: 380px;
    }

    .experience-badge {
        right: 10px;
        bottom: 20px;

        width: 125px;
        min-height: 125px;

        border-width: 6px;
    }

    .experience-badge strong {
        font-size: 29px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }


    /* FEATURES */

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .feature-card {
        min-height: auto;
    }


    /* ACADEMICS */

    .academic-timeline {
        grid-template-columns: 1fr;
    }


    /* SNAPSHOT */

    .snapshot-box {
        padding: 35px 25px;
    }

    .snapshot-stats {
        grid-template-columns: 1fr 1fr;
    }

    .snapshot-stat {
        min-height: 110px;
        padding: 18px;
    }

    .snapshot-stat strong {
        font-size: 22px;
    }


    /* PRINCIPAL */

    .principal-card {
        grid-template-columns: 1fr;

        padding: 25px;

        gap: 30px;
    }

    .photo-placeholder {
        min-height: 300px;
    }


    /* HOSTEL */

    .hostel-points {
        grid-template-columns: 1fr;
    }

    .hostel-image-placeholder {
        min-height: 350px;
    }


    /* ADMISSION */

    .admission-section {
        padding-bottom: 65px;
    }

    .admission-banner {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px 25px;
    }

    .admission-action {
        align-items: flex-start;
    }


    /* NEWS */

    .content-placeholder-grid {
        grid-template-columns: 1fr;
    }

    .content-placeholder-card {
        min-height: auto;
    }


    /* GALLERY */

    .gallery-placeholder-grid {
        grid-template-columns: 1fr 1fr;

        grid-template-rows: 180px 180px 180px;
    }

    .gallery-placeholder.large {
        grid-row: span 2;
    }


    /* CONTACT */

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-details {
        grid-template-columns: 1fr;
    }


    /* FINAL CTA */

    .final-cta {
        padding-bottom: 65px;
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;

        padding: 35px 25px;
    }

    .final-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .final-cta-actions .btn {
        width: 100%;
    }

}


/* =========================================================
   22. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .homepage .container {
        width: calc(100% - 24px);
    }

    .homepage .section {
        padding: 55px 0;
    }

    .homepage h2 {
        font-size: 28px;
    }

    .hero-content {
        padding-top: 65px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-meta {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .snapshot-stats {
        grid-template-columns: 1fr;
    }

    .gallery-placeholder-grid {
        display: grid;

        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 180px);
    }

    .gallery-placeholder.large {
        grid-row: auto;
    }

    .contact-item {
        min-height: auto;
    }

    .admission-content h2 {
        font-size: 28px;
    }

}


/* =========================================================
   23. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .homepage *,
    .homepage *::before,
    .homepage *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

}

/* =========================================================
   HERO IMAGE DARK OVERLAY
   Improves text readability over bright photographs
   ========================================================= */

.home-hero {
    position: relative;
    isolation: isolate;
}

.home-hero .hero-overlay {
    position: absolute !important;
    inset: 0 !important;

    background:
        linear-gradient(
            90deg,
            rgba(5, 18, 32, 0.78) 0%,
            rgba(5, 18, 32, 0.68) 35%,
            rgba(5, 18, 32, 0.48) 62%,
            rgba(5, 18, 32, 0.28) 82%,
            rgba(5, 18, 32, 0.18) 100%
        ) !important;

    opacity: 1 !important;

    z-index: 1 !important;

    pointer-events: none;
}

.home-hero .hero-container {
    position: relative;
    z-index: 2;
}

.home-hero .hero-content {
    position: relative;
    z-index: 3;
}