/* Import Source Sans Pro (Stanford Health Care font) */
@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@400;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
}

body {
        font-size: 20px; /* Maintain large size */
    font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 20px; /* Extra senior-friendly base size - was 18px */
    line-height: 1.7;
    color: #333333;
    background: #f8f8f8;
    font-weight: 400;
}

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

/* Header & Navigation */
header {
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 15px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d5a3d;
    line-height: 1.3;
    text-decoration: none;
}

.logo:hover {
    color: #1f4129;
}

.logo-subtitle {
    font-size: 1rem; /* Was 0.9rem - now 16px minimum */
    font-weight: 500;
    color: #5a7a68;
    margin-top: 2px;
}

.main-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #2d5a3d;
}

.nav-link.active {
    color: #2d5a3d;
    border-bottom-color: #2d5a3d;
}

.phone-header {
    background: #008C95;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.125rem; /* Senior-friendly: 18px */
    transition: background 0.3s;
    white-space: nowrap;
}

.phone-header:hover {
    background: #007580;
}

/* Hero Section */
.hero {
    background: white;
    padding: 0;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    min-height: 500px;
}

.hero-text {
    padding: 40px;
    text-align: left;
    color: #2c3e50;
}

.hero-text h1 {
    color: #2d5a3d;
    margin-bottom: 25px;
    font-size: 2.4rem;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.hero-text p {
    color: #555555;
    margin-bottom: 35px;
    font-size: 1.2rem;
    line-height: 1.7;
}

.hero-image {
    height: 100%;
    min-height: 500px;
    background-image: url('senior-therapy.jpg');
    background-size: cover;
    background-position: center;
    background-color: #e8f4ea;
}

/* CTA Button - Stanford Teal Style */
.cta-button {
    display: inline-block;
    background: #008C95;
    color: white;
    padding: 16px 40px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: none;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #007580;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 140, 149, 0.3);
}

/* Sections */
.section {
    padding: 90px 0;
    background: white;
}

.section:nth-child(even) {
    background: #fafafa;
}

.section h2 {
    font-size: 2.1rem;
    color: #2d5a3d;
    margin-bottom: 35px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section h3 {
    font-size: 1.5rem;
    color: #2d5a3d;
    margin: 40px auto 20px;
    max-width: 900px;
    font-weight: 700;
}

.section p {
    font-size: 1.125rem; /* Senior-friendly: 18px */
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #555555;
    line-height: 1.8;
}

/* Cards */
.cards {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 50px 0;
    justify-content: center;
}

.card {
    background: #f0f0f0;
    padding: 45px 35px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    border: none;
    flex: 1 1 280px;
    max-width: 350px;
    text-align: center;
}

.section:nth-child(even) .card {
    background: #f0f0f0;
}

.card h3 {
    margin-top: 0;
    margin-bottom: 18px;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2d5a3d;
}

.card p {
    font-size: 1.125rem; /* Senior-friendly: 18px */
    margin-bottom: 0;
    line-height: 1.7;
    color: #555555;
}

/* Checklist */
.checklist {
    max-width: 800px;
    margin: 40px auto;
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #2d5a3d;
}

.checklist-item {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checklist-item:last-child {
    border-bottom: none;
}

.check {
    color: #2d5a3d;
    font-weight: 700;
    font-size: 2.25rem; /* Extra large: 36px */
    flex-shrink: 0;
    line-height: 1;
}

/* How It Works Grid */
.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin: 40px auto;
    max-width: 1200px;
}

@media (max-width: 1024px) {
    .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 600px !important;
    }
}

@media (max-width: 768px) {
    .how-it-works-grid {
        grid-template-columns: 1fr !important;
        max-width: 100% !important;
    }
}

.how-step {
    background: #f0f0f0;
    padding: 30px 25px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    border: none;
    text-align: center;
}

.how-step h3 {
    font-size: 1.625rem; /* Extra large: 26px */
    margin: 0 0 15px;
    color: #2d5a3d;
    font-weight: 700;
}

.how-step p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
    color: #555;
}

