/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Fonts */
    --font-primary: 'Lora', serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* New Brand Colors */
    --primary-color: #69f2c4;        /* Mint accent color */
    --secondary-color: #0097b2;      /* Darker blue */
    --accent-color: #0097b2;         /* Darker blue for headers and important elements */
    --support-color: #4a5a61;        /* Muted blue-gray */
    --support-light: #f8f6f3;        /* Off-white for light backgrounds */
    --warm-white: #f8f6f3;           /* Off-white for backgrounds */
    --highlight: #69f2c4;            /* Mint for highlights */
    --dark-bg: #0097b2;             /* Darker blue for dark sections */
    --success-color: #1b4332;        /* Evergreen for success */
    --dark-bg: #2f3e46;              /* Slate Gray background */
    --darker-bg: #1a2226;            /* Darker slate for contrast */
    --text-dark: #2f3e46;            /* Slate Gray text */
    --text-light: #6b7280;           /* Medium gray text */
    --text-white: #FFFFFF;           /* White text */
    --text-neutral: #f8f6f3;         /* Warm white for neutral text */
    --border-color: #d9d9d9;         /* Light slate borders */
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.15);
    --shadow-dark: rgba(0, 0, 0, 0.25);
    
    /* Typography */
    --font-primary: 'Manrope', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Layout */
    --container-max-width: 1200px;
    --container-padding: 20px;
    --section-padding: 80px 0;
    
    /* Transitions */
    --transition-base: 0.3s ease;
}

body {
    font-family: var(--font-secondary);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--warm-white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.section-label {
    display: inline-block;
    font-family: var(--font-primary);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.section-label.white {
    color: var(--text-white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all var(--transition-base);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(27, 67, 50, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background-color: var(--warm-white);
    color: var(--primary-color);
    border-color: var(--warm-white);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-color);
    z-index: 1000;
    transition: all var(--transition-base);
    border-bottom: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 0;
    gap: 40px;
    position: relative;
}

.header-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    order: 1;
}

.header-logo-img {
    height: 50px;
    width: auto;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    order: 2;
}

.header-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    white-space: nowrap;
    min-width: max-content;
    padding-left: 20px;
    order: 3;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    order: 0;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header {
        padding: 0;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 1;
    }
    
    .header-content {
        padding: 8px 0;
        gap: 20px;
    }

    .header-logo {
        order: 2;
    }

    .header-content > nav {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: var(--secondary-color);
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
    }

    .header-content > nav.mobile-open {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 16px;
        padding: 0;
        margin: 0;
    }

    .nav-menu > li {
        width: 100%;
        text-align: left;
        padding: 8px 0;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 8px;
        background-color: rgba(255, 255, 255, 0.1);
        padding: 8px 16px;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .header-cta {
        order: 3;
        margin-right: 0;
    }

    .header-phone {
        font-size: 1rem;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Mobile Menu Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header-content {
        padding: 8px 0;
        gap: 20px;
    }

    .mobile-menu-toggle {
        display: block;
        order: 1;
    }

    .header-content > nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--secondary-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding: 20px;
        transition: left 0.3s ease;
        z-index: 998;
    }

    .header-content > nav.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        gap: 16px;
        width: 100%;
    }

    .header-cta {
        order: 2;
        padding-left: 0;
    }

    .header-phone {
        font-size: 1rem;
    }

    /* Dropdown adjustments for mobile */
    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        margin-top: 8px;
        background-color: rgba(255, 255, 255, 0.1);
    }
}

.header-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-white);
    text-decoration: none;
    font-size: 1.25rem;
    font-weight: 600;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.header-phone:hover {
    color: var(--primary-color);
}

.header-phone i {
    font-size: 1rem;
    flex-shrink: 0;
}

