/* ============================================
   HOMEPAGE — PREMIUM STYLES
   Cambridge Model Sr. Sec. School
   ============================================ */

/* ============================================
   HERO OVERRIDES
   ============================================ */
.hp-hero-title {
    font-size: 4rem;
    margin-bottom: 1.8rem;
    color: #fff;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.15;
}

.hp-hero-desc {
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    color: #f5f5f5;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.7;
}

/* ============================================
   SHARED
   ============================================ */
.hp-section-header {
    text-align: center;
    margin-bottom: 48px;
}

.hp-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    color: #C9A24D;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hp-badge-light {
    display: inline-block;
    background: rgba(201, 162, 77, 0.15);
    color: #C9A24D;
    padding: 6px 20px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.hp-section-header h2 {
    font-size: 2.1rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 14px;
}

.hp-section-header p {
    color: #6b7280;
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
}

.hp-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 12px;
    background: transparent;
    color: #0B3D2E;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(11, 61, 46, 0.25);
    transition: all 0.35s ease;
}

.hp-btn-outline:hover {
    background: rgba(11, 61, 46, 0.05);
    border-color: #0B3D2E;
    transform: translateY(-2px);
}

/* ============================================
   QUICK STATS (overlapping hero)
   ============================================ */
.hp-stats-section {
    padding: 0;
    position: relative;
    z-index: 2;
    margin-top: -50px;
}

.hp-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.hp-stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 26px 18px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(201, 162, 77, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    border-color: rgba(201, 162, 77, 0.3);
}

.hp-stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: #0B3D2E;
    margin-bottom: 4px;
    line-height: 1.1;
}

.hp-stat-label {
    font-size: 0.78rem;
    color: #6b7280;
    font-weight: 500;
}

/* ============================================
   WELCOME / ABOUT
   ============================================ */
.hp-welcome-section {
    padding: 80px 0;
    background: #fff;
}

.hp-welcome-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hp-welcome-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.hp-welcome-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hp-welcome-content .hp-badge {
    margin-bottom: 12px;
}

.hp-welcome-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 18px;
}

.hp-welcome-content p {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.75;
    margin-bottom: 16px;
}

.hp-welcome-content .hp-btn-outline {
    margin-top: 10px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.hp-choose-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.hp-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hp-choose-card {
    background: #fff;
    border-radius: 16px;
    padding: 30px 24px;
    box-shadow: 0 3px 18px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-choose-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
    border-color: rgba(201, 162, 77, 0.25);
}

.hp-choose-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #FFF8EE, #FFF0DB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 20px;
    margin-bottom: 16px;
    transition: all 0.35s ease;
}

.hp-choose-card:hover .hp-choose-icon {
    background: linear-gradient(135deg, #0B3D2E, #155d47);
}

.hp-choose-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 10px;
}

.hp-choose-card p {
    font-size: 0.88rem;
    color: #6b7280;
    line-height: 1.6;
}

/* ============================================
   CURRICULUM
   ============================================ */
.hp-curriculum-section {
    padding: 80px 0;
    background: #fff;
}

.hp-curriculum-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hp-curriculum-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.hp-curriculum-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hp-curriculum-content .hp-badge {
    margin-bottom: 12px;
}

.hp-curriculum-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 14px;
}

.hp-curriculum-intro {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 28px;
}

.hp-curriculum-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 28px;
}

.hp-curriculum-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.hp-curriculum-check {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 12px;
    margin-top: 2px;
}

.hp-curriculum-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 3px;
}

.hp-curriculum-item p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.55;
}

/* ============================================
   COMMITMENT (dark section)
   ============================================ */
.hp-commitment-section {
    padding: 72px 0;
    background: linear-gradient(135deg, #0B3D2E 0%, #155d47 50%, #0B3D2E 100%);
    position: relative;
    overflow: hidden;
}

.hp-commitment-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.05);
}

.hp-commitment-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.04);
}

.hp-commitment-content {
    text-align: center;
    position: relative;
    z-index: 1;
    max-width: 750px;
    margin: 0 auto;
}

.hp-commitment-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.hp-commitment-content p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}

.hp-commitment-content p:last-child {
    margin-bottom: 0;
}

/* ============================================
   FACULTY
   ============================================ */
.hp-faculty-section {
    padding: 80px 0;
    background: #fff;
}

.hp-faculty-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hp-faculty-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

.hp-faculty-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.hp-faculty-content .hp-badge {
    margin-bottom: 12px;
}

.hp-faculty-content h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 14px;
}

.hp-faculty-intro {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 24px;
}

.hp-faculty-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.hp-faculty-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.hp-faculty-check {
    width: 30px;
    height: 30px;
    min-width: 30px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 13px;
    margin-top: 2px;
}

.hp-faculty-item h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 3px;
}

.hp-faculty-item p {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.55;
}

/* ============================================
   STUDENT LIFE
   ============================================ */
.hp-life-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB);
}

.hp-life-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.hp-life-card {
    background: #fff;
    border-radius: 18px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-life-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.1);
    border-color: rgba(201, 162, 77, 0.25);
}

.hp-life-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, #FFF8EE, #FFF0DB);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 24px;
    margin: 0 auto 18px;
    transition: all 0.35s ease;
}

.hp-life-card:hover .hp-life-icon {
    background: linear-gradient(135deg, #0B3D2E, #155d47);
}

.hp-life-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 10px;
}

.hp-life-card p {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.65;
}

