html {
    scroll-behavior: smooth;
}

#request-form {
    scroll-margin-top: 180px;
}

:root {
    --primary-color: #EF7F35;
    --dark-bg: #3e444a;
    --text-white: #ffffff;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

body {
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

#main-header {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Top Bar Styles */
.top-bar {
    background-color: rgba(62, 68, 74, 0.85);
    /* Semi-transparent */
    color: var(--text-white);
    padding: 10px 0;
    font-size: 13px;
    position: relative;
    z-index: 110;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.social-link {
    color: var(--text-white);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.85;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--primary-color);
    opacity: 1;
    transform: translateY(-2px);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.personal-space {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 700;
}

.personal-space:hover {
    color: var(--primary-color);
}

/* Navbar Styles */
.navbar {
    background-color: rgba(255, 255, 255, 0.98);
    padding: 12px 0;
    position: relative;
    z-index: 100;
    width: 92%;
    align-self: center;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    margin-top: 15px;
    transition: all 0.3s ease;
}

.navbar.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    margin-top: 0;
    border-radius: 0;
    background-color: #fff;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    animation: navbarSlideDown 0.4s ease forwards;
}

@keyframes navbarSlideDown {
    from {
        transform: translateY(-100%);
    }

    to {
        transform: translateY(0);
    }
}

.nav-link {
    font-size: 15px;
    padding: 0.5rem 0 !important;
    position: relative;
    transition: var(--transition);
    color: #333 !important;
}

.nav-toggle {
    display: none;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.dropdown-item {
    padding: 10px 25px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.dropdown-item i {
    font-size: 16px;
    color: var(--primary-color);
}

.dropdown-item:hover {
    background-color: #fffaf0;
    color: var(--primary-color);
    padding-left: 30px;
}

#our-story-content {
    scroll-margin-top: 150px;
}

.dropdown-item:active,
.dropdown-item:focus {
    background-color: transparent !important;
    color: inherit !important;
}

.dropdown-hover:hover .dropdown-menu {
    display: block;
    margin-top: 0 !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Fix for the hover gap */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.dropdown-menu {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    border-radius: 8px;
    padding: 15px 0;
    margin-top: 15px !important;
    border: none !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
    z-index: 2000 !important;
}

/* Slider Styles */
#slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Slider Navigation Arrows */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.4);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 30px;
}

.slider-nav.next {
    right: 30px;
}

.slider-nav i {
    pointer-events: none;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    z-index: 1;
    transition: opacity 1.5s ease-in-out;
}

.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 3;
    pointer-events: none;
}

/* Why Choose Us Section Styling */
.why_choose_section {
    min-height: 100vh;
    display: flex;
    overflow: hidden;
}

.why-slider {
    min-height: 100vh;
}

.why_info_content {
    height: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    padding: 100px 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.why_info_content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.info_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 40px;
    /* Increased vertical gap */
}

.info_item {
    display: flex;
    gap: 25px;
    align-items: flex-start;
    transition: all 0.4s ease;
    cursor: pointer;
    perspective: 1000px;
}

.info_item:hover {
    transform: translateX(10px);
}

.info_icon {
    width: 65px;
    height: 65px;
    min-width: 65px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1;
}

.info_icon::before,
.info_icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%) scale(1);
    z-index: -1;
    transition: all 0.5s ease;
}

.info_item:hover .info_icon {
    transform: scale(1.1) rotateY(360deg);
    background-color: var(--primary-color);
    color: #fff;
}

.info_item:hover .info_icon::before {
    transform: translate(-50%, -50%) scale(1.4);
    opacity: 0;
}

.info_item:hover .info_icon::after {
    transform: translate(-50%, -50%) scale(1.8);
    opacity: 0;
    transition-delay: 0.1s;
}

.info_icon i {
    transition: all 0.3s ease;
}

.info_item:hover .info_icon i {
    animation: pulseIcon 1.5s infinite;
}

@keyframes pulseIcon {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
        text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    }

    100% {
        transform: scale(1);
    }
}

.info_text h4 {
    color: #fff;
    font-weight: 700;
    font-size: 19px;
    margin-bottom: 10px;
}

.info_text p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 14.5px;
    line-height: 1.6;
    margin: 0;
}

.slider-dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.slider-dots-container .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dots-container .dot.active {
    background: #fff;
    width: 30px;
    border-radius: 10px;
}

.hero-text {
    position: relative;
    z-index: 10;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-light:hover {
    background-color: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-3px);
}

.btn-plain:hover {
    color: var(--primary-color) !important;
}

.btn-plain::after {
    background-color: var(--primary-color) !important;
}

