/* ===== GLOBAL STYLES ===== */
:root {
    --primary: #0077b6;
    --primary-dark: #005f8a;
    --primary-light: #48cae4;
    --accent: #00b4d8;
    --gradient-primary: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    --gradient-hero: linear-gradient(135deg, rgba(0, 119, 182, 0.9) 0%, rgba(0, 180, 216, 0.8) 100%);
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.7;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text-dark);
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.lead {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

/* ===== TOP BAR ===== */
.top-bar {
    background: var(--gradient-primary);
    padding: 12px 0;
    font-size: 0.9rem;
}

.top-bar a {
    color: white !important;
    text-decoration: none;
    transition: var(--transition);
    opacity: 0.9;
}

.top-bar a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.top-bar i {
    margin-right: 5px;
}

/* ===== HEADER ===== */
.main-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo {
    height: 60px;
    width: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
}

.site-subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ===== NAVIGATION ===== */
.header-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 5px;
    padding: 10px 18px;
    border-radius: 25px;
    transition: var(--transition);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.header-nav .nav-link:hover,
.header-nav .nav-link.active {
    background: var(--gradient-primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* ===== SIDEBAR ===== */
#sidebar {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background: var(--bg-white);
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    padding: 80px 20px 40px;
    z-index: 1000;
}

#sidebar.active {
    left: 0;
}

#sidebar .nav-link {
    color: var(--text-dark) !important;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

#sidebar .nav-link:hover {
    background: var(--bg-light);
    color: var(--primary) !important;
    transform: translateX(5px);
}

#sidebar .nav-link i {
    font-size: 1.1rem;
    color: var(--primary);
}

#sidebarToggle {
    z-index: 1100;
    position: fixed;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    font-size: 1.3rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

#sidebarToggle:hover {
    transform: scale(1.05);
}

#sidebarToggle.active {
    left: 295px;
}

#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 900;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#sidebar.active~#overlay {
    display: block;
    opacity: 1;
}

/* ===== FLOATING CALL BUTTON ===== */
.floating-call-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    z-index: 999;
    text-decoration: none;
    animation: pulse-call 2s infinite;
    transition: var(--transition);
}

.floating-call-btn:hover {
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5);
}

@keyframes pulse-call {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(16, 185, 129, 0.6), 0 0 0 10px rgba(16, 185, 129, 0.1);
    }
}

/* ===== SIDEBAR CTA ===== */
.sidebar-cta {
    padding: 20px;
    margin-top: 20px;
    border-top: 1px solid #e5e7eb;
}

.btn-sidebar-call {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.btn-sidebar-call:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    width: 100%;
    height: 85vh;
    min-height: 500px;
    overflow: hidden;
}

#heroCarousel {
    height: 100%;
}

#heroCarousel .carousel-inner,
#heroCarousel .carousel-item {
    height: 100%;
}

#heroCarousel .carousel-item img {
    object-fit: cover;
    object-position: center;
    width: 100%;
    height: 100%;
    filter: brightness(0.7);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.6) 0%, rgba(0, 180, 216, 0.4) 100%);
    z-index: 10;
    pointer-events: none;
    /* Allow clicks to pass through to carousel controls */
}

.hero-content {
    text-align: center;
    color: white;
    max-width: 800px;
    padding: 40px;
    pointer-events: none;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s;
    animation-fill-mode: both;
}

.btn-hero {
    background: white;
    color: var(--primary);
    padding: 15px 40px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
    animation: fadeInUp 1s ease 0.4s;
    animation-fill-mode: both;
    pointer-events: auto;
    /* Re-enable clicks for the button */
    position: relative;
    z-index: 30;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--primary-dark);
}

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

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

/* Ensure carousel transition is smooth */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    margin: 0 20px;
    backdrop-filter: blur(10px);
    opacity: 0.8;
    transition: var(--transition);
    z-index: 20;
    /* Higher than hero-overlay (10) */
    pointer-events: auto;
    /* Ensure clickable */
    cursor: pointer;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.3);
}

