/* Construction Services CSS - Complete Component Styles */
/* CVG Nexus Construction Services - Comprehensive Styling */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* CVG Brand Colors */
    --cvg-primary: #2563eb;
    --cvg-secondary: #0f766e;
    --cvg-accent: #f59e0b;
    --cvg-dark: #1e293b;
    --cvg-light: #f8fafc;
    --cvg-white: #ffffff;
    --cvg-gray-100: #f1f5f9;
    --cvg-gray-200: #e2e8f0;
    --cvg-gray-300: #cbd5e1;
    --cvg-gray-400: #94a3b8;
    --cvg-gray-500: #64748b;
    --cvg-gray-600: #475569;
    --cvg-gray-700: #334155;
    --cvg-gray-800: #1e293b;
    --cvg-gray-900: #0f172a;
    
    /* Status Colors */
    --color-success: #10b981;
    --color-warning: #f59e0b;
    --color-error: #ef4444;
    --color-info: #3b82f6;
    
    /* Z-index layers */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #2C3E50;
    background-color: #FFFFFF;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: #34495E;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(27, 54, 93, 0.95);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    z-index: var(--z-sticky);
    padding: 1rem 0;
}

.nav {
    width: 100%;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #FF6B35;
}

.nav-cta {
    background: #FF6B35;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.nav-cta:hover {
    background: #E55A2B;
    color: white !important;
}

/* Dropdown Menus */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid var(--cvg-gray-200);
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 220px;
    padding: 0.5rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-normal);
    z-index: var(--z-dropdown);
}

.dropdown:hover .dropdown-menu,
.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--cvg-gray-700);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background-color: var(--cvg-gray-100);
    color: var(--cvg-primary);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* === MODALS & POPUPS === */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    backdrop-filter: blur(4px);
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: white;
    border-radius: 12px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    z-index: var(--z-modal);
    max-width: 90vw;
    max-height: 90vh;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.modal.show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--cvg-gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--cvg-gray-50);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cvg-dark);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--cvg-gray-500);
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all var(--transition-fast);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--cvg-gray-200);
    color: var(--cvg-gray-700);
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cvg-gray-200);
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    background: var(--cvg-gray-50);
}

/* Popup/Tooltip */
.popup {
    position: relative;
    display: inline-block;
}

.popup-content {
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cvg-dark);
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
    z-index: var(--z-tooltip);
}

.popup-content::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--cvg-dark);
}

