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

:root {
    --primary-color: #2c6e49;  
    --secondary-color: #52b788;
    --accent-color: #95d5b2;
    --light-bg: #f8f9fa;
    --text-dark: #212529;
    --text-light: #6c757d;
    --white: #ffffff;
}

body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);

    /* same as --light-bg so everything matches */
    background-color: #f8f9fa;
    overflow-x: hidden;
}


/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

/* HERO – image centered, sides same color as site background */
.hero {
    margin-top: 70px;
    width: 100vw;
    min-height: 100vh;

    /* background color for the empty area */
    background-color: var(--light-bg);   /* or var(--white) if you want pure white */

    /* only the image, no dark gradient */
    background-image: url('img/thumbnail_image1.jpg');
    background-size: contain;            /* show full image */
    background-position: top center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

/* optional floating dots – keep or delete if you don't want them */
.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    pointer-events: none;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: float 20s linear infinite;
}

/* add a dark panel only behind the text so it stays readable */
.hero-content {
    text-align: center;
    z-index: 1;
    max-width: 800px;
    padding: 2.5rem 3rem;
    border-radius: 16px;

    background: rgba(0, 0, 0, 0.45);  /* darken just behind text */
    backdrop-filter: blur(2px);
    animation: fadeInUp 1s ease;
}


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

.hero h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

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

.insurance-badge {
    background: rgba(255, 255, 255, 0.95);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.insurance-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

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

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

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

/* Pricing Section */
.pricing {
    padding: 5rem 2rem;
    background: var(--white);
}

.price-table {
    max-width: 900px;
    margin: 3rem auto;
    background: var(--light-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.price-table.insurance-table {
    border: 2px solid var(--accent-color);
}

.price-header {
    padding: 2rem;
    color: var(--white);
}

.price-header h3 {
    margin: 0;
    font-size: 1.5rem;
    text-align: center;
}

.price-header p {
    margin: 0.5rem 0 0 0;
    text-align: center;
    font-size: 0.95rem;
    opacity: 0.95;
}

.primary-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.secondary-gradient {
    background: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    margin-top: 2rem;
}

.insurance-gradient {
    background: linear-gradient(135deg, #4a90e2, #7cb9e8);
}

.price-list {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.price-list tr {
    border-bottom: 1px solid #e0e0e0;
}

.price-list tr.alt-row {
    background: var(--light-bg);
}

.price-list td {
    padding: 1.2rem 2rem;
}

.service-name {
    font-weight: 600;
    color: var(--text-dark);
}

.service-price {
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.service-price.secondary {
    color: var(--secondary-color);
}

.table-header {
    background: #f0f4f8;
    border-bottom: 2px solid #4a90e2;
}

.table-header th {
    padding: 1rem 2rem;
    text-align: left;
    color: var(--text-dark);
    font-weight: 600;
}

.table-header th:nth-child(2) {
    text-align: center;
}

.table-header th:last-child {
    text-align: right;
}

.coverage-rate {
    text-align: center;
    color: #4a90e2;
}

.copay-amount {
    text-align: right;
    color: var(--primary-color);
    font-weight: 600;
}

.insurance-notice {
    padding: 2rem;
    background: #f0f8ff;
    text-align: center;
    border-top: 2px solid #4a90e2;
}

.notice-title {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 500;
}

.notice-text {
    color: var(--text-light);
    margin: 0;
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 5rem 2rem;
    background: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

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

.about-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Contact Section */
.contact {
    padding: 5rem 2rem;
    background: var(--light-bg);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

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

.contact-detail {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.btn-directions {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-directions:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.phone-number {
    color: var(--secondary-color);
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.phone-number:hover {
    color: var(--primary-color);
}

/* Footer */
footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 2rem 0;
}

.social-links a {
    color: var(--white);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

.copyright {
    margin-top: 2rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

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

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

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

/* Loading Animation */
.page-transition {
    animation: pageLoad 0.5s ease;
}

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