/* ===================================================================
   PrismCleaning NC Stylesheet - Enhanced Version
   Version 2.0 (Enhanced for better UX and mobile experience)
   ===================================================================

   TABLE OF CONTENTS
   1.  Global & Body Styles
   2.  Header & Navigation
   3.  Hero Sections (Homepage & Inner Pages)
   4.  Buttons & Common Elements
   5.  Homepage Sections (Core Services, How It Works, etc.)
   6.  Services Page Layouts
   7.  Pricing Page (Enhanced Quote Wizard)
   8.  Contact Page Layout & Form
   9.  FAQ Page
   10. Footer
   11. Animations & Transitions
   12. Mobile Navigation
   13. Enhanced Responsive Media Queries

=================================================================== */

/* === 1. Global & Body Styles === */
html {
    box-sizing: border-box;
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

*, *::before, *::after {
    box-sizing: inherit;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* === 2. Header & Navigation === */
header {
    background-color: #FFFFFF;
    padding: 1rem 0;
    border-bottom: 1px solid #EAEAEA;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000; 
    transition: all 0.3s ease;
}

/* Add scroll effect to header */
header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

nav {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

nav .logo img#logo-img {
    height: 60px;
    width: auto;
    display: block;
    transition: height 0.3s ease;
}

header.scrolled nav .logo img#logo-img {
    height: 50px;
}

/* Desktop Navigation */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    text-decoration: none;
    color: #0A2B4C;
    font-weight: bold;
    padding: 8px 12px;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
    position: relative;
    display: block;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #D4AF37;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 80%;
}

nav ul li a:hover,
nav ul li a.active {
    color: #D4AF37;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #0A2B4C;
    cursor: pointer;
    padding: 8px;
    transition: color 0.3s ease;
    position: relative;
    width: 40px;
    height: 40px;
}

.mobile-nav-toggle:hover {
    color: #D4AF37;
}

/* Hamburger Icon Animation */
.hamburger {
    width: 24px;
    height: 2px;
    background-color: #0A2B4C;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #0A2B4C;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

.mobile-nav-toggle.active .hamburger {
    background-color: transparent;
}

.mobile-nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-nav-toggle.active .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Mobile Navigation Menu */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.mobile-nav-header img {
    height: 40px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #0A2B4C;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav ul li a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: #0A2B4C;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background-color: #f0f4f8;
    color: #D4AF37;
    border-left: 3px solid #D4AF37;
}

.mobile-nav ul li a:active {
    background-color: #f0f4f8;
}

/* Mobile Navigation Overlay */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* === 3. Hero Sections === */
#hero, 
#about-hero,
#pricing-hero,
#contact-hero,
#faq-hero,
#services-hero {
    position: relative;
    background-color: #0A2B4C;
    background-image: linear-gradient(135deg, #0A2B4C 0%, #0d3a5f 100%);
    color: white;
    text-align: center;
    z-index: 1;
    overflow: hidden;
}

/* Add subtle pattern overlay */
#hero::before,
#about-hero::before,
#pricing-hero::before,
#contact-hero::before,
#faq-hero::before,
#services-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: -1;
    animation: float 20s ease-in-out infinite;
}

/* Specific padding for homepage vs. inner pages */
#hero {
    padding: 6rem 2rem;
    min-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#about-hero,
#pricing-hero,
#contact-hero,
#faq-hero,
#services-hero {
    padding: 3rem 2rem;
}

/* Hero text styles */
#hero h1,
#about-hero h2,
#pricing-hero h2,
#contact-hero h2,
#faq-hero h2,
#services-hero h2,
#services-hero h1 {
    color: white;
    margin-bottom: 0.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3); 
    animation: fadeInUp 0.8s ease-out;
    font-size: clamp(2rem, 5vw, 3rem);
    position: relative;
    z-index: 1;
}

#hero h1 {
    font-size: 3.2rem;
}

#about-hero h2,
#pricing-hero h2,
#contact-hero h2,
#faq-hero h2,
#services-hero h2 {
    font-size: 2.5rem;
}

#hero p,
.page-intro {
    font-size: clamp(1rem, 3vw, 1.3rem);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    position: relative;
    z-index: 1;
    opacity: 0.95;
}

#hero p {
    margin-bottom: 2.5rem;
}

