/* ==========================================================================
   GM DERMATOLOGY CLINIC - PARK CLINICS EXACT DESIGN SYSTEM
   ========================================================================== */

:root {
    --color-primary: #2A6F6D;
    --color-primary-dark: #194847;
    --color-primary-light: #4A8F8D;
    --color-secondary: #0ea5e9;
    --color-accent: #01b6af;
    --color-teal-light: #e0f2f1;
    --color-dark: #0f172a;
    --color-indigo: #192b38;
    --color-slate: #334155;
    --color-muted: #64748b;
    --color-light: #fafbfc;
    --color-white: #ffffff;
    --color-gold: #d97706;
    --color-cream: #fdfbf7;
    
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'DM Sans', 'Inter', -apple-system, sans-serif;
    
    --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 50px rgba(42, 111, 109, 0.12);
    --shadow-glow: 0 0 25px rgba(42, 111, 109, 0.2);
    
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-slate);
    background-color: #fafbfc;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--color-dark);
    font-weight: 800;
    line-height: 1.25;
}

.serif-font {
    font-family: var(--font-heading);
}

.text-gradient {
    background: linear-gradient(135deg, var(--color-primary) 0%, #0284c7 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-primary);
    border: 1.5px solid rgba(42, 111, 109, 0.25);
    padding: 0.45rem 1.15rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4.5rem auto;
}

/* Navigation (Park Clinics exact style) */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    padding: 0.85rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
}

.brand-logo {
    height: 46px;
    width: auto;
    object-fit: contain;
    border-radius: 8px;
}

.brand-text-box h3 {
    font-size: 1.25rem;
    font-weight: 850;
    color: #0f172a;
    line-height: 1.1;
}

.brand-text-box span {
    font-size: 0.76rem;
    color: var(--color-primary);
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    text-decoration: none;
    color: #334155;
    font-weight: 650;
    font-size: 0.95rem;
    transition: color 0.25s ease;
}

.nav-link:hover {
    color: var(--color-primary);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #2A6F6D;
    color: #ffffff;
    padding: 0.75rem 1.65rem;
    border-radius: 50px;
    font-weight: 750;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(42, 111, 109, 0.25);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover {
    transform: translateY(-2px);
    background: #194847;
    box-shadow: 0 8px 20px rgba(42, 111, 109, 0.38);
    color: #ffffff;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: #ffffff;
    color: var(--color-primary);
    border: 1.5px solid rgba(42, 111, 109, 0.3);
    padding: 0.75rem 1.65rem;
    border-radius: 50px;
    font-weight: 750;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--color-teal-light);
    border-color: var(--color-primary);
}

/* Hero Section */
.hero-section {
    padding: 9.5rem 0 5rem 0;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.08) 0%, rgba(224, 242, 241, 0.35) 50%, rgba(250, 251, 252, 1) 100%);
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-title {
    font-size: 3.1rem;
    font-weight: 850;
    line-height: 1.18;
    color: var(--color-dark);
    margin-bottom: 1.25rem;
}

.hero-description {
    font-size: 1.12rem;
    color: var(--color-slate);
    margin-bottom: 2rem;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(42, 111, 109, 0.15);
}

.stat-item h4 {
    font-size: 1.9rem;
    font-weight: 900;
    color: var(--color-primary);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--color-muted);
    font-weight: 600;
}

.hero-visual-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid #ffffff;
    background: #ffffff;
}

.hero-visual-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
}