/* Assurance Section Styling */
.assurance_section {
    min-height: 120vh;
    /* Increased to allow space for 90vh cards */
    padding: 120px 0;
    background-color: #fcfcfc;
    display: flex;
    align-items: center;
}

.assurance_card {
    position: relative;
    height: 90vh;
    min-height: 800px;
    overflow: hidden;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.04);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    padding: 0;
}

.assurance_card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.08);
}

.card_bg {
    height: 60%;
    width: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s ease;
}

.assurance_card:hover .card_bg {
    transform: scale(1.1);
}

.assurance_content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45%;
    /* Slightly less overlap for a taller look */
    background: #fff;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 30px 40px;
    /* More bottom padding for airiness */
}

.umbrella_wrapper {
    position: absolute;
    top: -100px;
    left: 0;
    width: 100%;
    height: 140px;
    pointer-events: none;
    z-index: 10;
}

.umbrella_img {
    position: absolute;
    width: 90%;
    /* Strictement 60% du parent */
    left: 50%;
    top: 50%;
    transform: translate(-50%, -20%);
    z-index: 1;
    opacity: 1;
}

.icon_img {
    position: absolute;
    z-index: 3;
    width: 15%;
    /* Proportionnel à l'image */
    left: 50%;
    top: 45%;
    transform: translate(-50%, -20%);
    filter: brightness(0) invert(1);
}

.umbrella_handle {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100px;
    background: rgba(0, 0, 0, 0.08);
    z-index: 0;
}

.text_content {
    margin-top: 60px;
    /* Plus d'espace pour le titre */
    position: relative;
    z-index: 5;
}

.text_content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.text_content p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
    max-width: 320px;
}

.souscrire_btn {
    text-decoration: none;
    color: #333;
    font-weight: 700;
    font-size: 16px;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    padding-bottom: 5px;
}

.souscrire_btn:hover {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .assurance_section {
        height: auto;
        padding: 50px 0;
    }

    .assurance_card {
        height: 650px;
        margin-bottom: 20px;
    }

    .navbar {
        width: 100%;
        margin-top: 0;
        border-radius: 0;
    }

    .hero-text {
        text-align: center;
        margin: 0 auto;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-text .d-flex {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .top-bar-right {
        gap: 20px;
    }

    .umbrella_wrapper {
        width: 100%;
        top: -85px;
    }
}

/* About Us Section Styling */
.about_us_section {
    padding: 120px 0;
    background-color: #fff;
}

.section_subtitle {
    color: var(--primary-color);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.section_subtitle::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 2px;
    background-color: var(--primary-color);
}

.about_image_wrapper {
    position: relative;
    padding-right: 80px;
    padding-bottom: 80px;
}

.img_main {
    width: 90%;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.img_secondary {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 55%;
    border-radius: 10px;
    border: 8px solid #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.experience_badge {
    position: absolute;
    top: 30px;
    left: -20px;
    background-color: var(--primary-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 10px 20px rgba(239, 127, 53, 0.3);
    animation: floating 3s ease-in-out infinite;
    z-index: 5;
}

.experience_badge .text {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 2px;
}

.experience_badge .number {
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
}

@keyframes floating {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

/* Quality Cards Animation & Style */
.quality_card {
    background: #fff;
    padding: 50px 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
}

.quality_card:hover {
    transform: translateY(-15px);
    background-color: #fff;
    border-color: transparent;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
}

.icon_box {
    width: 80px;
    height: 80px;
    background-color: #fffaf5;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    border-radius: 50%;
    margin: 0 auto 30px;
    transition: all 0.5s ease;
}

.quality_card:hover .icon_box {
    background-color: var(--primary-color);
    color: #fff;
    transform: rotateY(360deg);
}

.quality_card h3 {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 1px;
    color: #333;
}

.quality_card p {
    font-size: 14px;
    color: #777;
    line-height: 1.6;
    margin-bottom: 0;
}

/* More Responsive adjustments */
@media (max-width: 992px) {
    .about_image_wrapper {
        padding-right: 30px;
        padding-bottom: 30px;
        margin-bottom: 40px;
    }

    .img_secondary {
        width: 50%;
    }

    .experience_badge {
        left: 10px;
        top: 20px;
    }
}

/* Partners & Testimonials Section */
.partner_testimonial_section {
    padding: 100px 0;
    background-color: #fdfdfd;
    overflow: hidden;
}

.partners_wrapper {
    position: relative;
    z-index: 1;
}

.partner_track {
    display: flex;
    width: calc(300px * 12);
    animation: scroll 30s linear infinite;
    align-items: center;
}

.partner_slide {
    width: 300px;
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 50px;
}

.partner_slide img {
    max-height: 80px;
    width: auto;
    display: block;
    margin: 0 auto;
    filter: grayscale(1);
    opacity: 0.6;
    transition: all 0.4s ease;
}

.partner_slide:hover img {
    filter: grayscale(0) opacity(1);
    transform: scale(1.1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-300px * 3));
    }
}

.testimonial_carousel {
    max-width: 900px;
    margin: 50px auto 0;
    position: relative;
}

.testi_card {
    background: #fff;
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.04);
    text-align: center;
    display: none;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}

.testi_card.active {
    display: block;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.quote_icon {
    font-size: 50px;
    color: var(--primary-color);
    margin-bottom: 30px;
    opacity: 0.15;
}

.testi_text {
    font-size: 20px;
    font-weight: 500;
    color: #444;
    line-height: 1.8;
    margin-bottom: 40px;
    font-style: italic;
}

.testi_author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.testi_author img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 4px solid #fff;
}

.author_info {
    text-align: left;
}

.author_info h6 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #222;
}

.author_info span {
    font-size: 15px;
    color: var(--primary-color);
    font-weight: 600;
}

.stars {
    color: #ffc107;
    margin-top: 15px;
    letter-spacing: 3px;
    font-size: 14px;
}

.carousel_nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 60px;
}