#about-hero .page-intro,
#pricing-hero .page-intro,
#contact-hero .page-intro,
#faq-hero .page-intro,
#services-hero .page-intro {
    color: #f0f0f0;
}

.trust-signals {
    font-size: 0.9em;
    margin-top: 1.5rem;
    color: #e0e0e0;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* === 4. Buttons & Common Elements === */
.cta-button {
    background: linear-gradient(135deg, #D4AF37 0%, #c8a02b 100%);
    color: #0A2B4C;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.05rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-block;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.cta-button:hover {
    color: #0A2B4C;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(212, 175, 55, 0.4);
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

main section {
    padding: 4rem 2rem; 
}

main section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: #0A2B4C;
    margin-top: 0;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

main section h3 {
    font-size: 1.8rem;
    color: #0A2B4C;
    margin-top: 0;
    margin-bottom: 1.5rem;
}

.content-container {
    max-width: 1200px; 
    margin: 0 auto;
    padding: 0 1rem;
    text-align: left;
}

.alternating-bg {
    background-color: #f9f9f9;
}

/* === 5. Homepage Sections === */
.service-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px; 
    margin: 2rem auto 0 auto;
}

.service-summary-item {
    background-color: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.service-summary-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background-color: #D4AF37;
    transition: height 0.3s ease;
}

.service-summary-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-summary-item:hover::before {
    height: 100%;
}

.service-summary-item h3 {
    font-size: 1.5rem;
    color: #0A2B4C;
    margin-top: 0;
    margin-bottom: 0.75rem;
}

.service-summary-item p {
    flex-grow: 1;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.5;
}

.service-summary-item a {
    color: #D4AF37;
    text-decoration: none;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-summary-item a::after {
    content: '→';
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.service-summary-item a:hover {
    color: #b8962f;
}

.service-summary-item a:hover::after {
    transform: translateX(5px);
}

/* How It Works Section */
#how-it-works {
    padding: 4rem 1rem;
}

.how-it-works-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto 0 auto;
}

.step {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    background-color: #D4AF37;
    color: #0A2B4C;
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0 auto 1rem auto;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.step h4 {
    font-size: 1.4rem;
    color: #0A2B4C;
    margin-bottom: 0.5rem;
}

/* Testimonials */
#testimonials {
    padding: 4rem 1rem;
    text-align: center;
}

#testimonials h2 {
    margin-bottom: 2.5rem;
    color: #0A2B4C;
}

.testimonial-container {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    background-color: #fff;
    border-left: 5px solid #D4AF37;
    padding: 2rem;
    border-radius: 5px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.testimonial-item:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateX(5px);
}

.testimonial-stars {
    color: #D4AF37;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.testimonial-text {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.7;
    margin: 0 0 1rem 0;
    color: #555;
}

.testimonial-text::before {
    content: '"';
    font-size: 2em;
    font-weight: bold;
    color: #e0e0e0;
    margin-right: 5px;
    vertical-align: -0.4em;
    line-height: 0;
}

.testimonial-author {
    font-weight: bold;
    color: #0A2B4C;
    text-align: right;
    font-style: normal;
}

/* Google Reviews Widget */
.beaver-reviews-widget-container {
    display: inline-block;
    text-align: left;
    max-width: 100%;
}

/* Why Choose Us */
#why-choose-us {
    background-color: #f0f4f8;
}

