/* Global Styles */

/* Import Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #FF6A00; /* Bold Orange */
    --accent-color: #FFA347;  /* Lighter Orange */
    --text-color: #111111;    /* Rich Black */
    --bg-color: #FFFFFF;      /* White */
    --bg-alt-color: #F8F8F8;  /* Soft Gray */
    --font-family: 'Inter', sans-serif;
    --transition-speed: 300ms;
    --border-radius-xl: 1rem; /* Corresponds to rounded-xl */
    --border-radius-2xl: 1.5rem; /* Corresponds to rounded-2xl */
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Base Styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; } /* Example size, adjust as needed */
h2 { font-size: 2rem; }   /* Example size, adjust as needed */
h3 { font-size: 1.75rem; } /* Example size, adjust as needed */
p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-speed) ease-in-out;
}

a:hover {
    color: var(--accent-color);
}

/* Container */
.container {
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

/* Section Padding */
section {
    padding: 4rem 0; /* Generous vertical padding */
}

/* For hero section, remove default padding */
#hero {
    padding: 0;
}

section:nth-child(odd) {
    /* Optional: Add alternate background for visual separation */
    /* background-color: var(--bg-alt-color); */
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius-xl);
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all var(--transition-speed) ease-in-out;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--bg-color);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: var(--text-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--bg-color);
    transform: scale(1.05);
}

/* Global Transitions & Radius for potential UI blocks */
.ui-block {
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-speed) ease-in-out;
    background-color: var(--bg-color); /* Default background for blocks */
}

/* Utility Classes (Optional, but helpful) */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }

/* Hide elements visually but keep accessible */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Header Styles */
#header {
    position: fixed; /* Changed to fixed for sticky behavior */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    background-color: rgba(255, 255, 255, 0.9); /* Slightly transparent white initially */
    box-shadow: none; /* No shadow initially */
    transition: background-color var(--transition-speed) ease-in-out, 
                padding var(--transition-speed) ease-in-out,
                box-shadow var(--transition-speed) ease-in-out;
}

#header.scrolled {
    background-color: var(--bg-color); /* Solid white on scroll */
    padding: 0.5rem 0;
    box-shadow: var(--shadow-lg);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 0.25rem;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width var(--transition-speed) ease-in-out;
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 100%;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.trust-indicators {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-color);
    /* Add styles for icons later */
}

.trust-indicators span {
    display: inline-flex; /* Helps with icon alignment later */
    align-items: center;
    gap: 0.25rem;
}

#mobile-menu-toggle {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

#mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-color);
    margin: 5px 0;
    transition: all var(--transition-speed) ease-in-out;
}

/* Add specific section styles below */

/* Hero Section Styles */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    text-align: center;
    overflow: hidden;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('images/hero-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#hero .container {
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px; /* Account for fixed header */
    min-height: 100vh; /* Full viewport height */
}

.hero-content {
    position: relative;
    max-width: 900px;
    width: 100%;
    padding: 3rem;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: var(--border-radius-2xl);
    box-shadow: var(--shadow-lg);
}

#hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--text-color);
}

#hero .subtext {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #333;
}

#hero .key-statistic {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2.5rem;
}

.hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

#hero .btn {
    padding: 1rem 2rem;
    font-size: 1.2rem;
    min-width: 200px;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero .subtext {
        font-size: 1.2rem;
    }
    
    #hero .key-statistic {
        font-size: 1.5rem;
    }
    
    .hero-content {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    #hero .btn {
        padding: 0.9rem 1.8rem;
        font-size: 1.1rem;
        min-width: 180px;
    }
}

@media (max-width: 575.98px) {
    #hero h1 {
        font-size: 2rem;
    }
    
    #hero .subtext {
        font-size: 1.1rem;
    }
    
    .hero-content {
        padding: 1.5rem;
    }
    
    #hero .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .hero-cta-buttons {
        gap: 1rem;
    }
}

/* About Section Styles */
#about {
    background-color: var(--bg-alt-color); /* Use the soft gray background */
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 3rem;
    align-items: start; /* Align items to the top */
}

