/*
Lafayette Heart and Vascular Clinic - Main Stylesheet
Design: Classic Medical (Option B)
Colors: Purple #5B3A9E, Red #E31E24, Blue #2E5AAC
Fonts: Playfair Display (headings) + Lato (body)
*/

/* ============================================================================
   RESET & BASE STYLES
   ============================================================================ */

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Lato', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    line-height: 1.2;
    color: #2E5AAC;
    margin-bottom: 1rem;
}

h1 { font-size: 2.625rem; } /* 42px */
h2 { font-size: 2rem; } /* 32px */
h3 { font-size: 1.5rem; } /* 24px */
h4 { font-size: 1.25rem; } /* 20px */

p { margin-bottom: 1rem; }

a {
    color: #5B3A9E;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover { color: #E31E24; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul { list-style: none; }

/* ============================================================================
   LAYOUT
   ============================================================================ */

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

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

.section-header h2 {
    margin-bottom: 0.5rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: #5B3A9E;
    color: #fff;
    border-color: #5B3A9E;
}

.btn-primary:hover {
    background-color: #4A2F7F;
    color: #fff;
}

.btn-secondary {
    background-color: transparent;
    color: #5B3A9E;
    border-color: #5B3A9E;
}

.btn-secondary:hover {
    background-color: #5B3A9E;
    color: #fff;
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.125rem;
}

/* ============================================================================
   HEADER
   ============================================================================ */

.header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    flex-wrap: wrap;
}

.logo img {
    height: 110px;
    width: auto;
}

.nav ul {
    display: flex;
    gap: 2rem;
}

.nav a {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.nav a:hover,
.nav a.active {
    color: #5B3A9E;
}

.nav a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #E31E24;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.phone-number svg {
    vertical-align: middle;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
    background: linear-gradient(135deg, #5B3A9E 0%, #7B5ABE 100%);
    color: #fff;
    padding: 3rem 0;
    text-align: center;
}

.hero h1 {
    color: #fff;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature .icon {
    font-size: 1.5rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

/* ============================================================================
   SECTIONS
   ============================================================================ */

section {
    padding: 4rem 0;
}

.welcome {
    background-color: #F8F8F8;
}

.welcome-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.welcome-image {
    text-align: center;
}

.welcome-image img {
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(91, 58, 158, 0.2);
    margin: 0 auto;
}

.image-caption {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: #666;
}

/* ============================================================================
   SERVICES
   ============================================================================ */

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

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(91, 58, 158, 0.2);
}

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

.service-card h3 {
    color: #5B3A9E;
    margin-bottom: 1rem;
}

.service-card ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.service-card li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #666;
}

.service-link {
    color: #E31E24;
    font-weight: 600;
    display: inline-block;
    margin-top: 1rem;
}

/* ============================================================================
   FEATURES
   ============================================================================ */

.why-choose-us {
    background-color: #F8F8F8;
}

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

.feature {
    text-align: center;
    padding: 1.5rem;
}

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

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

/* ============================================================================
   CTA SECTIONS
   ============================================================================ */

