/* =============================================
   DENTAL RUCI CARE - PINK THEME CSS
   ============================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* =============================================
   CSS VARIABLES - PINK COLOR SYSTEM
   ============================================= */
:root {
    --primary: #FF0080; /* Pink Fuscia Solid */
    --primary-dark: #E60073;
    --primary-light: #FF3399;
    --primary-glow: rgba(255, 0, 128, 0.2);
    --secondary: #FF0080;
    --accent: #FF00FF;
    --kids-blue: #A0D8F1;
    --kids-text: #1e293b;

    --bg-white: #FFFFFF;
    --bg-light: #FFF5F9;
    --bg-pink: #FCE4EC;
    --bg-soft: #FFF0F5;

    --text-dark: #1A1A2E;
    --text-gray: #6B7280;
    --text-light: #9CA3AF;

    --gradient-main: #FF0080; /* No more gradient */
    --gradient-soft: #FFF5F9;
    --gradient-dark: #E60073;

    --shadow-sm: 0 2px 8px rgba(255, 0, 128, 0.1);
    --shadow-md: 0 8px 24px rgba(255, 0, 128, 0.15);
    --shadow-lg: 0 16px 48px rgba(255, 0, 128, 0.2);
    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.08);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================
   RESET & BASE
   ============================================= */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* =============================================
   SCROLLBAR
   ============================================= */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    margin-top: 0.5rem;
    /* max-width: 600px; */
}

.title-badge {
    display: inline-block;
    color: var(--primary);
}

.tag-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-pink);
    color: var(--primary);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.tag-label::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    animation: pulse-dot 1.5s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.4);
    }
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.btn:hover::after {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn-white {
    background: #fff;
    color: var(--primary);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-pink);
}

.btn-sm {
    padding: 10px 22px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 18px 44px;
    font-size: 1.1rem;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: 0 4px 32px rgba(233, 30, 140, 0.12);
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.navbar-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--primary-light);
}

.brand-name {
    display: flex;
    flex-direction: column;
}

.brand-name .name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.brand-name .tagline {
    font-size: 0.65rem;
    color: var(--text-gray);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 12px;
    border-radius: var(--radius-full);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
    background: var(--bg-pink);
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-only-btn {
    display: none;
}

/* Hanya tampil di menu mobile */
/* Mobile Nav */
/* Hamburger Animation */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
@media (max-width: 1024px) {
    .navbar-menu {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #FFFFFF !important; /* Full White Background */
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 40px 5%;
        gap: 15px;
        transform: translateY(-100%); /* Slide from top */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
    }

    .navbar-menu.open {
        transform: translateY(0);
    }

    .nav-link {
        font-size: 0.95rem !important;
        font-weight: 600 !important;
        padding: 12px 20px !important;
        width: 100% !important;
        text-align: left;
        border-radius: 10px;
        color: #1E293B !important;
    }

    .nav-link.active {
        background: var(--bg-pink) !important;
        color: var(--primary) !important;
    }

    .hamburger {
        z-index: 2000; /* Tetap di atas menu saat terbuka */
        position: relative;
    }

    .mobile-only-btn {
        display: block;
    }

    .navbar-actions {
        gap: 8px;
    }

    .navbar-actions .btn-primary {
        display: none;
    }

    /* Sembunyikan tombol Buat Janji di navbar actions pada mobile */
    .nav-lang {
        min-width: auto;
    }

    /* Biarkan widget translate tetap menyesuaikan isi */
    .hamburger {
        display: flex;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    background: #FFF0F5;
    /* Baby Pink */
    display: flex;
    align-items: center;
    padding: 100px 5% 60px;
    position: relative;
    overflow: hidden;
    color: var(--text-dark);
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 0, 128, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 128, 0.1);
    border: 1px solid rgba(255, 0, 128, 0.2);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-title .highlight {
    color: #FF3080;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 36px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 36px;
}

.stat-item {}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-gray);
    margin-top: 4px;
}

/* Hero Image */
.hero-visual {
    position: relative;
    height: 600px;
}

.hero-image-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 30px 80px 30px;
    box-shadow: var(--shadow-lg);
}

.hero-float-card {
    position: absolute;
    background: #fff;
    border-radius: var(--radius-md);
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 12px;
    animation: float 3s ease-in-out infinite;
}

