/* ==========================================================================
   Base Styles & Typography
   ========================================================================== */
html {
    scroll-behavior: smooth;
}
body {
    font-family: "Urbanist", sans-serif;
    background-color: #040509;
    color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    letter-spacing: -0.5px;
}

p {
    line-height: 1.6;
}

/* ==========================================================================
   Utility Classes & Variables
   ========================================================================== */
.text-brand-danger {
    color: #e31837 !important; /* Specific Red from the design */
}

.bg-brand-danger {
    background-color: #e31837 !important;
}

.btn-brand-danger {
    background-color: #e31837;
    border-color: #e31837;
    color: white;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-brand-danger:hover {
    background-color: #c0142e;
    border-color: #c0142e;
    color: white;
}

.section-title {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 400;
}

.section-subtitle {
    color: #888888;
    font-size: 1rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.main-header {
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #1a1a1a;
}

.logo-brand {
    text-decoration: none;
    color: white;
}

.logo-img {
    height: 40px;
    margin-right: 15px;
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 1px;
}

.logo-subtext {
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 2px;
    color: #e31837;
}

.nav-links .nav-link {
    color: #ffffff !important;
    font-size: 0.85rem;
    margin: 0 15px;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.nav-links .nav-link:hover {
    color: #e31837 !important;
}
.action-btn:hover {
    background-color: #fff;
    color: #e31837;
    border-color: #ffffff;
}
/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-title {
    font-size: 48px;
    font-weight: 500;
}

.hero-subtitle {
   color: #868686;
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
}

.hero-image {
    max-width: 80%;
    filter: drop-shadow(0px 20px 30px rgba(0,0,0,0.8));
    margin-bottom: 40px;
    margin-top: 30px;
}

/* ==========================================================================
   Quote Form & Stats Intro Section 
   ========================================================================== */
.stats-intro-section {
    background-color: #000000;
    padding-top: 0; 
    margin-top: -135px; /* Pulls form up slightly if needed */
}


/* The Dark Capsule containing the form inputs */
.quote-form-wrapper {
    background-color: #080808;
    border: 1px solid #222222;
    border-radius: 60px; /* Gives the pill shape to the container */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

/* Individual Pill Inputs */
.custom-pill-input {
    border-radius: 30px !important;
    padding: 12px 20px;
    border: none;
    font-size: 0.9rem;
    color: #333;
}

.custom-pill-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(227, 24, 55, 0.25); /* Reddish glow on focus */
    outline: none;
}
.modal-pill-input {
    border-radius: 30px !important;
    padding: 12px 20px;
    border: none;
    font-size: 0.9rem;
    color: #fff;
}

.modal-pill-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(227, 24, 55, 0.25); /* Reddish glow on focus */
    outline: none;
}
/* Form Submit Button */
.submit-quote-btn {
    border-radius: 30px !important;
    padding: 12px 25px;
    font-size: 0.95rem;
    white-space: nowrap;
}

/* Stats Row Adjustments */
.stats-row {
    padding-bottom: 4rem;
    margin-bottom: 2rem;
    margin-left: 170px;
    margin-right: 170px;
}

/* Vertical dividers between stats */
.stats-item {
    border-right: 1px solid #333333;
}

/* Removes the divider from the last item on mobile or desktop */
@media (max-width: 768px) {
    .stats-item {
        border-right: none;
        border-bottom: 1px solid #333333;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
    .stats-item:last-child {
        border-bottom: none;
    }
}

.stats-number {
    font-size: 2.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.stats-label {
    font-size: 0.8rem;
    color: #777777;
    text-transform: capitalize;
    margin-bottom: 0;
}

/* ==========================================================================
   Why Choose Us (Car Diagram Section)
   ========================================================================== */
.why-choose-us-section {
    overflow: hidden;
}

.car-diagram-row {
    position: relative;
}

.diagram-car {
    max-width: 100%;
    height: auto;
    position: relative;
    z-index: 2;
    transform: scale(1.1); /* Adjust scale to match design sizing */
}

/* Feature Blocks Styling */
.feature-block h4 {
    font-size: 1.25rem;
    font-weight: 400;
}

.feature-block p {
    color: #888888;
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Connector Lines for Desktop using Pseudo-elements */
@media (min-width: 992px) {
    .feature-block {
        position: relative;
    }
    
    .feature-col {
        position: relative;
        z-index: 1;
    }

    /* Base line styling */
    .feature-block::after {
        content: '';
        position: absolute;
        background-color: rgba(255, 255, 255, 0.4);
        height: 1px;
        width: 80px; /* Length of the connecting line */
    }

    /* LEFT COLUMN LINES */
    .left-col .feature-block { padding-right: 30px; }
    
    .left-col .block-top-left::after {
        top: 20%; right: -80px;
        transform: rotate(15deg); 
        transform-origin: left center;
    }
    
    .left-col .block-mid-left::after {
        top: 25%; right: -50px; width: 50px; 
    }
    
    .left-col .block-bottom-left::after {
        top: 20%; right: -80px;
        transform: rotate(-15deg); 
        transform-origin: left center;
    }

    /* RIGHT COLUMN LINES */
    .right-col .feature-block { padding-left: 30px; }
    
    .right-col .block-top-right::after {
        top: 20%; left: -80px;
        transform: rotate(-15deg); 
        transform-origin: right center;
    }
    
    .right-col .block-mid-right::after {
        top: 25%; left: -50px; width: 50px; 
    }
    
    .right-col .block-bottom-right::after {
        top: 20%; left: -80px;
        transform: rotate(15deg); 
        transform-origin: right center;
    }
}

/* Diagram Mobile Adjustments */
@media (max-width: 991.98px) {
    .feature-block {
        margin-bottom: 2rem;
        background-color: #111;
        padding: 20px;
        border-radius: 8px;
        border-left: 3px solid #e31837;
    }
    .feature-block.mt-5 {
        margin-top: 0 !important;
    }
}

/* ==========================================================================
  Difference Section (Before/After Slider)
   ========================================================================== */
.difference-section {
    background-color: #000;
}

.ba-slider-container {
    position: relative;
    width: 100%;
    max-width: 950px; 
    border-radius: 15px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.ba-base-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.ba-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%; /* Initial split at 50% */
    height: 100%;
    overflow: hidden;
}

.ba-overlay-img {
    display: block;
    height: 100%;
    min-width: 100%; 
    object-fit: cover;
    object-position: left;
}

.ba-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%; 
    width: 4px;
    background-color: #fff;
    transform: translateX(-50%);
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.ba-handle-circle {
    width: 40px;
    height: 40px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #d9534f;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}
.img-fluid{
width: 100%;
}
/* ==========================================================================
    1. Auto-Scrolling Logo Marquee Section
    ========================================================================== */
.logos-marquee-section {
    background-color: #ffffff;
    overflow: hidden; 
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    padding: 20px 0 ;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 60px; 
    width: max-content;
    animation: scrollMarquee 40s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-track img {
    height: 100px; 
    object-fit: contain;
    filter: grayscale(100%); 
    opacity: 0.8;
    transition: all 0.3s ease;
}

.marquee-track img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollMarquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ==========================================================================
    2. Why Every Car Owner Needs PPF Section
    ========================================================================== */
.why-ppf-section {
    padding: 0 15%;
    max-width: 1400px;
    margin: 0 auto;
}

.header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    gap: 40px;
}

.header-row h2 {
    font-size: 31px;
    font-weight: 300;
    line-height: 1.2;
    flex: 1;
}

.header-row p {
    color: #888888;
    font-size: 13px;
    line-height: 1.6;
    flex: 1;
    max-width: 500px;
}

/* ==========================================================================
    3. Manual Scrollable Card Carousel
    ========================================================================== */
.cards-carousel {
    display: flex;
    gap: 25px;
    overflow-x: auto; 
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; 
    padding-bottom: 20px; 
}

.cards-carousel::-webkit-scrollbar { display: none; }
.cards-carousel { -ms-overflow-style: none; scrollbar-width: none; }

.info-card {
    flex: 0 0 calc(33.333% - 16.6px);
    scroll-snap-align: start; 
    background-color: #ffffff;
    color: #000000;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.info-card-img-wrapper {
    width: 100%;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    background-color: #f4f4f4;
    margin-bottom: 20px;
}

.info-card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.4;
}

.info-card p {
    font-size: 0.85rem;
    color: #444444;
    line-height: 1.6;
    margin: 0;
}

.roi {
    background-color: #1c1c1c;
    padding: 25px 45px 20px 42px;
    border-radius: 60px;
    max-width: 836px; /* CHANGED: Makes it responsive instead of fixed width */
    width: 100%; 
    box-sizing: border-box; /* Ensures padding doesn't overflow container */
}

.roi p {
    font-family: Urbanist;
    color: #888888;
    font-size: 16px;
    line-height: normal;
    margin: 0;
}

.intro-heading {
    font-size: 50px;
    font-weight: 400;
    line-height: normal;
    letter-spacing: -0.5px;
}

.intro-text p {
    color: #7a7a7a;
    font-size: 12px;
    line-height: normal;
    margin-bottom: 1.5rem;
}

/* ==========================================================================
   What is PPF Section
   ========================================================================== */
.what-is-ppf-section {
    background-color: #0a0a0a;
    margin-top: 50px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}
.feature-text h4 { font-size: 20px; }
.feature-text p {
    color: #888888;
    font-size: 16px;
    line-height: normal;
}

/* ==========================================================================
   Call To Action (CTA) Section
   ========================================================================== */
.cta-section {
    background-color: #000000;
    padding-top: 80px;
    padding-bottom: 80px;
    overflow: hidden; 
}

.cta-wrapper {
    position: relative;
    max-width: 1100px;
    display: flex;
    align-items: center;
}

.cta-banner {
    background-color: #d92128; 
    border-radius: 20px;
    width: 80%; 
    padding: 60px 50px;
    padding-right: 30%; 
    height: 250px;
}

.cta-heading {
    font-size: 33px;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.cta-subtext {
    font-size:14px;
    line-height: 1.6;
    opacity: 0.95;
    max-width: 500px;
}

.cta-btn {
    background-color: #ffffff;
    color: #d92128;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 50px; 
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid #ffffff;
    font-size: 13px;
}

.cta-btn:hover {
    background-color: black;
    color: #ffffff;
}

.cta-car-img {
    position: absolute;
    right: -30px; 
    top: 50%;
    transform: translateY(-50%); 
    width: 55%;
    max-width: 800px;
    z-index: 5;
    filter: drop-shadow(-10px 15px 15px rgba(0,0,0,0.6)); 
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-section { background-color: #000000; }

.testimonial-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); 
}
.cards-carousel::-webkit-scrollbar {
    display: none;
}
.cards-carousel{
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 20px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.tc-item {
    /* Desktop: Shows exactly 3 cards minus the 25px gap */
    flex: 0 0 calc(33.333% - 16.6px); 
    scroll-snap-align: start;
    display: flex; /* Ensures the inner card stretches to match heights */
}
.tc-top {
    background-color: #111111; 
    padding: 40px 30px;
    position: relative;
    flex-grow: 1; 
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: #ffffff;
}

.tc-stars {
    color: #d92128; 
    font-size: 0.85rem;
    letter-spacing: 2px;
}

.tc-text {
    color: #fff;
    font-style: italic;
    font-size: 16px;
    line-height: normal;
    margin-bottom: 0;
}

.tc-bottom {
    background-color: #d92128; 
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px; 
}

.tc-avatar {
    width: 60px;
    height: 60px;
    background-color: #ffffff;
    border-radius: 50%;
    flex-shrink: 0;
}

.tc-user-info h5 {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.tc-user-info span {
    color: rgba(255, 255, 255, 0.8); 
    font-size: 0.8rem;
}

/* ==========================================================================
   FAQ Accordion Section Styles
   ========================================================================== */
.faq-section { background-color: #000000; }

.custom-accordion .accordion-item {
    background-color: #1a1a1a; 
    border: none;
    border-radius: 8px !important; 
    margin-bottom: 15px; 
    overflow: hidden; 
    transition: background-color 0.3s ease;
}

.custom-accordion .accordion-button {
    background-color: transparent;
    color: #ffffff;
    font-size: 1rem;
    padding: 22px 25px;
    box-shadow: none !important; 
}

.custom-accordion .accordion-button:not(.collapsed) {
    background-color: #f4f4f4; 
    color: #000000; 
}

.custom-accordion .accordion-body {
    background-color: #f4f4f4; 
    color: #444444; 
    padding: 0 25px 25px 25px;
    font-size: 0.9rem;
    line-height: 1.7;
    border-top: none;
}

.custom-accordion .accordion-button::after {
    filter: invert(1) grayscale(100%) brightness(200%);
    transition: transform 0.2s ease-in-out, filter 0.2s;
}

.custom-accordion .accordion-button:not(.collapsed):after {
    filter: none;
}

/* ==========================================================================
   Comparison Section Styles
   ========================================================================== */
.comparison-section { background-color: #000000; }

.table-container {
    max-width: 1000px; 
    margin: 0 auto;
}

.custom-table {
    border-collapse: collapse !important;
    border: 1px solid #333333 !important; 
    margin-bottom: 0;
}

.custom-table thead th {
    background-color: #d92128 !important;
    color: #ffffff !important;
    font-weight: 500;
    letter-spacing: 0.5px;
    border: 1px solid #c11d23 !important; 
    padding: 20px 15px !important;
}

.custom-table tbody tr { background-color: #000000 !important; }

.custom-table tbody td {
    background-color: #000000 !important;
    color: #dcdcdc !important; 
    border: 1px solid #333333 !important; 
    padding: 18px 15px !important;
    font-size: 0.95rem;
}

.custom-table tbody td.text-white { color: #ffffff !important; }

/* ==========================================================================
   Trusted Brands Container
   ========================================================================== */
.trusted-brands-container {
    background-color: #111111; 
    border-radius: 0 0 30px 30px; 
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid #222222;
    border-top: none; 
}

.trusted-brands-container h3 { font-size: 20px; }

.trusted-logos .circle-logo-bg {
    background-color: #ffffff;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    padding: 15px; 
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.trusted-logos .circle-logo-bg img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.footer-section {
    background-color: #d92128; 
    color: #ffffff;
}

.footer-tagline {
    font-size: 20px;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    letter-spacing: -0.5px;
}

.footer-social {
    display: flex;
    gap: 15px;
}

.social-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.social-icon:hover {
    background-color: #ffffff;
    color: #d92128;
    border-color: #ffffff;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0px; }

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    text-align: left;
    transition: opacity 0.3s ease;
}

.footer-links a:hover { opacity: 1; text-decoration: underline; }

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.contact-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 35px;
    height: 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    font-size: 0.8rem;
}

.footer-contact-item a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-contact-item a:hover { text-decoration: underline; }
.footer-divider { border-color: rgba(255, 255, 255, 0.3); margin: 0; opacity: 1; }
.footer-bottom-text { font-size: 0.75rem; line-height: 1.6; opacity: 0.9; }


/* ==========================================================================
   GLOBAL RESPONSIVE ADJUSTMENTS (ALL SECTIONS FIXES)
   ========================================================================== */

/* TABLETS & MEDIUM SCREENS */
@media (max-width: 991px) {
    .main-header {
        position: relative;
    }

    /* Pull the expanded menu out of the flow and overlay it */
    .navbar-collapse {
        position: absolute;
        top: 100%; /* Positions it directly below the navbar */
        left: 0;
        width: 100%;
        background-color: rgba(5, 5, 5, 0.98); /* Dark solid background */
        padding: 20px;
        z-index: 1050; /* Ensures it sits on top of everything else */
        box-shadow: 0 15px 25px rgba(0,0,0,0.7); /* Adds depth over the banner */
        border-radius: 0 0 15px 15px; /* Optional: smooth bottom corners */
    }

    /* Give the links some breathing room when stacked */
    .nav-links .nav-item {
        margin-bottom: 15px;
    }
    
    .nav-links .nav-link {
        font-size: 13px;
    }

    /* Center the button in the overlay menu */
    .action-btn {
       margin: 5px 0;
       font-size: 13px;
    }
    .hero-title { font-size: 38px; }
    .intro-heading { font-size: 32px; }
    .section-title { font-size: 2rem; }
    
    /* Pull-up Form - Reduce aggressive overlap */
    .stats-intro-section { margin-top: -60px; }
    
    /* Make table scrollable */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 15px;
    }
    .custom-table { min-width: 800px; } 
    .tc-item {
        flex: 0 0 calc(50% - 12.5px);
    }
    /* Show 2.5 cards in carousel */
    .info-card { flex: 0 0 calc(45%); } 

    /* Fix CTA alignment on tablets */
    .cta-banner {
        width: 100%;
        padding: 50px 30px;
        text-align: center;
    }
    .cta-subtext { margin: 0 auto; }
    .cta-wrapper { flex-direction: column; }
    .cta-car-img {
        position: relative;
        right: auto;
        top: auto;
        transform: translateY(0);
        width: 80%;
        margin-top: -40px; 
    }
}

/* ==========================================================================
   MOBILE PHONES (768px and below) - RESPONSIVE FIXES
   ========================================================================== */
@media (max-width: 768px) {
    /* 1. Hero Typography Fixes */
    .hero-title { 
        font-size: 20px !important; 
        line-height: 1.2 !important; 
    }
    .hero-subtitle { 
        font-size: 10px !important; 
        padding: 0 15px !important; 
    }
    .hero-image { 
        max-width: 100% !important; 
        width: 90%;
        margin-top: 20px !important; 
        margin-bottom: 20px !important; 
    }
    .tc-item {
        flex: 0 0 85%;
    }
    /* 2. FORM & OVERLAP FIX (Crucial Fix for your Screenshot) */
    .stats-intro-section { 
        margin-top: 0px !important; /* REMOVES the overlap on mobile so it sits below the car */
        padding-top: 10px !important;
    }
    .quote-form-wrapper { 
        border-radius: 20px !important; 
        padding: 25px 20px !important; 
        margin: 0 15px !important; /* Prevents touching screen edges */
    }
    
    /* 3. Form Inputs Alignment Fix */
    .quote-form-wrapper form.row {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
    .quote-form-wrapper .col-12 {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-bottom: 12px !important; /* Space between inputs */
    }
    .custom-pill-input, .submit-quote-btn {
        width: 100% !important;
        height: 48px !important; /* Makes them taller and easier to tap on phones */
    }
    .submit-quote-btn {
        margin-bottom: 0 !important;
        margin-top: 5px !important;
        font-size: 13px !important;
    }

    /* 4. Stats Section Fix */
    .stats-number { font-size: 2rem !important; }
    .stats-label { font-size: 13px !important; }
    
    /* 5. General Layout Fixes */
    .intro-heading { font-size: 20px !important; line-height: 1.3 !important; }
    .section-title { font-size: 20px !important; line-height: 1.3 !important; }
   
    .roi { 
        padding: 25px 20px !important; 
        border-radius: 20px !important; 
        width: 100% !important; 
        height: auto !important;
        box-sizing: border-box !important;
    }
    
    /* Header Row (Why Every Car Owner...) */
    .header-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 20px !important;
    }
    .header-row p { text-align: left !important; }

    /* CTA Section Fixes */
    .cta-banner { padding: 40px 20px !important; width: 100% !important; border-radius: 15px !important; }
    .cta-car-img { width: 90% !important; margin-top: -20px !important; }

    /* Footer adjustments */
    .footer-tagline { font-size: 18px !important; margin-bottom: 20px !important; }
    .footer-social { justify-content: flex-start !important; margin-bottom: 25px !important; }
}

/* ==========================================================================
   SMALL MOBILE PHONES (576px and below)
   ========================================================================== */
@media (max-width: 576px) {
    .hero-title { font-size: 20px !important;}
    .stats-row{ padding-bottom: 10px !important; }
    .header-row h2 { font-size: 22px !important; }
    .header-row p { font-size: 12px !important; }
    .intro-heading, .section-title { font-size: 22px !important; }
    .info-card{padding: 10px !important;}
    .info-card-img-wrapper { height: 100px !important; }
    .info-card h4{ font-size: 14px !important; }
    .info-card p{ font-size: 11px !important; }
        .roi {margin: 10px 0 !important; }
        .roi p { font-size: 12px !important; }
     .section-subtitle{ font-size: 15px !important;}
     .tc-user-info h5{ font-size: 14px !important; }
     .tc-user-info span{ font-size: 10px !important; }
    .tc-text{ font-size: 10px !important; }
    .tc-avatar{ width: 40px !important; height: 40px !important; }
    .tc-top { padding: 20px 15px !important; }
    .quote-icon { font-size: 2rem !important; top: 15px !important; right: 15px !important; }
    .custom-accordion .accordion-button{font-size: 14px;}
    .custom-accordion .accordion-body{font-size: 12px;}
    .feature-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    }
    .feature-text h4 { font-size: 15px; }
    .feature-text p {
        color: #888888;
        font-size: 10px;
        line-height: normal;
    }
    .cta-heading {
    font-size: 20px;
    }

    .cta-subtext {
        font-size: 14px;
    }

    .cta-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
    /* Shrink the huge logos in the top marquee */
    .marquee-track img { height: 50px !important; }
    .marquee-track { gap: 30px !important; }
    
    /* Shrink the Trusted Brand Circles */
    .trusted-brands-container h3 { font-size: 1.2rem !important; text-align: center !important; }
    .trusted-logos .circle-logo-bg { width: 60px !important; height: 60px !important; padding: 10px !important; }
    
    /* Info Cards Carousel */
    .info-card { flex: 0 0 95% !important; margin: 0px !important; }
    .footer-heading{ font-size: 14px !important; }
    .footer-links a{ font-size: 11px !important; }
}
/* Show dropdown on hover for desktop */
@media (min-width: 992px) {
    .dropdown-hover:hover > .dropdown-menu {
        display: block;
        margin-top: 0; 
    }

    .dropdown-submenu {
        position: relative;
    }

    /* Position the side-menu to the right */
    .dropdown-submenu > .submenu {
        top: 0;
        left: 100%;
        margin-top: 0;
        display: none; /* Hidden by default */
        min-width: 200px;
    }

    /* Show side-menu when hovering over the parent item */
    .dropdown-submenu:hover > .submenu {
        display: block;
    }
}

/* Styling to match your image */
.dropdown-menu {
    border-radius: 0; /* Boxy look like the image */
    padding: 0;
}

.dropdown-item {
    padding: 12px 20px;
    font-size: 14px;
    color: #333;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    color: #e31837;
}

@media screen and (max-width:600px){
    .stats-row {
    
    margin-left: 0;
    margin-right: 0;
}

}