/* Contact Page Specific Styles */
.contact-page {
    --primary-color: #1e40af;
    --primary-hover: #1e3a8a;
    --primary-light: rgba(30, 64, 175, 0.1);
}

.contact-hero {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
}

.contact-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(30, 64, 175, 0.3) 0%, transparent 50%);
    animation: contactFloat 20s ease-in-out infinite;
}

@keyframes contactFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(1deg); }
}

.support-hours {
    margin-top: 2rem;
}

.hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-weight: 500;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #16a34a;
}

.contact-methods {
    padding: 4rem 0;
    background: #f8f9fa;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.method-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1e40af, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.method-card h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.4rem;
}

.method-description {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.method-info {
    margin-bottom: 1.5rem;
}

.method-link {
    display: inline-block;
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid #1e40af;
    border-radius: 25px;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
}

.method-link:hover {
    background: #1e40af;
    color: white;
    transform: translateY(-2px);
}

.chat-button {
    background: none;
    cursor: pointer;
}

.method-note {
    display: block;
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.support-stats {
    padding: 4rem 0;
    background: white;
}

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

.stat-card {
    text-align: center;
    padding: 2rem 1rem;
    background: #f8f9fa;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.stat-card .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-card .stat-label {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.contact-forms {
    padding: 4rem 0;
    background: #f8f9fa;
}

.forms-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.form-selector h2 {
    margin-bottom: 2rem;
    color: #333;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.checkbox-grid label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    cursor: pointer;
}

.checkbox-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: block;
    color: #333;
}

.business-info {
    padding: 4rem 0;
    background: white;
}

.business-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.hours-schedule {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.day-hours {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.day-hours:last-child {
    border-bottom: none;
}

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

.time {
    font-weight: 600;
    color: #1e40af;
}

.holiday-note {
    margin-bottom: 1rem;
    color: #666;
}

.holiday-list {
    list-style: none;
    padding: 0;
}

.holiday-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.holiday-list li::before {
    content: '🎄';
    position: absolute;
    left: 0;
}

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

.company-description {
    margin-bottom: 2rem;
    color: #666;
    line-height: 1.7;
}

.company-highlights {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.highlight {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.highlight-icon {
    font-size: 2rem;
    margin-top: 0.25rem;
}

.highlight-text h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.highlight-text p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.emergency-contact {
    padding: 3rem 0;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.emergency-banner {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    color: white;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.emergency-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.emergency-content h2 {
    margin-bottom: 1rem;
    color: white;
}

.emergency-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.emergency-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.emergency-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials {
    padding: 6rem 0;
    background: white;
}

.testimonials-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto 3rem;
    padding: 0 1rem;
}

.testimonial-wrapper {
    position: relative;
    min-height: 400px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(50px);
    transition: all 0.5s ease;
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
	position: relative;
}

.testimonial-content {
    background: #f8f9fa;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    position: relative;
    border: 1px solid #e5e7eb;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.testimonial-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 20px 20px 0 0;
}

.quote-icon {
    position: absolute;
    top: -10px;
    left: 2rem;
    font-size: 4rem;
    color: #667eea;
    line-height: 1;
    background: white;
    padding: 0 0.5rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;
    margin-bottom: 2rem;
    font-style: italic;
    padding-top: 1rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-initials {
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 0.2rem;
}

.author-title {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.author-company {
    color: #1e40af;
    font-size: 0.9rem;
    font-weight: 600;
}

.testimonial-rating {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.rating-text {
    color: #666;
    font-size: 0.9rem;
    font-weight: 600;
}

/* Testimonial Navigation */
.testimonial-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.nav-btn {
    background: #1e40af;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-btn:hover {
    background: #1e3a8a;
    transform: scale(1.1);
}

.nav-btn:disabled {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
}

.testimonial-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e5e7eb;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #1e40af;
    transform: scale(1.2);
}

.dot:hover {
    background: #3b82f6;
}




/* HGW & Associates - Main Stylesheet */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    color: #666;
    margin-bottom: 1.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e40af;
    text-decoration: none;
}

.logo-icon {
    margin-right: 0.5rem;
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 3px;
}

/* Hero Section */
.hero {
    height: 75vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(2deg); }
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 2;
    position: relative;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: slideUp 1s ease 0.5s forwards;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: slideUp 1s ease 0.7s forwards;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    animation: slideUp 1s ease 0.9s forwards;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-left: none;
    border-top: none;
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

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

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: white;
    color: #1e40af;
    border: 2px solid transparent;
}

.btn-secondary:hover {
    background: #f8f9ff;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* Fire Page Specific Buttons */
.fire-page .btn-primary {
    background: rgba(220, 38, 38, 0.8);
    color: white;
    border: 2px solid rgba(220, 38, 38, 0.6);
}

.fire-page .btn-primary:hover {
    background: rgba(220, 38, 38, 0.9);
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

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

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #333;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-link {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.service-link:hover {
    color: #3b82f6;
}

/* About Section */
.about {
    padding: 6rem 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
}

.stats {
    display: flex;
    gap: 2rem;
    margin-top: 2.5rem;
}

.stat {
    text-align: center;
    flex: 1;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e40af;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.about-image {
    position: relative;
    height: 400px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.about-image-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.about-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.about-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    margin-bottom: 0.5rem;
}

.about-location {
    font-size: 1.1rem;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #f8f9fa;
}

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

.feature {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #333;
}

.feature p {
    color: #666;
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}


.contact-item p {
    margin: 0;
    opacity: 0.9;
    line-height: 1.5;
}

/* Customer Logos */
.customer-logos {
    text-align: center;
    margin: 4rem 0 2rem;
    padding: 3rem 2rem;
    background: #f8f9fa;
    border-radius: 20px;
}

.customer-logos h3 {
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.3rem;
}

.logos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

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

.logo-placeholder {
    text-align: center;
    padding: 1.5rem 1rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f1f5f9;
    width: 100%;
    transition: all 0.3s ease;
}

.logo-placeholder:hover {
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.logo-placeholder span {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.logo-text {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
    line-height: 1.3;
}

/* Contact Form */
.contact-form-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 15px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

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

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkbox-group label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.form-submit {
    width: 100%;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.form-submit:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}



/* Footer */
.footer {
    background: #1f2937;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #f3f4f6;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: white;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-badge {
    display: inline-block;
    background: linear-gradient(90deg, #667eea, #764ba2);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #1e40af;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
}

/* Fire Page Specific Styles */
.fire-page {
    --primary-color: #dc2626;
    --primary-hover: #b91c1c;
    --primary-light: rgba(220, 38, 38, 0.1);
}

/* Fire Hero */
.fire-hero {
    height: 60vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.fire-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(255, 69, 0, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(255, 140, 0, 0.3) 0%, transparent 50%);
    animation: fireFloat 15s ease-in-out infinite;
}

@keyframes fireFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.fire-animation {
    position: absolute;
    bottom: 10%;
    left: 10%;
    display: flex;
    gap: 1rem;
}

.flame {
    width: 20px;
    height: 40px;
    background: linear-gradient(to top, #ff4500, #ffa500, #ff6b35);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: flicker 1.5s ease-in-out infinite alternate;
}

.flame:nth-child(2) {
    animation-delay: 0.3s;
    transform: scale(1.2);
}

.flame:nth-child(3) {
    animation-delay: 0.6s;
    transform: scale(0.8);
}

@keyframes flicker {
    from {
        transform: rotate(-2deg) scale(1);
        opacity: 0.8;
    }
    to {
        transform: rotate(2deg) scale(1.1);
        opacity: 1;
    }
}

/* Fire Overview Section */
.fire-overview {
    padding: 6rem 0;
    background: white;
}

.overview-content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.fire-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.fire-stat {
    text-align: center;
    flex: 1;
}

.fire-stat-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: #dc2626;
    display: block;
    margin-bottom: 0.5rem;
}

.fire-stat-label {
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.overview-image {
    position: relative;
}

.fire-dashboard {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    border: 1px solid #e5e7eb;
}

.dashboard-header {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #333;
    text-align: center;
}

.dashboard-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dash-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: #f9fafb;
    border-radius: 10px;
    border-left: 4px solid #e5e7eb;
    transition: all 0.3s ease;
}

.dash-stat.active {
    border-left-color: #dc2626;
    background: rgba(220, 38, 38, 0.05);
}

.dash-icon {
    font-size: 1.5rem;
}

.dash-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dash-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #dc2626;
}

/* Fire Services Section */
.fire-services {
    padding: 6rem 0;
    background: #f8f9fa;
}

.fire-services .section-title::after {
    background: linear-gradient(90deg, #dc2626, #991b1b);
}

.fire-service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 5px solid #dc2626;
}

.fire-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-left-color: #991b1b;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.fire-service-card .service-icon {
    font-size: 2rem;
    color: #dc2626;
}

.fire-service-card h3 {
    color: #dc2626;
    font-size: 1.4rem;
    margin: 0;
}

.fire-service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #dc2626;
    font-weight: bold;
}

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

/* Fire Capabilities Section */
.fire-capabilities {
    padding: 6rem 0;
    background: white;
}

.capabilities-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

.capabilities-visual {
    text-align: center;
    position: relative;
}

.fire-truck {
    position: relative;
    display: inline-block;
    font-size: 8rem;
    animation: pulse 3s ease-in-out infinite;
}

.truck-body {
    position: relative;
    z-index: 2;
}

.emergency-lights {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.light {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.light.red {
    background: #dc2626;
    box-shadow: 0 0 10px #dc2626;
}

.light.blue {
    background: #2563eb;
    box-shadow: 0 0 10px #2563eb;
    animation-delay: 0.5s;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.capabilities-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.capability-category {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #dc2626;
}

.capability-category h4 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.capability-category ul {
    list-style: none;
    padding: 0;
}

.capability-category li {
    padding: 0.3rem 0;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Fire Technology Section */
.fire-technology {
    padding: 6rem 0;
    background: #f8f9fa;
}

.fire-technology .section-title::after {
    background: linear-gradient(90deg, #dc2626, #991b1b);
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.tech-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-top: 4px solid #dc2626;
}

.tech-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.tech-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.tech-card h3 {
    color: #dc2626;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.tech-card p {
    color: #666;
    line-height: 1.6;
}

/* Fire Contact Section */
.fire-contact {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.fire-form .form-submit {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.fire-form .form-submit:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Animation Classes for JavaScript */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* Loading Animation */
.loading {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.loaded {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .about-content,
    .contact-content,
    .capabilities-content,
    .overview-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats,
    .fire-stats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .fire-truck {
        font-size: 6rem;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 1rem;
    }
    
    .hero {
        height: 90vh;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-card,
    .fire-service-card {
        padding: 2rem;
    }
    
    .contact-form-container {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .stats,
    .fire-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .capabilities-grid {
        grid-template-columns: 1fr;
    }
    
    .fire-animation {
        display: none;
    }
    
    .fire-hero {
        height: 70vh;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .service-card,
    .fire-service-card,
    .contact-form-container {
        padding: 1.5rem;
    }
    
    .fire-truck {
        font-size: 4rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .back-to-top,
    .fire-animation,
    .scroll-indicator {
        display: none;
    }
    
    .hero,
    .fire-hero {
        height: auto;
        padding: 2rem 0;
    }
    
    .hero-background,
    .fire-hero-background {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .section-title {
        font-size: 18pt;
        margin-bottom: 1rem;
    }
    
    .service-card,
    .fire-service-card {
        box-shadow: none;
        border: 1px solid #ddd;
        margin-bottom: 1rem;
        break-inside: avoid;
    }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-background,
    .fire-hero-background,
    .fire-animation,
    .scroll-arrow {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .service-card,
    .fire-service-card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
    
    .section-title::after {
        background: #000;
    }
}

/* Expandable Service Details */
.service-card {
    transition: all 0.5s ease;
}

.fire-service-card.expanded {
    grid-column: 1 / -1;
}

.service-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    opacity: 0;
}

.fire-service-card.expanded .service-details {
    max-height: 2000px;
    opacity: 1;
    margin-top: 2rem;
}

.service-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e40af;
    font-weight: 600;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    border: 2px solid #1e40af;
    border-radius: 25px;
    transition: all 0.3s ease;
    cursor: pointer;
    background: none;
}

.service-learn-more:hover {
    background: #1e40af;
    color: white;
}

.learn-more-icon {
    transition: transform 0.3s ease;
}

.fire-service-card.expanded .learn-more-icon {
    transform: rotate(180deg);
}

.service-details-content {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid #1e40af;
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
}

.detail-section h4 {
    color: #1e40af;
    margin-bottom: 1rem;
}

.detail-section ul {
    list-style: none;
    padding: 0;
}

.detail-section li {
    padding: 0.5rem 0;
    color: #666;
    padding-left: 1.5rem;
    position: relative;
}

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


/* Focus Styles for Better Accessibility */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #3b82f6;
    outline-offset: 2px;
}

/*FAQ*/
.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.1rem 1.5rem;
    background: #fff;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1e40af;
    text-align: left;
    gap: 1rem;
    transition: background 0.2s;
}
.faq-btn:hover,
.faq-btn[aria-expanded="true"] {
    background: #f0f4ff;
}
.faq-indicator {
    font-size: 1.4rem;
    font-weight: 400;
    color: #1e40af;
    flex-shrink: 0;
    transition: transform 0.3s ease;
    line-height: 1;
}
.faq-btn[aria-expanded="true"] .faq-indicator {
    transform: rotate(45deg);
}
.faq-answer-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 1.5rem;
    background: #fff;
    color: #374151;
}
.faq-answer-panel.open {
    max-height: 600px;
    padding: 0.75rem 1.5rem 1.25rem;
}
.faq-answer-panel p { margin: 0 0 0.5rem; line-height: 1.7; }
.faq-list {
    max-width: 1100px;
    margin: 0 auto;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-question {
    width: 100%;
    text-align: left;
    background: #f7f7f7;
    border: none;
    padding: 1em;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s;
}
.faq-question.active {
    background: #e0e7ff;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s;
    background: #fff;
    padding: 0 1em;
}
.faq-answer.open {
    max-height: 500px;
    padding: 1em;
}
/* ===== PRIVACY POLICY MODAL ===== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    backdrop-filter: blur(3px);
}

.modal-overlay.active {
    display: flex;
}

.modal-container {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 720px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(-20px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid #e5e7eb;
    flex-shrink: 0;
}

.modal-header h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #6b7280;
    cursor: pointer;
    padding: 0 0.25rem;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #1e40af;
}

.modal-body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    flex: 1;
    line-height: 1.7;
    color: #374151;
}

.modal-effective {
    color: #6b7280;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.modal-body h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1e40af;
    margin: 1.5rem 0 0.5rem;
}

.modal-body h3:first-of-type {
    margin-top: 0;
}

.modal-body ul {
    padding-left: 1.4rem;
    margin: 0.5rem 0 1rem;
}

.modal-body ul li {
    margin-bottom: 0.4rem;
}

.modal-body a {
    color: #1e40af;
    text-decoration: underline;
}

.modal-footer {
    padding: 1rem 2rem 1.5rem;
    border-top: 1px solid #e5e7eb;
    display: flex;
    justify-content: flex-end;
    flex-shrink: 0;
}

.modal-close-btn {
    min-width: 100px;
}

@media (max-width: 600px) {
    .modal-container {
        max-height: 92vh;
        border-radius: 12px;
    }
    .modal-header,
    .modal-body,
    .modal-footer {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}