.header-estimate-btn {
    background-color: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 6px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.header-estimate-btn:hover {
    background-color: #7cffd3;
    transform: translateY(-2px);
}

.logo-container {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-container img {
    height: 90px;
    width: auto;
}

.logo-container a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-container h1,
.logo-container h2 {
    margin: 0;
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
    transition: color var(--transition-base);
}

.logo-container a:hover h1,
.logo-container a:hover h2 {
    color: var(--accent-color);
}

.header-logo {
    font-size: 1.5rem;
}

.header-logo-img {
    height: 90px;
    width: auto;
    object-fit: contain;
    background: transparent !important;
    filter: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    max-width: none;
}

.header-icon-img {
    height: 40px;
    width: 40px;
    object-fit: contain;
    display: none;
}

@media (max-width: 768px) {
    .header-logo-img {
        display: none;
    }
    .header-icon-img {
        display: block;
    }
}

.footer-logo-img {
    height: 120px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: block;
    margin: 0 auto 20px auto;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.footer-logo-text {
    font-size: 1.25rem;
}

/* Color utility classes */
.evergreen-accent {
    color: var(--primary-color) !important;
}

.evergreen-bg {
    background-color: var(--primary-color) !important;
}

.warm-accent {
    color: var(--secondary-color) !important;
}

.slate-accent {
    color: var(--support-color) !important;
}

.warm-bg {
    background-color: var(--warm-white) !important;
}

/* Copper accent classes for subtle highlights */
.copper-accent {
    color: var(--copper-accent) !important;
}

.copper-underline {
    position: relative;
}

.copper-underline::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 60px;
    height: 2px;
    background-color: var(--copper-accent);
}

/* Copper background for shingle category tags */
.shingle-category-copper {
    background-color: var(--copper-accent) !important;
    color: var(--text-white) !important;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    margin-bottom: 8px;
}

.main-nav {
    display: flex;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 24px;
    align-items: center;
    white-space: nowrap;
    justify-content: center;
}

.nav-link {
    font-family: var(--font-primary);
    font-weight: 500;
    color: var(--text-white);
    text-decoration: none;
    transition: color var(--transition-base);
    position: relative;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link.cta-nav {
    background-color: var(--primary-color);
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 6px;
}

.nav-link.cta-nav:hover {
    background-color: var(--accent-color);
    color: var(--text-white);
}

.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    border: 1px solid rgba(0, 0, 0, 0.08);
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu .dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 8px;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.dropdown-menu .dropdown-link:hover {
    background-color: var(--secondary-color);
    color: var(--text-white);
    transform: translateX(4px);
}

.area-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.area-name {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.area-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.dropdown-menu .dropdown-link:hover .area-desc {
    color: var(--text-white);
}

.dropdown-menu .dropdown-link i {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
}

.dropdown-menu .dropdown-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Card Modal Styles */
.contact-dropdown .contact-card {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 90vw;
    min-width: 320px;
    max-width: 400px;
    height: fit-content;
    max-height: 85vh;
    background: white;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--border-color);
    z-index: 9999;
    overflow-y: auto;
    box-sizing: border-box;
}

/* Contact Card Backdrop */
.contact-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9998;
    backdrop-filter: blur(4px);
}

.contact-dropdown.contact-active .contact-backdrop {
    opacity: 1;
    visibility: visible;
}

.contact-dropdown.contact-active .contact-card {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.contact-card-content {
    padding: 24px;
}

.contact-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
}

.contact-card h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 20px;
    font-weight: 600;
}

.contact-close {
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.contact-close:hover {
    background: var(--secondary-color);
    color: var(--text-dark);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    padding: 8px 0;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.contact-item span {
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

.contact-actions {
    display: flex;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.contact-btn {
    flex: 1;
    padding: 10px 16px;
    border-radius: 8px;
    text-decoration: none;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 40px;
}

.email-btn {
    background: var(--secondary-color);
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.email-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.phone-btn {
    background: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

.phone-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

/* Service Area Modal Styles */
.service-area-dropdown .service-area-modal {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 0;
    width: 90vw;
    max-width: 700px;
    height: fit-content;
    max-height: 85vh;
    background: white;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--border-color);
    z-index: 10000;
    overflow-y: auto;
    box-sizing: border-box;
}

.service-area-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    z-index: 9999;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-area-dropdown.area-active .service-area-backdrop {
    opacity: 1;
    visibility: visible;
}

.service-area-dropdown.area-active .service-area-modal {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.service-area-content {
    padding: 24px;
}

.service-area-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding: 24px 24px 20px 24px;
    border-bottom: 2px solid var(--primary-color);
    background: linear-gradient(135deg, var(--warm-white) 0%, #f0ede8 100%);
    border-radius: 20px 20px 0 0;
    position: relative;
}

.service-area-header h4 {
    margin: 0;
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 700;
    flex: 1;
}

.service-area-close {
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-light);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 1;
}

.service-area-close:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.3);
}

/* Corner close button */
.service-area-close-corner {
    position: absolute;
    top: 16px;
    right: 16px;
    background: white;
    border: 2px solid var(--border-color);
    color: var(--text-light);
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10001;
}

.service-area-close-corner:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 6px 20px rgba(220, 38, 38, 0.4);
}

/* Service Areas Grid */
.service-areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.service-area-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-area-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

.service-area-card i {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.service-area-card h5 {
    margin: 0 0 8px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.service-area-card p {
    margin: 0 0 16px 0;
    font-size: 12px;
    color: var(--text-light);
    line-height: 1.4;
}

.area-select-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.area-select-btn:hover {
    background: var(--accent-color);
    transform: translateY(-1px);
}

/* Lead Form Styles */
.service-area-form {
    animation: slideIn 0.3s ease;
}

.form-header {
    text-align: center;
    margin-bottom: 24px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 12px;
    margin: -24px -24px 24px -24px;
}
/* Fix logo background issue */
.header-logo-img,
.logo-container img {
  background: transparent !important;
  animation: none !important;
  box-shadow: none !important;
  border: none !important;
}
.form-header h5 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
}

.form-header p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
}

.area-lead-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.area-lead-form .form-group {
    margin-bottom: 16px;
}

.area-lead-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 14px;
}

.area-lead-form .form-group input,
.area-lead-form .form-group select,
.area-lead-form .form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    font-family: var(--font-secondary);
}

.area-lead-form .form-group input:focus,
.area-lead-form .form-group select:focus,
.area-lead-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.area-lead-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.form-actions .btn-secondary {
    flex: 1;
    background: var(--secondary-color);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-actions .btn-secondary:hover {
    background: var(--border-color);
}

.form-actions .btn-primary {
    flex: 2;
    background: var(--primary-color);
    color: white;
    border: 2px solid var(--primary-color);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-actions .btn-primary:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive styles for service area modal */
@media (max-width: 768px) {
    .service-area-dropdown .service-area-modal {
        width: 95vw;
        max-width: 95vw;
        max-height: 90vh;
        border-radius: 16px;
        margin: 0;
        transform: scale(0.8);
    }
    
    .service-area-dropdown.area-active .service-area-modal {
        transform: scale(1);
    }
    
    .service-area-header {
        padding: 20px 20px 16px 20px;
        border-radius: 16px 16px 0 0;
    }
    
    .service-area-header h4 {
        font-size: 20px;
    }
    
    .service-area-close-corner {
        top: 12px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
    
    .service-areas-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .service-area-card {
        padding: 16px;
    }
    
    .area-lead-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn-secondary,
    .form-actions .btn-primary {
        flex: none;
        width: 100%;
    }
    
    .service-area-content {
        padding: 16px;
    }
    
    .form-header {
        margin: -16px -16px 20px -16px;
        padding: 16px;
    }
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 3px;
    background-color: var(--text-dark);
    margin: 3px 0;
    transition: var(--transition-base);
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
    background-color: var(--secondary-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    font-size: 14px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin: 0 8px;
    color: var(--text-light);
    font-weight: 400;
}

.breadcrumb-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-light);
    transition: var(--transition-base);
    font-weight: 500;
}

.breadcrumb-item a:hover {
    color: var(--primary-color);
}

.breadcrumb-item a i {
    margin-right: 6px;
    font-size: 12px;
}

.breadcrumb-item.active span {
    color: var(--text-dark);
    font-weight: 600;
}

.breadcrumb-item span {
    font-weight: 500;
}

/* Responsive breadcrumb */
@media (max-width: 768px) {
    .breadcrumb-nav {
        padding: 10px 0;
        font-size: 13px;
    }
    
    .breadcrumb-item:not(:last-child)::after {
        margin: 0 6px;
    }
    
    .breadcrumb-item a i {
        margin-right: 4px;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2f3e46 0%, #1a2226 50%, #0097b2 100%);
    background-size: cover;
    background-position: center;
    z-index: -2;
}

.hero-background-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0); /* Hardware acceleration */
    z-index: -1;
}

.hero-background-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    z-index: 2;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 62, 70, 0.6) 0%, rgba(26, 34, 38, 0.7) 50%, rgba(0, 151, 178, 0.4) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    margin-bottom: 32px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    color: var(--text-white);
}

