﻿/* ==========================================================================
   RS Harapan Sehat - Custom Stylesheet
   Medical blue / teal theme built on top of Bootstrap 5
   ========================================================================== */

:root {
    --hs-primary: #16a34a;
    --hs-primary-dark: #15803d;
    --hs-primary-darker: #14532d;
    --hs-teal: #16a34a;
    --hs-teal-light: #4ade80;
    --hs-cyan: #86efac;
    --hs-blue: #16a34a;
    --hs-amber: #f59e0b;
    --hs-danger: #dc2626;
    --hs-red-bright: #ef4444;
    --hs-bg-soft: #f0fdf4;
    --hs-bg-lighter: #f6fdf9;
    --hs-grad-primary: linear-gradient(135deg, #22c55e 0%, #16a34a 55%, #15803d 100%);
    --hs-grad-teal: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    --hs-grad-danger: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
    --hs-shadow-sm: 0 4px 14px rgba(22, 101, 52, 0.08);
    --hs-shadow: 0 12px 34px rgba(22, 101, 52, 0.12);
    --hs-shadow-lg: 0 24px 60px rgba(22, 101, 52, 0.18);
    --hs-radius: 1.25rem;
    --hs-radius-lg: 1.75rem;
    --hs-font: "Plus Jakarta Sans", "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--hs-font);
    color: #334155;
    background: #ffffff;
    overflow-x: hidden;
    font-size: 1rem;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    color: #14532d;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: var(--hs-grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

a {
    text-decoration: none;
    transition: all 0.25s ease;
}

img {
    max-width: 100%;
}

/* ---------- Buttons ---------- */
.btn {
    font-weight: 700;
    border-radius: 0.85rem;
    padding: 0.72rem 1.45rem;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    transition: all 0.3s ease;
}

.btn-lg {
    padding: 0.95rem 1.9rem;
    font-size: 1.05rem;
    border-radius: 1rem;
}

.btn-primary-hs {
    background: var(--hs-grad-primary);
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
}

.btn-primary-hs:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(22, 163, 74, 0.45);
    color: #fff;
    background: var(--hs-grad-primary);
}

.btn-outline-hs {
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: #fff;
    background: transparent;
    border-radius: 0.85rem;
    font-weight: 700;
}

.btn-outline-hs:hover {
    background: #fff;
    color: var(--hs-primary-dark);
    transform: translateY(-3px);
}

.btn-danger-hs {
    background: var(--hs-grad-danger);
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.35);
}

.btn-danger-hs:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(220, 38, 38, 0.45);
}

.btn-whatsapp {
    background: #25d366;
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(37, 211, 102, 0.35);
}

.btn-whatsapp:hover {
    color: #fff;
    transform: translateY(-3px);
    background: #1fb959;
    box-shadow: 0 16px 32px rgba(37, 211, 102, 0.45);
}

.btn-light-hs {
    background: #fff;
    color: var(--hs-primary-dark);
    border: none;
    box-shadow: var(--hs-shadow-sm);
}

.btn-light-hs:hover {
    transform: translateY(-3px);
    box-shadow: var(--hs-shadow);
    color: var(--hs-primary-dark);
}

.btn-amber {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #78350f;
    border: none;
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}

.btn-amber:hover {
    transform: translateY(-3px);
    color: #78350f;
    box-shadow: 0 16px 32px rgba(245, 158, 11, 0.45);
}

/* ---------- Top bar ---------- */
.topbar {
    background: var(--hs-primary-darker);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    position: relative;
    z-index: 1040;
}

.topbar a {
    color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
    color: #fff;
}

.topbar .divider {
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.25);
    display: inline-block;
    vertical-align: middle;
}

.topbar .social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.topbar .social a:hover {
    background: var(--hs-teal-light);
    transform: translateY(-2px);
}

/* ---------- Main navigation ---------- */
.navbar-main {
    background: #fff;
    box-shadow: var(--hs-shadow-sm);
    padding: 0.6rem 0;
    transition: all 0.3s ease;
}

