/* ============================================================
   HOME PAGE — Elegant Overrides & New Sections
   ============================================================ */

/* ---------- Hero (Photo Only) ---------- */
.hero-section {
    position: relative;
    height: 60vh;
    min-height: 400px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-image: url('../images/hero.webp');
    background-size: cover;
    background-position: center;
    transform: scale(1.04);
    transition: transform 8s ease-out;
}

.hero-bg.loaded {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(10, 18, 80, 0.45) 0%,
        rgba(26, 35, 126, 0.35) 50%,
        rgba(0, 0, 0, 0.25) 100%
    );
}

/* ---------- Hero CTA Section (Below Photo) ---------- */
.hero-cta-section {
    background: #3652a6; /* Matched to screenshot */
    padding: 5rem 0;
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.hero-cta-content {
    text-align: center;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    letter-spacing: 3px;
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #4fc3f7; /* Matching the light blue accent */
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.2s ease forwards;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.45s ease forwards;
}

.hero-title span {
    color: #4fc3f7; /* Matching light blue */
    display: block;
    font-weight: 300;
    font-size: 0.7em;
    margin-top: 0.2rem;
    letter-spacing: 1px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    font-weight: 400;
    line-height: 1.6;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.7s 0.65s ease forwards;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s 0.85s ease forwards;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0;
    animation: fadeUp 0.7s 1.1s ease forwards;
}

.hero-scroll span {
    display: block;
    width: 22px;
    height: 36px;
    border: 2px solid rgba(255,255,255,.5);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
}

.hero-scroll span::after {
    content: '';
    display: block;
    width: 4px;
    height: 8px;
    background: #4fc3f7;
    border-radius: 2px;
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollBounce 1.6s infinite;
}

@keyframes scrollBounce {
    0%,100% { top: 5px; opacity: 1; }
    60% { top: 16px; opacity: .4; }
}

/* ---------- Utility: section wrapper ---------- */
.section-wrap {
    padding: 5.5rem 0;
}

.section-wrap.bg-soft {
    background: #fafbfc;
}

.section-wrap.bg-dark-navy {
    background: #0d1444;
    color: #fff;
}

.section-label {
    display: inline-block;
    letter-spacing: 3px;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #4fc3f7;
    margin-bottom: .6rem;
}

.section-heading {
    font-size: clamp(1.6rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #1a237e;
    line-height: 1.25;
    margin-bottom: 1rem;
}

.section-heading.light {
    color: #fff;
}

.section-divider {
    width: 48px;
    height: 3px;
    background: #4fc3f7;
    border-radius: 2px;
    margin-bottom: 1.5rem;
}

/* ---------- About Section ---------- */
.about-lead {
    font-size: 1.08rem;
    line-height: 1.85;
    color: #444;
    max-width: 760px;
}

/* ---------- Stats Bar ---------- */
.stats-bar {
    background: linear-gradient(135deg, #1a237e 0%, #3f51b5 100%);
    padding: 3.5rem 0;
    color: #fff;
}

.stat-item {
    text-align: center;
    padding: 1rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #4fc3f7;
    line-height: 1;
    margin-bottom: .3rem;
}

.stat-label {
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255,255,255,.75);
}

/* ---------- Feature Cards ---------- */
.feature-card {
    border: 1px solid #e8ecf4;
    border-radius: 0;
    overflow: hidden;
    transition: border-color .3s ease;
    background: #fff;
    height: 100%;
}

.feature-card:hover {
    border-color: #4fc3f7;
}

.feature-card .card-img-wrap {
    height: 220px;
    overflow: hidden;
}

.feature-card .card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.feature-card:hover .card-img-wrap img {
    transform: scale(1.06);
}

.feature-card .card-body {
    padding: 1.6rem;
}

.feature-card .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: .6rem;
}

.feature-card .card-text {
    font-size: .92rem;
    color: #555;
    line-height: 1.7;
}

/* ---------- Promo Banner (80hrs) ---------- */
.promo-banner {
    background: linear-gradient(135deg, #4fc3f7 0%, #1a237e 100%);
    border-radius: 0;
    padding: 3rem 2rem;
    color: #fff;
    text-align: center;
    margin-bottom: 3rem;
    border-top: 3px solid #4fc3f7;
    border-bottom: 3px solid #1a237e;
}

.promo-banner h2 {
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-weight: 700;
    margin-bottom: 1.2rem;
}

/* ---------- Admission Steps ---------- */
.step-card {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 2rem 0;
    background: transparent;
    border-bottom: 1px solid #e8ecf4;
    margin-bottom: 0;
    text-decoration: none;
    color: inherit;
    transition: border-color .3s ease;
}

.step-card:hover {
    border-color: #4fc3f7;
    color: inherit;
}

.step-number {
    min-width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3f51b5, #1a237e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.step-body .step-title {
    font-weight: 700;
    color: #1a237e;
    font-size: 1rem;
    margin-bottom: .2rem;
}

.step-body p {
    color: #666;
    font-size: .88rem;
    margin: 0;
}

.admission-img {
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e8ecf4;
}

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

/* ---------- HVAC Program ---------- */
.program-card {
    border: 1px solid #e8ecf4;
    border-radius: 0;
    overflow: hidden;
    background: #fff;
}

.program-card .program-img {
    height: 300px;
    overflow: hidden;
}

.program-card .program-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-card .card-body {
    padding: 2.2rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.check-list li {
    padding: .55rem 0;
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    font-size: .95rem;
    color: #444;
    border-bottom: 1px solid #f0f2f8;
}

.check-list li:last-child { border-bottom: none; }

.check-list li i {
    color: #3f51b5;
    margin-top: 3px;
    flex-shrink: 0;
}

.program-sub-heading {
    font-size: 1.15rem;
    font-weight: 700;
    color: #1a237e;
    margin: 1.8rem 0 1rem;
}

.licensed-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border-radius: 0;
    padding: 1.5rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid #e8ecf4;
    border-bottom: 1px solid #e8ecf4;
}

.licensed-badge p {
    font-size: .82rem;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

/* ---------- Review Cards ---------- */
.review-card {
    background: transparent;
    border-radius: 0;
    padding: 2rem 0;
    border-bottom: 1px solid #e8ecf4;
    position: relative;
    height: 100%;
    transition: border-color .3s ease;
}

.review-card:hover {
    border-color: #4fc3f7;
}

.review-card::before {
    content: '\201C';
    font-size: 4rem;
    line-height: 1;
    color: #e8ecf8;
    font-family: Georgia, serif;
    position: absolute;
    top: 0;
    left: 0;
}

.review-stars {
    margin-bottom: .8rem;
    color: #f5a623;
    font-size: 1rem;
}

.review-text {
    font-size: .94rem;
    color: #555;
    line-height: 1.75;
    margin-bottom: 1rem;
    font-style: italic;
}

.review-author {
    font-weight: 700;
    color: #1a237e;
    font-size: .9rem;
}

/* ---------- Contact Section ---------- */
.contact-section {
    background: #fafbfc;
    padding: 5.5rem 0;
}

.contact-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e8ecf4;
}

.contact-info-panel {
    background: linear-gradient(160deg, #1a237e 0%, #3f51b5 100%);
    padding: 3rem 2.5rem;
    color: #fff;
    height: 100%;
}

.contact-info-panel h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: .6rem;
}

.contact-info-panel p {
    color: rgba(255,255,255,.75);
    font-size: .95rem;
    margin-bottom: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.contact-info-item .icon-wrap {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}

.contact-info-item .info-text {
    font-size: .9rem;
    line-height: 1.6;
}

.contact-info-item .info-text a {
    color: #4fc3f7;
    text-decoration: none;
}

.contact-info-item .info-text a:hover {
    text-decoration: underline;
}

.contact-form-panel {
    padding: 3rem 2.5rem;
}

.contact-form-panel h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a237e;
    margin-bottom: .4rem;
}

.contact-form-panel .sub {
    color: #888;
    font-size: .9rem;
    margin-bottom: 1.8rem;
}

.form-floating .form-control,
.form-floating .form-select {
    border-radius: 0;
    border-color: #dde3f4;
    font-size: .95rem;
}

.form-floating .form-control:focus,
.form-floating .form-select:focus {
    border-color: #3f51b5;
    box-shadow: none;
    border-width: 2px;
}

/* ---------- Map ---------- */
.map-section {
    padding: 0;
    line-height: 0;
}

.map-section iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    filter: grayscale(15%);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    background: linear-gradient(135deg, #1a237e 0%, #4fc3f7 100%);
    padding: 4.5rem 1.5rem;
    text-align: center;
    color: #fff;
}

.cta-banner h2 {
    font-size: clamp(1.5rem, 4vw, 2.6rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-banner p {
    font-size: 1.05rem;
    color: rgba(255,255,255,.82);
    margin-bottom: 2rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Buttons ---------- */
.btn-elegant {
    padding: .85rem 2.8rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .3s ease;
    border: 2px solid transparent;
}

.btn-elegant.btn-sky {
    background: #4fc3f7;
    color: #1a237e;
}

.btn-elegant.btn-sky:hover {
    background: #29b6f6;
    color: #0d1444;
    transform: translateY(-2px);
}

.btn-elegant.btn-light-outline {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-elegant.btn-light-outline:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    transform: translateY(-2px);
}

.btn-elegant.btn-navy {
    background: #1a237e;
    border-color: #1a237e;
    color: #fff;
}

.btn-elegant.btn-navy:hover {
    background: #0d1444;
    border-color: #0d1444;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26,35,126,.3);
}

.btn-elegant.btn-white-navy {
    background: #fff;
    color: #1a237e;
    border-color: #fff;
}

.btn-elegant.btn-white-navy:hover {
    background: #e8eeff;
    border-color: #e8eeff;
    color: #1a237e;
    transform: translateY(-2px);
}

/* ---------- Scroll-reveal animation ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .65s ease, transform .65s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(22px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 768px) {
    .hero-section {
        height: 50vh;
        min-height: 300px;
    }
    .hero-cta-section {
        padding: 3rem 1.5rem;
    }
    .hero-cta-content {
        padding: 0 1rem;
    }
    .hero-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
    }
    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
    .section-wrap { padding: 3.5rem 0; }
    .contact-info-panel { padding: 2.5rem 1.5rem; }
    .contact-form-panel { padding: 2.5rem 1.5rem; }
    .step-card { gap: .9rem; }
}