.about-text h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-visuals {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.certifications h4, .team-photo h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.certifications {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center; /* Vertically align badges */
}

.badge-placeholder {
    /* background-color: #ddd; Removed */
    /* padding: 1rem 1.5rem; Removed */
    /* border-radius: var(--border-radius-xl); Removed */
    /* text-align: center; Removed */
    /* font-size: 0.9rem; Removed */
    /* color: #555; Removed */
    display: inline-block; /* Allow badges to sit side-by-side */
    height: 50px; /* Adjust height as needed */
    width: auto; /* Maintain aspect ratio */
    max-width: 120px; /* Prevent oversized logos */
    object-fit: contain;
}

.badge-placeholder.partner-logo {
    height: 40px; /* Slightly smaller for partner logos potentially */
}

.photo-placeholder {
    background-color: #ccc; /* Placeholder style */
    height: 250px; /* Adjust as needed */
    display: block; /* Changed from flex for img */
    object-fit: cover; /* Make image cover the area */
    width: 100%; /* Make image take full width of container */
    border-radius: var(--border-radius-2xl);
    color: #666;
    font-weight: 500;
    text-align: center;
}

/* Adjustments for smaller screens will be added later in the responsive phase */

/* Services Section Styles */
#services {
    /* Adjust padding or background if needed */
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Responsive grid */
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    padding: 2rem; /* Padding inside the card */
    display: flex;
    flex-direction: column;
    text-align: center;
}

.service-icon-placeholder {
    width: 60px;
    height: 60px;
    /* background-color: var(--accent-color); Removed */
    border-radius: 50%;
    margin: 0 auto 1.5rem auto;
    display: block; /* Changed from flex for img */
    /* align-items: center; Removed */
    /* justify-content: center; Removed */
    /* color: var(--bg-color); Removed */
    /* font-weight: 600; Removed */
    /* font-size: 0.8rem; Removed */
    /* line-height: 1; Removed */
    /* letter-spacing: 0.5px; Removed */
    object-fit: contain; /* Ensure icon fits nicely */
}

.service-card h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-card .service-areas {
    font-style: italic;
    color: #555;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.service-features {
    margin: 1.5rem auto; /* Center the list block */
    padding-left: 0; /* Remove default ul padding */
    list-style: none; /* Remove default list bullets */
    text-align: left; /* Align list items left */
    max-width: 90%; /* Prevent list from getting too wide */
    flex-grow: 1; /* Push price/slider down */
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem; /* Increased gap */
}

.service-features li {
   position: relative;
   padding-left: 1.5rem; /* Space for checkmark */
}

.service-features li::before {
    content: '✔'; /* Checkmark icon */
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-indicator {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem; /* Increased margin */
    font-size: 1.05rem; /* Slightly larger */
}

.before-after-slider-placeholder,
.report-preview-placeholder {
    height: 150px; /* Placeholder height */
    background-color: #f0f0f0; /* Lighter background */
    border: none; /* Remove dashed border */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #777;
    border-radius: var(--border-radius-xl);
    position: relative; /* For positioning fake elements */
    overflow: hidden;
    padding: 1rem;
    text-align: center;
}

/* Fake Slider Styles */
/*
.fake-slider {
    background: linear-gradient(90deg, #e0e0e0 50%, #d0d0d0 50%);
}
.fake-slider-text {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: rgba(0,0,0,0.4);
    color: white;
    padding: 0.2rem 0.5rem;
    font-size: 0.8rem;
    border-radius: 4px;
}
.fake-slider-handle {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 6px;
    background-color: var(--primary-color);
    cursor: ew-resize;
    transform: translateX(-50%);
}
.fake-slider-handle::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    border: 2px solid white;
    transform: translate(-50%, -50%);
}
*/

/* Adjust Beer Slider container if needed */
.beer-slider {
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius-xl);
    max-height: 200px; /* Constrain height */
    overflow: hidden; /* Ensure content stays within bounds */
}
.beer-slider img {
    display: block; /* Prevent extra space below images */
    max-height: 200px; /* Match container height */
    object-fit: cover; /* Cover the area */
    width: 100%;
}

