/* =========================================
   CSS Reset & Variables
========================================= */
:root {
    --primary-color: #d517b0;
    --primary-hover: #ab128d;
    --secondary-color: #0a8341;
    --secondary-hover: #076e36;
    --secondary-light: #27d755; /* original WhatsApp green for accents only, never with white text */
    --accent-yellow: #fad505;
    --text-main: #1A1A1A;
    --text-muted: #555555;
    --bg-main: #FFFFFF;
    --bg-section: #F8F9FA;
    --border-color: #EAEAEA;
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --radius-pill: 50px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 8%;
}

/* Typography Utility */
.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* =========================================
   Buttons
========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-lg {
    padding: 0.75rem 3.5rem;
    font-size: 1.125rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #FFF;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(213, 23, 176, 0.2);
}

.btn-secondary {
    background-color: var(--secondary-color);
    color: #FFF;
}

.btn-secondary:hover {
    background-color: var(--secondary-hover);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(39, 215, 85, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--accent-yellow);
    background-color: var(--accent-yellow);
    color: var(--text-main);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(250, 213, 5, 0.3);
}

/* =========================================
   Navbar
========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(0,0,0,0.03);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.navbar.nav-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.25rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    font-size: 1rem;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--accent-yellow));
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

.mobile-toggle i {
    transition: transform 0.3s ease;
}

/* Mobile Nav Overlay (Enhanced Animation) */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    clip-path: circle(0px at calc(100% - 40px) 40px);
    transition: all 0.6s cubic-bezier(0.86, 0, 0.07, 1);
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    clip-path: circle(150% at calc(100% - 40px) 40px);
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease;
}

.mobile-nav.active .mobile-link {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered delay for links */
.mobile-nav.active .mobile-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.active .mobile-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav.active .mobile-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav.active .mobile-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-nav.active .mobile-link:nth-child(5) { transition-delay: 0.5s; }

.mobile-nav-content .btn {
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.4s ease 0.6s;
}

.mobile-nav.active .btn {
    transform: translateY(0);
    opacity: 1;
}

/* =========================================
   Hero Section
========================================= */
.hero {
    padding: 150px 8% 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background-color: var(--bg-section);
    background-image: 
        radial-gradient(circle at top left, rgba(250, 213, 5, 0.3) 0%, transparent 60%),
        radial-gradient(circle at bottom right, rgba(213, 23, 176, 0.3) 0%, transparent 40%);
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1440px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 4rem;
}

.social-sidebar {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.social-sidebar span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 0.875rem;
    text-transform: uppercase;
}

.social-line {
    width: 1px;
    height: 80px;
    background-color: var(--border-color);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.social-icons a {
    color: var(--text-muted);
    font-size: 1.25rem;
}

.social-icons a:hover {
    color: var(--accent-yellow);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    width: 100%;
    gap: 2rem 4rem;
}

.hero-text-top {
    grid-column: 1;
    grid-row: 1;
}

.hero-image-wrapper {
    grid-column: 2;
    grid-row: 1 / 3;
}

.hero-text-bottom {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
}

.greeting {
    font-size: 1.25rem;
    font-weight: 900;
    color: #010101;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--primary-color);
    letter-spacing: -2px;
    min-height: 3em;
    /* Prevent layout shift when typing multi-line */
}

.cursor {
    display: inline-block;
    color: var(--accent-yellow);
    animation: blink 1s step-end infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.hero-desc {
    font-size: 1.25rem;
    color: #010101;
    margin-bottom: 3rem;
    max-width: 540px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
}

/* Mobile Social Media (hidden on desktop) */
.hero-social-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.hero-social-mobile span {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.hero-social-icons {
    display: flex;
    gap: 1rem;
}

.hero-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #FFF;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.hero-social-btn.wa {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.hero-social-btn.ig {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.hero-social-btn.tt {
    background: linear-gradient(135deg, #010101, #69c9d0);
}

.hero-social-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.25);
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    display: flex;
    justify-content: flex-end;
    transform: translateY(-40px);
}

.hero-img {
    width: 80%;
    max-width: 500px;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 4/5;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    background-color: #FFFFFF;
}

.hero-badge {
    position: absolute;
    bottom: 40px;
    left: 20px;
    background: #FFF;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    max-width: 280px;
}

.badge-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.badge-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-yellow);
    color: var(--text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.badge-header strong {
    font-size: 2rem;
    font-weight: 800;
}

.badge-text span {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: block;
    margin-top: 4px;
}

/* =========================================
   Stats Section
========================================= */
.stats-section {
    background-color: #FFF;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 4rem 0;
}

.stats-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.stat-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* =========================================
   Sertifikat Section
========================================= */
.sertifikat-section {
    padding: 80px 0;
    background-color: var(--bg-section);
    position: relative;
    overflow: hidden;
}

.sertifikat-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.sertifikat-marquee {
    overflow: hidden;
    margin-top: 3rem;
    position: relative;
    padding: 1rem 0;
}

/* Fade edges */
.sertifikat-marquee::before,
.sertifikat-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.sertifikat-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-section), transparent);
}

