/* ============================================
   MODERN LANDING PAGE CSS - ePasien
   Desain: Biru lembut + Teal + White Space
   ============================================ */

:root {
    --primary-blue: #4A90E2;
    --primary-teal: #17A2B8;
    --light-blue: #E8F4F8;
    --dark-blue: #2C5282;
    --soft-gray: #F7FAFC;
    --text-dark: #2D3748;
    --text-gray: #718096;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07);
    --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
    --radius: 12px;
    --radius-sm: 8px;
}

/* ============================================
   GLOBAL STYLES
   ============================================ */

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--white);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   NAVBAR STICKY
   ============================================ */

.navbar-modern {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    padding: 1rem 0;
}

.navbar-modern.scrolled {
    box-shadow: var(--shadow-md);
    padding: 0.75rem 0;
}

.navbar-brand-modern {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue) !important;
    text-decoration: none;
}

.navbar-brand-modern:hover {
    color: var(--dark-blue) !important;
}

.nav-link-modern {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link-modern:hover {
    color: var(--primary-blue) !important;
}

.nav-link-modern::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-blue);
    transition: width 0.3s ease;
}

.nav-link-modern:hover::after {
    width: 80%;
}

/* Override untuk navbar default Bootstrap */
.navbar-modern .navbar-nav > li > a {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-modern .navbar-nav > li > a:hover,
.navbar-modern .navbar-nav > li > a:focus {
    color: var(--primary-blue) !important;
    background: transparent !important;
}

.navbar-modern .navbar-nav > li.appointment-btn > a {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal)) !important;
    color: var(--white) !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.navbar-modern .navbar-nav > li.appointment-btn > a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white) !important;
}

.btn-cta-nav {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: var(--white) !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-cta-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: var(--white) !important;
}

/* ============================================
   HERO SLIDER SECTION
   ============================================ */

.hero-slider-section {
    padding: 3rem 0 2rem;
    background: linear-gradient(135deg, var(--light-blue) 0%, var(--white) 100%);
}

.hero-slider-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    position: relative;
}

.hero-slider-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(23, 162, 184, 0.05) 100%);
    pointer-events: none;
    z-index: 1;
}

.hero-slider-carousel {
    position: relative;
    z-index: 2;
}

.hero-slider-carousel .item {
    border-radius: calc(var(--radius) - 8px);
    overflow: hidden;
    height: 400px;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: calc(var(--radius) - 8px);
    transition: transform 0.5s ease;
}

.hero-slider-carousel .item:hover .slider-image {
    transform: scale(1.05);
}

/* Owl Carousel Navigation untuk Hero Slider */
.hero-slider-carousel .owl-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 3;
    pointer-events: none;
    margin: 0;
}

.hero-slider-carousel .owl-nav button {
    position: absolute;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 2px solid rgba(74, 144, 226, 0.3) !important;
    border-radius: 50%;
    color: var(--primary-blue) !important;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: var(--shadow-md);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slider-carousel .owl-nav button:hover {
    background: var(--primary-blue) !important;
    border-color: var(--primary-blue) !important;
    color: var(--white) !important;
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

.hero-slider-carousel .owl-nav .owl-prev {
    left: 20px;
}

.hero-slider-carousel .owl-nav .owl-next {
    right: 20px;
}

.hero-slider-carousel .owl-nav button:focus {
    outline: none;
}

/* Owl Carousel Dots untuk Hero Slider */
.hero-slider-carousel .owl-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 10px;
    margin: 0;
}

.hero-slider-carousel .owl-dots .owl-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 0 5px;
    padding: 0;
}

.hero-slider-carousel .owl-dots .owl-dot span {
    display: none;
}

.hero-slider-carousel .owl-dots .owl-dot.active,
.hero-slider-carousel .owl-dots .owl-dot:hover {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    transform: scale(1.3);
}

/* ============================================
   HERO CONTENT SECTION
   ============================================ */

.hero-content-section {
    background: var(--white);
    padding: 3rem 0 4rem;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.125rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary-modern {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: inline-block;
    text-decoration: none;
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-secondary-modern {
    background: var(--white);
    color: var(--primary-blue);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 2px solid var(--primary-blue);
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    margin-left: 1rem;
}

.btn-secondary-modern:hover {
    background: var(--primary-blue);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(10px);
}

.hero-card h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.badge-integration {
    display: inline-block;
    background: var(--light-blue);
    color: var(--primary-blue);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 1rem;
}

/* ============================================
   TRUST / STATISTICS SECTION
   ============================================ */

.stats-section {
    background: var(--white);
    padding: 4rem 0;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1rem;
    font-weight: 500;
}

/* ============================================
   LAYANAN UNGGULAN SECTION
   ============================================ */

.layanan-section {
    background: var(--soft-gray);
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-gray);
    font-size: 1.125rem;
}

.layanan-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #E2E8F0;
}

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