.reasons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.reason-item {
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.reason-item:hover {
    transform: translateY(-5px);
}

.reason-icon {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.reason-item:hover .reason-icon {
    transform: scale(1.1);
}

.reason-item h4 {
    color: #0A2B4C;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

/* === 6. Services Page Layouts === */
.service-detail-section {
    padding: 4rem 1rem;
    text-align: left;
    position: relative;
}

.service-detail-section .content-container {
    text-align: left;
    max-width: 1000px;
}

.service-detail-section h2 {
    position: relative;
    display: inline-block;
}

.service-detail-section h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}

.service-detail-section h3 {
    font-size: 1.3rem;
    color: #333;
    margin: 2rem 0 1rem 0;
}

.service-detail-section h4 {
    font-size: 1.3rem;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.service-detail-section p {
    line-height: 1.8;
    color: #555;
    margin-bottom: 1.5rem;
}

.service-detail-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-detail-section ul li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.service-detail-section ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

.service-detail-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    max-width: 450px;
    display: block;
    margin: 0 auto 1rem auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-detail-image:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.service-detail-section .cta-button {
    display: inline-block;
    margin-top: 1rem;
}

.service-column-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    align-items: center;
    margin-bottom: 2rem;
}

.service-image-column {
    flex: 1 1 400px;
    min-width: 280px;
}

.service-text-column {
    flex: 2 1 500px;
}

.service-column-layout.reverse {
    flex-direction: row-reverse;
}

/* Enhanced Service Features */
.service-features {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    color: #0A2B4C;
    border: 1px solid #e0e4e8;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    background: linear-gradient(135deg, #fff 0%, #f0f4f8 100%);
}

.feature-badge i {
    color: #D4AF37;
    font-size: 1.2rem;
}

/* Service Checklist */
.service-checklist {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.service-checklist li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #555;
    transition: transform 0.2s ease;
}

.service-checklist li:hover {
    transform: translateX(5px);
}

.service-checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background-color: rgba(40, 167, 69, 0.1);
    border-radius: 50%;
}

/* Service Pricing Note */
.service-pricing-note {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #fff9e6 0%, #fff5d9 100%);
    padding: 1.25rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid #D4AF37;
    box-shadow: 0 2px 10px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s ease;
}

.service-pricing-note:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.15);
}

.service-pricing-note i {
    color: #D4AF37;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.service-pricing-note p {
    margin: 0;
    font-weight: 500;
    color: #0A2B4C;
}

/* Commercial Benefits */
.commercial-benefits {
    background: linear-gradient(135deg, #f9f9f9 0%, #f0f0f0 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.commercial-benefits h4 {
    color: #0A2B4C;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.commercial-benefits ul {
    list-style: none;
    padding: 0;
}

.commercial-benefits li {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
    transition: padding-left 0.3s ease;
}

.commercial-benefits li:hover {
    padding-left: 10px;
}

.commercial-benefits li:last-child {
    border-bottom: none;
}

.commercial-benefits li strong {
    color: #D4AF37;
    margin-right: 0.5rem;
}

.custom-quote-note {
    font-style: italic;
    color: #666;
    background-color: #f0f4f8;
    padding: 1.25rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    border-left: 3px solid #0A2B4C;
}

/* Add-on Services */
#add-on-services {
    background-color: #fff;
    padding: 4rem 1rem;
}

#add-on-services .content-container h3,
#add-on-services .content-container p {
    text-align: center;
}

#add-on-services .cta-button {
    display: block;
    width: fit-content;
    margin: 1.5rem auto 0 auto;
}

.addon-list {
    max-width: 600px;
    margin: 1.5rem auto;
    list-style: none;
    padding-left: 0;
    text-align: left;
    column-count: 2;
    column-gap: 2rem;
}

.addon-list li {
    margin-bottom: 0.75rem;
    font-size: 1rem;
    position: relative;
    padding-left: 1.5rem;
    break-inside: avoid;
}

.addon-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

/* Enhanced Addon Showcase */
.addon-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 2rem auto;
}

.addon-category {
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 3px solid #D4AF37;
    transition: all 0.3s ease;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.addon-category::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.05) 0%, transparent 100%);
    transition: top 0.3s ease;
}

.addon-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.addon-category:hover::before {
    top: 0;
}

.addon-category h3 {
    color: #0A2B4C;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.addon-category h3 i {
    color: #D4AF37;
    font-size: 1.5rem;
}

.addon-category ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.addon-category li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(224, 224, 224, 0.5);
    transition: all 0.3s ease;
}

.addon-category li:hover {
    padding-left: 10px;
    padding-right: 10px;
    background-color: rgba(212, 175, 55, 0.05);
    margin: 0 -10px;
    border-radius: 5px;
}

.addon-category li:last-child {
    border-bottom: none;
}

.addon-name {
    color: #333;
    font-weight: 500;
}

.addon-price {
    color: #D4AF37;
    font-weight: bold;
    font-size: 1.1rem;
}

/* Service Areas */
#service-areas {
    padding: 4rem 1rem;
}

.service-area-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 700px;
    margin: 2rem auto;
}

