/* ============================================================================
   CSS VARIABLES - Centralized color and sizing system
   ============================================================================ */
:root {
    /* Colors */
    --color-black: #000000;
    --color-black-light: #1a1a1a;
    --color-white: #ffffff;
    --color-gray-dark: #333333;
    --color-gray: #666666;
    --color-gray-light: #cccccc;
    --color-green: #16a34a;
    --color-green-dark: #15803d;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.4s ease;
    
    /* Shadows */
    --shadow-sm: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.2);
    --shadow-md: 0 0.3125rem 1.25rem rgba(255, 255, 255, 0.05);
    --shadow-lg: 0 0.625rem 2rem rgba(0, 0, 0, 0.15);
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 0.9375rem;
    --radius-lg: 3.125rem;
    
    /* Container */
    --container-max-width: 75rem;
    --container-padding: 1.25rem;
    
    /* Background Images */
    --hero-background-image: url('Images/header.jpg');
}

/* ============================================================================
   RESET AND BASE STYLES
   ============================================================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    overflow-x: hidden;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
    -webkit-overflow-scrolling: touch;
    margin: 0;
    padding: 0;
    touch-action: pan-y;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--color-white);
    overflow-x: hidden;
    background-color: var(--color-black);
    width: 100%;
    max-width: 100vw;
    overscroll-behavior-y: none;
    overscroll-behavior-x: none;
    position: relative;
    margin: 0;
    padding: 0;
    touch-action: pan-y;
}

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

iframe {
    max-width: 100%;
}

video {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================================
   NAVIGATION STYLES - Mobile-First Design
   ============================================================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s ease;
}

.navbar.navbar-hidden {
    transform: translateY(-100%);
}

.nav-wrapper {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    z-index: 10001;
    transition: opacity 0.3s ease;
}

.nav-logo:hover {
    opacity: 0.8;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    display: block;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    width: 56px;
    height: 56px;
    min-width: 56px;
    min-height: 56px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 10010;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    outline: none;
    flex-shrink: 0;
}

.menu-icon {
    position: relative;
    width: 28px;
    height: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-icon-line {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: center;
    display: block;
}

.mobile-menu-toggle.active .menu-icon-line:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-toggle.active .menu-icon-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-toggle.active .menu-icon-line:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-menu-toggle:hover .menu-icon-line,
.mobile-menu-toggle:focus .menu-icon-line {
    background-color: #16a34a;
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

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

.nav-item {
    margin: 0;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    display: block;
}

.nav-link:hover {
    color: #16a34a;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #16a34a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* CTA Button Style for GET QUOTE */
.nav-link-cta {
    background: var(--color-green) !important;
    color: var(--color-white) !important;
    padding: 0.625rem 1.5rem !important;
    border-radius: var(--radius-lg) !important;
    box-shadow: 0 0.25rem 0.75rem rgba(22, 163, 74, 0.4) !important;
    font-weight: 600 !important;
    transition: all var(--transition-base) !important;
    margin-left: 0.5rem;
}

.nav-link-cta::after {
    display: none !important;
}

.nav-link-cta:hover {
    background: var(--color-green-dark) !important;
    transform: translateY(-0.125rem) !important;
    box-shadow: 0 0.5rem 1.25rem rgba(22, 163, 74, 0.6) !important;
    color: var(--color-white) !important;
}

/* Button text visibility - desktop shows "GET FREE ESTIMATE", mobile shows "GET QUOTE!" */
.btn-text-desktop {
    display: inline;
}

.btn-text-mobile {
    display: none;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        height: calc(100vh - 70px);
        max-height: calc(100vh - 70px);
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 0;
        margin: 0;
        gap: 0;
        transform: translateX(-100%);
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        overflow-x: hidden;
        scrollbar-width: none;
        -ms-overflow-style: none;
        z-index: 10005;
        visibility: hidden;
        opacity: 0;
    }
    
    .nav-menu::-webkit-scrollbar {
        display: none;
    }
    
    .nav-menu.active {
        transform: translateX(0);
        visibility: visible;
        opacity: 1;
    }
    
    .nav-item {
        width: 100%;
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        padding: 1.25rem 1.5rem;
        font-size: 1.1rem;
        width: 100%;
        display: block;
        min-height: 56px;
        display: flex;
        align-items: center;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-link:hover,
    .nav-link:focus {
        background: rgba(255, 255, 255, 0.1);
        color: #16a34a;
    }
    
    .nav-link:active {
        background: rgba(255, 255, 255, 0.15);
    }
    
    /* Hide GET QUOTE from mobile menu */
    .nav-link-cta {
        display: none !important;
    }
    
    /* Show mobile button text, hide desktop */
    .btn-text-desktop {
        display: none;
    }
    
    .btn-text-mobile {
        display: inline;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .nav-container {
        height: 70px;
        padding: 0 1rem;
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), var(--hero-background-image);
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
    color: white;
    position: relative;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

.hero-content {
    z-index: 2;
    max-width: 75rem;
    width: 100%;
    padding: 0 1.25rem;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-logo {
    max-width: 400px;
    width: 100%;
    height: auto;
    margin: 0 auto 1.25rem;
    display: block;
    filter: drop-shadow(0.125rem 0.125rem 0.5rem rgba(0, 0, 0, 0.7));
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 2.5rem;
    text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.5);
    max-width: 40rem;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 1.875rem;
    text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 0.5rem;
    margin-top: -0.5rem;
}

/* ============================================================================
   BUTTON STYLES
   ============================================================================ */
.btn {
    display: inline-block;
    padding: 0.9375rem 1.875rem;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 600;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--color-green);
    color: var(--color-white);
    box-shadow: 0 0.25rem 0.75rem rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
    background: var(--color-green-dark);
    transform: translateY(-0.1875rem);
    box-shadow: 0 0.625rem 1.5625rem rgba(22, 163, 74, 0.6);
}

.btn-secondary {
    background: transparent;
    color: var(--color-white);
    border: 0.125rem solid var(--color-white);
}

.btn-secondary:hover {
    background: var(--color-gray-dark);
    color: var(--color-white);
    transform: translateY(-0.1875rem);
}

.btn-large {
    padding: 1.125rem 2.1875rem;
    font-size: 1.1rem;
}

/* Statistics/Trust Section */
.stats-section {
    padding: 4rem 0;
    color: white;
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
}

.stats-section .container {
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-bottom: 2.5rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    align-items: start;
}

.stat-card {
    text-align: center;
    display: flex;
    justify-content: center;
}

.stat-content {
    max-width: 30rem;
    width: 100%;
    margin: 0 auto;
}

.stat-number {
    font-size: 4.2rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.75rem;
    line-height: 1.2;
    text-align: center;
}

.stat-number .no-break {
    white-space: nowrap;
}

/* Hide line breaks in stat-number on mobile */
@media (max-width: 768px) {
    .stat-number br {
        display: none;
    }
}

.stat-card h3 {
    font-size: 1.875rem;
    margin-bottom: 0.75rem;
    color: var(--color-green);
    font-weight: 600;
    text-align: center;
}

.stat-card p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding-top: 2rem;
    border-top: 0.0625rem solid rgba(255, 255, 255, 0.2);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2rem;
}

.trust-badge .emoji-icon {
    font-size: 1.5rem;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.trust-badge span {
    font-weight: 600;
    color: white;
}

/* Expert Construction Section */
.expert-section {
    padding: 3rem 0;
    background: #000000;
    width: 100%;
}

.expert-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2.5rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.expert-text h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #ffffff;
    line-height: 1.2;
}

.expert-text .highlight {
    color: #ffffff;
    font-size: 3.2rem;
}