.hero-float-card:nth-child(2) {
    bottom: 40px;
    left: -30px;
    animation-delay: 0s;
}

.hero-float-card:nth-child(3) {
    top: 80px;
    right: -20px;
    animation-delay: 1.5s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

.float-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-main);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.float-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.float-text .label {
    font-size: 0.72rem;
    color: var(--text-gray);
}

.float-text .value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* Hero Bg Pattern */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: var(--gradient-main);
    opacity: 0.06;
}

.hero-shape-1 {
    width: 300px;
    height: 300px;
    top: -80px;
    right: 40%;
}

.hero-shape-2 {
    width: 150px;
    height: 150px;
    bottom: 60px;
    right: 30%;
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero {
        min-height: auto;
        padding: 120px 5% 60px;
    }

    .hero-visual {
        height: 350px;
    }

    .hero-float-card:nth-child(3) {
        right: 0;
    }
}

/* =============================================
   SECTIONS COMMON
   ============================================= */
.section {
    padding: 100px 5%;
}

.section-alt {
    background: var(--bg-light);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

.section-header.center .section-subtitle {
    margin: 0.5rem auto 0;
}

/* =============================================
   LAYANAN SECTION
   ============================================= */
.layanan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}

.layanan-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid rgba(233, 30, 140, 0.08);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.layanan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg);
}

.layanan-card:hover::before {
    opacity: 1;
}

.layanan-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.layanan-card:hover .layanan-icon {
    background: rgba(255, 255, 255, 0.2);
}

.layanan-card:hover .layanan-title,
.layanan-card:hover .layanan-desc,
.layanan-card:hover .layanan-link {
    color: #fff;
}

.layanan-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-pink);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
    transition: var(--transition);
}

.layanan-icon svg {
    width: 30px;
    height: 30px;
    fill: var(--primary);
}

.layanan-card:hover .layanan-icon svg {
    fill: #fff;
}

.layanan-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.layanan-desc {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.7;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.layanan-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =============================================
   WHY CHOOSE US SECTION
   ============================================= */
.why-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
}

/* =============================================
   WHY CHOOSE US SECTION - LUXURY IMAGE LAYOUT (TOP CENTER)
   ============================================= */
.why-image-container {
    position: relative;
    height: auto;
    width: 100%;
    max-width: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
    margin: 0 auto;
}

/* Luxurious background glow */
.why-image-glow {
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle at center, rgba(255, 0, 128, 0.16) 0%, rgba(212, 175, 55, 0.08) 50%, transparent 70%);
    filter: blur(40px);
    z-index: 1;
    pointer-events: none;
    opacity: 0.85;
}