.navbar-main.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 10px 40px rgba(22, 101, 52, 0.16);
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { transform: translateY(-100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.navbar-brand .brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hs-grad-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
}

.brand-logo {
    height: 46px;
    width: auto;
    flex-shrink: 0;
    object-fit: contain;
}

.footer .brand-logo-light {
    filter: brightness(0) invert(1);
}


.brand-badge {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: var(--hs-grad-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    box-shadow: 0 8px 20px rgba(22, 163, 74, 0.35);
    flex-shrink: 0;
}

.navbar-brand .brand-name {
    font-weight: 800;
    color: #14532d;
    line-height: 1.1;
}

.navbar-brand .brand-name small {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--hs-teal);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.navbar-brand .brand-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    transition: opacity 0.2s;
}
.navbar-brand:hover .brand-logo {
    opacity: 0.85;
}

.navbar-main .nav-link {
    font-weight: 700;
    color: #334155;
    padding: 0.6rem 0.95rem !important;
    position: relative;
    font-size: 0.95rem;
}

.navbar-main .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0.15rem;
    left: 0.95rem;
    right: 0.95rem;
    height: 3px;
    border-radius: 3px;
    background: var(--hs-grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.navbar-main .nav-link:hover::after,
.navbar-main .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-main .nav-link:hover,
.navbar-main .nav-link.active {
    color: var(--hs-primary);
}

.navbar-main .dropdown-menu {
    border: none;
    border-radius: 1rem;
    box-shadow: var(--hs-shadow);
    padding: 0.6rem;
    min-width: 260px;
}

.navbar-main .dropdown-item {
    border-radius: 0.7rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: #334155;
    padding: 0.6rem 0.9rem;
}

.navbar-main .dropdown-item:hover {
    background: var(--hs-bg-soft);
    color: var(--hs-primary);
}

.navbar-main .dropdown-item i {
    width: 24px;
    color: var(--hs-teal);
}

@media (min-width: 1200px) {
    .navbar-main .container {
        max-width: none;
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* ---------- Emergency button (pulse) ---------- */
.emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--hs-grad-danger);
    color: #fff !important;
    border-radius: 0.9rem;
    padding: 0.6rem 1.1rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(220, 38, 38, 0.4);
    position: relative;
    animation: emergencyPulse 2s infinite;
}

.emergency-btn:hover {
    transform: translateY(-2px) scale(1.02);
    color: #fff;
}

.emergency-btn .pulse-dot {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.emergency-btn .pulse-dot::after {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    animation: ring 1.6s ease-out infinite;
}

@keyframes ring {
    0% { transform: scale(0.6); opacity: 1; }
    100% { transform: scale(1.8); opacity: 0; }
}

@keyframes emergencyPulse {
    0%, 100% { box-shadow: 0 10px 24px rgba(220, 38, 38, 0.4); }
    50% { box-shadow: 0 10px 34px rgba(220, 38, 38, 0.65); }
}

/* ---------- Hero ---------- */
.hero-carousel {
    position: relative;
}

.hero-slide {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: var(--hs-primary-darker);
}

.hero-slide .hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
}

.hero-slide .hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.hero-slide .hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    pointer-events: auto;
}
.hero-slide .hero-video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0) 100%);
    z-index: 1;
}

.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0) 100%);
}

.hero-slide .container {
    position: relative;
    z-index: 2;
}

.hero-content .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    backdrop-filter: blur(6px);
}

.hero-content h1 {
    font-size: clamp(2rem, 4.4vw, 3.6rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.hero-content .hero-sub {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 560px;
}

.hero-carousel .carousel-indicators {
    margin-bottom: 2rem;
}

.hero-carousel .carousel-indicators button {
    width: 34px;
    height: 6px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.5);
    border: 0;
}

.hero-carousel .carousel-indicators button.active {
    background: var(--hs-amber);
}

.hero-carousel .carousel-control-prev,
.hero-carousel .carousel-control-next {
    width: 6%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-carousel:hover .carousel-control-prev,
.hero-carousel:hover .carousel-control-next {
    opacity: 1;
}

/* ---------- Quick search bar ---------- */
.quick-search-wrap {
    position: relative;
    z-index: 5;
    margin-top: -3.2rem;
}

.quick-search-card {
    background: #fff;
    border-radius: var(--hs-radius-lg);
    box-shadow: var(--hs-shadow-lg);
    padding: 1.5rem;
    border: 1px solid rgba(22, 101, 52, 0.06);
}

.quick-search-card .search-title {
    font-weight: 800;
    color: #14532d;
}

.quick-search-card .search-title i {
    color: var(--hs-teal);
}

.quick-search-input {
    border: 2px solid #e2e8f0;
    border-radius: 0.9rem !important;
    padding: 0.85rem 1.1rem;
    font-weight: 600;
}

.quick-search-input:focus {
    border-color: var(--hs-teal-light);
    box-shadow: 0 0 0 0.25rem rgba(74, 222, 128, 0.15);
}

.search-results {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--hs-shadow-lg);
    z-index: 50;
    max-height: 380px;
    overflow-y: auto;
    display: none;
}

.search-results.show {
    display: block;
    animation: fadeInUp 0.25s ease;
}

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

.search-results .search-group-title {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hs-teal);
    padding: 0.75rem 1.1rem 0.25rem;
}

.search-results .search-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1.1rem;
    transition: background 0.2s ease;
}

.search-results .search-item:hover {
    background: var(--hs-bg-soft);
}

.search-results .search-item img {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    object-fit: cover;
}

.search-results .search-item .thumb-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--hs-bg-soft);
    color: var(--hs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.search-results .search-item small {
    color: #64748b;
    display: block;
    line-height: 1.3;
}

/* ---------- Section helpers ---------- */
.section {
    padding: 5.5rem 0;
}

.section-sm {
    padding: 3.5rem 0;
}

.section-heading .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(22, 163, 74, 0.1);
    color: var(--hs-primary);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: 100px;
    padding: 0.4rem 1.1rem;
}