.expert-text p {
    font-size: 1.1rem;
    color: #cccccc;
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.expert-images {
    position: relative;
    width: 100%;
    padding: 0;
}

.expert-image {
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.expert-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
}


/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0 3rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.testimonials-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 0.75rem;
    color: #ffffff;
    width: 100%;
    padding: 0;
}

.testimonials-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #cccccc;
    margin: 0 auto 2rem;
    padding: 0;
    max-width: 800px;
}

/* Testimonials Container */
.testimonials-container {
    position: relative;
    width: 100%;
    padding-top: 0.5rem;
    margin-top: -0.5rem;
}

.testimonials-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.testimonial-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.testimonial-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 0.75rem;
    height: 0.75rem;
}

.testimonial-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.faq-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0 1rem;
}

.faq-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.faq-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 0.75rem;
    height: 0.75rem;
}

.faq-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 350px));
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding-top: 0.5rem;
    margin-top: -0.5rem;
}

.testimonial-card {
    background: #1a1a1a;
    padding: 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 0.3125rem 1.25rem rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    max-width: 350px;
    margin: 0 auto;
}

.testimonial-card:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 2rem rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    font-size: 0.95rem;
    color: #ffffff;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.testimonial-info p {
    font-size: 0.8rem;
    color: #cccccc;
    margin: 0;
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: #000000;
    width: 100%;
}

/* Gallery Page CTA with Hero Image */
.cta-section.gallery-cta {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), var(--hero-background-image) !important;
    background-size: cover !important;
    background-position: center !important;
    background-attachment: scroll !important;
    position: relative !important;
    overflow: hidden !important;
}

.cta-section.gallery-cta .cta-box {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    max-width: 50rem !important;
}

.cta-section.gallery-cta .cta-box h2 {
    text-shadow: 0.0625rem 0.0625rem 0.25rem rgba(0, 0, 0, 0.5), 0 0 0.5rem rgba(0, 0, 0, 0.3) !important;
}

.cta-section.gallery-cta .cta-box p {
    text-shadow: 0.03125rem 0.03125rem 0.1875rem rgba(0, 0, 0, 0.5), 0 0 0.25rem rgba(0, 0, 0, 0.3) !important;
}

.cta-box {
    max-width: 50rem;
    margin: 0 auto;
    background: #1a1a1a;
    border: 0.1875rem solid #666666;
    border-radius: 0.9375rem;
    padding: 3rem;
    text-align: center;
}

.cta-label {
    display: block;
    font-size: 0.875rem;
    color: #cccccc;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    margin-bottom: 1rem;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.cta-box p {
    font-size: 1rem;
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 2rem;
}

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

.expert-text .btn {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}



/* Mobile Swipeable Services */
.mobile-services {
    display: none;
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    max-width: 25rem;
    padding: 0 1rem;
    animation: fadeInScale 1s ease 0.3s both;
}

.mobile-services-container {
    display: flex;
    transition: transform 0.3s ease;
    width: 100%;
    padding-top: 0.5rem;
    margin-top: -0.5rem;
}

.mobile-service-card {
    min-width: 100%;
    position: relative;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 0.625rem 1.875rem rgba(255, 255, 255, 0.1);
    background: #1a1a1a;
    padding: 1.875rem;
    min-height: 20rem;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    border: 0.125rem solid transparent;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-service-card:hover {
    border-color: rgba(0, 0, 0, 0.3);
    transform: translateY(-0.25rem);
}

.mobile-service-card:active {
    transform: scale(0.98);
    border-color: rgba(0, 0, 0, 0.5);
}

.mobile-service-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.mobile-service-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
    transition: filter 0.3s ease;
}

.mobile-service-card:hover .mobile-service-background img {
    filter: brightness(0.4);
}



.mobile-service-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: center;
}

.mobile-service-icon {
    text-align: center;
    margin-bottom: 1.25rem;
}

.mobile-service-icon .emoji-icon {
    font-size: 3.5rem;
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0.125rem 0.25rem rgba(0, 0, 0, 0.3));
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.mobile-service-content h3 {
    font-size: 1.6rem;
    margin-bottom: 0.9375rem;
    color: white;
    text-align: center;
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    word-wrap: break-word;
    hyphens: auto;
}

.mobile-service-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
    font-size: 0.95rem;
    text-shadow: 0 0.0625rem 0.125rem rgba(0, 0, 0, 0.5);
    margin-bottom: 1.25rem;
    word-wrap: break-word;
    hyphens: auto;
}





.mobile-services-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5625rem;
    padding: 0 0.5rem;
}

.mobile-services-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    width: 100%;
    max-width: 18.75rem;
    margin: 0 auto;
}

.mobile-services-slider {
    width: 100%;
    height: 0.375rem;
    border-radius: 0.1875rem;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}

.mobile-services-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #1a1a1a;
    cursor: pointer;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-services-slider::-webkit-slider-thumb:hover {
    background: #000000;
    transform: scale(1.1);
}

.mobile-services-slider::-moz-range-thumb {
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 50%;
    background: #1a1a1a;
    cursor: pointer;
    border: none;
    box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.mobile-services-slider::-moz-range-thumb:hover {
    background: #000000;
    transform: scale(1.1);
}

.mobile-services-slider-labels {
    display: flex;
    justify-content: center;
    width: 100%;
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    padding: 0 0.5rem;
}

.mobile-services-slider-labels span {
    cursor: default;
    transition: color 0.3s ease;
    text-align: center;
    font-weight: 600;
    color: #ffffff;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

/* Removed hover effect since labels are no longer clickable */

.mobile-services-swipe-hint {
    text-align: center;
    margin-top: 1.25rem;
    color: #666;
    font-size: 0.9rem;
    padding: 0 0.5rem;
}

/* About Section */
.about {
    padding: 3rem 0;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('Images/sidewalk.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    position: relative;
    width: 100%;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    scroll-margin-top: 80px;
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 1.5rem;
    align-items: start;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 2;
}

.about-header {
    text-align: center;
}

.about-header h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: #ffffff;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
}

/* Desktop: Stack header, image, then text */
@media (min-width: 769px) {
    .about-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
    }
    
    .about-header {
        grid-row: 1;
    }
    
    .about-image {
        grid-row: 2;
        justify-self: center;
    }
    
    .about-text {
        grid-row: 3;
    }
}

.about-image {
    width: 100%;
    margin: 0;
    padding: 0.5rem;
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image img {
    width: 40%;
    height: auto;
    display: block;
    object-fit: contain;
    margin: 0;
    padding: 0;
}

/* Desktop: Reduce image size further */
@media (min-width: 769px) {
    .about-image img {
        width: 25%;
    }
}

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

.about-text p {
    margin-bottom: 0.5rem;
    color: #ffffff;
    line-height: 1.6;
    font-size: 0.95rem;
    text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.5);
}

.about-text .btn {
    margin-top: 1rem;
}

.about-features {
    margin-top: 1.875rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    justify-items: center;
    align-items: center;
}

.feature {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem;
    margin-bottom: 0;
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    width: auto;
    min-width: 0;
    white-space: nowrap;
}

.feature:hover {
    background: rgba(0, 0, 0, 0.05);
    transform: translateY(-0.125rem);
}
.feature .emoji-icon {
    margin: 0 !important;
    font-size: 1.5rem;
    background: rgba(0, 0, 0, 0.1);
    width: 3rem;
    height: 3rem;
    min-width: 3rem;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    flex-basis: 3rem;
    line-height: 1;
}

.feature span:not(.emoji-icon) {
    font-weight: 500;
    color: #ffffff;
    line-height: 1.4;
    flex-shrink: 1;
    flex-grow: 0;
}



/* Quote Form Section */
.quote-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    position: relative;
    width: 100%;
    scroll-margin-top: 80px;
}

.quote-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
}

.quote-section p {
    text-align: center;
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 1rem;
}