.hero-features {
    margin: 40px 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 1.125rem;
    color: var(--text-white);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.checkmark {
    background-color: var(--text-white);
    color: var(--primary-color);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Services Section */
.services-section {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.service-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 320px;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.service-icon i {
    font-size: 36px;
    color: white;
}

.service-card h3 {
    margin: 0 0 16px 0;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.service-card p {
    margin: 0 0 auto 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.service-link {
    color: white;
    font-family: var(--font-primary);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    background: var(--accent-color);
    border: 2px solid var(--accent-color);
    cursor: pointer;
    font-size: 0.95rem;
    padding: 12px 24px;
    border-radius: 8px;
    margin-top: 20px;
    display: inline-block;
}

.service-link:hover {
    color: var(--text-dark);
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* About Section */
.about-section {
    padding: var(--section-padding);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image {
    position: relative;
}

.watermark {
    position: absolute;
    top: -20px;
    left: -20px;
    font-family: var(--font-primary);
    font-size: 8rem;
    font-weight: 800;
    color: rgba(220, 38, 38, 0.1);
    z-index: 1;
    line-height: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    position: relative;
    z-index: 2;
}

.contact-info h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.contact-info p {
    margin: 0;
    font-size: 0.875rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.about-content h2 {
    margin-bottom: 24px;
}

.features-list {
    display: grid;
    gap: 32px;
    margin-top: 40px;
}

.features-list .feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.feature-icon {
    flex-shrink: 0;
}

.feature-content h4 {
    color: var(--text-dark);
    margin-bottom: 8px;
}

.feature-content p {
    margin: 0;
    line-height: 1.6;
}

/* Services Detail Section */
.services-detail-section {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
    color: var(--text-white);
}

.services-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.services-detail-bottom {
    margin-bottom: 0;
}

.services-intro {
    grid-column: 1 / -1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.services-intro h2 {
    color: var(--text-white);
}

.services-intro .section-label {
    color: var(--primary-color);
}

.services-intro p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    color: #D1D5DB;
}

.service-detail {
    text-align: center;
    padding: 0 20px;
}

.service-detail .service-icon {
    margin-bottom: 24px;
}

.service-detail h3 {
    font-size: 1.25rem;
    letter-spacing: 1px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-detail p {
    color: #D1D5DB;
}

/* Why Choose Us Section */
.why-choose-us-section {
    padding: var(--section-padding);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 60px;
}

.advantage-column {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.advantage-item {
    text-align: center;
}

.advantage-icon {
    margin-bottom: 20px;
}

.advantage-item h4 {
    font-size: 1.25rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.advantage-center img {
    max-width: 100%;
    height: auto;
}

.section-cta {
    text-align: center;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: var(--section-padding);
    color: var(--text-white);
}

.testimonials-section .hero-background {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--darker-bg) 50%, var(--primary-color) 100%);
}

.testimonials-section .section-header {
    margin-bottom: 60px;
}

.testimonials-section h2 {
    color: var(--text-white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px 32px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-icon {
    margin-bottom: 24px;
}

.testimonial-card p {
    color: var(--text-white);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-card h5 {
    color: var(--text-white);
    font-family: var(--font-primary);
    font-weight: 600;
    margin: 0;
}

/* Google Reviews Specific Styles */
.loading-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
}

.loading-message p {
    color: var(--text-white);
    font-size: 1.125rem;
}

.google-review-card {
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 32px;
    border-radius: 16px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform var(--transition-base);
}

.google-review-card:hover {
    transform: translateY(-4px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1.125rem;
}

.review-author-info h5 {
    color: var(--text-white);
    font-size: 1rem;
    margin: 0 0 4px 0;
}

.review-stars {
    display: flex;
    gap: 2px;
    margin-left: auto;
}

.star {
    color: #FCD34D;
    font-size: 1.125rem;
}

.review-text {
    color: var(--text-white);
    line-height: 1.6;
    margin-bottom: 12px;
}

.review-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Quote Section */
.quote-section {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
}

.quote-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.quote-content h2 {
    margin-bottom: 16px;
}

.quote-content > p {
    font-size: 1.125rem;
    margin-bottom: 48px;
    color: var(--warm-white);
}

.quote-form {
    background-color: white;
    padding: 48px;
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow-medium);
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-secondary);
    font-size: 1rem;
    transition: border-color var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background-color: var(--dark-bg);
    color: var(--text-white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 120px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.footer-logo img {
    height: 120px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.footer-column h3 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    color: var(--text-white);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #CCCCCC;
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-links a:hover {
    color: var(--text-white);
}

.contact-info p {
    margin-bottom: 12px;
    color: #CCCCCC;
}

.contact-info a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #374151;
}

.footer-bottom p {
    margin: 0;
    color: #CCCCCC;
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --container-padding: 16px;
        --section-padding: 60px 0;
    }
    
    .main-nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        background: white;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
        z-index: 998;
        border-top: 1px solid var(--border-color);
    }
    
    .main-nav.mobile-open {
        display: block;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        display: block;
        padding: 16px 24px;
        font-size: 16px;
        font-weight: 500;
        color: var(--text-dark);
        border: none;
        background: transparent;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        background: var(--secondary-color);
        color: var(--primary-color);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(6px, -6px);
    }
    
    /* Prevent body scroll when menu is open */
    body.menu-open {
        overflow: hidden;
    }
    
    /* Contact card responsive styles */
    .contact-dropdown .contact-card {
        min-width: 300px;
        max-width: calc(100vw - 40px);
        margin: 0 20px;
    }
    
    .contact-card-content {
        padding: 20px;
    }
    
    .contact-header {
        margin-bottom: 16px;
        padding-bottom: 10px;
    }
    
    .contact-card h4 {
        font-size: 18px;
    }
    
    .contact-close {
        width: 28px;
        height: 28px;
        font-size: 16px;
    }
    
    .contact-item {
        margin-bottom: 10px;
        padding: 6px 0;
    }
    
    .contact-item span {
        font-size: 13px;
    }
    
    .contact-actions {
        margin-top: 12px;
        padding-top: 12px;
        gap: 6px;
    }
    
    .contact-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-image {
        order: 2;
    }
    
    .about-content {
        order: 1;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .advantage-center {
        order: -1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-form {
        padding: 32px 24px;
    }
    
    .watermark {
        font-size: 4rem;
        top: -10px;
        left: -10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    }
    
    .section-label {
        font-size: 0.75rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .service-card,
    .testimonial-card {
        padding: 32px 24px;
    }
    
    .quote-form {
        padding: 24px 16px;
    }
}

/* Utility Classes */
.white {
    color: var(--text-white) !important;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mt-40 {
    margin-top: 40px;
}

/* Dark sections for enhanced theme */
.dark-section {
    background-color: var(--dark-bg);
    color: var(--text-white);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section h5,
.dark-section h6 {
    color: var(--text-white);
}

.dark-section .section-label {
    color: var(--primary-color);
}

.dark-section p {
    color: #D1D5DB;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Page Header Styles */
.page-header {
    position: relative;
    padding: 150px 0 80px;
    text-align: center;
    color: var(--text-white);
    overflow: hidden;
}

.page-header-content {
    position: relative;
    z-index: 10;
}

.page-header-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    margin-bottom: 20px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 1px 1px 3px rgba(0, 0, 0, 0.9);
    color: var(--text-white);
    font-weight: 700;
}

.page-header-content p {
    font-size: 1.25rem;
    color: var(--text-white);
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7), 1px 1px 2px rgba(0, 0, 0, 0.8);
    font-weight: 500;
}

/* Company Story Section */
.company-story-section {
    padding: var(--section-padding);
    background-color: #f8f6f3 !important;
    background-image: none !important;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
    align-items: start;
    min-height: 500px;
}

.story-content h2 {
    margin-bottom: 24px;
}

.story-content p {
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.story-images {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
    min-height: 400px;
}

.story-image-main {
    width: 100%;
    max-width: 400px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.story-image-main img {
    width: 100% !important;
    height: auto !important;
    min-height: 200px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.3s ease;
}

.story-image-secondary {
    align-self: flex-end;
    width: 75%;
    max-width: 300px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.story-image-secondary img {
    width: 100% !important;
    height: auto !important;
    min-height: 150px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.3s ease;
}

.story-image-main:hover .image-overlay,
.story-image-secondary:hover .image-overlay {
    opacity: 1;
}

.story-image-main:hover img,
.story-image-secondary:hover img {
    transform: scale(1.05);
}

.story-image-party {
    width: 100%;
    max-width: 400px;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.story-image-party img {
    width: 100% !important;
    height: auto !important;
    max-height: 220px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: transform 0.3s ease;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 151, 178, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 16px;
}

.overlay-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 20px;
    line-height: 1.4;
}

.story-image-party:hover .image-overlay {
    opacity: 1;
}

.story-image-party:hover img {
    transform: scale(1.05);
}

/* Legacy support for single story image */
.story-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 12px 32px var(--shadow-medium);
}

/* Values Section */
.values-section {
    padding: var(--section-padding);
    background-color: #2f3e46;
}

.values-section .section-label {
    color: #69f2c4;
}

.values-section h2 {
    color: #f8f6f3 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

.values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.value-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
    border-color: var(--primary-color);
}

.value-card:hover::before {
    opacity: 1;
}

.value-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.value-icon i {
    font-size: 36px;
    color: white;
}

.value-card h3 {
    margin: 0 0 16px 0;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.value-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: var(--section-padding);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-member {
    text-align: center;
}

.member-image {
    margin-bottom: 24px;
}

.member-image img {
    width: 100%;
    max-width: 300px;
    height: 300px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 24px var(--shadow-medium);
}

.member-info h4 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.member-title {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 16px !important;
}

/* Stats Section */
.stats-section {
    position: relative;
    padding: var(--section-padding);
    color: var(--text-white);
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-primary);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-white);
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-white);
}

/* CTA Section */
.cta-section {
    padding: var(--section-padding);
    background-color: var(--secondary-color);
    text-align: center;
}

.cta-content h2 {
    margin-bottom: 16px;
    color: #f8f6f3;
}

.cta-content p {
    font-size: 1.125rem;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: #f8f6f3;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive Adjustments for About Page */
@media (max-width: 1024px) {
    .story-grid {
        grid-template-columns: 1fr 350px;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .story-image {
        order: -1;
    }
    
    .story-images {
        order: -1;
        flex-direction: column;
        gap: 16px;
        min-height: auto;
    }
    
    .story-image-main {
        width: 100%;
        max-width: none;
    }
    
    .story-image-secondary {
        align-self: center;
        width: 80%;
        max-width: none;
    }
    
    .story-image-party {
        width: 100%;
        max-width: none;
        margin-top: 16px;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .value-card,
    .testimonial-card {
        padding: 32px 24px;
    }
}

/* Print Styles */
@media print {
    .header,
    .hero-section,
    .quote-section,
    .footer {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* CertainTeed Shingles Section - Professional Design */
.shingles-section {
    padding: var(--section-padding);
    background-color: var(--dark-bg);
    color: var(--text-white);
}

.section-header {
    margin-bottom: 60px;
}

.section-header.text-center {
    text-align: center;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-white);
}

.section-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto;
}

.section-label {
    color: var(--primary-color);
}

/* Shingles Showcase */
.shingles-showcase {
    margin-bottom: 80px;
}

.shingle-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-base), background-color var(--transition-base);
    backdrop-filter: blur(10px);
}

.shingle-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.shingle-item:nth-child(even) {
    flex-direction: row-reverse;
}

.shingle-info {
    flex: 1;
    padding-right: 40px;
}

.shingle-item:nth-child(even) .shingle-info {
    padding-right: 0;
    padding-left: 40px;
}

.shingle-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.shingle-category {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.shingle-info p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.features-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature-tag {
    background: rgba(220, 38, 38, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(220, 38, 38, 0.2);
}

.shingle-visual {
    flex-shrink: 0;
    width: 280px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.shingle-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-base);
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

.shingle-item:hover .shingle-visual img {
    transform: scale(1.05);
}

/* Warranty Highlight Section */
.warranty-highlight {
    background: var(--secondary-color);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 50px;
    color: var(--text-dark);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.warranty-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(27, 67, 50, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.warranty-content {
    position: relative;
    z-index: 2;
}

.warranty-intro {
    text-align: center;
    margin-bottom: 50px;
}

.warranty-intro h3 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.warranty-intro p {
    font-size: 1.2rem;
    color: var(--text-light);
}

.warranty-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.warranty-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.warranty-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
}

.warranty-text h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.warranty-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
}

/* Warranty Links */
.warranty-links {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.warranty-link {
    display: flex;
    align-items: center;
    gap: 12px;
    background: white;
    color: var(--text-dark);
    padding: 15px 25px;
    border-radius: 12px;
    text-decoration: none;
    border: 2px solid var(--border-color);
    transition: all var(--transition-base);
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
}

.warranty-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(220, 38, 38, 0.2);
}

.warranty-link i {
    font-size: 18px;
}

/* Responsive Design for New Sections */
@media (max-width: 1024px) {
    .shingle-item {
        padding: 30px;
    }
    
    .shingle-info {
        padding-right: 30px;
    }
    
    .shingle-item:nth-child(even) .shingle-info {
        padding-right: 0;
        padding-left: 30px;
    }
    
    .shingle-visual {
        width: 250px;
        height: 180px;
    }
    
    .warranty-links {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .shingle-item,
    .shingle-item:nth-child(even) {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .shingle-info,
    .shingle-item:nth-child(even) .shingle-info {
        padding: 0;
        margin-bottom: 25px;
    }
    
    .shingle-visual {
        width: 100%;
        height: 200px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .warranty-highlight {
        padding: 35px 25px;
    }
    
    .warranty-details {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .warranty-intro h3 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .warranty-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .warranty-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .shingle-item {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .shingle-info h3 {
        font-size: 1.5rem;
    }
    
    .features-row {
        justify-content: center;
    }
    
    .warranty-highlight {
        padding: 25px 20px;
    }
    
    .warranty-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .warranty-link {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    border-radius: 12px 12px 0 0;
}

.modal-header h2 {
    margin: 0;
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
}

.close {
    color: var(--text-white);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-base);
    line-height: 1;
    padding: 0 5px;
}

.close:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.modal-body {
    padding: 30px;
}

.warranty-documents {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.document-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: linear-gradient(135deg, var(--warm-white), #f0ede8);
    transition: var(--transition-base);
}

.document-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px var(--shadow-light);
    transform: translateY(-2px);
}

.document-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.document-info {
    flex: 1;
}

.document-info h4 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
}

.document-info p {
    margin: 0 0 16px 0;
    color: var(--text-light);
    font-size: 0.95rem;
}

.document-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-base);
    padding: 8px 16px;
    border: 2px solid var(--primary-color);
    border-radius: 6px;
    background: transparent;
}

.document-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 38, 38, 0.3);
}

.document-link i {
    font-size: 0.85rem;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-body {
        padding: 20px;
    }
    
    .document-item {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }
    
    .document-icon {
        align-self: center;
    }
}

/* Estimate Modal Styles */
.estimate-options {
    padding: 10px 0;
}

.estimate-intro {
    text-align: center;
    margin-bottom: 30px;
}

.estimate-intro p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0;
}

.service-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.service-option {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: linear-gradient(135deg, var(--warm-white), #f0ede8);
    cursor: pointer;
    transition: all var(--transition-base);
}

.service-option:hover {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, #FEF2F2, #FECACA);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.15);
}

.service-option .service-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.service-option .service-info {
    flex: 1;
}

.service-option .service-info h4 {
    margin: 0 0 8px 0;
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 600;
}

.service-option .service-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-option .service-arrow {
    flex-shrink: 0;
    color: var(--text-light);
    font-size: 18px;
    transition: all var(--transition-base);
}

.service-option:hover .service-arrow {
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Estimate Modal Responsive */
@media (max-width: 768px) {
    .service-option {
        padding: 20px;
        gap: 16px;
    }
    
    .service-option .service-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .service-option .service-info h4 {
        font-size: 1.2rem;
    }
    
    .service-option .service-info p {
        font-size: 0.9rem;
    }
}

/* Logo Styling */
.main-logo {
    height: 60px;
    width: auto;
    max-width: 250px;
    object-fit: contain;
    display: block;
}

.footer-logo-img {
    height: 100px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
    margin: 0 auto 15px auto;
}

/* Professional Why Choose Us Section */
.section-description {
    text-align: center;
    color: var(--text-light);
    font-size: 1.1rem;
    margin-top: 12px;
    margin-bottom: 0;
}

.advantages-grid-pro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 30px;
    margin-top: 50px;
    margin-bottom: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-card {
    background: white;
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity var(--transition-base);
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(220, 38, 38, 0.15);
    border-color: var(--primary-color);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-card .advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.advantage-card .advantage-icon i {
    font-size: 36px;
    color: white;
}

.advantage-card h4 {
    margin: 0 0 16px 0;
    color: var(--text-dark);
    font-size: 1.4rem;
    font-weight: 600;
}

.advantage-card p {
    margin: 0;
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
}

/* Professional Why Choose Us Responsive */
@media (max-width: 1024px) {
    .advantages-grid-pro {
        grid-template-columns: 1fr 1fr;
        gap: 30px 25px;
        max-width: 900px;
    }
    
    .advantage-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .advantages-grid-pro {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .advantage-card {
        padding: 30px 20px;
    }
    
    .advantage-card .advantage-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .advantage-card .advantage-icon i {
        font-size: 32px;
    }
    
    .advantage-card h4 {
        font-size: 1.3rem;
    }
    
    .section-description {
        font-size: 1rem;
    }
}

/* Homepage Services Responsive */
@media (max-width: 1024px) {
    #services .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        max-width: 900px;
    }
}

@media (max-width: 768px) {
    #services .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
}

/* About Page Services Section Styling */
.values-section + .services-section {
    background-color: #2f3e46;
}

.values-section + .services-section .section-label {
    color: #69f2c4;
}

.values-section + .services-section h2 {
    color: #f8f6f3 !important;
    opacity: 1 !important;
    font-weight: 700 !important;
}

/* Approach Section Styling */
.approach-section {
    background-color: #0097b2;
    padding: var(--section-padding);
}

.approach-section .section-label {
    color: #69f2c4;
}

.approach-section h2 {
    color: #f8f6f3;
}

.approach-section .approach-content p {
    color: #f8f6f3;
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* About Page Cards Responsive */
@media (max-width: 1024px) {
    .values-grid {
        grid-template-columns: 1fr 1fr;
        gap: 25px;
        max-width: 900px;
    }
    
    .values-section + .services-section .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px 25px;
        max-width: 900px;
    }
    
    .value-card,
    .values-section + .services-section .service-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .values-section + .services-section .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 40px;
        margin-bottom: 40px;
    }
    
    .value-card,
    .values-section + .services-section .service-card {
        padding: 30px 20px;
    }
    
    .value-icon,
    .values-section + .services-section .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .value-icon i,
    .values-section + .services-section .service-icon i {
        font-size: 32px;
    }
    
    .value-card h3,
    .values-section + .services-section .service-card h3 {
        font-size: 1.3rem;
    }
}

/* Responsive Modal Adjustments */
@media (max-height: 600px) {
    .service-area-dropdown .service-area-modal {
        max-height: 90vh;
        width: 95vw;
        transform: scale(0.8);
    }
    
    .service-area-dropdown.area-active .service-area-modal {
        transform: scale(1);
    }
    
    .contact-dropdown .contact-card {
        max-height: 90vh;
        width: 95vw;
    }
}

/* Additional viewport safety for very small screens */
@media (max-width: 360px), (max-height: 480px) {
    .service-area-dropdown .service-area-modal {
        width: 95vw;
        max-width: none;
        max-height: 90vh;
        border-radius: 10px;
        transform: scale(0.8);
    }
    
    .service-area-dropdown.area-active .service-area-modal {
        transform: scale(1);
    }
    
    .contact-dropdown .contact-card {
        width: 95vw;
        max-width: none;
        max-height: 90vh;
        border-radius: 10px;
    }
}

/* Image Performance Optimizations */
img {
    /* Enable hardware acceleration for images */
    transform: translateZ(0);
    will-change: transform;
    /* Optimize rendering */
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    /* Prevent layout shift during loading */
    height: auto;
    max-width: 100%;
}

/* Improve lazy loading performance */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

img[loading="lazy"].loaded,
img[loading="lazy"]:not([loading]) {
    opacity: 1;
}

/* Critical images should load immediately */
img[fetchpriority="high"] {
    opacity: 1;
    will-change: auto;
}

/* Modern browser image optimizations */
@supports (content-visibility: auto) {
    .gallery-item,
    .shingle-item {
        content-visibility: auto;
        contain-intrinsic-size: 300px;
    }
}

/* Prevent layout shift for images with dimensions */
img[width][height] {
    aspect-ratio: attr(width) / attr(height);
}

/* Optimize background images */
.hero-background-image {
    will-change: transform;
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Estimate Form Styling */
.estimate-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.estimate-form-container .form-header {
    text-align: center;
    margin-bottom: 30px;
}

.estimate-form-container .form-header h5 {
    color: var(--text-dark);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.estimate-form-container .form-header p {
    color: var(--text-light);
    font-size: 0.95rem;
}

.estimate-lead-form {
    background: #fff;
    padding: 0;
}

.estimate-lead-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.estimate-lead-form .form-group {
    margin-bottom: 20px;
}

.estimate-lead-form .form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.estimate-lead-form .form-group input,
.estimate-lead-form .form-group select,
.estimate-lead-form .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-secondary);
    transition: all 0.3s ease;
    background: #fff;
}

.estimate-lead-form .form-group input:focus,
.estimate-lead-form .form-group select:focus,
.estimate-lead-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.estimate-lead-form .form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.estimate-lead-form .form-actions {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    margin-top: 30px;
}

.estimate-lead-form .btn-secondary,
.estimate-lead-form .btn-primary {
    flex: 1;
    padding: 14px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.estimate-lead-form .btn-secondary {
    background: var(--border-color);
    color: var(--text-dark);
}

.estimate-lead-form .btn-secondary:hover {
    background: #d1d5db;
}

.estimate-lead-form .btn-primary {
    background: var(--primary-color);
    color: white;
}

.estimate-lead-form .btn-primary:hover {
    background: var(--accent-color);
}

.estimate-lead-form .btn-primary:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Success notification */
.success-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    background: var(--success-color);
    color: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-width: 400px;
    animation: slideInRight 0.3s ease;
}

.success-notification .notification-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.success-notification .notification-content i {
    font-size: 1.5rem;
    margin-top: 2px;
}

.success-notification .notification-text h4 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.success-notification .notification-text p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

.success-notification .notification-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    margin-left: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.success-notification .notification-close:hover {
    opacity: 1;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .estimate-lead-form .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .estimate-lead-form .form-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .success-notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* SURGICAL FIX: Only target active modal to avoid navbar issues */
.service-area-dropdown.area-active .service-area-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translate(-50%, -50%) scale(1) !important;
    z-index: 99999 !important;
    margin: 0 !important;
    width: 90vw !important;
    max-width: 700px !important;
}

/* Only target active backdrop */
.service-area-dropdown.area-active .service-area-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 99998 !important;
    display: block !important;
}

/* Professional Dropdown Menu Styles */
.service-area-menu,
.contact-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    min-width: 300px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    border: none;
    z-index: 1000;
}

.service-area-dropdown:hover .service-area-menu,
.contact-dropdown:hover .contact-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.service-area-menu li,
.contact-menu li {
    margin: 0;
    padding: 0;
}

/* Service Areas Dropdown */
.service-area-menu .dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 8px;
    position: relative;
    background: none;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: left;
}

.service-area-menu .dropdown-link:hover {
    background: linear-gradient(135deg, var(--copper), #d4803a);
    color: white;
    transform: translateX(4px);
}

.service-area-menu .area-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.service-area-menu .area-name {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
}

.service-area-menu .area-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.service-area-menu .dropdown-link:hover .area-desc {
    color: rgba(255, 255, 255, 0.85);
}

.service-area-menu .dropdown-link i {
    font-size: 0.9rem;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
}

.service-area-menu .dropdown-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Contact Dropdown */
.contact-menu .dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: var(--text-dark);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 8px;
    margin: 2px 8px;
    background: none;
    border: none;
    cursor: pointer;
    width: calc(100% - 16px);
    text-align: left;
}

.contact-menu .dropdown-link:hover {
    background-color: var(--secondary-color);
    color: var(--text-white);
    transform: translateX(4px);
}

.contact-menu .dropdown-link i {
    font-size: 0.9rem;
    opacity: 0.6;
    transition: all 0.2s ease;
    color: var(--text-dark);
    margin-left: 12px;
}

.contact-menu .dropdown-link:hover i {
    color: var(--text-white);
    opacity: 1;
    transform: translateX(0);
}

.contact-menu .contact-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-menu .contact-label {
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
}

.contact-menu .contact-value {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.contact-menu .dropdown-link:hover .contact-value {
    color: rgba(255, 255, 255, 0.85);
}

/* Dropdown Toggle Icons */
.service-area-toggle i,
.contact-toggle i {
    margin-left: 6px;
    font-size: 0.75em;
    transition: transform 0.3s ease;
}

.service-area-dropdown:hover .service-area-toggle i,
.contact-dropdown:hover .contact-toggle i {
    transform: rotate(180deg);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .service-area-menu,
    .contact-menu {
        min-width: 280px;
        left: -50px;
    }
    
    .service-area-menu .dropdown-link,
    .contact-menu .dropdown-link {
        padding: 14px 16px;
    }
}

/* Legal Pages Styles */
.legal-page-section {
    padding: 120px 0 80px;
    background-color: var(--warm-white);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.legal-content h1 {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    text-align: center;
}

.legal-content .last-updated {
    text-align: center;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-family: var(--font-primary);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    padding-top: 20px;
}

.legal-section h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin: 20px 0 10px;
}

.legal-section p {
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.legal-section li {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 8px;
}

.contact-details {
    background: var(--secondary-color);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    margin-top: 20px;
}

.contact-details p {
    margin-bottom: 8px;
}

.contact-details a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-details a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .legal-page-section {
        padding: 100px 0 60px;
    }
    
    .legal-content {
        margin: 0 20px;
        padding: 40px 30px;
    }
    
    .legal-content h1 {
        font-size: 2rem;
    }
    
    .legal-section h2 {
        font-size: 1.3rem;
    }

    /* Footer Logo Mobile Responsive */
    .footer-logo {
        min-height: 80px;
    }
    
    .footer-logo-img,
    .footer-logo img {
        height: 80px;
        max-width: 100px;
        margin: 0 auto 15px auto;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
}