.sertifikat-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-section), transparent);
}

.sertifikat-track {
    display: flex;
    gap: 2rem;
    animation: marqueeScroll 40s linear infinite;
    width: max-content;
}

.sertifikat-track:hover {
    animation-play-state: paused;
}

.sertifikat-slide {
    flex-shrink: 0;
    width: 320px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    background: #FFF;
    transition: var(--transition);
}

.sertifikat-slide:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 50px rgba(213, 23, 176, 0.15);
    border-color: var(--primary-color);
}

.sertifikat-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .sertifikat-slide {
        width: 260px;
    }

    .sertifikat-marquee::before,
    .sertifikat-marquee::after {
        width: 40px;
    }
}

/* =========================================
   Terapis Section
========================================= */
.terapis-section {
    padding: 80px 0;
    background-color: #FFF;
    position: relative;
}

.terapis-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.terapis-slider {
    margin-top: 4rem;
    position: relative;
}

.terapis-slider-track {
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.terapis-slide {
    display: none;
    align-items: stretch;
    gap: 0;
    background: #FFF;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    animation: slideIn 0.5s ease forwards;
    max-width: 100%;
    box-sizing: border-box;
}

.terapis-slide.active {
    display: flex;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(60px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.terapis-photo-side {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(213, 23, 176, 0.1), rgba(250, 213, 5, 0.1));
}

.terapis-photo-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 420px;
}

.terapis-number {
    position: absolute;
    bottom: 20px;
    left: 20px;
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1;
    letter-spacing: -2px;
}

.terapis-bio-side {
    flex: 1;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.terapis-badge-role {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-yellow));
    color: #FFF;
    padding: 0.4rem 1.25rem;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    width: fit-content;
}

.terapis-bio-side h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.terapis-specialty {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin: 0;
}

.terapis-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

.terapis-stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.terapis-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.terapis-stat strong {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.terapis-stat span {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Navigation */
.terapis-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}

.terapis-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
    background: #FFF;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--text-main);
    transition: var(--transition);
}

.terapis-nav-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #FFF;
    transform: scale(1.1);
}

.terapis-dots {
    display: flex;
    gap: 0.5rem;
}

.terapis-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition);
}

.terapis-dot.active {
    background: var(--primary-color);
    width: 30px;
    border-radius: var(--radius-pill);
}

