﻿/* =========================================================
   01) RESET + TOKENS
========================================================= */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --orange: #e8a825;
    --orange-dark: #c98b10;
    --white: #fff;
    --text-dark: #1a1a1a;
    --text-mid: #555;
    --text-light: #666;
    --bg-light: #f7f7f7;
}

body {
    font-family: 'Montserrat', sans-serif;
}

/* Prevent inherited Title Case from global styles */
.hero-section * {
    text-transform: none !important;
}

.packages-view-all__btn {
    text-transform: uppercase !important;
}

/* =========================================================
   02) HERO
========================================================= */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 420px;
    height: 610px;
    background: url("/img/admission-enrollment/section1-bg.jpg") center / cover no-repeat;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background-position: center 60%;
}

    /* semi-opaque overlay to darken the background image */
    .hero-section::before {
        content: "";
        position: absolute;
        inset: 0;
        background: rgba(0, 0, 0, 0.35); /* increase alpha to darken more (0.0 - 1.0) */
        z-index: 0;
        pointer-events: none;
    }

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 80px 60px 60px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
    /* added shadow */
    text-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--white);
    line-height: 1.2;
    max-width:650px;
}

@media (max-width: 900px) {
    .hero-title {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    /* Darker overlay on mobile */
    .hero-section::before {
        background: rgba(0, 0, 0, 0.48);
    }

    .hero-section {
        min-height: unset;
    }
    .hero-content {
        padding: 28px 24px 36px;
    }

    .hero-subtitle {
        font-size: 13px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding: 1rem 0 !important;
        max-height: 260px !important;
    }

    .hero-content {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 0 2.2rem;
    }

    .hero-text {
        width: 100%;
    }

    .hero-title {
        /* increased size for small/mobile devices and slightly tighter line-height */
        font-size: 2rem;
        line-height: 1.05;
        margin: 0 0 0.25rem 0;
        /* a softer shadow on mobile for better legibility */
        text-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin: 0;
    }
}


/* =========================================================
   03) PACKAGES
========================================================= */
.packages-section {
    width: 100%;
    padding: 0 24px 56px;
}

/* Header */
.packages-header {
    text-align: center;
    padding: 64px 20px 44px;
    background-color: transparent;
}

.packages-title {
    font-size: 3.5rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 14px;
}

.packages-subtitle {
    font-size: 1.7rem;
    font-weight: 400;
    color: var(--text-light);
    margin-top:-10px;
}

/* List wrapper */
.packages-list {
    max-width: 1100px; /* reduced max width so cards appear smaller on wide screens */
    margin: 0 auto;
    display: grid;
    gap: 20px;
    grid-auto-flow: row;
    padding-inline: 8px;
}
/* ==========================================
   HCBI PACKAGE CARD
========================================== */

.packages-list {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0;
}

.hcbi-card {
    display: grid;
    grid-template-columns: 53% 47%;
    overflow: hidden;
    border-radius: 34px;
    background: #f6a532;
    min-height: 575px;
}

.hcbi-card__image {
    overflow: hidden;
    border-radius:30px;
}

    .hcbi-card__image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
    }

.hcbi-card__content {
    background: #f6a532;
    color: #fff;
    padding: 70px 70px 70px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hcbi-card__title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 40px;
    color: #fff;
}

.hcbi-card__description {
    font-size: 1.65rem;
    font-weight: 400;
    margin-bottom: 55px;
    color: #fff;
    max-width: 650px;
}

.hcbi-card__investment {
    font-size: 1.65rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 50px;
    color: #fff;
}

    .hcbi-card__investment span {
        font-weight: 700;
    }

.hcbi-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 260px;
    border: 5px solid #fff;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    font-size: 2rem;
    font-weight: 700;
    transition: all .3s ease;
}

    .hcbi-card__btn:hover {
        background: rgba(255,255,255,.12);
    }

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1200px) {

    .hcbi-card {
        min-height: 450px;
    }

    .hcbi-card__content {
        padding: 45px;
    }

    .hcbi-card__title {
        font-size: 3rem;
    }

    .hcbi-card__description {
        font-size: 1.25rem;
    }

    .hcbi-card__investment {
        font-size: 1.4rem;
    }

    .hcbi-card__btn {
        width: 250px;
        height: 70px;
        font-size: 1.4rem;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {
    .packages-title {
        font-size: 1.8rem;
    }

    .packages-subtitle {
        font-size: 1rem;
    }

    .hcbi-card {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hcbi-card__image {
        height: 280px;
    }

    .hcbi-card__content {
        padding: 30px;
    }

    .hcbi-card__title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .hcbi-card__description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .hcbi-card__investment {
        font-size: 1.1rem;
        margin-bottom: 25px;
    }

    .hcbi-card__btn {
        width: 200px;
        height: 55px;
        font-size: 1rem;
        border-width: 3px;
    }
}


/* =========================================================
   04) CTA
========================================================= */
.cta-section {
    position: relative;
    width: 100%;
    min-height: 260px;
    background: url('/images/cta-bg.jpg') center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(230, 160, 30, 0.85) 0%, rgba(0, 0, 0, 0.35) 100%);
    z-index: 0;
}

.cta-section::before,
.cta-section::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
    z-index: 1;
}

.cta-section::before {
    left: 0;
    top: 0;
    border-width: 260px 0 0 120px;
    border-color: transparent transparent transparent var(--orange);
}

.cta-section::after {
    right: 0;
    bottom: 0;
    border-width: 0 0 260px 120px;
    border-color: transparent transparent var(--orange) transparent;
}

.cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 48px 20px;
}

.cta-title {
    font-size: clamp(18px, 2.8vw, 38px);
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 36px;
}

    .cta-title strong {
        font-weight: 900;
    }

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    font-size: clamp(13px, 1.2vw, 15px);
    font-weight: 700;
    letter-spacing: 0.3px;
    white-space: nowrap;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.cta-btn--filled {
    background-color: var(--orange);
    color: var(--white);
    border: 2px solid var(--orange);
}

    .cta-btn--filled:hover {
        background-color: var(--orange-dark);
        border-color: var(--orange-dark);
        transform: translateY(-1px);
    }

.cta-btn--outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