.hp-life-image-wrap {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.hp-life-image-wrap img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

/* ============================================
   SAFETY
   ============================================ */
.hp-safety-section {
    padding: 80px 0;
    background: #fff;
}

.hp-safety-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.hp-safety-card {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(201, 162, 77, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-safety-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(201, 162, 77, 0.2);
}

.hp-safety-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 17px;
}

.hp-safety-card h4 {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 5px;
}

.hp-safety-card p {
    font-size: 0.84rem;
    color: #6b7280;
    line-height: 1.55;
}

/* ============================================
   FACILITIES
   ============================================ */
.hp-facilities-section {
    padding: 80px 0;
    background: linear-gradient(180deg, #FFF8EE, #FFF0DB) !important;
}

.hp-facilities-section .hp-section-header {
    margin-bottom: 40px;
}

.hp-facilities-cta {
    text-align: center;
    margin-top: 40px;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.hp-testimonials-section {
    padding: 80px 0;
    background: #fff;
}

.hp-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.hp-testimonial-card {
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px;
    box-shadow: 0 4px 22px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(201, 162, 77, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.hp-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.09);
    border-color: rgba(201, 162, 77, 0.25);
}

.hp-testimonial-quote {
    color: rgba(201, 162, 77, 0.25);
    font-size: 2rem;
    margin-bottom: 12px;
    line-height: 1;
}

.hp-testimonial-text {
    font-size: 0.92rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.hp-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.hp-testimonial-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0B3D2E, #155d47);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 14px;
}

.hp-testimonial-author h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: #0B3D2E;
    margin-bottom: 2px;
}

.hp-testimonial-author span {
    font-size: 0.76rem;
    color: #6b7280;
}

/* ============================================
   ADMISSIONS CTA
   ============================================ */
.hp-admissions-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #0B3D2E 0%, #155d47 50%, #0B3D2E 100%);
    position: relative;
    overflow: hidden;
}

.hp-admissions-section::before {
    content: '';
    position: absolute;
    top: -40%;
    right: -15%;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.05);
}

.hp-admissions-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.04);
}

.hp-admissions-header h2 {
    color: #fff;
}

.hp-admissions-header p {
    color: rgba(255, 255, 255, 0.8);
}

.hp-admissions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    position: relative;
    z-index: 1;
}

.hp-admissions-card {
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 32px 22px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hp-admissions-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(201, 162, 77, 0.3);
}

.hp-admissions-step {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 162, 77, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #C9A24D;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 auto 16px;
}

.hp-admissions-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.hp-admissions-card p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.55;
}

.hp-admissions-cta {
    text-align: center;
    margin-top: 42px;
    position: relative;
    z-index: 1;
}

.hp-admissions-open {
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 22px;
}

.hp-admissions-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hp-btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    background: linear-gradient(135deg, #C9A24D, #D4AF61);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.35s ease;
    box-shadow: 0 4px 16px rgba(201, 162, 77, 0.3);
}

.hp-btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 162, 77, 0.45);
}

.hp-btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.35s ease;
}

.hp-btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE — TABLET
   ============================================ */
@media (max-width: 992px) {
    .hp-hero-title {
        font-size: 2.8rem;
    }

    .hp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .hp-stats-section {
        margin-top: -20px;
    }

    .hp-welcome-layout,
    .hp-curriculum-layout,
    .hp-faculty-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hp-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-life-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .hp-safety-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .hp-admissions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hp-section-header h2 {
        font-size: 1.7rem;
    }

    .hp-welcome-image,
    .hp-curriculum-image,
    .hp-faculty-image {
        max-height: 350px;
    }
}

/* ============================================
   RESPONSIVE — MOBILE
   ============================================ */
@media (max-width: 576px) {
    .hp-stats-section {
        margin-top: 0;
    }

    .hp-hero-title {
        font-size: 2rem;
    }

    .hp-hero-desc {
        font-size: 0.95rem;
    }

    .hp-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .hp-stat-card {
        padding: 18px 10px;
    }

    .hp-stat-number {
        font-size: 1.4rem;
    }

    .hp-stat-label {
        font-size: 0.7rem;
    }

    .hp-welcome-section,
    .hp-choose-section,
    .hp-curriculum-section,
    .hp-commitment-section,
    .hp-faculty-section,
    .hp-life-section,
    .hp-safety-section,
    .hp-facilities-section,
    .hp-testimonials-section,
    .hp-admissions-section {
        padding: 55px 0;
    }

    .hp-section-header {
        margin-bottom: 32px;
    }

    .hp-section-header h2 {
        font-size: 1.35rem;
    }

    .hp-section-header p {
        font-size: 0.9rem;
    }

    .hp-choose-grid {
        grid-template-columns: 1fr;
    }

    .hp-choose-card {
        padding: 24px 20px;
    }

    .hp-safety-grid {
        grid-template-columns: 1fr;
    }

    .hp-safety-card {
        padding: 20px 18px;
    }

    .hp-welcome-content h2,
    .hp-curriculum-content h2,
    .hp-faculty-content h2 {
        font-size: 1.4rem;
    }

    .hp-commitment-content h2 {
        font-size: 1.35rem;
    }

    .hp-admissions-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
        margin: 0 auto;
    }

    .hp-admissions-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hp-btn-gold,
    .hp-btn-outline-light {
        width: 100%;
        justify-content: center;
        max-width: 280px;
    }
}
