/*
Theme Name: Heffan Khitan
Description: Theme untuk website layanan khitan profesional
Version: 1.0
Author: Your Name
Text Domain: heffan-khitan
*/

/* ===== RESET CSS ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none !important;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* ===== HEADER STYLES ===== */
.site-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
}

.site-logo {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1002;
}

.site-logo:hover {
    color: #ffa500;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* ===== NAVIGATION SYSTEM ===== */
/* Mobile Menu Toggle - Hidden by Default */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 9999;
}

.menu-toggle:hover {
    color: #ffa500;
}

.mobile-menu-close {
    display: none;
}

.mobile-menu-overlay {
    display: none;
}

/* Desktop Navigation */
.main-navigation {
    position: static;
    width: auto;
    height: auto;
    background: none;
    padding: 0;
    box-shadow: none;
}

.nav-menu {
    display: flex;
    flex-direction: row;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation li {
    position: relative;
    border-bottom: none;
    width: auto;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: block;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: #ffa500;
}

/* Submenu Styles - Desktop */
.nav-menu .menu-item-has-children {
    position: relative !important;
}

.nav-menu .sub-menu {
    display: none !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: #ffffff !important;
    border-radius: 0 0 15px 15px !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3) !important;
    min-width: 200px !important;
    z-index: 1001 !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Show Submenu on Hover (Desktop) */
@media (min-width: 769px) {
    .nav-menu .menu-item-has-children:hover .sub-menu,
    .nav-menu .menu-item-has-children.active .sub-menu {
        display: block !important;
    }
}

/* Submenu Items */
.nav-menu .sub-menu li {
    width: 100% !important;
    border-bottom: 1px solid #e0e0e0 !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-menu .sub-menu li:last-child {
    border-bottom: none !important;
}

.nav-menu .sub-menu a {
    padding: 1rem 1.5rem !important;
    color: #1e3c72 !important;
    text-align: left !important;
    border-radius: 0 !important;
    font-size: 0.95rem !important;
    transition: all 0.3s ease !important;
    display: block !important;
    text-decoration: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.nav-menu .sub-menu a:hover {
    background: #f0f0f0 !important;
    color: #2a5298 !important;
}

/* Daftar Online Button - Desktop */
.menu-item-daftar {
    margin-left: 1rem;
}

.daftar-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: #FFAB0D;
    color: white !important;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 171, 13, 0.3);
}

.daftar-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 171, 13, 0.4);
    background: #e69500;
}

