:root {
    --color-primary: #FFFFFF;
    --color-secondary: #3B2216;
    --color-gold: #D4AF37;
    --color-gold-hover: #B5952F;
    --color-dark: #1F110B;
    --color-text: #2D1A10;
    --color-text-light: #5A4034;
    --color-bg-light: #FAF8F5;

    --font-main: 'Poppins', sans-serif;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 6px rgba(59, 34, 22, 0.05);
    --shadow-md: 0 10px 20px rgba(59, 34, 22, 0.08);
    --shadow-lg: 0 20px 40px rgba(59, 34, 22, 0.12);

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--color-dark);
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-gold {
    color: var(--color-gold);
}

.text-white {
    color: var(--color-primary);
}

.bg-light {
    background-color: var(--color-bg-light);
}

.bg-dark-brown {
    background-color: var(--color-secondary);
}

.text-center {
    text-align: center;
}

.opacity-90 {
    opacity: 0.9;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-xl {
    margin-top: 3rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--color-gold);
    color: var(--color-primary);
}

.btn-primary:hover {
    background-color: var(--color-gold-hover);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-primary);
}

.btn-outline-small {
    padding: 8px 16px;
    font-size: 0.875rem;
    color: var(--color-secondary);
    border-color: var(--color-gold);
    background-color: transparent;
    border-width: 1px;
}

.btn-outline-small:hover {
    background-color: var(--color-gold);
    color: var(--color-primary);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.btn-massive {
    padding: 20px 48px;
    font-size: 1.25rem;
    border-radius: var(--radius-full);
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Icons */
.icon {
    width: 20px;
    height: 20px;
}

.icon-small {
    width: 16px;
    height: 16px;
}

.icon-large {
    width: 28px;
    height: 28px;
}

.icon-gold {
    color: var(--color-gold);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    padding: 15px 0;
}

.navbar.scrolled {
    padding: 10px 0;
    box-shadow: var(--shadow-sm);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    height: 45px;
    width: auto;
    border-radius: var(--radius-sm);
}

.flex-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text-wrap {
    display: flex;
    flex-direction: column;
}

.logo-text-main {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--color-dark);
}

.logo-text-sub {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--color-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    font-weight: 500;
    color: var(--color-secondary);
    font-size: 0.95rem;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--color-gold);
    transition: var(--transition);
}

.nav-item:hover::after {
    width: 100%;
}

.nav-item:hover {
    color: var(--color-gold);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-secondary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding-top: 120px;
    padding-bottom: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.clinic-image-placeholder img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    display: block;
    background-color: var(--color-bg-light);
    /* Fallback */
}

.floating-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translate(40px, -40px);
}

.badge-text strong {
    display: block;
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.badge-text span {
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Benefits Section */
.benefits {
    padding: 4rem 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(212, 175, 55, 0.4);
}

.benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: rgba(212, 175, 55, 0.1);
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    font-size: 1.25rem;
}

/* Sections Global */
section {
    padding: 6rem 0;
}

.section-header {
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-text {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.doctor-highlight {
    display: flex;
    gap: 1.5rem;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-gold);
}

.highlight-icon {
    color: var(--color-gold);
    background: white;
    padding: 1rem;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.service-icon {
    color: var(--color-gold);
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 40px;
    height: 40px;
}

.service-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-desc {
    flex-grow: 1;
    margin-bottom: 2rem;
}

/* Doctors Section */
.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}

.doctor-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: var(--transition);
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.doctor-img-wrapper {
    height: 350px;
    background-color: var(--color-bg-light);
    overflow: hidden;
}

.doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: var(--transition);
}

.doctor-card:hover .doctor-img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 2rem;
}

.doctor-name {
    font-size: 1.5rem;
    color: var(--color-secondary);
}

.doctor-role {
    color: var(--color-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 1;
    box-shadow: var(--shadow-sm);
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 34, 22, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-overlay svg {
    color: white;
    width: 32px;
    height: 32px;
    transform: scale(0.5);
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay svg {
    transform: scale(1);
}

/* Reviews Section */
.rating-badge-large {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-full);
    border: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 1rem;
}

.stars {
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.star-filled {
    fill: currentColor;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background-color: var(--color-gold);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: bold;
    font-size: 1.2rem;
}

.stars-small {
    color: var(--color-gold);
    display: flex;
    gap: 2px;
}

.stars-small svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.review-text {
    font-style: italic;
    color: var(--color-text);
}

/* Booking Section */
.booking {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.booking::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
}

.booking-container {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.booking-desc {
    font-size: 1.25rem;
    margin: 2rem auto 3rem;
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-subtitle {
    font-size: 1.125rem;
    margin-bottom: 3rem;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
}

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: var(--color-bg-light);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

.contact-item h5 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.contact-link,
.link-gold {
    color: var(--color-gold);
    font-weight: 500;
}

.contact-link:hover,
.link-gold:hover {
    text-decoration: underline;
}

.map-placeholder {
    height: 100%;
    min-height: 400px;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Footer */
.footer {
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    height: 60px;
    border-radius: var(--radius-sm);
}

.footer-logo-wrapper {
    margin-bottom: 1.5rem;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-links a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.7);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links 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: white;
}

.social-links a:hover {
    background-color: var(--color-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1);
}

.wa-icon {
    width: 32px;
    height: 32px;
}

/* Responsive */
@media (max-width: 992px) {

    .hero-container,
    .about-container,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
        text-align: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .floating-badge {
        left: 50%;
        transform: translateX(-50%) translateY(50%);
        bottom: 0;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-md);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }

    .nav-links.active {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
        opacity: 1;
        pointer-events: all;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-btn {
        width: 100%;
        margin-top: 1rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .btn-massive {
        width: 100%;
        padding: 16px 24px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-large {
        width: 100%;
    }
}