.nav_btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 1px solid #eee;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav_btn:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(239, 127, 53, 0.2);
}

.nav_dots {
    display: flex;
    gap: 12px;
}

.nav_dots .dot {
    width: 12px;
    height: 12px;
    background: #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav_dots .dot.active {
    background: var(--primary-color);
    width: 35px;
    border-radius: 10px;
}

.section_subtitle {
    text-transform: uppercase;
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: 4px;
    font-size: 12px;
    display: block;
    margin-bottom: 15px;
}

/* Footer Section Styling */
.footer {
    background-color: #111;
    background-image: url('img/degrader2.jpg');
    /* Using existing gradient image for texture */
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 80px 0 30px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    /* Dark overlay for readability */
    z-index: 1;
}

.container-footer {
    position: relative;
    z-index: 2;
}

/* Newsletter Strip */
.newsletter_strip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 50px;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.newsletter_text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.newsletter_text p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
}

.newsletter_form {
    width: 45%;
    position: relative;
    display: flex;
    gap: 10px;
}

.newsletter_form input {
    flex: 1;
    padding: 18px 25px;
    border-radius: 8px;
    border: none;
    background: #fff;
    font-size: 15px;
    outline: none;
}

.newsletter_btn {
    background: var(--primary-color);
    border: none;
    padding: 18px 30px;
    border-radius: 8px;
    color: white;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter_btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer Main Content */
.footer_main {
    margin-bottom: 60px;
}

.footer_desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.5px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.footer_socials {
    display: flex;
    gap: 15px;
}

.footer_socials a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer_socials a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
    text-decoration: none;
}

.footer_title {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 35px;
    position: relative;
    color: #fff;
}

.footer_links_grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.footer_links_grid ul {
    padding: 0;
    list-style: none;
    margin: 0;
}

.footer_links_grid ul li {
    margin-bottom: 12px;
}

.footer_links_grid ul li a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 14.5px;
    transition: all 0.3s ease;
}

.footer_links_grid ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer_contact_info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14.5px;
    margin-bottom: 15px;
}

.footer_contact_info p span {
    font-weight: 700;
    color: #fff;
    margin-right: 5px;
}

.view_map_btn {
    display: inline-block;
    color: #4facfe;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-top: 10px;
}

.view_map_btn:hover {
    text-decoration: underline;
}

/* Footer Bottom */
.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy_text p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin: 0;
}

.copy_text a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.footer_bottom_links {
    display: flex;
    gap: 25px;
}

.footer_bottom_links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer_bottom_links a:hover {
    color: #fff;
}

.footer_map_wrapper {
    margin-top: 25px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.footer_map_wrapper:hover {
    border-color: var(--primary-color);
}

.footer_map_wrapper iframe {
    display: block;
    filter: grayscale(0.2) invert(0.9) hue-rotate(180deg) brightness(0.9);
    /* Chic dark map effect */
}

/* Contact Info Section (Modern & Unique) */
.contact_info_section {
    height: 80vh;
    min-height: 650px;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Subtle parallax */
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.slider-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(239, 127, 53, 0.4));
    z-index: 1;
}

.info_card_white {
    background: rgba(255, 255, 255, 0.98);
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 5;
    transition: all 0.5s ease;
}

.info_card_white:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

