/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

:root {
    --primary-red: #E63946;
    --primary-red-dark: #D62839;
    --secondary-blue: #457B9D;
    --light-blue: #A8DADC;
    --cream: #F1FAEE;
    --white: #FFFFFF;
    --light-grey: #F8F9FA;
    --text-dark: #1D3557;
    --text-medium: #457B9D;
    --text-light: #6C757D;
    --accent-yellow: #FFB703;
    --success-green: #06D6A0;
    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.15);
    --safe-area-inset-top: env(safe-area-inset-top);
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
    --safe-area-inset-left: env(safe-area-inset-left);
    --safe-area-inset-right: env(safe-area-inset-right);
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-red);
    color: var(--white);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 10000;
    font-weight: 600;
    border-radius: 0 0 4px 0;
}

.skip-link:focus {
    top: 0;
    outline: 3px solid var(--accent-yellow);
    outline-offset: 2px;
}

html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* Wrapper to prevent horizontal scroll without breaking sticky */
body > * {
    max-width: 100vw;
}

main {
    position: relative;
    overflow: visible;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Header Styles */
.header {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 20px 0;
    padding-top: calc(20px + var(--safe-area-inset-top));
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.header:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.12);
}

/* Scrolled header state - compact version (desktop only) */
@media (min-width: 769px) {
    .header.header-scrolled {
        padding: 10px 0;
        background: rgba(255, 255, 255, 0.95);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    }
    
    .header.header-scrolled .logo {
        width: 80px;
        transition: width 0.3s ease;
    }
    
    .header.header-scrolled .company-name {
        font-size: 16px;
        transition: font-size 0.3s ease;
    }
    
    .header.header-scrolled .license-badge {
        font-size: 10px;
        padding: 4px 10px;
        margin-bottom: 5px;
        transition: all 0.3s ease;
    }
    
    .header.header-scrolled .header-cta {
        padding: 10px 22px;
        font-size: 13px;
        transition: all 0.3s ease;
    }
    
    .header.header-scrolled .phone-number {
        font-size: 18px;
        transition: font-size 0.3s ease;
    }
    
    .header.header-scrolled .contact-label {
        font-size: 10px;
        transition: font-size 0.3s ease;
    }
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
    overflow: visible;
}

.logo-section {
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.logo {
    width: 110px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease, width 0.3s ease;
    -webkit-user-select: none;
    user-select: none;
}

.logo:hover {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 1;
    gap: 40px;
    flex-wrap: wrap;
}

.header-info {
    flex: 1;
    min-width: 300px;
}

.license-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(230, 57, 70, 0.05) 100%);
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
    letter-spacing: 0.8px;
    border: 1px solid rgba(230, 57, 70, 0.2);
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.company-name {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.5px;
    transition: font-size 0.3s ease;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 25px;
    flex-shrink: 0;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
}

.contact-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    transition: font-size 0.3s ease;
}

.phone-number {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary-red);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -0.5px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
}

.phone-number:hover,
.phone-number:active {
    color: var(--primary-red-dark);
    transform: translateY(-1px);
}

.header-cta {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    min-height: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
}

.header-cta:hover,
.header-cta:active {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, #C41E2E 100%);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-blue) 100%);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('https://images.unsplash.com/photo-1568605114967-8130f3a36994?w=1920&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 25px;
    line-height: 1.2;
    color: var(--text-dark);
    text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 35px;
    color: var(--text-medium);
    font-weight: 500;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cta-button {
    display: inline-block;
    padding: 18px 45px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px var(--shadow);
    border: 2px solid transparent;
    min-height: 48px;
    min-width: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
}

.cta-button.primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
}

.cta-button.primary:hover,
.cta-button.primary:active {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.cta-button.secondary {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--primary-red);
}

.cta-button.secondary:hover,
.cta-button.secondary:active {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-3px);
}

.hero-trust {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.trust-item {
    background: var(--white);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    color: var(--text-dark);
    box-shadow: 0 2px 10px var(--shadow);
    font-size: 15px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

/* Section Styles */
.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose Us Section */
.why-choose-us {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--light-grey) 100%);
}

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