.step-number {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #2d5a3d 0%, #3d7a50 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.how-step h3 {
    margin: 0 0 10px 0;
    font-size: 1.625rem; /* Extra large: 26px */
}

.how-step p {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.trust-badge {
    background: #e8f4ea;
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid #2d5a3d;
    text-align: center;
    flex: 1 1 200px;
    max-width: 280px;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.badge-value {
    font-size: 2.5rem;
    color: #2d5a3d;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1;
}

.badge-label {
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.4;
}

/* Section Banner */
.section-banner {
    background: linear-gradient(135deg, #2d5a3d 0%, #3d7a50 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0;
}

.section-banner h2 {
    color: white;
    font-size: 2.3rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.section-banner p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 800px;
    margin: 0 auto;
}

/* Service Area Grid */
.service-area-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin: 40px auto;
    max-width: 900px;
    text-align: center;
}

.city-name {
    font-size: 1.125rem; /* Senior-friendly: 18px */
    font-weight: 600;
    color: #2d5a3d;
}

/* Footer */
footer {
    background: #2d5a3d;
    color: white;
    padding: 60px 0 30px;
}

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

footer h4 {
    margin-bottom: 18px;
    font-size: 1.125rem; /* Senior-friendly: 18px */
}

footer p {
    line-height: 1.8;
    opacity: 0.9;
    margin-bottom: 8px;
}

footer a {
    color: white;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.8;
}

/* FAQ Styles */
.faq-item {
    background: white;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    border-left: 4px solid #2d5a3d;
    margin-bottom: 25px;
}

.faq-item h3 {
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    color: #2d5a3d;
}

.faq-item p {
    margin: 0;
    font-size: 1.125rem; /* Senior-friendly: 18px */
}

/* Responsive */
@media (max-width: 968px) {
    .main-nav {
        order: 3;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }

    .section {
        padding: 60px 0;
    }

    .section h2 {
        font-size: 1.85rem;
        margin-bottom: 25px;
    }

    .section h3 {
        font-size: 1.625rem; /* Extra large: 26px */
        margin: 35px auto 18px;
    }

    .cards, .how-it-works-grid {
        gap: 25px;
        margin: 40px 0;
    }

    .card, .how-step {
        padding: 30px 25px;
    }

    .hero-content {
        grid-template-columns: 1fr;
    }
    
    .hero-text {
        text-align: center;
        padding: 30px 20px;
    }
    
    .hero-text h1 {
        font-size: 1.9rem;
    }
    
    .hero-image {
        min-height: 350px;
        order: -1;
    }

    .section-banner {
        padding: 50px 0;
    }

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

    .trust-badges {
        gap: 20px;
    }

    .service-area-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    footer {
        padding: 50px 0 25px;
    }

    .footer-content {
        gap: 40px;
        margin-bottom: 35px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 18px;
    }

    .section {
        padding: 50px 0;
    }

    .section h2 {
        font-size: 1.65rem;
        margin-bottom: 25px;
    }

    .section h3 {
        font-size: 1.2rem;
        margin: 30px auto 15px;
    }

    .section p {
        font-size: 1.125rem; /* Senior-friendly: 18px */
        margin-bottom: 18px;
    }

    .cards, .how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin: 35px 0;
    }

    .card, .how-step {
        padding: 25px 20px;
        max-width: 100%;
    }

    .header-content {
        padding: 15px 0;
        gap: 12px;
    }

    .logo {
        font-size: 1.15rem;
    }

    .logo-subtitle {
        font-size: 1rem; /* Senior minimum: 16px */
        margin-top: 2px;
    }

    .phone-header {
        padding: 10px 20px;
        font-size: 1rem; /* Senior minimum: 16px */
    }

    .main-nav {
        gap: 15px;
    }

    .nav-link {
        font-size: 1rem; /* Senior minimum: 16px */
    }

    .hero-text {
        padding: 30px 15px;
    }

    .hero-text h1 {
        font-size: 1.65rem;
        margin-bottom: 18px;
    }

    .hero-text p {
        font-size: 1.125rem; /* Senior-friendly: 18px */
        margin-bottom: 25px;
    }

    .section-banner {
        padding: 40px 0;
    }

    .section-banner h2 {
        font-size: 1.75rem;
    }

    .section-banner p {
        font-size: 1.125rem; /* Senior-friendly: 18px */
    }

    .cta-button {
        padding: 14px 30px;
        font-size: 1rem;
    }

    /* Mobile Trust Badges */
    .trust-badges {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
        margin: 30px 0;
    }

    .trust-badge {
        max-width: 100%;
        padding: 35px 25px;
        min-height: 120px;
    }

    .badge-value {
        font-size: 2.5rem;
        margin-bottom: 10px;
    }

    .badge-label {
        font-size: 1.125rem; /* Senior-friendly: 18px */
    }

    /* Checklist Mobile */
    .checklist {
        padding: 25px 20px;
    }

    .checklist-item {
        padding: 15px 0;
        gap: 15px;
    }

    .check {
        font-size: 1.5rem;
    }

    footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 35px;
        margin-bottom: 30px;
    }

    footer h4 {
        margin-bottom: 15px;
    }

    footer p {
        margin-bottom: 10px;
    }

    .footer-bottom {
        padding-top: 25px;
        font-size: 1rem; /* Senior minimum: 16px */
    }

    .service-area-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .city-name {
        font-size: 1.125rem; /* Senior-friendly: 18px */
        padding: 8px 0;
    }

    /* FAQ Mobile */
    .faq-item {
        padding: 20px;
        margin-bottom: 20px;
    }

    .faq-item h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
    }

    .faq-item p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section {
        padding: 40px 0;
    }

    .section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }

    .section h3 {
        font-size: 1.15rem;
        margin: 25px auto 12px;
    }

    .section p {
        font-size: 1rem;
        margin-bottom: 16px;
    }

    .cards, .how-it-works-grid {
        gap: 18px;
        margin: 30px 0;
    }

    .card, .how-step {
        padding: 22px 18px;
    }

    .hero-text {
        padding: 25px 15px;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 22px;
    }

    .section-banner {
        padding: 35px 0;
    }

    .section-banner h2 {
        font-size: 1.6rem;
        margin-bottom: 12px;
    }

    .section-banner p {
        font-size: 1rem;
    }

    .cta-button {
        padding: 13px 28px;
        font-size: 1rem; /* Senior minimum: 16px */
        width: 100%;
        max-width: 300px;
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    .phone-header {
        width: 100%;
        text-align: center;
        order: 4;
        padding: 12px 18px;
        font-size: 1rem; /* Senior minimum: 16px */
    }

    .main-nav {
        width: 100%;
        order: 3;
        justify-content: space-around;
        gap: 8px;
    }

    .nav-link {
        font-size: 1rem; /* Senior minimum: 16px */
        padding: 6px 8px;
    }

    .logo {
        font-size: 1.125rem; /* Senior-friendly: 18px */
    }

    .logo-subtitle {
        font-size: 0.95rem; /* Small print minimum */
    }

    /* Trust badges - extra padding on mobile */
    .trust-badges {
        gap: 18px;
        margin: 25px 0;
    }

    .trust-badge {
        padding: 30px 20px;
        min-height: 110px;
    }

    .badge-value {
        font-size: 2.2rem;
    }

    .badge-label {
        font-size: 1rem; /* Senior minimum: 16px */
    }

    /* Checklist */
    .checklist {
        padding: 20px 18px;
    }

    .checklist-item {
        padding: 12px 0;
        font-size: 1rem; /* Senior minimum: 16px */
    }

    /* How it works steps */
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.625rem; /* Extra large: 26px */
        margin-bottom: 15px;
    }

    .how-step h3 {
        font-size: 1.125rem; /* Senior-friendly: 18px */
        margin-bottom: 8px;
    }

    .how-step p {
        font-size: 1rem; /* Senior minimum: 16px */
        margin-bottom: 8px;
    }

    /* Service Area Grid */
    .service-area-grid {
        gap: 12px;
    }

    .city-name {
        font-size: 1rem;
        padding: 6px 0;
    }

    /* Footer */
    footer {
        padding: 35px 0 18px;
    }

    footer h4 {
        font-size: 1rem;
        margin-bottom: 12px;
    }

    footer p {
        font-size: 1rem; /* Senior minimum: 16px */
        margin-bottom: 8px;
    }

    .footer-content {
        gap: 30px;
        margin-bottom: 25px;
    }

    .footer-bottom {
        padding-top: 20px;
        font-size: 0.85rem;
    }

    /* FAQ */
    .faq-item {
        padding: 18px;
        margin-bottom: 18px;
    }

    .faq-item h3 {
        font-size: 1.125rem; /* Senior-friendly: 18px */
        margin-bottom: 10px;
    }

    .faq-item p {
        font-size: 1rem; /* Senior minimum: 16px */
    }
}