/* Connector System */
.contact_connector_wrap {
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.connector_line {
    position: absolute;
    width: 2px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, var(--primary-color), transparent);
    animation: flowLine 3s infinite;
}

@keyframes flowLine {
    0% {
        background-position: 0% 0%;
    }

    100% {
        background-position: 0% 200%;
    }
}

.connector_badge {
    position: relative;
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-style: italic;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    z-index: 10;
    transform: rotate(5deg);
    border: 2px solid var(--primary-color);
}

/* Method Items */
.contact_method_item {
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.contact_method_item:hover {
    transform: translateX(20px);
}

.method_icon {
    width: 75px;
    height: 75px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
}

.contact_method_item:hover .method_icon {
    background: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(239, 127, 53, 0.5);
    transform: rotate(15deg);
}

.method_text h4 {
    font-size: 22px;
    font-weight: 700;
}

/* New Animations */
.animate-left {
    animation: slideFromLeft 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.animate-right {
    animation: slideFromRight 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes slideFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Send Request Section */
.send_request_section {
    background-color: #fbfbfb;
    overflow: hidden;
}

.title_line {
    width: 60px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 15px;
}

.contact_form_wrapper {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.03);
}

.form_control_custom {
    width: 100%;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 12px;
    font-size: 15px;
    color: #333;
    transition: all 0.3s ease;
    outline: none;
}

.form_control_custom:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(239, 127, 53, 0.05);
}

.submit_btn_gradient {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, var(--primary-color), #ff9a5a);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(239, 127, 53, 0.3);
}

.submit_btn_gradient:hover {

    box-shadow: 0 15px 40px rgba(239, 127, 53, 0.4);
}

/* Circular Insurance Animation */
.insurance_anim_container {
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.circle_main {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle_outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 2px dashed rgba(239, 127, 53, 0.2);
    border-radius: 50%;
    animation: rotateCounter 20s linear infinite;
}

.circle_middle {
    position: absolute;
    width: 75%;
    height: 75%;
    border: 1px solid rgba(239, 127, 53, 0.1);
    border-radius: 50%;
    animation: rotateClockwise 15s linear infinite;
}

.circle_inner {
    width: 100px;
    height: 100px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 40px;
    box-shadow: 0 0 50px rgba(239, 127, 53, 0.4);
    z-index: 5;
    animation: pulseInner 3s ease-in-out infinite;
}

.floating_icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.f_icon_1 {
    animation: orbit1 12s linear infinite;
}

.f_icon_2 {
    animation: orbit2 15s linear infinite;
}

.f_icon_3 {
    animation: orbit3 18s linear infinite;
}

.f_icon_4 {
    animation: orbit4 20s linear infinite;
}

@keyframes rotateClockwise {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rotateCounter {
    from {
        transform: rotate(360deg);
    }

    to {
        transform: rotate(0deg);
    }
}

@keyframes pulseInner {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 50px rgba(239, 127, 53, 0.4);
    }

    50% {
        transform: scale(1.1);
        box-shadow: 0 0 80px rgba(239, 127, 53, 0.6);
    }
}

@keyframes orbit1 {
    from {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }

    to {
        transform: rotate(360deg) translateX(150px) rotate(-360deg);
    }
}

@keyframes orbit2 {
    from {
        transform: rotate(90deg) translateX(120px) rotate(-90deg);
    }

    to {
        transform: rotate(450deg) translateX(120px) rotate(-450deg);
    }
}

@keyframes orbit3 {
    from {
        transform: rotate(180deg) translateX(150px) rotate(-180deg);
    }

    to {
        transform: rotate(540deg) translateX(150px) rotate(-540deg);
    }
}

@keyframes orbit4 {
    from {
        transform: rotate(270deg) translateX(130px) rotate(-270deg);
    }

    to {
        transform: rotate(630deg) translateX(130px) rotate(-630deg);
    }
}

/* --- Journey Page Sections --- */
.herobar {
    height: 480px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.herobar::before {
    display: none !important;
}

/* On s'assure qu'aucun autre élément ne génère de bleu */
.herobar::after {
    display: none !important;
}

.herobar_content {
    position: relative;
    z-index: 5 !important;
    text-align: center;
    width: 100%;
}

.herobar_content p {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
}

.herobar h1 {
    font-size: 80px;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    letter-spacing: -2px;
}

.our_story {
    padding: 100px 0;
    background-color: #ffffff;
}

.story_text h2 {
    font-size: 38px;
    font-weight: 800;
    color: #3e444a;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.story_text p {
    font-size: 17px;
    line-height: 1.9;
    color: #444;
    margin-bottom: 25px;
    text-align: justify;
}

.story_text strong {
    color: #333;
    font-weight: 700;
}

/* --- Reusable Carousel Styles (Now Global) --- */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 50px;
}

.members-viewport {
    overflow: hidden;
    margin: 0 -10px;
    padding: 10px;
}

.members-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 10px 0;
    width: 100%;
}

.members-grid.is-carousel {
    justify-content: flex-start !important;
    width: max-content !important;
    flex-wrap: nowrap !important;
    margin: 0;
}

.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    transition: var(--transition);
    color: #333;
    font-size: 20px;
}