.area-card {
    background: linear-gradient(135deg, #fff 0%, #f9f9f9 100%);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s ease;
}

.area-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.area-card h3 {
    color: #0A2B4C;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    z-index: 1;
}

.area-card ul {
    list-style: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

.area-card li {
    padding: 0.75rem 0;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.area-card li:hover {
    transform: scale(1.05);
}

.area-card li i {
    color: #D4AF37;
    margin-right: 0.75rem;
    transition: transform 0.3s ease;
}

.area-card li:hover i {
    transform: rotate(360deg);
}

.primary-areas {
    border: 2px solid #D4AF37;
    position: relative;
    overflow: hidden;
}

.primary-areas::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

/* === 7. Modern Quote Wizard (Redesigned) === */

/* CSS Custom Properties for Theming */
.quote-wizard {
    --wizard-primary: #0A2B4C;
    --wizard-accent: #D4AF37;
    --wizard-success: #28a745;
    --wizard-error: #dc3545;
    --wizard-light: #f8f9fa;
    --wizard-border: #e9ecef;
    --wizard-shadow: 0 2px 12px rgba(0,0,0,0.08);
    --wizard-radius: 12px;
    --wizard-spacing: 1.5rem;
}

/* Modern Progress Indicator */
.wizard-progress {
    background: white;
    padding: var(--wizard-spacing);
    margin-bottom: 2rem;
    border-radius: var(--wizard-radius);
    box-shadow: var(--wizard-shadow);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 1rem;
}

.progress-line {
    position: absolute;
    top: 15px;
    left: 30px;
    right: 30px;
    height: 3px;
    background: var(--wizard-border);
    z-index: 1;
}

.progress-line-fill {
    height: 100%;
    background: var(--wizard-accent);
    transition: width 0.3s ease;
    width: 0%;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    background: white;
    padding: 0 8px;
}

.step-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--wizard-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: #666;
    transition: all 0.3s ease;
    margin-bottom: 8px;
}

.step-circle.active {
    background: var(--wizard-accent);
    color: white;
}

.step-circle.completed {
    background: var(--wizard-success);
    color: white;
}

.step-circle.completed::before {
    content: "✓";
}

.step-label {
    font-size: 0.75rem;
    color: #666;
    font-weight: 500;
    text-align: center;
    margin-top: 0.5rem;
}

/* Modern Step Cards */
.wizard-step {
    background: white;
    padding: 2rem;
    border-radius: var(--wizard-radius);
    box-shadow: var(--wizard-shadow);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.step-header {
    text-align: center;
    margin-bottom: 2rem;
}

.step-title {
    color: var(--wizard-primary);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.step-subtitle {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

/* Enhanced Service Cards */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.service-card {
    background: white;
    border: 2px solid var(--wizard-border);
    border-radius: var(--wizard-radius);
    padding: 1.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--wizard-accent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover,
.service-card.selected {
    border-color: var(--wizard-accent);
    transform: translateY(-2px);
    box-shadow: var(--wizard-shadow);
}

.service-card:hover::before,
.service-card.selected::before {
    transform: scaleX(1);
}

.service-card.selected {
    background: linear-gradient(135deg, #f8f9fa 0%, #e8ecef 100%);
    border-color: var(--wizard-primary);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--wizard-accent);
    margin-bottom: 1rem;
    display: block;
}

.service-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--wizard-primary);
    margin-bottom: 0.5rem;
}

.service-description {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.service-price {
    font-weight: 600;
    color: var(--wizard-accent);
    font-size: 1.1rem;
}

/* Modern Button Styles */
.wizard-button {
    background: var(--wizard-primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: var(--wizard-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(10, 43, 76, 0.2);
}

.wizard-button:hover {
    background: #083651;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(10, 43, 76, 0.3);
}

.wizard-button.secondary {
    background: var(--wizard-border);
    color: var(--wizard-primary);
    box-shadow: none;
}

.wizard-button.secondary:hover {
    background: #dee2e6;
    transform: translateY(-1px);
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--wizard-border);
}

/* Enhanced Form Inputs */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--wizard-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--wizard-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--wizard-accent);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-input.valid {
    border-color: var(--wizard-success);
}

.form-input.invalid {
    border-color: var(--wizard-error);
}

.form-error {
    color: var(--wizard-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: none;
}

.form-error.show {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* Price Display */
.price-display {
    background: linear-gradient(135deg, var(--wizard-accent) 0%, #b8941f 100%);
    color: white;
    padding: 1.5rem;
    border-radius: var(--wizard-radius);
    text-align: center;
    margin: 2rem 0;
    box-shadow: var(--wizard-shadow);
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price-label {
    font-size: 1rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quote-wizard {
        --wizard-spacing: 1rem;
    }
    
    .wizard-step {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .step-title {
        font-size: 1.5rem;
    }
    
    .service-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card {
        padding: 1.5rem;
    }
    
    .wizard-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .wizard-button {
        width: 100%;
        justify-content: center;
    }
    
    .progress-steps {
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }
    
    .step-label {
        display: none;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
#quote-wizard-section {
    padding: 2rem 1rem;
}

#quote-wizard-container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.wizard-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 2rem;
    position: relative;
    border-bottom: 2px solid #ccc;
}

.progress-step {
    text-align: center;
    color: #ccc;
    font-weight: bold;
    flex-grow: 1;
    padding-bottom: 10px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.progress-step.active {
    color: #0A2B4C;
    border-bottom: 2px solid #0A2B4C;
    margin-bottom: -2px;
}

.wizard-step {
    display: none;
    text-align: left;
    animation: fadeIn 0.5s;
}

.wizard-step.active {
    display: block;
}

.wizard-step h4 {
    text-align: center;
    color: #0A2B4C;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
}

.service-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.service-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1.25rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
}

.service-card:hover {
    border-color: #D4AF37;
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.service-card.selected {
    border-color: #0A2B4C;
    background-color: #f0f4f8;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.service-card .service-icon {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 0.75rem;
}

.service-card h5 {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    color: #0A2B4C;
}

.service-card p {
    font-size: 0.9rem;
    line-height: 1.4;
    color: #555;
    margin: 0;
}

.service-card p small {
    display: block;
    font-size: 0.8em;
    margin-top: 0.5em;
    color: #777;
}

.frequency-selection-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto 1.5rem auto;
}

.frequency-selection-group label {
    display: block;
    background: #f9f9f9;
    padding: 0.75rem 1rem;
    border-radius: 5px;
    border: 1px solid #eee;
    cursor: pointer;
    transition: all 0.3s ease;
}

.frequency-selection-group label:hover {
    border-color: #D4AF37;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.frequency-selection-group input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.1);
}

.frequency-selection-group input[type="radio"]:checked + label {
    background-color: #f0f4f8;
    border-color: #0A2B4C;
}

.wizard-addons-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 0.75rem;
}

.wizard-addons-group label {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 0.75rem;
    border-radius: 5px;
    border: 1px solid #eee;
    font-weight: normal;
    font-size: 0.95rem;
    cursor: pointer;
    transition: border-color 0.2s;
}

.wizard-addons-group label:hover {
    border-color: #ccc;
}

.wizard-addons-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    flex-shrink: 0;
}

.wizard-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    border-top: 1px solid #eee;
    padding-top: 1.5rem;
}

.wizard-nav-button {
    padding: 10px 20px;
    border: 2px solid #ccc;
    background-color: #f0f0f0;
    color: #333;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wizard-nav-button:hover:not(:disabled) {
    background-color: #e0e0e0;
    border-color: #999;
}

.wizard-nav-button:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.wizard-nav-button.next-btn:not(:disabled) {
    border-color: #D4AF37;
    background-color: #D4AF37;
    color: #0A2B4C;
}

.wizard-nav-button.next-btn:hover:not(:disabled) {
    background-color: #c8a02b;
    border-color: #c8a02b;
}

/* Finalize Step */
.finalize-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.finalize-form {
    flex: 2;
    min-width: 300px;
}

.finalize-summary {
    flex: 1.5;
    min-width: 280px;
    background-color: #f0f4f8;
    padding: 1.5rem;
    border-radius: 8px;
    align-self: flex-start;
}

.finalize-summary h5 {
    margin: 0 0 1rem 0;
    font-size: 1.3rem;
    color: #0A2B4C;
    text-align: center;
}

#final-quote-display {
    border-radius: 8px;
    margin-bottom: 1rem;
    text-align: center;
}

#quote-details {
    text-align: left;
    max-width: 400px;
    margin: 0 auto 1rem auto;
    line-height: 1.7;
    font-size: 0.95rem;
}

#quote-details p {
    margin-bottom: 0.5rem;
}

#quote-details p strong {
    color: #0A2B4C;
}

#quote-details p small {
    font-size: 0.85em;
    color: #555;
}

#final-price {
    font-size: 2.8rem;
    font-weight: bold;
    color: #0A2B4C;
    margin: 0.5rem 0;
}

.estimate-disclaimer {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.5rem;
    text-align: center;
}

.form-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
}