.section-heading .eyebrow::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--hs-teal-light);
}

.section-heading h2 {
    font-size: clamp(1.7rem, 3vw, 2.5rem);
    margin-top: 0.9rem;
}

.section-heading .sub {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 620px;
}

.bg-soft {
    background: var(--hs-bg-soft);
}

.bg-lighter {
    background: var(--hs-bg-lighter);
}

/* ---------- Feature cards ---------- */
.feature-card {
    background: #fff;
    border-radius: var(--hs-radius);
    padding: 2rem 1.6rem;
    box-shadow: var(--hs-shadow-sm);
    border: 1px solid rgba(22, 101, 52, 0.05);
    height: 100%;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--hs-grad-primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hs-shadow-lg);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card .icon-box {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--hs-grad-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.35);
    margin-bottom: 1.3rem;
}

.feature-card .icon-box.teal {
    background: var(--hs-grad-teal);
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.35);
}

.feature-card .icon-box.amber {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 12px 26px rgba(245, 158, 11, 0.35);
}

.feature-card .icon-box.rose {
    background: linear-gradient(135deg, #fb7185, #e11d48);
    box-shadow: 0 12px 26px rgba(225, 29, 72, 0.35);
}

.feature-card h5 {
    margin-bottom: 0.7rem;
}

.feature-card p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ---------- Stats band ---------- */
.stats-band {
    background: var(--hs-grad-primary);
    border-radius: var(--hs-radius-lg);
    padding: 3rem 2rem;
    box-shadow: var(--hs-shadow-lg);
    position: relative;
    overflow: hidden;
}

.stats-band::before {
    content: "";
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    top: -140px;
    right: -100px;
}

.stats-band::after {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -120px;
    left: -80px;
}

.stat-item {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
}

.stat-item .stat-icon {
    font-size: 2rem;
    color: var(--hs-cyan);
    margin-bottom: 0.4rem;
}

.stat-item .counter {
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
}

.stat-item .stat-label {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

/* ---------- About preview ---------- */
.about-img-wrap {
    position: relative;
    margin-bottom: 26px;
}

.about-img-wrap img {
    border-radius: var(--hs-radius-lg);
    box-shadow: var(--hs-shadow-lg);
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: contain;
    background: #fff;
}

.about-img-wrap .floating-card {
    position: absolute;
    bottom: -22px;
    right: 16px;
    background: #fff;
    border-radius: 0.95rem;
    box-shadow: var(--hs-shadow-lg);
    padding: 0.6rem 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    max-width: calc(100% - 28px);
    animation: floatY 3.5s ease-in-out infinite;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.about-img-wrap .floating-card .fc-icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--hs-grad-teal);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.about-img-wrap .floating-card strong {
    font-size: 0.85rem;
    line-height: 1.25;
    display: block;
}

.about-img-wrap .floating-card small {
    font-size: 0.72rem;
}

.check-list li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #1e293b;
}

.mjk-steps {
    list-style: none;
    padding-left: 0;
}

.mjk-steps li {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    margin-bottom: 0.7rem;
}

.mjk-steps li i {
    color: var(--hs-primary);
    font-size: 1.25rem;
    line-height: 1.3;
}

.check-list i {
    color: var(--hs-teal);
    font-size: 1.2rem;
    margin-top: 0.1rem;
}

/* ---------- Service cards ---------- */
.service-card {
    background: #fff;
    border-radius: var(--hs-radius);
    overflow: hidden;
    box-shadow: var(--hs-shadow-sm);
    border: 1px solid rgba(22, 101, 52, 0.05);
    height: 100%;
    transition: all 0.35s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hs-shadow-lg);
}

.service-card .card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-card .card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .card-img img {
    transform: scale(1.08);
}

.service-card .card-img .card-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(255, 255, 255, 0.92);
    color: var(--hs-primary-dark);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    backdrop-filter: blur(4px);
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card .card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--hs-bg-soft);
    color: var(--hs-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-top: -3.2rem;
    position: relative;
    z-index: 2;
    box-shadow: var(--hs-shadow-sm);
    background: #fff;
    border: 1px solid rgba(22, 101, 52, 0.06);
}

/* ---------- Doctor cards ---------- */
.doctor-card {
    background: #fff;
    border-radius: var(--hs-radius);
    box-shadow: var(--hs-shadow-sm);
    border: 1px solid rgba(22, 101, 52, 0.05);
    height: 100%;
    overflow: hidden;
    transition: all 0.35s ease;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hs-shadow-lg);
}

.doctor-card .doc-photo {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
    background: #f1f5f9;
    overflow: hidden;
}

.doctor-card .doc-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.6s ease;
}

.doctor-card:hover .doc-photo img {
    transform: scale(1.04);
}