/* Gold sparkle decorations */
.why-luxury-sparkle {
    position: absolute;
    z-index: 5;
    color: #D4AF37; /* Luxury Gold */
    filter: drop-shadow(0 2px 8px rgba(212, 175, 55, 0.5));
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.why-luxury-sparkle svg {
    display: block;
}

.sparkle-1 {
    top: 10%;
    right: -25px;
    animation: rotate-sparkle 8s linear infinite;
}

.sparkle-2 {
    bottom: 25%;
    left: -35px;
    animation: rotate-sparkle 12s linear infinite;
    animation-delay: 2s;
}

.sparkle-3 {
    top: -35px;
    left: 40%;
    animation: rotate-sparkle 10s linear infinite;
    animation-delay: 4s;
}

@keyframes rotate-sparkle {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Main Image Wrapper with luxury frame styling */
.why-image-wrapper {
    position: relative;
    width: 100%;
    height: auto;
    z-index: 2;
    background: #ffffff;
    border: 6px solid #ffffff;
    border-radius: 30px 30px 80px 30px;
    box-shadow: 
        0 20px 48px rgba(255, 0, 128, 0.12),
        0 10px 20px rgba(0, 0, 0, 0.04),
        0 0 0 1.5px rgba(212, 175, 55, 0.15); /* Thin gold border trace */
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.why-image-inner {
    width: 100%;
    height: auto;
    border-radius: 24px 24px 74px 24px;
    overflow: hidden;
    background: var(--bg-soft);
    display: block;
}

.why-image-main {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Hover effects */
.why-image-container:hover .why-image-wrapper {
    transform: translateY(-8px) rotateX(1.5deg) rotateY(-1.5deg);
    box-shadow: 
        0 30px 60px rgba(255, 0, 128, 0.18),
        0 15px 30px rgba(212, 175, 55, 0.15),
        0 0 0 2px rgba(212, 175, 55, 0.3);
}

.why-image-container:hover .why-image-main {
    transform: scale(1.05);
}

.why-image-container:hover .why-luxury-sparkle {
    color: #FFD700; /* Brighter gold on hover */
    filter: drop-shadow(0 4px 12px rgba(255, 215, 0, 0.8));
}

.why-image-container:hover .sparkle-1 {
    transform: scale(1.3) translate(5px, -5px);
}

.why-image-container:hover .sparkle-2 {
    transform: scale(1.3) translate(-5px, 5px);
}

.why-image-container:hover .sparkle-3 {
    transform: scale(1.3) translate(0, -5px);
}

/* Floating Luxury Glassmorphism Badges */
.why-badge-luxury {
    position: absolute;
    z-index: 10;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 12px 32px rgba(255, 0, 128, 0.12),
        0 4px 12px rgba(0, 0, 0, 0.04),
        inset 0 1px 1px rgba(255, 255, 255, 0.6);
    padding: 14px 22px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.why-badge-luxury .badge-icon-wrap {
    width: 38px;
    height: 38px;
    background: linear-gradient(135deg, #FF0080 0%, #FF5EAC 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 10px rgba(255, 0, 128, 0.25);
    flex-shrink: 0;
}

.why-badge-luxury .badge-icon-wrap.secondary-icon {
    background: linear-gradient(135deg, #D4AF37 0%, #F5D77F 100%);
    box-shadow: 0 4px 10px rgba(212, 175, 55, 0.3);
}

.why-badge-luxury .badge-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

/* Badge 1 Specifics */
.main-badge {
    bottom: -20px;
    left: -20px;
    top: auto;
    border-left: 3px solid rgba(255, 0, 128, 0.6);
    animation: float-badge-1 5s ease-in-out infinite;
}

.main-badge .badge-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.1;
}

.main-badge .badge-text {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Badge 2 Specifics */
.secondary-badge {
    bottom: 50px;
    right: -45px;
    border-right: 3px solid rgba(212, 175, 55, 0.7);
    animation: float-badge-2 5s ease-in-out infinite;
    animation-delay: 2.5s;
}

.secondary-badge .badge-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.2;
}

.secondary-badge .badge-desc {
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text-gray);
}

/* Badge float animations */
@keyframes float-badge-1 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes float-badge-2 {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* Parallax micro movement on hover */
.why-image-container:hover .main-badge {
    transform: translate(-4px, 4px) scale(1.03);
}

.why-image-container:hover .secondary-badge {
    transform: translate(8px, 4px) scale(1.03);
}

/* =============================================
   WHY CHOOSE US SECTION - TEXT & GRID CARDS (BOTTOM)
   ============================================= */
.why-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-header {
    text-align: center;
    margin-bottom: 48px;
    max-width: 1100px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.why-header .tag-label {
    margin-bottom: 16px;
}

.why-header .section-title {
    margin-bottom: 16px;
}

.why-header .section-subtitle {
    margin: 0.5rem auto 0;
    text-align: justify;
    text-justify: inter-word;
}

/* Features in a grid */
.why-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
}

.feature-card {
    background: #ffffff;
    padding: 30px 28px;
    border-radius: 24px;
    border: 1px solid rgba(233, 30, 140, 0.05);
    box-shadow: 0 10px 30px rgba(233, 30, 140, 0.02);
    display: flex;
    gap: 20px;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 20px 40px rgba(255, 0, 128, 0.08),
        0 0 0 1px rgba(255, 0, 128, 0.1);
    border-color: rgba(255, 0, 128, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card .feature-icon {
    width: 54px;
    height: 54px;
    background: var(--bg-pink);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: var(--primary);
}

.feature-card .feature-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--primary);
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon svg {
    fill: #ffffff;
}

.feature-card .feature-text {
    text-align: left;
}

.feature-card .feature-text h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.feature-card .feature-text p {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* Responsive adjustments */

/* Tablet landscape: keep 2-column grid */
@media (min-width: 768px) and (max-width: 991px) {
    .why-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .main-badge {
        left: -10px;
        bottom: -15px;
    }
}

/* Tablet portrait: drop to 1-column grid */
@media (max-width: 767px) {
    .why-features-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        gap: 16px;
    }
}

@media (min-width: 601px) and (max-width: 900px) {
    .why-image-container {
        height: auto;
        max-width: 480px;
    }

    .main-badge {
        left: -10px;
        bottom: -15px;
        top: auto;
    }
}

/* Mobile (max 600px) */
@media (max-width: 600px) {
    .why-container {
        gap: 32px;
    }

    .why-image-container {
        height: auto;
        max-width: 100%;
        /* Add left padding so badge does not overflow viewport */
        padding-left: 12px;
    }

    .why-image-wrapper {
        border-width: 3px;
        border-radius: 18px 18px 44px 18px;
    }

    .why-image-inner {
        border-radius: 15px 15px 41px 15px;
    }

    .why-badge-luxury {
        padding: 8px 12px;
        border-radius: 12px;
        gap: 8px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .why-badge-luxury .badge-icon-wrap {
        width: 28px;
        height: 28px;
    }

    .why-badge-luxury .badge-icon-wrap svg {
        width: 13px;
        height: 13px;
    }

    /* Move badge to bottom-left on small screens */
    .main-badge {
        left: 8px;
        bottom: -14px;
        top: auto;
        right: auto;
    }

    .main-badge .badge-number {
        font-size: 1.1rem;
    }

    .main-badge .badge-text {
        font-size: 0.58rem;
    }

    .secondary-badge {
        right: 10px;
        bottom: 12px;
        left: auto;
    }

    .secondary-badge .badge-title {
        font-size: 0.7rem;
    }

    .secondary-badge .badge-desc {
        font-size: 0.58rem;
    }

    .why-luxury-sparkle {
        transform: scale(0.55);
    }

    .sparkle-1 {
        right: 0;
        top: 5%;
    }

    .sparkle-2 {
        left: -5px;
    }

    .sparkle-3 {
        left: 35%;
        top: -20px;
    }

    /* Disable tilt hover on touch devices */
    .why-image-container:hover .why-image-wrapper {
        transform: none;
    }

    /* Keep slight lift on touch */
    .why-image-container:active .why-image-wrapper {
        transform: translateY(-4px);
    }
}

/* =============================================
   DOKTER SECTION
   ============================================= */
.dokter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 28px;
}

.dokter-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(233, 30, 140, 0.08);
}

.dokter-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.dokter-image-wrap {
    position: relative;
    overflow: hidden;
    height: 280px;
    background: var(--bg-soft);
}

.dokter-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.dokter-card:hover .dokter-image-wrap img {
    transform: scale(1.05);
}

.dokter-overlay {
    position: absolute;
    inset: 0;
    background: var(--gradient-main);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: var(--transition);
}

.dokter-card:hover .dokter-overlay {
    opacity: 0.85;
}

.dokter-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.dokter-social a:hover {
    background: rgba(255, 255, 255, 0.4);
}

.dokter-info {
    padding: 24px;
}

.dokter-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.dokter-specialty {
    font-size: 0.82rem;
    color: var(--primary);
    font-weight: 600;
}

.dokter-schedule {
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* =============================================
   TESTIMONI SECTION
   ============================================= */
.testimoni-section {
    background: var(--gradient-soft);
    overflow: hidden;
    padding: 100px 0;
}

.testimoni-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 20px 0;
}

.testimoni-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: marquee 40s linear infinite;
}

.testimoni-track:hover {
    animation-play-state: paused;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 15px));
    }
}

.testimoni-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    width: 550px;
    height: 240px;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    flex-shrink: 0;
}

.video-container-rel {
    position: relative;
    width: 100%;
    margin-top: 50px;
}

.video-grid {
    display: flex;
    gap: 30px;
    overflow-x: auto;
    padding: 20px 0 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    cursor: grab;
}

.video-grid:active {
    cursor: grabbing;
}

.video-grid::-webkit-scrollbar {
    display: none;
}

.video-card {
    min-width: 420px;
    scroll-snap-align: start;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    user-select: none;
    background: #fff;
    padding: 15px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.video-card:hover {
    transform: translateY(-15px) scale(1.03);
    box-shadow: 0 25px 60px rgba(233, 30, 140, 0.15);
    z-index: 11;
}

.video-thumb-wrap {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.video-card:hover img {
    transform: scale(1.1);
}

.nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    border: none;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 15px 35px rgba(255, 48, 128, 0.3);
}

.nav-btn.prev {
    left: -28px;
}

.nav-btn.next {
    right: -28px;
}

@media (max-width: 1300px) {
    .nav-btn.prev {
        left: 10px;
    }

    .nav-btn.next {
        right: 10px;
    }
}

@media (max-width: 600px) {
    .video-card {
        min-width: 280px;
        padding: 10px;
        border-radius: 20px;
    }

    .nav-btn {
        display: none;
    }
}

.testimoni-photo-side {
    width: 180px;
    flex-shrink: 0;
}

.testimoni-photo-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimoni-info-side {
    padding: 25px 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimoni-text {
    font-size: 0.95rem;
    color: #1e293b;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimoni-stars {
    display: flex;
    gap: 3px;
    margin-bottom: 8px;
}

.star {
    color: #FFC107;
    font-size: 1rem;
}

.author-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 12px;
}

.doctor-label {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    margin-bottom: 2px;
}

.doctor-name {
    font-size: 0.9rem;
    font-weight: 700;
    color: #FF3080;
}

/* =============================================
   ARTIKEL SECTION
   ============================================= */
.artikel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.artikel-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.artikel-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.artikel-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.artikel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.artikel-card:hover .artikel-image img {
    transform: scale(1.05);
}

.artikel-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: var(--radius-full);
}

.artikel-body {
    padding: 28px;
}

.artikel-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 14px;
}