.quote-form {
    max-width: 50rem;
    margin: 0 auto;
    background: #1a1a1a;
    padding: 2.5rem;
    border-radius: 0.9375rem;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 0.625rem 1.875rem rgba(255, 255, 255, 0.05);
    border: 0.125rem solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.quote-form:hover {
    border-color: rgba(0, 0, 0, 0.2);
    box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.12);
}

.quote-form .btn {
    display: block;
    margin: 0 auto;
    margin-top: 1.25rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.form-group {
    margin-bottom: 1.5625rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9375rem;
    border: 0.125rem solid #666666;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #333333;
    color: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
    box-shadow: 0 0 0 0.1875rem rgba(255, 255, 255, 0.2);
    transform: translateY(-0.0625rem);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999999;
}

.radio-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.checkbox-group {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    cursor: pointer;
    gap: 0.5rem;
}

.radio-label input[type="radio"] {
    width: auto;
    margin: 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
    vertical-align: middle;
    position: relative;
    top: 0;
}

/* FAQ Section */
.faq-section {
    padding: 0;
    margin: 0 auto;
    background: transparent;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
}

.faq-section h2 {
    margin: 0 auto;
    margin-bottom: 0.75rem;
    padding: 0;
    text-align: center;
    width: 100%;
    display: block;
    max-width: 100%;
}

.faq-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0 auto;
    margin-bottom: 1.5rem;
    padding: 0;
    width: 100%;
    max-width: 100%;
    display: block;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 260px));
    gap: 1rem;
    justify-content: center;
    justify-items: center;
    max-width: 100vw;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    padding: 0.5rem 0 0 0;
    margin-top: -0.5rem;
    overflow-y: visible;
}

/* Ensure FAQ section centers content */
.faq-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.faq-section h2,
.faq-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop: Center and space out FAQ modules */
@media (min-width: 769px) {
    .faq-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .faq-section h2 {
        text-align: center;
        width: 100%;
        margin: 0;
        margin-bottom: 0.75rem;
        padding: 0;
    }
    
    .faq-subtitle {
        text-align: center;
        margin: 0;
        margin-bottom: 2rem;
        padding: 0;
        max-width: 800px;
    }
    
    .faq-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        max-width: min(1400px, 100%);
        margin: 0 auto;
        padding: 0 4rem;
    }
    
    .faq-container {
        display: flex !important;
        flex-direction: row !important;
        grid-template-columns: none !important;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        padding: 0.5rem 1.5rem 0 1.5rem;
        margin: -0.5rem 0 0 0;
        justify-content: flex-start;
        align-items: flex-start;
        overflow-x: auto;
        overflow-y: visible;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        flex: 1;
        min-width: 0;
    }
    
    .faq-container::-webkit-scrollbar {
        display: none;
    }
    
    .faq-item {
        margin: 0;
        flex: 0 0 auto;
        min-width: 280px;
        max-width: 350px;
        width: 280px;
        scroll-snap-align: center;
    }
    
    /* Hide dots on desktop */
    .gallery-dots,
    .testimonials-dots,
    .faq-dots {
        display: none !important;
    }
    
    .faq-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        color: white;
        padding: 0;
        margin: 0;
    }
    
    .faq-arrow:hover {
        background: rgba(0, 0, 0, 0.9);
        border-color: rgba(255, 255, 255, 0.6);
        transform: translateY(-50%) scale(1.1);
    }
    
    .faq-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .faq-arrow-left {
        left: 0.5rem;
    }
    
    .faq-arrow-right {
        right: 0.5rem;
    }
    
    .faq-arrow .material-icons {
        font-size: 32px;
        line-height: 1;
        color: white;
    }
    
    /* Testimonials Section - Match FAQ styling */
    .testimonials-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 5rem 0 3rem 0;
        margin: 0;
    }
    
    .testimonials-section h2 {
        text-align: center;
        width: 100%;
        margin: 0;
        margin-bottom: 0.75rem;
        padding: 0;
    }
    
    .testimonials-subtitle {
        text-align: center;
        margin: 0 auto 2rem;
        padding: 0;
        max-width: 800px;
        width: 100%;
    }
    
    .testimonials-wrapper {
        position: relative;
        display: flex;
        align-items: center;
        width: 100%;
        max-width: min(1400px, 100%);
        margin: 0 auto;
        padding: 0 4rem;
    }
    
    .testimonials-container {
        width: 100%;
        max-width: 100%;
        padding: 0.5rem 1.5rem 0 1.5rem;
        margin: -0.5rem 0 0 0;
        overflow-x: auto;
        overflow-y: visible;
        flex: 1;
        min-width: 0;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .testimonials-container::-webkit-scrollbar {
        display: none;
    }
    
    .testimonials-grid {
        display: flex !important;
        flex-direction: row !important;
        grid-template-columns: none !important;
        gap: 1.5rem;
        width: 100%;
        max-width: 100%;
        justify-content: flex-start;
        align-items: flex-start;
        flex-wrap: nowrap;
        scroll-behavior: smooth;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        overflow: visible;
        padding-top: 0.5rem;
        margin-top: -0.5rem;
    }
    
    .testimonials-grid::-webkit-scrollbar {
        display: none !important;
    }
    
    .testimonial-card {
        flex: 0 0 auto;
        min-width: 280px;
        max-width: 350px;
        width: 280px;
        scroll-snap-align: center;
    }
    
    /* Hide dots on desktop */
    .testimonials-dots {
        display: none !important;
    }
    
    .testimonials-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.7);
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        width: 48px;
        height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 10;
        transition: all 0.3s ease;
        color: white;
        padding: 0;
        margin: 0;
    }
    
    .testimonials-arrow:hover {
        background: rgba(0, 0, 0, 0.9);
        border-color: rgba(255, 255, 255, 0.6);
        transform: translateY(-50%) scale(1.1);
    }
    
    .testimonials-arrow:active {
        transform: translateY(-50%) scale(0.95);
    }
    
    .testimonials-arrow-left {
        left: 0.5rem;
    }
    
    .testimonials-arrow-right {
        right: 0.5rem;
    }
    
    .testimonials-arrow .material-icons {
        font-size: 32px;
        line-height: 1;
        color: white;
    }
}

/* Hide arrows on mobile */
@media (max-width: 768px) {
    .faq-arrow,
    .testimonials-arrow {
        display: none;
    }
}

.faq-item {
    background: #1a1a1a;
    border: none;
    border-radius: 0.75rem;
    padding: 0;
    margin: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 0.3125rem 1.25rem rgba(255, 255, 255, 0.05);
    max-width: calc((100vw - 4rem) / 3);
    width: 260px;
    box-sizing: border-box;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    flex-direction: column;
    max-height: 60vh;
    height: auto;
}

/* Desktop: FAQ items closed by default, clickable */
@media (min-width: 769px) {
    .faq-item {
        max-height: none;
        height: auto;
    }
    
    .faq-item:not(.active) .faq-answer {
        max-height: 0 !important;
        padding: 0 !important;
        overflow: hidden;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.5rem !important;
        max-height: none !important;
        overflow-y: visible !important;
    }
    
    .faq-header {
        cursor: pointer !important;
        pointer-events: auto !important;
    }
    
    .faq-toggle {
        display: block !important;
    }
}

/* Mobile: FAQ items closed by default, touchable */
@media (max-width: 767px) {
    .faq-item {
        max-height: 60vh;
    }
    
    .faq-item:not(.active) .faq-answer {
        max-height: 0 !important;
        padding: 0 !important;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem;
        max-height: 40vh;
    }
    
    .faq-header {
        cursor: pointer;
        pointer-events: auto;
        touch-action: manipulation;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
        user-select: none;
    }
    
    .faq-toggle {
        display: block;
    }
}

.faq-item:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 2rem rgba(0, 0, 0, 0.15);
}