/* Form Styling Improvements */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea {
    width: 100%;
    padding: 14px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-size: 1rem;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none;
    border-color: #2d5a3d;
}

button[type="submit"] {
    width: 100%;
    background: #008C95;
    color: white;
    padding: 16px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

button[type="submit"]:hover {
    background: #007580;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 140, 149, 0.3);
}

@media (max-width: 768px) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    textarea {
        padding: 12px;
        font-size: 1rem;
    }
    
    button[type="submit"] {
        padding: 14px;
        font-size: 1rem;
    }
}

/* Link Styling Consistency */
a.inline-link {
    color: #2d5a3d;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 2px solid #2d5a3d;
    transition: opacity 0.3s ease;
}

a.inline-link:hover {
    opacity: 0.7;
}

/* Ensure consistent paragraph spacing */
.section p + p {
    margin-top: 20px;
}

/* Trust badge consistency */
.trust-badge p {
    margin-bottom: 0;
}

/* Card consistency */
.card p:last-child,
.how-step p:last-child {
    margin-bottom: 0;
}

/* Better mobile section spacing */
@media (max-width: 480px) {
    .section-banner {
        padding: 30px 15px;
    }
    
    .section-banner h2 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .section-banner p {
        font-size: 1rem; /* Senior minimum: 16px */
    }
}