.doctor-card .doc-photo .doc-spec {
    position: absolute;
    left: 1rem;
    bottom: 0.8rem;
    z-index: 2;
    background: rgba(255, 255, 255, 0.94);
    color: var(--hs-primary-dark);
    font-size: 0.75rem;
    font-weight: 800;
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.12);
}

.doctor-card .doc-body {
    padding: 1.4rem;
}

.doctor-card .doc-body h5 {
    font-size: 1.05rem;
    margin-bottom: 0.15rem;
}

.doctor-card .doc-body .doc-title {
    color: var(--hs-teal);
    font-weight: 700;
    font-size: 0.88rem;
}

.schedule-table {
    font-size: 0.85rem;
}

.schedule-table th {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #64748b;
    background: var(--hs-bg-lighter);
}

.schedule-table td {
    font-weight: 600;
}

.day-pill {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    border-radius: 8px;
    padding: 0.15rem 0.6rem;
    background: var(--hs-bg-soft);
    color: var(--hs-primary-dark);
}

.day-pill.today {
    background: var(--hs-grad-primary);
    color: #fff;
}

/* ---------- Filter panel ---------- */
.filter-panel {
    background: #fff;
    border-radius: var(--hs-radius);
    box-shadow: var(--hs-shadow);
    padding: 1.6rem;
    border: 1px solid rgba(22, 101, 52, 0.06);
}

.filter-panel .form-label {
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
}

.filter-panel .form-select,
.filter-panel .form-control {
    border: 2px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.7rem 1rem;
    font-weight: 600;
}

.filter-panel .form-select:focus,
.filter-panel .form-control:focus {
    border-color: var(--hs-teal-light);
    box-shadow: 0 0 0 0.25rem rgba(74, 222, 128, 0.15);
}

/* ---------- Articles ---------- */
.article-card {
    background: #fff;
    border-radius: var(--hs-radius);
    overflow: hidden;
    box-shadow: var(--hs-shadow-sm);
    border: 1px solid rgba(22, 101, 52, 0.05);
    height: 100%;
    transition: all 0.35s ease;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hs-shadow-lg);
}

.article-card .art-img {
    height: 210px;
    overflow: hidden;
    position: relative;
}

.article-card .art-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.article-card:hover .art-img img {
    transform: scale(1.08);
}

.article-card .art-img .art-cat {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--hs-grad-primary);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 800;
    border-radius: 100px;
    padding: 0.3rem 0.9rem;
}

.article-card .art-body {
    padding: 1.4rem;
}

.article-card .art-meta {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
}

.article-card .art-meta i {
    color: var(--hs-teal);
}

.article-card h5 {
    font-size: 1.02rem;
    line-height: 1.4;
}

.article-card h5 a {
    color: #14532d;
}

.article-card h5 a:hover {
    color: var(--hs-primary);
}

/* ---------- Testimonials ---------- */
.testimonial-card {
    background: #fff;
    border-radius: var(--hs-radius);
    box-shadow: var(--hs-shadow);
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(22, 101, 52, 0.05);
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: -1rem;
    left: 1.6rem;
    font-size: 6rem;
    font-family: Georgia, serif;
    color: var(--hs-teal-light);
    opacity: 0.35;
    line-height: 1;
}

.testimonial-card .stars {
    color: var(--hs-amber);
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
}

.testimonial-card p {
    color: #475569;
    font-size: 0.98rem;
    font-style: italic;
}

.testimonial-card .t-author {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.testimonial-card .t-author .avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--hs-grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
}

.testimonial-card .t-author h6 {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.testimonial-card .t-author small {
    color: var(--hs-teal);
    font-weight: 600;
}

.testimonial-slider .carousel-inner {
    overflow: visible;
}

/* ---------- CTA banner ---------- */
.cta-banner {
    background: var(--hs-grad-primary);
    border-radius: var(--hs-radius-lg);
    padding: 3.5rem 3rem;
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--hs-shadow-lg);
}

.cta-banner::before {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    top: -200px;
    right: -120px;
}

.cta-banner::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    bottom: -160px;
    left: -80px;
}

.cta-banner h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-banner p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 620px;
}

/* ---------- Page header (breadcrumb hero) ---------- */
.page-header {
    position: relative;
    background: var(--hs-grad-primary);
    padding: 5.5rem 0 4.5rem;
    color: #fff;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    top: -150px;
    right: -80px;
}

.page-header::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    bottom: -140px;
    left: -60px;
}

.page-header h1 {
    color: #fff;
    font-size: clamp(1.9rem, 3.6vw, 2.9rem);
    position: relative;
    z-index: 1;
}

.page-header .breadcrumb {
    position: relative;
    z-index: 1;
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0;
}

.page-header .breadcrumb a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
}

.page-header .breadcrumb a:hover {
    color: #fff;
}

.page-header .breadcrumb .active {
    color: var(--hs-cyan);
    font-weight: 700;
}