.hero-floating-pill {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(42, 111, 109, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    animation: floatingPill 4s ease-in-out infinite;
}

@keyframes floatingPill {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

.pill-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Typewriter & Hero Animations */
.hero-title-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.typewriter-cursor {
    display: inline-block;
    width: 3px;
    background: var(--color-primary);
    margin-left: 3px;
    animation: cursorBlink 0.75s step-end infinite;
    vertical-align: text-bottom;
    border-radius: 2px;
}

@keyframes cursorBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-badge-anim {
    opacity: 0;
    transform: translateY(-16px);
    animation: heroFadeDown 0.75s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.1s;
}

@keyframes heroFadeDown {
    from {
        opacity: 0;
        transform: translateY(-16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-desc-anim,
.hero-actions-anim,
.hero-stats-anim {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-desc-anim.item-revealed,
.hero-actions-anim.item-revealed,
.hero-stats-anim.item-revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-visual-anim {
    opacity: 0;
    transform: translateX(35px) scale(0.96);
    animation: heroVisualEntrance 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.35s;
}

@keyframes heroVisualEntrance {
    from {
        opacity: 0;
        transform: translateX(35px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

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

.scroll-reveal.fade-in-left {
    transform: translateX(-40px);
}

.scroll-reveal.fade-in-left.revealed {
    transform: translateX(0);
}

.scroll-reveal.fade-in-right {
    transform: translateX(40px);
}

.scroll-reveal.fade-in-right.revealed {
    transform: translateX(0);
}

.scroll-reveal.fade-in-top {
    transform: translateY(-30px);
}

.scroll-reveal.fade-in-top.revealed {
    transform: translateY(0);
}

.scroll-reveal.zoom-in {
    transform: scale(0.92);
}

.scroll-reveal.zoom-in.revealed {
    transform: scale(1);
}

.scroll-reveal.delay-100 { transition-delay: 0.1s; }
.scroll-reveal.delay-150 { transition-delay: 0.15s; }
.scroll-reveal.delay-200 { transition-delay: 0.2s; }
.scroll-reveal.delay-250 { transition-delay: 0.25s; }
.scroll-reveal.delay-300 { transition-delay: 0.3s; }
.scroll-reveal.delay-350 { transition-delay: 0.35s; }
.scroll-reveal.delay-400 { transition-delay: 0.4s; }
.scroll-reveal.delay-450 { transition-delay: 0.45s; }
.scroll-reveal.delay-500 { transition-delay: 0.5s; }

/* About Section */
.about-section {
    padding: 6rem 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.about-image-card img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.about-highlights-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.about-highlights-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: #fafbfc;
    padding: 1.1rem 1.35rem;
    border-radius: var(--radius-sm);
    border-left: 4px solid var(--color-primary);
}

.about-highlights-list i {
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-top: 0.15rem;
}

/* Specialist Showcase */
.specialist-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #fafbfc 0%, #e0f2f1 100%);
}

.specialist-card-container {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-lg);
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 3.5rem;
    align-items: center;
    border: 1.5px solid #e2e8f0;
}

.specialist-portrait {
    width: 100%;
    height: 420px;
    object-fit: cover;
    object-position: center 15%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.specialist-badge-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin: 1.25rem 0 1.5rem 0;
}

.spec-badge {
    background: var(--color-teal-light);
    color: var(--color-primary-dark);
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
}

/* Treatments / Services Section (PARK CLINICS EXACT CARD DESIGN) */
.treatments-section {
    padding: 6rem 0;
    background: #ffffff;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 2rem;
}

.treatment-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.treatment-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(42, 111, 109, 0.14);
    border-color: var(--color-primary);
}

.treatment-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    background: rgba(42, 111, 109, 0.1);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.35rem;
}

.treatment-card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.treatment-card p {
    font-size: 0.95rem;
    color: var(--color-muted);
    line-height: 1.65;
}

/* Facilities Section (Park Clinics matching style) */
.facilities-section {
    padding: 6rem 0;
    background: var(--color-indigo);
    color: #ffffff;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.facility-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 2.25rem 1.75rem;
    transition: all 0.3s ease;
}

.facility-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: var(--color-secondary);
}

.facility-card i {
    font-size: 2rem;
    color: var(--color-secondary);
    margin-bottom: 1.25rem;
    display: block;
}

.facility-card h4 {
    font-family: var(--font-heading);
    color: #ffffff;
    font-size: 1.25rem;
    margin-bottom: 0.6rem;
}

.facility-card p {
    color: #94a3b8;
    font-size: 0.92rem;
    line-height: 1.6;
}

/* Contact & Timings */
.contact-section {
    padding: 6rem 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-info-box {
    background: #fafbfc;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    border: 1.5px solid #e2e8f0;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.info-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--color-teal-light);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.booking-form-box {
    background: #ffffff;
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid #e2e8f0;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
    color: var(--color-dark);
}

.form-control {
    width: 100%;
    padding: 0.85rem 1.1rem;
    border-radius: var(--radius-sm);
    border: 1.5px solid #cbd5e1;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.25s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
}

/* Footer */
.clinic-footer {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
    color: #475569;
    padding: 4rem 0 2rem 0;
    font-size: 0.92rem;
    border-top: 1px solid #e2e8f0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    color: #0f172a;
    font-size: 1.15rem;
    margin-bottom: 1.25rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links a {
    color: #64748b;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.88rem;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .hero-grid, .about-grid, .specialist-card-container, .contact-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .hero-title {
        font-size: 2.4rem;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}
