/* ==== HEADER AREA ==== */
.main-header {
    background-color: #00d1d8;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 999;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.clinic-name {
    font-size: 20px;
    font-weight: bold;
    color: white;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.main-nav a {
    color: white;
    text-decoration: none;
    margin-left: 24px;
    font-weight: 500;
    font-size: 16px;
    position: relative;
    transition: color 0.3s;
}

.main-nav a::after {
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: white;
    transition: width 0.3s ease-in-out;
}

.main-nav a:hover {
    color: #f0f0f0;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav a.active {
    font-weight: bold;
    border-bottom: 2px solid white;
}

/* === SLIDER === */
.slider-container {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
    padding: 20px;
}

.hero-center-text h1 {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.hero-center-text p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.btn-wa {
    background-color: #25D366;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s;
}

.btn-wa:hover {
    background-color: #1da851;
}

/* === STICKY WHATSAPP BUTTON === */
.sticky-wa {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    font-size: 24px;
    padding: 15px;
    border-radius: 50%;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 999;
    text-decoration: none;
    transition: background 0.3s ease;
}

.sticky-wa:hover {
    background-color: #1da851;
}

/* === BODY CONTENT === */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px;
}

.tentang h2,
.layanan-home h2,
.galeri-home h2,
.testimoni-home h2,
.cta h2 {
    text-align: center;
    font-size: 2rem;
    color: #007B7F;
    margin-bottom: 20px;
}

.tentang p {
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #444;
}

.layanan-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.layanan-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    width: 220px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.layanan-card h3 {
    color: #007B7F;
    margin-bottom: 10px;
}

.galeri-desc {
    text-align: center;
    font-size: 1rem;
    color: #555;
    margin-bottom: 30px;
}

.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.galeri-grid img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.galeri-grid img:hover {
    transform: scale(1.05);
}

.testimoni-home blockquote {
    font-style: italic;
    text-align: center;
    color: #333;
    max-width: 600px;
    margin: 0 auto;
    border-left: 4px solid #00A8A3;
    padding-left: 20px;
}

.testimoni-home footer {
    margin-top: 10px;
    font-weight: bold;
}

.cta {
    background-color: #007B7F;
    color: white;
    text-align: center;
    padding: 50px 20px;
}

.cta h2 {
    color: white;
    margin-bottom: 20px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .slider-container {
        height: 60vh;
    }

    .hero-center-text h1 {
        font-size: 1.8rem;
    }

    .hero-center-text p {
        font-size: 1rem;
    }

    .main-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        background: #007B7F;
        padding: 10px 20px;
    }

    .main-nav a {
        margin: 10px 0;
        font-size: 16px;
    }

    .hamburger {
        display: flex;
    }
}

@media (max-width: 480px) {
    .hero-center-text h1 {
        font-size: 1.4rem;
    }

    .hero-center-text p {
        font-size: 0.95rem;
    }

    .btn-wa {
        padding: 10px 18px;
        font-size: 0.95rem;
    }
}