:root {
    --ha-primary: #000231;
    --ha-primary-dark: #1a1c52;
    --ha-accent: #2563eb;
    --ha-dark: #0f2027;
    --ha-light: #f3f9f8;
    --ha-gray: #64748b;
}

body {
    font-family: "Segoe UI", Roboto, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f2937;
}

a {
    text-decoration: none;
}

.btn-primary {
    background-color: var(--ha-primary);
    border-color: var(--ha-primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--ha-primary-dark);
    border-color: var(--ha-primary-dark);
}

.btn-outline-primary {
    color: var(--ha-primary);
    border-color: var(--ha-primary);
}

.btn-outline-primary:hover {
    background-color: var(--ha-primary);
    border-color: var(--ha-primary);
}

.text-primary-ha { color: var(--ha-primary) !important; }
.bg-primary-ha { background-color: var(--ha-primary) !important; }
.bg-light-ha { background-color: var(--ha-light) !important; }

/* Topbar */
.topbar {
    background: var(--ha-dark);
    color: #cbd5e1;
    font-size: 0.85rem;
}
.topbar a { color: #e2e8f0; }
.topbar a:hover { color: #fff; }

/* Navbar */
.main-navbar {
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.main-navbar .navbar-brand {
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ha-primary-dark);
}
.main-navbar .navbar-brand img {
    height: 42px;
    margin-right: 8px;
}
.main-navbar .nav-link {
    font-weight: 500;
    color: #334155;
}
.main-navbar .nav-link.active,
.main-navbar .nav-link:hover {
    color: var(--ha-primary);
}

/* Hero / Banner */
.hero-slide {
    position: relative;
    height: 520px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}
.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(15,32,39,.82) 0%, rgba(15,32,39,.45) 60%, rgba(15,32,39,.15) 100%);
}
.hero-slide .hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 640px;
}
.hero-slide h1 {
    font-weight: 700;
    font-size: 2.6rem;
}
@media (max-width: 768px) {
    .hero-slide { height: 440px; }
    .hero-slide h1 { font-size: 1.8rem; }
}

/* Section */
.section { padding: 72px 0; }
.section-title-eyebrow {
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: .8rem;
    font-weight: 700;
    color: var(--ha-primary);
}
.section-title {
    font-weight: 700;
    font-size: 2rem;
    margin-bottom: .5rem;
}

/* Cards */
.icon-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--ha-light);
    color: var(--ha-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
}
.card-hover {
    transition: transform .2s ease, box-shadow .2s ease;
    border: 1px solid #eef2f4;
}
.card-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(15,32,39,.08);
}

