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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    /* Prevent layout shifts during scroll */
    overflow-x: hidden;
    scroll-behavior: smooth;
}

html {
    /* Prevent layout shifts */
    height: 100%;
    overflow-x: hidden;
}

/* Remove blue outline on focus */
*:focus {
    outline: none !important;
}

button:focus,
.btn:focus,
.filter-btn:focus {
    outline: none !important;
    box-shadow: none !important;
}

input:focus,
select:focus,
textarea:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25) !important;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 3rem;
    font-weight: 700;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.4rem;
}

p {
    margin-bottom: 1rem;
    color: #666;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e40af, #2563eb);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

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

.btn-secondary:hover {
    background: #1e3a8a;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

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

.navbar.scrolled {
    background: rgba(30, 41, 59, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

.logo-container {
    flex-shrink: 0;
}

.logo {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

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

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
}

.nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #60a5fa;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #60a5fa;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    height: 50px;
    width: 50px;
    transform: 0.2s;
    position: relative;
    display: none;
    z-index: 1001;
}

.hamburger .checkbox {
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    z-index: 1002;
}

.line {
    transition: 0.5s;
    stroke-width: 4px;
    stroke: white;
}

.lineTop {
    stroke-dasharray: 40 40;
    stroke-dashoffset: 25;
}

.lineBottom {
    stroke-dasharray: 40 40;
    stroke-dashoffset: 60;
}

.lineMid {
    stroke-dasharray: 40 40;
}

.hamburger .checkbox:checked + svg .line {
    stroke: #60a5fa;
}

.hamburger .checkbox:checked + svg .lineTop {
    stroke-dashoffset: 0;
    transform-origin: left;
    transform: rotateZ(45deg) translate(-7px, -5px);
}

.hamburger .checkbox:checked + svg .lineMid {
    stroke-dashoffset: 40;
}

.hamburger .checkbox:checked + svg .lineBottom {
    stroke-dashoffset: 0;
    transform-origin: left;
    transform: rotateZ(-45deg) translate(-5px, 5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 80px);
    background: rgba(30, 41, 59, 0.98);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    padding: 2rem;
    transition: right 0.3s ease;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
}

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

.mobile-nav-link {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #60a5fa;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 0;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 2rem 20px; /* Account for navbar height */
    height: 100vh;
}

.hero-text h1 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #475569;
    font-weight: 500;
}

.feature i {
    color: #1e3a8a;
    font-size: 1.2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.1s ease-out;
}

/* Emergency Banner */
.emergency-banner {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: white;
    padding: 1rem 0;
    text-align: center;
}

.emergency-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.emergency-call {
    color: white;
    text-decoration: none;
    font-weight: 600;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    transition: background 0.3s ease;
}

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

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    background: #f8fafc;
}

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

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-card h3 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.service-card p {
    margin-bottom: 1.5rem;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card li {
    padding: 0.5rem 0;
    color: #64748b;
    position: relative;
    padding-left: 1.5rem;
}

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

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

.about-lead {
    font-size: 1.2rem;
    color: #1e293b;
    margin-bottom: 2rem;
    font-weight: 500;
}

.about-features {
    margin-bottom: 2.5rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.about-feature i {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.about-feature h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.service-areas h4 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.areas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
}

.areas-grid span {
    background: #f1f5f9;
    padding: 0.5rem;
    border-radius: 6px;
    color: #475569;
    font-size: 0.9rem;
    text-align: center;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.experience-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    padding: 1.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.3);
    z-index: 10;
    transition: transform 0.3s ease;
}

.about-image:hover .experience-badge {
    transform: scale(1.05);
}

.experience-badge .years {
    display: block;
    font-size: 2rem;
    font-weight: 700;
}

.experience-badge .text {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Awards Section */
.awards {
    background: #f8fafc;
    text-align: center;
}

.awards h2 {
    margin-bottom: 3rem;
}

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

.award-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

.award-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
}

/* Special Offer Section */
.special-offer {
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: white;
    overflow: hidden;
    position: relative;
}

.special-offer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><defs><pattern id="grain" width="100" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="5" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="50" cy="15" r="2" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
    pointer-events: none;
}

.offer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.offer-text h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.offer-text p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.offer-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.offer-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 500;
}