/* Thank you message */
.thank-you-message {
    text-align: center;
    padding: 2rem 1rem;
}

.thank-you-message h3 {
    font-size: 2rem;
    color: #0A2B4C;
    margin-bottom: 1rem;
}

.thank-you-message p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem auto;
}

/* === 8. Contact Page Layout & Form === */
.form-group,
.wizard-form-group {
    margin-bottom: 1.5rem;
}

.form-group label,
.wizard-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333;
    font-weight: bold;
    font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea,
.wizard-form-group input,
.wizard-form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #fff;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.wizard-form-group input:focus,
.wizard-form-group select:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

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

.wizard-form-group input[type="number"] {
    padding: 0.85rem;
}

/* === 9. FAQ Page === */
#faq-list .content-container {
    max-width: 900px;
}

.faq-item {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.faq-question {
    padding: 1rem 1.5rem;
    font-size: 1.15rem;
    font-weight: bold;
    color: #0A2B4C;
    cursor: pointer;
    display: block;
    position: relative;
    padding-right: 3rem;
}

.faq-question::marker,
summary::-webkit-details-marker {
    display: none;
}

.faq-question::after {
    content: '\25BC';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease-in-out;
    font-size: 0.8em;
    color: #D4AF37;
}

.faq-item[open] > .faq-question::after {
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem 1.5rem;
    border-top: 1px solid #e0e0e0;
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

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

.faq-answer a {
    color: #D4AF37;
    text-decoration: none;
    transition: color 0.3s ease;
}

.faq-answer a:hover {
    color: #b8962f;
    text-decoration: underline;
}

/* === 10. Footer === */
.site-footer {
    background: linear-gradient(135deg, #0A2B4C 0%, #0d3a5f 100%);
    color: #EAEAEA;
    padding: 3rem 2rem 2rem 2rem;
    margin-top: 3rem;
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #D4AF37, #c8a02b, #D4AF37);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.footer-column h5 {
    color: #D4AF37;
    font-size: 1.2rem;
    margin-bottom: 1.25rem;
}

.footer-column p,
.footer-column a {
    color: #ccc;
    text-decoration: none;
    line-height: 1.8;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: #D4AF37;
}

.footer-column .footer-logo {
    max-width: 180px;
    margin-bottom: 1.5rem;
    transition: transform 0.3s ease;
}

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

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 0.75rem;
    transition: padding-left 0.3s ease;
}

.footer-column ul li:hover {
    padding-left: 10px;
}

.footer-column .cta-button {
    font-size: 0.95rem;
    padding: 10px 20px;
    margin-top: 1.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: #aaa;
}

/* === 11. Animations & Transitions === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
    }
    25% {
        transform: translateY(-10px) translateX(5px);
    }
    50% {
        transform: translateY(5px) translateX(-5px);
    }
    75% {
        transform: translateY(-5px) translateX(5px);
    }
}

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

@keyframes shimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Loading Animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.fa-spinner.fa-spin {
    animation: spin 1s linear infinite;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    border-top-color: #D4AF37;
    animation: rotate 1s ease-in-out infinite;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* === 12. Enhanced Card Styles === */
.addon-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.addon-card {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 150px;
    position: relative;
    overflow: hidden;
}

.addon-card::before {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, rgba(212, 175, 55, 0.05) 100%);
    transition: top 0.3s ease;
    z-index: 0;
}

.addon-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-3px);
}

