/* =========================
   COLOR SYSTEM
========================= */

:root {
    --primary: #1a1a2e;
    --secondary: #e94560;
    --accent: #fca141;
    --light: #f8f9fa;
    --dark: #0f3460;
    --text: #333333;
    --text-light: #666666;
    --accent-hover: #d63d55;
    --accent-dark: #c1314b;
    --text-muted: #666;
    --gradient: linear-gradient(135deg, #1a1a2e, #0f3460);
}


/* =========================
   BASE
========================= */

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background-color: var(--light);
    color: var(--text);
}

/* =========================
   HERO
========================= */

.hero {
    position: relative;
    background: var(--gradient);
    padding: 160px 20px;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(26,26,46,0.85) 30%,
        rgba(26,26,46,0.6) 60%,
        rgba(15,52,96,0.3) 100%
    );
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    margin-top: 12px;
    line-height: 1.6;
    letter-spacing: 0.2px;
    max-width: 720px;
}

.hero .container {
    position: relative;
    max-width: 700px;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem) !important;
    line-height: 1.2;
    color: #ffffff;
}

.hero p {
    font-size: 1.3rem;
    color: rgba(255,255,255,0.9);
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 80px 20px;
    border-bottom: 1px solid #e0e0e0;
}

/* =========================
   CARDS
========================= */

.service-box,
.why-box {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    transition: 0.3s;
    text-align: center;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.service-box::after,
.why-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--secondary), var(--accent));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-box:hover::after,
.why-box:hover::after {
    transform: scaleX(1);
}

.service-box:hover,
.why-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* =========================
   ICON SYSTEM
========================= */

.navbar i.bi {
    color: var(--accent);
}

.why-box i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    width: 70px;
    height: 70px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--dark));
    color: #ffffff;
}

/* =========================
   BUTTONS
========================= */

.btn-warning {
    background: var(--accent);
    border: none;
    color: #000;
    font-weight: bold;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.btn-warning:hover {
    background: #e8942e;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(252,161,65,0.3);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(233, 69, 96, 0); }
    100% { box-shadow: 0 0 0 0 rgba(233, 69, 96, 0); }
}

/* =========================
   FOOTER
========================= */

footer {
    background: var(--primary);
    color: rgba(255,255,255,0.9);
    padding: 25px;
    text-align: center;
}

/* =========================
   DROPDOWN
========================= */

.dropdown-menu {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    border-radius: 12px;
    padding: 15px 0;
    min-width: 260px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
}

.dropdown-menu.show {
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 22px;
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    transition: all 0.25s ease;
}

.dropdown-item i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    transition: all 0.25s ease;
}