.layanan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--light-blue), rgba(74, 144, 226, 0.1));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-blue);
    font-size: 2rem;
}

.layanan-card h4 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.layanan-card p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* ============================================
   DOKTER SECTION
   ============================================ */

.dokter-section {
    background: var(--white);
    padding: 5rem 0;
}

.dokter-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.dokter-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.dokter-photo {
    width: 100%;
    height: 250px;
    object-fit: cover;
    background: var(--light-blue);
}

.dokter-info {
    padding: 1.5rem;
}

.dokter-info h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

.dokter-info p {
    color: var(--text-gray);
    font-size: 0.9375rem;
    margin-bottom: 0.5rem;
}

.dokter-sip {
    color: var(--primary-blue);
    font-size: 0.875rem;
    font-weight: 500;
}

/* ============================================
   FASILITAS SECTION
   ============================================ */

.fasilitas-section {
    background: var(--soft-gray);
    padding: 5rem 0;
}

.fasilitas-list {
    list-style: none;
    padding: 0;
}

.fasilitas-list li {
    padding: 1rem 0;
    color: var(--text-gray);
    font-size: 1rem;
    border-bottom: 1px solid #E2E8F0;
    position: relative;
    padding-left: 2rem;
}

.fasilitas-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-teal);
    font-weight: 700;
    font-size: 1.25rem;
}

.fasilitas-card {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    border-radius: var(--radius);
    padding: 3rem;
    color: var(--white);
    text-align: center;
    box-shadow: var(--shadow-lg);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fasilitas-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.fasilitas-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

/* ============================================
   TESTIMONI SECTION
   ============================================ */

.testimoni-section {
    background: var(--white);
    padding: 5rem 0;
}

.testimoni-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #E2E8F0;
    height: 100%;
    transition: all 0.3s ease;
}

.testimoni-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimoni-quote {
    color: var(--text-gray);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.testimoni-author {
    display: flex;
    align-items: center;
}

.testimoni-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: 700;
    margin-right: 1rem;
}

.testimoni-name {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimoni-role {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    padding: 5rem 0;
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta-white {
    background: var(--white);
    color: var(--primary-blue);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-white:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-blue);
}

.btn-cta-outline {
    background: transparent;
    color: var(--white);
    padding: 0.875rem 2rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: 2px solid var(--white);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-cta-outline:hover {
    background: var(--white);
    color: var(--primary-blue);
}

.cta-phone {
    margin-top: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* ============================================
   FOOTER
   ============================================ */

.footer-modern {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-modern h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.footer-modern p,
.footer-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-modern a:hover {
    color: var(--white);
}

.footer-link-list {
    list-style: none;
    padding: 0;
}

.footer-link-list li {
    margin-bottom: 0.75rem;
}

.footer-link-list a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.footer-link-list a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary-blue);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

/* ============================================
   FORM STYLES (Preserve existing functionality)
   ============================================ */

.form-control-modern {
    background: var(--white);
    border: 1px solid #E2E8F0;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-label-modern {
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 768px) {
    .hero-slider-section {
        padding: 2rem 0 1.5rem;
    }
    
    .hero-slider-card {
        padding: 1rem;
    }
    
    .hero-slider-carousel .item {
        height: 300px;
    }
    
    .hero-slider-carousel .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 1.125rem;
    }
    
    .hero-slider-carousel .owl-nav .owl-prev {
        left: 10px;
    }
    
    .hero-slider-carousel .owl-nav .owl-next {
        right: 10px;
    }
    
    .hero-content-section {
        padding: 2rem 0 3rem;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-secondary-modern {
        margin-left: 0;
        margin-top: 0;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .navbar-modern {
        padding: 0.5rem 0;
    }
}

@media (max-width: 576px) {
    .hero-slider-section {
        padding: 1.5rem 0 1rem;
    }
    
    .hero-slider-card {
        padding: 0.75rem;
    }
    
    .hero-slider-carousel .item {
        height: 250px;
    }
    
    .hero-slider-carousel .owl-nav button {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .hero-slider-carousel .owl-nav .owl-prev {
        left: 5px;
    }
    
    .hero-slider-carousel .owl-nav .owl-next {
        right: 5px;
    }
    
    .hero-slider-carousel .owl-dots {
        bottom: 15px;
    }
    
    .hero-slider-carousel .owl-dots .owl-dot {
        width: 10px;
        height: 10px;
    }
    
    .hero-content-section {
        padding: 1.5rem 0 2rem;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 0.9375rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-primary-modern,
    .btn-secondary-modern {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .layanan-section,
    .dokter-section,
    .fasilitas-section,
    .testimoni-section {
        padding: 3rem 0;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