/* ===== SECTION STYLES ===== */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
}

/* ===== ABOUT SECTION ===== */
.about-us {
    background: var(--bg-white);
}

.profile-wrapper {
    position: relative;
    display: inline-block;
}

.profile-photo {
    width: 280px;
    height: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    border: 5px solid white;
    position: relative;
    z-index: 2;
}

.profile-decoration {
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 20px;
    top: 20px;
    left: 20px;
    z-index: 1;
}

.about-content {
    padding-left: 30px;
}

.about-content p {
    margin-bottom: 20px;
}

.about-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: 500;
    color: var(--text-dark);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.feature-item:hover i {
    color: white;
}

.feature-item i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: var(--transition);
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
    background: var(--bg-light);
}

.gallery-hint {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-top: 10px;
}

.gallery-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    aspect-ratio: 4/3;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-hero);
    padding: 20px;
    transform: translateY(100%);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-overlay i {
    color: white;
    font-size: 1.8rem;
}

.gallery-overlay span {
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85vh;
    transform: scale(0.8);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

#lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.lightbox-caption {
    text-align: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 20px;
    padding: 0 20px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    z-index: 10001;
    line-height: 1;
}

.lightbox-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0.7;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

/* Lightbox animation */
@keyframes zoomIn {
    from {
        transform: scale(0.5);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.lightbox.active #lightbox-img {
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Body scroll lock when lightbox is open */
body.lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }

    .lightbox-close {
        top: 15px;
        right: 15px;
        font-size: 2.5rem;
    }

    .lightbox-caption {
        font-size: 1rem;
    }
}

/* ===== SERVICES SECTION ===== */
.services {
    background: var(--bg-white);
}

.service-card {
    background: var(--bg-light);
    padding: 30px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    text-align: left;
    border: 1px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon i {
    font-size: 1.5rem;
    color: white;
}

.service-card h4 {
    color: var(--text-dark);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: none;
}

.service-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.service-card ul li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.service-card ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
}