/* Report Preview Image Styles */
.report-preview-placeholder {
    /* height: 150px; Height will be auto or constrained by width */
    background-color: transparent; /* Remove placeholder bg */
    border: 1px solid #eee; /* Add a subtle border */
    display: block; /* Make img behave like a block */
    width: 100%; /* Take full width */
    object-fit: cover; /* Cover the area, might crop */
    /* object-fit: contain; */ /* Alternative: Contain within bounds */
    max-height: 180px; /* Limit height */
    padding: 0; /* Remove padding */
    cursor: pointer; /* Indicate it might be clickable (for future modal) */
}

/* Remove fake report styles */
/*
.fake-report {
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #eee;
}
.fake-report-title {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1rem;
}
.fake-report-chart {
    width: 80%;
    height: 50px;
    background: linear-gradient(to right, var(--accent-color) 30%, #ccc 30%, #ccc 60%, var(--accent-color) 60%);
    border-radius: 4px;
    margin-bottom: 1rem;
}
.fake-report-text {
    width: 100%;
    height: 20px;
    background-color: #e0e0e0;
    border-radius: 4px;
}
*/

.service-area-map {
    margin-top: 4rem;
}

.service-area-map h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.map-placeholder {
    height: 300px; /* Adjust height as needed */
    background-color: #e0e0e0;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-xl);
    color: #666;
    font-weight: 500;
}

/* Why Choose Us Section Styles */
#why-us {
    background-color: var(--bg-alt-color); /* Alternate background */
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Responsive 4-column grid */
    gap: 2rem;
    margin-bottom: 4rem;
}

.why-us-tile {
    padding: 1.5rem;
    text-align: center;
}

.tile-icon-placeholder {
    width: 50px;
    height: 50px;
    /* background-color: var(--primary-color); Removed */
    border-radius: 50%;
    margin: 0 auto 1rem auto;
    display: block; /* Changed for img */
    /* align-items: center; Removed */
    /* justify-content: center; Removed */
    /* color: var(--bg-color); Removed */
    /* font-weight: 500; Removed */
    /* font-size: 0.8rem; Removed */
    object-fit: contain; /* Ensure icon fits well */
}

.why-us-tile h4 {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.why-us-tile p {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.comparison-chart {
    margin-top: 4rem;
}

.comparison-chart h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.chart-placeholder {
    height: 350px; /* Adjust height */
    background-color: #f0f0f0;
    border: 1px dashed #bbb;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-xl);
    color: #777;
    font-weight: 500;
}

/* Comparison Chart Styles */
.chart-area {
    background-color: var(--bg-color);
    padding: 2rem;
    border-radius: var(--border-radius-xl);
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    margin-top: 2rem; /* Space below title */
}

.chart-legend {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.chart-legend > div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
}

.legend-color {
    display: inline-block;
    width: 15px;
    height: 15px;
    border-radius: 3px;
}

.legend-color.spf {
    background-color: var(--primary-color);
}

.legend-color.traditional {
    background-color: #a0aec0; /* Gray color */
}

.chart-bars {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 250px;
    gap: 2rem;
    border-bottom: 2px solid #eee;
    padding: 1rem 0;
    margin: 0 1rem;
}

.chart-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 150px;
}

.bars-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 200px;
    width: 100%;
    gap: 10px;
}

.bar {
    width: 40px;
    border-radius: 4px 4px 0 0;
    transition: height 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 0;
}

.bar-spf {
    background-color: var(--primary-color);
}

.bar-traditional {
    background-color: #a0aec0;
}

.bar:hover {
    opacity: 0.9;
}

.chart-label {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    min-height: 2.5em;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
}

/* Process Section Styles */
#process {
    /* Section specific styles */
}

.process-timeline {
    display: flex;
    flex-direction: column; /* Stack steps vertically by default */
    position: relative;
    margin-bottom: 3rem;
    /* Add a timeline line later if desired */
}

