﻿/* =========================================
   HOSTEL PAGE
   DR. SHYAM SINGH PUBLIC ACADEMY
   ========================================= */

.hostel-page {
    background: #fbf6ec;
    color: #2a2320;
}


/* =========================================
   HERO
   ========================================= */

.hostel-hero {
    min-height: 430px;
    position: relative;
    display: flex;
    align-items: center;
    background: linear-gradient( rgba(72, 8, 20, 0.80), rgba(110, 20, 35, 0.86) ), url('/images/Building-wb2.jpeg') center center / cover no-repeat;
    overflow: hidden;
}

    .hostel-hero::after {
        content: "";
        position: absolute;
        width: 300px;
        height: 300px;
        right: -100px;
        top: -120px;
        border: 1px solid rgba(217, 164, 65, 0.35);
        border-radius: 50%;
    }

.hostel-hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 15px;
    color: #fff;
}

.hostel-eyebrow {
    display: inline-block;
    color: #e3b965;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

.hostel-hero h1 {
    max-width: 750px;
    font-size: clamp(42px, 6vw, 70px);
    line-height: 1.08;
    font-weight: 700;
    margin: 0 0 20px;
}

    .hostel-hero h1 span {
        color: #e1b45e;
    }

.hostel-hero p {
    max-width: 650px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================
   INTRO
   ========================================= */

.hostel-intro {
    padding: 100px 0;
}

.hostel-section-label {
    display: inline-block;
    color: #b88625;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
}

.hostel-intro h2,
.hostel-heading h2,
.hostel-education h2 {
    color: #6e1423;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    font-weight: 700;
    margin-bottom: 18px;
}

    .hostel-intro h2 span,
    .hostel-heading h2 span,
    .hostel-education h2 span {
        color: #d9a441;
    }

.hostel-gold-line {
    width: 75px;
    height: 4px;
    background: #d9a441;
    border-radius: 10px;
    margin-bottom: 28px;
}

.hostel-intro p {
    color: #5f5752;
    font-size: 16px;
    line-height: 1.85;
    margin-bottom: 17px;
}

.hostel-intro-text {
    font-size: 18px !important;
    color: #403a36 !important;
    font-weight: 500;
}


/* =========================================
   HIGHLIGHT BOX
   ========================================= */

.hostel-highlight {
    position: relative;
    padding: 45px 35px;
    background: #fff;
    border-radius: 24px;
    border: 1px solid rgba(110, 20, 35, 0.08);
    box-shadow: 0 25px 60px rgba(57, 25, 20, 0.12);
    overflow: hidden;
}

    .hostel-highlight::before {
        content: "";
        position: absolute;
        width: 120px;
        height: 120px;
        right: -50px;
        top: -50px;
        border: 15px solid rgba(217, 164, 65, 0.12);
        border-radius: 50%;
    }

.hostel-highlight-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(217, 164, 65, 0.13);
    color: #6e1423;
    border-radius: 50%;
    font-size: 30px;
    margin-bottom: 22px;
}

.hostel-highlight h3 {
    color: #6e1423;
    font-size: 28px;
    margin-bottom: 15px;
}

.hostel-highlight p {
    color: #6b625c;
    line-height: 1.75;
    margin-bottom: 25px;
}

.hostel-highlight-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

    .hostel-highlight-bottom span {
        padding: 8px 14px;
        background: #fbf6ec;
        color: #6e1423;
        border-radius: 30px;
        font-size: 12px;
        font-weight: 700;
    }


/* =========================================
   FACILITIES
   ========================================= */

.hostel-facilities {
    padding: 100px 0;
    background: #f4ecdf;
}

.hostel-heading {
    max-width: 700px;
    margin: 0 auto 55px;
}

    .hostel-heading p {
        color: #716963;
        font-size: 16px;
        line-height: 1.7;
        margin: 0;
    }


/* =========================================
   FACILITY CARDS
   ========================================= */

.hostel-card {
    height: 100%;
    padding: 35px 28px;
    background: #fff;
    border: 1px solid rgba(110, 20, 35, 0.08);
    border-radius: 18px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

    .hostel-card::after {
        content: "";
        position: absolute;
        width: 75px;
        height: 75px;
        right: -35px;
        bottom: -35px;
        border: 10px solid rgba(217, 164, 65, 0.10);
        border-radius: 50%;
    }

    .hostel-card:hover {
        transform: translateY(-8px);
        border-color: rgba(217, 164, 65, 0.45);
        box-shadow: 0 20px 45px rgba(57, 25, 20, 0.12);
    }

.hostel-card-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(110, 20, 35, 0.07);
    color: #6e1423;
    border-radius: 16px;
    font-size: 27px;
    margin-bottom: 22px;
    transition: all 0.3s ease;
}

.hostel-card:hover .hostel-card-icon {
    background: #6e1423;
    color: #fff;
}

.hostel-card h3 {
    color: #6e1423;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 12px;
}

.hostel-card p {
    color: #706862;
    font-size: 15px;
    line-height: 1.75;
    margin: 0;
}


/* =========================================
   EDUCATION SECTION
   ========================================= */

.hostel-education {
    padding: 100px 0;
}

.hostel-education-box {
    padding: 55px;
    background: linear-gradient( 135deg, #fff, #fbf6ec );
    border-radius: 25px;
    border: 1px solid rgba(110, 20, 35, 0.08);
    box-shadow: 0 20px 50px rgba(60, 30, 20, 0.08);
}

.hostel-education p {
    max-width: 850px;
    color: #625a55;
    line-height: 1.8;
    font-size: 16px;
}

.education-stat {
    min-height: 210px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    background: #6e1423;
    color: #fff;
    border-radius: 20px;
    padding: 30px;
}

    .education-stat i {
        color: #e1b45e;
        font-size: 42px;
        margin-bottom: 15px;
    }

    .education-stat strong {
        font-size: 28px;
        margin-bottom: 5px;
    }

    .education-stat span {
        color: rgba(255, 255, 255, 0.75);
        font-size: 13px;
    }


/* =========================================
   CTA
   ========================================= */

.hostel-cta {
    padding: 90px 0;
    background: linear-gradient( 135deg, #5c0e1c, #781b2c );
    color: #fff;
    text-align: center;
}

.hostel-cta-content {
    max-width: 750px;
    margin: auto;
}

    .hostel-cta-content > span {
        color: #e1b45e;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 2.5px;
    }

.hostel-cta h2 {
    font-size: clamp(36px, 5vw, 55px);
    line-height: 1.15;
    margin: 15px 0 20px;
}

.hostel-cta p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 991px) {

    .hostel-intro,
    .hostel-facilities,
    .hostel-education {
        padding: 75px 0;
    }

    .hostel-highlight {
        margin-top: 10px;
    }

    .hostel-education-box {
        padding: 40px;
    }
}


@media (max-width: 767px) {

    .hostel-hero {
        min-height: 360px;
    }

    .hostel-hero-content {
        padding: 65px 20px;
    }

    .hostel-hero h1 {
        font-size: 42px;
    }

    .hostel-hero p {
        font-size: 15px;
    }

    .hostel-intro,
    .hostel-facilities,
    .hostel-education {
        padding: 60px 15px;
    }

    .hostel-highlight {
        padding: 35px 25px;
    }

    .hostel-heading {
        margin-bottom: 40px;
    }

    .hostel-education-box {
        padding: 30px 22px;
    }

    .hostel-cta {
        padding: 65px 20px;
    }
}