.nav-arrow:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.nav-arrow.left {
    left: 0;
}

.nav-arrow.right {
    right: 0;
}

.our_founders {
    margin-top: 50px;
    padding-top: 30px;
}

.founder_item {
    text-align: center;
    flex: 0 0 270px;
    width: 270px;
    transition: var(--transition);
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.founder_img {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.founder_item:hover .founder_img {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.founder_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.founder_info strong {
    display: block;
    font-size: 18px;
    color: #333;
    margin-bottom: 5px;
    font-weight: 800;
}

.founder_info p {
    font-size: 15px;
    color: #8c7365;
    margin: 0;
    font-weight: 500;
}

.video_container {
    padding-left: 30px;
}

.video_wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
}

.video_wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

@media (max-width: 991px) {
    .herobar {
        height: 350px;
    }

    .herobar h1 {
        font-size: 50px;
    }

    .herobar::after {
        display: none;
    }

    .video_container {
        padding-left: 0;
        margin-top: 50px;
    }

    .story_text h2 {
        font-size: 30px;
        text-align: center;
    }
}

/* Mission & DNA Cards */
.our_mission_dna {
    background-color: #fff;
    padding: 60px 0;
}

.mission_card,
.dna_card {
    border: 1px solid #e8e8e8;
    padding: 40px 50px;
    /* Moins de padding vertical pour l'aspect rectangulaire */
    border-radius: 4px;
    height: auto;
    /* Permet d'éviter l'aspect carré forcé */
    background: #ffffff;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
}

.mission_card h1,
.dna_card h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 1.5px;
    font-family: 'Outfit', sans-serif;
}

.mission_card ul,
.dna_card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission_card li,
.dna_card li {
    font-size: 15px;
    /* Texte un peu plus petit pour allonger la boîte */
    line-height: 1.7;
    color: #555;
    margin-bottom: 18px;
    position: relative;
    padding-left: 20px;
}

.mission_card li::before,
.dna_card li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #b05b3b;
    font-weight: bold;
}

.mission_card li strong,
.dna_card li strong {
    color: #333;
    font-weight: 700;
}

/* Values Banner (DVD Bounce Style) */
.values_banner {
    background-color: #ef7f35;
    background-image: radial-gradient(#ffffff22 2px, transparent 2px);
    background-size: 30px 30px;
    height: 120px;
    /* Hauteur fixe et fine pour le bandeau */
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.bounce_container {
    width: 100%;
    height: 100%;
    position: relative;
}

.bounce_box {
    position: absolute;
    width: fit-content;
    height: fit-content;
    /* Mouvement Horizontal */
    animation: moveX 8s linear infinite alternate;
}

.bounce_box h1 {
    color: #fff;
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 1px;
    margin: 0;
    white-space: nowrap;
    /* Mouvement Vertical */
    animation: moveY 3.3s linear infinite alternate;
    position: relative;
}

@keyframes moveX {
    from {
        left: 0;
        transform: translateX(0);
    }

    to {
        left: 100%;
        transform: translateX(-100%);
    }
}

@keyframes moveY {
    from {
        top: 0;
        transform: translateY(0);
    }

    to {
        top: 120px;
        transform: translateY(-100%);
    }

    /* 120px doit correspondre à la hauteur du parent */
}

@media (max-width: 768px) {
    .values_banner {
        height: 80px;
    }

    .bounce_box h1 {
        font-size: 15px;
    }

    @keyframes moveY {
        from {
            top: 0;
            transform: translateY(0);
        }

        to {
            top: 80px;
            transform: translateY(-100%);
        }
    }
}

@media (max-width: 991px) {

    .mission_card,
    .dna_card {
        padding: 40px 20px;
    }

    .mission_card h1,
    .dna_card h1 {
        font-size: 26px;
    }
}

/* Contact Page Hero */
.contact_hero {
    height: 60vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.custom_breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.custom_breadcrumb .breadcrumb-item {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    font-weight: 500;
}

.custom_breadcrumb .breadcrumb-item+.breadcrumb-item::before {
    content: "•";
    color: var(--primary-color);
    padding: 0 15px;
}

.custom_breadcrumb .breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.custom_breadcrumb .breadcrumb-item a:hover {
    color: var(--primary-color);
}

.custom_breadcrumb .breadcrumb-item.active {
    color: var(--primary-color);
}

/* Override main-header for non-home pages */
.header_page {
    height: auto !important;
    min-height: 550px !important;
    overflow: visible !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative;
    display: flex;
    flex-direction: column;
}

.header_page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2));
    z-index: 1 !important;
    pointer-events: none;
}