.offer-feature i {
    color: #22c55e;
    font-size: 1.2rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

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

.offer-coupon {
    display: flex;
    justify-content: center;
    align-items: center;
}

.coupon-img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.coupon-img:hover {
    transform: scale(1.02) rotate(1deg);
}

/* Financing Section */
.financing {
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
}

.financing-content {
    text-align: center;
}

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

.financing p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

.financing-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.financing-option h4 {
    color: white;
    margin-bottom: 1rem;
}

.financing-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.financing-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.financing-feature i {
    font-size: 1.5rem;
}

/* Testimonials Section */
.testimonials {
    background: #f8fafc;
}

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

.testimonial-card {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: #1e3a8a;
    font-weight: bold;
    opacity: 0.3;
}

.stars {
    display: flex;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.stars i {
    color: #fbbf24;
}

.testimonial-card p {
    font-style: italic;
    margin-bottom: 1.5rem;
    color: #475569;
}

.testimonial-author strong {
    color: #1e293b;
    display: block;
}

.testimonial-author span {
    color: #64748b;
    font-size: 0.9rem;
}

/* FAQ Section */
.faq-grid {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem 2rem;
    background: #f8fafc;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f1f5f9;
}

.faq-question h4 {
    color: #1e293b;
    margin: 0;
    font-size: 1.1rem;
}

.faq-question i {
    color: #64748b;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 200px;
}

.faq-answer p {
    color: #475569;
    margin: 0;
}

/* Contact Section */
.contact {
    background: #f8fafc;
}

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

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

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

.contact-item i {
    color: #1e3a8a;
    font-size: 1.5rem;
    margin-top: 0.25rem;
    min-width: 24px;
}

.contact-item h4 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

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

.contact-item a {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.social-links h4 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #1e3a8a;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-icon:hover {
    transform: translateY(-2px);
    background: #1e40af;
}

/* Form Styles */
.quote-form, .job-application-form {
    background: white;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.quote-form h3, .job-application-form h3 {
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #3b82f6;
    outline: none;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-weight: normal;
    margin-bottom: 0;
}

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

.checkmark {
    position: relative;
}

.form-disclaimer {
    font-size: 0.875rem;
    color: #6b7280;
    text-align: center;
    margin-top: 1rem;
    margin-bottom: 0;
}

/* Careers Section */
.careers {
    background: #f8fafc;
}

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

.careers-info h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    color: #475569;
}

.benefits-list i {
    color: #22c55e;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 4rem 0 2rem;
}

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

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-section p {
    color: #94a3b8;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

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

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

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.contact-info-footer p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #94a3b8;
}

.contact-info-footer i {
    width: 16px;
    color: #3b82f6;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 2rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: white;
}

.licenses {
    color: #64748b;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Navigation */
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: block;
    }
    
    .nav-container {
        padding: 1rem;
    }
    
    .logo {
        height: 50px;
    }
    
    /* Hero */
    .hero {
        padding: 0;
        height: 100vh;
        min-height: 100vh;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding: 80px 1rem 20px; /* Account for navbar height */
        height: 100vh;
        justify-content: center;
        align-items: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-features {
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img {
        height: 300px;
    }

    /* Mobile hero positioning - Prevent zoom-in effect */
    .hero {
        background-position: center 30% !important;
    }
}

/* Very small screens - prevent excessive zoom */
@media (max-width: 480px) {
    .hero {
        background-position: center 25% !important;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 10px;
    }
    
    .about-img {
        height: 250px;
        object-fit: cover;
        object-position: center top;
        transform: scale(1.1);
        transform-origin: center;
    }
    
    .about-image {
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    }
    
    .experience-badge {
        position: absolute;
        bottom: -40px;
        right: -10px;
        padding: 1rem;
        font-size: 0.9rem;
        z-index: 10;
        border-radius: 12px;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Forms */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .quote-form, .job-application-form {
        padding: 1.5rem;
    }
    
    /* Careers */
    .careers-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    /* Financing */
    .financing-features {
        gap: 1rem;
    }
    
        .financing-feature {
            flex-direction: column;
            text-align: center;
            gap: 0.25rem;
        }

        /* Special Offer Responsive */
        .offer-content {
            grid-template-columns: 1fr;
            gap: 2rem;
            text-align: center;
        }

        .offer-features {
            grid-template-columns: 1fr;
        }
    }@media (max-width: 480px) {
    .hero-features {
        flex-direction: column;
        align-items: center;
    }
    
    .emergency-content {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .areas-grid {
        grid-template-columns: 1fr;
    }
    
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .financing-features {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Loading Animation */
.loading {
    opacity: 0;
    animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Enhanced Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

/* Parallax Effect for Hero Images */
.hero-img,
.about-img {
    transition: transform 0.3s ease;
}

.hero:hover .hero-img,
.about:hover .about-img {
    transform: scale(1.02);
}

/* Enhanced Card Animations */
.service-card,
.testimonial-card,
.award-item {
    position: relative;
    overflow: hidden;
}

.service-card::before,
.testimonial-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
    transform: scale(0);
    transition: transform 0.6s ease;
}

.service-card:hover::before,
.testimonial-card:hover::before {
    transform: scale(1);
}

/* Active Navigation State */
.nav-link.active {
    color: #60a5fa;
}

.nav-link.active::after {
    width: 100%;
}

/* Improved Mobile Menu Animation */
@media (max-width: 768px) {
    .mobile-menu.active {
        animation: slideInRight 0.3s ease;
    }
}

@keyframes slideInRight {
    from {
        right: -100%;
    }
    to {
        right: 0;
    }
}

/* Scroll to Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #1e3a8a;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #1e40af;
    transform: translateY(-3px);
}

/* Footer Phone Link Styling */
.footer-phone {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-phone:hover {
    color: #3b82f6;
}

/* Video Showcase Section */
.video-showcase {
    background: #f8fafc;
    padding: 4rem 0;
    text-align: center;
}

.video-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.video-container iframe {
    width: 100%;
    height: 450px;
    border-radius: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .video-container iframe {
        height: 250px;
    }
}

/* Accordion Styles */
.accordion {
    margin: 1rem 0;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    background: #f9fafb;
    border: none;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #374151;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: #f3f4f6;
}

.accordion-header.active {
    background: #e5e7eb;
}

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

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: white;
}

.accordion-content.active {
    max-height: 1000px;
    padding: 1rem;
}

/* Mobile - Disable parallax for better compatibility */
@media (max-width: 768px) {
    .hero {
        background-attachment: scroll !important; /* Disable parallax on mobile */
        background-size: cover !important;
        background-position: center center !important;
    }
    
    /* About section mobile adjustments */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-img {
        height: 300px;
    }
    
    .experience-badge {
        bottom: 15px;
        right: 15px;
        padding: 1rem;
    }
    
    .experience-badge .years {
        font-size: 1.5rem;
    }
    
    .experience-badge .text {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero {
        background-position: center center !important;
    }
    
    /* About section mobile adjustments for small screens */
    .about-img {
        height: 250px;
    }
    
    .experience-badge {
        bottom: 10px;
        right: 10px;
        padding: 0.75rem;
    }
    
    .experience-badge .years {
        font-size: 1.25rem;
    }
    
    .experience-badge .text {
        font-size: 0.7rem;
    }
}

/* ===== FADE-IN ANIMATIONS ===== */

/* Fade In Animations - Layout Shift Prevention */
.fade-in {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
    contain: layout style paint;
}

.fade-in.animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.fade-in-left {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
    contain: layout style paint;
}

.fade-in-left.animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.fade-in-right {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
    contain: layout style paint;
}

.fade-in-right.animate {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    will-change: auto;
}

.fade-in-scale {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
    will-change: opacity, transform;
    contain: layout style paint;
}

.fade-in-scale.animate {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    will-change: auto;
}

/* Staggered animation delays for comprehensive scroll animations */
.stagger-delay:nth-child(1) { transition-delay: 0.1s; }
.stagger-delay:nth-child(2) { transition-delay: 0.2s; }
.stagger-delay:nth-child(3) { transition-delay: 0.3s; }
.stagger-delay:nth-child(4) { transition-delay: 0.4s; }
.stagger-delay:nth-child(5) { transition-delay: 0.5s; }
.stagger-delay:nth-child(6) { transition-delay: 0.6s; }
.stagger-delay:nth-child(7) { transition-delay: 0.7s; }
.stagger-delay:nth-child(8) { transition-delay: 0.8s; }
.stagger-delay:nth-child(9) { transition-delay: 0.9s; }
.stagger-delay:nth-child(10) { transition-delay: 1.0s; }

/* Enhanced stagger delays for sequential elements in same section */
.fade-in.stagger-delay:nth-of-type(1) { transition-delay: 0.1s; }
.fade-in.stagger-delay:nth-of-type(2) { transition-delay: 0.2s; }
.fade-in.stagger-delay:nth-of-type(3) { transition-delay: 0.3s; }
.fade-in.stagger-delay:nth-of-type(4) { transition-delay: 0.4s; }
.fade-in.stagger-delay:nth-of-type(5) { transition-delay: 0.5s; }

.fade-in-left.stagger-delay:nth-of-type(1) { transition-delay: 0.1s; }
.fade-in-left.stagger-delay:nth-of-type(2) { transition-delay: 0.2s; }
.fade-in-left.stagger-delay:nth-of-type(3) { transition-delay: 0.3s; }

.fade-in-right.stagger-delay:nth-of-type(1) { transition-delay: 0.1s; }
.fade-in-right.stagger-delay:nth-of-type(2) { transition-delay: 0.2s; }
.fade-in-right.stagger-delay:nth-of-type(3) { transition-delay: 0.3s; }

.fade-in-scale.stagger-delay:nth-of-type(1) { transition-delay: 0.1s; }
.fade-in-scale.stagger-delay:nth-of-type(2) { transition-delay: 0.2s; }
.fade-in-scale.stagger-delay:nth-of-type(3) { transition-delay: 0.3s; }
.fade-in-scale.stagger-delay:nth-of-type(4) { transition-delay: 0.4s; }
.fade-in-scale.stagger-delay:nth-of-type(5) { transition-delay: 0.5s; }
.fade-in-scale.stagger-delay:nth-of-type(6) { transition-delay: 0.6s; }

/* Layout containment for major sections */
.services, .about, .video-showcase, .awards, .special-offer,
.financing, .testimonials, .faq, .contact, .careers {
    contain: layout style paint;
}

/* Hero section optimization */
.hero {
    contain: layout;
    will-change: background-position;
}

/* Service cards containment */
.service-card {
    contain: layout style paint;
}

/* Reduce layout thrashing */
.service-icon i {
    backface-visibility: hidden;
    perspective: 1000px;
}

/* Hardware acceleration for critical elements */
.navbar, .hero-content, .service-card, .btn {
    will-change: transform;
}

/* Performance optimizations for animations */
@media (prefers-reduced-motion: reduce) {
    .fade-in, .fade-in-left, .fade-in-right, .fade-in-scale {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
        will-change: auto !important;
        contain: style paint !important;
    }
}

/* Memory optimization for mobile */
@media (max-width: 768px) {
    .fade-in, .fade-in-left, .fade-in-right, .fade-in-scale {
        will-change: auto;
        contain: style paint;
    }
}
