/* ============================================
   RESPONSIVE STYLES - Mobile First Approach
   ============================================ */

/* ============================================
   LARGE DESKTOP (1400px and up)
   ============================================ */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-title {
        font-size: var(--text-6xl);
    }
}

/* ============================================
   DESKTOP (1200px - 1399px)
   ============================================ */
@media (max-width: 1399px) {
    .hero-content {
        gap: var(--space-8);
    }

    .hero-floating-tags {
        right: -20px;
    }
}

/* ============================================
   LAPTOP (992px - 1199px)
   ============================================ */
@media (max-width: 1199px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-floating-tags {
        right: -10px;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .reviews-slider {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-top {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .footer-about {
        grid-column: 1 / -1;
        padding-right: 0;
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .treatment-content {
        grid-template-columns: 1fr 300px;
        gap: var(--space-8);
    }

    /* Service Page - Benefits Grid */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* FAQ Grid */
    .faq-grid {
        grid-template-columns: 1fr;
    }

    /* Blog Post */
    .blog-post-container {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .blog-sidebar {
        position: relative;
        top: 0;
    }
}

/* ============================================
   TABLET (768px - 991px)
   ============================================ */
@media (max-width: 991px) {
    html {
        font-size: 15px;
    }

    .header-top {
        display: none;
    }

    .nav-menu {
        display: none;
    }

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

    .nav-main {
        gap: var(--space-4);
    }

    .nav-cta .btn:not(.btn-primary) {
        display: none;
    }

    /* Mobile Navigation Menu */
    .mobile-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--white);
        z-index: var(--z-modal);
        padding: 80px var(--space-6) var(--space-6);
        transform: translateX(-100%);
        transition: transform var(--transition-normal);
        overflow-y: auto;
    }

    .mobile-nav.active {
        transform: translateX(0);
    }

    .mobile-nav-close {
        position: absolute;
        top: var(--space-4);
        right: var(--space-4);
        width: 44px;
        height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: var(--text-2xl);
    }

    .mobile-nav-menu {
        display: flex;
        flex-direction: column;
        gap: var(--space-2);
        margin-bottom: var(--space-8);
    }

    .mobile-nav-menu a {
        display: block;
        padding: var(--space-4);
        font-size: var(--text-lg);
        font-weight: var(--font-medium);
        border-radius: var(--radius-lg);
        transition: all var(--transition-fast);
    }

    .mobile-nav-menu a:hover,
    .mobile-nav-menu a.active {
        background-color: var(--light-gray);
        color: var(--primary-blue);
    }

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

    .mobile-nav-dropdown-content {
        display: none;
        padding-left: var(--space-4);
        margin-top: var(--space-2);
    }

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

    .mobile-nav-dropdown-content a {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-base);
    }

    .mobile-nav-cta {
        display: flex;
        flex-direction: column;
        gap: var(--space-3);
    }

    .mobile-nav-cta .btn {
        width: 100%;
        justify-content: center;
    }

    /* Hero Section */
    .hero {
        padding-top: 100px;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-video-wrapper {
        max-width: 100%;
        margin: var(--space-8) auto 0;
    }

    .hero-video-container {
        flex-direction: column;
        align-items: center;
    }

    .hero-video-frame video {
        height: 450px;
        max-width: 280px;
    }

    .hero-floating-tags {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: var(--space-6);
        gap: var(--space-3);
    }

    .hero-floating-card {
        padding: var(--space-3) var(--space-4);
    }

    .hero-floating-card.card-1,
    .hero-floating-card.card-2 {
        animation: none;
    }

    .hero-floating-card-icon {
        width: 44px;
        height: 44px;
    }

    /* About Preview */
    .about-preview-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .about-preview-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .about-preview-experience {
        bottom: -20px;
        right: -20px;
    }

    /* Video Section */
    .video-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .video-text {
        text-align: center;
    }

    /* Appointment Section */
    .appointment-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .appointment-text {
        text-align: center;
    }

    /* Founder Section */
    .founder-section {
        grid-template-columns: 1fr !important;
        gap: var(--space-8) !important;
        padding: var(--space-8) !important;
    }

    .founder-section h3 {
        font-size: 1.75rem !important;
    }

    .founder-section p {
        font-size: 1rem !important;
    }

    .appointment-contact {
        align-items: center;
    }

    /* Reviews Header */
    .reviews-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: var(--space-6);
    }

    /* Map Section */
    .map-info-card {
        position: relative;
        top: auto;
        left: auto;
        transform: none;
        max-width: 100%;
        margin-top: var(--space-6);
    }

    .map-container {
        height: 350px;
    }

    /* Contact Grid */
    .contact-grid {
        grid-template-columns: 1fr;
    }

    /* Treatment Content */
    .treatment-content {
        grid-template-columns: 1fr;
    }

    .treatment-sidebar {
        position: relative;
        top: 0;
    }

    /* Blog Featured */
    .blog-featured {
        grid-template-columns: 1fr;
    }

    .blog-featured-content {
        padding: var(--space-6);
    }

    .blog-featured-content h2 {
        font-size: var(--text-2xl);
    }

    /* Newsletter */
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Before/After Gallery */
    .before-after-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Video Gallery */
    .video-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Clinic Gallery */
    .clinic-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reviews Summary */
    .reviews-summary {
        grid-template-columns: 1fr;
    }

    .reviews-summary-cta {
        border-left: none;
        padding-left: 0;
        padding-top: var(--space-6);
        border-top: 1px solid var(--medium-gray);
    }

    /* Video Testimonials */
    .video-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Reviews Grid */
    .reviews-grid {
        grid-template-columns: 1fr;
    }

    /* Service Hero */
    .service-hero {
        padding: 120px 0 60px;
    }

    .service-hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    /* Service Hero - expand for breadcrumbs */
    .service-hero-text {
        max-width: 100%;
    }

    /* Service Hero Breadcrumbs - keep inline */
    .service-hero .breadcrumbs {
        display: flex;
        justify-content: center;
        padding: 0 !important;
        background: transparent !important;
        margin-bottom: var(--space-4);
        width: 100%;
    }

    .service-hero .breadcrumbs-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: var(--space-1);
        justify-content: center;
        align-items: center;
    }

    .service-hero .breadcrumbs-list li {
        display: flex !important;
        flex-shrink: 0;
        white-space: nowrap;
        gap: var(--space-1);
        align-items: center;
    }

    .service-hero-features {
        justify-content: center;
    }

    .service-hero-cta {
        justify-content: center;
    }

    .service-hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Content with Image */
    .content-with-image {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .content-image {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Benefits Grid */
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Procedure Steps */
    .procedure-steps {
        max-width: 100%;
    }

    /* NEW Procedure Cards Responsive */
    .procedure-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .procedure-timeline-vertical {
        padding-left: var(--space-10);
    }

    .procedure-timeline-vertical::before {
        left: 20px;
    }

    .procedure-timeline-marker {
        left: calc(-1 * var(--space-10) + 2px);
        width: 40px;
        height: 40px;
        font-size: var(--text-base);
    }

    /* Blog Post Mobile */
    .blog-post.section {
        padding-top: 140px;
    }

    .breadcrumbs {
        padding: var(--space-3) 0;
    }

    .breadcrumbs-list {
        font-size: var(--text-xs);
        flex-wrap: nowrap;
        gap: var(--space-1);
    }

    .breadcrumbs-list li {
        flex-shrink: 0;
        white-space: nowrap;
    }

    .blog-post-header h1 {
        font-size: var(--text-2xl);
    }

    .blog-post-featured-image {
        margin-top: var(--space-4);
        margin-bottom: var(--space-6);
    }

    .blog-post-content {
        padding-top: var(--space-4);
    }
}

/* ============================================
   MOBILE LARGE (576px - 767px)
   ============================================ */
@media (max-width: 767px) {
    html {
        font-size: 14px;
    }

    .section {
        padding-top: var(--space-12);
        padding-bottom: var(--space-12);
    }

    .section-lg {
        padding-top: var(--space-16);
        padding-bottom: var(--space-16);
    }

    h1 { font-size: var(--text-3xl); }
    h2 { font-size: var(--text-2xl); }
    h3 { font-size: var(--text-xl); }

    .section-title {
        font-size: var(--text-3xl);
    }

    /* Header */
    .header-main {
        padding: var(--space-3) 0;
    }

    .logo img {
        height: 36px;
    }

    .logo-text {
        font-size: var(--text-sm);
    }

    .logo-text span {
        font-size: var(--text-xs);
    }

    /* Hero */
    .hero-title {
        font-size: var(--text-3xl);
    }

    .hero-description {
        font-size: var(--text-base);
    }

    .hero-stats {
        gap: var(--space-4);
    }

    .hero-stat-number {
        font-size: var(--text-2xl);
    }

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

    .why-choose-grid {
        grid-template-columns: 1fr 1fr;
    }

    .reviews-slider {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctors-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Founder Section */
    .founder-section {
        padding: var(--space-6) !important;
    }

    .founder-section h3 {
        font-size: 1.5rem !important;
    }

    .founder-content p {
        font-size: 0.95rem !important;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    /* About Features */
    .about-features {
        grid-template-columns: 1fr;
    }

    /* Form Row */
    .form-row {
        grid-template-columns: 1fr;
    }

    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-about {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-column h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

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

    .footer-contact-item {
        justify-content: center;
        text-align: left;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

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

    /* Mobile CTA Bar */
    .mobile-cta-bar {
        display: block;
    }

    .fixed-buttons {
        bottom: 70px;
    }

    /* Page Hero */
    .page-hero {
        padding: 120px 0 60px;
    }

    .page-hero h1 {
        font-size: var(--text-3xl);
    }

    /* Cards */
    .service-card {
        padding: var(--space-6);
    }

    .service-card-icon {
        width: 60px;
        height: 60px;
    }

    .why-choose-card {
        padding: var(--space-6);
    }

    .why-choose-card-icon {
        width: 56px;
        height: 56px;
    }

    /* Breadcrumbs Mobile */
    .breadcrumbs {
        padding: var(--space-2) 0;
    }

    .breadcrumbs-list {
        font-size: var(--text-xs);
        flex-wrap: nowrap;
        gap: var(--space-1);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .breadcrumbs-list::-webkit-scrollbar {
        display: none;
    }

    .breadcrumbs-list li {
        flex-shrink: 0;
        white-space: nowrap;
    }

    /* Blog */
    .blog-categories {
        gap: var(--space-2);
    }

    .blog-category-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }

    .blog-pagination {
        gap: var(--space-2);
    }

    .pagination-btn {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }

    .newsletter-input-group {
        flex-direction: column;
    }

    /* Gallery */
    .gallery-filter {
        gap: var(--space-2);
    }

    .gallery-filter-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }

    .before-after-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .video-gallery-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .clinic-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    .video-play-overlay {
        width: 50px;
        height: 50px;
    }

    .video-play-overlay svg {
        width: 32px;
        height: 32px;
    }

    /* Reviews */
    .reviews-summary-main {
        flex-direction: column;
        text-align: center;
    }

    .score-number {
        font-size: var(--text-5xl);
    }

    .video-testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
    }

    .review-filter {
        gap: var(--space-2);
    }

    .review-filter-btn {
        padding: var(--space-2) var(--space-4);
        font-size: var(--text-sm);
    }

    .review-card-detailed {
        padding: var(--space-5);
    }

    /* Service Hero Mobile */
    .service-hero {
        padding: 100px 0 50px;
    }

    .service-hero h1 {
        font-size: var(--text-3xl);
    }

    .service-hero-features {
        flex-direction: column;
        align-items: center;
        gap: var(--space-3);
    }

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

    .service-hero-cta .btn {
        width: 100%;
    }

    /* Service Hero Breadcrumbs - keep inline on mobile */
    .service-hero-text {
        max-width: 100%;
    }

    .service-hero .breadcrumbs {
        display: flex;
        justify-content: center;
        padding: 0 !important;
        background: transparent !important;
        margin-bottom: var(--space-4);
        width: 100%;
    }

    .service-hero .breadcrumbs-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: var(--space-1);
        align-items: center;
    }

    .service-hero .breadcrumbs-list li {
        display: flex !important;
        flex-shrink: 0;
        white-space: nowrap;
        gap: var(--space-1);
        align-items: center;
    }

    /* Benefits Grid Mobile */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        padding: var(--space-6);
    }

    .benefit-icon {
        width: 64px;
        height: 64px;
    }

    /* Procedure Steps Mobile */
    .procedure-step {
        gap: var(--space-4);
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: var(--text-xl);
    }

    .procedure-step:not(:last-child)::after {
        left: 24px;
        top: 52px;
    }

    /* NEW Procedure Cards Mobile */
    .procedure-cards {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .procedure-card-header {
        padding: var(--space-4);
    }

    .procedure-card-number {
        width: 44px;
        height: 44px;
        font-size: var(--text-lg);
    }

    .procedure-card-header h4 {
        font-size: var(--text-base);
    }

    .procedure-card-body {
        padding: var(--space-4);
    }

    .procedure-card-body p {
        font-size: var(--text-sm);
    }

    .procedure-timeline-vertical {
        padding-left: var(--space-8);
    }

    .procedure-timeline-vertical::before {
        left: 16px;
        width: 3px;
    }

    .procedure-timeline-marker {
        left: calc(-1 * var(--space-8) + 0px);
        width: 36px;
        height: 36px;
        font-size: var(--text-sm);
        border-width: 3px;
    }

    .procedure-timeline-content {
        padding: var(--space-4);
    }

    .procedure-timeline-content h4 {
        font-size: var(--text-base);
    }

    .procedure-timeline-content p {
        font-size: var(--text-sm);
    }
}

/* ============================================
   MOBILE SMALL (up to 575px)
   ============================================ */
@media (max-width: 575px) {
    .container {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }

    h1 { font-size: var(--text-2xl); }
    h2 { font-size: var(--text-xl); }

    .section-title {
        font-size: var(--text-2xl);
    }

    /* Hero */
    .hero {
        padding-top: 80px;
    }

    .hero-title {
        font-size: var(--text-2xl);
    }

    .hero-badge {
        font-size: var(--text-xs);
        padding: var(--space-1) var(--space-3);
    }

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

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-stat {
        min-width: 100px;
    }

    .hero-video-frame video {
        height: 380px;
        max-width: 240px;
    }

    .hero-floating-tags {
        flex-direction: column;
        align-items: center;
    }

    .hero-floating-card {
        width: 100%;
        max-width: 220px;
        justify-content: center;
    }

    .hero-floating-card-icon {
        width: 40px;
        height: 40px;
    }

    .hero-floating-card-icon svg {
        width: 20px;
        height: 20px;
    }

    .hero-floating-card-text h4 {
        font-size: var(--text-xs);
    }

    .hero-floating-card-text p {
        font-size: 10px;
    }

    /* Buttons */
    .btn {
        padding: var(--space-3) var(--space-5);
        font-size: var(--text-sm);
    }

    .btn-lg {
        padding: var(--space-3) var(--space-6);
        font-size: var(--text-base);
    }

    /* Why Choose */
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    /* Gallery */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-3);
    }

    /* Reviews Rating */
    .reviews-rating {
        flex-direction: column;
        text-align: center;
    }

    /* Appointment */
    .appointment-form-container {
        padding: var(--space-5);
    }

    .appointment-contact-item {
        flex-direction: column;
        text-align: center;
    }

    /* Founder Section */
    .founder-section {
        padding: var(--space-5) !important;
    }

    .founder-section h3 {
        font-size: 1.35rem !important;
    }

    .founder-content p {
        font-size: 0.9rem !important;
    }

    /* Contact Info */
    .contact-info {
        padding: var(--space-6);
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-form-card {
        padding: var(--space-5);
    }

    /* Map Info */
    .map-info-card {
        padding: var(--space-5);
    }

    .map-info-item {
        flex-direction: column;
        text-align: center;
    }

    /* Footer */
    .footer-social {
        justify-content: center;
    }

    .footer-bottom-links {
        gap: var(--space-4);
    }

    /* Fixed Buttons */
    .fixed-btn {
        width: 48px;
        height: 48px;
    }

    /* Video Play Button */
    .video-play-btn {
        width: 60px;
        height: 60px;
    }

    /* Treatment Sidebar */
    .treatment-sidebar-card {
        padding: var(--space-4);
    }

    /* Breadcrumbs Small Mobile */
    .breadcrumbs {
        padding: var(--space-2) 0;
    }

    .breadcrumbs-list {
        font-size: 11px;
        line-height: 1.4;
    }

    .breadcrumbs-list li {
        gap: var(--space-1);
    }

    .breadcrumbs-list li:not(:last-child)::after {
        margin-left: var(--space-1);
    }

    /* Blog Small Mobile */
    .blog-featured-content {
        padding: var(--space-5);
    }

    .blog-featured-content h2 {
        font-size: var(--text-xl);
    }

    .blog-post.section {
        padding-top: 120px;
    }

    .blog-post-header {
        margin-bottom: var(--space-5);
    }

    .blog-post-featured-image {
        margin-bottom: var(--space-5);
    }

    .blog-post-content {
        font-size: var(--text-base);
    }

    .pagination-numbers {
        display: none;
    }

    .newsletter-form {
        padding: var(--space-4);
    }

    /* Gallery Small Mobile */
    .clinic-gallery-grid {
        grid-template-columns: 1fr;
    }

    .handle-circle {
        width: 32px;
        height: 32px;
    }

    .handle-circle svg {
        width: 16px;
        height: 16px;
    }

    /* Reviews Small Mobile */
    .reviews-summary {
        padding: var(--space-5);
    }

    .reviews-summary-cta {
        padding-top: var(--space-5);
    }

    .review-card-header {
        flex-direction: column;
        text-align: center;
    }

    .reviewer-meta {
        justify-content: center;
    }

    /* Lightbox Small Mobile */
    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
    }

    .lightbox-prev {
        left: var(--space-2);
    }

    .lightbox-next {
        right: var(--space-2);
    }

    /* Service Hero Small Mobile */
    .service-hero {
        padding: 90px 0 40px;
    }

    .service-hero-text {
        max-width: 100%;
    }

    .service-hero h1 {
        font-size: var(--text-2xl);
    }

    .service-hero-description {
        font-size: var(--text-base);
    }

    /* Service Hero Breadcrumbs Small Mobile */
    .service-hero .breadcrumbs {
        display: flex;
        justify-content: center;
        padding: 0 !important;
        background: transparent !important;
        margin-bottom: var(--space-4);
        width: 100%;
    }

    .service-hero .breadcrumbs-list {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: center;
        gap: var(--space-1);
        align-items: center;
        font-size: 11px;
    }

    .service-hero .breadcrumbs-list li {
        display: flex !important;
        flex-shrink: 0;
        white-space: nowrap;
        gap: var(--space-1);
        align-items: center;
    }

    /* Procedure Steps Small Mobile */
    .procedure-step {
        flex-direction: column;
        text-align: center;
    }

    .procedure-step:not(:last-child)::after {
        display: none;
    }

    .step-content {
        padding-top: 0;
    }
}

/* ============================================
   VERY SMALL DEVICES (up to 375px)
   ============================================ */
@media (max-width: 375px) {
    html {
        font-size: 13px;
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .hero-stat {
        display: flex;
        align-items: center;
        gap: var(--space-3);
    }

    .hero-stat-number {
        font-size: var(--text-xl);
    }

    .mobile-cta-bar-content {
        flex-direction: column;
    }

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

    /* Blog Post Very Small Mobile */
    .blog-post.section {
        padding-top: 100px;
    }

    .blog-post-header h1 {
        font-size: var(--text-xl);
        line-height: 1.3;
    }

    .blog-post-content {
        font-size: var(--text-base);
    }

    /* Blog Content Boxes */
    .info-box,
    .warning-box,
    .cta-box,
    .myth-fact-box {
        padding: var(--space-4);
        margin: var(--space-4) 0;
    }

    .blog-post-share {
        flex-direction: column;
        gap: var(--space-3);
    }

    .share-buttons {
        flex-wrap: wrap;
    }
}

/* ============================================
   LANDSCAPE MODE ADJUSTMENTS
   ============================================ */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: var(--space-8);
    }

    .hero-image {
        display: none;
    }

    .page-hero {
        padding: 100px 0 40px;
    }
}

/* ============================================
   HIGH DPI / RETINA DISPLAYS
   ============================================ */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Add any retina-specific styles here */
}

