@import url('https://fonts.googleapis.com/css2?family=Cabin+Sketch:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');


/* ================================================== */
/* GLOBAL LAYOUT & RESETS                             */
/* ================================================== */
#maincontent .container {
    width: 100% !important;
    max-width: unset !important;
}

.page-main {
    padding: 0 !important;
    border-top: 0 !important;
}

.page-title-wrapper {
    display: none;
}

body, html {
    overflow-x: hidden !important;
}

/* SVG fix */
svg:not(:root) {
    overflow: visible;
}

/* Error messages */
p#error-message {
    text-align: start !important;
}

div.mage-error {
    margin-top: 0px !important;
    text-align: left !important;
}

.error-msg, .validation-error {
    color: #ef4444;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    display: block;
}

.input-error, .input-text.input-error {
    border-color: #ef4444 !important;
}

/* ================================================== */
/* HERO SECTION STYLES                                */
/* ================================================== */
.main-hero-wrapper {
    background: linear-gradient(180deg, #013337 0%, #015A62 33.35%, #01747E 100%);
    overflow: hidden;
    padding-top: 0px;
}

.hero-section {
    padding: 0px;
    position: relative;
}

.hero-section .row {
    display: flex;
    align-items: flex-start !important;
    justify-content: space-between;
    margin-top: 2%;
}

.hero-content {
    max-width: 520px;
    padding-top: 84px;
}

.hero-title {
    font-family: 'DM Sans', sans-serif;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 900;
    font-size: 46px;
    line-height: 120%;
    letter-spacing: -0.6px;
    text-transform: uppercase;
    width: 110%;
}

/* Spanish version desktop overrides */
.hero-title.hero-title-es {
    font-size: 43px;
    width: 599px;
}

.hero-title .highlight {
    color: #ffffff;
    font-weight: 800;
}

.hero-subtitle {
    color: #27D9E5;
    margin-bottom: 40px;
    font-family: 'Cabin Sketch';
    font-weight: 700;
    font-size: 26px;
    line-height: 140%;
    letter-spacing: 0px;
    text-transform: uppercase;
    width: 104%;
}

.hero-image {
    text-align: right;
    position: relative;
    padding-right: 0px;
    margin-right: 30px;
}

.hero-image img {
    max-width: 670px;
    width: 92%;
    height: auto;
    position: relative;
    z-index: 2;
    top: 0px;
}

.hero-mechanic-desktop {
    display: block;
}

.hero-mechanic-mobile {
    display: none;
}

/* CTA Button */
.cta-button {
    background: #FFD700;
    color: #000000;
    font-family: 'Roboto';
    font-weight: 900;
    font-size: 21px;
    padding: 13px 24px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.4px;
    line-height: 140%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: #f59e0b;
    color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    text-decoration: none;
}

.cta-button .arrow-icon{
    margin-left: 12px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.submit-registration-btn .arrow-icon{
    margin-left: 12px;
    width: 25px;
    height: 25px;
    transition: transform 0.3s ease;
}


.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* ================================================== */
/* FEATURES GRID STYLES                               */
/* ================================================== */
.features-grid {
    padding: 0px 0;
    background: linear-gradient(180deg, rgba(248, 248, 248, 0) 0%, #F8F8F8 100%);
}

.feature-card {
    width: 180px;
    height: 183px;
    border-radius: 16px;
    padding: 16px;
    text-align: center;
    background: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 0 auto 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin-top: 10px;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.15);
}

.feature-title {
    min-height: 29px;
    color: #013A3F;
    margin-bottom: 10px;
    line-height: 120%;
    font-family: DM Sans;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: -0.6px;
    text-align: center;
}

.garage-name {
    font-weight: 800;
    font-size: 17px;
    color: #004047;
    margin: 0;
    display: flex;
    align-items: flex-start;
    text-transform: uppercase;
}

.garage-date {
    font-weight: 400;
    padding-left: 6px;
    font-size: 14px;
    line-height: 22px;
    color: #004047;
}

.feature-icon {
    margin-bottom: 15px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    max-height: 100%;
    width: auto;
}

.feature-description {
    color: #013A3F;
    font-family: DM Sans;
    font-weight: 400;
    font-size: 13px;
    line-height: 14px;
    letter-spacing: -0.6px;
    text-align: center;
    margin: 0;
    flex-grow: 1;
    display: flex;
    align-items: center;
    align-content: flex-start;
    flex-wrap:wrap;
}

/* ================================================== */
/* BRAND SLIDER STYLES                                */
/* ================================================== */
.custom-brand-slider-wrapper {
    padding: 1rem 0;
    background-color: #f8f9fa;
}

.custom-brand-slider-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
    overflow: hidden;
    position: relative;
}

.custom-brand-slider {
    overflow: hidden;
    position: relative;
    cursor: grab;
}

.custom-brand-slider:active {
    cursor: grabbing;
}

.brand-slider-track {
    display: flex;
    transition: transform 0.3s ease-in-out;
    will-change: transform;
}

.brand-slider-track.dragging {
    transition: none;
    cursor: grabbing;
}

.custom-brand-slider .item,
.brand-slider-track .item {
    flex: 0 0 16.666667%;
    padding: 0 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
}

.custom-brand-slider .item img,
.brand-slider-track .item img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    object-fit: contain;
    height: 32px;
    width: 128px;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.custom-brand-slider .item:hover img,
.brand-slider-track .item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ================================================== */
/* BONS PLANS SECTION STYLES                          */
/* ================================================== */
.tab-listing-products {
    padding: 60px 0 40px;
}

.lastcall {
    text-align: center;
    margin-bottom: 60px;
}

.btn-register {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #0d5f5c;
    color: white;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

.btn-register:hover {
    background-color: #134e4a;
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

.btn-register img {
    width: 20px;
    height: 20px;
}

/* ================================================== */
/* REGISTRATION FORM SECTION STYLES                   */
/* ================================================== */
.registration-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
    justify-content: center;
}

.content-wrapper.content-register {
    display: flex;
    justify-content: center;
}

.registration-background {
    background-color: #004047;
    padding: 36px 0px 36px 36px;
    border-radius: 20px;
    width: 100%;
    margin: 0 auto;
}

.content-left-side {
    padding-left: 29px;
}

/* Registration Form Heading */
.registration-wrapper .main-heading {
    color: white;
    font-size: 39px;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.sub-heading {
    color: white;
    font-size: 20px;
    margin-bottom: 51px;
    font-weight: 100;
    line-height: 120%;
    font-family: 'DM Sans', sans-serif;
}

.accent-text {
    color: #fbbf24;
    font-weight: bold;
}

/* Benefits Listing */
.benefits-listing {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-listing li {
    color: white;
    margin-bottom: 26px;
    display: flex;
    align-items: center;
    font-size: 1.15rem;
    font-weight: 400;
}

.benefits-listing .feature-icon {
    padding: 10px;
    margin-right: 20px;
    margin-bottom: 0px;
    border-radius: 50px;
    color: #27D9E5;
    background-color: #FFFFFF1A;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-text {
    font-weight: 400;
    font-size: 20px;
    margin: 0;
}

/* Form Container */
.signup-form-container {
    background: white;
    border-radius: 15px 0px 0px 15px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Form Fields */
.signup-form-container .field {
    margin-bottom: 10px;
}

.signup-form-container .field.required .label span::after {
    content: " *";
    color: #ef4444;
}

.signup-form-container .label {
    font-weight: 400 !important;
    color: #374151 !important;
    margin-bottom: 5px !important;
    display: block;
    font-size: 15px !important;
}
label[for="telephone"] span::after {
    content: " *";
    color: #ef4444;
}

.signup-form-container .input-text {
    border: 1px solid #00383E;
    border-radius: 8px;
    padding: 12px 15px;
    width: 100%;
    height: auto !important;
    transition: all 0.3s ease;
    font-size: 16px;
    background: white;
    box-sizing: border-box;
}

.signup-form-container .input-text:focus {
    border-color: #04b5af;
    box-shadow: 0 0 0 0.2rem rgba(13, 95, 92, 0.15);
    outline: none;
}

/* Password Fields */
.signup-form-container .password-row {
    display: flex;
    gap: 15px;
    padding-bottom: 10px;
}

.signup-form-container .password-row .field {
    flex: 1;
    margin-bottom: 0;
}

.signup-form-container .password-row .control {
    position: relative;
    display: flex;
    flex-direction: column;
}

.signup-form-container .password-row .input-text {
    padding-right: 35px !important;
    height: 48px;
    box-sizing: border-box;
}

.signup-form-container .show-hide-btn {
    position: absolute;
    right: 0px !important;
    top: 13px !important;
    transform: none !important;
    background: none !important;
    border: none !important;
    color: #6b7280 !important;
    cursor: pointer;
    z-index: 10;
    padding: 4px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}
.signup-form-container .control {
    position: relative;
}
.signup-form-container .show-hide-btn:hover {
    border-radius: 3px;
}

.signup-form-container .show-hide-btn i {
    font-size: 14px;
    pointer-events: none;
}

.signup-form-container .password-row .mage-error {
    order: 2;
}

/* Checkbox Styles */
.signup-form-container .field.choice {
    margin-bottom: 20px;
}

.signup-form-container .field.choice input[type="checkbox"] {
    margin-top: 3px;
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #0d5f5c;
    float: left;
}

.signup-form-container .field.choice .label {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    cursor: pointer;
    margin-left: 0;
}

.signup-form-container .field.choice a {
    color: #0d5f5c !important;
    text-decoration: underline !important;
}

.signup-form-container .field.choice a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-registration-btn {
    background-color: #FFD700 !important;
    border: none;
    color: #1f2937 !important;
    font-weight: bold;
    font-size: 22px !important;
    border-radius: 8px;
    width: 100%;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    height : 55px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.submit-registration-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%) !important;
    color: white !important;
}

/* Widget Fields */
.signup-form-container .field.telephone,
.signup-form-container .field.taxvat,
.signup-form-container .field.company {
    margin-bottom: 10px;
    padding-left: 0px;
}

/* Login Link */
.login-redirect {
    margin-top: 20px;
    text-align: center;
}


.formulaire-col{
    padding-left: 8px;
    padding-right: 0;
}

.existing-account-text {
    color: #6b7280;
    margin-right: 10px;
}

.login-link {
    color: #0d5f5c;
    text-decoration: none;
    font-weight: 500;
}

.login-link:hover {
    text-decoration: underline;
}

/* Utilities */
.custom-placeholder {
    display: none !important;
}

.field.password {
    margin-right: 0px !important;
}

#form-validate input[type=checkbox]:checked::before {
    background-color: #255e7a !important;
}

/* ================================================== */
/* TRUSTPILOT REVIEWS SECTION STYLES                  */
/* ================================================== */
.trustpilot-reviews-section {
    padding: 40px 0;
    background-color: #f8f8f8;
}

.reviews-header {
    margin-bottom: 40px;
}

.reviews-title {
    font-family: DM Sans;
    font-weight: 600;
    font-size: 40px;
    line-height: 120%;
    letter-spacing: -0.6px;
    text-align: center;
    color: #1f2937;
    margin-bottom: 20px;
}

.trustpilot-rating {
    gap: 10px;
}

.trustpilot-logo {
    height: 30px;
    width: auto;
}

.stars-svg {
    height: 25px;
    width: auto;
}

.review-card {
    background: white;
    padding: 23px 30px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
} 

.review-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.garage-logo {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.review-header .stars-svg {
    height: 20px;
    width: auto;
    display: block;
}

.review-text {
    color: #004047;
    font-family: Roboto;
    font-weight: 300;
    font-size: 17px;
    line-height: 100%;
    letter-spacing: 1px;
}

/* ================================================== */
/* FAQ SECTION STYLES                                 */
/* ================================================== */
.questions-wrapper {
    padding: 0px !important;
}

.faq-main-heading {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 40px !important;
    font-weight: 700 !important;
    color: #134e4a !important;
    text-align: center !important;
    margin-bottom: 50px !important;
}

.question-block {
    background: white !important;
    border-radius: 12px !important;
    margin-bottom: 16px !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    overflow: hidden !important;
    transition: all 0.3s ease !important;
}

.question-block:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.12) !important;
}

.question-btn {
    padding: 24px 28px !important;
    cursor: pointer !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border: none !important;
    background: transparent !important;
    width: 100% !important;
    text-align: left !important;
    transition: all 0.3s ease !important;
}

.question-btn:hover {
    background-color: #f8fffe !important;
}

.question-content {
    font-family: 'DM Sans', sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #000000!important;
    margin: 0 !important;
    padding-right: 20px !important;
    line-height: 1.5 !important;
    text-transform: none;
}

.toggle-symbol {
    background: #134e4a !important;
    color: white !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 10px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
    flex-shrink: 0 !important;
}

.toggle-symbol svg {
    transition: transform 0.3s ease !important;
}

 .response-area {
    max-height: 0 !important;  /* Changer de 100% à 0 */
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
    background-color: #f8fffe !important;
    padding: 0px !important;
}

.response-area.open {
    max-height: 300px !important;
}

.response-text {
    padding: 28px 28px 28px 28px !important;
    color: #6b7280 !important;
    font-size: 17px !important;
    line-height: 1.6 !important;
}

.account-breadcrumbs{
    display: unset!important;
}

.account-breadcrumbs .items{
    display : none!important;
}

/* ================================================== */
/* MEDIA QUERIES - DESKTOP FIRST                      */
/* ================================================== */

/* Extra Large Screens (1200px and up) */
@media (min-width: 1200px) {
    .features-grid .row{
        justify-content: center;
    }

    .features-grid .col-xl-2 {
        
        width: auto;
    }
    
    /* Brand slider */
    .custom-brand-slider .item,
    .brand-slider-track .item {
        flex: 0 0 20%;
    }
}

/* Large Screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Features grid */
    .feature-card {
        width: 160px;
        height: 170px;
    }
    
    .features-grid .row {
        justify-content: center;
        gap: 12px;
    }
    
    .features-grid .col-lg-4 {
        flex: 0 0 auto;
        width: auto;
    }
}

/* Tablets and Medium Screens (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    
    /* Hero section */
    .hero-section {
        padding: 40px 0;
    }
    .benefits-listing {
        gap: 11px;
        display: grid;
    }
    .hero-title {
        font-size: 32px;
         width : unset;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-image {
        justify-content: center;
        display: flex;
        margin-right: 0px !important;
    }

    
     .hero-image img {
        top: 0px;
        width: unset !important;
        max-width: 323px;
    }

    
    /* CTA button */
    .cta-button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 14px;
        margin: 0 auto;
    }
    
    /* Features grid */
    .feature-card {
        width: 170px;
        height: 180px;
        padding: 30px 0;
    }
    
    .features-grid .row {
        justify-content: center;
        gap: 15px;
    }
    
    /* Brand slider */
    .custom-brand-slider .item,
    .brand-slider-track .item {
        flex: 0 0 25%;
    }
    
    .custom-brand-slider-container {
        padding: 0px;
    }
    
    /* Trustpilot reviews */
    .trustpilot-reviews-section {
        padding: 40px 20px;
    }
    
    /* Registration form */
    .registration-background {
        padding: 30px 20px;
        margin: 0 15px;
    }
    
    .content-left-side {
        padding-left: 20px;
        margin-bottom: 30px;
        text-align: center;
    }
    
    .registration-wrapper .main-heading {
        font-size: 32px;
        margin-bottom: 15px;
    }
    
    .sub-heading {
        font-size: 18px;
        margin-bottom: 30px;
    }
    
    .signup-form-container {
        border-radius: 15px;
        padding: 25px;
    }

    
    .formulaire-col{
        padding-left: 0px;
        padding-right: 0px;
    }
    
    /* FAQ */
    .faq-main-heading {
        font-size: 35px !important;
        margin-bottom: 40px !important;
    }
    
    .question-btn {
        padding: 20px;
    }
    
    .response-text {
        padding: 0 20px 20px 20px;
    }
    
    .toggle-symbol {
        width: 28px;
        height: 28px;
    }
    .tab-listing-products {
        padding: 0px ;
    }
}