.popup:hover .popup-content,
.popup-content.show {
    opacity: 1;
    visibility: visible;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: var(--z-toast);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toast {
    background: white;
    border: 1px solid var(--cvg-gray-200);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    min-width: 300px;
    opacity: 0;
    transform: translateX(100%);
    transition: all var(--transition-normal);
}

.toast.show {
    opacity: 1;
    transform: translateX(0);
}

.toast.success { border-left: 4px solid var(--color-success); }
.toast.warning { border-left: 4px solid var(--color-warning); }
.toast.error { border-left: 4px solid var(--color-error); }
.toast.info { border-left: 4px solid var(--color-info); }

.toast-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.toast-title {
    font-weight: 600;
    color: var(--cvg-dark);
}

.toast-close {
    background: none;
    border: none;
    color: var(--cvg-gray-500);
    cursor: pointer;
    font-size: 1.2rem;
}

/* Hero Section - Universal Styling */
.hero, .service-hero, .contact-hero, .technology-hero, .about-hero, .blog-hero, 
.case-studies-hero, .case-study-hero, .resources-hero, .calculator-hero, 
.directory-hero, .guide-hero, .downloads-hero, .capabilities-hero, .checklist-hero,
.flight-planning-hero, .osha-hero, .risk-assessment-hero, .seasonal-hero,
.site-selection-hero, .starter-kit-hero, .comparison-hero, .webinars-hero,
.drone-hero, .environmental-hero, .safety-hero, .faq-hero, .hero-section {
    background: linear-gradient(135deg, #1B365D 0%, #2C5AA0 100%);
    color: white !important;
    padding: 120px 0 80px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

/* Contact Hero Specific */
.contact-hero {
    min-height: 70vh;
    padding: 140px 0 60px;
}

/* Universal Hero Text Styling */
.hero *, .service-hero *, .technology-hero *, .about-hero *, .blog-hero *,
.case-studies-hero *, .case-study-hero *, .resources-hero *, .calculator-hero *,
.directory-hero *, .guide-hero *, .downloads-hero *, .capabilities-hero *,
.checklist-hero *, .flight-planning-hero *, .osha-hero *, .risk-assessment-hero *,
.seasonal-hero *, .site-selection-hero *, .starter-kit-hero *, .comparison-hero *,
.webinars-hero *, .drone-hero *, .environmental-hero *, .safety-hero *,
.faq-hero *, .hero-section * {
    color: white !important;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content, .service-hero-content, .technology-hero-content, .about-hero-content,
.blog-hero-content, .case-studies-hero-content, .resources-hero-content,
.calculator-hero-content, .environmental-hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: #FF6B35;
}

.hero-subtitle, .service-hero-subtitle, .technology-hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.6;
}

.hero-stats, .service-hero-stats, .technology-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #27AE60;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-cta, .service-hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-visual, .service-hero-visual, .technology-hero-visual {
    position: relative;
}

.hero-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.hero-image img, .service-hero-visual img, .technology-hero-visual img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.data-point {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1B365D;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: fadeInUp 2s ease;
}

.pulse {
    width: 12px;
    height: 12px;
    background: #27AE60;
    border-radius: 50%;
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateY(-50%) scale(1); opacity: 1; }
    50% { transform: translateY(-50%) scale(1.5); opacity: 0.7; }
    100% { transform: translateY(-50%) scale(1); opacity: 1; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn:disabled,
.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

.btn.loading {
    pointer-events: none;
    color: transparent;
}

.btn.loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    color: inherit;
}

@keyframes spin {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.btn-primary {
    background: #FF6B35;
    color: white;
}

.btn-primary:hover:not(:disabled):not(.loading) {
    background: #E55A2B;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover:not(:disabled):not(.loading) {
    background: white;
    color: #1B365D;
}

.btn-outline {
    background: transparent;
    color: #1B365D;
    border: 2px solid #1B365D;
}

.btn-outline:hover:not(:disabled):not(.loading) {
    background: #1B365D;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Cards & Containers */
.card {
    background: white;
    border: 1px solid var(--cvg-gray-200);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.card-header {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--cvg-gray-200);
    background: var(--cvg-gray-50);
    font-weight: 600;
}

.card-body {
    padding: 1.5rem;
}

.card-footer {
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--cvg-gray-200);
    background: var(--cvg-gray-50);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Section Styling */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    color: #1B365D;
}

.section-subtitle {
    text-align: center;
    color: #666;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Services Section */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #F8F9FA;
    padding: 2rem;
    border-radius: 10px;
    border-left: 5px solid #FF6B35;
    transition: all 0.3s ease;
}

.service-card:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.service-icon {
    text-align: center;
    margin-bottom: 1rem;
}

.service-icon i {
    font-size: 3rem;
    color: #1B365D;
}

.service-card h3 {
    color: #1B365D;
    margin-bottom: 0.5rem;
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FF6B35;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-equipment {
    color: #FF6B35;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.service-benefits {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-benefits li {
    padding: 0.25rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-benefits li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #27AE60;
    font-weight: bold;
}

.service-cta {
    background: #1B365D;
    color: white;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.service-cta:hover {
    background: #FF6B35;
    transform: translateY(-2px);
}

/* Technology Section */
.technology {
    background: #F8F9FA;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-item {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.tech-item:hover {
    transform: translateY(-5px);
}

.tech-item h3 {
    color: #1B365D;
    margin: 1rem 1rem 0.5rem;
}

.tech-item p {
    margin: 0 1rem;
    font-size: 0.9rem;
}

.tech-specs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin: 1rem;
}

.tech-specs span {
    background: #1B365D;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tech-cta {
    text-align: center;
}

/* Service Overview Styling */
.service-overview {
    background: white;
    padding: 80px 0;
}

.overview-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: start;
}

.key-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Environmental Compliance Styles */
.regulatory-framework {
    background: white;
    padding: 80px 0;
}

.regulatory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.regulatory-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    border-left: 4px solid #27AE60;
}

.regulatory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border-left-color: #FF6B35;
}

.regulatory-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.regulatory-icon i {
    font-size: 3rem;
    color: #27AE60;
}

.regulatory-card h3 {
    color: #1B365D;
    margin-bottom: 1rem;
    text-align: center;
}

.regulatory-card ul {
    list-style: none;
    margin: 0;
}

.regulatory-card ul li {
    padding: 0.5rem 0;
    color: #2C3E50;
    position: relative;
    padding-left: 1.5rem;
}

.regulatory-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #27AE60;
    font-weight: bold;
}

/* Environmental Services */
.environmental-services {
    background: #f8f9fa;
    padding: 80px 0;
}

.environmental-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.environmental-service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.environmental-service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.environmental-service-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.environmental-service-icon i {
    font-size: 3rem;
    color: #27AE60;
}

