/* style.css – Modern Teal/Blue Smooth Version */

:root {
    --teal: #00A896;       /* Fresh modern teal */
    --blue: #4A90E2;       /* Softer trusting blue */
    --dark: #1A3C5A;
    --light: #F8FBFF;
    --gray: #6B7280;
    --shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --radius: 16px;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--teal);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--teal);
}

.hero {
    position: relative;
    height: 90vh;
    min-height: 600px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
    color: white;
    display: flex;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.25); /* subtle overlay for readability */
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    margin-bottom: 24px;
}

.lead {
    font-size: 1.4rem;
    max-width: 700px;
    margin: 0 auto 40px;
    opacity: 0.95;
}

.btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: var(--radius);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.primary {
    background: white;
    color: var(--teal);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0,168,150,0.3);
}

.section {
    padding: 100px 0;
}

h2 {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--teal);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.card {
    background: white;
    border-radius: var(--radius);
    padding: 40px 32px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,168,150,0.08);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(74,144,226,0.18);
}

.card h3 {
    color: var(--blue);
    margin-bottom: 16px;
}

.team-member {
    text-align: center;
}

.team-member img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 4px solid var(--teal);
}

.team-member h3 {
    color: var(--teal);
}

.footer {
    background: var(--teal);
    color: white;
    text-align: center;
    padding: 40px 0;
    margin-top: 80px;
}

/* Form (for contact.html) */
form {
    max-width: 600px;
    margin: 0 auto;
}

input, textarea {
    width: 100%;
    padding: 16px;
    margin: 12px 0;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    transition: border 0.3s;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,168,150,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        gap: 20px;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .section {
        padding: 60px 0;
    }
}

/* Contact page specific styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 60px;
}

.contact-form label {
    display: block;
    margin: 24px 0 8px;
    font-weight: 500;
    color: var(--dark);
}

.contact-info {
    background: white;
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,168,150,0.08);
}

.contact-info h3 {
    color: var(--teal);
    margin-bottom: 24px;
}

.contact-info p {
    margin: 16px 0;
    font-size: 1.1rem;
}

.contact-info strong {
    color: var(--blue);
}

/* Make sure form inputs match the modern look */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px;
    margin: 8px 0 20px;
    border: 1px solid #ddd;
    border-radius: 12px;
    font-family: inherit;
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--teal);
    box-shadow: 0 0 0 3px rgba(0,168,150,0.1);
}

/* Responsive stacking for mobile */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-info {
        padding: 32px 24px;
    }
}

/*
.logo img {
    max-height: 60px;
    width: auto;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}
*/

/* Modern Service Card with Engulfing Image */
.service-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius);
    background: white;
    box-shadow: var(--shadow);
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.service-card:hover {
    transform: translateY(-16px);
    box-shadow: 0 24px 48px rgba(74, 144, 226, 0.22);
}

.service-image-wrapper {
    position: relative;
    height: 220px;                    /* Tall hero image area */
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s ease;
}

.service-card:hover .service-image {
    transform: scale(1.08);           /* Subtle zoom on hover */
}

.service-content {
    position: relative;
    padding: 32px 28px 40px;
    background: linear-gradient(to top, white 60%, transparent 100%); /* Fade-in from bottom */
    z-index: 2;
}

.service-content h3 {
    color: var(--teal);
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-content p {
    color: var(--gray);
    font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .service-image-wrapper {
        height: 180px;
    }
    .service-content {
        padding: 24px 20px 32px;
    }
}

@media (max-width: 480px) {
    .service-image-wrapper {
        height: 160px;
    }
}

/* About Page Styles */
.about-content {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--dark);
}

.about-content p {
    margin-bottom: 24px;
}

.about-content .highlight {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--teal);
    text-align: center;
    margin: 40px 0;
    font-style: italic;
}

.team-section {
    margin-top: 80px;
    text-align: center;
}

.team-lead {
    font-size: 1.2rem;
    color: var(--gray);
    margin-bottom: 48px;
}

.team {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.team-member {
    background: white;
    border-radius: var(--radius);
    padding: 32px 24px;
    box-shadow: var(--shadow);
    transition: all 0.4s ease;
}

.team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(74, 144, 226, 0.18);
}