.artikel-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.artikel-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.artikel-title a {
    color: var(--text-dark);
}

.artikel-title a:hover {
    color: var(--primary);
}

.artikel-excerpt {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 20px;
}

.artikel-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.read-more {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
}

.read-more:hover {
    gap: 10px;
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    background: var(--gradient-main);
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 64px;
}

.contact-info {}

.contact-info-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-main);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 22px;
    height: 22px;
    fill: #fff;
}

.contact-info-text h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.testimoni-float {
    position: fixed;
    bottom: 155px;
    right: 32px;
    width: 52px;
    height: 52px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(255, 48, 128, 0.4);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.testimoni-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 16px rgba(255, 48, 128, 0.6);
    color: #fff;
}

.testimoni-float svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.contact-info-text p,
.contact-info-text a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
}

.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(233, 30, 140, 0.08);
}

@media (max-width: 900px) {
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* =============================================
   FORM ELEMENTS
   ============================================= */
.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
    background: var(--bg-white);
}

.form-control::placeholder {
    color: var(--text-light);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E5E7EB;
    border-radius: var(--radius-md);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: var(--text-dark);
    background: var(--bg-white);
    transition: var(--transition);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E91E8C' stroke-width='2'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 20px;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--kids-blue);
    color: var(--kids-text);
    padding: 80px 5% 40px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(30, 41, 59, 0.1);
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 48px;
    height: 48px;
    background: #fff;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary-light);
}