.addon-card:hover::before {
    top: 0;
}

.addon-card > * {
    position: relative;
    z-index: 0; /* Lower z-index to not block parent clicks */
}

.addon-card.selected {
    border-color: #0A2B4C !important;
    background-color: #f0f4f8 !important;
    box-shadow: 0 2px 8px rgba(10, 43, 76, 0.15) !important;
}

.addon-checkbox-hidden {
    display: none;
}

.addon-card-icon {
    font-size: 2.5rem;
    color: #D4AF37;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.addon-card:hover .addon-card-icon {
    transform: scale(1.1);
}

.addon-card-title {
    font-size: 1.05rem;
    color: #0A2B4C;
    margin: 0 0 0.5rem 0;
    font-weight: bold;
    flex-grow: 1;
}

.addon-card-price {
    font-size: 0.9rem;
    color: #333;
    margin: 0.25rem 0;
    font-weight: 500;
}

.addon-card-price:empty {
    display: none;
}

.addon-card-note {
    font-size: 0.8rem;
    color: #555;
    margin-top: 0.25rem;
    line-height: 1.3;
}

#baseboards-service-note {
    display: none;
}

.addon-card.interactive-addon {
    cursor: default;
}

.addon-card.interactive-addon:hover {
    transform: none;
}

.addon-card.interactive-addon.selected-by-select {
    border-color: #0A2B4C;
    background-color: #f0f4f8;
}

