/* Global Styles & Variables */
:root {
    /* Color Palette - Premium Medical */
    --primary-dark: #0a192f;
    /* Deepest Navy */
    --primary-color: #112240;
    /* Navy */
    --accent-color: #64ffda;
    /* Teal/medical cyan for subtle highlights - very modern */
    --accent-secondary: #00bcd4;
    /* standard cyan */
    --text-primary: #ccd6f6;
    /* Off-white for dark bg */
    --text-secondary: #8892b0;
    /* Muted gray */
    --white: #ffffff;
    --off-white: #f8f9fa;

    /* Light Theme overrides for main body to keep it clean, but use Dark for "Sophisticated" sections */
    --bg-body: #ffffff;
    --text-body-main: #1d1d1f;
    /* Apple-like nearly black */
    --text-body-sec: #86868b;
    --brand-blue: #003366;
    /* Trustworthy Blue */
    --brand-gold: #c5a065;
    /* Premium accent */

    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', serif;

    --transition-slow: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    --transition-fast: all 0.3s ease;
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: var(--font-main);
    color: var(--text-body-main);
    background-color: var(--bg-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--brand-blue);
    line-height: 1.1;
}

p {
    color: var(--text-body-sec);
    margin-bottom: 2rem;
    font-size: 1.05rem;
    font-weight: 400;
}

a {
    text-decoration: none;
    transition: var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
}

/* Animations Core */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.stagger-delay-1 {
    transition-delay: 0.1s;
}

.stagger-delay-2 {
    transition-delay: 0.2s;
}

.stagger-delay-3 {
    transition-delay: 0.3s;
}

/* Navigation - Glassmorphism */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-fast);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.95);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--brand-blue);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--brand-gold);
    transition: var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    padding: 0.8rem 1.8rem;
    background: var(--brand-blue);
    color: var(--white) !important;
    border-radius: 4px;
    /* More angular/modern than round pills */
}

.btn-nav:hover {
    background: var(--brand-gold);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-nav:hover::after {
    display: none;
}

/* Hero Section - Asymmetric & Modern */
.hero {
    min-height: 100vh;
    padding-top: 100px;
    display: flex;
    align-items: center;
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
    position: relative;
    overflow: hidden;
}

/* Background blob for modern feel */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(197, 160, 101, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    /* Text heavy left */
    gap: 4rem;
    align-items: center;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 2rem;
    background: -webkit-linear-gradient(45deg, var(--brand-blue), #3b5998);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    /* JS Animation trigger */
    animation: fadeUp 1s cubic-bezier(0.5, 0, 0, 1) forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    max-width: 90%;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.5, 0, 0, 1) 0.2s forwards;
    border-left: 3px solid var(--brand-gold);
    padding-left: 1.5rem;
}

.hero-cta-wrapper {
    opacity: 0;
    animation: fadeUp 1s cubic-bezier(0.5, 0, 0, 1) 0.4s forwards;
}

.btn-primary {
    display: inline-block;
    padding: 1.2rem 3rem;
    background: var(--brand-blue);
    color: var(--white);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 51, 102, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition-slow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--brand-gold);
    transition: var(--transition-slow);
    z-index: -1;
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-primary:hover {
    box-shadow: 0 15px 40px rgba(197, 160, 101, 0.3);
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    opacity: 0;
    animation: fadeInRight 1.2s cubic-bezier(0.5, 0, 0, 1) 0.5s forwards;
}

.hero-image img {
    border-radius: 12px;
    box-shadow: 20px 20px 60px rgba(0, 0, 0, 0.1);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition-slow);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

/* Animations Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Problem Section - Clean */
.problem-section {
    padding: 120px 0;
    background: var(--white);
}

.problem-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.problem-content h2 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
    color: var(--text-body-main);
}

/* Approach Section - Cards with specific hover */
.approach-section {
    padding: 120px 0;
    background-color: var(--off-white);
}

.approach-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.approach-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    /* Subtle initial shadow */
    transition: var(--transition-slow);
    border-bottom: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

.approach-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 2;
}

.approach-card p {
    position: relative;
    z-index: 2;
}

/* Cool hover effect for cards */
.approach-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom right, #ffffff, #f0f4f8);
    opacity: 0;
    transition: var(--transition-fast);
}

.approach-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-bottom-color: var(--brand-gold);
}

/* Treatments - Dark Modern */
.treatments-section {
    padding: 120px 0;
    background: var(--brand-blue);
    background: linear-gradient(135deg, var(--brand-blue) 0%, #001f3f 100%);
    color: var(--white);
    position: relative;
}

.treatments-section h2,
.treatments-section p {
    color: var(--white);
    text-align: center;
}

.treatment-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    list-style: none;
    max-width: 1000px;
    margin: 3rem auto 0;
}

.treatment-list li {
    background: rgba(255, 255, 255, 0.05);
    /* Glass feel */
    backdrop-filter: blur(5px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-fast);
    cursor: default;
}

.treatment-list li:hover {
    background: var(--white);
    color: var(--brand-blue);
    transform: scale(1.05);
}

/* Process - Steps */
.process-section {
    padding: 140px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 4rem;
}

.step {
    position: relative;
    padding-top: 2rem;
    border-top: 2px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition-slow);
}

.step:hover {
    border-top-color: var(--brand-blue);
}

.step-number {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 5rem;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.03);
    font-family: var(--font-serif);
}

/* About - Split */
.about-section {
    padding: 120px 0;
    background-color: var(--off-white);
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: center;
}

.about-image img {
    border-radius: 8px;
    filter: grayscale(20%);
    /* Artistic touch */
    transition: var(--transition-slow);
}

.about-image:hover img {
    filter: grayscale(0%);
}

.btn-outline {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: 2px solid var(--brand-blue);
    color: var(--brand-blue);
    font-weight: 600;
    margin-top: 2rem;
}

.btn-outline:hover {
    background: var(--brand-blue);
    color: var(--white);
}

/* CTA - Final */
.cta-section {
    padding: 140px 0;
    text-align: center;
    background: url('assets/image-2.jpg') center/cover fixed;
    /* Parallax feel if possible */
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(17, 34, 64, 0.85);
    /* Dark overlay */
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 2rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.3rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: rgba(255, 255, 255, 0.6);
    padding: 80px 0 30px;
}

.footer-content {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 40px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.6);
}

.footer a:hover {
    color: var(--brand-gold);
}

/* Mobile */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-container,
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        border: none;
        padding: 0;
    }

    .step-number {
        font-size: 3rem;
        top: -20px;
    }
}