@media (max-width: 768px) {
    .terapis-section {
        overflow: hidden;
    }

    .terapis-section .container {
        overflow: hidden;
    }

    .terapis-slider {
        overflow: hidden;
        margin-top: 2rem;
    }

    .terapis-slider-track {
        min-height: auto;
        overflow: hidden;
    }

    .terapis-slide.active {
        flex-direction: column;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .terapis-photo-side {
        flex: none;
        width: 100%;
        max-width: 100%;
    }

    .terapis-photo-side img {
        min-height: 260px;
        max-height: 300px;
        width: 100%;
        max-width: 100%;
        object-fit: cover;
    }

    .terapis-bio-side {
        padding: 1.5rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .terapis-bio-side h3 {
        font-size: 1.35rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .terapis-specialty {
        font-size: 0.9rem;
    }

    .terapis-desc {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .terapis-stats-row {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .terapis-stat strong {
        font-size: 1.2rem;
    }

    .terapis-stat span {
        font-size: 0.7rem;
    }

    .terapis-number {
        font-size: 3rem;
        bottom: 10px;
        left: 10px;
    }

    .terapis-nav {
        gap: 1rem;
        margin-top: 1.5rem;
    }
}


/* =========================================
   About Section
========================================= */
.about {
    padding: 80px 0;
    background-color: #FFF;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 6rem;
}

.about-image {
    flex: 1;
    position: relative;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.experience-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background-color: var(--secondary-color);
    color: var(--text-main);
    padding: 2.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: 0 20px 40px rgba(39, 215, 85, 0.2);
}

.exp-year {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.exp-text {
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.about-content {
    flex: 1;
}

.about-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.125rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.skill-tag {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-section);
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--text-main);
}

/* =========================================
   Vision & Mission Section
========================================= */
.vision-mission {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.vm-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-top: 4rem;
}

.vm-card {
    background-color: #FFF;
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    border-top: 5px solid var(--primary-color);
}

.visi-card {
    border-top-color: var(--secondary-color);
}

.vm-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.vm-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.visi-card .vm-icon {
    color: var(--secondary-color);
}

.vm-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.vm-card p {
    font-size: 1.125rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.misi-list {
    list-style: none;
    padding: 0;
}

.misi-list li {
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1.05rem;
}

.misi-list li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* =========================================
   Team Section
========================================= */
.team {
    padding: 80px 0;
    background-color: #FFF;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}

.team-card {
    background-color: var(--bg-section);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.03);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    padding-bottom: 2rem;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
}

.team-img {
    width: 100%;
    aspect-ratio: 1/1;
    overflow: hidden;
    position: relative;
    background-color: #f0f0f0; /* placeholder bg */
}

.team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s ease;
}

.team-card:hover .team-img img {
    transform: scale(1.05);
}

.team-info {
    padding: 2rem 2rem 0;
}

.team-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.team-info span {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.team-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.team-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #FFF;
    color: var(--text-muted);
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.team-socials a:hover {
    background-color: var(--primary-color);
    color: #FFF;
}

/* =========================================
   Services Section
========================================= */
.services {
    padding: 80px 0;
    background-color: var(--bg-section);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.service-card {
    background-color: #FFF;
    padding: 3rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card:hover,
.service-card.active {
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-10px);
}

.service-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--border-color);
    position: absolute;
    top: 2rem;
    right: 3rem;
    transition: var(--transition);
}

.service-card:hover .service-number,
.service-card.active .service-number {
    color: var(--primary-color);
}

.service-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.service-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.service-desc {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--bg-section);
    color: var(--text-main);
    font-size: 1.25rem;
}

.service-card:hover .service-link,
.service-card.active .service-link {
    background-color: var(--secondary-color);
    color: var(--text-main);
}

/* =========================================
   Portfolio Section
========================================= */
.portfolio {
    padding: 80px 0;
    background-color: #FFF;
}

.portfolio-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
}

.portfolio-item {
    group: item;
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
}

.portfolio-img-wrapper {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.portfolio-img-wrapper img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portfolio-item:hover .portfolio-img-wrapper img {
    transform: scale(1.05);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(213, 23, 176, 0.4);
    opacity: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-link {
    width: 80px;
    height: 80px;
    background-color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--text-main);
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.portfolio-item:hover .portfolio-link {
    transform: translateY(0);
}

.portfolio-category {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portfolio-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 0.5rem;
    color: var(--primary-color);
}

/* =========================================
   Testimonials Section
========================================= */
.testimonials {
    padding: 80px 0;
    background-color: var(--bg-section);
}
.testimoni-marquee {
    overflow: hidden;
    margin-top: 4rem;
    position: relative;
    padding: 2rem 0;
}

/* Fade edges */
.testimoni-marquee::before,
.testimoni-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 150px;
    z-index: 2;
    pointer-events: none;
}

.testimoni-marquee::before {
    left: 0;
    background: linear-gradient(to right, var(--bg-section), transparent);
}

.testimoni-marquee::after {
    right: 0;
    background: linear-gradient(to left, var(--bg-section), transparent);
}

.testimoni-track {
    display: flex;
    gap: 2.5rem;
    align-items: center;
    /* Scrolling left */
    animation: marqueeTestimoni 35s linear infinite;
    width: max-content;
}

.testimoni-track:hover {
    animation-play-state: paused;
}

.testimoni-slide {
    flex-shrink: 0;
    width: 380px; /* Lebar default untuk gambar testimoni */
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    background: #FFF;
}

.testimoni-slide img {
    width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.testimoni-slide:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(213, 23, 176, 0.15);
}

.testimoni-slide:hover img {
    transform: scale(1.05);
}

@keyframes marqueeTestimoni {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-50% - 1.25rem)); /* Half of track width + half of gap */
    }
}

@media (max-width: 768px) {
    .testimoni-slide {
        width: 280px;
    }

    .testimoni-marquee::before,
    .testimoni-marquee::after {
        width: 60px;
    }
}

/* =========================================
   Reservasi Section
========================================= */
.reservasi-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f0fc 0%, #f0f4ff 50%, #f5f0ff 100%);
    position: relative;
}