/* Basic structure for a vertical timeline */
.process-timeline::before {
    content: '';
    position: absolute;
    left: 30px; /* Position line relative to the number icon */
    top: 10px;
    bottom: 10px;
    width: 4px;
    background-color: var(--accent-color);
    opacity: 0.3;
}

.process-step {
    display: flex;
    align-items: flex-start; /* Align icon with top of text */
    margin-bottom: 2.5rem;
    position: relative; /* Needed for icon positioning */
    padding-left: 70px; /* Space for the icon and line */
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number-icon {
    position: absolute;
    left: 0;
    top: 0;
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-color);
    font-size: 1.5rem;
    font-weight: 700;
    border: 4px solid var(--bg-color);
    box-shadow: 0 0 0 3px var(--primary-color);
}

.step-content h4 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.step-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 0.5rem;
}

.step-duration {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--primary-color);
    display: block; /* Put duration on its own line */
}

.progress-indicator-placeholder {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #eee;
    border-radius: var(--border-radius-lg);
    color: #888;
}

.step-title-button {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 0 0 0.5rem 0; /* Adjust padding */
    margin: 0;
    text-align: left;
    cursor: pointer;
}

.step-title-button h4 {
    margin-bottom: 0; /* Remove bottom margin from h4 inside button */
    color: var(--text-color);
    font-size: 1.3rem;
    transition: color var(--transition-speed) ease-in-out;
}

.step-title-button:hover h4 {
    color: var(--primary-color);
}

.step-toggle-icon {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-left: 1rem;
    transition: transform var(--transition-speed) ease-in-out;
}

.step-title-button[aria-expanded="true"] .step-toggle-icon {
    transform: rotate(45deg);
}

.step-details {
    margin-top: 0.5rem;
    padding-left: 0.5rem; /* Indent details slightly */
    border-left: 2px solid var(--accent-color);
    font-size: 0.95rem;
    color: #555;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, visibility 0s 0.4s, opacity 0.4s ease-in-out, margin-top 0.4s ease-in-out, padding-top 0.4s ease-in-out;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    padding-top: 0;
}

.step-details[hidden] {
    display: block; /* Override default hidden for transition */
}

.step-details.show {
    max-height: 300px; /* Adjust as needed */
    opacity: 1;
    visibility: visible;
    margin-top: 1rem;
    padding-top: 1rem;
    transition: max-height 0.4s ease-in-out, visibility 0s, opacity 0.4s ease-in-out, margin-top 0.4s ease-in-out, padding-top 0.4s ease-in-out;
}

.step-details p {
    margin-bottom: 0.5rem;
}

/* Horizontal layout for larger screens will be added later */

/* Case Studies & Testimonials Section Styles */
#case-studies {
    background-color: var(--bg-alt-color);
}

.subsection-title {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--primary-color);
}

.case-studies-container,
.testimonials-container {
    margin-bottom: 4rem;
}

.case-study-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.case-study-card {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-5px);
}

.case-study-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius-xl) var(--border-radius-xl) 0 0;
}

.case-study-content {
    padding: 1.5rem;
}

.case-study-result {
    color: var(--primary-color);
    font-weight: 600;
    margin: 0.5rem 0;
}

.case-study-content h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.case-study-content p {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.link-details {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Testimonial Placeholder Styles */
.testimonial-carousel-placeholder {
    /* Basic layout for placeholders - real carousel needs JS */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    /* Add styles for carousel controls later */
}

.testimonial-item-placeholder {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: var(--bg-color);
}

.testimonial-item-placeholder p {
    font-style: italic;
    margin-bottom: 1rem;
    color: #555;
}

.testimonial-author {
    font-weight: 600;
    font-size: 0.9rem;
    display: block;
    text-align: right;
    color: var(--text-color);
}

/* Resources Section Styles */
#resources {
    /* Section specific styles */
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); /* Increased minmax width */
    gap: 2rem;
    max-width: 1000px; /* Add max-width to center content better */
    margin: 0 auto; /* Center the grid */
}

