:root {
    --primary-color: #303F7C;
    --secondary-color: #8EADDE;
    --text-dark: #4a4a4a;
    /* Softer dark */
    --bg-light: #FAFAFA;
    /* Very light gray, almost white */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
    width: 100%;
    line-height: 1.8;
    /* Increased line height for breathability */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    /* Lighter headings */
    color: var(--primary-color);
    letter-spacing: -0.5px;
    /* Tighter tracking for modern look */
}

/* Navbar */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: none;
    /* Removed shadow */
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle border instead */
    padding: 1rem 0;
    /* More spacing */
}

.navbar-brand {
    font-weight: 600;
    color: var(--primary-color) !important;
    font-size: 1.4rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 400;
    font-size: 0.95rem;
    transition: color 0.3s;
    margin-left: 1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section */
.hero {
    position: relative;
    /* Soft minimalist background instead of image */
    background: linear-gradient(135deg, #ffffff 0%, #f0f2f5 100%);
    height: 60vh;
    display: flex;
    align-items: center;
    margin-top: 80px;
    /* Compensate for fixed navbar */
    color: var(--text-dark);
    /* Dark text */
}

.hero::before {
    display: none;
    /* Remove overlay */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: left;
    max-width: 800px;
    /* Limit width for better readability on left align */
}

.hero h1 {
    font-weight: 700;
    font-size: 4rem;
    color: var(--primary-color);
    line-height: 1.2;
    letter-spacing: -1px;
}

/* Buttons */
.btn {
    border-radius: 50px;
    /* Full pill shape */
    padding: 12px 35px;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(48, 63, 124, 0.2);
    /* Soft colored shadow */
}

.btn-primary:hover {
    background-color: #243060;
    border-color: #243060;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(48, 63, 124, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Sections */
section {
    padding: 10rem 0;
    /* More vertical whitespace */
}

/* Cards */
.card {
    border: none;
    background: transparent;
    /* Cleaner look */
}

.card-service {
    background: #fff;
    border-radius: 8px;
    /* Slightly sharper corners */
    transition: all 0.4s ease;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    /* Very diffuse shadow */
    padding: 2rem;
}

.card-service:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.06);
}

.card-service img {
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    display: block;
}

/* Circular Icons in "Why Choose Us" */
.rounded-circle.bg-primary {
    background-color: rgba(48, 63, 124, 0.1) !important;
    /* Light transparent bg */
    color: var(--primary-color) !important;
}

/* Accordion (FAQ) */
.accordion-item {
    background-color: #fff;
    border: none;
    border-bottom: 1px solid #eee;
    /* Minimal separation */
    box-shadow: none !important;
}

.accordion-button {
    background-color: transparent !important;
    box-shadow: none !important;
    font-weight: 500;
    color: var(--primary-color);
    padding: 1.5rem 1rem;
}

.accordion-button:not(.collapsed) {
    color: var(--primary-color);
    background-color: transparent;
}

.accordion-body {
    padding: 0 1rem 1.5rem 1rem;
    color: #666;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    /* Softer shadow */
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Footer */
footer {
    background-color: #fff;
    /* White footer for minimalism */
    color: var(--text-dark);
    padding-top: 5rem;
    border-top: 1px solid #eee;
}

footer h5 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

footer a {
    color: #666;
}

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

.border-top {
    border-color: #eee !important;
}

/* Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1);
    /* Smoother bezier */
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Parallax Section */
.parallax-section {
    height: 400px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(48, 63, 124, 0.4);
    /* Primary color with opacity */
}

.parallax-content {
    position: relative;
    z-index: 1;
    color: white;
    text-align: center;

    /* Treatment Page Specifics */
    .treatment-card {
        padding: 1.25rem;
        /* More compact padding */
        border: 1px solid rgba(0, 0, 0, 0.03);
        /* Subtle sophisticated border */
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
        /* Very subtle shadow initially */
        background: #fff;
    }

    .treatment-card:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        /* Slightly stronger on hover */
        transform: translateY(-3px);
    }

    .treatment-card img {
        aspect-ratio: 1 / 1;
        height: auto !important;
        /* Override generic service max-height */
        width: 100%;
        object-fit: cover;
        border-radius: 6px;
        /* Slightly tighter radius */
        margin-bottom: 1rem;
    }

    .treatment-card h3 {
        font-size: 1.25rem;
        /* Slightly smaller for compactness */
        margin-bottom: 0.5rem;
    }

    .treatment-card p {
        font-size: 0.9rem;
        color: #666;
        line-height: 1.6;
    }

    .treatment-card ul {
        text-align: left;
        font-size: 0.85rem;
        padding-left: 1.2rem;
        margin-top: 1rem;
        color: #777;
    }

    .treatment-card li {
        margin-bottom: 0.3rem;
    }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero {
        height: auto;
        padding: 6rem 0 3rem 0;
        margin-top: 60px;
    }

    section {
        padding: 4rem 0;
    }

    .display-4 {
        font-size: 2.5rem;
    }

    .lead {
        font-size: 1rem;
    }

    footer {
        padding-top: 3rem;
    }
}