.fa-gears { background: rgba(13,202,240,0.15); color: #0dcaf0; }
.fa-gauge-high { background: rgba(13,202,240,0.15); color: #0dcaf0; }
.fa-bolt { background: rgba(255,193,7,0.15); color: #ffc107; }
.fa-arrows-up-down { background: rgba(111,66,193,0.15); color: #6f42c1; }
.fa-oil-can { background: rgba(240,173,78,0.15); color: #f0ad4e; }
.fa-circle-stop { background: rgba(220,53,69,0.15); color: #dc3545; }
.fa-circle-dot { background: rgba(40,167,69,0.15); color: #28a745; }
.fa-truck { background: rgba(173,181,189,0.15); color: #adb5bd; }

.dropdown-item:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    padding-left: 30px;
}

.dropdown-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 4px;
    background: linear-gradient(to bottom, var(--accent), var(--secondary));
    border-radius: 3px;
    opacity: 0;
    transition: 0.25s;
}

.dropdown-item:hover::before {
    opacity: 1;
}

.dropdown-item:hover i {
    transform: scale(1.15);
    box-shadow: 0 0 15px rgba(255,255,255,0.15);
}

.dropdown-header {
    font-size: 0.7rem;
    font-weight: bold;
    color: rgba(255,255,255,0.6);
    padding: 14px 22px 6px;
    letter-spacing: 1.2px;
}

.dropdown-divider {
    border-color: rgba(255,255,255,0.1);
    margin: 10px 0;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    background: var(--primary) !important;
}

.nav-link {
    color: rgba(255,255,255,0.9) !important;
}

.nav-link:hover {
    color: var(--accent) !important;
}

/* =========================
   HEADINGS
========================= */

h1, h2, h3, h4, h5, h6 {
    color: var(--primary);
}

h2 {
    color: var(--primary);
}

.text-center h2 {
    color: var(--primary);
}

/* =========================
   LINKS
========================= */

a {
    color: var(--secondary);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-hover);
}

a.text-decoration-none {
    color: inherit;
}

/* =========================
   CONTACT PAGE BUTTONS
========================= */

.btn-outline-light {
    color: var(--primary);
    border-color: var(--primary);
    background: transparent;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
}

.btn-outline-light i {
    color: var(--primary);
}

.btn-outline-light:hover i {
    color: #ffffff;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 991px) {
    .dropdown-menu {
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none;
        background: var(--dark);
        border-radius: 0;
    }

    .dropdown-item {
        padding-left: 20px !important;
    }

    .dropdown-item:hover {
        padding-left: 20px;
    }

    .dropdown-item::before {
        display: none;
    }

    .navbar-brand {
        position: static;
        transform: none;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 20px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
    }

    .navbar-nav .nav-link {
        font-size: 1.5rem;
    }

    .brand-logos img {
        max-height: 60px;
    }

    .inspection-highlight {
        padding: 25px;
    }

    .inspection-badge {
        width: 140px;
        height: 140px;
    }

    .inspection-number {
        font-size: 3rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-cta,
    .btn-cta-outline {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .cta-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .contact-options {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .btn-cta-sms,
    .btn-cta-call {
        justify-content: center;
    }
}

/* =========================
   SCROLL ANIMATIONS
========================= */

.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.show {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   GALLERY
========================= */

.gallery img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
    cursor: pointer;
    border: 2px solid #e0e0e0;
}

.gallery img:hover {
    transform: scale(1.05);
    border-color: var(--secondary);
}

.lightbox {
    background: rgba(26, 26, 46, 0.95);
}

.lightbox img {
    display: block;
    margin: auto;
    border-radius: 8px;
}

/* =========================
   LOGO
========================= */

.nav-logo {
    height: 60px;
    width: auto;
}

@media (max-width: 768px) {
    .nav-logo {
        height: 45px;
    }
}

.navbar .container {
    position: relative;
}

/* =========================
   BRAND LOGOS
========================= */

.brand-logos img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.brand-logos img:hover {
    filter: grayscale(0%);
}

/* =========================
   CONTACT FORM
========================= */

.contact-form-box {
    background: #ffffff;
    padding: 5px;
    border-radius: 12px;
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.contact-form-box h4 {
    color: var(--primary);
}

/* =========================
   FAQ
========================= */

.faq-section {
    margin: 60px 0;
}

.faq-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary);
}

.faq-item {
    background: #ffffff;
    padding: 20px 25px;
    margin-bottom: 20px;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    cursor: pointer;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.faq-item p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* =========================
   TOWING NOTE
========================= */

.towing-note {
    background: #fff3cd;
    border-left: 5px solid var(--accent);
    padding: 12px 15px;
    margin: 20px 0;
    color: #856404;
    font-size: 15px;
    border-radius: 4px;
}

/* =========================
   RELATED SERVICES
========================= */

.related-services {
    margin-top: 50px;
    text-align: center;
}

.related-title {
    margin-bottom: 20px;
    font-size: 1.6rem;
    color: var(--primary);
}

.related-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.related-grid a {
    display: inline-block;
    padding: 12px 18px;
    background: #ffffff;
    color: var(--primary);
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    font-weight: 500;
    transition: all 0.25s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.related-grid a:hover {
    background: var(--secondary);
    color: #ffffff;
    border-color: var(--secondary);
    transform: translateY(-2px);
}

.related-grid a:active {
    transform: scale(0.97);
}

/* =========================
   FULL WIDTH LINE
========================= */

.full-width-line {
    border-top: 2px solid var(--accent);
}

/* =========================
   DISCLAIMER
========================= */

.disclaimer-box {
    background: rgba(233, 69, 96, 0.08);
    border-radius: 6px;
    padding: 20px;
    border: 1px solid rgba(233, 69, 96, 0.2);
}

/* =========================
   WHY BOX
========================= */

.why-box {
    background: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 25px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.why-box i {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 15px;
}

.why-box h4 {
    color: var(--primary);
    margin-bottom: 10px;
}

.why-box p {
    color: var(--text-light);
    font-size: 14px;
}

.why-box:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* =========================
   DIAG STEP
========================= */

.diag-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 20px;
}

.step-number {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary);
    min-width: 50px;
}

/* =========================
   CHOICE BOX
========================= */

.choice-box ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

/* =========================
   FINAL CTA
========================= */

.final-cta {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 50%, #1a1a2e 100%);
    padding: 80px 20px;
    text-align: center;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(233, 69, 96, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(252, 161, 65, 0.1) 0%, transparent 50%);
    animation: pulseBg 4s ease-in-out infinite alternate;
}

@keyframes pulseBg {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

.final-cta .container {
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-block;
    background: rgba(233, 69, 96, 0.2);
    color: #ff6b81;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
    border: 1px solid rgba(233, 69, 96, 0.3);
}

.final-cta h2 {
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 35px;
}

.btn-cta {
    background: linear-gradient(135deg, var(--secondary), #ff6b81);
    color: #ffffff;
    border: none;
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(233, 69, 96, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 69, 96, 0.6);
    color: #ffffff;
}

.btn-cta:active {
    transform: translateY(-1px);
}

.btn-cta::after {
    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 ease;
}

.btn-cta:hover::after {
    left: 100%;
}

.btn-cta-outline {
    background: transparent;
    color: #ffffff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 16px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.btn-cta-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-3px);
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.cta-features span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cta-features i {
    color: #28a745;
    font-size: 1rem;
}

/* =========================
   CTA CONTACT BUTTONS
========================= */

.contact-options {
    display: flex;
    gap: 10px;
}

.btn-cta-sms {
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-cta-sms:hover {
    background: #1da851;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
}

.btn-cta-call {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 14px 25px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.btn-cta-call:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

/* =========================
   TRUST BADGES
========================= */

.trust-badge {
    background: #ffffff;
    padding: 30px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    height: 100%;
}

.trust-badge:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.trust-badge i {
    font-size: 2.5rem;
    color: var(--secondary);
    margin-bottom: 15px;
}

.trust-badge h4 {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.trust-badge p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* =========================
   HOMEPAGE SERVICE CARDS WITH IMAGES
========================= */

.service-card-home {
    background-size: 100% auto;
    background-position: center 25%;
    background-repeat: no-repeat;
    position: relative;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    min-height: 180px;
}

/* White overlay to keep text readable */
.service-card-home::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.90);
    z-index: -1;
    transition: background 0.3s ease;
}

.service-card-home:hover::after {
    background: rgba(255, 255, 255, 0.4);
}

.service-card-home i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    transition: text-shadow 0.3s ease;
}

.service-card-home h5 {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    transition: text-shadow 0.3s ease;
}

.service-card-home p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0;
    position: relative;
    z-index: 1;
    transition: text-shadow 0.3s ease;
}

.service-card-home:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

/* Text glow on hover */
.service-card-home:hover i,
.service-card-home:hover h5,
.service-card-home:hover p {
    text-shadow: 
        -1px -1px 0 rgba(255,255,255,0.9),
         1px -1px 0 rgba(255,255,255,0.9),
        -1px  1px 0 rgba(255,255,255,0.9),
         1px  1px 0 rgba(255,255,255,0.9);
}

/* =========================
   25-POINT INSPECTION HIGHLIGHT
========================= */

.inspection-highlight {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
    border: 2px solid var(--secondary);
}

.inspection-badge {
    background: linear-gradient(135deg, var(--primary), var(--dark));
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.inspection-number {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--accent);
}

.inspection-label {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================
   SERVICE FOCUS BOX
========================= */

.service-focus-box {
    background: linear-gradient(135deg, rgba(233, 69, 96, 0.08), rgba(252, 161, 65, 0.08));
    border: 2px solid var(--secondary);
    border-radius: 12px;
    padding: 30px 25px;
    max-width: 700px;
    margin: 0 auto;
}

.service-focus-box i {
    font-size: 2rem;
    color: var(--secondary);
    margin-bottom: 10px;
}

.service-focus-box h4 {
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 10px;
}

.service-focus-box p {
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 0;
}

.service-focus-box strong {
    color: var(--secondary);
}