.resource-block {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.resource-block h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.resource-content-placeholder {
    min-height: 100px; /* Ensure some height */
    background-color: #f5f5f5;
    border: 1px dashed #ddd;
    padding: 1rem;
    margin-bottom: 1rem;
    flex-grow: 1; /* Allow content to push link down */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    color: #888;
    border-radius: var(--border-radius-lg); /* Slightly smaller radius */
}

.resource-block .link-details {
    margin-top: auto; /* Push link to bottom */
    align-self: flex-start; /* Align link to left */
}

/* FAQ Accordion Styles */
.faq-accordion {
    margin-top: 1rem; /* Space within the resource block */
    border-top: 1px solid #eee; /* Separator line */
}

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    text-align: left;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    color: var(--text-color);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 1.2rem;
    font-weight: 700;
    transition: transform var(--transition-speed) ease-in-out;
    margin-left: 1rem;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding-bottom: 1rem;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.6;
    overflow: hidden; /* Needed for transition */
    transition: max-height 0.4s ease-in-out, visibility 0s 0.4s, opacity 0.4s ease-in-out;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
}

.faq-answer[hidden] {
    display: block; /* Override default hidden display for transition */
}

.faq-answer.show {
    max-height: 500px; /* Adjust as needed for max content height */
    opacity: 1;
    visibility: visible;
    transition: max-height 0.4s ease-in-out, visibility 0s, opacity 0.4s ease-in-out;
}

/* Contact Section Styles */
#contact {
    background-color: var(--bg-alt-color);
}

.contact-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.contact-form-container,
.contact-details,
.scheduling-map-placeholder {
    padding: 2rem;
}

.contact-form-container h3,
.contact-details h3,
.scheduling-map-placeholder h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

/* Form Styles */
#contact-form .form-group {
    margin-bottom: 1.5rem;
}

#contact-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.9rem;
}

#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-xl);
    font-size: 1rem;
    font-family: inherit;
    transition: border-color var(--transition-speed) ease-in-out, box-shadow var(--transition-speed) ease-in-out;
}

#contact-form input[type="text"]:focus,
#contact-form input[type="email"]:focus,
#contact-form input[type="tel"]:focus,
#contact-form textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

#contact-form textarea {
    resize: vertical; /* Allow vertical resize */
}

#contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1.1rem;
}

/* Contact Info Styles */
.contact-info-scheduling {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Space between details and map/scheduling */
}

.contact-details p {
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.contact-details p strong {
    margin-right: 0.5rem;
}

.contact-options {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column; /* Stack placeholders */
    gap: 1rem;
}

.chat-placeholder,
.emergency-placeholder {
    padding: 0.75rem 1rem;
    background-color: #eee;
    border: 1px dashed #ccc;
    border-radius: var(--border-radius-lg);
    text-align: center;
    font-size: 0.9rem;
    color: #777;
}

/* Scheduling/Map Placeholder Styles */
.scheduling-map-placeholder p {
    margin-bottom: 1rem;
}

.map-scheduling-content-placeholder {
    height: 200px; /* Adjust as needed */
    background-color: #e0e0e0;
    border-radius: var(--border-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-weight: 500;
}

/* Footer Styles */
#footer {
    background-color: var(--text-color); /* Black background */
    color: #ccc; /* Light gray text */
    padding: 3rem 0 1.5rem 0;
    margin-top: 4rem; /* Add space above footer */
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    color: var(--bg-color); /* White headings */
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-column p,
.footer-column ul {
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 0.5rem;
}

.footer-column a {
    color: #ccc; /* Light gray links */
    text-decoration: none;
    transition: color var(--transition-speed) ease-in-out;
}

.footer-column a:hover {
    color: var(--primary-color); /* Orange on hover */
}

.social-icons-placeholder {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-icons-placeholder a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    text-align: center;
    transition: all var(--transition-speed) ease-in-out;
}

.social-icons-placeholder a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icons-placeholder a i {
    font-size: 1.1rem;
}

.mt-4 { /* Simple utility class */
    margin-top: 1.5rem;
    color: #aaa;
}

.footer-bottom {
    border-top: 1px solid #444; /* Separator line */
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Wrap on small screens */
    gap: 1rem;
    font-size: 0.85rem;
    color: #aaa;
}

.trust-badges-placeholder {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #aaa;
}

.trust-badge i {
    font-size: 1.2rem;
    color: var(--primary-color);
}

/* Animation Styles */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.animate-on-scroll {
    opacity: 1; /* Make visible by default */
    transform: none; /* Reset transform */
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
}

.fade-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
}

.fade-in-right.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.map-checker-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Map takes more space */
    gap: 2rem;
    align-items: center; /* Vertically align items */
}

