/* ===== Base & Reset ===== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    overflow-x: hidden;
}

/* ===== Navigation ===== */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.0);
    transition: background 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
    padding-top: 0;
    padding-bottom: 0;
}

#navbar.nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 1px 20px rgba(110, 45, 110, 0.08);
    padding-top: 0;
    padding-bottom: 0;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #a855a8;
    transition: width 0.25s ease, left 0.25s ease;
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 60%;
    left: 20%;
}

/* Mobile menu */
.mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.mobile-menu.open {
    max-height: 400px;
}

.mobile-link {
    display: block;
}

.menu-line {
    display: block;
}

#menuBtn.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

#menuBtn.active .menu-line:nth-child(2) {
    opacity: 0;
}

#menuBtn.active .menu-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* ===== Hero Section ===== */
.hero-section {
    position: relative;
    min-height: 92vh;
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #2a0e2a 0%, #4c1e4c 30%, #6e2d6e 60%, #8b3d8b 100%);
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

/* Geometric shapes */
.hero-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
}

.shape-circle-1 {
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 192, 0, 0.12) 0%, transparent 70%);
    top: -15%;
    right: -8%;
}

.shape-circle-2 {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 168, 0.25) 0%, transparent 70%);
    bottom: 5%;
    left: 5%;
}

.shape-circle-3 {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 2px solid rgba(255, 192, 0, 0.2);
    top: 20%;
    left: 10%;
}

.shape-diamond {
    width: 120px;
    height: 120px;
    background: rgba(255, 192, 0, 0.08);
    border: 1px solid rgba(255, 192, 0, 0.15);
    bottom: 25%;
    right: 15%;
    transform: rotate(45deg);
}

.shape-dot-grid {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.12) 1.5px, transparent 1.5px);
    background-size: 16px 16px;
    top: 15%;
    right: 25%;
}

.shape-arc {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 3px solid rgba(255, 192, 0, 0.1);
    border-right-color: transparent;
    border-bottom-color: transparent;
    bottom: 10%;
    right: 5%;
    transform: rotate(-30deg);
}

/* Hero animations */
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(3deg); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(-15px) rotate(48deg); }
}

@keyframes float-fast {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.shape-circle-1 { animation: float-slow 8s ease-in-out infinite; }
.shape-circle-2 { animation: float-medium 6s ease-in-out infinite; }
.shape-diamond { animation: float-medium 7s ease-in-out infinite; }
.shape-circle-3 { animation: float-fast 5s ease-in-out infinite; }
.shape-dot-grid { animation: float-fast 4s ease-in-out infinite; }
.shape-arc { animation: float-slow 9s ease-in-out infinite; }

/* Hero CTAs */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffc000;
    color: #4c1e4c;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 60px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 24px rgba(255, 192, 0, 0.35);
}

.cta-primary:hover {
    background: #ffd257;
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 192, 0, 0.45);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 60px;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.45);
    transform: translateY(-2px);
}

/* Trust items */
.trust-item {
    text-align: center;
}

.trust-item:hover span:first-child {
    transform: scale(1.05);
}

/* ===== Section Labels ===== */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8b3d8b;
    background: #f5e9f7;
    border: 1px solid #ebd0ee;
    padding: 8px 18px;
    border-radius: 50px;
}

.section-label-light {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #ffc000;
    background: rgba(255, 192, 0, 0.1);
    border: 1px solid rgba(255, 192, 0, 0.25);
    padding: 8px 18px;
    border-radius: 50px;
}

/* ===== Services Section ===== */
.section-services {
    position: relative;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: #fff;
    border: 1px solid #f5e9f7;
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #6e2d6e, #a855a8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(110, 45, 110, 0.12);
    border-color: transparent;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.service-card:hover .service-card-icon {
    transform: scale(1.1) rotate(-3deg);
}

/* ===== About Section ===== */
.about-image-wrapper {
    position: relative;
}

.about-image-container {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.3);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 6/7;
    object-fit: cover;
}

.about-floating-card {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.value-point {
    transition: transform 0.25s ease;
}

.value-point:hover {
    transform: translateX(4px);
}

/* ===== Patient Info Section ===== */
.info-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid #ffe69c;
    transition: all 0.3s ease;
    position: relative;
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(204, 146, 0, 0.1);
    border-color: #ffc000;
}

.info-card-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    line-height: 1;
    background: linear-gradient(135deg, #ffe69c, #cc9200);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

/* ===== Contact Section ===== */
.section-contact {
    position: relative;
}

.contact-shape {
    position: absolute;
    pointer-events: none;
}

.shape-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 168, 0.15) 0%, transparent 70%);
    top: -10%;
    left: -5%;
}

.shape-2 {
    width: 260px;
    height: 260px;
    border: 2px solid rgba(255, 192, 0, 0.1);
    border-radius: 50%;
    bottom: 10%;
    right: 5%;
}

.shape-3 {
    width: 100px;
    height: 100px;
    background: rgba(255, 192, 0, 0.06);
    border-radius: 20px;
    top: 20%;
    right: 20%;
    transform: rotate(30deg);
}

.shape-4 {
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 168, 0.12);
    border-radius: 50%;
    bottom: 30%;
    left: 15%;
}

.contact-detail-block {
    display: flex;
    align-items: flex-start;
    gap: 0;
    transition: transform 0.2s ease;
}

.contact-detail-block:hover {
    transform: translateX(4px);
}

/* Form */
.form-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #6e2d6e, #8b3d8b);
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    padding: 16px 32px;
    border-radius: 14px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.form-submit-btn:hover {
    background: linear-gradient(135deg, #8b3d8b, #a855a8);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(110, 45, 110, 0.3);
}

.form-submit-btn svg {
    transition: transform 0.25s ease;
}

.form-submit-btn:hover svg {
    transform: translate(3px, -3px);
}

/* ===== Scroll Reveal ===== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }
.reveal-delay-6 { transition-delay: 0.6s; }

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .hero-section {
        min-height: 85vh;
    }

    .shape-circle-1 {
        width: 280px;
        height: 280px;
    }

    .shape-circle-2 {
        width: 180px;
        height: 180px;
    }

    .shape-diamond {
        width: 70px;
        height: 70px;
    }

    .shape-dot-grid {
        width: 80px;
        height: 80px;
    }

    .shape-arc {
        width: 160px;
        height: 160px;
    }
}

@media (min-width: 768px) {
    .about-image {
        aspect-ratio: auto;
        height: 520px;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}