/* Stanford-inspired refinements */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.3px;
}

/* Update trust badges */
.trust-badge {
    background: #f0f0f0;
    padding: 40px 30px;
    border-radius: 6px;
    border: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}

/* Update checklist */
.checklist {
    background: #f0f0f0;
    padding: 40px 35px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    border: none;
}

/* Update FAQ items */
.faq-item {
    background: #f0f0f0;
    padding: 30px 35px;
    border-radius: 6px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.1);
    border: none;
    margin-bottom: 20px;
}

.faq-item h3 {
    font-weight: 700;
}

/* Better paragraph spacing in sections */
.section > .container > p {
    color: #555555;
}

/* ============================================
   SENIOR-FRIENDLY RESPONSIVE ENHANCEMENTS
   ============================================ */

/* Tablet optimization (768px - 968px) */
@media (min-width: 769px) and (max-width: 968px) {
    body {
        font-size: 20px; /* Maintain large size */
        font-size: 20px; /* Maintain large readability */
    }
    
    .container {
        padding: 0 30px; /* More breathing room */
    }
    
    .section {
        padding: 70px 0; /* Generous spacing */
    }
    
    .section h2 {
        font-size: 2rem; /* 32px - maintain readability */
        margin-bottom: 30px;
    }
    
    .cards, .how-it-works-grid {
        grid-template-columns: repeat(2, 1fr); /* 2-column on tablet */
        gap: 30px;
    }
}