/* ============================================
   REDUCED MOTION PREFERENCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .header,
    .footer,
    .fixed-buttons,
    .mobile-cta-bar,
    .mobile-nav,
    .btn,
    .video-section,
    .map-section,
    .appointment-section {
        display: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    .container {
        max-width: 100%;
        padding: 0;
    }

    .section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }

    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        color: #000;
    }

    img {
        max-width: 100%;
        page-break-inside: avoid;
    }

    a {
        text-decoration: underline;
    }

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
    }
}

/* ============================================
   DARK MODE SUPPORT (Optional Enhancement)
   ============================================ */
@media (prefers-color-scheme: dark) {
    /*
    Uncomment and customize if you want automatic dark mode support

    :root {
        --white: #1a1a2e;
        --off-white: #16213e;
        --light-gray: #0f3460;
        --medium-gray: #1a1a2e;
        --dark-gray: #a0a0a0;
        --text-primary: #eaeaea;
        --text-secondary: #b0b0b0;
    }
    */
}

/* ============================================
   TOUCH DEVICE OPTIMIZATIONS
   ============================================ */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .why-choose-card:hover,
    .review-card:hover,
    .blog-card:hover,
    .doctor-card:hover,
    .benefit-card:hover {
        transform: none;
    }

    /* Increase tap target sizes */
    .btn {
        min-height: 48px;
    }

    .nav-menu a {
        padding: var(--space-3) var(--space-4);
    }

    /* Make sure clickable elements are easily tappable */
    a, button {
        min-height: 44px;
        min-width: 44px;
    }
}

