:root {
    /* Colors inspired by We.care screenshots */
    --primary-color: #3b82f6;
    /* Brighter Blue */
    --primary-dark: #1d4ed8;
    --secondary-bg: #eff6ff;
    /* Light Blue Background */
    --text-dark: #1e293b;
    --text-light: #64748b;
    --white: #ffffff;
    --accent: #22c55e;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout */
    --container-width: 1200px;
    --header-height: 80px;
    --section-padding: 80px 20px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-full: 9999px;
}

/* Animations */
.reveal {
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-hidden {
    opacity: 0;
    transform: translateY(30px);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Delays */
.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-height);
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-bg);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    height: var(--header-height);
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Adjusted height for better visibility */
    width: auto;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark);
}

.nav-link:hover {
    color: var(--primary-color);
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--secondary-bg) 0%, #ffffff 100%);
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.hero-text {
    color: var(--text-light);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-location {
    font-size: 0.9rem;
    color: var(--text-light);
    background: rgba(255, 255, 255, 0.8);
    padding: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--primary-color);
}

.hero-image img {
    border-radius: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: var(--header-height);
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        padding: 20px 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-location {
        text-align: center;
        border-left: none;
        border-top: 4px solid var(--primary-color);
    }
}

/* Sections Common */
.section {
    padding: var(--section-padding);
}

.section-alt {
    background-color: var(--secondary-bg);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid (Why Consult) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    text-align: center;
    border-top: 4px solid transparent;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-top-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background: var(--secondary-bg);
    width: 80px;
    height: 80px;
    border-radius: 50%;
}

.feature-card h3 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

/* About Section */
.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    border-radius: var(--radius-md);
}

.about-content h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.about-content h4 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.patients-list {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

.patients-list h5 {
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.patients-list ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.patients-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

@media (max-width: 768px) {
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        order: -1;
        margin-bottom: 20px;
    }

    .patients-list ul {
        grid-template-columns: 1fr;
        text-align: left;
    }
}

/* Grid System (For Whom) */
.grid-3 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.grid-3 .card {
    flex: 1 1 300px;
    max-width: 380px;
}

/* Base Card */
.card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: 0.3s;
    border: 1px solid var(--secondary-bg);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.card h3 {
    margin-bottom: 15px;
    color: var(--primary-dark);
}

.card-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.card-list li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Motifs Tags */
.motifs-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.motif-tag {
    background: var(--white);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--secondary-bg);
    transition: 0.2s;
}

.motif-tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

/* Process Section */
.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    counter-reset: step;
}

.process-step {
    text-align: center;
    position: relative;
    padding: 20px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--white);
    font-weight: 700;
    font-size: 1.5rem;
    border-radius: 50%;
    line-height: 60px;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-md);
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Services Grid */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.service-item {
    flex: 1 1 300px;
    max-width: 400px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
    font-weight: 500;
    display: flex;
    align-items: center;
    border-left: 5px solid var(--primary-color);
    transition: 0.2s;
}

.service-item:hover {
    transform: translateX(5px);
    background: var(--secondary-bg);
}

/* Cabinet Section */
.cabinet-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.cabinet-info {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 500;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .cabinet-content {
        grid-template-columns: 1fr;
    }
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    /* Adjusted min-width for 4 columns */
    gap: 30px;
    max-width: 1200px;
    /* Increased max-width to allow room for 4 cards */
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    text-align: center;
    border: 1px solid var(--secondary-bg);
}

.pricing-card.highlight {
    border-color: var(--primary-color);
    background: var(--secondary-bg);
}

.price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 20px 0;
}

.price-unit {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-light);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a:hover {
    text-decoration: underline;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #94a3b8;
}