.animate-up {
    animation: fadeInUp 1s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Footer */
@media (max-width: 991px) {
    .newsletter_strip {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }

    .newsletter_form {
        width: 100%;
    }
}

@media (max-width: 767px) {
    .footer_bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer_links_grid {
        grid-template-columns: 1fr;
    }
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

@media (max-width: 991px) {
    .nav-toggle {
        display: block;
    }

    .navbar .nav {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        gap: 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
        z-index: 1000;
    }

    .navbar .nav.mobile-active {
        display: flex !important;
    }

    .navbar .nav-item {
        width: 100%;
    }

    .navbar .nav-link {
        width: 100%;
        padding: 15px 20px !important;
        border-bottom: 1px solid #f8f9fa;
    }

    .navbar .dropdown-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none !important;
        padding-left: 20px;
        background: #fdfdfd;
        width: 100%;
    }

    .navbar .dropdown-hover:hover .dropdown-menu {
        display: block;
    }
}

/* --- COMPREHENSIVE RESPONSIVE FIXES --- */

@media (max-width: 991px) {

    /* Main Header & Hero Slider */
    #main-header {
        height: auto;
        min-height: 100vh;
    }

    #slider {
        height: 100%;
        min-height: 100vh;
    }

    .hero-text {
        text-align: center;
        padding-top: 120px;
        padding-bottom: 60px;
    }

    .hero-text h1 {
        font-size: 2.5rem !important;
        margin-bottom: 20px !important;
    }

    .hero-text p {
        font-size: 1rem !important;
        max-width: 100% !important;
        margin-bottom: 30px !important;
    }

    .hero-text .d-flex {
        flex-direction: column;
        gap: 15px !important;
        width: 100%;
    }

    .hero-text .btn {
        width: 100%;
    }

    .slider-overlay {
        background: rgba(0, 0, 0, 0.4) !important;
        /* Uniform overlay for mobile */
    }

    /* Assurance Section & Cards */
    .assurance_section {
        padding: 60px 0;
    }

    .assurance_card {
        height: auto;
        min-height: 550px;
        margin-bottom: 40px;
    }

    .card_bg {
        height: 350px;
    }

    .assurance_content {
        position: relative;
        height: auto;
        padding: 60px 20px 40px;
        margin-top: -60px;
        background: #fff;
        border-radius: 40px 40px 0 0;
        z-index: 5;
    }

    .umbrella_wrapper {
        top: -65px;
        /* Position proportionnelle tablette */
        height: 100px;
        z-index: 10;
    }

    .umbrella_img {
        display: none;
    }

    .icon_img {
        display: none;

    }

    .umbrella_handle {
        height: 50px;
        bottom: -20px;
    }

    .text_content {
        margin-top: 40px;
    }

    /* Why Choose Us Section */
    .why_choose_section {
        flex-direction: column;
        min-height: auto;
    }

    .why-slider {
        height: 400px;
        min-height: 400px;
    }

    .why_info_content {
        padding: 60px 30px;
        min-height: auto;
    }

    .info_grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .info_item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }

    .info_icon {
        width: 60px;
        height: 60px;
        min-width: 60px;
    }

    .quality_card {
        margin-bottom: 30px;
    }

    /* About Us Bio Section */
    .about_image_wrapper {
        height: 400px;
        margin-bottom: 40px;
    }

    .img_main {
        width: 90%;
        height: 90%;
    }

    .img_secondary {
        width: 200px;
        height: 150px;
        bottom: 0;
        right: 0;
    }
}

