/* =====================================================
   Happy Mandarin Centre – Custom Stylesheet
   ===================================================== */

/* --- Brand Variables --- */
:root {
    --hmc-red:    #e31b23;
    --hmc-dark:   #8b0000;
    --hmc-gold:   #ffb703;
    --hmc-yellow: #ffcc33;
    --hmc-soft:   #fff8ed;
    --hmc-gray:   #f8f9fb;
    --hmc-text:   #111827;
    --hmc-muted:  #6b7280;
    --hmc-border: #eef0f5;
    --hmc-radius: 8px;
    --hmc-shadow: 0 12px 40px rgba(15, 23, 42, .08);
}

/* =====================================================
   BRAND TEXT / LOGO
   ===================================================== */
.brand-text {
    color: var(--hmc-red);
    font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", "STHeiti", "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 900;
    letter-spacing: .5px;
    white-space: nowrap;
    line-height: 1.1;
    text-decoration: none !important;
    display: inline-block;
}
.brand-text span {
    color: var(--hmc-gold);
    display: block;
    font-family: "Mulish", sans-serif;
    font-size: 9.5px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-top: 4px;
    text-transform: uppercase;
}
.header-upper .brand-text { color: #fff; }

/* =====================================================
   HEADER TOP SOCIAL
   ===================================================== */
.hmc-social-top {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 16px;
}
.hmc-social-top a {
    color: rgba(255,255,255,.7);
    font-size: 14px;
    transition: color .2s;
}
.hmc-social-top a:hover { color: var(--hmc-gold); }

/* =====================================================
   PAGE BANNER – real photo + per-page colour overlay
   ===================================================== */
.hmc-page-banner {
    padding: 140px 0 80px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

/* Default / Admin / fallback — dark navy overlay */
.hmc-page-banner.banner-default {
    background-image:
        linear-gradient(90deg, rgba(17,24,39,.88) 0%, rgba(139,0,0,.70) 100%),
        url("../images/happy-mandarin/hero-classroom.png");
}

/* Tentang Kami — warm gold-tinted overlay */
.hmc-page-banner.banner-about {
    background-image:
        linear-gradient(120deg, rgba(17,24,39,.82) 0%, rgba(139,89,0,.72) 100%),
        url("../images/happy-mandarin/hero-classroom.png");
}

/* Program — deep navy + red accent */
.hmc-page-banner.banner-program {
    background-image:
        linear-gradient(120deg, rgba(10,14,40,.90) 0%, rgba(227,27,35,.65) 100%),
        url("../images/happy-mandarin/hero-classroom.png");
}

/* Berita — cool ink-wash, teal-navy tint */
.hmc-page-banner.banner-news {
    background-image:
        linear-gradient(120deg, rgba(10,30,45,.88) 0%, rgba(17,60,90,.75) 100%),
        url("../images/happy-mandarin/hero-classroom.png");
}

/* Kontak — warm welcoming, red-amber */
.hmc-page-banner.banner-contact {
    background-image:
        linear-gradient(120deg, rgba(100,20,10,.85) 0%, rgba(227,90,27,.65) 100%),
        url("../images/happy-mandarin/hero-classroom.png");
}
.page-banner .banner-inner { text-align: left; }
.page-banner .page-title {
    color: #fff;
    font-size: 46px;
    font-weight: 700;
    margin-bottom: 16px;
}
.page-banner .breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}
.page-banner .breadcrumb-item a { color: var(--hmc-gold); }
.page-banner .breadcrumb-item.active { color: rgba(255,255,255,.7); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }

/* =====================================================
   KICKER / SUB-TITLE
   ===================================================== */
.hmc-kicker,
.sub-title {
    color: var(--hmc-red);
    display: inline-block;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
    text-transform: uppercase;
    font-size: 13px;
}
.text-white .sub-title,
.text-white .hmc-kicker,
.bg-light-black .sub-title { color: var(--hmc-yellow); }

/* =====================================================
   HERO
   ===================================================== */
.hmc-hero {
    background:
        linear-gradient(90deg, rgba(17,24,39,.88) 0%, rgba(185,28,28,.55) 100%),
        url("../images/happy-mandarin/hero-classroom.png") center / cover no-repeat;
    min-height: 760px;
}
.hero-section-two.hmc-hero .hero-content {
    padding-top: 180px;
    padding-bottom: 120px;
}

/* =====================================================
   SERVICE BOX
   ===================================================== */
.service-box .service-hover .theme-btn { background: #fff; color: var(--hmc-red); }
.service-box .service-hover .theme-btn:hover { background: var(--hmc-gold); color: #111; }
.hmc-cat-badge {
    background: #fff3d0;
    border-radius: 20px;
    color: var(--hmc-dark);
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    padding: 3px 12px;
    text-transform: uppercase;
}

/* =====================================================
   STATS / COUNTER
   ===================================================== */
.hmc-counter-section {
    background:
        linear-gradient(90deg, rgba(17,24,39,.92) 0%, rgba(139,0,0,.85) 100%),
        url("../images/happy-mandarin/hero-classroom.png") center / cover no-repeat;
}
.hmc-counter-section .count-text {
    color: var(--hmc-gold);
    font-family: "Oswald", sans-serif;
    font-size: 56px;
    font-weight: 700;
    line-height: 1;
}
.hmc-counter-section .success-item p {
    color: rgba(255,255,255,.85);
    font-size: 14px;
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   STUDY ABROAD SECTION
   ===================================================== */
.hmc-study-abroad {
    background:
        linear-gradient(90deg, rgba(139,0,0,.96) 0%, rgba(227,27,35,.88) 100%),
        url("../images/happy-mandarin/hero-classroom.png") center / cover no-repeat;
}
.hmc-study-abroad h2 { color: #fff; }
.hmc-study-abroad p { color: rgba(255,255,255,.88); font-size: 17px; }

.hmc-study-list {
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: var(--hmc-radius);
    padding: 28px;
}
.hmc-study-list span {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
}
.hmc-study-list span:last-child { border-bottom: none; }
.hmc-study-list i {
    color: var(--hmc-yellow);
    font-size: 17px;
    margin-right: 12px;
    width: 20px;
    flex-shrink: 0;
}

/* =====================================================
   HOW IT WORKS
   ===================================================== */
.hmc-step-card {
    background: #fff;
    border: 1px solid var(--hmc-border);
    border-radius: var(--hmc-radius);
    box-shadow: var(--hmc-shadow);
    padding: 38px 30px;
    position: relative;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.hmc-step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(15,23,42,.12);
}
.hmc-step-number {
    background: var(--hmc-soft);
    border-radius: 50%;
    color: var(--hmc-red);
    font-family: "Oswald", sans-serif;
    font-size: 20px;
    font-weight: 700;
    height: 50px;
    width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.hmc-step-card .icon {
    color: var(--hmc-red);
    font-size: 34px;
    margin-bottom: 16px;
}
.hmc-step-card h5 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonial-item {
    background: #fff;
    border: 1px solid var(--hmc-border);
    border-radius: var(--hmc-radius);
    box-shadow: var(--hmc-shadow);
    padding: 30px;
    height: 100%;
}
.testimonial-item .author-description {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}
.testimonial-item .author-description img {
    border-radius: 50%;
    height: 54px;
    width: 54px;
    object-fit: cover;
    margin-right: 14px;
    flex-shrink: 0;
}
.testimonial-item .designation { flex: 1; }
.testimonial-item .designation h5 { font-size: 16px; font-weight: 700; margin: 0 0 2px; }
.testimonial-item .designation span { color: var(--hmc-muted); font-size: 13px; }
.testimonial-item .author-description .fas.fa-quote-right {
    color: var(--hmc-red);
    font-size: 22px;
    opacity: .25;
    margin-left: auto;
    flex-shrink: 0;
}
.testimonial-item > p { color: #374151; font-size: 15px; line-height: 1.75; margin: 0; }

/* =====================================================
   CTA SECTION
   ===================================================== */
.hmc-cta-section {
    background:
        linear-gradient(90deg, rgba(17,24,39,.94) 0%, rgba(227,27,35,.86) 100%),
        url("../images/happy-mandarin/hero-classroom.png") center / cover no-repeat;
}
.hmc-cta-section h2 { font-size: 32px; }

/* =====================================================
   SECTION SOFT BACKGROUND
   ===================================================== */
.hmc-section-soft { background: var(--hmc-soft); }

/* =====================================================
   GENERIC CARD
   ===================================================== */
.hmc-card {
    background: #fff;
    border: 1px solid var(--hmc-border);
    border-radius: var(--hmc-radius);
    box-shadow: var(--hmc-shadow);
    padding: 36px 30px;
    height: 100%;
    transition: transform .25s, box-shadow .25s;
}
.hmc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(15,23,42,.1);
}
.hmc-card .icon {
    align-items: center;
    background: #fff3d0;
    border-radius: var(--hmc-radius);
    color: var(--hmc-red);
    display: inline-flex;
    font-size: 30px;
    height: 64px;
    justify-content: center;
    margin-bottom: 22px;
    width: 64px;
}
.hmc-card h4 { font-size: 19px; font-weight: 700; margin-bottom: 12px; }

/* =====================================================
   ABOUT – HIGHLIGHT ROW
   ===================================================== */
.hmc-highlight-row {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 8px;
}
.hmc-highlight-item { text-align: center; min-width: 80px; }
.hmc-highlight-num {
    display: block;
    font-family: "Oswald", sans-serif;
    font-size: 40px;
    font-weight: 700;
    color: var(--hmc-red);
    line-height: 1;
}
.hmc-highlight-item > span:last-child {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: var(--hmc-muted);
    margin-top: 4px;
}

/* =====================================================
   PROGRAM PAGE – PROGRAM CARDS
   ===================================================== */
.hmc-program-card {
    background: #fff;
    border: 2px solid var(--hmc-border);
    border-radius: var(--hmc-radius);
    box-shadow: var(--hmc-shadow);
    padding: 30px 26px;
    height: 100%;
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.hmc-program-card:hover {
    border-color: var(--hmc-red);
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(227,27,35,.1);
}
.hmc-program-icon {
    align-items: center;
    background: var(--hmc-soft);
    border-radius: var(--hmc-radius);
    color: var(--hmc-red);
    display: inline-flex;
    font-size: 26px;
    height: 58px;
    justify-content: center;
    margin-bottom: 14px;
    width: 58px;
}
.hmc-program-cat {
    display: inline-block;
    background: #fff3d0;
    border-radius: 20px;
    color: var(--hmc-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .8px;
    padding: 3px 12px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.hmc-program-card h4 { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.hmc-program-card p { color: #4b5563; font-size: 14px; line-height: 1.7; }
.hmc-program-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 16px;
}
.hmc-program-tags span {
    background: var(--hmc-gray);
    border-radius: 20px;
    color: var(--hmc-text);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
}

/* =====================================================
   PRICING
   ===================================================== */
.hmc-pricing-card {
    background: #fff;
    border: 2px solid var(--hmc-border);
    border-radius: var(--hmc-radius);
    padding: 34px 28px 30px;
    height: 100%;
    position: relative;
    transition: transform .25s, box-shadow .25s;
}
.hmc-pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hmc-shadow);
}
.hmc-pricing-card.featured {
    border-color: var(--hmc-red);
    box-shadow: 0 20px 60px rgba(227,27,35,.14);
}
.hmc-pricing-badge {
    background: var(--hmc-red);
    border-radius: 0 var(--hmc-radius) 0 var(--hmc-radius);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    padding: 5px 12px;
    position: absolute;
    right: 0;
    top: 0;
    text-transform: uppercase;
}
.hmc-pricing-card h4 { font-size: 20px; font-weight: 700; margin-bottom: 14px; }
.hmc-pricing-price { margin-bottom: 22px; }
.hmc-pricing-price .amount {
    display: block;
    color: var(--hmc-red);
    font-family: "Oswald", sans-serif;
    font-size: 30px;
    font-weight: 700;
    line-height: 1;
}
.hmc-pricing-price .period {
    display: block;
    color: var(--hmc-muted);
    font-size: 13px;
    margin-top: 4px;
}
.hmc-pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
}
.hmc-pricing-features li {
    border-bottom: 1px solid var(--hmc-border);
    color: #374151;
    font-size: 14px;
    padding: 9px 0;
}
.hmc-pricing-features li:last-child { border-bottom: none; }
.hmc-pricing-features .fa-check {
    color: var(--hmc-red);
    margin-right: 10px;
    font-size: 12px;
}

/* =====================================================
   FAQ
   ===================================================== */
.hmc-faq {
    border: 1px solid var(--hmc-border);
    border-radius: var(--hmc-radius);
    overflow: hidden;
}
.hmc-faq-item + .hmc-faq-item { border-top: 1px solid var(--hmc-border); }
.hmc-faq-question {
    background: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    text-align: left;
    width: 100%;
    font-size: 15px;
    font-weight: 600;
    color: var(--hmc-text);
    transition: background .2s, color .2s;
}
.hmc-faq-question:hover,
.hmc-faq-question.active { background: var(--hmc-soft); color: var(--hmc-red); }
.hmc-faq-question .fas { color: var(--hmc-red); font-size: 13px; flex-shrink: 0; margin-left: 16px; }
.hmc-faq-question.active .fas { transform: rotate(45deg); }
.hmc-faq-answer { background: var(--hmc-soft); overflow: hidden; }
.hmc-faq-answer.show { padding: 16px 24px 20px; }
.hmc-faq-answer p { color: #374151; font-size: 14px; line-height: 1.75; margin: 0; }

/* =====================================================
   MINI CARD
   ===================================================== */
.hmc-mini-card {
    background: #fff;
    border-radius: var(--hmc-radius);
    box-shadow: var(--hmc-shadow);
    padding: 22px;
    height: 100%;
    transition: transform .2s;
}
.hmc-mini-card:hover { transform: translateY(-3px); }
.hmc-mini-card i {
    color: var(--hmc-red);
    font-size: 26px;
    margin-bottom: 10px;
    display: block;
}
.hmc-mini-card h5 { font-size: 15px; font-weight: 700; margin: 0 0 5px; }
.hmc-mini-card p { font-size: 13px; color: var(--hmc-muted); }

/* ── Tim Pengajar section — pure CSS background, no image needed ── */
.hmc-team-section {
    background: linear-gradient(160deg, #111827 0%, #1a2a5e 50%, #0f1e40 100%);
    padding: 100px 0 80px;
    position: relative;
    overflow: hidden;
}
.hmc-team-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 15% 50%, rgba(255,183,3,.07) 0%, transparent 70%),
        radial-gradient(ellipse 50% 60% at 85% 30%, rgba(16,76,186,.20) 0%, transparent 70%);
    pointer-events: none;
}
.hmc-team-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,183,3,.6), transparent);
}

/* ── Teacher profile card (horizontal layout) ── */
.hmc-teacher-card {
    align-items: center;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 16px;
    display: flex;
    gap: 24px;
    padding: 28px 28px;
    transition: background .3s, border-color .3s, transform .3s;
}
.hmc-teacher-card:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(255,183,3,.35);
    transform: translateY(-3px);
}

/* Avatar circle */
.hmc-teacher-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255,183,3,.50);
    box-shadow: 0 0 0 6px rgba(255,183,3,.08);
}
.hmc-teacher-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hmc-teacher-icon {
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, #1e3a7a, #2d4fa0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: rgba(255,255,255,.80);
}

/* Text side */
.hmc-teacher-info { flex: 1; min-width: 0; }
.hmc-teacher-info h4 {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}
.hmc-teacher-role {
    color: var(--hmc-gold);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .5px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 10px;
}
.hmc-teacher-bio {
    color: rgba(255,255,255,.65);
    font-size: 13.5px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 576px) {
    .hmc-teacher-card { flex-direction: column; align-items: flex-start; gap: 16px; }
    .hmc-teacher-avatar { width: 80px; height: 80px; }
}

/* ── Testimonial avatar (icon fallback) ── */
.hmc-testi-avatar {
    align-items: center;
    background: #e8edf5;
    border-radius: 50%;
    color: #104cba;
    display: flex;
    flex-shrink: 0;
    font-size: 22px;
    height: 60px;
    justify-content: center;
    margin-right: 14px;
    overflow: hidden;
    padding-top: 10px;
    width: 60px;
    min-width: 60px;
}
.testimonial-item .author-description { gap: 0; }
.testimonial-item .author-description img { margin-right: 14px; }

/* =====================================================
   CONTACT / FORM
   ===================================================== */
.hmc-contact-form-wrap {
    background: #fff;
    border: 1px solid var(--hmc-border);
    border-radius: var(--hmc-radius);
    box-shadow: var(--hmc-shadow);
    padding: 44px 40px;
}
.hmc-form-group { margin-bottom: 18px; }
.hmc-form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--hmc-text);
    margin-bottom: 6px;
}
.hmc-admin-form input,
.hmc-admin-form textarea,
.hmc-admin-form select,
.hmc-contact-form-wrap input,
.hmc-contact-form-wrap textarea,
.hmc-contact-form-wrap select {
    -webkit-appearance: none;
    appearance: none;
    background: #fff;
    border: 1px solid #d7dce5;
    border-radius: 6px;
    color: var(--hmc-text);
    font-size: 14px;
    outline: none;
    padding: 12px 14px;
    transition: border-color .2s, box-shadow .2s;
    width: 100%;
}
.hmc-admin-form input:focus,
.hmc-admin-form textarea:focus,
.hmc-admin-form select:focus,
.hmc-contact-form-wrap input:focus,
.hmc-contact-form-wrap textarea:focus,
.hmc-contact-form-wrap select:focus {
    border-color: var(--hmc-red);
    box-shadow: 0 0 0 3px rgba(227,27,35,.1);
}
.hmc-admin-form input.is-invalid,
.hmc-contact-form-wrap input.is-invalid { border-color: #dc2626; }
.hmc-field-error { color: #dc2626; font-size: 12px; margin-top: 4px; display: block; }
.hmc-admin-form textarea,
.hmc-contact-form-wrap textarea { min-height: 120px; resize: vertical; }

.hmc-hours {
    background: var(--hmc-soft);
    border-left: 4px solid var(--hmc-red);
    border-radius: var(--hmc-radius);
    padding: 18px 22px;
}
.hmc-hours strong,
.hmc-hours span { display: block; }
.hmc-hours strong { color: var(--hmc-text); margin-bottom: 8px; font-weight: 700; }
.hmc-hours span { color: #374151; font-size: 14px; padding: 2px 0; }

/* Alerts */
.hmc-alert-success,
.hmc-alert-error {
    align-items: flex-start;
    border-radius: var(--hmc-radius);
    display: flex;
    gap: 14px;
    padding: 18px 22px;
}
.hmc-alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #166534; }
.hmc-alert-error   { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.hmc-alert-success .fas,
.hmc-alert-error .fas { font-size: 20px; flex-shrink: 0; margin-top: 2px; }

/* Map */
.hmc-map-wrap { line-height: 0; }
.hmc-map-wrap iframe { display: block; }

/* =====================================================
   NEWS / BLOG
   ===================================================== */
.hmc-news-image {
    aspect-ratio: 16/10;
    object-fit: cover;
    width: 100%;
    border-radius: var(--hmc-radius) var(--hmc-radius) 0 0;
}
.hmc-post-body {
    color: #374151;
    font-size: 16px;
    line-height: 1.8;
}
.hmc-post-body p,
.hmc-post-body ul,
.hmc-post-body ol,
.hmc-post-body blockquote {
    margin-bottom: 20px;
}
.hmc-post-body h2,
.hmc-post-body h3,
.hmc-post-body h4 {
    color: var(--hmc-dark);
    font-weight: 800;
    line-height: 1.35;
    margin: 32px 0 14px;
}
.hmc-post-body h2 { font-size: 28px; }
.hmc-post-body h3 { font-size: 24px; }
.hmc-post-body h4 { font-size: 20px; }
.hmc-post-body ul,
.hmc-post-body ol {
    padding-left: 26px;
}
.hmc-post-body ul,
.hmc-post-body ul li {
    list-style: disc;
}
.hmc-post-body ol,
.hmc-post-body ol li {
    list-style: decimal;
}
.hmc-post-body li {
    margin-bottom: 8px;
}
.hmc-post-body blockquote {
    border-left: 4px solid var(--hmc-gold);
    color: #4b5563;
    font-weight: 600;
    padding-left: 18px;
}
.hmc-post-body a {
    color: var(--hmc-red);
    font-weight: 700;
    text-decoration: underline;
}
.hmc-post-footer { border-top: 1px solid var(--hmc-border); }
.hmc-share-btn {
    align-items: center;
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 14px;
    height: 36px;
    justify-content: center;
    margin-left: 6px;
    width: 36px;
    transition: opacity .2s;
}
.hmc-share-btn:hover { opacity: .85; }
.hmc-share-btn.whatsapp { background: #25d366; }
.hmc-share-btn.facebook { background: #1877f2; }

/* =====================================================
   ADMIN
   ===================================================== */
.hmc-admin-nav {
    display: flex;
    gap: 4px;
    border-bottom: 2px solid var(--hmc-border);
}
.hmc-admin-nav-link {
    padding: 10px 20px;
    font-weight: 700;
    font-size: 14px;
    color: var(--hmc-muted);
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    text-decoration: none !important;
    transition: color .2s;
}
.hmc-admin-nav-link:hover,
.hmc-admin-nav-link.active { color: var(--hmc-red); border-bottom-color: var(--hmc-red); }
.hmc-admin-nav-link i { margin-right: 6px; }

.hmc-status-badge {
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 3px 12px;
    text-transform: uppercase;
}
.hmc-status-published { background: #dcfce7; color: #166534; }
.hmc-status-draft     { background: #fef9c3; color: #854d0e; }
.hmc-status-new       { background: #dbeafe; color: #1e40af; }
.hmc-status-contacted { background: #f0fdf4; color: #166534; }
.hmc-status-enrolled  { background: #ede9fe; color: #5b21b6; }

.hmc-program-badge {
    background: var(--hmc-soft);
    border-radius: 20px;
    color: var(--hmc-dark);
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
}
.hmc-btn-danger {
    background: transparent;
    border: 1px solid #fca5a5;
    border-radius: 6px;
    color: #dc2626;
    cursor: pointer;
    font-size: 13px;
    padding: 5px 10px;
    transition: background .2s;
}
.hmc-btn-danger:hover { background: #fef2f2; }

/* =====================================================
   FOOTER
   ===================================================== */
.hmc-social-footer { display: flex; gap: 10px; }
.hmc-social-footer a {
    align-items: center;
    background: rgba(255,255,255,.12);
    border-radius: 50%;
    color: #fff;
    display: inline-flex;
    font-size: 15px;
    height: 38px;
    justify-content: center;
    transition: background .2s;
    width: 38px;
}
.hmc-social-footer a:hover { background: var(--hmc-red); }

/* =====================================================
   LIST-STYLE-ONE BRAND OVERRIDE
   (Restly default is blue #104cba + no flex-shrink fix)
   ===================================================== */
.list-style-one li:before {
    background: var(--hmc-red) !important;
    flex-shrink: 0 !important;       /* prevent horizontal squash */
    align-self: flex-start !important; /* prevent vertical stretch */
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    line-height: 35px !important;
}

/* =====================================================
   CTA WHATSAPP BUTTON (green, not Restly blue)
   ===================================================== */
.hmc-btn-wa {
    background: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}
.hmc-btn-wa:hover {
    background: #1ebe5d !important;
    border-color: #1ebe5d !important;
    color: #fff !important;
}
/* CTA button pair — keep them inline and wrap cleanly */
.hmc-cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
}
@media (max-width: 991px) {
    .hmc-cta-btns { justify-content: flex-start; margin-top: 24px; }
}

/* =====================================================
   SECTION IMAGE (single image, no stacked two-image layout)
   ===================================================== */
.hmc-section-img {
    border-radius: var(--hmc-radius);
    overflow: hidden;
    width: 100%;
}
.hmc-section-img img {
    border-radius: var(--hmc-radius);
    display: block;
    height: auto;
    object-fit: cover;
    width: 100% !important;
}

/* =====================================================
   WHATSAPP FLOAT BUTTON
   ===================================================== */
.hmc-wa-float {
    align-items: center;
    background: #25d366 !important;
    border-radius: 50%;
    bottom: 28px;
    box-shadow: 0 8px 30px rgba(37,211,102,.4);
    color: #fff !important;
    display: flex !important;
    font-size: 30px;
    height: 60px;
    justify-content: center;
    position: fixed;
    right: 28px;
    text-decoration: none !important;
    transition: transform .25s, box-shadow .25s;
    width: 60px;
    z-index: 9999;
}
.hmc-wa-float:hover {
    background: #1ebe5d !important;
    color: #fff !important;
    transform: scale(1.1);
    box-shadow: 0 12px 40px rgba(37,211,102,.5);
}

/* =====================================================
   HERO BUTTON COLOUR (override Restly blue → brand red)
   ===================================================== */
.hmc-hero .theme-btn,
.hmc-hero .hero-content .theme-btn {
    background: var(--hmc-red) !important;
    border-color: var(--hmc-red) !important;
    color: #fff !important;
}
.hmc-hero .theme-btn:hover {
    background: var(--hmc-dark) !important;
    border-color: var(--hmc-dark) !important;
}
/* outline/style-five variant stays as outline but red border */
.hmc-hero .theme-btn.style-five {
    background: transparent !important;
    border: 2px solid rgba(255,255,255,.7) !important;
    color: #fff !important;
}
.hmc-hero .theme-btn.style-five:hover {
    background: rgba(255,255,255,.15) !important;
    border-color: #fff !important;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 991px) {
    .hmc-hero { min-height: 600px; }
    .hmc-page-banner { padding: 120px 0 70px; }
    .page-banner .page-title { font-size: 36px; }
    .hmc-contact-form-wrap { padding: 30px 24px; }
}
@media (max-width: 767px) {
    /* Hide the top info bar on mobile — WhatsApp float + footer cover it */
    .header-top-wrap { display: none !important; }

    .hmc-hero { min-height: 520px; }
    .brand-text { font-size: 20px; }
    .hmc-counter-section .count-text { font-size: 42px; }
    .hmc-highlight-row { gap: 20px; }
    .hmc-highlight-num { font-size: 34px; }
    .header-upper .brand-text { font-size: 18px; }
    .hmc-contact-form-wrap { padding: 22px 16px; }
    .hmc-wa-float { bottom: 20px; right: 20px; height: 52px; width: 52px; font-size: 26px; }
    .page-banner .page-title { font-size: 28px; }
    .hmc-step-card { padding: 28px 22px; }
    .hmc-cta-btns { justify-content: flex-start; }
}