.feature {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-hover);
    border-color: var(--primary-red);
}

.feature-icon {
    font-size: 56px;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px var(--shadow));
}

.feature h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--white);
}

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

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--shadow);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-hover);
    border-color: var(--primary-red);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    -webkit-user-select: none;
    user-select: none;
}

.service-card:hover .service-image img {
    transform: scale(1.1);
}

.service-content {
    padding: 30px;
}

.service-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.service-content ul {
    list-style: none;
}

.service-content li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    font-size: 16px;
    color: var(--text-light);
    border-bottom: 1px solid #E9ECEF;
}

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

.service-content li::before {
    content: "✓";
    color: var(--success-green);
    font-size: 18px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

/* Service Area Section */
.service-area-section {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--light-grey) 0%, var(--white) 100%);
}

.service-area-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

.service-area-map {
    position: sticky;
    top: 100px;
}

.map-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--shadow);
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.map-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px var(--shadow);
}

.map-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.map-info-item strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.map-info-item p {
    color: var(--text-medium);
    font-size: 14px;
    margin: 0;
}

.service-area-cities {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.service-area-cities h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.cities-intro {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.8;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.city-group h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
}

.cities-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cities-list li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    font-size: 15px;
    color: var(--text-dark);
    border-bottom: 1px solid #F0F0F0;
}

.cities-list li:last-child {
    border-bottom: none;
}

.cities-list li::before {
    content: "✓";
    color: var(--success-green);
    font-size: 14px;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 8px;
}

.service-area-cta {
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-blue) 100%);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--primary-red);
}

.service-area-cta .cta-text {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.service-area-cta .cta-subtext {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 20px;
}

.service-area-cta .cta-button {
    margin-top: 10px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-blue) 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.contact-info > p {
    font-size: 18px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.8;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
}

.contact-item a {
    color: var(--primary-red);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: opacity 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
}

.contact-item a:hover,
.contact-item a:active {
    opacity: 0.8;
}

.contact-item span {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.6;
}

.trust-badges-inline {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.trust-badge-small {
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 10px var(--shadow);
}

.trust-badge-small .stars {
    font-size: 18px;
}

.trust-badge-small .feature-icon {
    font-size: 20px;
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
}

.contact-form h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    color: var(--text-dark);
    text-align: center;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s;
    background: var(--white);
    color: var(--text-dark);
    -webkit-appearance: none;
    appearance: none;
    min-height: 48px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

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

.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231D3557' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px;
    padding-right: 45px;
}

.submit-button {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    margin-top: 10px;
    min-height: 52px;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
    -webkit-appearance: none;
    appearance: none;
}

.submit-button:hover,
.submit-button:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
}

.submit-button:active {
    transform: translateY(0);
}

.form-note {
    margin-top: 15px;
    font-size: 12px;
    color: var(--text-light);
    text-align: center;
    line-height: 1.5;
}

/* Thank You Message */
.thank-you-message {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    text-align: center;
    animation: fadeInScale 0.5s ease;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative;
    z-index: 10;
    width: 100%;
    box-sizing: border-box;
}

.thank-you-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, #06D6A0 0%, #05C493 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 8px 25px rgba(6, 214, 160, 0.3);
    animation: checkmarkPop 0.6s ease 0.2s both;
}

.thank-you-icon svg {
    width: 50px;
    height: 50px;
    stroke-width: 3;
}

.thank-you-title {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 15px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.thank-you-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.thank-you-subtext {
    font-size: 16px;
    color: var(--text-medium);
    margin-bottom: 40px;
    line-height: 1.6;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.thank-you-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin: 40px 0;
    padding: 30px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-blue) 100%);
    border-radius: 15px;
    animation: fadeInUp 0.6s ease 0.6s both;
}

.thank-you-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.detail-icon {
    font-size: 32px;
    flex-shrink: 0;
    line-height: 1;
}