.faq-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    transition: background-color 0.3s ease;
    user-select: none;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.faq-header:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.faq-header * {
    pointer-events: none;
}

.faq-icon {
    display: none;
}

.faq-icon .emoji-icon {
    font-size: 1rem;
    line-height: 1;
}

.faq-question {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    flex: 1;
    text-align: left;
}

.faq-toggle {
    color: #ffffff;
    font-size: 1.25rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    display: inline-block;
    line-height: 1;
}

.faq-toggle.material-icons {
    font-size: 1.25rem;
    color: #ffffff;
}

.emoji-icon {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1rem;
    box-sizing: border-box;
    flex-shrink: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.faq-answer::-webkit-scrollbar {
    display: none;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    transition: max-height 0.4s ease, padding 0.4s ease;
    max-height: 40vh;
}

.faq-answer p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.8rem;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.faq-answer p:first-child {
    margin-top: 0;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

/* FAQ Mobile Responsive */
@media (max-width: 768px) {
    .contact-faq-wrapper {
        padding: 3rem 0;
    }
    
    .contact h2,
    .faq-section h2 {
        font-size: 2rem;
    }
    
    .faq-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .faq-container {
        grid-template-columns: repeat(auto-fit, minmax(180px, 200px));
        gap: 0.75rem;
        padding: 0 0.5rem;
    }
    
    .faq-item {
        max-width: 200px;
        max-height: 70vh;
    }
    
    .faq-header {
        padding: 1.125rem;
        gap: 0.5rem;
        min-height: 3rem;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    .faq-question {
        font-size: 0.8rem;
        line-height: 1.2;
        text-align: center;
    }
    
    .faq-answer {
        font-size: 0.7rem;
        padding: 0;
        max-height: 0;
        text-align: center;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.125rem;
        max-height: 30vh;
    }
    
    .faq-answer p {
        text-align: center;
    }
    
    .faq-header {
        justify-content: space-between;
    }
    
    .faq-item:not(.active) .faq-answer {
        max-height: 0 !important;
        padding: 0 !important;
    }
    
    .faq-icon {
        display: none;
    }
    
    .faq-icon .emoji-icon {
        font-size: 0.85rem;
    }
    
    .faq-toggle {
        font-size: 1rem;
    }
}

/* Contact and FAQ Wrapper */
.contact-faq-wrapper {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    position: relative;
    width: 100%;
}

.contact-faq-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.125rem;
    background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
}

.contact-faq-wrapper .container {
    display: block;
    width: 100%;
    max-width: var(--container-max-width);
    padding: 0 var(--container-padding);
    box-sizing: border-box;
}


.faq-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: white;
    width: 100%;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    color: white;
    padding: 3.125rem 0 1.25rem;
    position: relative;
    width: 100%;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0.125rem;
    background: linear-gradient(90deg, transparent, #1a1a1a, transparent);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2.5rem;
    margin-bottom: 1.875rem;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-about {
    flex-basis: 100%;
    max-width: 100%;
}

.footer-links,
.footer-contact {
    flex: 1;
    min-width: 150px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 1.25rem;
}

.footer-logo .emoji-icon {
    margin-right: 0.625rem;
    font-size: 1.8rem;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.footer-section h3 {
    margin-bottom: 1.25rem;
    color: #ecf0f1;
    text-align: center;
    font-size: 1.2rem;
}

.footer-contact h3 {
    margin-bottom: 0.5rem;
}

.footer-section p {
    text-align: center;
    color: #cccccc;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

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

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

.footer-section ul li a:hover {
    color: var(--color-green);
}

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

.footer-section p a:hover {
    color: var(--color-green);
    opacity: 1;
}

/* General link hover styling for all text links (excluding buttons, nav links, and gallery items) */
body a:not(.btn):not(.nav-link):not(.nav-link-cta):not(.social-links a):not(.gallery-item):not(.gallery-page-item):not(.chat-submit):hover {
    color: var(--color-green);
    transition: color 0.3s ease;
}

.footer-section p .emoji-icon {
    vertical-align: middle;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    display: inline-block;
    line-height: 1;
}


.social-links-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.socials-label {
    color: #cccccc;
    font-size: 1rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 0.9375rem;
    margin: 0;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    background: transparent;
    color: white;
    text-align: center;
    line-height: 1;
    border-radius: 50%;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links a .material-icons {
    font-size: 1.5rem;
    line-height: 1;
}

.social-links a svg {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.social-links a .facebook-logo {
    width: 2.5rem;
    height: 2.5rem;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    background: transparent;
    transform: translateY(-0.1875rem);
    opacity: 0.8;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.25rem;
    border-top: 0.0625rem solid #666666;
    color: #bdc3c7;
}

/* Floating Chat Box */
.floating-chat {
    position: fixed;
    bottom: 1.875rem;
    right: 1.875rem;
    z-index: 1000;
}

.chat-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.75rem;
    height: 3.75rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 100%);
    color: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    border: 0.125rem solid rgba(255, 255, 255, 0.2);
}

.chat-toggle .material-icons {
    font-size: 1.5rem;
    color: white;
}

.chat-toggle:hover {
    background: #000000;
    transform: scale(1.1);
    box-shadow: 0 0.5rem 1.5625rem rgba(0, 0, 0, 0.6);
}

.chat-box {
    position: absolute;
    bottom: 5rem;
    right: 0;
    width: 21.875rem;
    background: #000000;
    border-radius: 0.9375rem;
    box-shadow: 0 0.625rem 2.5rem rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(1.25rem);
    transition: all 0.3s ease;
    overflow: hidden;
}

.chat-box.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    background: #000000;
    color: white;
    padding: 1.25rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
}

.chat-header h4 {
    margin: 0;
    font-size: 1.1rem;
}

.chat-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.3125rem;
    border-radius: 50%;
    transition: background 0.3s ease;
}

.chat-close .material-icons {
    font-size: 1.2rem;
    color: white;
}

.chat-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chat-content {
    padding: 1.25rem;
    background: #000000;
}

.chat-content p {
    margin-bottom: 1.25rem;
    color: #ffffff;
    font-size: 0.9rem;
}

.chat-form {
    display: flex;
    flex-direction: column;
    gap: 0.9375rem;
}

.chat-form-group input,
.chat-form-group select,
.chat-form-group textarea {
    width: 100%;
    padding: 0.75rem 0.9375rem;
    border: 0.125rem solid #666666;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
    background: #1a1a1a;
    color: #ffffff;
}

.chat-form-group input:focus,
.chat-form-group select:focus,
.chat-form-group textarea:focus {
    outline: none;
    border-color: #ffffff;
}

.chat-form-group input::placeholder,
.chat-form-group textarea::placeholder {
    color: #999999;
}

.chat-form-group input::-webkit-input-placeholder,
.chat-form-group textarea::-webkit-input-placeholder {
    color: #999999;
}

.chat-form-group input::-moz-placeholder,
.chat-form-group textarea::-moz-placeholder {
    color: #999999;
}

.chat-form-group input:-ms-input-placeholder,
.chat-form-group textarea:-ms-input-placeholder {
    color: #999999;
}

.chat-submit {
    background: #666666;
    color: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chat-submit .emoji-icon {
    font-size: 1rem;
    vertical-align: middle;
    display: inline-block;
    line-height: 1;
}

.chat-submit:hover {
    background: #555555;
    transform: translateY(-0.125rem);
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 0.625rem rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Enhanced User Experience */
.service-card,
.mobile-service-card {
    will-change: transform;
}

.service-card:hover,
.mobile-service-card:hover {
    will-change: transform;
}

/* Navbar scroll behavior enhancements */
.navbar {
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    -moz-backface-visibility: hidden;
    -ms-backface-visibility: hidden;
    -o-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000;
    -moz-perspective: 1000;
    -ms-perspective: 1000;
    -o-perspective: 1000;
    perspective: 1000;
}

/* Improved focus states for accessibility */
.btn:focus,
.nav-link:focus,
.service-card:focus,
.mobile-service-card:focus {
    outline: 0.125rem solid #1a1a1a;
    outline-offset: 0.25rem;
}

/* Smooth transitions for all interactive elements */
* {
    scroll-behavior: smooth;
}

/* Responsive Design */
/* Large TV Screens (4K and above) */
@media (min-width: 2560px) {
    .container {
        max-width: 125rem;
    }
    
    .hero h1 {
        font-size: 5rem;
    }
    
    .hero-logo {
        max-width: 500px;
    }
    
    .hero p {
        font-size: 2rem;
    }
    
    .btn {
        padding: 1.5625rem 3.125rem;
        font-size: 1.3rem;
    }
    
    .services h2,
    .gallery h2,
    .about h2,
    .quote-section h2,
    .contact h2 {
        font-size: 3.5rem;
    }
    
    .service-card {
        padding: 3.75rem 2.5rem;
    }
    
    .service-card i {
        font-size: 4rem;
    }
    
    .service-card h3 {
        font-size: 2rem;
    }
    
    .service-card p {
        font-size: 1.2rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.875rem;
    }
    
    .gallery-item img {
        height: 21.875rem;
    }
    
    .quote-form {
        max-width: 62.5rem;
        padding: 3.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 1.125rem 1.25rem;
        font-size: 1.2rem;
    }
}

/* TV Screens (1080p and 1440p) */
@media (min-width: 1920px) and (max-width: 2559px) {
    .container {
        max-width: 100rem;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-logo {
        max-width: 450px;
    }
    
    .hero p {
        font-size: 1.6rem;
    }
    
    .btn {
        padding: 1.25rem 2.5rem;
        font-size: 1.1rem;
    }
    
    .services h2,
    .gallery h2,
    .about h2,
    .quote-section h2,
    .contact h2 {
        font-size: 3rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5625rem;
    }
    
    .gallery-item img {
        height: 18.75rem;
    }
    
    .quote-form {
        max-width: 56.25rem;
        padding: 3.125rem;
    }
}

/* Tablet Landscape */
@media (min-width: 1024px) and (max-width: 1366px) {
    .container {
        max-width: 62.5rem;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero-logo {
        max-width: 350px;
    }
    
    .hero p {
        font-size: 1.4rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5625rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        gap: 2.5rem;
    }
}

/* Tablet Portrait */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: 43.75rem;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .hero-logo {
        max-width: 320px;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.9375rem;
    }
}

/* Mobile Landscape */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        height: 80vh;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero-logo {
        max-width: 280px;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 0.9375rem;
    }
    
    .nav-item-desktop-only {
        display: none;
    }
    
    .services-grid {
        display: none;
    }
    
    .mobile-services {
        display: block;
        max-width: 30rem;
    }
    
    /* Show mobile gallery, hide desktop gallery */
    .gallery-grid {
        display: none;
    }
    
    .mobile-gallery {
        display: block;
    }
    
    /* Contact and FAQ wrapper - stack vertically on mobile */
    .contact-faq-wrapper .container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-content {
        gap: 1.875rem;
    }
    
    .contact-map {
        margin-bottom: 1.875rem;
    }
    
    .contact h2,
    .faq-section h2 {
        text-align: center;
    }
    
    .faq-subtitle {
        text-align: center;
    }
    
    /* Features keep 2-column layout on mobile landscape */
    .about-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .feature {
        margin-bottom: 0;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr 1fr;
        gap: 1.875rem;
    }
}

/* Responsive Styles for New Sections */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expert-content,
    .projects-content,
    .service-areas-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expert-images {
        width: 100%;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 320px));
        gap: 1.25rem;
        justify-content: center;
    }
    
    .testimonial-card {
        padding: 1.25rem;
        max-width: 320px;
    }
    
    .testimonial-quote {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .testimonial-info h4 {
        font-size: 0.9rem;
    }
    
    .testimonial-info p {
        font-size: 0.75rem;
    }
    
    .services-hero-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-header-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-logo {
        max-width: 300px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stat-number {
        font-size: 4.2rem;
    }
    
    .expert-text h2 {
        font-size: 2rem;
    }
    
    .expert-text .highlight {
        font-size: 2.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .services-hero-grid {
        grid-template-columns: 1fr;
    }
    
    .service-areas-list {
        grid-template-columns: 1fr;
    }
    
}

/* Mobile Portrait - Additional styles already handled above */

@media (max-width: 767px) and (orientation: portrait) {
    
    .nav-container {
        padding: 0 1rem;
    }
    
    .navbar {
        border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item {
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 1rem 1.25rem;
        font-size: 1rem;
        display: block;
        width: 100%;
        margin: 0;
        border-bottom: 0.0625rem solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    .nav-item-desktop-only {
        display: none;
    }
    
    .hero {
        height: 100vh;
        min-height: 600px;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .hero-logo {
        max-width: 250px;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0 0.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-content {
        text-align: center;
        padding: 0 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .stats-section {
        padding: 3rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 3.6rem;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .expert-section {
        padding: 2rem 0;
    }
    
    .expert-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .expert-images {
        height: 25rem;
        order: -1;
    }
    
    .expert-text {
        text-align: center;
    }
    
    .expert-text h2 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }
    
    .expert-text .highlight {
        font-size: 1.95rem;
    }
    
    .expert-text p {
        font-size: 0.95rem;
    }
    
    .why-choose-section {
        padding: 2rem 0;
    }
    
    .why-choose-section .container {
        padding: 0;
        max-width: 100%;
    }
    
    .section-header {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .why-choose-item {
        padding: 1.5rem 1rem;
        border-radius: 0;
        margin: 0;
    }
    
    .why-choose-item:first-child {
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }
    
    .why-choose-item:last-child {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    
    .services {
        padding: 2rem 0;
    }
    
    .services h2 {
        font-size: 1.75rem;
    }
    
    .services-grid {
        display: none;
    }
    
    .mobile-services {
        display: block;
        max-width: 100%;
        padding: 0 0.5rem;
    }
    
    .gallery-section {
        padding: 2rem 0;
    }
    
    .gallery-section h2 {
        font-size: 1.75rem;
    }
    
    .gallery-container {
        position: relative;
        padding: 0;
        overflow: hidden;
    }
    
    .gallery-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
        padding: 0 0.75rem;
    }
    
    .gallery-dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .gallery-dot.active {
        background: rgba(255, 255, 255, 1);
        width: 0.75rem;
        height: 0.75rem;
    }
    
    .gallery-dot:hover {
        background: rgba(255, 255, 255, 0.6);
    }
    
    .gallery-grid {
        display: flex !important;
        grid-template-columns: none !important;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1.5rem;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
    }
    
    .gallery-grid::-webkit-scrollbar {
        display: none;
    }
    
    .gallery-item {
        width: 90% !important;
        min-width: 90% !important;
        max-width: 90% !important;
        flex-shrink: 0;
        margin: 0 auto;
        scroll-snap-align: center;
        display: block;
    }
    
    .gallery-grid::before,
    .gallery-grid::after {
        content: '';
        flex-shrink: 0;
        width: 5%;
    }
    
    .gallery-overlay {
        padding: 1rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
        display: block;
    }
    
    .gallery-overlay p {
        font-size: 0.85rem;
        display: block;
    }
    
    .testimonials-section {
        padding: 2rem 0;
    }
    
    .testimonials-section h2 {
        font-size: 1.75rem;
    }
    
    .testimonials-container {
        position: relative;
        padding: 0.5rem 1rem 0 1rem;
        margin-top: -0.5rem;
        overflow: visible;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .testimonials-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .testimonial-dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .testimonial-dot.active {
        background: rgba(255, 255, 255, 1);
        width: 0.75rem;
        height: 0.75rem;
    }
    
    .testimonial-dot:hover {
        background: rgba(255, 255, 255, 0.6);
    }
    
    .faq-dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.5rem;
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .faq-dot {
        width: 0.5rem;
        height: 0.5rem;
        border-radius: 50%;
        border: none;
        background: rgba(255, 255, 255, 0.3);
        cursor: pointer;
        padding: 0;
        transition: all 0.3s ease;
    }
    
    .faq-dot.active {
        background: rgba(255, 255, 255, 1);
        width: 0.75rem;
        height: 0.75rem;
    }
    
    .faq-dot:hover {
        background: rgba(255, 255, 255, 0.6);
    }
    
    .testimonials-grid {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1.5rem;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        justify-content: center;
        align-items: center;
    }
    
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }
    
    .testimonial-card {
        padding: 1rem;
        width: calc(90% - 1.5rem);
        min-width: calc(90% - 1.5rem);
        max-width: calc(90% - 1.5rem);
        flex-shrink: 0;
        margin: 0 auto;
        scroll-snap-align: center;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .testimonials-grid::before,
    .testimonials-grid::after {
        content: '';
        flex-shrink: 0;
        width: calc(5% - 0.75rem);
    }
    
    .testimonial-quote {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        line-height: 1.5;
        text-align: center;
    }
    
    .testimonial-info h4 {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .testimonial-info p {
        font-size: 0.7rem;
        text-align: center;
    }
    
    .testimonial-card {
        text-align: center;
    }
    
    .testimonial-author {
        gap: 0.75rem;
        justify-content: center;
    }
    
    .cta-section {
        padding: 2rem 0;
    }
    
    .cta-box {
        padding: 1.5rem 1rem;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .service-areas-section {
        padding: 2rem 0;
    }
    
    .service-areas-section h2 {
        font-size: 1.75rem;
    }
    
    .service-areas-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .service-areas-list {
        grid-template-columns: 1fr;
    }
    
    .service-areas-map {
        height: 300px;
    }
    
    .service-areas-map iframe {
        height: 300px;
    }
    
    .about {
        padding: 1.5rem 0;
    }
    
    .about-header h2 {
        font-size: 1.75rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .about-text .btn {
        display: block;
        margin-left: auto;
        margin-right: auto;
        width: fit-content;
    }
    
    .about-features {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
    }
    
    .feature {
        flex-direction: row !important;
        justify-content: center;
        align-items: center;
        width: 100%;
        max-width: 400px;
    }
    
    .quote-section {
        padding: 2rem 0;
    }
    
    .quote-section h2 {
        font-size: 1.75rem;
    }
    
    .quote-form {
        padding: 1.25rem 0.75rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.75rem;
    }
    
    .contact-header-section {
        padding: 2rem 0;
    }
    
    .contact-header-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .contact-faq-wrapper {
        padding: 2rem 0;
    }
    
    .contact-faq-wrapper .container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact h2,
    .faq-section h2 {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .faq-subtitle {
        text-align: center;
    }
    
    .contact-content {
        gap: 1.5rem;
    }
    
    .contact-map {
        margin-bottom: 1.5rem;
        height: 250px;
    }
    
    .contact-map iframe {
        height: 250px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-section {
        width: 100%;
        text-align: center;
    }
    
    .footer-about {
        flex-basis: 100%;
    }
    
    .footer-links,
    .footer-contact {
        flex: 1;
        width: 100%;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .section-label {
        font-size: 0.875rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0 0.75rem;
    }
    
    .floating-chat {
        bottom: 1rem;
        right: 1rem;
    }
    
    .chat-toggle {
        width: 3.25rem;
        height: 3.25rem;
    }
    
    .chat-box {
        width: calc(100vw - 2rem);
        max-width: 21.875rem;
        right: 0;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }
    
    .gallery-header h1 {
        font-size: 3rem;
    }
    
    .gallery-header p {
        font-size: 0.95rem;
    }
    
    .hero h1 {
        font-size: 1.75rem;
    }
    
    .hero-logo {
        max-width: 220px;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
    
    .why-choose-section {
        padding: 2.5rem 0;
    }
    
    .why-choose-section .container {
        padding: 0;
        max-width: 100%;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .why-choose-item {
        padding: 1.25rem 1rem;
        border-radius: 0;
        margin: 0;
    }
    
    .why-choose-section .section-header {
        padding: 0 1rem;
    }
    
    .stats-section {
        padding: 2rem 0;
    }
    
    .stat-number {
        font-size: 3rem;
    }
    
    .expert-text h2 {
        font-size: 1.75rem;
    }
    
    .expert-text .highlight {
        font-size: 1.95rem;
    }
    
    .quote-form {
        padding: 1.25rem 0.75rem;
    }
    
    .quote-section h2 {
        font-size: 1.75rem;
    }
    
    .cta-box h2 {
        font-size: 1.5rem;
    }
    
    .services {
        padding: 2rem 0;
    }
    
    .gallery-section {
        padding: 2rem 0;
    }
    
    .about {
        padding: 2rem 0;
    }
    
    .contact-faq-wrapper {
        padding: 2rem 0;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .gallery-overlay {
        padding: 1.25rem 0.875rem;
    }
    
    .gallery-overlay h3 {
        font-size: 1rem;
        display: none;
    }
    
    .gallery-overlay p {
        font-size: 0.8rem;
        display: none;
    }
    
    .faq-container {
        display: flex;
        overflow-x: auto;
        overflow-y: hidden;
        gap: 1.5rem;
        scroll-behavior: smooth;
        scrollbar-width: none;
        -ms-overflow-style: none;
        scroll-snap-type: x mandatory;
        justify-content: flex-start;
    }
    
    .faq-container::-webkit-scrollbar {
        display: none;
    }
    
    .faq-item {
        width: calc(85% - 1.5rem);
        min-width: calc(85% - 1.5rem);
        max-width: calc(85% - 1.5rem);
        flex-shrink: 0;
        margin: 0 auto;
        scroll-snap-align: center;
        box-sizing: border-box;
        word-wrap: break-word;
        overflow-wrap: break-word;
        overflow: hidden;
        max-height: 75vh;
    }
    
    .faq-header {
        padding: 1.25rem;
        gap: 0.5rem;
        min-height: 3rem;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.1);
    }
    
    .faq-icon {
        display: none;
    }
    
    .faq-icon .emoji-icon {
        font-size: 0.9rem;
    }
    
    .faq-question {
        font-size: 0.8rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        line-height: 1.2;
        text-align: center;
    }
    
    .faq-toggle {
        font-size: 1rem;
    }
    
    .faq-answer {
        font-size: 0.7rem;
        line-height: 1.3;
        word-wrap: break-word;
        overflow-wrap: break-word;
        max-width: 100%;
        max-height: 30vh;
        text-align: center;
    }
    
    .faq-answer p {
        text-align: center;
    }
    
    .faq-header {
        justify-content: space-between;
    }
    
    .faq-item.active .faq-answer {
        padding: 1.25rem;
        max-height: 30vh;
    }
    
    .faq-container::before,
    .faq-container::after {
        content: '';
        flex-shrink: 0;
        width: calc(5% - 0.75rem);
    }
    
    .nav-logo .logo-img {
        height: 3rem;
    }
    
    .nav-container {
        height: 4.5rem;
        padding: 0 1rem;
    }
    
    .contact-header-icon .emoji-icon {
        font-size: 2rem;
    }
    
    .contact-header-text p {
        font-size: 1rem;
    }
    
    .btn-contact-header {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
    }
    
    .mobile-services {
        padding: 0 0.25rem;
    }
    
    .mobile-service-card {
        padding: 1.25rem;
        min-height: 18rem;
    }
    
    .mobile-service-content h3 {
        font-size: 1.4rem;
    }
    
    .mobile-service-content p {
        font-size: 0.9rem;
    }
    
    .floating-chat {
        bottom: 0.9375rem;
        right: 0.9375rem;
    }
    
    .chat-toggle {
        width: 3.125rem;
        height: 3.125rem;
        font-size: 1.2rem;
    }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
    .gallery-header h1 {
        font-size: 2.4rem;
    }
    
    .gallery-header p {
        font-size: 0.9rem;
    }
    
    .hero h1 {
        font-size: 1.5rem;
    }
    
    .hero-logo {
        max-width: 200px;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
        max-width: 100%;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .expert-text h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .quote-form {
        padding: 1.25rem 0.875rem;
    }
    
    .cta-box {
        padding: 1.5rem 1rem;
    }
    
    .gallery-overlay {
        padding: 1rem 0.75rem;
    }
    
    .gallery-overlay h3,
    .gallery-overlay p {
        display: none;
    }
    
    .nav-logo .logo-img {
        height: 2.5rem;
    }
    
    .nav-container {
        height: 4rem;
        padding: 0 0.75rem;
    }
    
    .nav-link {
        font-size: 0.9rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), var(--hero-background-image);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover {
        transform: none;
    }
    
    .gallery-item:hover {
        transform: none;
    }
    
    .gallery-item:hover img {
        transform: none;
    }
    
    .gallery-overlay {
        transform: translateY(0);
        background: rgba(0, 0, 0, 0.7);
    }
    
    .btn:hover {
        transform: none;
    }
    
    .nav-link:hover::after {
        width: 0;
    }
    
    /* Increase touch targets */
    .nav-link {
        padding: 0.625rem 0.3125rem;
    }
    
    .btn {
        min-height: 2.75rem;
        min-width: 2.75rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        min-height: 2.75rem;
    }
    
    .radio-label {
        min-height: 2.75rem;
        align-items: center;
    }
    
    .checkbox-label {
        min-height: 2.75rem;
        align-items: center;
        flex-direction: row;
        justify-content: flex-start;
    }
    
    .mobile-service-card:hover {
        transform: none;
    }
    
    .mobile-service-card:hover .mobile-service-background img {
        filter: brightness(0.3);
    }
    
    .mobile-service-card:hover .mobile-service-overlay {
        opacity: 0;
        transform: translateY(1.25rem);
    }
    
    .mobile-service-card:active {
        transform: scale(0.98);
    }
    
    .mobile-service-card:active .mobile-service-overlay {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Print Styles */
@media print {
    .navbar,
    .floating-chat,
    .hero-buttons {
        display: none;
    }
    
    .hero {
        height: auto;
        background: none;
        color: black;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .service-card,
    .gallery-item,
    .quote-form {
        box-shadow: none;
        border: 0.0625rem solid #ccc;
    }
}

/* TV Remote Navigation Styles */
.tv-focus {
    outline: 0.25rem solid #1a1a1a !important;
    outline-offset: 0.25rem !important;
    transition: outline 0.2s ease;
}

.tv-focus:hover {
    outline-color: #000000 !important;
}

/* Mobile Touch Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Increase touch targets */
    .nav-link {
        min-height: 2.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .btn {
        min-height: 3rem;
        min-width: 3rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Better touch feedback */
    .service-card:active,
    .gallery-item:active,
    .btn:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    /* Optimize form inputs for mobile */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 3rem;
    }
    
    /* Better mobile navigation */
    .nav-menu {
        padding: 1.25rem 0;
    }
    
    .nav-item {
        margin: 0.625rem 0;
    }
    
    .nav-link {
        padding: 0.9375rem 1.25rem;
        font-size: 1.1rem;
    }
}

/* Landscape Mobile Optimizations */
@media (max-width: 767px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 0.75rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
    }
    
    .btn {
        width: auto;
        max-width: none;
        padding: 0.875rem 1.5rem;
    }
    
    .expert-content {
        grid-template-columns: 1fr;
    }
    
    .expert-images {
        height: 20rem;
    }
    
    .services-grid {
        display: none;
    }
    
    .mobile-services {
        display: block;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-faq-wrapper .container {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-areas-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
}

/* High DPI and Retina Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), var(--hero-background-image);
    }
    
    .service-card i,
    .contact-item i {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .chat-toggle {
        animation: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        background: #000;
        color: #fff;
        border: 0.125rem solid #000;
    }
    
    .btn-secondary {
        background: #fff;
        color: #000;
        border: 0.125rem solid #000;
    }
    
    .service-card {
        border: 0.125rem solid #000;
    }
    
    .gallery-item {
        border: 0.125rem solid #000;
    }
}

/* Focus Management for TV and Accessibility */
*:focus {
    outline: 0.125rem solid #1a1a1a;
    outline-offset: 0.125rem;
}

*:focus:not(:focus-visible) {
    outline: none;
}

*:focus-visible {
    outline: 0.125rem solid #1a1a1a;
    outline-offset: 0.125rem;
}

/* TV-specific focus styles */
@media (min-width: 1920px) {
    *:focus-visible {
        outline: 0.25rem solid #1a1a1a;
        outline-offset: 0.25rem;
    }
} 

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(3rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Gallery Section */
.gallery-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    width: 100%;
}

.gallery-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.gallery-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #cccccc;
    margin-bottom: 3rem;
}

/* Gallery Container */
.gallery-container {
    position: relative;
    width: 100%;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0 0.75rem;
}

.gallery-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.gallery-dot.active {
    background: rgba(255, 255, 255, 1);
    width: 0.75rem;
    height: 0.75rem;
}

.gallery-dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    padding-top: 0.5rem;
    margin-top: -0.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 0.9375rem;
    overflow: hidden;
    box-shadow: 0 0.3125rem 1.25rem rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

/* Desktop hover effects - only on devices that support hover */
@media (min-width: 769px) and (hover: hover) {
    .gallery-item:hover::before {
        background: rgba(0, 0, 0, 0.5);
    }
}

.gallery-item:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 2rem rgba(0, 0, 0, 0.15);
}

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

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

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 2rem 1.5rem 1.5rem;
    color: white;
    transform: translateY(0);
    transition: transform 0.3s ease;
}

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

.gallery-overlay h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
}

.gallery-overlay p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8), 0 0 8px rgba(0, 0, 0, 0.5);
}

.gallery-cta {
    text-align: center;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-cta .btn {
    display: inline-block;
    margin: 0 auto;
}

/* Gallery Page Styles */
.gallery-header {
    height: 100vh;
    min-height: 100vh;
    max-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url('Images/pool-finish.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
    margin-top: 70px;
}

.gallery-header-content {
    z-index: 2;
    max-width: 75rem;
    width: 100%;
    padding: 0 1.25rem;
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    margin: 0 auto;
}

.gallery-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.gallery-header h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
    color: white;
    font-weight: 700;
    text-shadow: 0.125rem 0.125rem 0.25rem rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.gallery-header p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 50rem;
    margin: 0 auto;
    text-shadow: 0.0625rem 0.0625rem 0.125rem rgba(0, 0, 0, 0.5);
    line-height: 1.6;
}

.gallery-page-section {
    padding: 5rem 0;
    background: #000000;
}

.gallery-page-section .container {
    padding: 0 1.5rem;
    max-width: 100%;
}

@media (min-width: 1200px) {
    .hero {
        background-attachment: fixed;
    }

    .about {
        background-attachment: fixed;
    }

    .gallery-header {
        background-attachment: fixed;
    }

    .cta-section.gallery-cta {
        background-attachment: fixed !important;
    }
}

.gallery-page-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

.gallery-page-item {
    position: relative;
    border-radius: 0.9375rem;
    overflow: hidden;
    box-shadow: 0 0.3125rem 1.25rem rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    aspect-ratio: 4/3;
    display: block;
    text-decoration: none;
    color: inherit;
}

.gallery-page-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.gallery-page-item::after {
    content: 'View More';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
    text-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.8), 0 0 0.5rem rgba(0, 0, 0, 0.5);
    white-space: nowrap;
}

/* Desktop hover effects - only on devices that support hover */
@media (min-width: 769px) and (hover: hover) {
    .gallery-page-item:hover::before {
        background: rgba(0, 0, 0, 0.5);
    }
    
    .gallery-page-item:hover::after {
        opacity: 1;
    }
}

.gallery-page-item:hover {
    transform: translateY(-0.3125rem);
    box-shadow: 0 0.625rem 2rem rgba(0, 0, 0, 0.15);
}

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

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

.gallery-category {
    display: inline-block;
    padding: 0.375rem 0.875rem;
    background: #333333;
    color: #ffffff;
    border-radius: 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.gallery-page-item[data-category] {
    display: block;
}

.gallery-page-item.hidden {
    display: none;
}


/* Gallery Page Responsive */
@media (max-width: 1024px) {
    .gallery-page-section .container {
        padding: 0 1.25rem;
    }
    
    .gallery-page-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .gallery-header {
        height: 100vh;
        min-height: 600px;
    }
    
    .gallery-header h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }
    
    .gallery-header p {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .gallery-header-content {
        padding: 0 1rem;
    }
    
    .gallery-page-section .container {
        padding: 0 1rem;
    }
    
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .gallery-page-item::after,
    .gallery-item::after {
        content: none !important;
        display: none !important;
    }
    
}


/* ============================================================================
   FACEBOOK-STYLE ALBUM MODAL
   ============================================================================ */

.album-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.album-modal.active {
    opacity: 1;
    visibility: visible;
}

.album-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1;
    cursor: pointer;
}

.album-modal-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    box-sizing: border-box;
    z-index: 2;
}

.album-modal-content {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.album-modal-content > * {
    pointer-events: auto;
}

.album-photo-container {
    position: relative;
    width: 100%;
    height: calc(100% - 130px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    padding: 0;
    padding-bottom: 1rem;
    overflow: hidden;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-touch-callout: none;
    pointer-events: none;
}

.album-photo-container > * {
    pointer-events: auto;
}

.album-main-photo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    touch-action: pan-x pan-y pinch-zoom;
    -webkit-touch-callout: none;
    -webkit-user-drag: none;
    will-change: transform, opacity;
}

.album-main-video {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    background: #000000;
}

.album-video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.55);
    color: #ffffff;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.55);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 5;
}

.album-video-overlay .material-icons {
    font-size: 2.25rem;
}

.album-video-overlay:hover {
    transform: translate(-50%, -50%) scale(1.05);
    background: rgba(0, 0, 0, 0.7);
}

.album-pagination-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: none;
    gap: 0.45rem;
    background: rgba(0, 0, 0, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.album-pagination-dot {
    width: 0.65rem;
    height: 0.65rem;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.45);
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.album-pagination-dot.active {
    background: #ffffff;
    transform: scale(1.2);
}

.album-pagination-dot:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
}

.album-photo-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    align-items: center;
    justify-content: center;
}

.album-photo-loader .loader {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.album-thumbnails {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    padding: 0 1rem 1rem 1rem;
    padding-top: 1rem;
    margin-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    max-width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.album-thumbnails::-webkit-scrollbar {
    display: none;
}

.album-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.album-thumbnail:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.album-thumbnail.active {
    opacity: 1;
    border-color: #ffffff;
    transform: scale(1.1);
}

.album-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.album-thumbnail video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000000;
}

.album-thumbnail.is-video::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

.album-thumbnail-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #ffffff;
    color: #0d0d0d;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-shadow: 0 0.65rem 1.5rem rgba(0, 0, 0, 0.35);
}

.album-thumbnail-badge .material-icons {
    font-size: 1.35rem;
    line-height: 1;
}

.album-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    padding: 0;
}

.album-modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.album-modal-close .material-icons {
    font-size: 28px;
    color: #ffffff;
}

.album-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    border-radius: 50%;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    transition: all 0.3s ease;
    padding: 0;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

.album-modal-nav:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.album-modal-nav:active {
    transform: translateY(-50%) scale(0.95);
    background: rgba(255, 255, 255, 0.3);
}

.album-modal-nav .material-icons {
    font-size: 32px;
    color: #ffffff;
}

.album-modal-prev {
    left: 1.5rem;
}

.album-modal-next {
    right: 1.5rem;
}

.album-counter {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 2rem;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    z-index: 10001;
    pointer-events: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .album-modal-container {
        padding: 0;
    }

    .album-modal-content {
        max-height: 100vh;
        height: 100vh;
        justify-content: flex-start;
    }

    .album-photo-container {
        height: calc(100vh - 115px);
        width: 100%;
        margin-bottom: 0;
        padding: 0;
        padding-bottom: 1rem;
        pointer-events: none;
        flex-shrink: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .album-photo-container > * {
        pointer-events: auto;
    }

    .album-main-photo {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        object-fit: contain;
        border-radius: 0;
        box-shadow: none;
    }

    .album-main-video {
        max-width: 100%;
        max-height: 100%;
        width: auto;
        height: auto;
        border-radius: 0;
        box-shadow: none;
    }

    .album-video-overlay {
        width: 3.5rem;
        height: 3.5rem;
    }

    .album-video-overlay .material-icons {
        font-size: 1.75rem;
    }

    .album-thumbnails {
        display: flex !important;
        height: 100px;
        padding: 0.75rem 0.5rem 0.5rem 0.5rem;
        padding-top: 0.75rem;
        gap: 0.5rem;
        flex-shrink: 0;
        position: relative;
        z-index: 10;
        margin-bottom: 0;
        margin-top: 0;
    }
    
    .album-thumbnail {
        width: 60px;
        height: 60px;
    }

    .album-modal-close {
        top: 0.75rem;
        right: 0.75rem;
        width: 44px;
        height: 44px;
        background: rgba(0, 0, 0, 0.6);
    }

    .album-modal-close .material-icons {
        font-size: 28px;
        color: #ffffff;
    }

    .album-modal-nav {
        width: 48px;
        height: 48px;
        background: rgba(0, 0, 0, 0.6);
        opacity: 0.9;
    }

    .album-modal-nav .material-icons {
        font-size: 28px;
        color: #ffffff;
    }

    .album-modal-prev {
        left: 0.5rem;
    }

    .album-modal-next {
        right: 0.5rem;
    }

    .album-counter {
        bottom: 0.5rem;
        padding: 0.5rem 1.25rem;
        font-size: 0.9rem;
        background: rgba(0, 0, 0, 0.7);
    }
}

@media (max-width: 480px) {
    .album-photo-container {
        height: calc(100vh - 105px);
        margin-bottom: 0;
        padding-bottom: 0.75rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .album-thumbnails {
        height: 90px;
        padding: 0.75rem 0.375rem 0.375rem 0.375rem;
        padding-top: 0.75rem;
        gap: 0.375rem;
        margin-bottom: 0;
        margin-top: 0;
    }
    
    .album-thumbnail {
        width: 50px;
        height: 50px;
    }

    .album-modal-close {
        top: 0.5rem;
        right: 0.5rem;
        width: 40px;
        height: 40px;
    }

    .album-modal-close .material-icons {
        font-size: 24px;
        color: #ffffff;
    }

    .album-modal-nav {
        width: 44px;
        height: 44px;
    }

    .album-modal-nav .material-icons {
        font-size: 24px;
        color: #ffffff;
    }

    .album-modal-prev {
        left: 0.25rem;
    }

    .album-modal-next {
        right: 0.25rem;
    }

    .album-counter {
        bottom: 0.5rem;
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
} 