/* ===== DENTAL TIPS SECTION ===== */
.dental-tips {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.tip-card {
    background: var(--bg-white);
    padding: 35px 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    text-align: center;
}

.tip-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.tip-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.tip-icon i {
    font-size: 1.8rem;
    color: white;
}

.tip-card h4 {
    color: var(--text-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.tip-card p {
    font-size: 0.95rem;
    margin: 0;
}

/* ===== MAP SECTION ===== */
.map-section {
    background: var(--bg-white);
}

.map-container {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.map-container iframe {
    display: block;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
}

.contact-card {
    background: var(--bg-white);
    padding: 35px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
    height: 100%;
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-card h5 {
    color: var(--text-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 0.95rem;
    margin: 0;
}

.contact-card a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.contact-card a:hover {
    color: var(--primary-dark);
}

/* ===== HOURS CARD ===== */
.hours-card {
    background: var(--bg-white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    height: 100%;
}

.hours-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.hours-header i {
    font-size: 1.8rem;
    color: var(--primary);
}

.hours-header h4 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--text-dark);
}

.hours-note {
    background: var(--gradient-primary);
    color: white;
    display: inline-block;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 20px;
}

.hours-table {
    width: 100%;
    border-collapse: collapse;
}

.hours-table td {
    padding: 12px 0;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.95rem;
}

.hours-table tr:last-child td {
    border-bottom: none;
}

.hours-table td:first-child {
    font-weight: 600;
    color: var(--text-dark);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--primary);
    font-weight: 500;
}

.hours-table tr.closed td {
    color: #ef4444;
}

.hours-table tr.closed td:last-child {
    color: #ef4444;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-dark);
    color: white;
    padding: 30px 0;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    margin-left: 10px;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

/* ===== ANIMATIONS ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
    .header-nav {
        display: none;
    }

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

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

    h2 {
        font-size: 2rem;
    }

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

    .profile-photo {
        width: 220px;
        height: 220px;
    }

    .about-content {
        padding-left: 0;
        margin-top: 30px;
    }

    /* Hours card mobile */
    .hours-card {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .hero {
        height: 70vh;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

    .btn-hero {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .top-bar {
        font-size: 0.8rem;
        padding: 10px 0;
    }

    .top-bar a {
        display: block;
        margin-bottom: 8px;
        margin-right: 0 !important;
    }

    .top-bar a:last-child {
        margin-bottom: 0;
    }

    .profile-decoration {
        display: none;
    }

    .about-features {
        justify-content: center;
    }

    .gallery-item {
        aspect-ratio: 16/9;
    }

    /* Service cards mobile */
    .service-card {
        padding: 25px 20px;
    }

    .service-card h4 {
        font-size: 1.1rem;
    }

    .service-icon {
        width: 50px;
        height: 50px;
    }

    .service-icon i {
        font-size: 1.2rem;
    }

    /* Hours table mobile */
    .hours-table td {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    .hours-header h4 {
        font-size: 1.1rem;
    }

    /* Contact cards mobile */
    .contact-card {
        padding: 25px 20px;
    }

    .contact-card h5 {
        font-size: 1rem;
    }

    .contact-card p {
        font-size: 0.9rem;
    }

    /* Tips mobile */
    .tip-card {
        padding: 25px 20px;
    }

    .tip-icon {
        width: 60px;
        height: 60px;
    }

    .tip-icon i {
        font-size: 1.5rem;
    }

    /* Section header mobile */
    .section-header {
        margin-bottom: 35px;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 15px;
    }

    /* Map mobile */
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 576px) {
    .hero-content {
        padding: 20px;
    }

    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .site-title {
        font-size: 1.1rem;
    }

    .site-subtitle {
        font-size: 0.8rem;
    }

    .logo {
        width: 50px;
        height: 50px;
    }

    .profile-photo {
        width: 160px;
        height: 160px;
    }

    .service-card,
    .tip-card {
        padding: 20px 15px;
    }

    .service-card h4 {
        font-size: 1rem;
    }

    .service-card ul li {
        font-size: 0.85rem;
        padding: 6px 0;
        padding-left: 15px;
    }

    /* About section mobile */
    .about-content p {
        font-size: 0.95rem;
    }

    .about-content .lead {
        font-size: 1rem;
    }

    .feature-item {
        padding: 10px 15px;
        font-size: 0.85rem;
    }

    .feature-item i {
        font-size: 1rem;
    }

    /* Hours card extra small */
    .hours-card {
        padding: 20px;
    }

    .hours-table td {
        font-size: 0.85rem;
        padding: 8px 0;
    }

    .hours-header i {
        font-size: 1.4rem;
    }

    .hours-header h4 {
        font-size: 1rem;
    }

    .hours-note {
        font-size: 0.8rem;
        padding: 5px 12px;
    }

    /* Contact cards extra small */
    .contact-card {
        padding: 20px 15px;
    }

    .contact-icon {
        width: 50px;
        height: 50px;
    }

    .contact-icon i {
        font-size: 1.2rem;
    }

    /* Hero mobile */
    .hero {
        height: 60vh;
        min-height: 400px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .btn-hero {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    /* Footer mobile */
    .footer {
        padding: 20px 0;
    }

    .footer p {
        font-size: 0.8rem;
    }

    .footer-social a {
        width: 35px;
        height: 35px;
    }

    /* Map extra small */
    .map-container iframe {
        height: 280px;
    }

    /* Section padding */
    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {

    /* Larger touch targets for mobile */
    .nav-link {
        padding: 12px 15px;
    }

    .contact-card a {
        display: inline-block;
        padding: 5px 0;
    }

    /* Disable hover effects on touch devices */
    .service-card:hover,
    .tip-card:hover,
    .contact-card:hover {
        transform: none;
    }

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

    .gallery-overlay {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 119, 182, 0.9));
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        height: 100vh;
        min-height: 300px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }

    .btn-hero {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}