.thank-you-detail-item strong {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.thank-you-detail-item p {
    margin: 0;
    font-size: 16px;
}

.thank-you-detail-item a {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
    transition: opacity 0.3s;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
}

.thank-you-detail-item a:hover,
.thank-you-detail-item a:active {
    opacity: 0.8;
    text-decoration: underline;
}

.submit-another-button {
    width: 100%;
    max-width: 300px;
    padding: 16px 30px;
    background: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 20px;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
    -webkit-appearance: none;
    appearance: none;
    animation: fadeInUp 0.6s ease 0.7s both;
}

.submit-another-button:hover,
.submit-another-button:active {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.submit-another-button:active {
    transform: translateY(0);
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* CTA Banner */
.cta-banner {
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 15px;
}

.cta-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
}

.cta-button-large {
    display: inline-block;
    background: var(--white);
    color: var(--primary-red);
    padding: 22px 60px;
    font-size: 32px;
    font-weight: 800;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    min-height: 60px;
    min-width: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
}

.cta-button-large:hover,
.cta-button-large:active {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-dark) 0%, #2A4A6B 100%);
    color: var(--white);
    padding: 60px 0 30px;
    padding-bottom: calc(30px + var(--safe-area-inset-bottom));
}

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

.footer-brand {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.footer-logo {
    width: 80px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    -webkit-user-select: none;
    user-select: none;
}

.footer-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-text p {
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.6;
}

.license-footer {
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.8;
}

.footer-section h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-section p {
    margin-bottom: 10px;
    line-height: 1.8;
    opacity: 0.9;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: opacity 0.3s;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.2);
}

.footer-section a:hover,
.footer-section a:active {
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.trust-signals {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.trust-badge .stars,
.trust-badge .google-stars {
    font-size: 24px;
    margin-bottom: 8px;
}

.badge-text {
    font-size: 14px;
    font-weight: 700;
}

.trust-badge.bbb {
    background: rgba(0, 102, 204, 0.3);
}

.bbb-logo {
    font-size: 36px;
    font-weight: 900;
    color: #4DA6FF;
    margin-bottom: 8px;
}

.trust-badge.google .google-logo {
    font-size: 22px;
    font-weight: 700;
    color: #4285F4;
    margin-top: 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 14px;
    opacity: 0.8;
}

/* Responsive Design */
/* Desktop header styles - JavaScript applies fixed positioning */
@media (min-width: 769px) {
    html, body {
        overflow-x: hidden;
    }
    
    .header {
        /* Base positioning - will be overridden by JavaScript to fixed */
        position: relative;
        z-index: 1000;
    }
}

@media (max-width: 968px) {
    .header-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .header-contact {
        width: 100%;
        justify-content: space-between;
    }
    
    .contact-info-item {
        align-items: flex-start;
        text-align: left;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 34px;
    }
}

@media (max-width: 768px) {
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
        height: auto;
    }
    
    body {
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .header {
        padding: 6px 0;
        padding-top: calc(6px + var(--safe-area-inset-top));
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin: 0;
        overflow: visible;
        z-index: 9999;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    /* Add padding to body to compensate for fixed header */
    body {
        padding-top: 0; /* Will be set by JavaScript based on header height */
    }
    
    .header .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        overflow: visible;
        margin: 0 auto;
    }
    
    .header-content {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 10px;
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
    }
    
    .logo-section {
        flex-shrink: 0;
        align-self: flex-start;
        padding-top: 2px;
    }
    
    .logo {
        width: 55px;
    }
    
    .header-nav {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 4px;
        min-width: 0;
    }
    
    .header-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        width: 100%;
    }
    
    .company-name {
        font-size: 12px;
        line-height: 1.25;
        margin: 0;
        flex: 1;
        min-width: 0;
    }
    
    .license-badge {
        display: none;
    }
    
    .header-contact {
        display: flex;
        flex-direction: row;
        width: 100%;
        gap: 8px;
        justify-content: space-between;
        align-items: center;
    }
    
    .contact-info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        text-align: left;
        flex-shrink: 0;
    }
    
    .contact-label {
        display: none;
    }
    
    .phone-number {
        font-size: 13px;
        min-height: auto;
        white-space: nowrap;
    }
    
    /* License badge under phone number */
    .header-contact .contact-info-item::after {
        content: 'License #1147771';
        display: block;
        font-size: 8px;
        font-weight: 700;
        color: var(--primary-red);
        background: linear-gradient(135deg, rgba(230, 57, 70, 0.1) 0%, rgba(230, 57, 70, 0.05) 100%);
        padding: 2px 6px;
        border-radius: 10px;
        border: 1px solid rgba(230, 57, 70, 0.2);
        letter-spacing: 0.5px;
        text-transform: uppercase;
        margin-top: 2px;
    }
    
    .header-cta {
        padding: 6px 10px;
        font-size: 9px;
        min-height: 28px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .hero {
        padding: 60px 20px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
        font-size: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 16px;
    }

    .services,
    .why-choose-us,
    .service-area-section,
    .contact-section {
        padding: 60px 20px;
    }
    
    .service-area-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .service-area-map {
        position: static;
    }
    
    .cities-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .cta-title {
        font-size: 32px;
    }

    .cta-button-large {
        font-size: 24px;
        padding: 18px 40px;
        width: 100%;
        max-width: 100%;
    }

    .contact-form {
        padding: 30px 20px;
    }

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

    .footer-brand {
        justify-content: center;
    }

    .trust-signals {
        align-items: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 5px 0;
        padding-top: calc(5px + var(--safe-area-inset-top));
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        box-sizing: border-box;
        margin: 0;
        overflow: visible;
        z-index: 9999;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
    
    .header .container {
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
        overflow: visible;
        margin: 0 auto;
    }
    
    .header-content {
        width: 100%;
        box-sizing: border-box;
        overflow: visible;
        gap: 8px;
    }
    
    .logo {
        width: 48px;
    }
    
    .header-nav {
        gap: 4px;
    }
    
    .header-info {
        gap: 5px;
    }
    
    .company-name {
        font-size: 11px;
        line-height: 1.2;
        min-width: 100px;
    }
    
    .license-badge {
        font-size: 7px;
        padding: 2px 5px;
        line-height: 1.1;
    }
    
    .header-contact {
        gap: 5px;
        flex-wrap: nowrap;
    }
    
    .contact-info-item {
        gap: 2px;
    }
    
    .contact-info-item::after {
        font-size: 7px;
        padding: 2px 5px;
    }
    
    .phone-number {
        font-size: 11px;
    }
    
    .header-cta {
        font-size: 9px;
        padding: 5px 10px;
        min-height: 28px;
    }
    
    .hero {
        padding: 50px 15px;
    }
    
    .hero-title {
        font-size: 26px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .section-subtitle {
        font-size: 14px;
    }
    
    .services,
    .why-choose-us,
    .service-area-section,
    .contact-section {
        padding: 50px 15px;
    }
    
    .service-area-cities {
        padding: 30px 20px;
    }
    
    .service-area-cities h3 {
        font-size: 26px;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .map-info {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .map-info-item {
        flex: 1;
        min-width: 200px;
    }
    
    .contact-info h2 {
        font-size: 28px;
    }
    
    .contact-form h3 {
        font-size: 22px;
    }
    
    .thank-you-message {
        padding: 40px 25px;
        margin-top: 20px;
        min-height: auto;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .thank-you-icon {
        width: 80px;
        height: 80px;
        margin-bottom: 25px;
    }
    
    .thank-you-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .thank-you-title {
        font-size: 28px;
    }
    
    .thank-you-text {
        font-size: 18px;
    }
    
    .thank-you-subtext {
        font-size: 15px;
    }
    
    .thank-you-details {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 20px;
    }
    
    .thank-you-detail-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .cta-title {
        font-size: 26px;
    }
    
    .cta-subtitle {
        font-size: 16px;
    }
    
    .cta-button-large {
        font-size: 20px;
        padding: 16px 30px;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .feature {
        padding: 30px 20px;
    }
    
    .trust-item {
        font-size: 13px;
        padding: 10px 20px;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .map-info {
        flex-direction: column;
    }
    
    .map-info-item {
        width: 100%;
    }
    
    .service-area-cta {
        padding: 20px;
    }
    
    .thank-you-message {
        padding: 30px 20px;
        margin-top: 15px;
        min-height: auto;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative;
        z-index: 1;
    }
    
    .thank-you-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .thank-you-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .thank-you-title {
        font-size: 24px;
    }
    
    .thank-you-text {
        font-size: 16px;
    }
    
    .thank-you-subtext {
        font-size: 14px;
        margin-bottom: 30px;
    }
    
    .thank-you-details {
        padding: 20px 15px;
        margin: 30px 0;
    }
    
    .submit-another-button {
        max-width: 100%;
    }
}

/* iPhone X and newer safe area support */
@supports (padding: max(0px)) {
    .header {
        padding-top: max(8px, var(--safe-area-inset-top));
    }
    
    .footer {
        padding-bottom: max(30px, var(--safe-area-inset-bottom));
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 40px 20px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .section-title {
        font-size: 26px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .cta-button,
    .header-cta,
    .cta-button-large,
    .submit-button {
        -webkit-tap-highlight-color: rgba(230, 57, 70, 0.3);
    }
    
    .feature:hover,
    .service-card:hover {
        transform: none;
    }
    
    .feature:active,
    .service-card:active {
        transform: scale(0.98);
    }
}

/* Prevent text selection on buttons and interactive elements */
button,
a,
.cta-button,
.header-cta,
.cta-button-large {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Improve form input on iOS */
input[type="text"],
input[type="tel"],
input[type="email"],
textarea,
select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 10px;
}

/* Fix iOS zoom on input focus */
@media screen and (max-width: 768px) {
    input[type="text"],
    input[type="tel"],
    input[type="email"],
    textarea,
    select {
        font-size: 16px !important;
    }
}

/* Hero Social Media Icons */
.hero-social {
    margin-top: 30px;
    text-align: center;
}

.social-label {
    font-size: 14px;
    color: var(--text-medium);
    margin-bottom: 15px;
    font-weight: 600;
}

.social-icons {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
}

.social-icon:hover,
.social-icon:active {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.social-icon.facebook:hover {
    background: #1877F2;
    color: white;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-icon.google:hover {
    background: #4285F4;
    color: white;
}

.social-icon svg {
    width: 20px;
    height: 20px;
}

/* Footer Social Media */
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
}

.footer-social .social-icon {
    width: auto;
    height: auto;
    padding: 10px 15px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
    min-height: 44px;
}

.footer-social .social-icon span {
    font-size: 14px;
    font-weight: 500;
}

.footer-social .social-icon svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.footer-social .social-icon:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.footer-social .social-icon.facebook:hover {
    background: rgba(24, 119, 242, 0.3);
}

.footer-social .social-icon.instagram:hover {
    background: rgba(225, 48, 108, 0.3);
}

.footer-social .social-icon.google:hover {
    background: rgba(66, 133, 244, 0.3);
}

/* Responsive Social Icons */
@media (max-width: 768px) {
    .hero-social {
        margin-top: 25px;
    }
    
    .social-icons {
        gap: 12px;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
    
    .footer-social .social-icon {
        padding: 8px 12px;
        min-height: 40px;
    }
}

@media (max-width: 480px) {
    .social-label {
        font-size: 12px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 16px;
        height: 16px;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    -webkit-tap-highlight-color: rgba(230, 57, 70, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.5);
    background: linear-gradient(135deg, var(--primary-red-dark) 0%, #C41E2E 100%);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Responsive Back to Top */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 20px;
        right: 20px;
    }
    
    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 15px;
        right: 15px;
    }
    
    .back-to-top svg {
        width: 18px;
        height: 18px;
    }
}