@media (max-width: 991px) {

    /* Contact Info Section Responsive */
    .contact_info_section {
        height: auto;
        min-height: auto;
        padding: 80px 0;
        background-attachment: scroll;
    }

    .slider-overlay-gradient {
        background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(239, 127, 53, 0.6));
    }

    .info_card_white {
        padding: 40px 25px;
        margin-bottom: 30px;
        text-align: center;
    }

    .contact_connector_wrap {
        display: none;
        /* Hide connector on mobile for cleaner look */
    }

    .contact_methods_wrap {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .contact_method_item {
        flex-direction: column;
        text-align: center;
        width: 100%;
        gap: 15px;
    }

    .method_icon {
        margin: 0 auto;
    }

    .insurance_anim_container {
        height: 400px;
        margin: 50px auto 0;
        width: 100%;
    }

    .circle_main {
        margin: 0 auto;
        width: 250px;
        height: 250px;
    }

    .circle_inner {
        width: 80px;
        height: 80px;
    }

    .circle_inner i {
        font-size: 30px;
    }

    .f_icon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .hero-text h1 {
        font-size: 2rem !important;
    }

    .top-bar-right {
        gap: 10px;
    }

    .top-bar-right .info-item .label {
        display: none;
        /* Hide labels on very small screens to save space */
    }

    .top-bar-right .info-item i {
        font-size: 16px;
    }

    .assurance_card {
        min-height: 520px;
    }

    .umbrella_wrapper {
        top: -45px;
        /* Position proportionnelle mobile S */
    }

    .umbrella_img {
        width: 60%;
    }

    .icon_img {
        transform: translateY(3px);
    }

    .assurance_card {
        min-height: 480px;
    }

    .card_bg {
        height: 250px;
    }

    .contact_info_section h2 {
        font-size: 1.8rem !important;
    }

    .info_card_white h3 {
        font-size: 1.5rem;
    }
}

/* Specific Fix for Mobile S (320px) */
@media (max-width: 360px) {

    .container,
    .container-fluid {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .hero-text h1 {
        font-size: 1.8rem !important;
    }

    .submit_btn_gradient {
        padding: 15px;
        font-size: 14px;
    }

    .info_card_white {
        padding: 30px 15px;
    }
}

/* --- ADDITIONAL MOBILE CAROUSEL FIXES --- */

@media (max-width: 991px) {
    .partner_track {
        height: 120px;
    }

    .partner_slide {
        width: 200px;
        min-width: 200px;
    }

    .partner_slide img {
        max-height: 60px;
    }

    .testi_card {
        padding: 30px 20px;
        min-height: auto;
    }

    .quote_icon {
        font-size: 30px;
        top: 20px;
        right: 20px;
    }

    .testi_text {
        font-size: 15px;
        margin-bottom: 25px;
    }

    .carousel_nav {
        margin-top: 40px;
    }

    .footer_main {
        padding: 40px 0;
    }

    .footer_title {
        margin-bottom: 25px;
    }
}

/* --- Responsive Fixes for Herobar and Header Page --- */
@media (max-width: 991px) {
    .header_page {
        min-height: 400px !important;
    }

    .herobar {
        height: 350px !important;
    }

    .herobar h1 {
        font-size: 50px !important;
        transform: translateY(-20px) !important;
    }

    .herobar_content p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .header_page {
        min-height: 320px !important;
    }

    .herobar {
        height: 280px !important;
    }

    .herobar h1 {
        font-size: 38px !important;
        transform: translateY(-10px) !important;
    }

    .navbar {
        width: 100% !important;
        margin-top: 0 !important;
        border-radius: 0 !important;
        padding: 10px 15px !important;
    }

    .nav-toggle {
        display: block !important;
        background: none;
        border: none;
        font-size: 24px;
        cursor: pointer;
        padding: 5px;
        color: #333;
    }

    /* Mobile Menu Styles */
    .navbar .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px !important;
        transition: 0.4s ease;
        z-index: 2000;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        padding: 80px 30px;
    }

    .navbar .nav.mobile-active {
        right: 0;
    }

    .nav-item {
        width: 100%;
        text-align: center;
    }

    .nav-link {
        font-size: 20px !important;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: #f8f9fa !important;
        width: 100% !important;
        text-align: center;
        display: none;
        /* Toggle this with JS if needed, but for now just show */
    }

    .dropdown-hover:hover .dropdown-menu {
        display: block !important;
    }
}

@media (max-width: 576px) {
    .herobar h1 {
        font-size: 32px !important;
    }

    .top-bar {
        display: none !important;
        /* Hide top bar on very small devices */
    }
}

@media (max-width: 991px) {
    .story_text h2 {
        font-size: 32px !important;
        margin-bottom: 25px !important;
    }

    .story_text p {
        font-size: 16px !important;
        text-align: left !important;
    }
}

@media (max-width: 768px) {
    .story_text h2 {
        font-size: 26px !important;
        margin-bottom: 20px !important;
    }

    .story_text p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .our_story {
        padding: 60px 0 !important;
    }
}

/* --- GLOBAL CAROUSEL RESPONSIVE --- */
@media (max-width: 991px) {

    .member-card,
    .founder_item {
        flex: 0 0 calc(50% - 20px) !important;
        width: calc(50% - 20px) !important;
    }

    .carousel-container {
        padding: 0 30px !important;
    }
}