.map-container iframe {
    box-shadow: var(--shadow-lg);
}

.zip-checker h4 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.zip-checker p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.zip-form {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.zip-form input[type="text"] {
    flex-grow: 1;
    padding: 0.6rem 1rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-xl);
    font-size: 1rem;
}

.zip-form input[type="text"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.2);
}

.zip-form .btn {
    padding: 0.6rem 1rem;
    white-space: nowrap; /* Prevent button text wrapping */
}

.zip-result-area {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    font-weight: 500;
    min-height: 50px; /* Ensure space for message */
    border: 1px dashed transparent;
}

.zip-result-area.success {
    background-color: #e6fffa; /* Light green */
    color: #09867a;
    border-color: #a7f3d0;
}

/* Savings Calculator Styles */
.savings-calculator-container {
    margin-top: 1rem;
}

.calculator-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
}

.savings-calculator-container .form-group {
    margin-bottom: 1rem;
}

.savings-calculator-container label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 500;
    font-size: 0.85rem;
}

.savings-calculator-container input[type="number"] {
    width: 100%;
    padding: 0.6rem 0.8rem;
    border: 1px solid #ccc;
    border-radius: var(--border-radius-lg);
    font-size: 0.95rem;
    font-family: inherit;
}

.savings-calculator-container input[type="number"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.15);
}

/* Remove spinner buttons from number input (optional) */
.savings-calculator-container input[type=number]::-webkit-inner-spin-button, 
.savings-calculator-container input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}
.savings-calculator-container input[type=number] {
  -moz-appearance: textfield; /* Firefox */
}

.savings-calculator-container .btn-small {
    padding: 0.6rem 1.2rem; /* Smaller padding */
    font-size: 0.9rem;
    width: 100%;
    margin-top: 0.5rem;
}

.savings-result-area {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    background-color: #e6fffa; /* Light green background */
    color: #234e52; /* Darker teal text */
    font-weight: 500;
    min-height: 60px;
    border: 1px solid #a7f3d0;
    text-align: center;
}

.savings-result-area strong {
    color: var(--primary-color);
    font-size: 1.1em;
}

.savings-result-area .disclaimer {
    font-size: 0.8rem;
    color: #718096; /* Gray text */
    margin-top: 0.5rem;
    display: block;
}

/* Progress Indicator Styles */
.progress-indicator {
    margin: 2rem auto;
    max-width: 800px;
    background: var(--bg-alt-color);
    border-radius: var(--border-radius-xl);
    padding: 1rem;
    position: relative;
}