/* ===== MOBILE NAVIGATION ===== */
@media (max-width: 768px) {
    /* Show mobile menu toggle */
    .menu-toggle {
        display: block !important;
    }
    
    /* Transform navigation to mobile sliding menu */
    .main-navigation {
        position: fixed !important;
        top: 0 !important;
        right: -100% !important;
        width: 300px !important;
        height: 100vh !important;
        background: #1e3c72 !important;
        padding: 2rem 0 0 !important;
        transition: right 0.3s ease !important;
        z-index: 9998 !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3) !important;
        overflow-y: auto !important;
    }

    .main-navigation.active {
        right: 0 !important;
    }

    /* Mobile menu close button */
    .mobile-menu-close {
        display: block !important;
        position: absolute !important;
        top: 1rem !important;
        right: 1rem !important;
        background: none !important;
        border: none !important;
        color: white !important;
        font-size: 1.5rem !important;
        cursor: pointer !important;
        padding: 0.5rem !important;
        z-index: 9999 !important;
    }

    .mobile-menu-close:hover {
        color: #ffa500 !important;
    }

    /* Mobile menu container */
    .main-navigation ul,
    .main-navigation .nav-menu {
        display: block !important;
        list-style: none !important;
        padding: 4rem 0 6rem 0 !important;
        margin: 0 !important;
        width: 100% !important;
        min-height: 100vh !important;
        position: relative !important;
    }

    /* Regular menu items - EXCLUDE daftar button */
    .main-navigation li:not(.menu-item-daftar) {
        position: static !important;
        width: 100% !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        margin: 0 !important;
        display: block !important;
    }

    .main-navigation li:not(.menu-item-daftar) a {
        display: block !important;
        padding: 1.2rem 2rem !important;
        color: white !important;
        text-decoration: none !important;
        font-weight: 500 !important;
        transition: all 0.3s ease !important;
        border-radius: 0 !important;
        font-size: 1.1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .main-navigation li:not(.menu-item-daftar) a:hover {
        background: rgba(255, 165, 0, 0.2) !important;
        color: #ffa500 !important;
        padding-left: 2.5rem !important;
    }

    /* Mobile submenu functionality */
    .nav-menu .menu-item-has-children.active .sub-menu {
        display: block !important;
        position: static !important;
        background: #1e3c72 !important;
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.1) !important;
        border-radius: 0 !important;
        padding: 0.5rem 0 0 2rem !important;
        margin: 0 !important;
        list-style: none !important;
        max-height: 200px !important;
        overflow-y: auto !important;
    }

    .nav-menu .sub-menu a {
        padding: 0.8rem 2.5rem !important;
        font-size: 1rem !important;
        color: white !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
        display: block !important;
    }

    .nav-menu .sub-menu a:hover {
        background: rgba(255, 165, 0, 0.2) !important;
        color: #ffa500 !important;
    }

    /* Parent menu item with dropdown indicator */
    .nav-menu .menu-item-has-children > a::after {
        content: ' ▼' !important;
        font-size: 0.8rem !important;
        transition: transform 0.3s ease !important;
        float: right !important;
    }
    
    .nav-menu .menu-item-has-children.active > a::after {
        transform: rotate(180deg) !important;
    }

    /* DAFTAR ONLINE BUTTON - MOBILE FIXED POSITION */
    .menu-item-daftar {
        position: absolute !important;
        /*bottom: 4rem !important;*/
        left: 1rem !important;
        right: 1rem !important;
        width: auto !important;
        margin: 0 !important;
        border-bottom: none !important;
    }

    .daftar-button {
        width: 100% !important;
        text-align: center !important;
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
        border-radius: 25px !important;
        background: #FFAB0D !important;
        color: white !important;
        text-decoration: none !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .daftar-button:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 15px rgba(255, 171, 13, 0.4) !important;
        background: #e69500 !important;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 9997 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.3s ease !important;
    }

    .mobile-menu-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Clean up any unwanted borders/outlines */
    .main-navigation,
    .main-navigation ul,
    .main-navigation li,
    .main-navigation a,
    .nav-menu .sub-menu,
    .nav-menu .sub-menu li,
    .nav-menu .sub-menu a,
    .mobile-menu-close {
        border: none !important;
        outline: none !important;
    }
    
    /* Restore necessary shadows */
    .main-navigation {
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    .nav-menu .sub-menu {
        box-shadow: inset 0 2px 10px rgba(0,0,0,0.1) !important;
    }
}

/* Extra Small Screens */
@media (max-width: 480px) {
    .main-navigation {
        width: 280px !important;
    }

    .menu-item-daftar {
        /*bottom: 3rem !important;*/
        left: 0.8rem !important;
        right: 0.8rem !important;
    }

    .daftar-button {
        padding: 0.9rem 1.2rem !important;
        font-size: 0.95rem !important;
    }

    .main-navigation li:not(.menu-item-daftar) a {
        padding: 1rem 1.5rem !important;
        font-size: 1rem !important;
    }

    .main-navigation li:not(.menu-item-daftar) a:hover {
        padding-left: 2rem !important;
    }
}