.addon-card-select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
    position: relative;
    z-index: 10; /* Higher z-index to ensure dropdown is clickable */
}

.addon-card-select:hover,
.addon-card-select:focus {
    border-color: #D4AF37;
    outline: none;
}

/* === 13. Enhanced Responsive Media Queries === */
@media (max-width: 992px) {
    .contact-page-layout {
        flex-direction: column;
    }
    
    .contact-info-column .contact-info-card {
        position: static;
        max-width: 600px;
        margin: 0 auto 2rem auto;
    }
    
    .finalize-layout {
        flex-direction: column;
    }
    
    .finalize-summary {
        align-self: stretch;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation */
    nav ul {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: block;
    }
    
    /* Header adjustments */
    header {
        position: fixed;
        width: 100%;
    }
    
    main {
        padding-top: 80px;
    }
    
    /* Hero adjustments */
    #hero {
        padding: 4rem 1rem;
        min-height: 400px;
    }
    
    #hero h1 {
        font-size: 2.2rem;
    }
    
    #hero p,
    .page-intro {
        font-size: 1.1rem;
    }
    
    #services-hero {
        padding: 3rem 1rem;
    }
    
    /* Section adjustments */
    main section {
        padding: 3rem 1rem;
    }
    
    .service-detail-section {
        padding: 3rem 1rem;
    }
    
    main section h2 {
        font-size: 1.8rem;
    }
    
    main section h3 {
        font-size: 1.5rem;
    }
    
    /* Service layouts */
    .service-column-layout,
    .service-column-layout.reverse {
        flex-direction: column;
    }
    
    .service-column-layout .service-detail-image {
        max-width: 90%;
        margin: 0 auto 1.5rem auto;
    }
    
    .service-detail-section h3 {
        text-align: center;
    }
    
    .service-features {
        justify-content: center;
    }
    
    .feature-badge {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
        justify-content: center;
    }
    
    /* Quote Wizard */
    #quote-wizard-container {
        padding: 1.5rem;
    }
    
    .wizard-progress-bar {
        font-size: 0.8rem;
        flex-wrap: wrap;
    }
    
    .progress-step {
        font-size: 0.75rem;
        padding: 8px 5px;
        flex-basis: 45%;
    }
    
    .service-card h5 {
        font-size: 1.05rem;
    }
    
    .service-card p {
        font-size: 0.85rem;
    }
    
    #final-price {
        font-size: 2.2rem;
    }
    
    /* Forms */
    .form-row {
        flex-direction: column;
    }
    
    /* Addon showcase */
    .addon-showcase {
        grid-template-columns: 1fr;
    }
    
    .commercial-benefits li:hover,
    .addon-category li:hover {
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }
    
    /* Service area grid */
    .service-area-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column {
        margin-bottom: 1rem;
    }
    
    .footer-column .footer-logo {
        margin: 0 auto 1rem auto;
    }
    
    .footer-column ul li:hover {
        padding-left: 0;
    }
    
    .footer-column .cta-button {
        display: block;
        max-width: 250px;
        margin: 1rem auto 0 auto;
    }
    
    /* Trust signals */
    .trust-signals {
        font-size: 0.8rem;
    }
    
    /* Addon list */
    .addon-list {
        column-count: 1;
    }
    
    /* CTA button */
    .cta-button {
        padding: 12px 24px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    /* Small mobile adjustments */
    #hero h1,
    #services-hero h1 {
        font-size: 1.8rem;
    }
    
    .service-detail-section h2 {
        font-size: 1.8rem;
    }
    
    .cta-button {
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .wizard-step h4 {
        font-size: 1.4rem;
    }
    
    .service-selection-grid {
        grid-template-columns: 1fr;
    }
    
    .wizard-addons-group {
        grid-template-columns: 1fr;
    }
    
    .addon-card-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .addon-card {
        padding: 0.75rem;
        min-height: 120px;
    }
    
    .addon-card-icon {
        font-size: 2rem;
    }
    
    .addon-card-title {
        font-size: 0.95rem;
    }
    
    .feature-badge {
        flex: 1 1 100%;
        justify-content: flex-start;
    }
    
    .addon-category {
        padding: 1.5rem;
    }
    
    .service-pricing-note {
        flex-direction: column;
        text-align: center;
    }
    
    .how-it-works-grid,
    .reasons-grid {
        grid-template-columns: 1fr;
    }
    
    /* Progress bar mobile */
    .progress-step {
        flex-basis: 100%;
        font-size: 0.7rem;
        padding: 6px 3px;
    }
    
    /* Property details grid */
    .property-details-grid {
        grid-template-columns: 1fr;
    }
}