.progress-bar {
    height: 10px;
    background: #e0e0e0;
    border-radius: 5px;
    margin: 1rem 0;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s ease;
    border-radius: 5px;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.progress-step {
    position: relative;
    text-align: center;
    flex: 1;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.progress-step.completed .step-number {
    background: var(--accent-color);
    color: white;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 0.9rem;
    color: var(--text-color);
    margin-top: 0.5rem;
}

.progress-info {
    text-align: center;
    margin-top: 1rem;
}

.progress-status {
    font-weight: 600;
    color: var(--primary-color);
}

.estimated-time {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Responsive Styles */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.5rem; }

    .container {
        width: 95%;
    }

    section {
        padding: 3rem 0;
    }

    /* Header adjustments */
    #header nav {
        display: none; /* Hide desktop nav */
        position: absolute;
        top: 100%; /* Position below header */
        left: 0;
        width: 100%;
        background-color: var(--bg-color);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 1rem 0;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity var(--transition-speed) ease-in-out, 
                    visibility 0s var(--transition-speed), 
                    transform var(--transition-speed) ease-in-out;
    }

    body.mobile-menu-open #header nav {
        display: flex; /* Show nav when mobile menu is open */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: opacity var(--transition-speed) ease-in-out, 
                    visibility 0s, 
                    transform var(--transition-speed) ease-in-out;
    }

    #header nav ul {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    #header nav ul li {
        width: 100%;
        text-align: center;
    }

    #header nav ul li a {
        display: block;
        padding: 0.75rem 1rem;
    }
     #header nav ul li a::after {
        display: none; /* Hide underline effect on mobile */
    }
     #header nav ul li a:hover,
     #header nav ul li a.active {
        background-color: var(--bg-alt-color);
        color: var(--primary-color);
    }


    #mobile-menu-toggle {
        display: block; /* Show mobile menu button */
    }

    .trust-indicators {
        display: none; /* Hide trust indicators on smaller screens for simplicity */
    }

    .header-cta {
        display: none; /* Hide header CTA, rely on nav link or hero button */
    }

    /* About section grid */
    .about-content {
        grid-template-columns: 1fr; /* Stack columns */
        gap: 2rem;
    }

     /* Process timeline line adjustment */
    .process-timeline::before {
       left: 20px; /* Adjust line position */
    }
    .process-step {
        padding-left: 55px; /* Adjust padding for smaller icon */
    }
    .step-number-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
        left: 0;
         border-width: 3px;
        box-shadow: 0 0 0 2px var(--primary-color);
    }

    /* Contact layout */
    .contact-layout {
        grid-template-columns: 1fr; /* Stack columns */
    }

    /* Footer layout */
    .footer-layout {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

     /* Map/Zip checker layout */
    .map-checker-layout {
        grid-template-columns: 1fr; /* Stack map and checker */
    }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    h1 { font-size: 2rem; }
    #hero h1 { font-size: 2.5rem; } 

    /* Hero content */
    .hero-content {
        padding-top: 60px;
    }
    #hero .btn {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }

    /* Further reduce grid gaps */
    .services-grid,
    .why-us-grid,
    .case-study-grid,
    .resources-grid,
    .testimonial-carousel-placeholder {
        gap: 1.5rem;
    }

    /* Footer bottom */
    .footer-bottom {
        flex-direction: column; /* Stack trust badges and copyright */
        align-items: center;
        text-align: center;
    }

    .trust-badges-placeholder {
        order: 1; /* Move badges below copyright */
        margin-top: 0.5rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    body {
        line-height: 1.5;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.4rem; }
    #hero h1 { font-size: 2rem; }
    #hero .subtext { font-size: 1.1rem; }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    section {
        padding: 2.5rem 0;
    }

     .step-number-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        left: 15px;
    }
     .process-timeline::before {
       left: 32px; /* Align with center of smaller icon */
    }
     .process-step {
        padding-left: 60px; /* Adjust padding for smaller icon */
    }
    .step-content h4 { font-size: 1.1rem; } 
    .step-content p { font-size: 0.9rem; } 

     /* Form inputs */
    #contact-form input[type="text"],
    #contact-form input[type="email"],
    #contact-form input[type="tel"],
    #contact-form textarea {
        padding: 0.7rem 0.9rem;
        font-size: 0.95rem;
    }
     #contact-form button[type="submit"] {
        padding: 0.9rem 1rem;
        font-size: 1rem;
    }

     /* Footer */
     .footer-layout {
         grid-template-columns: 1fr; /* Stack all footer columns */
         text-align: center;
     }
      .footer-column ul {
         margin-top: 0.5rem;
     }
     .social-icons-placeholder {
         justify-content: center;
     }

} 

.scheduling-map {
    padding: 2rem;
}

.scheduling-map h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.map-container {
    margin-bottom: 0; /* Changed from 2rem since we removed scheduling */
}

.map-container iframe {
    box-shadow: var(--shadow-lg);
    width: 100%;
    border-radius: var(--border-radius-xl);
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
    .scheduling-map {
        padding: 1.5rem;
    }
    
    .map-container iframe {
        height: 200px;
    }
} 