/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #5b604a;
    --primary-dark: #3d4032;
    --accent-sage: #6b7058;
    --accent-light: #8a9076;
    --beige: #f2ede8;
    --white: #ffffff;
    --off-white: #faf8f6;
    --text-dark: #272727;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

html {
    scroll-behavior: smooth;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Animation Classes */
.animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInLeft {
    animation: fadeInLeft 0.8s ease-out forwards;
}

.animate-fadeInRight {
    animation: fadeInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger delays for grid items */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

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

/* Header & Navigation */
.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
    animation: slideDown 0.5s ease-out;
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Logo with Image */
.logo a {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-icon {
    height: 45px;
    width: auto;
}

.logo-text {
    font-size: 0.7rem;
    font-weight: 400;
    color: #3d4032;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

/* Appointment Button in Header */
.btn-appointment {
    background-color: var(--primary-color);
    color: white;
    padding: 0.7rem 1.25rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-appointment:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(91, 96, 74, 0.3);
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
}

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

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--white);
    min-width: 220px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    top: 100%;
    left: 0;
    z-index: 1;
}

.dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
}

.dropdown-content a:hover {
    background-color: var(--off-white);
    color: var(--primary-color);
}

@media (hover: hover) and (min-width: 769px) {
    .dropdown:hover .dropdown-content {
        display: block;
    }
}

/* Nested Dropdown for Our Team */
.dropdown-content .nested-dropdown {
    position: relative;
}

.dropdown-content .nested-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dropdown-content .nested-dropdown > a::after {
    content: "▶";
    font-size: 0.7rem;
    margin-left: 0.5rem;
}

.nested-dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: var(--white);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0;
    z-index: 2;
}

.nested-dropdown-content a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
}

.nested-dropdown-content a:hover {
    background-color: var(--off-white);
    color: var(--primary-color);
}

@media (hover: hover) and (min-width: 769px) {
    .nested-dropdown:hover .nested-dropdown-content {
        display: block;
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(91, 96, 74, 0.55) 0%, rgba(61, 64, 50, 0.65) 100%),
                url('photos/Hero.png') center top / cover no-repeat;
    color: var(--white);
    padding: 8rem 0;
    position: relative;
    overflow: hidden;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    font-size: 1rem;
}

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