.appointments-cta {
    background: linear-gradient(135deg, #2E5AAC 0%, #5B3A9E 100%);
    color: #fff;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.cta-text h2,
.cta-text h3 {
    color: #fff;
}

.office-hours,
.insurance-info {
    background: rgba(255,255,255,0.1);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.contact-box {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.contact-box h3 {
    color: #5B3A9E;
    text-align: center;
    margin-bottom: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    padding: 0.75rem;
    background: #F8F8F8;
    border-radius: 5px;
}

.contact-label {
    font-weight: 600;
    color: #333;
}

.emergency-note {
    text-align: center;
    margin-top: 1rem;
    color: #E31E24;
    font-size: 0.9rem;
}

/* ============================================================================
   FOOTER
   ============================================================================ */

.footer {
    background-color: #2E5AAC;
    color: #fff;
    padding: 3rem 0 1rem;
}

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

.footer-logo {
    max-width: 140px;
    margin-bottom: 1rem;
}

.tagline-main {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 0.25rem;
}

.tagline-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.25rem;
    line-height: 1.4;
}

.footer h4 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

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

.footer a {
    color: rgba(255,255,255,0.8);
}

.footer a:hover {
    color: #fff;
}

.social-links {
    margin-top: 1.5rem;
}

.social-links a {
    display: inline-block;
    margin-right: 1rem;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.social-links a:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-legal {
    margin-bottom: 1rem;
}

.legal-links {
    margin-top: 0.5rem;
}

.legal-links a {
    margin: 0 0.5rem;
}

.footer-disclaimer {
    opacity: 0.7;
    font-size: 0.875rem;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */

@media (max-width: 968px) {
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        padding: 1rem;
    }

    .nav.active {
        display: block;
    }

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

    .nav a {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #eee;
    }

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

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

    .welcome-content,
    .cta-content {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 576px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }

    .header-actions {
        width: 100%;
        justify-content: center;
        margin-top: 1rem;
    }

    .logo img {
        height: 60px;
    }

    .hero {
        padding: 3rem 0;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

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

    .btn-large {
        width: 100%;
    }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }

/* ============================================================================
   ACCESSIBILITY
   ============================================================================ */

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border-width: 0;
}

/* Focus styles for keyboard navigation */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid #5B3A9E;
    outline-offset: 2px;
}

/* ============================================================================
   ABOUT PAGE
   ============================================================================ */

.about-content {
    background-color: #fff;
}

.about-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.about-main {
    padding-right: 2rem;
}

.bio-intro {
    margin-bottom: 2rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #555;
    font-weight: 400;
}

.bio-section {
    margin-bottom: 2.5rem;
}

.bio-section h2 {
    color: #5B3A9E;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E31E24;
}

.bio-section h3 {
    color: #2E5AAC;
    margin-top: 1.5rem;
}

.credentials-list,
.affiliations-list {
    padding-left: 1.5rem;
    margin-top: 1rem;
}

.credentials-list li,
.affiliations-list li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #666;
    line-height: 1.8;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 1.5rem;
}

.expertise-category {
    background: #F8F8F8;
    padding: 1.5rem;
    border-radius: 8px;
}

.expertise-category h3 {
    color: #5B3A9E;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.expertise-category ul {
    padding-left: 1.5rem;
}

.expertise-category li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #666;
}

blockquote {
    background: #F8F8F8;
    border-left: 4px solid #E31E24;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    font-style: italic;
}

blockquote p {
    font-size: 1.125rem;
    color: #555;
    margin-bottom: 0.5rem;
}

blockquote cite {
    font-style: normal;
    font-weight: 600;
    color: #5B3A9E;
}

/* About Sidebar */
.about-sidebar {
    position: sticky;
    top: 100px;
}

.doctor-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 20px rgba(91, 58, 158, 0.15);
    overflow: hidden;
    margin-bottom: 2rem;
}

.doctor-photo {
    width: 100%;
    height: auto;
    display: block;
}

.doctor-info {
    padding: 1.5rem;
    text-align: center;
}

.doctor-info h3 {
    color: #2E5AAC;
    margin-bottom: 0.5rem;
}

.specialty {
    color: #666;
    font-size: 0.95rem;
}