/* ============================================
   FOCUS VISIBLE STYLES (Accessibility)
   ============================================ */
:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

button:focus:not(:focus-visible),
a:focus:not(:focus-visible) {
    outline: none;
}

/* ============================================
   DOCTOR MODAL RESPONSIVE STYLES
   ============================================ */
@media (max-width: 768px) {
    .doctor-modal .modal-content {
        max-width: 95% !important;
        width: 95% !important;
        max-height: 85vh !important;
        border-radius: 16px !important;
    }

    .doctor-modal .modal-content > div:first-child {
        padding: 20px 16px !important;
    }

    .doctor-modal .modal-content > div:first-child > div {
        flex-direction: column !important;
        text-align: center;
        gap: 16px !important;
    }

    .doctor-modal .modal-content > div:last-child {
        padding: 20px 16px !important;
    }

    #doctorModalName {
        font-size: 1.25rem !important;
    }

    #doctorModalSpecialty {
        font-size: 0.85rem !important;
        justify-content: center !important;
    }

    #doctorModalBio {
        padding: 20px !important;
    }

    #doctorModalBioText p {
        font-size: 0.95rem !important;
        margin-bottom: 12px !important;
    }

    #doctorModalExpertiseList > div span {
        font-size: 0.92rem !important;
    }
}

@media (max-width: 480px) {
    .doctor-modal .modal-content {
        max-width: 100% !important;
        width: 100% !important;
        max-height: 100vh !important;
        border-radius: 0 !important;
    }

    .doctor-modal .modal-content > div:first-child {
        padding: 16px !important;
    }

    .doctor-modal .modal-content > div:last-child {
        padding: 16px !important;
    }

    #doctorModalBio {
        padding: 16px !important;
    }
}