@media (max-width: 768px) {

    .member-card,
    .founder_item {
        flex: 0 0 calc(100vw - 80px) !important;
        width: calc(100vw - 80px) !important;
        max-width: none !important;
    }

    .carousel-container {
        padding: 0 40px !important;
    }

    .nav-arrow {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .nav-arrow.left {
        left: 5px !important;
    }

    .nav-arrow.right {
        right: 5px !important;
    }
}

@media (max-width: 576px) {

    .member-card,
    .founder_item {
        flex: 0 0 calc(100vw - 60px) !important;
        width: calc(100vw - 60px) !important;
    }

    .carousel-container {
        padding: 0 30px !important;
    }

    .members-grid {
        gap: 0 !important;
    }
}

@media (max-width: 360px) {

    .member-card,
    .founder_item {
        flex: 0 0 calc(100vw - 40px) !important;
        width: calc(100vw - 40px) !important;
    }

    .carousel-container {
        padding: 0 20px !important;
    }

    .members-viewport {
        margin: 0 !important;
        padding: 10px 0 !important;
    }
}

/* Side Panel Overlay */
#side-panel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

#side-panel-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Side Panel */
#side-panel {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: white;
    z-index: 9999;
    box-shadow: -5px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow-y: auto;
}

#side-panel.active {
    right: 0;
}

.side-panel-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 35px;
    color: #333;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.side-panel-close:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.side-panel-content {
    padding: 80px 40px 40px;
}

.side-panel-content h2 {
    color: #2c3e50;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.side-panel-content p {
    color: #555;
    line-height: 1.8;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.side-panel-divider {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    margin: 30px 0;
    position: relative;
}

.side-panel-divider::before,
.side-panel-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 40%;
    height: 1px;
    background: #ddd;
}

.side-panel-divider::before {
    left: 0;
}

.side-panel-divider::after {
    right: 0;
}

.side-panel-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-panel-links a {
    color: #2c3e50;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.3s ease;
}

.side-panel-links a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

/* Responsive Side Panel */
@media (max-width: 576px) {
    #side-panel {
        width: 100%;
        right: -100%;
    }

    .side-panel-content {
        padding: 60px 25px 25px;
    }
}

/* Fix carousel arrows visibility */
.carousel-container .nav-arrow {
    display: flex !important;
}

/* Improved Mobile Menu */
@media (max-width: 991px) {
    .navbar .nav.mobile-active {
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .navbar .nav-item {
        border-bottom: 1px solid rgba(239, 127, 53, 0.1);
    }

    .navbar .nav-item:last-child {
        border-bottom: none;
    }

    .navbar .nav-link {
        transition: all 0.3s ease;
    }

    .navbar .nav-link:hover {
        background: rgba(239, 127, 53, 0.05);
        padding-left: 25px !important;
    }

    .navbar .dropdown-menu {
        margin-top: 10px;
        border-left: 3px solid var(--primary-color);
    }
}

/* Slow down button hover animations */
.btn,
.submit_bu_btn,
button[type="submit"] {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.btn:hover,
.submit_bu_btn:hover,
button[type="submit"]:hover {
    transform: translateY(-3px);
}

/* Slow down dropdown menu animations */
.dropdown-menu {
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* Director Modal Styles */
.director-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.director-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.director-modal {
    background: #fff;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: translateY(50px);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.director-modal-overlay.active .director-modal {
    transform: translateY(0);
    opacity: 1;
}

.director-image-side {
    width: 40%;
    position: relative;
    overflow: hidden;
    background-color: var(--primary-color);
}

.director-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.director-content-side {
    width: 60%;
    padding: 60px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 25px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #888;
    transition: color 0.3s;
    z-index: 10;
}

.modal-close-btn:hover {
    color: var(--primary-color);
}

.director-title {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.director-name {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.director-message {
    color: #ffffff;
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 30px;
}

.director-signature {
    font-family: 'Dancing Script', cursive;
    /* Optional fancy font if available, else falls back */
    font-size: 24px;
    color: var(--primary-color);
    margin-top: auto;
}

@media (max-width: 992px) {
    .director-modal {
        flex-direction: column;
        max-width: 600px;
        max-height: 90vh;
        overflow-y: auto;
    }

    .director-image-side {
        width: 100%;
        height: auto;
        min-height: 400px;
    }

    .director-image-side img {
        height: auto;
        width: 100%;
        min-height: 400px;
        object-fit: cover;
        object-position: top center;
    }

    .director-content-side {
        width: 100%;
        padding: 40px 30px;
    }
}