.page-header .header-icon {
    position: relative;
    z-index: 1;
}

/* ---------- Values / feature list ---------- */
.value-card {
    background: #fff;
    border-radius: var(--hs-radius);
    padding: 2rem 1.6rem;
    box-shadow: var(--hs-shadow-sm);
    border: 1px solid rgba(22, 101, 52, 0.05);
    height: 100%;
    text-align: center;
    transition: all 0.35s ease;
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hs-shadow-lg);
}

.value-card .icon-box {
    width: 66px;
    height: 66px;
    margin: 0 auto 1.1rem;
    border-radius: 50%;
    background: var(--hs-bg-soft);
    color: var(--hs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    transition: all 0.35s ease;
}

.value-card:hover .icon-box {
    background: var(--hs-grad-primary);
    color: #fff;
}

/* ---------- Nilai JADI (motto cards) ---------- */
.motto-jadi {
    display: inline-flex;
    gap: 0.6rem;
    padding: 0.4rem;
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: var(--hs-shadow-sm);
    border: 1px solid rgba(22, 101, 52, 0.06);
}

.motto-jadi span {
    width: 48px;
    height: 48px;
    border-radius: 1rem;
    color: #fff;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.35s ease;
}

.motto-jadi span:hover {
    transform: translateY(-4px);
}

.motto-jadi .mj-j {
    background: var(--hs-grad-primary);
    box-shadow: 0 10px 20px -8px rgba(22, 163, 74, 0.55);
}

.motto-jadi .mj-a {
    background: var(--hs-grad-teal);
    box-shadow: 0 10px 20px -8px rgba(34, 197, 94, 0.55);
}

.motto-jadi .mj-d {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    box-shadow: 0 10px 20px -8px rgba(245, 158, 11, 0.5);
}

.motto-jadi .mj-i {
    background: linear-gradient(135deg, #fb7185, #e11d48);
    box-shadow: 0 10px 20px -8px rgba(225, 29, 72, 0.45);
}

.motto-card {
    position: relative;
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.3rem 1.4rem 1.9rem;
    height: 100%;
    text-align: center;
    overflow: hidden;
    border: 1px solid rgba(22, 101, 52, 0.07);
    box-shadow: 0 10px 30px -14px rgba(15, 23, 42, 0.14);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    z-index: 1;
}

.motto-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    background:
        radial-gradient(circle at 90% 8%, rgba(22, 163, 74, 0.10) 0, transparent 55%),
        radial-gradient(circle at 8% 95%, rgba(22, 163, 74, 0.08) 0, transparent 50%);
}

.motto-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    border-radius: 1.5rem 1.5rem 0 0;
}

.motto-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 48px -18px rgba(15, 23, 42, 0.28);
}

.motto-card:hover::before {
    opacity: 1;
}

.motto-card .motto-num {
    position: absolute;
    top: 1rem;
    right: 1.1rem;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--hs-primary);
    background: var(--hs-bg-soft);
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    transition: color 0.35s ease, background 0.35s ease, transform 0.35s ease;
}

.motto-card:hover .motto-num {
    transform: translateY(-2px);
}

.motto-card .motto-letter {
    width: 86px;
    height: 86px;
    margin: 0 auto 1.15rem;
    border-radius: 26px;
    color: #fff;
    font-size: 2.7rem;
    font-weight: 800;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(-6deg);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.motto-card:hover .motto-letter {
    transform: rotate(0deg) scale(1.07);
}

.motto-card .motto-word {
    margin-bottom: 0.3rem;
    font-size: 1.25rem;
    color: #14532d;
}

.motto-card .motto-desc {
    margin-bottom: 0;
    font-size: 0.86rem;
    color: #64748b;
    line-height: 1.55;
}

.motto-green::after,
.motto-green .motto-letter {
    background: var(--hs-grad-primary);
}

.motto-green .motto-letter {
    box-shadow: 0 14px 26px -10px rgba(22, 163, 74, 0.55);
}

.motto-teal::after,
.motto-teal .motto-letter {
    background: var(--hs-grad-teal);
}

.motto-teal .motto-letter {
    box-shadow: 0 14px 26px -10px rgba(34, 197, 94, 0.55);
}

.motto-amber::after,
.motto-amber .motto-letter {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.motto-amber .motto-letter {
    box-shadow: 0 14px 26px -10px rgba(245, 158, 11, 0.5);
}

.motto-rose::after,
.motto-rose .motto-letter {
    background: linear-gradient(135deg, #fb7185, #e11d48);
}

.motto-rose .motto-letter {
    box-shadow: 0 14px 26px -10px rgba(225, 29, 72, 0.45);
}

/* ---------- PDF viewer (Mutu) ---------- */
.pdf-viewer {
    max-width: 860px;
    margin: 0 auto;
    border-radius: 1.2rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.pdf-viewer iframe {
    width: 100%;
    height: 620px;
    border: 0;
    display: block;
}

@media (max-width: 767.98px) {
    .pdf-viewer iframe {
        height: 480px;
    }
}

/* ---------- Bed availability cards (beranda & tempat tidur) ---------- */
.bbd-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--hs-radius);
    padding: 1rem 1.25rem;
    box-shadow: var(--hs-shadow-sm);
    height: 100%;
}

.bbd-summary-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 1.4rem;
    color: #ffffff;
    background: var(--bbd-accent, var(--hs-primary));
}

.bbd-summary-value {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.1;
    color: #14532d;
}

.bbd-summary-label {
    font-size: 0.82rem;
    color: #64748b;
}

.bbd-notice {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    border: 1px solid #fde68a;
    border-left: 5px solid #f59e0b;
    border-radius: 1rem;
    padding: 1rem 1.25rem;
    color: #78350f;
    font-size: 0.92rem;
}

.bbd-notice-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    font-size: 1.1rem;
}