/* Touch-friendly improvements */
@media (hover: none) {
    .service-checklist li:hover,
    .commercial-benefits li:hover,
    .addon-category li:hover,
    .area-card li:hover,
    .footer-column ul li:hover {
        transform: none;
        padding-left: 0;
        padding-right: 0;
        margin: 0;
    }

    .cta-button:hover {
        transform: none;
    }

    .addon-category:hover,
    .area-card:hover {
        transform: none;
    }
}

/* Ensure smooth scrolling for all devices */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Print styles */
@media print {
    header,
    footer,
    .cta-button,
    .wizard-nav,
    .mobile-nav-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    main {
        padding-top: 0;
    }
    
    #final-quote-display {
        border: 1px solid #333;
        padding: 1rem;
    }
}
/* ===================================================================
   ADD THESE STYLES TO YOUR EXISTING style.css FILE
   Essential additions for enhanced mobile navigation and interactivity
   =================================================================== */

/* === Mobile Navigation Additions (if not already present) === */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -4px 0 20px rgba(0,0,0,0.15);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.mobile-nav-header img {
    height: 40px;
}

.mobile-nav-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #0A2B4C;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    border-bottom: 1px solid #f0f0f0;
}

.mobile-nav ul li a {
    display: block;
    padding: 1.2rem 1.5rem;
    color: #0A2B4C;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    background-color: #f0f4f8;
    color: #D4AF37;
    border-left: 3px solid #D4AF37;
}

.mobile-nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* === Form Validation States === */
.form-group.error input,
.wizard-form-group.error input {
    border-color: #dc3545;
}

.form-group.success input,
.wizard-form-group.success input {
    border-color: #28a745;
}

.validation-message {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: none;
}

.validation-message.show {
    display: block;
}

.validation-message.error {
    color: #dc3545;
}

.validation-message.success {
    color: #28a745;
}

/* === Loading Elements === */
.wizard-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    border-radius: 8px;
}

.wizard-loading.active {
    display: flex;
}

.wizard-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #D4AF37;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* === Success Animation === */
.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    position: relative;
}

.success-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #28a745;
    fill: none;
    animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.8s forwards;
}

@keyframes stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

/* === Accessibility Enhancement === */
.skip-to-main {
    position: absolute;
    top: -40px;
    left: 0;
    background: #D4AF37;
    color: #0A2B4C;
    padding: 8px;
    text-decoration: none;
    z-index: 100;
    transition: top 0.3s ease;
}

.skip-to-main:focus {
    top: 0;
}

/* === Header Scroll Effect === */
header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

header.scrolled nav .logo img#logo-img {
    height: 50px;
}

/* === Mobile Responsive Additions === */
@media (max-width: 768px) {
    .mobile-nav {
        display: block;
    }
    
    header {
        position: fixed;
        width: 100%;
    }
    
    main {
        padding-top: 80px;
    }
}

/* === Addon Card Disabled State === */
.addon-card.is-included {
    opacity: 0.7;
    pointer-events: none;
    background: linear-gradient(135deg, #f0f4f8 0%, #e8ecf0 100%);
}

.addon-card.is-included .addon-card-note {
    display: block !important;
    color: #28a745;
    font-weight: 600;
}