.team-placeholder {
    width: 160px;
    height: 160px;
    background: rgba(0, 168, 150, 0.1);
    border-radius: 50%;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--teal);
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
}

.team-member h3 {
    color: var(--teal);
    margin-bottom: 8px;
}

.team-member p {
    color: var(--gray);
    margin: 0;
}

/* ============================================= */
/* Enhanced Responsiveness - Mobile-First Fixes  */
/* ============================================= */

/* Base mobile adjustments (apply to all screens under 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 16px; /* Less side padding on tablets */
    }

    .section {
        padding: 80px 0; /* Reduce vertical spacing */
    }

    h1 {
        font-size: clamp(2.5rem, 7vw, 4rem); /* Better scaling */
    }

    h2 {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero {
        height: 80vh; /* Shorter hero on smaller screens */
        min-height: 500px;
    }

    .hero h1 {
        font-size: clamp(2.8rem, 9vw, 4.5rem);
    }

    .lead {
        font-size: 1.2rem;
        padding: 0 16px;
    }
}

/* Tablet & small desktop (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .nav {
        padding: 16px 0;
    }

    .nav-links {
        gap: 24px;
    }

    .grid {
        gap: 24px;
    }

    .card {
        padding: 32px 24px;
    }
}

/* Mobile & small tablet (max 768px) - Critical fixes */
@media (max-width: 768px) {
    /* Navigation - Stack logo and links vertically + add hamburger later if needed */
    .nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px 0;
    }

    .logo {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .nav-links {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        margin-top: 8px;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 8px 0;
        font-size: 1.1rem;
    }

    /* Hero - Make it shorter and text smaller */
    .hero {
        height: 70vh;
        min-height: 450px;
        padding: 40px 0;
    }

    .hero h1 {
        font-size: clamp(2.2rem, 8vw, 3.8rem);
        margin-bottom: 16px;
    }

    .lead {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }

    .btn {
        padding: 14px 32px;
        font-size: 1rem;
    }

    /* Grid & Cards - Stack fully, reduce padding */
    .grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .card {
        padding: 24px 20px;
    }

    .service-image-wrapper {
        height: 200px; /* Shorter images on mobile */
    }

    .service-content {
        padding: 24px 20px 32px;
    }

    /* Contact & About pages */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .contact-form,
    .contact-info {
        padding: 0 16px;
    }

    .about-content {
        font-size: 1.05rem;
    }

    .team {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer {
        padding: 32px 0;
    }
}

/* Extra small phones (max 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }

    .section {
        padding: 60px 0;
    }

    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero h1 {
        font-size: clamp(2rem, 7.5vw, 3.2rem);
    }

    .lead {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .service-image-wrapper {
        height: 180px;
    }

    h1, h2, h3 {
        line-height: 1.2; /* Prevent tight line spacing */
    }
}

/* Fix heading collision with sticky header */
body {
    padding-top: 80px; /* Space for sticky nav (adjust if nav height changes) */
}

@media (max-width: 768px) {
    body {
        padding-top: 70px; /* Slightly less on mobile */
    }
}


/* ============================================= */
/* Modern & Elegant Header Enhancements          */
/* ============================================= */

.header {
    background: rgba(255, 255, 255, 0.92); /* Slightly transparent for depth */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06); /* Softer, more premium shadow */
    backdrop-filter: blur(12px); /* Stronger blur for glassmorphism feel */
    border-bottom: 1px solid rgba(0, 168, 150, 0.08); /* Subtle teal line */
}

.nav {
    padding: 24px 0; /* A bit more breathing room */
}

/* Logo - more elegant */
.logo {
    font-size: 32px;
    letter-spacing: -0.5px;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    transition: transform 0.4s ease;
}

.logo:hover {
    transform: scale(1.04);
}

/* Nav Links - modern pill + underline on hover */
.nav-links {
    gap: 36px;
}

.nav-links a {
    position: relative;
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.35s ease;
    color: var(--dark);
    font-weight: 600;
    font-size: 1.05rem;
}