/* ===== HERO SECTION ===== */
.hero-section {
    margin-top: 100px;
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.hero-section.has-background {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 20px;
    background: #1e3c72;
    z-index: 1;
}

.hero-content {
    max-width: 1200px;
    margin: 10px auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 500px;
}

.hero-character {
    text-align: center;
    position: relative;
    border-radius: 50%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    width: 400px;
    height: 400px;
    margin: 0 auto;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.character-mascot {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    animation: float 3s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.hero-text {
    color: white;
    text-align: left;
    padding-left: 2rem;
}

.hero-text h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: #fff;
    color: #1e3c72;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(107, 147, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(107, 171, 255, 0.4);
    background: rgb(82, 151, 255);
}

/* ===== SERVICES SECTION ===== */
.services-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1e3c72;
    margin-bottom: 3rem;
    font-weight: 700;
}

.services-grid-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.service-card {
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    color: white;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.service-card.green {
    background: linear-gradient(135deg, #22C898, #44a08d);
}

.service-card.orange {
    background: linear-gradient(135deg, #FFAB0D, #ff6b6b);
}

.service-card.blue {
    background: linear-gradient(135deg, #065A7F, #2a5298);
}

.service-card.red {
    background: linear-gradient(135deg, #FF6300, #ff5252);
}

.service-card .service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

/* ===== SERVICES TYPES SECTION ===== */
.services-types {
    padding: 5rem 2rem;
    background: white;
}

.services-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-type-card {
    padding: 3rem 2rem;
    border-radius: 20px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.service-type-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transform: translate(30px, -30px);
}

.service-type-card.blue {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
}

.service-type-card.orange {
    background: linear-gradient(135deg, #FF6300, #ff8c42);
}

.service-mascot {
    margin-bottom: 1.5rem;
}

.service-mascot img {
    width: 120px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.2));
}

.service-type-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.service-type-card p {
    opacity: 0.9;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===== LOCATION SECTION ===== */
.location-section {
    padding: 5rem 2rem;
    margin: 20px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    border-radius: 30px;
}

.location-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.location-info {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.location-mascot img {
    width: 220px;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.3));
}

.location-text h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: white;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.location-item {
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    font-weight: 500;
}

.location-map {
    position: relative;
}

.map-container {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    width: 100%;
    height: 300px;
}

.map-image {
    width: 100%;
    height: 100%;
    display: block;
    border: none;
    border-radius: 15px;
}

.map-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-marker {
    position: absolute;
    width: 20px;
    height: 20px;
    background: #ff6b6b;
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.map-marker.marker-1 {
    top: 40%;
    left: 45%;
}

.map-marker.marker-2 {
    top: 60%;
    left: 55%;
}

/* ===== STEPS SECTION ===== */
.steps-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.steps-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 4rem;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.doctor-section {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.doctor-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    text-align: center;
}

.doctor-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 5px solid #f0f0f0;
}

.doctor-details h3 {
    font-size: 1.3rem;
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.doctor-details p {
    color: #666;
    font-size: 0.95rem;
}

.consultation-btn {
    display: block;
    padding: 1rem;
    background: linear-gradient(135deg, #ff6b6b, #ff8c42);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.step-card {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 2rem 1.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.step-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover::before {
    opacity: 1;
}

.step-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: rgba(255, 165, 0, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #ffa500;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-card p {
    opacity: 0.9;
    line-height: 1.4;
    font-size: 0.85rem;
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    padding: 5rem 2rem;
    background: white;
    overflow: hidden;
}

.testimonials-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.1s linear;
    width: max-content;
}

.testimonial-slide {
    flex-shrink: 0;
    width: 400px;
}

/* PERBAIKAN UTAMA - Testimonial Card */
.testimonials-section .testimonial-card,
.testimonial-card {
    background: #fff !important;
    border-radius: 25px !important;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15) !important;
    height: 500px !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    border: 1px solid #e0e0e0 !important;
}

.testimonials-section .testimonial-card:hover,
.testimonial-card:hover {
    transform: translateY(-10px) !important;
    box-shadow: 0 25px 60px rgba(0,0,0,0.2) !important;
}

/* PERBAIKAN - Container Gambar */
.testimonials-section .testimonial-mascot,
.testimonial-mascot {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 120px !important; /* Berikan ruang untuk content di bawah */
    width: 100% !important;
    height: calc(100% - 120px) !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 1 !important;
    display: block !important;
    overflow: hidden !important;
    border-radius: 25px 25px 0 0 !important;
}

/* PERBAIKAN UTAMA - Gambar Testimonial */
.testimonials-section .testimonial-mascot img,
.testimonial-mascot img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    min-width: 100% !important;
    min-height: 100% !important;
    object-fit: cover !important; /* Pertahankan aspek rasio */
    object-position: center !important;
    border-radius: 25px 25px 0 0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    transition: transform 0.3s ease !important;
    vertical-align: initial !important;
    box-sizing: border-box !important;
    /* PERBAIKAN: Hapus filter yang bisa merusak kualitas */
    filter: none !important;
    image-rendering: auto !important;
    image-rendering: -webkit-optimize-contrast !important;
    image-rendering: crisp-edges !important;
}

.testimonials-section .testimonial-card:hover .testimonial-mascot img,
.testimonial-card:hover .testimonial-mascot img {
    transform: scale(1.02) !important; /* Kurangi scale untuk menghindari blur */
}

/* TAMBAHAN - Content Area */
.testimonials-section .testimonial-content,
.testimonial-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 120px !important;
    background: #fff !important;
    padding: 1.5rem !important;
    z-index: 2 !important;
    border-radius: 0 0 25px 25px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    border-top: 1px solid #f0f0f0 !important;
}

.testimonials-section .testimonial-content h3,
.testimonial-content h3 {
    font-size: 1.1rem !important;
    margin: 0 0 0.5rem 0 !important;
    font-weight: 600 !important;
    color: #1e3c72 !important;
    line-height: 1.3 !important;
}

.testimonials-section .testimonial-content p,
.testimonial-content p {
    font-size: 0.85rem !important;
    margin: 0 !important;
    color: #666 !important;
    line-height: 1.4 !important;
    opacity: 0.9 !important;
}

/* Hapus overlay yang tidak perlu */
.testimonials-section .testimonial-card::after,
.testimonial-card::after {
    display: none !important;
}

/* ===== RESPONSIVE UNTUK TESTIMONIALS ===== */
@media (max-width: 768px) {
    .testimonial-slide {
        width: 350px !important;
    }
    
    .testimonials-section .testimonial-card,
    .testimonial-card {
        height: 450px !important;
    }
    
    .testimonials-section .testimonial-mascot,
    .testimonial-mascot {
        bottom: 100px !important;
        height: calc(100% - 100px) !important;
    }
    
    .testimonials-section .testimonial-content,
    .testimonial-content {
        height: 100px !important;
        padding: 1.2rem !important;
    }
    
    .testimonials-section .testimonial-content h3,
    .testimonial-content h3 {
        font-size: 1rem !important;
        margin-bottom: 0.3rem !important;
    }
    
    .testimonials-section .testimonial-content p,
    .testimonial-content p {
        font-size: 0.8rem !important;
    }
}

@media (max-width: 480px) {
    .testimonial-slide {
        width: 300px !important;
    }
    
    .testimonials-section .testimonial-card,
    .testimonial-card {
        height: 400px !important;
    }
    
    .testimonials-section .testimonial-mascot,
    .testimonial-mascot {
        bottom: 90px !important;
        height: calc(100% - 90px) !important;
    }
    
    .testimonials-section .testimonial-content,
    .testimonial-content {
        height: 90px !important;
        padding: 1rem !important;
    }
    
    .testimonials-section .testimonial-content h3,
    .testimonial-content h3 {
        font-size: 0.95rem !important;
    }
    
    .testimonials-section .testimonial-content p,
    .testimonial-content p {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 360px) {
    .testimonial-slide {
        width: 280px !important;
    }
    
    .testimonials-section .testimonial-card,
    .testimonial-card {
        height: 380px !important;
    }
}

/* ===== BLOG SECTION ===== */
.blog-section {
    padding: 5rem 2rem;
    background: #f8f9fa;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto 3rem;
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.blog-card.blue {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card.orange {
    background: linear-gradient(135deg, #ff8c42, #ff6b6b);
    color: white;
    min-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-thumbnail {
    height: 200px;
    overflow: hidden;
}

.blog-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail img {
    transform: scale(1.05);
}

.blog-content {
    padding: 2rem;
    text-align: center;
}

.blog-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-content h3 a {
    color: inherit;
    text-decoration: none;
}

.blog-content h3 a:hover {
    color: #ffa500;
}

.blog-content p {
    color: inherit;
    opacity: 0.9;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.blog-meta {
    font-size: 0.85rem;
    opacity: 0.8;
    font-weight: 500;
}

.blog-cta {
    text-align: center;
}

.btn-more {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(30, 60, 114, 0.3);
}

/* ===== CONSULTATION SECTION ===== */
.consultation-section {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
    color: white;
    text-align: center;
}

.consultation-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.consultation-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 3rem;
    background: #25d366;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.4);
    background: #128c7e;
}

.whatsapp-btn i {
    font-size: 1.3rem;
}

/* ===== FOOTER ===== */
.site-footer {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: white;
    padding: 1rem 1rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.footer-logo-img {
    max-width: 120px;
    height: 50px;
}

.footer-logo:not(:has(img)) {
    font-size: 2rem;
    font-weight: 600;
    color: #ffa500;
    margin-bottom: 1rem;
}

.follow-text {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.15);
    color: white;
    border-radius: 8px;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
}

.social-link:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.whatsapp:hover {
    background: #25d366;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.footer-navigation {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-navigation a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
}

.footer-navigation a:hover {
    color: #ffa500;
}

.footer-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffa500;
    transition: width 0.3s ease;
}

.footer-navigation a:hover::after {
    width: 100%;
}

/* ===== UTILITY CLASSES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.mb-3 {
    margin-bottom: 3rem;
}

.hidden {
    display: none;
}

/* ===== WORDPRESS SPECIFIC ===== */
.wp-post-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.post-thumbnail {
    margin: 2rem 0;
}

.post-meta {
    margin: 1rem 0;
    color: #666;
    font-size: 0.9rem;
}

.post-content {
    line-height: 1.8;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content h2,
.post-content h3 {
    margin: 2rem 0 1rem;
    color: #1e3c72;
}

.post-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
}

.post-navigation a {
    color: #1e3c72;
    text-decoration: none;
    font-weight: 600;
}

.post-navigation a:hover {
    color: #ffa500;
}

/* ===== BLOG PAGE STYLES ===== */
.blog-page {
    background: #f8fafc;
    min-height: 100vh;
    padding: 0;
}

.blog-hero {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.page-title {
    font-weight: 800;
    line-height: 1.2;
}

.page-subtitle {
    line-height: 1.6;
    opacity: 0.9;
}

.blog-content {
    max-width: 1280px;
}

.blog-category-badge {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-meta i {
    font-size: 0.9rem;
}

.blog-title a {
    transition: color 0.2s ease;
}

.read-more-btn {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.read-more-btn:hover {
    transform: translateY(-2px);
}

.blog-sidebar {
    transition: all 0.3s ease;
}

.categories-list a {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.popular-post-item:hover .popular-post-content a {
    color: #1e3c72;
}

.blog-pagination .page-numbers {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.single-post-page {
    background: #f8fafc;
    min-height: 100vh;
    padding: 2rem 0;
}

.single-post {
    max-width: 900px;
}

.breadcrumb {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.post-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
}

.category-badge {
    transition: background 0.2s ease;
}

.share-btn {
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.share-btn:hover {
    transform: translateY(-2px);
}

.post-content {
    font-family: 'Georgia', serif;
}

.post-content h2 {
    font-size: 1.8rem;
    margin-top: 2.5rem;
}

.post-content h3 {
    font-size: 1.5rem;
}

.post-content p {
    margin-bottom: 1.2rem;
}

.post-tags a {
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.author-bio {
    border-radius: 0 0 15px 15px;
}

.nav-link {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.nav-link:hover {
    transform: translateY(-3px);
}

.related-post-item {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.related-post-item:hover {
    transform: translateY(-3px);
}

/* ===== RESPONSIVE DESIGN ===== */
/* Tablet Landscape (1024px and below) */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-character {
        order: 1;
        width: 350px;
        height: 350px;
    }
    
    .hero-text {
        order: 2;
        text-align: center;
        padding-left: 0;
    }
    
    .character-mascot {
        max-width: 250px;
    }
    
    .services-grid-3 {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .location-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .location-info {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .location-mascot img {
        width: 200px;
    }
    
    .location-text {
        text-align: center;
    }
    
    .location-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }
    
    .map-container {
        height: 280px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .steps-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .doctor-section {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .blog-content {
        grid-template-columns: 1fr;
    }
    
    .blog-sidebar {
        order: 0;
        position: static !important;
    }
}

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .site-logo {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 4rem 1rem 3rem;
        min-height: 500px;
    }
    
    .hero-content {
        gap: 2rem;
        min-height: 400px;
    }
    
    .hero-character {
        width: 300px;
        height: 300px;
        padding: 1.5rem;
    }
    
    .character-mascot {
        max-width: 200px;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .hero-text p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .services-grid-4 {
        grid-template-columns: 1fr;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-slide {
        width: 350px !important;
    }
    
    .testimonials-section .testimonial-card,
    .testimonial-card {
        height: 400px !important;
    }
    
    .location-section {
        padding: 3rem 1.5rem;
        margin: 10px;
        border-radius: 20px;
    }
    
    .location-content {
        gap: 2.5rem;
    }
    
    .location-info {
        gap: 1.5rem;
    }
    
    .location-mascot img {
        width: 180px;
    }
    
    .location-text h2 {
        font-size: 1.6rem;
        margin-bottom: 1.2rem;
    }
    
    .location-details {
        gap: 0.8rem;
    }
    
    .location-item {
        padding: 0.8rem;
        font-size: 0.95rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        border: 1px solid rgba(255,255,255,0.2);
        transition: all 0.3s ease;
    }
    
    .location-item:hover {
        background: rgba(255,255,255,0.15);
        transform: translateY(-2px);
    }
    
    .map-container {
        height: 250px;
        border-radius: 12px;
    }
    
    .map-image {
        border-radius: 12px;
    }
    
    .location-text h2 {
        text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    }
    
    .location-item span {
        text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
        line-height: 1.4;
    }
    
    .site-footer {
        padding: 2rem 1rem 1.5rem;
    }
    
    .footer-content {
        gap: 1rem;
    }
    
    .footer-logo-img {
        max-width: 100px;
    }
    
    .social-links {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
    }
    
    .footer-navigation {
        gap: 1.5rem;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-navigation a {
        font-size: 0.9rem;
    }
    
    .post-meta {
        grid-template-columns: 1fr;
    }
    
    .meta-right {
        text-align: left;
    }
    
    .post-navigation {
        grid-template-columns: 1fr;
    }
    
    .related-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Large (480px and below) */
@media (max-width: 480px) {
    .navbar {
        padding: 0 1rem;
    }
    
    .site-logo {
        font-size: 1.5rem;
    }
    
    .hero-section {
        padding: 3rem 1rem 2rem;
        min-height: 450px;
    }
    
    .hero-character {
        width: 250px;
        height: 250px;
        padding: 1rem;
    }
    
    .character-mascot {
        max-width: 180px;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .services-section,
    .steps-section,
    .blog-section,
    .testimonials-section {
        padding: 3rem 1rem;
    }
    
    .testimonial-slide {
        width: 280px !important;
    }
    
    .testimonials-section .testimonial-card,
    .testimonial-card {
        height: 350px !important;
    }
    
    .location-section {
        padding: 2.5rem 1rem;
        margin: 5px;
        border-radius: 15px;
    }
    
    .location-content {
        gap: 2rem;
    }
    
    .location-info {
        gap: 1.2rem;
    }
    
    .location-mascot img {
        width: 150px;
    }
    
    .location-text h2 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .location-details {
        gap: 0.6rem;
    }
    
    .location-item {
        padding: 0.7rem;
        font-size: 0.9rem;
        text-align: center;
    }
    
    .map-container {
        height: 220px;
        border-radius: 10px;
    }
    
    .map-image {
        border-radius: 10px;
    }
    
    .map-marker {
        width: 16px;
        height: 16px;
        border: 2px solid white;
    }
    
    .blog-content {
        padding: 1.5rem;
    }
    
    .step-card {
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .consultation-section h2 {
        font-size: 2rem;
    }
    
    .doctor-card {
        padding: 1.5rem;
    }
    
    .doctor-image {
        width: 120px;
        height: 120px;
    }
    
    .footer-navigation {
        gap: 1rem;
    }
    
    .social-links {
        gap: 0.6rem;
    }
    
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }
    
    .single-post {
        margin: 0 1rem;
    }
    
    .post-title {
        font-size: 2rem;
    }
    
    .blog-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Mobile Small (360px and below) */
@media (max-width: 360px) {
    .location-section {
        padding: 2rem 0.8rem;
        margin: 3px;
        border-radius: 12px;
    }
    
    .location-content {
        gap: 1.5rem;
    }
    
    .location-mascot img {
        width: 130px;
    }
    
    .location-text h2 {
        font-size: 1.2rem;
    }
    
    .location-item {
        padding: 0.6rem;
        font-size: 0.85rem;
    }
    
    .map-container {
        height: 200px;
        border-radius: 8px;
    }
    
    .map-image {
        border-radius: 8px;
    }
}