:root {
    --primary-blue: #155DFC;
    --primary-dark: #0A2E82;
    --accent-orange: #FF8A00;
    --accent-red: #D2232A;
    --text-dark: #1F2937;
    --text-muted: #6B7280;
    --text-white: #ffffff;
    --bg-light: #F9FAFB;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.top-bar {
    background-color: #0A2E82 !important;
    /* Force primary dark color */
    color: #ffffff;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 600;
    display: block;
    width: 100%;
}

.top-bar-flex {
    display: flex;
    justify-content: center;
    align-items: center;
}

.top-bar a {
    color: var(--text-white);
    text-decoration: none;
    transition: opacity 0.2s;
}

.top-bar a:hover {
    opacity: 0.8;
}

.navbar {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1000;
}

.navbar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 26px;
    font-weight: 900;
    line-height: 0.9;
    color: var(--primary-blue);
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.logo-sub {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-orange);
    letter-spacing: 2px;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Premium Button Design */
.btn-quote-new {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #FF6B00 100%);
    color: #fff;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 138, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
}

.btn-quote-new:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(255, 138, 0, 0.4);
    background: linear-gradient(135deg, #FF9E33 0%, var(--accent-orange) 100%);
}

.nav-menu {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-item {
    text-decoration: none;
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 14px;
    transition: color 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-item:hover {
    color: var(--primary-blue);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--primary-dark);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    margin-left: 15px;
}

.mobile-only {
    display: none;
}

@media (max-width: 1024px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        gap: 15px;
        border-top: 1px solid #eee;
    }

    .nav-menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: block;
    }

    .nav-item {
        width: 100%;
        text-align: left;
        padding: 10px 0;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-item:last-child {
        border-bottom: none;
    }
}

@media (max-width: 600px) {
    .top-bar {
        font-size: 11px;
    }

    .btn-quote-new {
        padding: 10px 20px;
        font-size: 13px;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-sub {
        font-size: 12px;
    }
}

.btn-white {
    display: inline-block;
    background: #fff;
    color: var(--primary-blue) !important;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    font-size: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-white:hover {
    background: transparent;
    color: #fff !important;
    border-color: #fff;
    transform: translateY(-3px);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 46, 130, 0.6), rgba(10, 46, 130, 0.6)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    position: relative;
    clip-path: ellipse(150% 100% at 50% 0%);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero h2 {
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-group .btn {
    display: inline-block;
    padding: 18px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-red {
    background-color: var(--accent-orange);
    color: #fff;
}

.btn-red:hover {
    background-color: #E67A00;
    transform: translateY(-3px);
}

/* Intro Section */
.intro {
    padding: 80px 0;
    text-align: center;
}

.intro h2 {
    color: var(--primary-blue);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 30px;
}

.intro p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--text-muted);
}

/* Emergency Section */
.emergency-box {
    background: var(--primary-blue);
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 60px;
    border-radius: 24px;
    margin-bottom: 80px;
    text-align: center;
    box-shadow: var(--shadow);
}

.emergency-box h3 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 800;
}

.emergency-box p {
    font-size: 18px;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

/* Product Grid */
.products {
    padding-bottom: 80px;
    background-color: #fff;
    position: relative;
    padding-top: 60px;
}

.products::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: var(--accent-orange);
    border-radius: 10px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding-top: 20px;
}

.product-card {
    background: #fff;
    padding: 0;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 32px;
    text-align: left;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    will-change: transform, box-shadow;
    position: relative;
    overflow: hidden;
    /* Ensure content stays within 32px corners */
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(10, 46, 130, 0.15);
    border-color: rgba(21, 93, 252, 0.2);
}

.product-card-img-wrapper {
    width: 100%;
    height: 280px;
    /* Optimized height for full-bleed look */
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Fill the space completely */
    transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-card-body {
    padding: 25px 25px 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-card h4 {
    color: var(--primary-dark);
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 25px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.btn-blue {
    background: var(--primary-blue);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 25px;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.3s;
    box-shadow: 0 10px 20px rgba(21, 93, 252, 0.2);
    width: 100%;
    margin-top: auto;
}

.btn-blue::after {
    content: '→';
    margin-left: 10px;
    font-size: 18px;
    transition: transform 0.3s;
}

.btn-blue:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(10, 46, 130, 0.3);
}

.btn-blue:hover::after {
    transform: translateX(5px);
}

/* Service Area */
.service-area {
    background-color: #f1f3f5;
    /* Light gray from screenshot */
    padding: 80px 0;
}

.service-area-flex {
    display: flex;
    align-items: center;
    gap: 60px;
}

.service-content {
    flex: 1.2;
}

.underline-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.underline-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 280px;
    height: 3px;
    background-color: var(--accent-red);
}

.service-content p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-top: 25px;
}

.service-map {
    flex: 1;
}

.service-map img {
    width: 100%;
}

/* Footer */
.main-footer {
    background-color: var(--primary-dark);
    color: #fff;
    padding: 100px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 80px;
    padding-bottom: 80px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 30px;
    color: var(--accent-orange);
    text-transform: uppercase;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-contact-info p {
    margin-bottom: 20px;
    font-size: 15px;
    display: flex;
    align-items: flex-start;
    color: rgba(255, 255, 255, 0.8);
}

.footer-contact-info i {
    color: var(--accent-orange);
    margin-right: 15px;
    margin-top: 5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}

/* Page Styling (Legal & Contact) */
.page-header {
    background: linear-gradient(rgba(10, 46, 130, 1), rgba(10, 46, 130, 1));
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.page-content {
    padding: 80px 0;
    line-height: 1.8;
}

.legal-content h2 {
    margin: 40px 0 20px;
    color: var(--primary-dark);
}

.legal-content h2:first-of-type {
    margin-top: 0;
}

.legal-content h3 {
    margin: 30px 0 15px;
    color: var(--primary-dark);
}

.legal-content p {
    margin-bottom: 20px;
    color: #555;
}

.content-list {
    margin-bottom: 30px;
    padding-left: 20px;
}

.content-list li {
    margin-bottom: 10px;
    position: relative;
    list-style: none;
    padding-left: 25px;
}

.content-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--accent-orange);
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.contact-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.contact-link {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-blue);
    text-decoration: none;
    display: block;
    margin-top: 15px;
}

.services-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    text-align: center;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--accent-orange);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
    margin: 0 auto 20px;
}

.cta-box,
.opt-out-box {
    background: var(--primary-dark);
    color: #fff !important;
    padding: 60px;
    border-radius: 32px;
    text-align: center;
    margin-top: 80px;
}

.cta-box h3,
.opt-out-box h3,
.cta-box p,
.opt-out-box p {
    color: #fff !important;
}

.cta-box h3,
.opt-out-box h3 {
    font-size: 32px;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 40px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.faq-item h4 {
    font-size: 20px;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

/* Responsive */
@media (max-width: 992px) {

    .cta-box,
    .opt-out-box {
        padding: 30px 20px;
    }

    .emergency-box {
        padding: 30px 20px;
    }

    .service-area-flex {
        flex-direction: column;
        text-align: center;
    }

    .hero h1 {
        font-size: 40px;
    }

    .footer-grid {
        gap: 30px;
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }
}