.nav-links a:hover,
.nav-links a.active { /* add .active class in HTML if you want current page highlight */
    background: rgba(0, 168, 150, 0.08);
    color: var(--teal);
    transform: translateY(-1px);
}

/* Elegant underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 4px;
    left: 50%;
    background: linear-gradient(90deg, var(--teal), var(--blue));
    transition: width 0.4s ease, left 0.4s ease;
}

.nav-links a:hover::after {
    width: 70%;
    left: 15%;
}

/* Mobile nav improvements */
@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: center;
        padding: 16px 0 20px;
    }

    .logo {
        font-size: 28px;
        margin-bottom: 16px;
    }

    .nav-links {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px 24px;
        width: 100%;
        margin-top: 8px;
    }

    .nav-links a {
        padding: 6px 14px;
        font-size: 1rem;
    }

    .nav-links a::after {
        bottom: 2px;
    }
}

/* Optional: Current page highlight (add class="active" to the current link in each HTML file) */
.nav-links a.active {
    background: rgba(0, 168, 150, 0.12);
    color: var(--teal);
    font-weight: 700;
}

/* ============================================= */
/* Sleek Hamburger Menu for Mobile              */
/* ============================================= */

/* Sleek Hamburger Menu for Mobile (no separate X button) */

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 998;  /* Below hamburger */
    transition: right 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.mobile-menu.active {
    right: 0;
}

/* Hamburger (turns into X) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile nav links */
.mobile-nav {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 24px 0;
}

.mobile-nav a {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--teal);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .mobile-menu {
        display: flex;
    }

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

    /* Logo and hamburger in header on mobile */
    .logo {
        flex: 1;
    }

    .hamburger {
        margin-left: auto;
    }
}

body.menu-open {
    overflow: hidden;
}

/* Mobile Menu – no peek during scroll, hamburger becomes X */

.mobile-menu {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: none;                    /* Completely hidden when closed */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 24px 40px;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateX(100%);
}

.mobile-menu.active {
    display: flex;
    opacity: 1;
    transform: translateX(0);
}

/* Hamburger transforms to X */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    transition: all 0.4s ease;
}

.hamburger span {
    width: 100%;
    height: 3px;
    background: var(--teal);
    border-radius: 2px;
    transition: all 0.4s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile nav links */
.mobile-nav {
    list-style: none;
    text-align: center;
    padding: 0;
}

.mobile-nav li {
    margin: 28px 0;
}

.mobile-nav a {
    font-size: 2rem;
    font-weight: 600;
    color: var(--dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.mobile-nav a:hover,
.mobile-nav a:focus {
    color: var(--teal);
}

/* Show hamburger on mobile */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
    }

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

body.menu-open {
    overflow: hidden;
}

/* Sleek Wellness Intro Styling */
.wellness-intro {
    max-width: 800px;
    margin: 0 auto 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--gray);
    text-align: center;
    font-style: italic;
    padding: 0 16px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.wellness-intro:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .wellness-intro {
        font-size: 1rem;
        margin-bottom: 40px;
    }
}
/* Enhanced Card Styling - Modern & Sleek (Teal Edition) */
.card {
    background: white;
    border-radius: var(--radius);
    padding: 48px 36px;           /* Generous internal space */
    box-shadow: var(--shadow);
    transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(0,168,150,0.08);
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-14px) scale(1.02);
    box-shadow: 0 24px 50px rgba(0,168,150,0.18);
    border-color: var(--teal);
}

.card h3 {
    color: var(--teal);
    font-size: 1.65rem;
    margin-bottom: 18px;
    font-weight: 700;
    letter-spacing: -0.4px;
    text-align: center;           /* Center titles for balance */
}

.card p {
    color: var(--gray);
    font-size: 1.1rem;
    line-height: 1.75;
    margin: 0;
    text-align: center;           /* Center text for sleek symmetry */
}

/* Subtle teal accent line on left (grows on hover) */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--teal);
    transition: height 0.5s ease;
}

.card:hover::before {
    height: 100%;
}

/* Responsive card adjustments */
@media (max-width: 768px) {
    .card {
        padding: 36px 28px;
    }
    .card h3 {
        font-size: 1.45rem;
    }
    .card p {
        font-size: 1.05rem;
    }
}