.service-certifications {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.cert {
    background: #27AE60;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ROI Calculator Styles */
.roi-calculator-section {
    background: #F8F9FA;
    padding: 80px 0;
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.calculator-form {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.form-section {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #f1f3f4;
}

.form-section:last-of-type {
    border-bottom: none;
}

.checkbox-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.checkbox-label:hover {
    border-color: #FF6B35;
    background: #fff5f0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,107,53,0.1);
}

.btn-calculate {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.2rem;
    margin-top: 1rem;
    background: linear-gradient(135deg, #FF6B35, #E55A2B);
    border: none;
    box-shadow: 0 8px 20px rgba(255,107,53,0.3);
}

.btn-calculate:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(255,107,53,0.4);
}

/* Project Wizard Styles */
.contact-enhanced {
    background: linear-gradient(135deg, #1B365D 0%, #2C5AA0 100%);
    color: white;
    padding: 100px 0;
}

.project-wizard {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem auto;
    max-width: 800px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.wizard-option {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.wizard-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: #FF6B35;
}

/* Form Styling */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1B365D;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
}

/* Contact Page Styles */
.contact-options {
    background: #F8F9FA;
    padding: 80px 0;
}

.contact-method {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
}

/* FAQ Styling */
.faq {
    background: #F8F9FA;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.faq-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-item h3 {
    color: #1B365D;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #34495E;
    line-height: 1.6;
}

.faq-cta {
    text-align: center;
}

/* Case Studies - Missing Styles */
.case-studies {
    background: white;
}

.case-studies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.case-study {
    background: #F8F9FA;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.case-study:hover {
    transform: translateY(-5px);
}

.case-study img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.case-content {
    padding: 2rem;
}

.case-content h3 {
    color: #1B365D;
    margin-bottom: 1rem;
}

.case-content p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.case-results {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.result {
    background: #27AE60;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.case-cta {
    color: #FF6B35;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
}

.case-cta:hover {
    border-bottom-color: #FF6B35;
}

/* Problem Statement Section - Missing Styles */
.problems {
    background: #F8F9FA;
}

.problems-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.problem-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.problem-card:hover {
    transform: translateY(-5px);
}

.problem-icon {
    font-size: 3rem;
    color: #FF6B35;
    margin-bottom: 1rem;
}

.problem-card h3 {
    color: #1B365D;
    margin-bottom: 1rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #FF6B35 0%, #E55A2B 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.cta-section h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer, .site-footer {
    background: #1B365D !important;
    color: white !important;
    padding: 3rem 0 1rem;
}

.footer *, .site-footer * {
    color: white !important;
}

.footer h4, .site-footer h4 {
    color: #FF6B35 !important;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #E8F4FD;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #FF6B35;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    color: #E8F4FD;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #FF6B35;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.95);
}

/* Breadcrumb */
.breadcrumb {
    padding: 100px 0 20px;
    background: #f8f9fa;
}

.breadcrumb ol {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
}

.breadcrumb a {
    color: #1B365D;
    text-decoration: none;
}

.breadcrumb a:hover {
    color: #FF6B35;
}

/* Certifications Display */
.certifications {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.cert-badge {
    background: #27AE60;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    color: white;
}

/* Accordion Styles */
.accordion {
    border: 1px solid var(--cvg-gray-200);
    border-radius: 8px;
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--cvg-gray-200);
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 1rem 1.5rem;
    background: var(--cvg-gray-50);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background-color var(--transition-fast);
}

.accordion-header:hover {
    background: var(--cvg-gray-100);
}

.accordion-header.active {
    background: var(--cvg-primary);
    color: white;
}

.accordion-title {
    font-weight: 600;
    margin: 0;
}

.accordion-icon {
    transition: transform var(--transition-fast);
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
}

.accordion-content.show {
    padding: 1.5rem;
    max-height: 500px;
}

/* Tab Navigation */
.tab-nav {
    display: flex;
    border-bottom: 2px solid var(--cvg-gray-200);
    margin-bottom: 2rem;
}

.tab-nav button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--cvg-gray-600);
    border-bottom: 2px solid transparent;
    transition: all var(--transition-fast);
}

.tab-nav button:hover {
    color: var(--cvg-primary);
    background: var(--cvg-gray-50);
}

.tab-nav button.active {
    color: var(--cvg-primary);
    border-bottom-color: var(--cvg-primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid var(--cvg-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #1B365D;
        padding: 1rem;
        border-radius: 0 0 10px 10px;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content, .service-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        justify-content: center;
    }

    .regulatory-grid,
    .environmental-services-grid {
        grid-template-columns: 1fr;
    }

    .calculator-grid,
    .overview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .modal {
        max-width: 95vw;
        margin: 1rem;
    }

    .toast-container {
        left: 10px;
        right: 10px;
    }

    .toast {
        min-width: auto;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    section {
        padding: 60px 0;
    }

    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .card-body,
    .modal-body {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .hero-cta,
    .nav-toggle,
    .modal-overlay,
    .toast-container,
    .btn {
        display: none !important;
    }
    
    .hero {
        background: white !important;
        color: black !important;
    }
    
    .hero-title,
    .section-title {
        color: black !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    overflow-x: hidden;
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Focus Styles for Accessibility */
.btn:focus,
.nav-link:focus,
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: 2px solid #FF6B35;
    outline-offset: 2px;
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    :root {
        --cvg-primary: #0066cc;
        --cvg-secondary: #004499;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .card {
        background: var(--cvg-gray-800);
        border-color: var(--cvg-gray-700);
        color: white;
    }
    
    .modal {
        background: var(--cvg-gray-800);
        color: white;
    }
}

/* === HOMEPAGE ESTIMATION TOOL STYLES === */

/* Project Wizard Specific Styles */
.wizard-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wizard-header h3 {
    color: white;
    margin-bottom: 0.5rem;
}

.wizard-header p {
    color: rgba(255, 255, 255, 0.9);
}

.wizard-progress {
    margin-bottom: 3rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: #FF6B35;
    border-radius: 3px;
    transition: width 0.3s ease;
    width: 33.33%;
}

.progress-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.wizard-step {
    display: none;
}

.wizard-step.active {
    display: block;
}

.wizard-step h4 {
    text-align: center;
    color: white;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.option-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.wizard-option {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    color: #1B365D !important;
}

.wizard-option * {
    color: #1B365D !important;
}

.wizard-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border-color: #FF6B35;
}

.wizard-option.selected {
    border-color: #FF6B35;
    background: rgba(255, 107, 53, 0.1);
}

.option-icon {
    margin-bottom: 1rem;
}

.option-icon i {
    font-size: 3rem;
    color: #FF6B35;
}

.wizard-option h5 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.wizard-option p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    color: #666 !important;
}

.option-timeline,
.option-benefits {
    background: #f8f9fa;
    padding: 0.5rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1B365D !important;
}

.wizard-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
}

/* Results Container */
.results-container {
    text-align: center;
}

.results-header {
    margin-bottom: 2rem;
}

.results-header i {
    font-size: 4rem;
    color: #27AE60;
    margin-bottom: 1rem;
}

.results-header h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.recommendation-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    text-align: left;
}

.recommendation-card * {
    color: #1B365D !important;
}

.rec-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f1f3f4;
}

.rec-icon {
    width: 60px;
    height: 60px;
    background: #FF6B35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.rec-icon i {
    font-size: 1.5rem;
    color: white !important;
}

.rec-title {
    flex: 1;
}

.rec-title h5 {
    margin: 0 0 0.25rem 0;
    font-size: 1.3rem;
    font-weight: 700;
}

.rec-title p {
    margin: 0;
    color: #666 !important;
}

.rec-price {
    text-align: center;
}

.price-range {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B35 !important;
}

.rec-features {
    margin-bottom: 1.5rem;
}

.rec-features h6 {
    margin-bottom: 1rem;
    font-weight: 600;
}

.rec-features ul {
    list-style: none;
    margin: 0;
}

.rec-features li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.rec-features i {
    color: #27AE60 !important;
    font-weight: bold;
}

.rec-timeline {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.timeline-item i {
    color: #FF6B35 !important;
}

/* Instant Calculator */
.instant-calculator {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.instant-calculator h6 {
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 600;
}

.calc-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.calc-row label {
    font-size: 0.9rem;
    font-weight: 600;
}

.calc-row input,
.calc-row select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-top: 0.25rem;
}

.calc-results {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.calc-metric {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.metric-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666 !important;
    margin-bottom: 0.5rem;
}

.metric-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #FF6B35 !important;
}

.metric-value.green {
    color: #27AE60 !important;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-contact {
    text-align: center;
    margin-top: 3rem;
}

.quick-contact h3 {
    color: white;
    margin-bottom: 1.5rem;
}

.quick-options {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.quick-option {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.quick-option:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #FF6B35;
    color: white;
    transform: translateY(-2px);
}

/* Estimation Tool Mobile Responsive */
@media (max-width: 768px) {
    .project-wizard {
        margin: 1rem auto;
        padding: 2rem;
    }
    
    .option-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .calc-row {
        grid-template-columns: 1fr;
    }
    
    .calc-results {
        grid-template-columns: 1fr;
    }
    
    .quick-options {
        flex-direction: column;
        align-items: center;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .wizard-navigation {
        flex-direction: column;
        gap: 1rem;
    }
}
