/* ==========================================
   RECONNECTION CHIROPRACTIC - COMPLETE CSS
   Upload this entire file to assets/css/main.css
   ========================================== */

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f8f9fa;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
}

h1 { font-size: 2.5rem; color: #1976D2; }
h2 { font-size: 2rem; color: #1976D2; }
h3 { font-size: 1.5rem; color: #1976D2; }
h4 { font-size: 1.3rem; color: #333; }

p { margin-bottom: 1rem; }

a {
    color: #2196F3;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #1976D2;
    text-decoration: underline;
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.highlight {
    background: #E3F2FD;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    color: #1976D2;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #2196F3;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
}

.skip-link:focus {
    top: 0;
}

/* Header Styles */
.header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s;
}

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

/* Logo Styles - USING REAL LOGO */
.logo {
    display: flex;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-main-img {
    max-height: 50px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
}

.logo-fallback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #2196F3, #1976D2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1976D2;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 0;
    position: relative;
    font-size: 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #2196F3;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    background-color: #2196F3;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
}

/* Main Content */
.main-content {
    margin-top: 100px;
    min-height: calc(100vh - 100px);
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Page Titles */
.page-title {
    text-align: center;
    font-size: 2.8rem;
    color: #1976D2;
    margin-bottom: 1rem;
    font-weight: 600;
}

.page-subtitle {
    text-align: center;
    font-size: 1.8rem;
    color: #87CEEB;
    margin-bottom: 3rem;
    font-weight: 400;
}

/* Sections */
.section {
    margin: 3rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #1976D2;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.card-title {
    color: #1976D2;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Grids */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    text-decoration: none;
}

.btn-secondary {
    background: #2196F3;
    color: white;
}

.btn-secondary:hover {
    background: #1976D2;
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-outline {
    background: transparent;
    color: #2196F3;
    border: 2px solid #2196F3;
}

.btn-outline:hover {
    background: #2196F3;
    color: white;
    text-decoration: none;
}


.btn-dark {
    background: #424242;
    color: white;
}

.btn-dark:hover {
    background: #333;
    transform: translateY(-2px);
    text-decoration: none;
}

/* High contrast utility boxes */
.high-contrast-box {
    background: #424242;
    color: white;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
}

.high-contrast-box h4,
.high-contrast-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.high-contrast-box p {
    color: white;
    margin: 0;
}

/* Schedule widget gradient background */
.schedule-widget-gradient {
    background: linear-gradient(135deg, #f0f8ff, #f8f9fa);
    padding: 3rem;
    text-align: center;
    border-radius: 15px;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
}

.doctor-image {
    width: 100%;
    max-width: 300px;
    height: 300px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto;
    display: block;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.doctor-image-square {
    border-radius: 15px;
    height: auto;
    max-height: 400px;
}

.office-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.office-image:hover {
    transform: scale(1.05);
}

.content-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin: 1rem auto;
    display: block;
}

/* Image Fallbacks */
.image-fallback {
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1976D2;
    font-size: 2rem;
    border-radius: 10px;
    min-height: 200px;
    flex-direction: column;
    gap: 0.5rem;
}

.image-error {
    background: #f5f5f5;
    border: 2px dashed #ddd;
    padding: 2rem;
    text-align: center;
    color: #999;
    border-radius: 10px;
}

.image-error::before {
    content: "📷";
    display: block;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.image-error::after {
    content: "Image not available";
    display: block;
    font-size: 0.9rem;
}

/* Photo Gallery Styles */
.photo-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.photo-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.photo-gallery-item:hover {
    transform: translateY(-5px);
}

.photo-gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s;
}

.photo-gallery-item:hover img {
    transform: scale(1.1);
}

.photo-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 1rem;
    text-align: center;
    font-weight: 600;
}

/* Schedule page specific photo grid */
.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.photo-item {
    text-align: center;
    transition: transform 0.3s;
}

.photo-item:hover {
    transform: translateY(-3px);
}

.photo-item .photo-caption {
    position: static;
    background: none;
    color: #666;
    padding: 0.5rem 0 0 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Videos */
.video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: #f0f0f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e3f2fd, #bbdefb);
    color: #1976D2;
    font-size: 3rem;
    cursor: pointer;
    transition: background 0.3s;
    flex-direction: column;
    gap: 1rem;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #bbdefb, #90caf9);
}

.video-placeholder span {
    font-size: 1rem;
    font-weight: 600;
}

/* Testimonials */
.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
    text-align: center;
}

.testimonial-stars {
    color: #ffa726;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.testimonial-author {
    font-weight: 600;
    color: #1976D2;
}

/* Contact Info */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.contact-item strong {
    color: #1976D2;
}

/* Forms */
.form-group {
    margin-bottom: 1.5rem;
}

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

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #2196F3;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.focused .form-label {
    color: #2196F3;
}

.has-value .form-label {
    font-size: 0.9rem;
    color: #1976D2;
}

/* Hero Styles - FIXED HEADLINE BREAKING */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-content {
    max-width: 1000px; /* INCREASED from 800px to prevent headline breaking */
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 4rem; /* INCREASED from 3.5rem for more impact */
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    color: white;
    white-space: nowrap; /* PREVENTS breaking on desktop */
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.cta-button {
    display: inline-block;
    background: #4CAF50;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
}

.cta-button:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
    text-decoration: none;
}

/* CURRENT PATIENT NOTE - DARK NAVY TO AVOID COMPETITION */
.current-patient-note {
    background: #1565C0; /* Dark navy blue */
    border: 1px solid #0D47A1; /* Darker navy border */
    border-radius: 10px;
    padding: 1rem;
    margin: 1rem auto;
    text-align: center;
	max-width: 400px
}

.current-patient-note p {
    margin: 0;
    color: #E3F2FD; /* Light blue-gray text for contrast */
    font-weight: 500;
}

.current-patient-note a {
    color: #BBDEFB; /* Light blue for links */
    text-decoration: underline;
}

.current-patient-note a:hover {
    color: white;
    text-decoration: underline;
}

/* Three Circles Section */
.three-circles {
    padding: 4rem 2rem;
    background: #f8f9fa;
}

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

.circle-item {
    text-align: center;
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.circle-item:hover {
    transform: translateY(-5px);
}

.circle-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
    transition: box-shadow 0.3s ease;
}

.circle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.circle-item h3 {
    font-size: 1.5rem;
    color: #1976D2;
    margin-bottom: 1rem;
}

/* Circle Links */
.circle-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.circle-link:hover {
    transform: translateY(-5px);
    text-decoration: none;
}

.circle-link:hover .circle-image {
    box-shadow: 0 8px 25px rgba(33, 150, 243, 0.4);
}

/* Service Tags */
.service-tag {
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #1976D2;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin: 0.25rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Video Thumbnail Links */
.video-thumbnail-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.3s ease;
}

.video-thumbnail-link:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #333;
    color: white;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 3rem 2rem 2rem;
}

.footer-section h4 {
    color: #2196F3;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.footer-section h5 {
    color: #4CAF50;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
}

/* Updated: Make these specific titles match h4 blue */
.office-hours-title,
.service-state-title,
.follow-us-title {
    color: #2196F3 !important;
}

.footer-section p {
    color: #ccc;
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
    /* Removed: text-decoration: underline; */
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

/* Updated: Remove underline hover effect for quick links */
.footer-links a {
    padding: 0.25rem 0;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    /* Removed: border-bottom-color: #2196F3; */
    /* Removed: text-decoration: underline; */
    padding-left: 0.5rem;
}

.footer-tagline {
    color: #4CAF50 !important;
    font-weight: 600;
    margin-top: 1rem !important;
    font-style: italic;
}

.contact-item {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.contact-item strong {
    color: #4CAF50;
}

/* Service Areas Styling */
.service-areas {
    margin-bottom: 1.5rem;
}

.service-state {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #555;
}

.service-state:last-child {
    border-bottom: none;
}

.service-state h5 {
    margin-bottom: 0.25rem;
}

.service-state p {
    font-size: 0.9rem;
    line-height: 1.4;
}

.footer-reviews {
    padding-top: 1rem;
    border-top: 1px solid #555;
}

.footer-reviews a {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #2196F3;
    border-radius: 5px;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-reviews a:hover {
    background: #1976D2;
    transform: translateY(-1px);
    text-decoration: none;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid #555;
    padding: 1rem 2rem;
    background: #2a2a2a;
}

.footer-bottom-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-bottom-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: white;
}

.footer-bottom-links span {
    color: #666;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        padding: 2rem 1rem 1rem;
        gap: 1.5rem;
    }

    .footer-section {
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }

    .service-areas {
        text-align: left;
    }
    
    /* Updated: Center Office Hours on mobile */
    .contact-item {
        text-align: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-bottom-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer-content {
        padding: 1.5rem 1rem 1rem;
    }

    .footer-bottom {
        padding: 1rem;
    }

    .footer-bottom-links {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .service-state p {
        font-size: 0.85rem;
    }
}

/* Print Styles */
@media print {
    .footer {
        background: white !important;
        color: black !important;
    }
    
    .footer-section h4,
    .footer-section h5,
    .footer-tagline,
    .office-hours-title,
    .service-state-title,
    .follow-us-title {
        color: black !important;
    }
    
    .footer-section a,
    .footer-section p {
        color: black !important;
    }
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.slide-up {
    transform: translateY(30px);
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Styles - RESPONSIVE HEADLINE FIXES */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 3.5rem; /* Slightly smaller on large tablets */
        white-space: normal; /* Allow breaking on smaller screens */
    }
}
	
	@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        flex-direction: column;
        padding: 1rem 2rem;
        z-index: 999;
    }

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

    .mobile-menu-btn {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

    .mobile-menu-btn span {
        width: 25px;
        height: 3px;
        background: #333;
        transition: all 0.3s ease;
        border-radius: 2px;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile logo scaling */
    .logo-main-img {
        max-height: 50px;
        max-width: 200px;
    }

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

    .page-container {
        padding: 1rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .page-subtitle {
        font-size: 1.4rem;
    }

    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-bottom-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* RESPONSIVE HERO HEADLINE */
    .hero h1 { 
        font-size: 2.8rem; /* Smaller on tablets, allows natural breaking */
        white-space: normal;
    }

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

    .circles-grid {
        gap: 2rem;
    }

    .circle-image {
        width: 120px;
        height: 120px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }

    .container,
    .page-container {
        padding: 1rem;
    }

    .card {
        padding: 1.5rem;
    }

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

    .photo-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

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

    .service-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 480px) {
    .container,
    .page-container {
        padding: 1rem 0.5rem;
    }

    .card {
        padding: 1.5rem;
    }

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

    /* MOBILE HERO HEADLINE - SMALLEST SCREENS */
    .hero h1 {
        font-size: 2.2rem; /* Even smaller on mobile, natural breaking */
        white-space: normal;
    }

    .logo-main-img {
        max-height: 45px;
        max-width: 180px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus {
    outline: 2px solid #2196F3;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .mobile-menu-btn,
    .video-placeholder {
        display: none !important;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}