/* Premium team card */
.team-card-premium {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f4;
    box-shadow: 0 4px 16px rgba(15,32,39,.08);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.team-card-premium.tone-teal { --team-glow: 13,148,136; }
.team-card-premium.tone-blue { --team-glow: 37,99,235; }
.team-card-premium.tone-purple { --team-glow: 124,58,237; }
.team-card-premium.tone-pink { --team-glow: 219,39,119; }
.team-card-premium.tone-orange { --team-glow: 217,119,6; }
.team-card-premium:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: 0 26px 44px rgba(15,32,39,.16), 0 0 0 3px rgba(var(--team-glow), .18), 0 0 30px 4px rgba(var(--team-glow), .28);
}
.team-card-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 4.4;
    overflow: hidden;
    background: var(--ha-light);
}
.team-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .6s ease;
    display: block;
}
.team-card-premium:hover .team-card-photo {
    transform: scale(1.08);
}
.team-card-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(75deg, transparent 0%, rgba(255,255,255,.5) 50%, transparent 100%);
    transform: skewX(-18deg);
    z-index: 2;
    pointer-events: none;
}
.team-card-premium:hover .team-card-shine {
    animation: doctor-card-shine-sweep 1.1s ease;
}
.team-card-name-plate {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 40px 18px 16px;
    background: linear-gradient(to top, rgba(8,20,26,.92) 0%, rgba(8,20,26,.55) 55%, rgba(8,20,26,0) 100%);
    z-index: 1;
}
.team-card-role-pill {
    display: inline-block;
    background: rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    color: #7fe4da;
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 7px;
    border: 1px solid rgba(255,255,255,.25);
}
.team-card-name {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.08rem;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.team-card-body {
    position: relative;
    background: #fff;
    padding: 18px 20px 22px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.team-card-bio {
    color: #64748b;
    font-size: .86rem;
    margin-bottom: 16px;
    flex-grow: 1;
}
.team-card-email {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    margin-top: auto;
    border: 1.5px solid rgba(var(--team-glow), .5);
    color: rgb(var(--team-glow));
    font-weight: 600;
    font-size: .84rem;
    border-radius: 10px;
    padding: 8px 14px;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
    word-break: break-all;
}
.team-card-email i {
    font-size: .8rem;
}
.team-card-email:hover {
    background: rgb(var(--team-glow));
    border-color: rgb(var(--team-glow));
    color: #fff;
}

/* Premium doctor card */
.doctor-card-premium {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(15,32,39,.08);
    border: 1px solid #eef2f4;
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
    display: flex;
    flex-direction: column;
}
.doctor-card-premium::before {
    content: "";
    position: absolute;
    inset: -2px;
    z-index: -1;
    border-radius: 22px;
    background: conic-gradient(from 180deg, #0d9488, #2563eb, #7c3aed, #db2777, #0d9488);
    opacity: 0;
    transition: opacity .4s ease;
}
.doctor-card-premium:hover {
    transform: translateY(-10px) scale(1.015);
    border-color: transparent;
    animation: doctor-card-glow 2.4s ease-in-out infinite;
}
.doctor-card-premium:hover::before {
    opacity: 1;
    animation: doctor-card-ring-spin 4s linear infinite;
}
@keyframes doctor-card-ring-spin {
    from { background: conic-gradient(from 0deg, #0d9488, #2563eb, #7c3aed, #db2777, #0d9488); }
    to { background: conic-gradient(from 360deg, #0d9488, #2563eb, #7c3aed, #db2777, #0d9488); }
}
@keyframes doctor-card-glow {
    0%, 100% {
        box-shadow: 0 26px 44px rgba(15,32,39,.18), 0 0 0 0 rgba(13,148,136,.35);
    }
    50% {
        box-shadow: 0 26px 44px rgba(15,32,39,.18), 0 0 26px 6px rgba(13,148,136,.4);
    }
}
@media (prefers-reduced-motion: reduce) {
    .doctor-card-premium:hover {
        animation: none;
        box-shadow: 0 24px 40px rgba(15,32,39,.16);
    }
    .doctor-card-premium:hover::before {
        animation: none;
    }
}
.doctor-card-photo-wrap {
    position: relative;
    aspect-ratio: 4 / 4.6;
    overflow: hidden;
    background: var(--ha-light);
}
.doctor-card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .6s ease;
    display: block;
}
.doctor-card-premium:hover .doctor-card-photo {
    transform: scale(1.09);
}
.doctor-card-shine {
    position: absolute;
    top: 0;
    left: -60%;
    width: 40%;
    height: 100%;
    background: linear-gradient(75deg, transparent 0%, rgba(255,255,255,.5) 50%, transparent 100%);
    transform: skewX(-18deg);
    z-index: 2;
    pointer-events: none;
}
.doctor-card-premium:hover .doctor-card-shine {
    animation: doctor-card-shine-sweep 1.1s ease;
}
@keyframes doctor-card-shine-sweep {
    from { left: -60%; }
    to { left: 130%; }
}
.doctor-card-exp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15,32,39,.72);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: .7rem;
    font-weight: 600;
    padding: 5px 10px 5px 8px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    z-index: 3;
}
.doctor-card-exp-badge i { color: #5eead4; font-size: .68rem; }
.doctor-card-quick-book {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--ha-primary) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: 0 6px 16px rgba(15,32,39,.25);
    opacity: 0;
    transform: scale(.6) rotate(-45deg);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), opacity .3s ease, background .2s ease, color .2s ease;
    z-index: 3;
}
.doctor-card-premium:hover .doctor-card-quick-book {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}
.doctor-card-quick-book:hover {
    background: var(--ha-primary);
    color: #fff !important;
}
.doctor-card-name-plate {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 34px 16px 14px;
    background: linear-gradient(to top, rgba(8,20,26,.92) 0%, rgba(8,20,26,.55) 60%, rgba(8,20,26,0) 100%);
    z-index: 2;
    transition: padding-bottom .3s ease;
}
.doctor-card-premium:hover .doctor-card-name-plate {
    padding-bottom: 18px;
}
.doctor-card-dept-pill {
    display: inline-block;
    background: rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    color: #7fe4da;
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 3px 10px;
    border-radius: 20px;
    margin-bottom: 7px;
    border: 1px solid rgba(255,255,255,.25);
}
.doctor-card-name {
    font-weight: 700;
    margin-bottom: 0;
    font-size: 1.08rem;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0,0,0,.35);
}
.doctor-card-body {
    position: relative;
    background: #fff;
    padding: 16px 18px 20px;
    text-align: center;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.doctor-card-qual {
    color: #64748b;
    font-size: .82rem;
    margin-bottom: 16px;
    min-height: 1.2em;
}
.doctor-card-btn {
    margin-top: auto;
    position: relative;
    overflow: hidden;
    border: 1.5px solid var(--ha-primary);
    color: var(--ha-primary);
    font-weight: 600;
    border-radius: 10px;
    padding: 8px;
    font-size: .88rem;
    transition: color .25s ease, border-color .25s ease;
    z-index: 1;
}
.doctor-card-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, var(--ha-primary), #2563eb);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
    z-index: -1;
}
.doctor-card-btn:hover {
    color: #fff;
    border-color: transparent;
}
.doctor-card-btn:hover::before {
    transform: scaleX(1);
}

.emergency-strip {
    background: #dc2626;
    color: #fff;
}

.stat-box h3 {
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--ha-primary-dark);
}

.footer-ha {
    background: var(--ha-dark);
    color: #cbd5e1;
}
.footer-ha a { color: #cbd5e1; }
.footer-ha a:hover { color: #fff; }
.footer-ha h5 { color: #fff; font-weight: 700; }
.footer-bottom {
    background: #0a161a;
    color: #94a3b8;
    font-size: .85rem;
}
.social-icons a {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    margin-right: 8px;
}
.social-icons a:hover { background: var(--ha-primary); }

.gallery-thumb img {
    height: 220px;
    object-fit: cover;
    width: 100%;
}

.rating-stars { color: #f59e0b; }

.breadcrumb-bar {
    background: var(--ha-light);
    padding: 40px 0;
}

.sticky-book-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 1040;
}

/* Doctor profile page */
.doctor-profile-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid #eef2f4;
    box-shadow: 0 10px 30px rgba(15,32,39,.08);
}
.doctor-profile-photo-wrap {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--ha-light);
}
.doctor-profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}
.doctor-profile-exp-badge {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 30px 18px 12px;
    background: linear-gradient(to top, rgba(8,20,26,.85) 0%, rgba(8,20,26,0) 100%);
    color: #fff;
    font-size: .78rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}
.doctor-profile-exp-badge i { color: #5eead4; }
.doctor-profile-card-body {
    padding: 24px 26px 28px;
    text-align: center;
}
.doctor-profile-name {
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 4px;
}
.doctor-profile-specialty {
    display: inline-block;
    background: var(--ha-light);
    color: var(--ha-primary-dark);
    font-weight: 700;
    font-size: .74rem;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 20px;
}
.doctor-profile-book-btn {
    background: linear-gradient(90deg, var(--ha-primary), #2563eb);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 13px;
    border-radius: 12px;
    box-shadow: 0 10px 24px rgba(13,148,136,.32);
    transition: transform .2s ease, box-shadow .2s ease;
}
.doctor-profile-book-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(13,148,136,.4);
}
.doctor-profile-call-btn {
    border: 1.5px solid #e2e8f0;
    color: #334155;
    font-weight: 600;
    padding: 12px;
    border-radius: 12px;
    transition: all .2s ease;
}
.doctor-profile-call-btn:hover {
    border-color: var(--ha-primary);
    background: var(--ha-light);
    color: var(--ha-primary-dark);
}
.doctor-profile-availability {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: .8rem;
    color: #16a34a;
    font-weight: 600;
    margin-top: 16px;
}
.doctor-profile-availability .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 0 rgba(22,163,74,.5);
    animation: doctor-avail-pulse 1.8s infinite;
}
@keyframes doctor-avail-pulse {
    0% { box-shadow: 0 0 0 0 rgba(22,163,74,.5); }
    70% { box-shadow: 0 0 0 7px rgba(22,163,74,0); }
    100% { box-shadow: 0 0 0 0 rgba(22,163,74,0); }
}

.doctor-info-card {
    background: #fff;
    border: 1px solid #eef2f4;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.doctor-info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(15,32,39,.1);
}
.doctor-info-icon {
    width: 56px;
    height: 56px;
    min-width: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #fff;
}
.doctor-info-icon.tone-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.doctor-info-icon.tone-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.doctor-info-icon.tone-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.doctor-info-icon.tone-pink { background: linear-gradient(135deg, #db2777, #be185d); }
.doctor-info-label {
    font-size: .74rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .04em;
    font-weight: 600;
    margin-bottom: 2px;
}
.doctor-info-value {
    font-weight: 700;
    color: #1f2937;
    font-size: 1rem;
}

.doctor-about-card {
    background: #fff;
    border: 1px solid #eef2f4;
    border-left: 4px solid var(--ha-primary);
    border-radius: 14px;
    padding: 24px 28px;
}

.doctor-schedule-card {
    background: #fff;
    border: 1px solid #eef2f4;
    border-radius: 16px;
    overflow: hidden;
}
.doctor-schedule-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    border-bottom: 1px solid #f1f5f9;
    transition: background .2s ease;
}
.doctor-schedule-row:last-child { border-bottom: none; }
.doctor-schedule-row:hover { background: #fafcfc; }
.doctor-schedule-row.is-today {
    background: linear-gradient(90deg, rgba(13,148,136,.07), rgba(37,99,235,.05));
}
.doctor-schedule-day {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #1f2937;
}
.doctor-schedule-day i { color: var(--ha-primary); width: 18px; text-align: center; }
.doctor-schedule-today-tag {
    background: var(--ha-primary);
    color: #fff;
    font-size: .64rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .03em;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 8px;
}
.doctor-schedule-time {
    font-weight: 600;
    color: #334155;
}
.doctor-schedule-time.is-closed {
    color: #cbd5e1;
    font-weight: 500;
    font-style: italic;
}

/* Premium health package card */
.package-card-premium {
    position: relative;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #eef2f4;
    box-shadow: 0 4px 16px rgba(15,32,39,.07);
    transition: transform .3s ease, box-shadow .3s ease;
    display: flex;
    flex-direction: column;
}
.package-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 44px rgba(15,32,39,.14);
}
.package-card-premium.is-recommended {
    border-color: transparent;
    box-shadow: 0 10px 30px rgba(13,148,136,.18);
}
@media (min-width: 992px) {
    .package-card-premium.is-recommended {
        transform: translateY(-14px);
    }
    .package-card-premium.is-recommended:hover {
        transform: translateY(-20px);
    }
}
.package-recommended-tag {
    position: absolute;
    top: 16px;
    right: -34px;
    background: linear-gradient(90deg, #d97706, #f59e0b);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 5px 40px;
    transform: rotate(45deg);
    box-shadow: 0 4px 10px rgba(217,119,6,.35);
    z-index: 3;
}
.package-card-top {
    position: relative;
    padding: 30px 24px 54px;
    text-align: center;
    overflow: hidden;
}
.package-card-top.tone-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.package-card-top.tone-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.package-card-top.tone-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.package-card-top.tone-pink { background: linear-gradient(135deg, #db2777, #be185d); }
.package-card-top.tone-orange { background: linear-gradient(135deg, #d97706, #b45309); }
.package-card-top::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,.14) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    opacity: .6;
}
.package-icon-badge {
    position: relative;
    width: 62px;
    height: 62px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #fff;
}
.package-card-name {
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 1.15rem;
    margin-bottom: 6px;
}
.package-card-duration {
    position: relative;
    color: rgba(255,255,255,.85);
    font-size: .8rem;
    margin-bottom: 0;
}
.package-price-tag {
    position: absolute;
    left: 50%;
    bottom: -28px;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    padding: 12px 26px;
    box-shadow: 0 10px 22px rgba(15,32,39,.14);
    text-align: center;
    min-width: 150px;
    z-index: 2;
}
.package-price-tag .currency {
    font-size: 1rem;
    font-weight: 700;
    color: #94a3b8;
    vertical-align: top;
    margin-right: 2px;
}
.package-price-tag .amount {
    font-size: 1.7rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}
.package-price-tag .amount-sub {
    display: block;
    font-size: .66rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-top: 2px;
}
.package-card-body {
    padding: 42px 26px 26px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    flex-grow: 1;
}
.package-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .88rem;
    color: #475569;
    padding: 7px 0;
    border-bottom: 1px dashed #eef2f4;
}
.package-features li:last-child { border-bottom: none; }
.package-features li i {
    color: var(--ha-primary);
    margin-top: 2px;
}
.package-cta {
    border: 1.5px solid var(--ha-primary);
    color: var(--ha-primary);
    font-weight: 600;
    border-radius: 10px;
    padding: 10px;
    transition: all .25s ease;
}
.package-cta:hover {
    background: var(--ha-primary);
    border-color: var(--ha-primary);
    color: #fff;
    box-shadow: 0 10px 22px rgba(13,148,136,.3);
}
.package-card-premium.is-recommended .package-cta {
    background: linear-gradient(90deg, var(--ha-primary), #2563eb);
    border-color: transparent;
    color: #fff;
}
.package-card-premium.is-recommended .package-cta:hover {
    box-shadow: 0 12px 26px rgba(13,148,136,.4);
    transform: translateY(-1px);
}
.info-list-card {
    background: #fff;
    border: 1px solid #eef2f4;
    border-radius: 16px;
    overflow: hidden;
}
.info-list-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 22px;
    border-bottom: 1px solid #f1f5f9;
    font-weight: 600;
    color: #1f2937;
    transition: background .2s ease;
}
.info-list-row:last-child { border-bottom: none; }
.info-list-row:hover { background: #fafcfc; }
.info-list-row i { color: var(--ha-primary); }

/* Department hero */
.department-hero-card {
    position: relative;
    border-radius: 22px;
    padding: 46px 30px 58px;
    text-align: center;
}
.department-hero-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    overflow: hidden;
    background-image: radial-gradient(circle, rgba(255,255,255,.14) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: .6;
}
.department-hero-card.tone-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.department-hero-card.tone-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.department-hero-card.tone-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.department-hero-card.tone-pink { background: linear-gradient(135deg, #db2777, #be185d); }
.department-hero-card.tone-orange { background: linear-gradient(135deg, #d97706, #b45309); }
.department-hero-icon {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    border: 1px solid rgba(255,255,255,.32);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
    color: #fff;
}
.department-hero-name {
    position: relative;
    color: #fff;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0;
}
.department-hero-stat-badge {
    position: absolute;
    left: 50%;
    bottom: -26px;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 16px;
    padding: 12px 30px;
    box-shadow: 0 10px 22px rgba(15,32,39,.14);
    text-align: center;
    min-width: 220px;
    z-index: 2;
    display: flex;
    gap: 24px;
}
.department-hero-stat-badge .stat-num {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}
.department-hero-stat-badge .stat-label {
    display: block;
    font-size: .64rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .03em;
    margin-top: 3px;
    white-space: nowrap;
}
.department-hero-stat-divider {
    width: 1px;
    background: #eef2f4;
}
.department-quick-fact {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--ha-light);
    border-radius: 12px;
    font-weight: 600;
    color: #1f2937;
    font-size: .88rem;
}
.department-quick-fact i {
    color: var(--ha-primary);
    font-size: 1.1rem;
}

/* About page */
.about-stats-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    padding: 32px;
    background: linear-gradient(135deg, #000231, #2563eb);
}
.about-stats-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 22px;
    background-image: radial-gradient(circle, rgba(255,255,255,.14) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    opacity: .7;
    pointer-events: none;
}
.about-stat-box {
    position: relative;
    background: rgba(255,255,255,.12);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 16px;
    padding: 22px 16px;
    text-align: center;
    height: 100%;
    transition: transform .25s ease, background .25s ease;
}
.about-stat-box:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,.18);
}
.about-stat-box i {
    font-size: 1.5rem;
    color: #7fe4da;
    margin-bottom: 10px;
    display: inline-block;
}
.about-stat-num {
    font-weight: 800;
    font-size: 1.9rem;
    color: #fff;
    line-height: 1;
    margin-bottom: 4px;
}
.about-stat-label {
    color: rgba(255,255,255,.85);
    font-size: .78rem;
    font-weight: 600;
}

.about-value-card {
    background: #fff;
    border: 1px solid #eef2f4;
    border-radius: 18px;
    padding: 28px;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.about-value-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 36px rgba(15,32,39,.1);
}
.about-value-icon {
    width: 54px;
    height: 54px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: #fff;
    margin-bottom: 16px;
}
.about-value-icon.tone-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.about-value-icon.tone-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.about-value-icon.tone-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); }

.about-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.about-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eef2f4;
    color: #475569;
}
.about-check-list li:last-child { border-bottom: none; }
.about-check-list li i {
    color: var(--ha-primary);
    margin-top: 3px;
}

.modal-header.tone-teal { background: linear-gradient(135deg, #0d9488, #0f766e); color: #fff; }
.modal-header.tone-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); color: #fff; }
.modal-header.tone-purple { background: linear-gradient(135deg, #7c3aed, #6d28d9); color: #fff; }
.modal-header.tone-pink { background: linear-gradient(135deg, #db2777, #be185d); color: #fff; }
.modal-header.tone-orange { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; }
.modal-header.tone-teal .btn-close, .modal-header.tone-blue .btn-close, .modal-header.tone-purple .btn-close, .modal-header.tone-pink .btn-close, .modal-header.tone-orange .btn-close {
    filter: brightness(0) invert(1);
}

/* Premium contact info card */
.contact-info-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #eef2f4;
    box-shadow: 0 4px 16px rgba(15,32,39,.08);
    padding: 36px 28px 32px;
    text-align: center;
    height: 100%;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.contact-info-card.tone-teal { --contact-glow: 13,148,136; }
.contact-info-card.tone-blue { --contact-glow: 37,99,235; }
.contact-info-card.tone-red { --contact-glow: 220,38,38; }
.contact-info-card:hover {
    transform: translateY(-8px);
    border-color: transparent;
    box-shadow: 0 24px 40px rgba(15,32,39,.14), 0 0 0 3px rgba(var(--contact-glow), .18), 0 0 28px 4px rgba(var(--contact-glow), .26);
}
.contact-info-icon {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: #fff;
    margin: 0 auto 18px;
}
.contact-info-icon.tone-teal { background: linear-gradient(135deg, #0d9488, #0f766e); }
.contact-info-icon.tone-blue { background: linear-gradient(135deg, #2563eb, #1d4ed8); }
.contact-info-icon.tone-red { background: linear-gradient(135deg, #ef4444, #dc2626); }
.contact-info-card.tone-red .contact-info-icon::after {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 2px solid rgba(220,38,38,.4);
    animation: contact-pulse-ring 1.8s ease-out infinite;
}
@keyframes contact-pulse-ring {
    0% { transform: scale(.9); opacity: .8; }
    100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .contact-info-card.tone-red .contact-info-icon::after { animation: none; }
}
.contact-info-label {
    text-transform: uppercase;
    letter-spacing: .06em;
    font-size: .72rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 6px;
}
.contact-info-value {
    display: inline-block;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--ha-dark);
    text-decoration: none;
    transition: color .2s ease;
}
.contact-info-value:hover {
    color: rgb(var(--contact-glow));
}