.footer-brand-name {
    color: var(--kids-text);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-brand-tag {
    font-size: 0.65rem;
    color: rgba(30, 41, 59, 0.7);
}

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.8;
    color: rgba(30, 41, 59, 0.8);
    margin-bottom: 24px;
}

.footer-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 4px;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid rgba(30, 41, 59, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(30, 41, 59, 0.6);
    font-size: 0.85rem;
    transition: var(--transition);
    background: rgba(255,255,255,0.8);
}

.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

/* Platform-specific hover colors */
.social-link[title="Instagram"]:hover { background: #E1306C; border-color: #E1306C; color: #fff; }
.social-link[title="Facebook"]:hover  { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-link[title="TikTok"]:hover    { background: #010101; border-color: #010101; color: #fff; }
.social-link[title="YouTube"]:hover   { background: #FF0000; border-color: #FF0000; color: #fff; }
.social-link[title="WhatsApp"]:hover  { background: #25D366; border-color: #25D366; color: #fff; }

.footer-col h4 {
    color: var(--kids-text);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.875rem;
    color: rgba(30, 41, 59, 0.8);
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a::before {
    content: '→';
    color: var(--primary);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.footer-contact-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.875rem;
    color: rgba(30, 41, 59, 0.8);
}

.footer-contact-item svg {
    width: 16px;
    height: 16px;
    fill: var(--primary);
    flex-shrink: 0;
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright {
    font-size: 0.82rem;
    color: rgba(30, 41, 59, 0.6);
}

.footer-copyright span {
    color: var(--primary);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 0.82rem;
    color: rgba(30, 41, 59, 0.6);
}

.footer-bottom-links a:hover {
    color: var(--primary);
}

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* =============================================
   PAGE HERO (inner pages)
   ============================================= */
.page-hero {
    background: var(--gradient-main);
    padding: 160px 5% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -150px;
    right: -150px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #fff;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.page-hero-breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    z-index: 1;
}

.breadcrumb-sep {
    color: rgba(255, 255, 255, 0.4);
}

.breadcrumb-active {
    color: #fff;
    font-weight: 600;
}

/* =============================================
   APPOINTMENT PAGE
   ============================================= */
.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 48px;
}

.appointment-info {
    background: var(--gradient-main);
    border-radius: var(--radius-lg);
    padding: 44px;
    color: #fff;
}

.appointment-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.appointment-info p {
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.8;
    margin-bottom: 36px;
}

.appt-feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.appt-feature {
    display: flex;
    gap: 12px;
    align-items: center;
}

.appt-feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.appt-feature-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

.appt-feature-text {
    font-size: 0.875rem;
    opacity: 0.9;
}

.appointment-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 44px;
    box-shadow: var(--shadow-card);
    border: 1px solid rgba(255, 0, 128, 0.08);
}

@media (max-width: 900px) {
    .appointment-container {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   ALERT / FLASH MESSAGES
   ============================================= */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #D1FAE5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-danger {
    background: #FEE2E2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-info {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-main);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

/* =============================================
   WHATSAPP BUTTON
   ============================================= */
.wa-float {
    position: fixed;
    bottom: 90px;
    right: 32px;
    z-index: 999;
    width: 52px;
    height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
    animation: pulse-wa 2.5s infinite;
}

.wa-float:hover {
    transform: scale(1.1);
}

.wa-float svg {
    width: 28px;
    height: 28px;
    fill: #fff;
}

@keyframes pulse-wa {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }

    50% {
        box-shadow: 0 4px 40px rgba(37, 211, 102, 0.7);
    }
}

/* =============================================
   LOKASI / CABANG
   ============================================= */
.lokasi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.lokasi-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 28px;
    border: 2px solid transparent;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.lokasi-card:hover,
.lokasi-card.active {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}

.lokasi-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--primary);
}

.lokasi-card p {
    font-size: 0.875rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.map-frame {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-card);
}

.map-frame iframe {
    width: 100%;
    height: 450px;
    border: none;
}

/* =============================================
   LOADING SPINNER
   ============================================= */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 0, 128, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* =============================================
   RESPONSIVE UTILITIES
   ============================================= */
@media (max-width: 768px) {
    .section {
        padding: 70px 5%;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-actions {
        flex-direction: column;
    }

    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* =============================================
   JUSTIFY TEXT - RATA KANAN KIRI (FRONTEND)
   ============================================= */
/* Paragraf konten utama di semua halaman */
.section p,
.layanan-desc,
.feature-text p,
.about-desc,
.dokter-bio,
.fasilitas-desc,
.artikel-content p,
.artikel-body p,
.tentang-desc p,
.konten-desc p,
.desc-text,
.why-desc,
.service-desc,
.card-desc,
main p:not(.form-hint):not(.section-subtitle):not(.tag-label):not(.footer-desc):not(.footer-copyright):not(.stat-label) {
    text-align: justify;
}

/* Rich text output dari Quill (konten yang disimpan dengan HTML) */
.ql-output p,
.rich-content p,
.konten-html p {
    text-align: justify;
    margin-bottom: 0.75em;
}

.ql-output ul,
.ql-output ol,
.rich-content ul,
.rich-content ol {
    padding-left: 1.5em;
    margin-bottom: 0.75em;
}

.ql-output strong,
.rich-content strong {
    font-weight: 700;
}

/* Styling untuk konten Quill yang ditampilkan di frontend */
.ql-align-justify { text-align: justify; }
.ql-align-center  { text-align: center;  }
.ql-align-right   { text-align: right;   }
.ql-align-left    { text-align: left;    }