/* General Mobile (max-width: 991px) */
@media (max-width: 991px) {
    /* Hero section */
    .hero-section {
        padding: 20px 0 0px 0;
    }
    
    .hero-section .row {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto 0px auto;
        text-align: center;
        padding-top: 0px;
    }
    
    .hero-image {
        text-align: center;
    }
    
    .hero-image img {
        max-width: 327px;
    }
    
    .hero-title {
        font-size: 36px;
         width : unset;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    /* Features grid container */
    .features-grid {
        padding: 20px 0;
        overflow: hidden;
        position: relative;
    }
    
    .features-grid .container {
        overflow: hidden;
        padding: 0px; 
    }
    
    .features-grid .content-wrapper {
        overflow: hidden;
        padding: 0;
    }
    
    .features-grid .row {
        /* Remove Bootstrap constraints */
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin: 0;
        
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
       
        scroll-snap-type: x mandatory;
    }
    
    .features-grid .row::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    
    .features-grid .row::-moz-scrollbar {
        display: none;
    }
    
    /* Override Bootstrap column behavior */
    .features-grid .col-12,
    .features-grid .col-sm-6,
    .features-grid .col-lg-4,
    .features-grid .col-xl-2 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 180px;
        scroll-snap-align: start;
        padding: 0 10px !important;
    }
    
    .feature-card {
        width: 160px !important;
        height: 170px;
        padding: 18px 15px;
        margin: 0; 
        flex-shrink: 0;
        touch-action: pan-x;
    }

    .feature-icon img {
        width: 40px;
        height: 40px;
    }
    
    .feature-title {
        font-size: 13px;
        margin-bottom: 8px;
        line-height: 1.2;
    }
    
    .feature-description {
        font-size: 11px;
        line-height: 13px;
    }
    
    .features-grid::before,
    .features-grid::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 20px;
        z-index: 2;
        pointer-events: none;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    /* Registration form */
    .registration-wrapper {
        padding: 20px 0;
        min-height: auto;
    }
    
    .registration-background {
        padding: 25px 15px;
        border-radius: 15px;
        margin: 0 10px;
    }
    
    .content-left-side {
        padding-left: 15px;
        margin-bottom: 25px;
    }
    
    .registration-wrapper .main-heading {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    .sub-heading {
        font-size: 16px;
        margin-bottom: 25px;
    }
    
    .benefit-text {
        font-size: 20px;
    }
    
    .benefits-listing li {
        margin-bottom: 20px;
        font-size: 1rem;
    }
    
    .benefits-listing .feature-icon {
        width: 35px;
        height: 35px;
        margin-right: 15px;
    }
    .feature-icon {
        margin-bottom: 0px !important;
    }
    .signup-form-container {
        padding: 20px;
        border-radius: 12px;
    }
    
    .signup-form-container .password-row {
        flex-direction: row;
        gap: 12px;
        padding-bottom: 0px;
    }
    
    .signup-form-container .password-row .field {
        margin-bottom: 15px;
    }
    .hero-image {
        justify-content: center;
        display: flex;
        margin-right: 0px !important;
    }

    
     .hero-image img {
        top: 0px;
        width: unset !important;
        max-width: 370px;
    }
    .cta-button{
        font-size: 20px;
    }
     .content-wrapper.content-register {
        width: 100% !important;
    }
    .formulaire-col {
        padding-left: 0px !important;
    }

}

/* Small Tablets and Large Phones (576px - 767px) */
@media (min-width: 576px) and (max-width: 767px) {
    /* Hero section */
    .hero-section .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .hero-title {
        font-size: 24px;
         width : unset;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }

    .hero-mechanic-desktop {
        display: none !important;
    }
    
    .hero-mechanic-mobile {
        display: block !important;
        width: 100%;
        max-width: 440px;
        height: auto;
        margin: 0 auto;
    }
    
    .hero-image {
        text-align: center;
        padding: 0 20px;
    }
    
    .hero-image img {
        top: 0 !important; 
    }
    
    .cta-button {
        padding: 12px 20px;
        font-size: 13px;
    }
    
    /* Brand slider */
    .custom-brand-slider .item,
    .brand-slider-track .item {
        flex: 0 0 33.333333%;
    }
    
    .custom-brand-slider-container {
        padding: 0 0px;
    }
    
    /* Trustpilot reviews */
    .reviews-header {
        flex-direction: column !important;
        text-align: center;
        gap: 20px;
    }
    
    .reviews-title {
        font-size: 32px;
        margin-bottom: 0;
    }
    
    .trustpilot-rating {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .reviews-grid .col-12:nth-child(2),
    .reviews-grid .col-12:nth-child(3) {
        display: none;
    }
    
    .reviews-grid .col-12:first-child {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .review-card {
        padding: 30px 20px;
    }
    
    .garage-name {
        font-size: 16px;
    }
    
    .review-text {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .garage-logo {
        width: 50px;
        height: 50px;
    }
    
    .trustpilot-reviews-section {
        padding: 40px 0;
    }
    .hero-image {
        margin-right: 0px !important;     
    }
    .hero-image img {
        max-width: 318px !important;
    }
}

/* Small Phones (max-width: 575px) */
@media (max-width: 575px) {
    /* Hero section */
    .hero-title {
        font-size: 35px;
        width : unset;
    }
    
    .hero-subtitle {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .hero-image img {
        top: 0px;
        width: unset !important;
    }

    .cta-button {
        border-radius: 10px;
        padding: 12px 32px;
    }

    /* Brand slider */
    .custom-brand-slider-wrapper {
        padding: 0rem 0;
    }
    
    .features-grid .container {
        overflow: hidden;
        padding: 0px; 
    }

    .features-grid .content-wrapper {
        overflow: hidden;
        padding: 0;
    }
    
    .features-grid .row {
        --bs-gutter-x: 0;
        --bs-gutter-y: 0;
        margin: 0;
        
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto;
        overflow-y: hidden;
        
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        -ms-overflow-style: none;
        scrollbar-width: none;
        
        scroll-snap-type: x mandatory;
    }
    
    .features-grid .row::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }
    
    .features-grid .row::-moz-scrollbar {
        display: none;
    }

    .features-grid .col-12,
    .features-grid .col-sm-6,
    .features-grid .col-lg-4,
    .features-grid .col-xl-2 {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        min-width: 160px; 
        scroll-snap-align: start;
        padding: 0 8px !important; 
    }
    
    .feature-card {
        width: 150px !important;
        height: 160px;
        padding: 15px 12px;
        margin: 0;
        flex-shrink: 0;
        touch-action: pan-x;
    }
    
    .feature-icon img {
        width: 40px;
        height: 40px;
    }
    
    .feature-title {
        font-size: 12px;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .feature-description {
        font-size: 10px;
        line-height: 12px;
    }
    
    .features-grid::before,
    .features-grid::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 15px;
        z-index: 2;
        pointer-events: none;
    }
    
    /* Brand slider */
    .custom-brand-slider .item,
    .brand-slider-track .item {
        flex: 0 0 50%;
        padding: 0 10px;
    }
    
    .custom-brand-slider-container {
        padding: 0 0px;
    }
    
    .main-hero-wrapper{
        min-height: unset !important;
    }
    
    .hero-mechanic-desktop {
        display: none !important;
    }
    
    .hero-mechanic-mobile {
        display: block !important;
        width: 100%;
        max-width: 440px;
        height: auto;
        margin: 0 auto;
    }
}

/* Mobile Specific (max-width: 767px) - FEATURES SLIDER */
@media (max-width: 767px) {
    .reviews-header {
        flex-direction: column !important;
        text-align: center;
        gap: 0px;
    }
    
    .reviews-title {
        font-size: 40px;
        margin-bottom: 0;
    }
    
    .trustpilot-rating {
        justify-content: center;
        margin-bottom: 20px;
    }
    
    .reviews-grid .col-12:nth-child(2),
    .reviews-grid .col-12:nth-child(3) {
        display: none;
    }
    
    .reviews-grid .col-12:first-child {
        max-width: 100%;
        margin: 0 auto;
    }
    
    .review-card {
        padding: 18px 20px;
        margin : 0 18px;
    }
    
    .garage-name {
        font-size: 16px;
    }
    
    .review-text {
        font-size: 15px;
        line-height: 1.4;
    }
    
    .garage-logo {
        width: 50px;
        height: 50px;
    }
    
    .trustpilot-reviews-section {
        padding: 40px 0;
    }
    
    .main-hero-wrapper{
        min-height: unset !important;
    }
    
    .hero-mechanic-desktop {
        display: none !important;
    }
    
    .hero-mechanic-mobile {
        display: block !important;
        width: 100%;
        max-width: 440px;
        height: auto;
        margin: 0 auto;
    }
    
    .custom-brand-slider .item img,
    .brand-slider-track .item img {
        height: 45px !important; 
        width: 150px !important; 
        max-height: 70px; 
    }
    
    .custom-brand-slider .item,
    .brand-slider-track .item {
        min-height: 90px; 
        padding: 0 0px; 
    }
    
    .trustpilot-logo{
        height : 28px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    /* General */
    body, html {
        overflow-x: hidden !important;
    }

    /* Error messages */
    div.mage-error {
        margin-top: 0px !important;
        text-align: left !important;
    } 

    .main-hero-wrapper{
        min-height: unset !important;
    }
    
    .hero-mechanic-desktop {
        display: none !important;
    }
    
    .hero-mechanic-mobile {
        display: block !important;
        width: 100%;
        max-width: 440px;
        height: auto;
        margin: 0 auto;
    }
    
    /* Registration form */
    .registration-background {
        margin: 0 5px;
        padding: 20px 10px;
        border-radius: 12px;
    }
    
    .content-left-side {
        padding-left: 10px;
    }
    
    .registration-wrapper .main-heading {
        font-size: 40px;
    }
    
    .sub-heading {
        font-size: 22px;
        margin-bottom: 20px;
    }
    
    .benefit-text {
        font-size: 20px;
    }
    
    .benefits-listing li {
        margin-bottom: 21px;
    }
    
    .signup-form-container {
        padding: 15px;
    }
    
    .signup-form-container .label {
        font-size: 14px !important;
    }
    
    .signup-form-container .input-text {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .submit-registration-btn {
        font-size: 21px !important;
        font-family: 'Roboto';
        font-weight: 700;
    }

     .formulaire-col {
            padding-left: 0px !important;
    }
    
    .field.password.registration.required {
        width: 100% !important;
    }

}

/* Very Small Mobile (max-width: 395px) */
@media (max-width: 395px) {
    .plateforme span, span.register-button {
        font-size: 186% !important;
    }
}
@media (max-width: 768px) {
    .questions-wrapper {
        padding: 40px 10px !important;
    }
    
    .questions-wrapper .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    
    .questions-wrapper .content-wrapper {
        padding: 0 5px !important;
    }
    
    .faq-main-heading {
        font-size: 28px !important;
        margin-bottom: 30px !important;
        padding: 0 !important;
    }
    
    .question-block {
        margin-bottom: 12px !important;
        border-radius: 8px !important;
        overflow: visible !important;
    }
    
    .question-btn {
        height: 100%;
        padding: 18px 12px !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: space-between !important;
        gap: 10px !important;
        min-height: auto !important;
        white-space: normal !important;
        text-align: left !important;
        width: 100% !important;
    }
    
    .question-content {
        font-size: 16px !important;
        font-weight: 500 !important;
        line-height: 1.4 !important;
        padding-right: 0 !important;
        text-align: left !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        hyphens: auto !important;
        flex: 1 !important;
        white-space: normal !important;
        max-width: calc(100% - 40px) !important;
        margin: 0 !important;
    }
    
    .toggle-symbol {
        width: 28px !important;
        height: 28px !important;
        border-radius: 8px !important;
        flex-shrink: 0 !important;
        margin-left: 10px !important;
        align-self: flex-start !important;
    }
    
    .toggle-symbol svg {
        width: 14px !important;
        height: 14px !important;
    }
    
    .response-area.open {
        max-height: 400px !important;
    }
    
    .response-text {
        padding: 0 12px 20px 12px !important;
        font-size: 14px !important;
        line-height: 1.5 !important;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .questions-wrapper {
        padding: 30px 8px !important;
    }
    
    .questions-wrapper .content-wrapper {
        padding: 0 2px !important;
    }
    
    .faq-main-heading {
        font-size: 24px !important;
        margin-bottom: 25px !important;
    }
    
    .question-btn {
        height: 100%;
        padding: 16px 10px !important;
        gap: 8px !important;
        display: flex !important;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
    }
    
    .question-content {
        font-size: 15px !important;
        line-height: 1.3 !important;
        padding-right: 0 !important;
        margin-top: 1px !important;
        max-width: calc(100% - 35px) !important;
    }
    
    .toggle-symbol {
        width: 26px !important;
        height: 26px !important;
        margin-top: 0px !important;
        margin-left: 8px !important;
    }
    
    .toggle-symbol svg {
        width: 12px !important;
        height: 12px !important;
    }
    
    .response-text {
        padding: 0 10px 18px 10px !important;
        font-size: 13px !important;
    }
}

/* Very Small Mobile (max-width: 395px) */
@media (max-width: 395px) {
    .questions-wrapper {
        padding: 25px 5px !important;
    }
    
    .questions-wrapper .content-wrapper {
        padding: 0 !important;
    }
    
    .question-btn {
        height: 100%;
        padding: 16px 10px !important;
        gap: 8px !important;
        display: flex !important;
        align-items: center;
        align-content: center;
        flex-wrap: wrap;
    }
    
    .question-content {
        font-size: 20px !important;
        padding-right: 0 !important;
        max-width: calc(100% - 30px) !important;
    }
    
    .toggle-symbol {
        width: 24px !important;
        height: 24px !important;
        margin-left: 6px !important;
    }
    
    .toggle-symbol svg {
        width: 10px !important;
        height: 10px !important;
    }
    
    .response-text {
        padding: 0 8px 16px 8px !important;
        font-size: 12px !important;
    }

    .signup-form-container .label {
        font-size: 12px !important;
    }

    .plateforme span, span.register-button {
        font-size: 86% !important;
    }
}

/* Extra Small Mobile (max-width: 370px) */
@media (max-width: 370px) {
    .hero-title {
        font-size: 36px!important;
        width: unset!important;
    }

    .hero-subtitle {
        font-size: 21px;
        margin-bottom: 15px;
        font-family: 'Roboto';
    }

    .login-button.mobile-only {
        padding: 0 15px !important;
    }
}