.btn-primary:hover {
    background-color: var(--accent-sage);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(91, 96, 74, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.feature-icon {
    background-color: var(--white);
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-light));
    margin: 1rem auto;
    border-radius: 2px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* About Section */
.about {
    padding: 5rem 0;
    background-color: var(--beige);
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stat-item h3 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Services Section */
.services {
    padding: 5rem 0;
    background-color: var(--white);
}

.service-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid var(--primary-color);
}

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

.service-card-link {
    text-decoration: none;
    display: block;
}

.service-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.service-card.highlight h4,
.service-card.highlight p {
    color: var(--white);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-sage));
    border-radius: 50%;
    color: var(--white);
    box-shadow: 0 4px 15px rgba(91, 96, 74, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover .service-icon {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 6px 20px rgba(91, 96, 74, 0.3);
}

.service-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.learn-more {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .learn-more {
    opacity: 1;
}

.sedation-benefits {
    margin-top: 1rem;
    list-style: none;
}

.sedation-benefits li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.sedation-benefits li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

/* Service Detail Pages */
.service-detail-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.service-main h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.service-main h3:first-child {
    margin-top: 0;
}

.service-main p {
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.benefits-list li {
    padding: 0.75rem 0 0.75rem 2rem;
    position: relative;
    line-height: 1.6;
}

.benefits-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.sidebar-card {
    background-color: var(--beige);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.sidebar-card h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

@media (max-width: 968px) {
    .service-detail-content {
        grid-template-columns: 1fr;
    }
}

/* Education/Techniques Section */
.education-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.education-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.education-text h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.education-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .education-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .education-text h2 {
        font-size: 2rem;
    }
}

/* Video Testimonials Section */
.video-testimonials {
    padding: 5rem 0;
    background-color: var(--off-white);
}

.video-testimonials .section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.video-testimonials .section-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.video-testimonials .section-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.video-card {
    background-color: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    animation: scaleIn 0.6s ease-out forwards;
    opacity: 0;
}

.video-card:nth-child(1) { animation-delay: 0.1s; }
.video-card:nth-child(2) { animation-delay: 0.2s; }
.video-card:nth-child(3) { animation-delay: 0.3s; }
.video-card:nth-child(4) { animation-delay: 0.4s; }

.video-card:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.video-card video {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: contain;
    display: block;
    background-color: #000;
}

.video-card video:hover {
    cursor: pointer;
}

.video-caption {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    background-color: var(--white);
}

/* Text Testimonials Section */
.testimonials {
    padding: 5rem 0;
    background-color: var(--beige);
}

.testimonials .section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.testimonials .section-intro h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.testimonials .section-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.testimonial-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.stars {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

.google-reviews {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
}

/* Team Section */
.team {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.team-card {
    text-align: center;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
}

.team-photo-placeholder {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-color));
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.team-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 1.5rem;
    display: block;
    border: 4px solid var(--primary-color);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Office Gallery */
.office-gallery {
    padding: 5rem 0;
    background-color: var(--beige);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.gallery-item figcaption {
    background-color: var(--white);
    padding: 1rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 500;
}

/* Large Gallery for Office Page */
.gallery-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item-large {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    transition: transform 0.3s ease;
    margin: 0;
}

.gallery-item-large:hover {
    transform: scale(1.01);
}

.gallery-item-large img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.gallery-item-large figcaption {
    background-color: var(--white);
    padding: 1.25rem;
    text-align: center;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .gallery-grid-large {
        grid-template-columns: 1fr;
    }

    .gallery-item-large img {
        height: 280px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-card video {
        aspect-ratio: 16/9;
    }

    .video-testimonials .section-intro h2,
    .testimonials .section-intro h2 {
        font-size: 2rem;
    }
}

/* Exterior Image on Contact */
.exterior-image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.exterior-image img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}

.team-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background-color: var(--beige);
}

/* Prominent Contact Cards */
.contact-cards-prominent {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-card-large {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-sage));
    color: var(--white);
    padding: 3rem 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

.contact-card-large:nth-child(1) { animation-delay: 0.1s; }
.contact-card-large:nth-child(2) { animation-delay: 0.3s; }
.contact-card-large:nth-child(3) { animation-delay: 0.5s; }

.contact-card-large:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.icon-large {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contact-card-large h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.large-number {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
}

.large-number a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.large-number a:hover {
    opacity: 0.8;
}

.location-text {
    font-size: 1.2rem;
    line-height: 1.8;
    margin: 1rem 0;
}

.small-text {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.directions-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    transition: opacity 0.3s ease;
}

.directions-link:hover {
    opacity: 0.8;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.info-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    color: var(--text-dark);
    line-height: 1.8;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    text-decoration: underline;
}

.hours-table {
    width: 100%;
}

.hours-table td {
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.hours-table td:last-child {
    text-align: right;
    font-weight: 600;
}

.special-programs {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.special-programs h3 {
    color: var(--white);
}

.special-programs p {
    color: var(--white);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--beige);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-section h4 {
    color: var(--beige);
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--beige);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--white);
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        padding: 1rem 0;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
        gap: 0;
    }

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

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
    }

    .dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 2rem;
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .nested-dropdown.active .nested-dropdown-content {
        display: block;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .btn-appointment {
        display: none;
    }

    .logo-text {
        font-size: 0.9rem;
    }

    .logo-icon {
        height: 32px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .section-header h2 {
        font-size: 2rem;
    }

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

    .contact-content {
        grid-template-columns: 1fr;
    }

    .contact-cards-prominent {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .contact-card-large {
        padding: 2rem 1.5rem;
    }

    .large-number {
        font-size: 1.75rem;
    }

    .stat-item h3 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .contact-card-large {
        padding: 1.5rem 1rem;
    }

    .icon-large {
        font-size: 2.5rem;
    }

    .large-number {
        font-size: 1.5rem;
    }

    .location-text {
        font-size: 1rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    /* Increase tap target sizes for mobile */
    .btn, .btn-appointment, .btn-primary, .btn-secondary, .btn-secondary-dark {
        min-height: 44px;
        padding: 0.85rem 2rem;
    }

    .nav-menu a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Remove hover effects that don't work on touch */
    .service-card:hover,
    .team-card:hover,
    .video-card:hover,
    .gallery-item:hover {
        transform: none;
    }

    /* Make clickable cards have active states instead */
    .service-card:active,
    .team-card:active,
    .video-card:active {
        transform: scale(0.98);
        opacity: 0.9;
    }
}

/* Improve readability on small screens */
@media (max-width: 768px) {
    body {
        font-size: 16px;
    }

    p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .container {
        padding: 0 16px;
    }

    /* Ensure text is readable */
    .hero-subtitle, .section-header p {
        font-size: 1.05rem;
    }

    /* Stack service cards single column for better readability */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 1.75rem;
    }

    /* Better spacing for testimonials */
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Optimize footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Clickable Team Names */
.team-name.clickable {
    cursor: pointer;
    transition: color 0.3s ease;
}

.team-name.clickable:hover {
    color: var(--accent-light);
    text-decoration: underline;
}

.team-bio-preview {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Bio Modal Styles */
.bio-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    overflow-y: auto;
}

.bio-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-modal-content {
    background-color: var(--white);
    margin: 2rem;
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 700px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease;
}

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

.bio-modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-light);
    cursor: pointer;
    transition: color 0.3s ease;
    line-height: 1;
}

.bio-modal-close:hover {
    color: var(--primary-color);
}

.bio-modal-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    padding-right: 2rem;
}

.modal-role {
    color: var(--accent-sage);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--beige);
}

.modal-bio-text {
    color: var(--text-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.modal-bio-text p {
    margin-bottom: 1rem;
}

.modal-bio-text a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.modal-bio-text a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .bio-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .bio-modal-content h3 {
        font-size: 1.5rem;
    }
}

/* Logo Link Styles */
.logo a {
    text-decoration: none;
    color: inherit;
}

.logo a h1 {
    color: var(--primary-color);
}

/* Active Nav Link */
.nav-menu a.active {
    color: var(--primary-color);
    font-weight: 600;
}

/* Page Header for Inner Pages */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.page-header h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.page-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary-dark {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

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

/* Services Preview Section */
.services-preview {
    padding: 5rem 0;
    background-color: var(--white);
}

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

.service-preview-card {
    background-color: var(--off-white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-preview-card .service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-preview-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-preview-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Contact Preview Section */
.contact-preview {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.contact-preview-content {
    max-width: 800px;
    margin: 0 auto;
}

.contact-preview-text {
    margin-bottom: 2rem;
}

.contact-preview-text h2 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-preview-text p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.contact-preview-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-preview-buttons .btn {
    padding: 0.75rem 1.5rem;
}

.contact-preview-buttons .btn-secondary-dark {
    background-color: transparent;
    color: var(--primary-color);
    border: none;
    padding: 0.75rem 0;
    text-decoration: underline;
}

.contact-preview-buttons .btn-secondary-dark:hover {
    color: var(--primary-dark);
    background-color: transparent;
}

.contact-preview-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.contact-preview-info span {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.contact-preview-info .info-item {
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-preview-info .info-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.contact-preview-info .info-item p {
    color: var(--text-dark);
    margin: 0;
    font-size: 1rem;
}

/* Responsive adjustments for new sections */
@media (max-width: 768px) {
    .page-header {
        padding: 3rem 0;
    }

    .page-header h2 {
        font-size: 2rem;
    }

    .cta-section h2 {
        font-size: 1.6rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .contact-preview-content {
        grid-template-columns: 1fr;
    }

    .contact-preview-buttons {
        flex-direction: column;
    }

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

/* Staff Profile Pages */
.staff-profile {
    padding: 4rem 0;
    background-color: var(--off-white);
}

.staff-profile-content {
    display: flex;
    gap: 3rem;
    align-items: flex-start;
}

.staff-photo-large {
    flex-shrink: 0;
    width: 280px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.staff-photo-large img {
    width: 100%;
    height: auto;
    display: block;
}

.staff-photo-large.placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.staff-info h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.staff-info .staff-role {
    font-size: 1.3rem;
    color: var(--accent-sage);
    font-weight: 600;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.staff-bio-full {
    margin-bottom: 2rem;
}

.staff-bio-full p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.back-to-team {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.back-to-team a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.back-to-team a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

/* Team Card Links */
.team-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.team-card-link:hover .team-card {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.team-card-link:hover .team-name {
    color: var(--accent-light);
}

@media (max-width: 768px) {
    .staff-profile-content {
        flex-direction: column;
        gap: 2rem;
    }

    .staff-photo-large {
        width: 200px;
        margin: 0 auto;
    }

    .staff-info h1 {
        font-size: 2rem;
        text-align: center;
    }

    .staff-info .staff-role {
        text-align: center;
    }

    .staff-photo-large.placeholder {
        height: 240px;
    }

    /* Mobile nested dropdown */
    .nested-dropdown-content {
        position: static;
        box-shadow: none;
        padding-left: 1rem;
    }

    .dropdown-content .nested-dropdown > a::after {
        content: "▼";
    }
}

/* ============================================
   TAWK.TO CHAT WIDGET CUSTOMIZATION
   ============================================ */

/* Make chat widget more visible and accessible */
#tawk-bubble-container {
    /* Increase size for better visibility */
    transform: scale(1.1);
    transform-origin: bottom right;
}

/* Add pulse animation to draw attention */
@keyframes chatPulse {
    0%, 100% {
        transform: scale(1.1);
        box-shadow: 0 0 0 0 rgba(91, 96, 74, 0.7);
    }
    50% {
        transform: scale(1.15);
        box-shadow: 0 0 0 10px rgba(91, 96, 74, 0);
    }
}

/* Apply pulse animation when page loads */
.tawk-min-container {
    animation: chatPulse 2s ease-in-out 3;
}

/* Hide chatbot on mobile */
@media (max-width: 768px) {
    iframe[title="chat widget"],
    #tawk-bubble-container,
    .tawk-min-container,
    [class*="tawk"] {
        display: none !important;
        visibility: hidden !important;
    }
}

/* Ensure widget is visible above other content */
#tawkchat-container {
    z-index: 9999 !important;
}

/* Hide widget on appointment page to avoid interference */
.appointment-page #tawk-bubble-container {
    display: none !important;
}

/* ============================================
   PRIVACY POLICY
   ============================================ */
.privacy-policy {
    padding: 4rem 0;
    background-color: var(--white);
}

.policy-content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.policy-content .policy-updated {
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 2rem;
}

.policy-content h3 {
    color: var(--primary-color);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.policy-content h4 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.policy-content ul {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.policy-content ul li {
    margin-bottom: 0.5rem;
}

.policy-content a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ============================================
   IMAGE LIGHTBOX
   ============================================ */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 3000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(6px);
    cursor: zoom-out;
}

.lightbox-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-out;
}

.lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    cursor: default;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease-out;
}

.lightbox-caption {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 1rem;
    padding: 0 1rem;
}

.lightbox-close {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 3001;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    z-index: 3001;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.lightbox-prev {
    left: 1.5rem;
}

.lightbox-next {
    right: 1.5rem;
}

.lightbox-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    z-index: 3001;
}

/* Make gallery items show pointer cursor */
.gallery-item-large,
.gallery-item {
    cursor: pointer;
}

@media (max-width: 768px) {
    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 0.75rem;
    }

    .lightbox-next {
        right: 0.75rem;
    }

    .lightbox-close {
        top: 1rem;
        right: 1rem;
    }

    .lightbox-caption {
        font-size: 0.95rem;
    }
}