.bbd-card {
    position: relative;
    height: 100%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--hs-radius);
    padding: 1.4rem 1.4rem 1.3rem;
    box-shadow: var(--hs-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    overflow: hidden;
}

.bbd-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: var(--hs-grad-primary);
    transition: height 0.25s ease;
}

.bbd-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--hs-shadow);
    border-color: #bbf7d0;
}

.bbd-card:hover::before { height: 8px; }
.bbd-card.bbd-full { border-color: #fecaca; }
.bbd-card.bbd-full::before { background: var(--hs-grad-danger); }
.bbd-card.bbd-full .bbd-class { color: #b91c1c; background: #fee2e2; border-color: #fecaca; }

.bbd-card.tone-green::before { background: linear-gradient(135deg, #22c55e, #15803d); }
.bbd-card.tone-amber::before { background: linear-gradient(135deg, #fbbf24, #d97706); }
.bbd-card.tone-blue::before { background: linear-gradient(135deg, #38bdf8, #0284c7); }
.bbd-card.tone-violet::before { background: linear-gradient(135deg, #a78bfa, #7c3aed); }
.bbd-card.tone-rose::before { background: linear-gradient(135deg, #fb7185, #be123c); }
.bbd-card.tone-teal::before { background: linear-gradient(135deg, #2dd4bf, #0d9488); }

.bbd-card.tone-amber .bbd-class { color: #92400e; background: #fef3c7; border-color: #fde68a; }
.bbd-card.tone-blue .bbd-class { color: #075985; background: #e0f2fe; border-color: #bae6fd; }
.bbd-card.tone-violet .bbd-class { color: #6d28d9; background: #ede9fe; border-color: #ddd6fe; }
.bbd-card.tone-rose .bbd-class { color: #be123c; background: #ffe4e6; border-color: #fecdd3; }
.bbd-card.tone-teal .bbd-class { color: #0f766e; background: #ccfbf1; border-color: #99f6e4; }

.bbd-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.65rem;
}

.bbd-class {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #14532d;
    background: #dcfce7;
    border: 1px solid #bbf7d0;
}

.bbd-class i { font-size: 0.7rem; }

.bbd-status {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    font-weight: 700;
}

.bbd-status.ok { color: #16a34a; }
.bbd-status.full { color: #dc2626; }

.bbd-name {
    font-size: 1.05rem;
    margin-bottom: 0.85rem;
}

.bbd-progress {
    width: 100%;
    height: 8px;
    border-radius: 999px;
    background: #f1f5f9;
    overflow: hidden;
}

.bbd-progress-bar {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #f59e0b);
    transition: width 0.4s ease;
}

.bbd-progress-bar.is-full { background: var(--hs-grad-danger); }

.bbd-counts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin-top: 1rem;
    text-align: center;
}

.bbd-count {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 0.9rem;
    padding: 0.55rem 0.25rem;
}

.bbd-count span {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: #14532d;
    line-height: 1.2;
}

.bbd-count small { font-size: 0.72rem; color: #64748b; }
.bbd-count.warn span { color: #d97706; }
.bbd-count.free span { color: #16a34a; }

.bbd-divider {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 1.1rem 0 0.7rem;
    color: #14532d;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bbd-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e2e8f0, transparent);
}

.bbd-divider span {
    flex-shrink: 0;
}

.bbd-facility-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.35rem 1rem;
}

.bbd-facility-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #475569;
    line-height: 1.4;
}

.bbd-facility-list li i {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: #16a34a;
    font-size: 0.8rem;
}

.bbd-facility-list li span { min-width: 0; }

/* ---------- Certification badges ---------- */
.cert-badge {
    background: #fff;
    border-radius: 1.2rem;
    box-shadow: var(--hs-shadow-sm);
    padding: 1.6rem 1.2rem;
    text-align: center;
    border: 1px solid rgba(22, 101, 52, 0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.cert-badge:hover {
    transform: translateY(-5px);
    box-shadow: var(--hs-shadow);
}

.cert-badge .cert-icon {
    font-size: 2.4rem;
    color: var(--hs-teal);
    margin-bottom: 0.6rem;
}

.cert-badge h6 {
    font-weight: 800;
    margin-bottom: 0.2rem;
}

.cert-badge small {
    color: #64748b;
}

/* ---------- Insurance / partner logos ---------- */
.partner-logo {
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--hs-shadow-sm);
    border: 1px solid rgba(22, 101, 52, 0.05);
    padding: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    height: 100%;
}

.partner-logo img {
    max-height: 64px;
    border-radius: 0.6rem;
    width: 100%;
    object-fit: contain;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: var(--hs-shadow);
}

/* ---------- Steps (pendaftaran) ---------- */
.step-item {
    position: relative;
    text-align: center;
    padding: 1.5rem 1rem;
}

.step-item .step-num {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--hs-grad-primary);
    color: #fff;
    font-weight: 800;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 26px rgba(22, 163, 74, 0.35);
    position: relative;
    z-index: 2;
}

.step-item::after {
    content: "";
    position: absolute;
    top: 3.1rem;
    left: 58%;
    width: 84%;
    height: 3px;
    background: repeating-linear-gradient(90deg, var(--hs-teal-light) 0 8px, transparent 8px 14px);
    z-index: 1;
}

.step-item:last-child::after {
    display: none;
}

.step-item h6 {
    font-weight: 800;
    margin-bottom: 0.3rem;
}

.step-item p {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0;
}

/* ---------- FAQ ---------- */
.accordion-hs .accordion-item {
    border: none;
    border-radius: 1rem !important;
    margin-bottom: 1rem;
    box-shadow: var(--hs-shadow-sm);
    overflow: hidden;
}

.accordion-hs .accordion-button {
    font-weight: 700;
    color: #1e293b;
    padding: 1.1rem 1.4rem;
}

.accordion-hs .accordion-button:not(.collapsed) {
    background: var(--hs-bg-soft);
    color: var(--hs-primary-dark);
    box-shadow: none;
}

.accordion-hs .accordion-button:focus {
    box-shadow: none;
}

/* ---------- Contact cards ---------- */
.contact-card {
    background: #fff;
    border-radius: var(--hs-radius);
    box-shadow: var(--hs-shadow-sm);
    border: 1px solid rgba(22, 101, 52, 0.05);
    padding: 1.8rem;
    height: 100%;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--hs-shadow-lg);
}

.contact-card .cc-icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--hs-grad-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.3);
}

.contact-card h6 {
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.contact-card p {
    color: #64748b;
    font-size: 0.92rem;
    margin-bottom: 0.2rem;
}

.map-wrap {
    border-radius: var(--hs-radius);
    overflow: hidden;
    box-shadow: var(--hs-shadow-lg);
    border: 1px solid rgba(22, 101, 52, 0.06);
}

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

/* ---------- Forms ---------- */
.form-hs .form-control,
.form-hs .form-select {
    border: 2px solid #e2e8f0;
    border-radius: 0.85rem;
    padding: 0.8rem 1.1rem;
    font-weight: 600;
}

.form-hs .form-control:focus,
.form-hs .form-select:focus {
    border-color: var(--hs-teal-light);
    box-shadow: 0 0 0 0.25rem rgba(74, 222, 128, 0.15);
}

.form-hs .form-label {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1e293b;
}

.form-hs textarea.form-control {
    min-height: 140px;
}

/* ---------- Floating buttons ---------- */
.floating-wa {
    position: fixed;
    right: 1.4rem;
    bottom: 1.4rem;
    z-index: 1050;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
    transition: all 0.3s ease;
}

.floating-wa:hover {
    transform: scale(1.1);
    color: #fff;
}

.floating-wa::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 3px solid #25d366;
    animation: ring 2s ease-out infinite;
}

.floating-emergency {
    position: fixed;
    right: 1.4rem;
    bottom: 6rem;
    z-index: 1050;
}

.floating-emergency a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--hs-grad-danger);
    color: #fff !important;
    border-radius: 100px;
    padding: 0.75rem 1.2rem;
    font-weight: 800;
    font-size: 0.9rem;
    box-shadow: 0 12px 32px rgba(220, 38, 38, 0.5);
    animation: emergencyPulse 2s infinite;
}

.floating-emergency a:hover {
    color: #fff;
    transform: translateY(-3px);
}

/* ---------- Footer ---------- */
.footer {
    background: #082f43;
    color: rgba(255, 255, 255, 0.75);
    padding-top: 4.5rem;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--hs-grad-primary);
}

.footer h5 {
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 1.4rem;
    position: relative;
    padding-bottom: 0.7rem;
}

.footer h5::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 36px;
    height: 3px;
    border-radius: 3px;
    background: var(--hs-teal-light);
}

.footer .footer-links li {
    margin-bottom: 0.65rem;
}

.footer .footer-links a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    font-size: 0.92rem;
}

.footer .footer-links a:hover {
    color: var(--hs-cyan);
    padding-left: 6px;
}

.footer .footer-links a i {
    font-size: 0.7rem;
    margin-right: 0.4rem;
    color: var(--hs-teal-light);
}

.footer .contact-list li {
    display: flex;
    gap: 0.7rem;
    margin-bottom: 0.9rem;
    font-size: 0.92rem;
}

.footer .contact-list i {
    color: var(--hs-teal-light);
    font-size: 1.1rem;
    margin-top: 0.15rem;
}

.footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding: 1.3rem 0;
    font-size: 0.85rem;
}

.footer .footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.footer .footer-social a:hover {
    background: var(--hs-teal-light);
    transform: translateY(-4px);
}

.footer .map-mini {
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .map-mini iframe {
    display: block;
    width: 100%;
    height: 180px;
    border: 0;
    filter: grayscale(0.4);
}

/* ---------- Pagination ---------- */
.pagination-hs .page-link {
    border: none;
    border-radius: 0.8rem !important;
    margin: 0 0.25rem;
    color: #334155;
    font-weight: 700;
    box-shadow: var(--hs-shadow-sm);
    padding: 0.6rem 0.95rem;
}

.pagination-hs .page-item.active .page-link {
    background: var(--hs-grad-primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(22, 163, 74, 0.35);
}

/* ---------- Gallery lightbox ---------- */
.gallery-item {
    border-radius: var(--hs-radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: var(--hs-shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item .gal-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(6, 42, 58, 0.85) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.2rem;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.gallery-item:hover .gal-overlay {
    opacity: 1;
}

.gallery-item .gal-overlay h6 {
    color: #fff;
    margin-bottom: 0.2rem;
}

.gallery-item .gal-overlay small {
    color: rgba(255, 255, 255, 0.8);
}

/* ---------- Misc ---------- */
.text-hs-primary { color: var(--hs-primary) !important; }
.text-hs-teal { color: var(--hs-teal) !important; }
.text-hs-amber { color: var(--hs-amber) !important; }
.bg-hs-primary { background: var(--hs-primary) !important; }

.badge-hs {
    background: rgba(22, 163, 74, 0.1);
    color: var(--hs-primary);
    font-weight: 800;
    border-radius: 100px;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
}

.alert-success-hs {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: 1rem;
    font-weight: 600;
}

.back-to-top {
    position: fixed;
    left: 1.4rem;
    bottom: 1.4rem;
    z-index: 1050;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--hs-grad-primary);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 26px rgba(22, 163, 74, 0.4);
}

.back-to-top.show {
    display: flex;
    animation: fadeInUp 0.3s ease;
}

/* ---------- Responsive ---------- */
@media (min-width: 1200px) and (max-width: 1500px) {
    .navbar-main .nav-link {
        font-size: 0.85rem;
        padding: 0.5rem 0.7rem !important;
    }
    .navbar-main .nav-link::after {
        left: 0.7rem;
        right: 0.7rem;
    }
    .navbar-main .dropdown-item {
        font-size: 0.84rem;
        padding: 0.5rem 0.8rem;
    }
    .navbar-main .dropdown-menu {
        min-width: 220px;
        padding: 0.5rem;
    }
    .brand-logo {
        height: 40px;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .navbar-main .nav-link {
        font-size: 0.82rem;
        padding: 0.45rem 0.55rem !important;
        letter-spacing: -0.01em;
    }
    .navbar-main .nav-link::after {
        left: 0.55rem;
        right: 0.55rem;
    }
    .navbar-main .dropdown-menu {
        min-width: 200px;
        padding: 0.4rem;
    }
    .navbar-main .dropdown-item {
        font-size: 0.82rem;
        padding: 0.45rem 0.75rem;
    }
    .brand-logo {
        height: 38px;
    }
}

@media (max-width: 991.98px) {
    .navbar-main .navbar-collapse {
        background: #fff;
        padding: 1rem;
        border-radius: 1rem;
        box-shadow: var(--hs-shadow);
        margin-top: 0.8rem;
    }

    .hero-slide {
        min-height: 520px;
    }

    .quick-search-wrap {
        margin-top: -1.5rem;
    }

    .step-item::after {
        display: none;
    }

.about-img-wrap {
        margin-bottom: 0;
    }

    .about-img-wrap .floating-card {
        position: static;
        right: auto;
        bottom: auto;
        left: auto;
        margin: 14px auto 0;
        max-width: 100%;
        justify-content: center;
        width: fit-content;
    }

    .about-img-wrap img {
        height: auto;
        max-height: 400px;
    }
}

@media (max-width: 575.98px) {
    .section {
        padding: 3.5rem 0;
    }

    .hero-slide {
        min-height: 460px;
    }

    .cta-banner {
        padding: 2.4rem 1.5rem;
    }

    .stat-item .counter {
        font-size: 2rem;
    }
}