.reservasi-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.reservasi-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    margin-top: 4rem;
    align-items: start;
}

.reservasi-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.reservasi-info-card {
    background: #FFF;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.reservasi-info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(213, 23, 176, 0.1);
    border-color: var(--primary-color);
}

.reservasi-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.reservasi-info-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.reservasi-info-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.reservasi-form {
    background: #FFF;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
}

.form-group label i {
    color: var(--primary-color);
    margin-right: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text-main);
    background: #FAFAFE;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(213, 23, 176, 0.1);
    background: #FFF;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #767676;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 3rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.reservasi-submit {
    width: 100%;
    padding: 1.1rem;
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    border: none;
    cursor: pointer;
    margin-top: 0.5rem;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: #FFF;
    border-radius: 14px;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.reservasi-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
    background: linear-gradient(135deg, #22c35e, #0f7a6d);
}

.reservasi-submit i {
    font-size: 1.4rem;
}

@media (max-width: 992px) {
    .reservasi-wrapper {
        display: flex;
        flex-direction: column-reverse;
    }

    .reservasi-info {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .reservasi-info-card {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .reservasi-form {
        padding: 2rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .reservasi-info-card {
        min-width: 100%;
    }
}

/* =========================================
   Map Section
========================================= */
.map-section {
    padding: 100px 0 0;
}

.map-container {
    margin-top: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    line-height: 0;
    transition: var(--transition);
    border: 4px solid #FFF;
}

.map-container iframe {
    width: 100%;
    filter: grayscale(80%) contrast(1.1);
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.map-container:hover iframe {
    filter: grayscale(0%);
}

/* =========================================
   Footer Section
========================================= */
.footer {
    background-color: var(--text-main);
    color: #FFF;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.cta-box {
    background-color: var(--primary-color);
    border-radius: var(--radius-lg);
    padding: 5rem;
    text-align: center;
    max-width: 1280px;
    margin: -160px auto 100px;
    position: relative;
    z-index: 10;
    box-shadow: 0 30px 60px rgba(213, 23, 176, 0.3);
}

.wa-pulse {
    animation: pulseWA 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulseWA {
    0% {
        box-shadow: 0 0 0 0 rgba(39, 215, 85, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(39, 215, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(39, 215, 85, 0);
    }
}

.primary-pulse {
    animation: pulsePrimary 2s infinite cubic-bezier(0.66, 0, 0, 1);
}

@keyframes pulsePrimary {
    0% {
        box-shadow: 0 0 0 0 rgba(213, 23, 176, 0.7);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(213, 23, 176, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(213, 23, 176, 0);
    }
}

.cta-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    color: #FFF;
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 8%;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 4rem;
}

.footer-brand .logo {
    margin-bottom: 1rem;
    display: inline-block;
}

.footer-brand .logo img {
    height: 60px;
    filter: brightness(0) invert(1); /* Makes the logo white for the dark footer if it's a colored PNG */
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    max-width: 300px;
}

.footer-socials {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #FFF;
    transition: var(--transition);
}

.footer-socials a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.link-col h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.link-col a {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1rem;
    font-weight: 500;
}

.link-col a:hover {
    color: #FFF;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    position: relative;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    z-index: 2;
}

.footer-big-text {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 15vw;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    line-height: 1;
    pointer-events: none;
    white-space: nowrap;
}

/* =========================================
   Responsive Design
========================================= */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4.5rem;
    }

    .about-container {
        flex-direction: column;
        gap: 4rem;
    }

    .experience-card {
        right: 0;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    /* Compact Navbar */
    .nav-container {
        padding: 0.6rem 5%;
    }

    .logo img {
        height: 50px;
    }

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    /* Compact Hero */
    .hero {
        padding: 80px 5% 40px;
        min-height: auto;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .social-sidebar {
        display: none;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }

    .hero-text-top {
        order: 1;
    }

    .hero-image-wrapper {
        order: 2;
        margin: 0;
    }

    .hero-text-bottom {
        order: 3;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-social-mobile {
        display: flex;
    }

    .hero-title {
        font-size: 4.5rem;
        min-height: 2.5em;
    }

    .hero-desc {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }

    .section-subtitle {
        margin-bottom: 0.25rem;
    }

    /* Compact Sections */
    .sertifikat-section,
    .terapis-section,
    .testimonials,
    .reservasi-section,
    .map-section {
        padding: 40px 0;
    }

    .section-header {
        margin-bottom: 1.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .stats-container {
        justify-content: center;
        gap: 1rem;
    }

    .experience-card {
        right: 0;
    }

    .vm-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Compact Footer */
    .cta-box {
        padding: 2.5rem 1.5rem;
        margin: -60px auto 40px;
    }

    .cta-title {
        font-size: 1.75rem;
    }

    .footer {
        padding-top: 60px;
    }

    .footer-top {
        flex-direction: column;
        gap: 2rem;
        padding-bottom: 2rem;
        margin-bottom: 2rem;
    }

    .footer-watermark {
        font-size: 4rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 3.5rem;
        min-height: 3.5em;
    }

    .hero-desc {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-badge {
        bottom: 20px;
        left: 10px;
        right: 10px;
        padding: 1rem;
        justify-content: center;
    }

    .stat-number {
        font-size: 3rem;
    }

    .stat-item {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .experience-card {
        padding: 1.5rem;
        bottom: -20px;
        right: 0;
        left: 0;
        margin: 0 auto;
        width: 90%;
    }

    .exp-year {
        font-size: 3rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .vm-card {
        padding: 2rem 1.5rem;
    }

    .team-info {
        padding: 1.5rem 1.5rem 0;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .testimonial-text {
        font-size: 1.125rem;
    }

    .cta-title {
        font-size: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* =========================================
   Scroll Animations
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.reveal-scale {
    transform: scale(0.9);
}

.reveal.active {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Staggered Delays */
.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

.delay-500 {
    transition-delay: 500ms;
}