.credentials-box,
.education-box,
.cta-box {
    background: #F8F8F8;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.credentials-box h4,
.education-box h4,
.cta-box h4 {
    color: #5B3A9E;
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.credentials-box ul,
.education-box ul {
    padding-left: 1.5rem;
}

.credentials-box li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #666;
}

.education-item {
    margin-bottom: 1.25rem;
}

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

.education-item strong {
    display: block;
    color: #5B3A9E;
    margin-bottom: 0.25rem;
}

.education-item p {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0;
}

.cta-box {
    background: linear-gradient(135deg, #5B3A9E 0%, #7B5ABE 100%);
    color: #fff;
    text-align: center;
}

.cta-box h4 {
    color: #fff;
}

.cta-box p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 1rem;
}

.cta-box .btn {
    width: 100%;
    margin-bottom: 1rem;
}

.contact-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.contact-info p {
    color: #fff;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* Responsive - About Page */
@media (max-width: 968px) {
    .about-layout {
        grid-template-columns: 1fr;
    }

    .about-main {
        padding-right: 0;
    }

    .about-sidebar {
        position: static;
    }

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

/* ============================================================================
   SERVICES PAGE
   ============================================================================ */

.services-intro {
    background-color: #F8F8F8;
    padding: 3rem 0;
}

.intro-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.service-detail {
    padding: 4rem 0;
}

.service-detail.alt-bg {
    background-color: #F8F8F8;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 3px solid #E31E24;
}

.service-icon-large {
    font-size: 4rem;
    flex-shrink: 0;
}

.service-header h2 {
    color: #5B3A9E;
    margin-bottom: 0.5rem;
}

.service-tagline {
    font-size: 1.125rem;
    color: #666;
    font-style: italic;
}

.service-body {
    max-width: 1000px;
}

.service-body > p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: #555;
}

.service-body h3 {
    color: #2E5AAC;
    margin: 2rem 0 1.5rem;
    font-size: 1.5rem;
}

.service-features {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.feature-item {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #5B3A9E;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.service-detail.alt-bg .feature-item {
    background: #fff;
}

.feature-item h4 {
    color: #5B3A9E;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-item p {
    color: #666;
    line-height: 1.8;
}

.feature-item ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.feature-item li {
    list-style: disc;
    margin-bottom: 0.5rem;
    color: #666;
}

.service-note {
    background: linear-gradient(135deg, #5B3A9E 0%, #7B5ABE 100%);
    color: #fff;
    padding: 1.5rem 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.service-note strong {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
}

/* Responsive - Services Page */
@media (max-width: 768px) {
    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-icon-large {
        font-size: 3rem;
    }
}

/* ============================================================================
   FAQ PAGE
   ============================================================================ */

.faq-disclaimer {
    background-color: #FFF3CD;
    padding: 2rem 0;
    border-bottom: 3px solid #E31E24;
}

.disclaimer-box {
    background: #fff;
    padding: 1.5rem;
    border-left: 4px solid #E31E24;
    border-radius: 5px;
    font-size: 1rem;
}

.disclaimer-box strong {
    color: #E31E24;
}

.faq-section {
    padding: 4rem 0;
}

.faq-category {
    margin-bottom: 3rem;
}

.faq-category h2 {
    color: #5B3A9E;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E31E24;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 10px rgba(91, 58, 158, 0.1);
}

.faq-question {
    width: 100%;
    background: #F8F8F8;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.125rem;
    font-weight: 600;
    color: #2E5AAC;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #e8e8e8;
}

.faq-question[aria-expanded="true"] {
    background: #5B3A9E;
    color: #fff;
}

.faq-question span:first-child {
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 1.5rem;
    background: #fff;
}

.faq-question[aria-expanded="true"] + .faq-answer {
    max-height: 2000px;
    padding: 1.5rem;
}

.faq-answer p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    list-style: disc;
    margin-bottom: 0.5rem;
    line-height: 1.8;
    color: #666;
}

.faq-answer a {
    color: #5B3A9E;
    text-decoration: underline;
}

.emergency-warning {
    background: #FFE5E5;
    border-left: 4px solid #E31E24;
    padding: 1rem;
    margin: 1rem 0;
}

.emergency-warning strong {
    color: #E31E24;
}

.faq-contact {
    background: linear-gradient(135deg, #5B3A9E 0%, #7B5ABE 100%);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    margin-top: 3rem;
}

.faq-contact h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.faq-contact-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.faq-contact .contact-method {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.faq-contact strong {
    color: #fff;
    font-size: 1rem;
}

.faq-contact a {
    color: #fff;
}

/* Responsive - FAQ Page */
@media (max-width: 768px) {
    .faq-question {
        font-size: 1rem;
        padding: 1rem;
    }

    .faq-contact-methods {
        flex-direction: column;
        gap: 1rem;
    }
}

/* ============================================================================
   CONTACT PAGE
   ============================================================================ */

.emergency-notice {
    background-color: #FFE5E5;
    padding: 1.5rem 0;
    border-bottom: 3px solid #E31E24;
}

.notice-box {
    background: #fff;
    padding: 1.25rem;
    border-left: 4px solid #E31E24;
    border-radius: 5px;
    text-align: center;
}

.notice-box strong {
    color: #E31E24;
}

.contact-section {
    padding: 4rem 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info-main h2,
.contact-form-container h2 {
    color: #5B3A9E;
    margin-bottom: 1rem;
}

.contact-info-main > p,
.form-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

.contact-details {
    margin: 2rem 0;
}

.contact-detail-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

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

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-detail-item h3 {
    color: #2E5AAC;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.contact-detail-item p {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

.map-link {
    color: #5B3A9E;
    font-weight: 600;
    display: inline-block;
    margin-top: 0.5rem;
}

.vcard-download {
    background: #F8F8F8;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.vcard-download h3 {
    color: #5B3A9E;
    margin-bottom: 0.5rem;
}

.vcard-download p {
    margin-bottom: 1rem;
}

/* Contact Form */
.contact-form-container {
    background: #F8F8F8;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 3px 20px rgba(0,0,0,0.08);
}

.form-disclaimer {
    background: #FFF3CD;
    border-left: 4px solid #E31E24;
    padding: 1rem;
    margin: 1rem 0 2rem;
    font-size: 0.95rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #333;
}

.contact-form .required {
    color: #E31E24;
}

.contact-form input[type="text"],
.contact-form input[type="tel"],
.contact-form input[type="email"],
.contact-form input[type="date"],
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-family: 'Lato', Arial, sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #5B3A9E;
}

.contact-form textarea {
    resize: vertical;
}

.contact-form input[type="checkbox"] {
    margin-right: 0.5rem;
}

.contact-form button[type="submit"] {
    width: 100%;
    margin-top: 1rem;
}

.form-note {
    text-align: center;
    font-size: 0.9rem;
    color: #666;
    margin-top: 1rem;
}

.form-message {
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
}

.form-message.success {
    background: #D4EDDA;
    border: 2px solid #28A745;
    color: #155724;
}

.form-message.error {
    background: #F8D7DA;
    border: 2px solid #DC3545;
    color: #721C24;
}

/* Consent Box */
.consent-box {
    background: #FFF3CD;
    border: 2px solid #E31E24;
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.consent-box label {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.consent-box input[type="checkbox"] {
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.consent-list {
    list-style: none;
    padding-left: 2rem;
    margin: 0.75rem 0;
}

.consent-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.consent-list li::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: #E31E24;
    font-weight: bold;
    font-size: 1.1rem;
}

.consent-note {
    margin-top: 1rem;
    margin-bottom: 0;
    padding-top: 1rem;
    border-top: 1px solid #D4A917;
    color: #666;
}

/* Map Section */
.map-section {
    padding: 4rem 0;
    background: #F8F8F8;
}

.map-section h2 {
    color: #5B3A9E;
    text-align: center;
    margin-bottom: 0.5rem;
}

.map-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    color: #666;
}

.map-container {
    margin: 2rem 0;
}

.map-container iframe {
    display: block;
}

.directions-info {
    max-width: 800px;
    margin: 2rem auto 0;
    padding: 2rem;
    background: #fff;
    border-radius: 10px;
}

.directions-info h3 {
    color: #2E5AAC;
    margin-bottom: 1rem;
}

.directions-info p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

/* Responsive - Contact Page */
@media (max-width: 968px) {
    .contact-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-form-container {
        padding: 1.5rem;
    }
}

@media (max-width: 576px) {
    .contact-detail-item {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ============================================================================
   PATIENT RESOURCES PAGE
   ============================================================================ */

.resources-section {
    padding: 4rem 0;
}

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

.resource-category h2 {
    color: #5B3A9E;
    font-size: 1.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #E31E24;
}

.resource-category > p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #666;
    margin-bottom: 2rem;
}

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

.resource-card,
.policy-card {
    background: #F8F8F8;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #5B3A9E;
}

.resource-card h3,
.policy-card h3 {
    color: #2E5AAC;
    margin-bottom: 1rem;
}

.resource-card ul,
.policy-card ul {
    padding-left: 1.5rem;
}

.resource-card li,
.policy-card li {
    list-style: disc;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: #666;
}

.resource-card-full {
    background: #F8F8F8;
    padding: 2.5rem;
    border-radius: 10px;
    margin: 2rem 0;
}

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

.insurance-grid h4 {
    color: #5B3A9E;
    margin-bottom: 0.5rem;
}

.important-notice,
.notice-box {
    background: #FFF3CD;
    border-left: 4px solid #E31E24;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    border-radius: 5px;
}

.documents-grid {
    display: grid;
    gap: 1.5rem;
    margin: 2rem 0;
}

.document-item {
    display: flex;
    gap: 1.5rem;
    align-items: start;
    background: #F8F8F8;
    padding: 2rem;
    border-radius: 10px;
}

.document-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.document-item h3 {
    color: #2E5AAC;
    margin-bottom: 0.5rem;
}

.document-item p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #666;
}

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

.rights-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin: 2rem 0;
}

.rights-column {
    background: #F8F8F8;
    padding: 2rem;
    border-radius: 10px;
}

.rights-column h3 {
    color: #5B3A9E;
    margin-bottom: 1rem;
}

.rights-column ul {
    padding-left: 1.5rem;
}

.rights-column li {
    list-style: disc;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: #666;
}

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

.resource-link-card {
    background: #F8F8F8;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #2E5AAC;
}

.resource-link-card h3 {
    color: #5B3A9E;
    margin-bottom: 0.5rem;
}

.resource-link-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.resource-link-card a {
    color: #E31E24;
    font-weight: 600;
}

.resource-cta {
    background: linear-gradient(135deg, #5B3A9E 0%, #7B5ABE 100%);
    padding: 3rem;
    border-radius: 15px;
    text-align: center;
    color: #fff;
    margin-top: 3rem;
}

.resource-cta h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.resource-cta p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

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

/* Responsive - Patient Resources Page */
@media (max-width: 968px) {
    .rights-section {
        grid-template-columns: 1fr;
    }

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

    .cta-buttons .btn {
        min-width: 250px;
    }
}

@media (max-width: 576px) {
    .document-item {
        flex-direction: column;
    }
}

/* ============================================================================
   LEGAL PAGES (Privacy Policy & Terms of Service)
   ============================================================================ */

.legal-content {
    padding: 4rem 0;
    background-color: #fff;
}

.legal-document {
    max-width: 900px;
    margin: 0 auto;
}

.legal-meta {
    background: #F8F8F8;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.legal-meta p {
    margin: 0;
    color: #666;
}

.legal-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 3rem;
}

.legal-intro p {
    margin-bottom: 1rem;
}

.legal-section {
    margin-bottom: 3rem;
}

.legal-section h2 {
    color: #5B3A9E;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #E31E24;
}

.legal-section h3 {
    color: #2E5AAC;
    font-size: 1.25rem;
    margin: 1.5rem 0 1rem;
}

.legal-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1rem;
}

.legal-section ul {
    margin: 1rem 0 1rem 2rem;
    padding: 0;
}

.legal-section li {
    list-style: disc;
    margin-bottom: 0.75rem;
    line-height: 1.8;
    color: #666;
}

.legal-section .contact-details {
    background: #F8F8F8;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.legal-section .contact-details p {
    margin-bottom: 1rem;
}

.legal-section .contact-details p:last-child {
    margin-bottom: 0;
}

.legal-footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid #E31E24;
    text-align: center;
}

.legal-footer p {
    color: #666;
    margin-bottom: 0.5rem;
}

/* Responsive - Legal Pages */
@media (max-width: 768px) {
    .legal-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .legal-section ul {
        margin-left: 1.5rem;
    }
}