/* Mobile optimization - Maintain font sizes for seniors */
@media (max-width: 768px) {
    body {
        font-size: 20px; /* Maintain large size */
        font-size: 19px; /* Extra large for mobile seniors */
    }
    
    /* Increase touch targets */
    .cta, .phone-header, .nav-link {
        min-height: 44px; /* Apple's minimum touch target */
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Ensure readable font sizes on mobile */
    .section h2 {
        font-size: 1.875rem; /* 30px minimum on mobile */
        line-height: 1.3;
    }
    
    .section h3 {
        font-size: 1.5rem; /* 24px minimum */
        line-height: 1.4;
    }
    
    /* Comfortable spacing for touch */
    .card, .how-step {
        padding: 30px 20px; /* Generous padding */
        margin-bottom: 20px;
    }
    
    /* Stack navigation cleanly */
    .main-nav {
        flex-wrap: wrap;
        gap: 20px;
        padding: 15px 0;
    }
    
    .nav-link {
        padding: 12px 20px; /* Larger touch target */
        font-size: 1.0625rem; /* 17px */
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    body {
        font-size: 20px; /* Maintain large size */
        font-size: 19px; /* Still large on small screens */
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section {
        padding: 40px 0; /* Tighter but not cramped */
    }
    
    .section h2 {
        font-size: 1.75rem; /* 28px minimum */
        margin-bottom: 20px;
    }
    
    .section h3 {
        font-size: 1.25rem; /* 20px */
    }
    
    .hero-text h1 {
        font-size: 1.5rem; /* 24px */
        line-height: 1.3;
    }
    
    /* Comfortable spacing for small screens */
    .card, .how-step {
        padding: 25px 15px;
    }
    
    /* Larger buttons on small screens */
    .cta {
        width: 100%;
        padding: 16px 20px;
        font-size: 1.0625rem; /* 17px */
    }
}

/* Increase line spacing for better readability */
p, li {
    line-height: 1.8; /* Generous line spacing */
    margin-bottom: 1.2em;
}

/* Ensure adequate spacing between sections */
.section + .section {
    margin-top: 0;
}

/* Better spacing for lists */
ul, ol {
    padding-left: 1.5em;
    margin-bottom: 1.5em;
}

li {
    margin-bottom: 0.75em;
}

/* Comfortable button spacing */
.cta, .phone-header {
    padding: 14px 28px;
    margin: 8px 4px;
}

/* Footer spacing */
footer {
    padding: 60px 0 30px;
}

.footer-content {
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    footer {
        padding: 50px 0 25px;
    }
}

/* ============================================
   END RESPONSIVE ENHANCEMENTS
   ============================================ */

/* Explicit paragraph sizing for extra readability */
p {
    font-size: 1.125rem; /* 20px+ with 20px base = 22.5px */
    line-height: 1.8;
}

/* Larger buttons for easier clicking */
.cta, .phone-header {
    font-size: 1.25rem; /* 20px+ = 25px */
    padding: 16px 32px;
}

/* Ensure nav links are large enough */
.nav-link {
    font-size: 1.125rem; /* 20px+ = 22.5px */
}


/* ============================================
   ============================================ */

/* ============================================
   ============================================ */

/* ============================================
   ============================================ */

/* ============================================
   ============================================ */

/* ============================================
   SINGLE LINE MOBILE NAVIGATION
   ============================================ */

@media (max-width: 768px) {
    header {
        position: sticky;
        top: 0;
    }
    
    .header-content {
        padding: 10px 0 !important;
        gap: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }
    
    /* Top row: Logo and phone button side by side */
    .header-content > div:first-of-type {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        gap: 10px !important;
    }
    
    .logo {
        font-size: 0.95rem !important;
        line-height: 1.3 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        flex-shrink: 1 !important;
    }
    
    .logo-subtitle {
        display: none !important;
    }
    
    /* Phone button in same row as logo */
    .phone-header {
        display: flex !important;
        padding: 7px 12px !important;
        font-size: 0.8rem !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }
    
    /* Nav on second row - ALL LINKS ON ONE LINE */
    .main-nav {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        gap: 2px !important;
        padding: 8px 0 0 0 !important;
        flex-wrap: nowrap !important; /* KEY: Don't wrap! */
        overflow-x: auto !important; /* Allow scroll if needed */
    }
    
    .nav-link {
        font-size: 0.85rem !important;
        padding: 6px 4px !important;
        flex: 1 1 auto !important; /* Equal width, can shrink */
        text-align: center !important;
        white-space: nowrap !important;
        min-width: 0 !important; /* Allow shrinking */
    }
}

@media (max-width: 480px) {
    .header-content {
        padding: 8px 0 !important;
    }
    
    .logo {
        font-size: 0.85rem !important;
    }
    
    .phone-header {
        padding: 6px 10px !important;
        font-size: 0.75rem !important;
    }
    
    .nav-link {
        font-size: 0.75rem !important;
        padding: 5px 2px !important;
    }
}

/* ============================================
   END SINGLE LINE MOBILE NAVIGATION
   ============================================ */

/* ============================================
   MOBILE HERO IMAGE HEIGHT REDUCTION
   ============================================ */

@media (max-width: 768px) {
    .hero-image {
        min-height: 400px !important;
        max-height: 400px !important;
    }
}

@media (max-width: 480px) {
    .hero-image {
        min-height: 350px !important;
        max-height: 350px !important;
    }
}

/* ============================================
   END MOBILE HERO HEIGHT
   ============================================ */

/* ============================================
   FORM OPTIMIZATION FOR MOBILE
   ============================================ */

/* Better focus indicators */
input:focus,
textarea:focus {
    outline: 3px solid #008C95 !important;
    outline-offset: 2px;
    border-color: #008C95 !important;
}

/* Mobile-specific form styles */
@media (max-width: 768px) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    textarea {
        font-size: 16px !important; /* Prevents zoom on iOS */
        -webkit-appearance: none; /* Remove iOS styling */
        appearance: none;
    }
    
    /* Full-width submit button on mobile */
    button[type="submit"] {
        width: 100%;
        min-height: 48px;
        font-size: 1.1rem !important;
    }
}

/* ============================================
   END FORM OPTIMIZATION
   ============================================ */

/* ============================================
   COMPACT CARDS FOR MOBILE
   ============================================ */

@media (max-width: 768px) {
    .card {
        padding: 20px 18px !important;
        margin-bottom: 12px !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06) !important;
    }
    
    .card h3 {
        font-size: 1.3rem !important;
        margin-bottom: 8px !important;
        line-height: 1.2 !important;
    }
    
    .card p {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 480px) {
    .card {
        padding: 18px 15px !important;
        margin-bottom: 10px !important;
    }
    
    .card h3 {
        font-size: 1.2rem !important;
    }
    
    .card p {
        font-size: 0.9rem !important;
    }
}

/* ============================================
   END COMPACT CARDS FOR MOBILE
   ============================================ */

/* ============================================
   COLLAPSIBLE SECTION & VISUAL BREAK STYLES
   ============================================ */

/* Toggle button hover effect */
#togglePrivatePay:hover {
    background: #008C95 !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(45, 90, 61, 0.3);
}

/* Visual break CTA button hover */
.cta-button:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3) !important;
}

/* Smooth transitions */
#privatePayContent {
    transition: all 0.3s ease;
}

/* ============================================
   END COLLAPSIBLE SECTION STYLES
   ============================================ */

