    * {
                margin: 0;
                padding: 0;
                box-sizing: border-box;
            }
            
            body, html {
                
                direction: rtl;
            }
            
            body {
                font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
                line-height: 1.6;
                color: #333;
                background-color: #f9f9f9; /* Light background for the page */
            }

            html {
                scroll-behavior: smooth;
            }

            

            .contact-item:hover {
                color: #ffd700; /* Gold accent */
                transform: translateY(-1px);
            }

            .contact-item i {
                font-size: 1em; /* Relative to parent font-size */
            }





    /*--------------------------------------------------------------
            /* Language Switcher Styles */
            .language-switcher {
                margin-left: 20px;
            }

            .language-switcher select {
                padding: 8px 12px;
                border: 1px solid #00509e;
                border-radius: 4px;
                background-color: #ffffff;
                color: #00509e;
                font-size: 1em;
                transition: border-color 0.3s ease, background-color 0.3s ease;
            }

            .language-switcher select:hover,
            .language-switcher select:focus {
                border-color: #003566;
                background-color: rgba(0, 53, 102, 0.05);
                outline: none;
            }


            /*--------------------------------------------------------------



    /* Social Media Icons */
    .social-media-icons {
        list-style: none;
        padding: 0;
        margin: 0 0 25px 0;
        display: flex;
        gap: 15px; /* Gap between icons */
    }

    .social-media-icons li a {
        color: #adb5bd;
        font-size: 1.3em;
        display: inline-block;
        width: 40px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border: 1px solid #495057; /* Darker grey border */
        border-radius: 50%;
        transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
    }

    .social-media-icons li a:hover {
        color: #002a4e; /* Icon color changes to footer background */
        background-color: #ffd700; /* Gold accent background */
        border-color: #ffd700;
        transform: translateY(-3px) scale(1.05);
    }

    /* Footer Contact Info */
    .footer-widget .contact-title {
        margin-top: 20px;
    }
    .footer-contact-info {
        font-size: 0.95em;
    }
    .footer-contact-info i {
        color: #ffd700; /* Gold accent for icons */
        margin-right: 8px;
        width: 15px; /* Align icons */
        text-align: center;
    }
    .footer-contact-info a {
        color: #adb5bd;
        text-decoration: none;
    }
    .footer-contact-info a:hover {
        color: #ffffff;
    }


    /* Site Info (Copyright) */
    .site-info {
        text-align: center;
        padding-top: 30px;
        border-top: 1px solid #495057; /* Separator line */
        font-size: 0.85em;
    }

    .site-info p {
        margin: 0;
    }

    .site-info a {
        color: #adb5bd;
        text-decoration: none;
        font-weight: 500;
    }

    .site-info a:hover {
        color: #ffffff;
    }

    /* Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 25px;
        right: 25px;
        display: none; /* Hidden by default, shown by JS */
        width: 44px;
        height: 44px;
        line-height: 44px;
        text-align: center;
        background-color: #00509e; /* Header's secondary blue */
        color: #ffffff;
        border-radius: 50%;
        font-size: 1.1em;
        text-decoration: none;
        z-index: 999;
        transition: background-color 0.3s ease, opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    .back-to-top:hover {
        background-color: #003566; /* Header's primary blue */
        transform: translateY(-3px);
    }

    .back-to-top.visible {
        display: block;
        opacity: 1;
        visibility: visible;
    }


    /* Responsive adjustments for footer */
    @media (max-width: 991px) {
        .footer-widget {
            min-width: calc(50% - 30px); /* Two columns on tablets */
        }
    }

    @media (max-width: 767px) {
        .footer-widgets-area {
            flex-direction: column; /* Stack widgets on mobile */
            gap: 40px; /* Increased gap when stacked */
        }
        .footer-widget {
            min-width: 100%;
            padding-left: 0;
            padding-right: 0;
            text-align: center; /* Center content on mobile */
        }
        .footer-widget .widget-title::after {
            left: 50%;
            transform: translateX(-50%);
        }
        .social-media-icons {
            justify-content: center; /* Center social icons */
        }
        .footer-contact-info {
            text-align: center;
        }
        .footer-contact-info i {
            display: block; /* Icons on their own line for clarity */
            margin: 5px auto;
        }
    }
    /* Custom Slider Styles */
    .custom-slider-container {
        position: relative;
        width: 100%;
        max-width: 100vw;
        margin: 0 auto;
        overflow: hidden;
        background-color: #333;
    }

    .custom-slider {
        position: relative; /* Important for absolute positioning of children */
        height: 80vh;
        min-height: 400px;
        max-height: 700px;
    }

    .slider-item {
        position: absolute; /* Stack slides on top of each other */
        top: 0;
        left: 0;
        width: 100%; /* Make item take full width of parent */
        height: 100%; /* Make item take full height of parent */
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
    }

    .slider-item.active {
        opacity: 1;
        visibility: visible;
        z-index: 1; /* Ensure active slide is on top of others */
    }

    .slider-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .slider-caption {
        
    }

    .slider-background{
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0; /* Behind the image */
        background-color: rgba(0, 0, 0, 0.5); /* Dark overlay */
    }

    .slider-caption h5 {
        font-size: 2.2em; /* Larger title */
        font-weight: 700;
        text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    }

    .slider-caption p {
        font-size: 1.1em;
        line-height: 1.6;
    }

    .slider-cta-button {
        display: inline-block;
        background-color: #ffd700; /* Gold accent from your footer */
        color: #003566; /* Dark blue text */
        padding: 12px 25px;
        text-decoration: none;
        border-radius: 5px;
        font-weight: 600;
        transition: background-color 0.3s ease, transform 0.3s ease;
        text-transform: uppercase;
        font-size: 0.9em;
    }

    .slider-cta-button:hover {
        background-color: #e6c300; /* Darker gold */
        transform: translateY(-2px);
    }

    /* Slider Controls (Prev/Next Arrows) */
    .slider-control {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 3;
        background-color: rgba(0, 0, 0, 0.4);
        color: #fff;
        border: none;
        padding: 15px;
        cursor: pointer;
        font-size: 1.5em;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.3s ease;
    }

    .slider-control:hover {
        background-color: rgba(0, 0, 0, 0.7);
    }

    .slider-control.prev {
        left: 20px;
    }

    .slider-control.next {
        right: 20px;
    }

    /* Slider Indicators (Dots) */
    .slider-indicators {
        position: absolute;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 3;
        display: flex;
        gap: 10px;
    }

    .indicator-dot {
        width: 12px;
        height: 12px;
        background-color: rgba(255, 255, 255, 0.5);
        border-radius: 50%;
        border: none;
        cursor: pointer;
        padding: 0;
        transition: background-color 0.3s ease, transform 0.3s ease;
    }

    .indicator-dot.active,
    .indicator-dot:hover {
        background-color: #fff;
        transform: scale(1.1);
    }

    /* Responsive Adjustments */
    @media (max-width: 768px) {
        .custom-slider {
            height: 50vh; /* Adjust height for tablets */
            min-height: 350px;
        }
        .slider-caption {
            bottom: 8%;
            padding: 15px 20px;
            width: 90%;
        }
        .slider-caption h5 {
            font-size: 1.8em;
        }
        .slider-caption p {
            font-size: 1em;
        }
        .slider-cta-button {
            padding: 10px 20px;
            font-size: 0.85em;
        }
        .slider-control {
            padding: 10px;
            font-size: 1.2em;
            width: 40px;
            height: 40px;
        }
        .slider-control.prev { left: 10px; }
        .slider-control.next { right: 10px; }
        .indicator-dot { width: 10px; height: 10px; }
    }



    /* ...existing code... */

    /* Update existing slider styles */
    .slider-caption {
        position: absolute;
        top: 50%;
        right: -50%;
        width: 500px; /* Reduced width to make space for form */
        margin-left: 5%;
        height: auto;
        z-index: 2;
        color: #fff;
        text-align: right;
        padding: 20px 30px;
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        transform: translateY(-50%);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
    }

    /* New styles for content container and form */
    .slider-content-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 0 5%;
        gap: 30px;
    }

    .slider-form {

        
        width: 45%;
        position: relative;
        top: 55%;
        left: 50%;
        transform: translate(13%, -90%);
        background: rgba(255, 255, 255, 0.95);
        border-radius: 12px;
        padding: 25px 20px;
        box-shadow: 0 8px 32px rgba(0, 53, 102, 0.2);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }


    @media (max-width: 768px) {
        
        .hero-form-container {
            position: absolute;
            top: 55%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%; /* Full width on mobile */
            padding: 20px;
        }
        
    }

    @media (max-width: 480px) {
        
        .hero-form-container {
            position: absolute;
            top: 45%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 90%; /* Full width on mobile */
            padding: 20px;
        }
        
    }
    /* Hero Form Container (Right Side) */
    .hero-form-container {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 20px;
        padding: 2rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        max-width: 450px;
        margin-left: auto;
    }

    .hero-form-container::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 0;
        right: 0;
        height: 10px;
        background: linear-gradient(90deg, #0077b6, #00b4d8, #90e0ef);
        border-radius: 20px 20px 0 0;
    }

    /* Form Header */
    .form-header {
        text-align: center;
    }

    .form-header h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #003566;
    }

    .form-header p {
        font-size: 0.9rem;
        color: #6c757d;
        margin: 0;
    }

    /* Service Toggle Buttons */
    .service-toggle {
        display: flex;
        gap: 0.5rem;
        background: #f8f9fa;
        padding: 0.3rem;
        border-radius: 12px;
        border: 1px solid #e9ecef;
    }

    .service-toggle input[type="radio"] {
        display: none;
    }

    .toggle-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.8rem 0.5rem;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: transparent;
        border: none;
        text-align: center;
    }

    .toggle-btn i {
        font-size: 1.2rem;
        color: #6c757d;
        transition: all 0.3s ease;
    }

    .toggle-btn span {
        font-size: 0.8rem;
        font-weight: 600;
        color: #6c757d;
        transition: all 0.3s ease;
    }

    .service-toggle input[type="radio"]:checked + .toggle-btn {
        background: linear-gradient(135deg, #0077b6, #00b4d8);
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0, 119, 182, 0.3);
    }

    .service-toggle input[type="radio"]:checked + .toggle-btn i,
    .service-toggle input[type="radio"]:checked + .toggle-btn span {
        color: white;
    }

    /* Form Groups */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 0.8rem;
        border: 2px solid #e9ecef;
        border-radius: 10px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        background: #ffffff;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #0077b6;
        box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
    }

    /* Input with Currency */
    .input-with-currency {
        position: relative;
    }

    .input-with-currency input {
        padding-right: 2.5rem;
    }

    .currency {
        position: absolute;
        right: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        color: #0077b6;
        font-size: 0.9rem;
    }

    /* Dynamic Sections */
    .dynamic-section {
        transition: all 0.3s ease;
    }

    /* Submit Button */
    .submit-btn {
        width: 100%;
        background: linear-gradient(135deg, #0077b6, #00b4d8);
        color: white;
        border: none;
        padding: 1rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .submit-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
    }

    .submit-btn:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }
    @media (min-width: 1500px) {
        .slider-caption {
            font-size: 25px;
            width: 900px;
        }
    }
    /* Responsive Design */
    @media (max-width: 1199px) {
        .hero-title {
            font-size: 3rem;
        }
        
        .hero-content {
            padding-right: 1rem;
        }
        
        .hero-form-container {
            max-width: 400px;
            padding: 1.8rem;
        }
    }

    @media (max-width: 991px) {
        .hero-section .container-fluid {
            padding: 1.5rem;
        }
        
        .hero-title {
            font-size: 2.5rem;
        }
        
        .hero-subtitle {
            font-size: 1.1rem;
        }
        
        .hero-content {
            padding-right: 0;
            text-align: center;
        }
        
        .hero-form-container {
            max-width: 100%;
            margin: 0 auto;
        }
    }

    @media (max-width: 767px) {
        .hero-section {
            min-height: auto;
            height: 600px;
            margin-top: -150px!important;
            padding: 2rem 0;
        }
        
        .hero-title {
            font-size: 2rem;
        }
        
        .hero-subtitle {
            font-size: 1rem;
        }
        
        .hero-buttons {
            justify-content: center;
        }
        
        .hero-buttons .btn {
            padding: 0.7rem 1.5rem;
            font-size: 0.9rem;
        }
        
        .hero-form-container {
            padding: 1.5rem;
            margin-top: 30px !important;
        }
        
        .form-header h3 {
            font-size: 1.3rem;
        }
        
        .toggle-btn {
            padding: 0.7rem 0.3rem;
        }
        
        .toggle-btn i {
            font-size: 1rem;
        }
        
        .toggle-btn span {
            font-size: 0.75rem;
        }
        
        .form-group input,
        .form-group select {
            padding: 0.7rem;
            font-size: 0.85rem;
        }
        
        .submit-btn {
            padding: 0.9rem;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 575px) {
        .hero-section .container-fluid {
            margin-top: 0px;
            padding: 1rem;
            height: 750px;
            margin-bottom: 0px;
        }
        .custom-slider-container {
            margin-bottom: 0px;
        }
        
        
        .hero-form-container {
            padding: 1.2rem;
        }
        
        .service-toggle {
            gap: 0.3rem;
            padding: 0.2rem;
        }
        
        .toggle-btn {
            padding: 0.6rem 0.2rem;
        }
        
        .form-group {
            margin-bottom: 0.8rem;
        }
    }


    .slider-form h3 {
        margin-bottom: 20px;
        color: #003566;
        font-size: 1.3em;
        font-weight: 700;
        text-align: center;
    }

    .slider-form input,
    .slider-form select {
        width: 100%;
        margin-bottom: 15px;
        padding: 12px 14px;
        border-radius: 6px;
        border: 1px solid #ddd;
        font-size: 0.95em;
        transition: border-color 0.3s ease, box-shadow 0.3s ease;
        font-family: inherit;
        background: rgba(255, 255, 255, 0.9);
    }

    .slider-form input:focus,
    .slider-form select:focus {
        outline: none;
        border-color: #00509e;
        box-shadow: 0 0 0 2px rgba(0, 80, 158, 0.1);
    }

    .slider-form button {
        width: 100%;
        background: linear-gradient(135deg, #00509e 0%, #003566 100%);
        color: #ffffff;
        border: none;
        padding: 12px 16px;
        border-radius: 6px;
        font-weight: 600;
        font-size: 1em;
        cursor: pointer;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .slider-form button:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 53, 102, 0.3);
    }

    .slider-form button i {
        font-size: 0.9em;
    }



    /* Features Section */
    .features-section {
        background: #003566;
        padding: 20px 0;
        margin-left: 5%;
        margin-right: 5%;
        
        border-radius: 16px;
        position: relative;
        z-index: 1;
        box-shadow: 0 10px 40px rgba(0, 53, 102, 0.3);
    }

    .features-container {
        display: flex;
        justify-content: space-between;
        gap: 30px;
        margin: 0 auto;
        padding: 0 20px;
        flex-wrap: wrap;
    }

    .feature-card {
        flex: 1 1 300px;
        display: flex;
        align-items: flex-start;
        border: 2px solid #ffd700;
        border-radius: 12px;
        padding: 25px 20px;
        background: transparent;
        transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
        min-height: 140px;
    }

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
        border-color: #ffffff;
    }

    .feature-icon {
        font-size: 2.5em;
        color: #ffd700;
        margin-left: 20px;
        min-width: 60px;
        text-align: center;
        margin-top: 5px;
        transition: color 0.3s ease, transform 0.3s ease;
    }

    .feature-card:hover .feature-icon {
        color: #ffffff;
        transform: scale(1.1);
    }

    .feature-content {
        flex: 1;
    }

    .feature-content h4 {
        color: #ffffff;
        margin-bottom: 12px;
        font-size: 1.25em;
        font-weight: 700;
        line-height: 1.3;
    }

    .feature-content p {
        color: #e8f4f8;
        margin: 0;
        font-size: 0.95em;
        line-height: 1.6;
    }

    /* Responsive Design */
    @media (max-width: 991px) {
        .slider-content-container {
            flex-direction: column;
            gap: 20px;
            padding: 20px 5%;
            justify-content: center;
        }
        
        .slider-caption,
        
        
        .slider-caption {
            order: 1;
            background-color: rgba(0, 0, 0, 0.6);
        }
        
        .slider-form {
            order: 2;
            background: rgba(255, 255, 255, 0.98);
        }
        
        .features-container {
            flex-direction: column;
            gap: 25px;
            align-items: center;
        }
        
        .feature-card {
            max-width: 800px;
            flex: 1 1 300px;
            max-height: 50px;
            width: 100%;
        }
        
        .features-section {
            margin: 0 20px;
            margin-top: -60px;
            padding: 40px 0;
        }
    }

    @media (max-width: 767px) {
        .slider-content-container {
            padding: 15px 3%;
        }
        
        .slider-caption,
        .slider-form {
            width: 95%;
        }
        
        .slider-form {
            padding: 20px 15px;
        }
        
        .slider-form h3 {
            font-size: 1.2em;
        }
        
        .slider-form input,
        .slider-form select {
            padding: 10px 12px;
            font-size: 0.9em;
        }
        
        .features-section {
            margin: 0 15px;
            margin-top: -40px;
            border-radius: 12px;
        }
        
        .feature-card {
            text-align: center;
            align-items: center;
            padding: 20px;

        
        }
        
        .feature-icon {
            margin-left: 0;
            margin-bottom: 15px;
            margin-top: 0;
        }
    }


    @media (max-width: 575px) {
        .feature-card {
            text-align: center;
            align-items: center;
            padding: 20px;
            width: 100%;
            max-height: 250px;
        
        }
    }

    @media (max-width: 480px) {
        .slider-caption h5 {
            font-size: 1.8em;
        }
        
        .slider-caption p {
            font-size: 1em;
        }
        
        .slider-form h3 {
            font-size: 1.1em;
        }
        
    
        
    }


    .services-section {
        margin: 60px auto 0 auto;
        max-width: 1200px;
        padding: 0 20px;
        position: relative;
        text-align: center;
    }
    .services-title {
        color: #003566;
        font-size: 2em;
        margin-bottom: 40px;
        font-weight: 700;
    }
    .services-slider-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        max-width: 1100px;
        margin: 0 auto;
        position: relative;
    }
    .services-slider {
        display: flex;
        gap: 30px;
        transition: transform 0.4s cubic-bezier(.77,0,.18,1);
        width: 100%;
        justify-content: center;
    }
    .service-card {
        background: #fff;
        border-radius: 14px;
        box-shadow: 0 4px 24px rgba(0,0,0,0.07);
        border: 1.5px solid #e1e8ed;
        min-width: 320px;
        max-width: 400px;
        flex: 0 0 32%;
        position: relative;
        overflow: hidden;
        transition: box-shadow 0.3s;
        cursor: pointer;
        height: 200px!important;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    .service-card-front {
        padding: 28px 22px 22px 22px;
        display: flex;
        flex-direction: column;
        height: 100%;
        z-index: 2;
        position: relative;
    }
    .service-icon {
        position: absolute;
        top: 18px;
        left: 18px;
        font-size: 2em;
        color: #ffd700;
        z-index: 3;
    }
    .service-content {
        margin-top: 45px;
    }
    .service-content h4 {
        color: #003566;
        font-size: 1.15em;
        margin-bottom: 10px;
        font-weight: 700;
    }
    .service-content p {
        color: #555;
        font-size: 0.98em;
        margin: 0;
    }
    .service-card-hover {
        position: absolute;
        inset: 0;
        width: 100%; height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.4s;
        z-index: 5;
        background-size: cover;
        background-position: center;
    }
    .service-card-overlay {
        position: absolute;
        inset: 0;
        background: #003566;
        opacity: 0.4;
        z-index: 1;
    }
    .service-hover-content {
        position: relative;
        z-index: 2;
        text-align: center;
        width: 100%;
    }
    .service-card-hover h4 {
        color: #fff;
        font-size: 1.3em;
        margin-bottom: 18px;
        font-weight: 700;
    }
    .service-btn {
        display: inline-block;
        background: #ffd700;
        color: #003566;
        padding: 10px 22px;
        border-radius: 6px;
        font-weight: 600;
        text-decoration: none;
        font-size: 1em;
        transition: background 0.2s, color 0.2s;
    }
    .service-btn:hover {
        background: #003566;
        color: #fff;
    }
    .service-card:hover .service-card-hover,
    .service-card:focus-within .service-card-hover {
        opacity: 1;
        pointer-events: auto;
    }
    .service-card:hover .service-card-front,
    .service-card:focus-within .service-card-front {
        opacity: 0;
    }
    .service-card .service-card-front,
    .service-card .service-card-hover {
        transition: opacity 0.4s;
    }

    /* Slider controls */
    .services-slider-prev,
    .services-slider-next {
        display: none;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: #003566;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 38px;
        height: 38px;
        font-size: 1.2em;
        z-index: 10;
        cursor: pointer;
        opacity: 0.8;
    }
    .services-slider-prev { left: -20px; }
    .services-slider-next { right: -20px; }

    /* Desktop: show 3 cards, no scroll */
    @media (min-width: 992px) {
        .services-slider {
            overflow: visible !important;
            transform: none !important;
        }
        .service-card {
            height: 220px !important;
        }
        .services-slider-prev,
        .services-slider-next {
            display: none !important;
        }
    }

    /* Mobile: show 1 card, slider enabled */
    @media (max-width: 991px) {
        .services-slider-wrapper {
            max-width: 100vw;
            padding: 0;
        }
        .services-slider {
            gap: 20;
            width: 100vw;
            justify-content: flex-start;
        }
        .service-card {
            
            height: 220px !important;
        }
        .services-slider-prev,
        .services-slider-next {
            display: block;
        }
    }









    #hero {
    padding: 100px 20px;
    background: #003566;
    color: #fff;
    text-align: center;
    }

    #hero form {
    margin-bottom: 20px;
    }

    #hero input {
    padding: 10px;
    margin: 5px;
    }

    #services {
    padding: 50px 20px;
    text-align: center;
    }

    #services .cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    }

    .card {
    padding: 20px;
    border: 1px solid #ccc;
    }

    #why-choose-us, #statistics, #parking-list, #testimonials {
    padding: 50px 20px;
    text-align: center;
    }

    .parking-cards, .testimonial-cards {
    display: flex;
    gap: 20px;
    justify-content: center;
    }

    .parking-item, .testimonial-item {
    padding: 20px;
    border: 1px solid #ccc;
    }

    .parking-btn{
        background: #005f8a;
        color: white;
        border: none;
        padding: 0.5rem 1rem;
        border-radius: 5px;
        transition: background 0.3s ease;
    }

    .parking-btn i{
        display: inline-block;
        text-decoration: none;
        font-weight: 600;
        font-size: 2em;
    }

    .parking-btn:hover{
        background: #0077b6;
        color: white;
    }

    /* Pourquoi Choisir Tanger Parking Section */
    .why-choose-section {
        
        padding: 0;
        text-align: center;
        font-family: Arial, sans-serif;
    }

    .why-choose-header {
        margin-bottom: 40px;
    }

    .why-choose-header h2 {
        font-size: 2.5em;
        color: #003566; /* Primary color */
        margin-bottom: 10px;
    }

    .why-choose-header p {
        font-size: 1.2em;
        color: #555;
        margin: 5px 0;
    }

    /* Full-Width Video */
    .why-choose-video {
        width: 100%;
        height: auto;
        overflow: hidden;
        position: relative;
    }

    .why-choose-video video {
        width: 100%;
        height: 650px; /* Adjust height as needed */
        display: block;

        object-fit: cover; /* Ensures video covers the container */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
        transition: transform 0.3s ease;
    }

    /* Cards Section */
    .why-choose-cards {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end; /* Align cards to the right */
        background-color: #003566; /* Primary background color */
        padding: 20px 20px;
        
        margin-top: 0%;
        
    }

    .why-choose-card {
        background: #fff;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        width: calc(25% - 20px); /* 4 cards per row */
        margin: 10px;
        padding: 20px;
        padding-top: 5px;
        padding-bottom: 5px;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        position: relative;
    }

    .why-choose-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    }

    .card-icon {
        font-size: 2em;
        color: #ffd700; /* Accent color */
        margin-bottom: 10px;
    }

    .card-content h4 {
        font-size: 1.2em;
        color: #003566;
        margin-bottom: 8px;
    }

    .card-content p {
        font-size: 1em;
        color: #555;
    }

    /* Responsive Design */
    @media (max-width: 991px) {
        .why-choose-card {
            width: calc(50% - 20px); /* 2 cards per row */
        }
    }

    @media (max-width: 767px) {
        .why-choose-card {
            width: calc(100% - 20px); /* 1 card per row */
        }
    }

    /* Statistics Section */
    .statistics-section {
        position: relative;
        width: 100%;
        color: #fff;
        overflow: hidden;
    }

    .statistics-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
    }

    .statistics-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 53, 102, 0.6); /* Primary color with opacity */
        z-index: 2;
    }

    .statistics-section .container {
        position: relative;
        z-index: 3; /* Ensure content is above the overlay */
    }

    .statistics-section h2 {
        font-size: 2.5rem;
        line-height: 1.3;
    }

    .statistic-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .stat-icon {
        color: #ffd700; /* Accent color for icons */
    }

    .stat-content h3 {
        font-size: 1.8rem;
        margin-bottom: 5px;
    }

    .stat-content p {
        font-size: 1rem;
        margin: 0;
    }

    /* Responsive Design */
    @media (max-width: 991px) {
        .statistics-section h2 {
            font-size: 2rem;
        }

        .stat-content h3 {
            font-size: 1.5rem;
        }

        .stat-content p {
            font-size: 0.9rem;
        }
    }



    /* Utilise le sélecteur .carousel pour assurer que ton style prend le pas sur Bootstrap */
    .carousel .carousel-control-prev,
    .carousel .carousel-control-next {
        margin-top: -85px;
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        background-color: #003566 !important;
        color: #fff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    opacity: 1 !important;
        transition: background-color 0.3s ease !important;
        border: none !important;
    }

    /* Gap sur grand écran */
    @media (min-width: 992px) {
        .carousel .carousel-control-prev {
            left: -70px !important;
        }

        .carousel .carousel-control-next {
            right: -70px !important;
        }
    }
    @media (max-width: 991px) {
        .carousel .carousel-control-prev {
            left: 0px !important;
            margin-left: 0% !important;
        }

        .carousel .carousel-control-next {
            right: 0px !important;
            margin-right: 0% !important;
        }
    }


    /* Parking Card */
    .parking-card {
        position: relative;
        overflow: hidden;
        border-radius: 10px;
        transition: transform 0.1s ease; /* Only apply transition to the card scaling */
        height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }

    .parking-card:hover {
        transform: scale(1.02); /* Slight zoom effect on hover */
    }

    /* Parking Image */
    .parking-image {
        width: 100%;
        height: 300px !important;
        object-fit: cover; /* Ensures all images have the same height and are cropped proportionally */
        transition: transform 0.3s ease;
    }


    /* Bottom Section (20% Primary Color with Always Visible Title) */
    .card-info-overlay {
        background-color: rgba(0, 53, 102, 0.4); /* Primary color with opacity */
        height: 20%; /* Covers 20% of the card */
        padding: 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        transition: background-color 0.3s ease;
    }

    .parking-card:hover  .card-info-overlay {
        opacity: 0;
    }

    .always-visible-title {
        font-size: 1.5rem;
        font-weight: bold;
        color: #fff; /* White text for the title */
        margin: 0;
    }

    /* Hover Content (Title, Description, and Buttons) */
    .hover-content {
        background-color: rgba(0, 53, 102, 0.6); /* Primary color with opacity */
        opacity: 0; /* Initially hidden */
        visibility: hidden; /* Prevent interaction when hidden */
        transition: opacity 0.3s ease, visibility 0.3s ease; /* Smooth fade-in */
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .hover-content .btn{
        color: #fff;
        border: 2px solid #fff;
        padding: 10px 20px;
        border-radius: 5px;
        font: inherit;
        font-weight: bold;
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .hover-content .hover-title {
        font-size: 2.2rem;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .hover-content p {
        font-size: 0.9rem;
        margin: 5px 0;
    }

    .parking-card:hover .hover-content {
        opacity: 1;
        visibility: visible;
    }

    /* Service Buttons (Always Visible) */
    .service-buttons {
        z-index: 3; /* Ensure buttons are above the overlay */
        opacity: 1; /* Always visible */
        transition: opacity 0.3s ease;
    }

    .service-buttons button {
        font-size: 0.8rem;
        padding: 5px 10px;
        border-radius: 5px;
    }

    /* Responsive Design */

    /* Mobile (width < 576px) */
    @media (max-width: 575px) {
        .parking-card {
            margin-bottom: 20px;
        }

        .service-buttons button {
            font-size: 0.7rem;
            padding: 4px 8px;
        }
    }
    /* End Parking cards */
    /* Hover */
    .carousel .carousel-control-prev:hover,
    .carousel .carousel-control-next:hover {
        background-color: #02204d !important;
        color: #ffc107 !important;
    }

    .card-info .btn.btn-primary {
        width: 100%;
        font-size: 1rem;
        padding: 0.75rem;
        font-weight: bold;
        border-radius: 5px;
    }

    .card-info .btn.btn-outline-primary {
        padding: 0.75rem;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        font-size: 1rem;
        align-items: center;
        justify-content: center;
        display: flex;
        border: 2px solid #003566;
        color: #003566!important;
        background: #fff!important;
        transition: background 0.3s ease, color 0.3s ease;
    }

    .card-info .btn.btn-outline-primary:hover {
        background: #003566!important;
        color: #fff!important;
    }




    /* Testimonials and Form Styles */
    /* Testimonials Section */
    .testimonials-section {
        background-color: #f8f9fa; /* Light background for contrast */
    }

    .testimonial-card {
        max-width: 500px;
        border: 1px solid #e1e8ed;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        position: relative;
        overflow: hidden;
        text-align: center;
        
    }

    .quote-icon {
        font-size: 2rem;
        color: #003566;
    }

    .testimonial-text {
        font-size: 1rem;
        color: #555;
        line-height: 1.5;
    }

    .testimonial-name {
        font-size: 1.2rem;
        color: #003566; /* Primary color */
    }

    .testimonial-stars i {
        font-size: 1rem;
    }

    .client-image {
        width: 60px;
        height: 60px;
        bottom: -10px;
        left: 10px;
        z-index: 2;
    }

    .client-image img {
        position: absolute;
        width: 100%;
        height: 100%;
        margin-left: -80px;
        margin-top: -20px;
        object-fit: cover;
        border-radius: 50%;
        border: 2px solid #fff;
    }



    /* Partenaires Form */
    /* Nos Clients et Partenaires de Confiance Section */
    .clients-partners-section {
        position: relative;
        background-color: #f8f9fa; /* Fallback color */
        overflow: hidden;
    }

    .clients-bg img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        z-index: 1;
        opacity: 1; /* Add transparency to the background image */
    }

    .clients-partners-section .container {
        position: relative;
        z-index: 2; /* Ensure content is above the background image */
    }

    .partner-logo {
        max-width: 100px; /* Limit the size of logos */
        height: "100px"!important; /* Fixed height for uniformity */
        width: "100px"!important;
        background-color: #fff;
        height: auto;
        transition: transform 0.3s ease;
    }

    .partner-logo:hover {
        transform: scale(1.1); /* Slight zoom effect on hover */
    }

    /* Responsive Design */

    /* Mobile (width < 576px) */
    @media (max-width: 575px) {
        .partner-logo {
            max-width: 80px; /* Smaller logos on mobile */
        }
    }

    /* Tablet (576px <= width < 992px) */
    @media (min-width: 576px) and (max-width: 991px) {
        .partner-logo {
            max-width: 90px; /* Adjust logo size for tablets */
        }
    }

    /* Laptop and Larger (width >= 992px) */
    @media (min-width: 992px) {
        .partner-logo {
            max-width: 100px; /* Standard logo size for laptops and larger screens */
        }
    }

    /* Mobile (width < 576px) */
    @media (max-width: 575px) {
        .testimonial-card {
            max-width: 90%; /* Full width for mobile */
            margin: 20px;
        }
        .parking-card {
            max-width: 90%; /* Full width for mobile */
            margin: 20px;
        }
        .why-choose-video video {
        width: 100%;
        height: 450px; /* Adjust height as needed */
        display: block;

        object-fit: cover; /* Ensures video covers the container */
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Optional shadow for depth */
        transition: transform 0.3s ease;
    }
    }

    /* Page Header Section */
    .page-header-section {
        position: relative;
        width: 100%;
        height: 150px; /* Adjust height as needed */
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }

    .page-header-section .background-image {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        z-index: 1;
    }

    .page-header-section .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.4); /* Black with 0.4 opacity */
        z-index: 2;
    }

    .page-header-section .page-title {
        position: relative;
        z-index: 3;
    }

    .page-header-section .page-title h1 {
        font-size: 2.5rem; /* Adjust font size as needed */
        font-weight: bold;
        margin: 0;
        color: #fff; /* White text */
        text-transform: uppercase;
    }


    /* Testimonials Section */
    .testimonials-section {
        padding: 5rem 0;
    }

    .testimonials-slider {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .testimonial-card {
        background: white;
        padding: 2.5rem;
        border-radius: 20px;
        box-shadow: 0 10px 30px rgba(0, 53, 102, 0.1);
        transition: transform 0.3s ease;
    }

    .testimonial-card:hover {
        transform: translateY(-10px);
    }

    .testimonial-rating {
        color: #ffd700;
        margin-bottom: 1.5rem;
        font-size: 1.1rem;
    }

    .testimonial-text {
        font-style: italic;
        color: #495057;
        margin-bottom: 2rem;
        line-height: 1.6;
        font-size: 1.1rem;
    }

    .testimonial-author {
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .author-avatar {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

    .author-name {
        font-weight: 600;
        color: #003566;
        margin-bottom: 0.25rem;
    }

    .author-position {
        color: #6c757d;
        font-size: 0.9rem;
    }

    /* CTA Section */
    .cta-section {
        background: linear-gradient(135deg, #003566 0%, #0077b6 100%);
        color: white;
    }

    .cta-content {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        padding: 3rem;
        border-radius: 25px;
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .cta-title {
        font-size: 2rem;
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .cta-description {
        font-size: 1.1rem;
        opacity: 0.9;
        margin-bottom: 0;
    }

    .cta-actions {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .cta-actions .btn {
        background: rgba(255, 255, 255, 0.9);
        color: #003566;
        border: none;
        padding: 1rem 1.5rem;
        border-radius: 15px;
        font-weight: 600;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.75rem;
    }

    .cta-actions .btn:hover {
        background: white;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    }

    .section-badge {
        display: inline-block;
        background: linear-gradient(45deg, #ffd700, #ff6b35);
        color: #003566;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
        margin-bottom: 1rem;
    }

    .section-title {
        font-size: 2.5rem;
        font-weight: 700;
        color: #003566;
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .section-description {
        font-size: 1.1rem;
        color: #6c757d;
        max-width: 600px;
        margin: 0 auto;
        line-height: 1.6;
    }

    /* Hero Section */
    .hero-section {
        position: relative;
        min-height: auto;
        overflow: hidden;
        display: flex;
        align-items: center;
    }

    .hero-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }

    .hero-background img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 53, 102, 0.7);
        z-index: 2;
    }

    .hero-section .container-fluid {
        position: relative;
        z-index: 3;
        padding: 2rem;
    }

    /* Hero Content */
    .hero-content {
        color: white;
        padding-right: 2rem;
    }

    .hero-title {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1.2rem;
        margin-bottom: 2rem;
        opacity: 0.9;
        line-height: 1.6;
    }

    /* Hero Form Container */
    .hero-form-container {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-radius: 15px;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.3);
        max-width: 350px;
        width: 100%;
        margin-left: 0%;
    }

    .hero-form-container::before {
        content: '';
        position: absolute;
        top: -1px;
        left: 1px;
        right: 1px;
        height: 10px;
        background: linear-gradient(90deg, #0077b6, #00b4d8, #90e0ef);
        border-radius: 15px 15px 0 0;
    }

    /* Form Header */
    .form-header {
        text-align: center;
        margin-bottom: 1rem;
    }

    .form-header h3 {
        font-size: 1.5rem;
        font-weight: 700;
        color: #003566;
    }

    /* Service Toggle Buttons */
    .service-toggle {
        display: flex;
        gap: 0.5rem;
        margin-bottom: 1rem;
        background: #f8f9fa;
        padding: 0.3rem;
        border-radius: 12px;
        border: 1px solid #e9ecef;
    }

    .service-toggle input[type="radio"] {
        display: none;
    }

    .toggle-btn {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 0.8rem 0.5rem;
        border-radius: 10px;
        cursor: pointer;
        transition: all 0.3s ease;
        background: transparent;
        border: none;
        text-align: center;
    }

    .toggle-btn i {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
        color: #6c757d;
        transition: all 0.3s ease;
    }

    .toggle-btn span {
        font-size: 0.8rem;
        font-weight: 600;
        color: #6c757d;
        transition: all 0.3s ease;
    }

    .service-toggle input[type="radio"]:checked + .toggle-btn {
        background: linear-gradient(135deg, #0077b6, #00b4d8);
        transform: translateY(-1px);
        box-shadow: 0 3px 10px rgba(0, 119, 182, 0.3);
    }

    .service-toggle input[type="radio"]:checked + .toggle-btn i,
    .service-toggle input[type="radio"]:checked + .toggle-btn span {
        color: white;
    }

    /* Form Groups */
    .form-group {
        margin-bottom: 1rem;
    }

    .form-group label {
        font-size: 0.9rem;
        font-weight: 600;
        color: #003566;
        margin-bottom: 0.5rem;
        display: block;
    }

    .form-group input,
    .form-group select {
        width: 100%;
        padding: 0.8rem;
        border: 2px solid #e9ecef;
        border-radius: 10px;
        font-size: 0.9rem;
        transition: all 0.3s ease;
        background: #ffffff;
    }

    .form-group input:focus,
    .form-group select:focus {
        outline: none;
        border-color: #0077b6;
        box-shadow: 0 0 0 3px rgba(0, 119, 182, 0.1);
    }

    /* Submit Button */
    .btn-block {
        width: 100%;
        background: linear-gradient(135deg, #0077b6, #00b4d8);
        color: white;
        border: none;
        padding: 0.8rem;
        border-radius: 10px;
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        margin-top: 1rem;
    }

    .btn-block:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0, 119, 182, 0.3);
    }

    .btn-block:disabled {
        opacity: 0.7;
        cursor: not-allowed;
        transform: none;
    }

    /* Responsive Design */
    @media (max-width: 1000px) {
        .hero-form-container {
            width: 350px;
            max-width: 100%;
            margin: 0 auto;
        }
    }
    @media (max-width: 991px) {
        
        .hero-section,
        .hero-section .container-fluid,
        .custom-slider-container {
            margin-top: 0 !important;
            padding: 0 !important;
            height: 500px !important;
            max-height: none !important;
            width: 100vw !important;
            min-width: 0 !important;
            box-sizing: border-box;
        }

        .hero-section {
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            align-items: center;
            
        }

        .hero-form-container {
            width: 96vw !important;
            max-width: 340px !important;
            height: auto !important;
            margin: 1.2rem auto 0 auto !important;
            margin-top: -25px !important;
            padding: 1rem !important;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        }

        .custom-slider {
            width: 100vw !important;
            max-width: 100vw !important;
            height: 160px !important;
            position: static !important;
            margin: 0 auto !important;
        }

        .slider-item {
            width: 100vw !important;
            height: 100% !important;
            object-fit: cover !important;
            position: absolute;
            left: 0;
            top: 0;
        }

        .slider-caption h5 {
            font-size: 1.1em !important;
        }
        .slider-caption p {
            font-size: 0.9em !important;
            display: none !important; /* Hide caption paragraph on very small screens */
        }
        .slider-cta-button {
            padding: 8px 15px !important;
            font-size: 0.85em !important;
            margin-bottom: 5px !important;
        }
        .hero-form-container {
            width: 350px;
            max-width: 100%;
            margin-top: -63%!important;
        }
    }

    @media (max-width: 768px) {
        .hero-section,
        .hero-section .container-fluid,
        .custom-slider-container {
            margin-top: 0 !important;
            padding: 0 !important;
            height: 500px !important;
            max-height: none !important;
            width: 100vw !important;
            min-width: 0 !important;
            box-sizing: border-box;
        }

        .hero-section {
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            align-items: center;
            
        }

        .hero-form-container {
            width: 96vw !important;
            max-width: 340px !important;
            height: auto !important;
            margin: 1.2rem auto 0 auto !important;
            margin-top: -25px !important;
            padding: 1rem !important;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        }

        .custom-slider {
            width: 100vw !important;
            max-width: 100vw !important;
            height: 160px !important;
            position: static !important;
            margin: 0 auto !important;
        }

        .slider-item {
            width: 100vw !important;
            height: 100% !important;
            object-fit: cover !important;
            position: absolute;
            left: 0;
            top: 0;
        }

        .slider-caption h5 {
            font-size: 1.1em !important;
        }
        .slider-caption p {
            font-size: 0.9em !important;
            display: none !important; /* Hide caption paragraph on very small screens */
        }
        .slider-cta-button {
            padding: 8px 15px !important;
            font-size: 0.85em !important;
            margin-bottom: 5px !important;
        }
        
    }

    @media (max-width: 575px) {
        .hero-section,
        .hero-section .container-fluid,
        .custom-slider-container {
            margin-top: 0 !important;
            padding: 0 !important;
            height: 550px !important;
            max-height: none !important;
            width: 100vw !important;
            min-width: 0 !important;
            box-sizing: border-box;
        }

        .hero-section {
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            align-items: center;
            
        }

        .hero-form-container {
            width: 96vw !important;
            max-width: 340px !important;
            height: auto !important;
            margin: 1.2rem auto 0 auto !important;
            margin-top: -25px !important;
            padding: 1rem !important;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
        }

        .custom-slider {
            width: 100vw !important;
            max-width: 100vw !important;
            height: 160px !important;
            position: static !important;
            margin: 0 auto !important;
        }

        .slider-item {
            width: 100vw !important;
            height: 100% !important;
            object-fit: cover !important;
            position: absolute;
            left: 0;
            top: 0;
        }

        .slider-caption h5 {
            font-size: 1.1em !important;
        }
        .slider-caption p {
            font-size: 0.9em !important;
            display: none !important; /* Hide caption paragraph on very small screens */
        }
        .slider-cta-button {
            padding: 8px 15px !important;
            font-size: 0.85em !important;
            margin-bottom: 5px !important;
        }
    }
    @media (max-width: 480px) {
        .hero-section,
        .hero-section .container-fluid,
        .custom-slider-container {
            margin-top: 0 !important;
            padding: 0 !important;
            height: 600px !important;
            max-height: none !important;
            width: 100vw !important;
            min-width: 0 !important;
            box-sizing: border-box;
            margin-bottom: 0 !important;
        }
        .hero-form-container {
            width: 96vw !important;
            max-width: 340px !important;
            height: auto !important;
            margin: 1.2rem auto 0 auto !important;
            padding: 1rem !important;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            margin-bottom: 0 !important;
        }

        .hero-section {
            background: #f8f9fa;
            display: flex;
            flex-direction: column;
            align-items: center;
            
            margin-bottom: 0 !important;
        }

        .hero-form-container {
            width: 96vw !important;
            max-width: 340px !important;
            margin: 1.2rem auto 0 auto !important;
            padding: 1rem !important;
            background: #fff;
            border-radius: 16px;
            box-shadow: 0 4px 16px rgba(0,0,0,0.08);
            margin-bottom: 0 !important;
        }

        .custom-slider {
            width: 100vw !important;
            max-width: 100vw !important;
            height: 160px !important;
            position: static !important;
            margin: 0 auto !important;
            margin-bottom: 0 !important;
        }

        .slider-item {
            width: 100vw !important;
            height: 100% !important;
            object-fit: cover !important;
            position: absolute;
            left: 0;
            top: 0;
            margin-bottom: 0 !important;
        }

        .slider-caption h5 {
            font-size: 1.1em !important;
            margin-bottom: 0 !important;
        }
        .slider-caption p {
            font-size: 0.9em !important;
            display: none !important; /* Hide caption paragraph on very small screens */
            margin-bottom: 0 !important;
        }
        .slider-cta-button {
            padding: 8px 15px !important;
            font-size: 0.85em !important;
            margin-bottom: 0 !important;
        }

        
        .features-section {
            height: auto !important;
            border-radius: 0px;
            margin: auto auto 0 auto !important;
        }
        .why-choose-cards {
            margin: auto !important;
            padding: 1.5rem 0 !important;
            border-radius: 0px !important;
        }
    }


    /* Utilise le sélecteur .carousel pour assurer que ton style prend le pas sur Bootstrap */
.carousel .carousel-control-prev,
.carousel .carousel-control-next {
    
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    background-color: #003566 !important;
    color: #fff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
   opacity: 1 !important;
    transition: background-color 0.3s ease !important;
    border: none !important;
}

/* Gap sur grand écran */
@media (min-width: 992px) {
    .carousel .carousel-control-prev {
        left: -70px !important;
    }

    .carousel .carousel-control-next {
        right: -70px !important;
    }
}


.carousel .carousel-control-prev:hover,
.carousel .carousel-control-next:hover {
    background-color: #02204d !important;
    color: #ffc107 !important;
}

.carousel-control-prev-ccp{
    margin-top: -80px;
    margin-right: 300px;
}
.carousel-control-next-ccp{
    margin-top: -80px;
    margin-left: 300px;
}

.carousel-control-prev{
    margin-top: -80px;
    margin-left: 90%!important;
}
.carousel-control-next{
    margin-top: -80px;
    margin-right: 10%!important;
}

.carousel-control-prev{
    margin-left: 20% !important;
    z-index: 1 !important;
}
.carousel-control-prev{
    margin-left: 8% !important;
    z-index: 1 !important;
}
.carousel-control-next{
    margin-right: 92% !important;
    z-index: 1 !important;
}