/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    height: 70px;
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-brand .logo-b {
    color: #4ecdc4;
    font-weight: bold;
    font-size: 2rem;
}

.nav-brand .logo-connect {
    color: #ff9500;
    font-weight: bold;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-item.dropdown:hover > .nav-link {
    color: #ff9500;
}

.dropdown-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}
.arrow-right {
    font-size: 0.8rem;
    margin-left: auto; /* Pushes arrow to the right */
    padding-left: 0.5rem;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 1rem;
    min-width: 220px; /* Default min-width */
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border-top: 3px solid #ff9500;
    margin-top: 10px;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    display: flex;
    gap: 2rem;
}

.dropdown-column {
    flex: 1;
}

.dropdown-item {
    display: block;
    padding: 0.5rem 0.75rem; /* Adjusted padding */
    text-decoration: none;
    color: #666;
    transition: color 0.3s ease, background-color 0.3s ease;
    border-radius: 4px; /* Rounded corners for items */
    white-space: nowrap;
}

.dropdown-item:hover,
.dropdown-item.active {
    /* For JS active state */
    color: #ff9500;
    background-color: #f9f9f9;
}

/* Mega Menu for Secteurs */
.dropdown-menu.mega-menu {
    min-width: 500px; /* Wider for mega menu */
    padding: 0; /* Remove padding, handled by content */
}

.dropdown-content-secteurs {
    display: flex;
}

.secteurs-main-column {
    flex: 0 0 250px; /* Adjusted width for longer sector names */
    padding: 1rem;
    border-right: 1px solid #eee;
    max-height: 400px; /* Added max-height for scrollability */
    overflow-y: auto; /* Enable vertical scroll if content exceeds max-height */
}

.secteur-trigger {
    display: flex; /* To align text and arrow */
    justify-content: space-between; /* Puts arrow to the right */
    align-items: center;
}

.dropdown-sub-panels {
    flex-grow: 1;
    padding: 1rem;
    min-height: 200px; /* Ensure it has some height */
    max-height: 400px; /* Added max-height for scrollability */
    overflow-y: auto; /* Enable vertical scroll */
}

.sub-dropdown-panel {
    display: none; /* Hidden by default */
}

.sub-dropdown-panel.active {
    display: block; /* Shown by JS */
}
.sub-panel-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #eee;
}

/* Buttons */
.btn-primary {
    background: #4ecdc4;
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: #45b7a8;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #ff9500;
    color: white;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: #e6850e;
    transform: translateY(-2px);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu {
    display: none;
    background: #fff;
    padding: 1rem 2rem;
    border-top: 1px solid #eee;
    position: absolute;
    left: 0;
    right: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999; /* Below header but above content */
    max-height: calc(100vh - 70px); /* Adjust 70px to your header height */
    overflow-y: auto;
}

.mobile-nav-menu {
    list-style: none;
}

.mobile-nav-link {
    display: block;
    padding: 1rem 0;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #eee;
}
.mobile-nav-link:last-child {
    border-bottom: none;
}
.mobile-nav-link.btn-primary.mobile-cta {
    display: block;
    text-align: center;
    margin: 1rem 0;
    padding: 0.8rem;
    border-radius: 5px;
    color: white;
}

/* Hero Section */
.hero {
    padding: 140px 0 60px;
    /*background-color: #f7f8fa;*/
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text h1 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 1.2rem;
    max-width: 500px;
    line-height: 1.6;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* New Features Section Styles */
.features-new {
    /*background-color: #f8f9fa;*/
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.features-new::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(circle at 1px 1px, rgba(0, 0, 0, 0.08) 1px, transparent 0);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: 0;
}

.features-new-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.features-new-left {
    flex-basis: 45%;
    padding-right: 2rem;
}

.features-new-left h2 {
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: #014343;
    margin-bottom: 1.5rem;
}

.features-new-left p {
    font-size: 1rem;
    line-height: 1.7;
    color: #353535;
    margin-bottom: 2rem;
    max-width: 600px;
}

.features-new-link {
    font-size: 1rem;
    font-weight: 600;
    color: #014343;
    text-decoration: none;
    border-bottom: 2px solid #014343;
    padding-bottom: 0.3rem;
    transition: color 0.3s ease, border-bottom-color 0.3s ease;
}

.features-new-link:hover {
    color: #42aeae;
    border-bottom-color: #42aeae;
}

.features-new-right {
    flex-basis: 55%;
}

.features-new-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-new-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.07);
    color: #353535;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-new-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.feature-new-icon {
    margin-bottom: 1rem;
}

.feature-new-icon img {
    max-width: 100%;
    height: 110px;
    object-fit: contain;
}

.feature-new-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: #1d2d35;
}

/* Pricing Section */
.pricing {
    padding: 60px 0;
}

.pricing h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #4ecdc4, #ff9500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #014343; /* Fallback */
}

.pricing-subtitle {
    text-align: center;
    color: #555;
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* Pricing Toggle Switch */
.pricing-toggle-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.toggle-label {
    font-weight: 500;
    color: #555;
    transition: color 0.3s ease;
}
.toggle-label.active {
    color: #333;
    font-weight: 600;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked + .slider {
    background-color: #4ecdc4;
}

input:focus + .slider {
    box-shadow: 0 0 1px #4ecdc4;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.slider.round {
    border-radius: 26px;
}

.slider.round:before {
    border-radius: 50%;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    background: white;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
    overflow: hidden;
}
.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.premium-plan {
    border-top: 4px solid #adb5bd;
}
.pricing-card.pro-plan.featured {
    border: 2px solid #4ecdc4;
    border-top: 4px solid #4ecdc4;
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.2);
    transform: scale(1.02);
}
.pricing-card.enterprise-plan {
    border-top: 4px solid #ff9500;
}

.pricing-card h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 600;
    padding-top: 0.5rem;
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.2rem;
}
.price .currency,
.price .period {
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
}

.price-period {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 1.5rem;
    min-height: 30px;
}

.btn-primary.wide {
    width: 100%;
    padding: 0.8rem;
    font-size: 1rem;
    background-color: #4ecdc4;
    border-radius: 5px;
    color: white;
}
.pricing-card.featured .btn-primary.wide {
    background-color: #4ecdc4;
}
.pricing-card.enterprise-plan .btn-primary.wide {
    background-color: #ff9500;
}
.pricing-card.enterprise-plan .btn-primary.wide:hover {
    background-color: #e6850e;
}

.features-list {
    list-style: none;
    margin-top: 1.5rem;
    text-align: left;
    padding-left: 0;
}

.features-list li {
    padding: 0.4rem 0;
    font-size: 0.9rem;
    color: #555;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #f0f0f0;
}
.features-list li:last-child {
    border-bottom: none;
}

.check-icon {
    color: #4ecdc4;
    margin-right: 0.5rem;
    font-weight: bold;
}
.pricing-card.enterprise-plan .check-icon {
    color: #ff9500;
}

/* Service Details Section */
.service-details {
    padding: 60px 0;
    /*background-color: #f7f8fa;*/
}

.service-details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.service-details-text h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.service-details-text p {
    color: #555;
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.service-details-image img {
    max-width: 100%;
    border-radius: 8px;
}

/* Platform Section */
.platform {
    padding: 60px 0;
    text-align: center;
}

.platform h2 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 2rem;
    font-weight: 700;
}

.platform-image {
    margin-bottom: 2.5rem;
}

.platform-image img {
    width: 100%;
    max-width: 900px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.platform .btn-secondary {
    margin-top: 0;
    padding: 0.8rem 2.5rem;
}

/* Testimonials Section - Light Theme */
.testimonials.light-theme {
    background-color: #ffffff;
    padding: 80px 0;
    color: #333333;
}

.testimonials.light-theme .testimonials-title {
    text-align: center;
    font-size: 2.5rem;
    color: #014343;
    margin-bottom: 3rem;
    font-weight: 700;
}

.testimonial-new-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.testimonial-illustration-col img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
}

.testimonial-content-col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.testimonial-text-wrapper {
    position: relative;
    padding-left: 3.5rem;
    margin-bottom: 2rem;
}

.testimonials.light-theme .quote-icon {
    position: absolute;
    left: 0;
    top: -0.2em;
    font-size: 4rem;
    color: #aaaaaa;
    line-height: 1;
    font-weight: bold;
}

.testimonials.light-theme .testimonial-quote {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 1.5rem;
    font-style: normal;
}

.testimonials.light-theme .testimonial-author {
    font-size: 1rem;
    font-weight: 600;
    color: #000000;
    display: block;
}

.testimonial-navigation {
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: auto;
}

.nav-arrow-new {
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 6px;
    cursor: pointer;
    transition: opacity 0.3s ease, background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.nav-arrow-new:hover {
    opacity: 0.85;
}

.testimonials.light-theme .nav-arrow-new.prev {
    background-color: #e5a934;
    color: #000000;
    border: 1px solid #e5a934;
}
.testimonials.light-theme .nav-arrow-new.prev:hover {
    background-color: #d49823;
}

.testimonials.light-theme .nav-arrow-new.next {
    background-color: #f0f0f0;
    color: #e5a934;
    border: 1px solid #cccccc;
}
.testimonials.light-theme .nav-arrow-new.next:hover {
    background-color: #e0e0e0;
}

/* Partners Section */
.partners {
    padding: 60px 0;
}

.partners h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    font-weight: 700;
    background: linear-gradient(to right, #4ecdc4, #ff9500);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: #014343; /* Fallback */
}

.partners-slider-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.partners-grid-wrapper {
    flex-grow: 1;
    overflow: hidden;
    margin: 0 1rem;
}

.partners-grid {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 0.5rem 0;
    transition: transform 0.5s ease-in-out;
}

.partners-grid img {
    height: 100px;
    opacity: 1;
    max-width: 120px;
    flex-shrink: 0;
}

.prev-arrow-partners,
.next-arrow-partners {
    background-color: #eaeaea;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.prev-arrow-partners:hover,
.next-arrow-partners:hover {
    background-color: #ddd;
}
.prev-arrow-partners:disabled,
.next-arrow-partners:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Footer Styles */
.footer {
    background-color: #ffffff;
    color: #333;
    padding: 50px 0 30px;
    border-top: 1px solid #e0e0e0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section {
    font-size: 0.9rem;
}

.footer-brand-info .footer-brand {
    margin-bottom: 10px;
    display: inline-block;
}

.footer-brand-info .footer-brand .logo-b {
    color: #4ecdc4;
    font-weight: bold;
    font-size: 2.2rem;
}

.footer-brand-info .footer-brand .logo-connect {
    color: #ff9500;
    font-weight: bold;
    font-size: 2rem;
    margin-left: -2px;
}

.footer-brand-info .tagline {
    font-size: 0.9rem;
    color: #555;
    margin-top: 5px;
}

.footer-section h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #000000;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}

.footer-section h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background-color: #000000;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff9500;
}

.newsletter-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
}
.newsletter-section h4::after {
    display: none;
}

.newsletter-section p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #dadada;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 10px 12px;
    border: none;
    font-size: 0.9rem;
    background-color: #f4f5f7;
    color: #333;
}
.newsletter-form input[type="email"]::placeholder {
    color: #777;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    background-color: #fff;
}

.btn-newsletter {
    background-color: #fcb241;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.btn-newsletter:hover {
    background-color: #e8a031;
}

.btn-newsletter svg {
    width: 18px;
    height: 18px;
}

.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e0e0e0;
}

.copyright-text {
    font-size: 0.85rem;
    color: #555;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}
.social-links a svg {
    display: block;
}

.social-links a:hover {
    color: #ff9500;
}

.apropos-main {
    padding-top: 80px;
}

/* Hero Section */
.apropos-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("/assets/img/bconnect-white.JPG");
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 100px 20px 80px;
    min-height: 450px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.apropos-hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.watch-video-btn {
    background-color: rgba(255, 255, 255, 0.2);
    border: 1px solid #fff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.watch-video-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.watch-video-btn .play-icon {
    width: 20px;
    height: 20px;
}

/* Content Sections */
.apropos-content-sections {
    padding: 60px 0;
    background-color: #fff;
}

.apropos-content-sections .container {
    max-width: 900px;
}

.content-item {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: flex-start;
}

.content-item-title h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #014343;
    margin-bottom: 10px; /
    line-height: 1.3;
}

.decorative-dots {
    width: 80px;
    height: auto;
    opacity: 0.5;
    margin-top: 10px;
}

.content-item-text p {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
}

/* CTA Section */
.apropos-cta {
    padding: 60px 20px;
    text-align: center;
}

.apropos-cta h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #014343;
    margin-bottom: 15px;
}

.apropos-cta p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.apropos-cta .btn-secondary {
    background-color: #ff9500; /* Orange BConnect */
    padding: 0.9rem 2.5rem;
}

/* Contact Info Section */
.apropos-contact-info {
    padding: 80px 20px;
    background-color: #fff;
}

.apropos-contact-info .container {
    max-width: 1100px;
}

.apropos-contact-info .contact-info-subtitle {
    text-align: left;
    font-size: 1rem;
    color: #555;
    margin-bottom: 5px;
}

.apropos-contact-info h2 {
    text-align: left;
    font-size: 2.8rem;
    font-weight: 700;
    color: #014343;
    margin-bottom: 50px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 40px;
}

.contact-info-item {
    text-align: left;
    padding: 0;
    border: none;
    background-color: transparent;
}

.contact-item-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.contact-info-item .contact-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: #014343;
    flex-shrink: 0;
}

.contact-info-item h3 {
    font-size: 1rem;
    font-weight: 500;
    color: #e6850e;
    line-height: 1.4;
    margin-bottom: 0;
}

.contact-info-item p,
.contact-info-item a {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.6;
    text-decoration: none;
    display: block;
    padding-left: 30px;
}

.contact-info-item a:hover {
    color: #014343;
}


@media (max-width: 768px) {

}

@media (max-width: 480px) {
    .apropos-hero-content h1 {
        font-size: 1.8rem;
    }
    .apropos-contact-info h2 {
        font-size: 1.8rem;
    }
    .apropos-contact-info .contact-info-subtitle {
        font-size: 0.9rem;
    }
    .contact-info-item h3 {
        font-size: 0.9rem;
    }
    .contact-info-item p,
    .contact-info-item a {
        font-size: 0.9rem;
    }
}

/* Styles pour le header actif */
.header .nav-menu .nav-item .nav-link.active {
    color: #ff9500; /* Ou la couleur active de votre thème */
    font-weight: 700; /* Optionnel: rendre plus audacieux */
}
.mobile-menu .mobile-nav-menu .mobile-nav-link.active {
    color: #ff9500;
    font-weight: 700;
}

/* Responsive Design */
@media (max-width: 992px) {
    /* Tablet and smaller */
    .nav-menu {
        gap: 1.5rem;
    }
    .hero-content,
    .service-details-content {
        gap: 2rem;
    }
    .hero-text h1 {
        font-size: 2.4rem;
    }
    .footer-content {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 25px;
    }
    .footer-brand-info {
        grid-column: span / -1;
        margin-bottom: 20px;
        text-align: center;
    }
    .footer-brand-info .footer-brand {
        justify-content: center;
    }
    .footer-brand-info .tagline {
        margin-left: auto;
        margin-right: auto;
    }
    .footer-section h4 {
        margin-bottom: 15px;
    }
    .features-new-container {
        flex-direction: column;
        gap: 3rem;
        align-items: center;
    }
    .features-new-left {
        text-align: center;
        padding-right: 0;
        max-width: 600px;
        width: 100%;
    }
    .features-new-left h2 {
        font-size: 2.2rem;
    }
    .features-new-left p {
        font-size: 1rem;
        margin-left: auto;
        margin-right: auto;
        max-width: 90%;
    }
    .features-new-link {
        display: inline-block;
        margin-top: 1rem;
    }
    .features-new-right {
        width: 100%;
        max-width: 600px;
        padding: 0 1rem;
    }

    .testimonial-new-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .testimonial-illustration-col {
        order: -1;
        max-width: 400px;
        margin: 0 auto;
    }
    .testimonial-content-col {
        align-items: center;
        text-align: center;
    }
    .testimonial-text-wrapper {
        padding-left: 0;
        text-align: center;
    }
    .testimonials.light-theme .quote-icon {
        position: static;
        display: block;
        margin: 0 auto 0.5rem auto;
        font-size: 3rem;
    }
    .testimonials.light-theme .testimonials-title {
        font-size: 2rem;
    }
    .testimonials.light-theme .testimonial-quote {
        font-size: 1rem;
    }
    .testimonial-navigation {
        justify-content: center;
        width: 100%;
    }
    .partners-slider-container {
        max-width: 100%;
    }
    .dropdown-menu.mega-menu {
        width: 100%; /* Full width on smaller screens */
        left: 0;
        right: 0;
        border-left: none;
        border-right: none;
        max-height: 300px; /* Limit height on smaller screens */
        overflow-y: auto;
    }
    .dropdown-content-secteurs {
        flex-direction: column;
    }
    .secteurs-main-column {
        border-right: none;
        border-bottom: 1px solid #eee;
        flex-basis: auto; /* Allow it to take full width */
        max-height: none; /* Remove max-height for column itself */
        overflow-y: visible;
    }
    .dropdown-sub-panels {
        padding-top: 0.5rem;
        max-height: none;
        overflow-y: visible;
    }
    /*About section*/
    .apropos-hero-content h1 {
        font-size: 2.8rem;
    }
    .content-item {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    /* Mobile */
    .header {
        padding: 0;
    }
    .nav-container {
        height: 60px;
        padding: 0 1rem;
    }
    .nav-brand .logo-b {
        font-size: 1.6rem;
    }
    .nav-brand .logo-connect {
        font-size: 1.4rem;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu-btn {
        display: flex;
    }
    .mobile-menu.active {
        display: block;
    }
    .hide-on-mobile {
        display: none !important;
    }
    .mobile-menu.active .mobile-nav-menu > li {
        display: block;
    }

    .hero {
        padding: 100px 0 40px;
    }
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-text h1 {
        font-size: 2rem;
    }
    .hero-text p {
        font-size: 0.9rem;
        max-width: 100%;
    }
    .hero-image {
        margin-top: 1.5rem;
    }

    .pricing h2,
    .service-details-text h2,
    .platform h2,
    .partners h2 {
        font-size: 1.8rem;
    }
    .pricing-subtitle {
        font-size: 0.9rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    .pricing-card.featured {
        transform: none;
    }
    .price {
        font-size: 1.8rem;
    }

    .service-details-content {
        grid-template-columns: 1fr;
    }
    .service-details-image {
        order: -1;
        margin-bottom: 1.5rem;
    }

    .partners-grid img {
        height: 30px;
        max-width: 120px;
    }
    .partners-grid {
        gap: 1.5rem;
    }
    .prev-arrow-partners,
    .next-arrow-partners {
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }
    .partners-grid-wrapper {
        margin: 0 0.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
    .footer-brand-info,
    .newsletter-section {
        grid-column: span 2;
    }
    .footer-section h4 {
        text-align: left;
    }
    .footer-section h4::after {
        left: 0;
        transform: none;
    }
    .footer-brand-info .tagline {
        margin-left: 0;
        margin-right: 0;
    }
    .newsletter-section p,
    .footer-section ul {
        text-align: left;
    }
    .footer-brand-info .footer-brand {
        justify-content: flex-start;
    }
    .newsletter-form {
        margin-left: 0;
        margin-right: 0;
    }
    .footer-bottom-bar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
        text-align: left;
    }
    .social-links {
        order: 0;
        justify-content: flex-start;
    }

    .features-new-left h2 {
        font-size: 2rem;
    }
    .features-new-left p {
        font-size: 0.95rem;
        max-width: 100%;
    }
    .features-new-right {
        padding: 0;
        max-width: 100%;
    }
    .features-new-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .feature-new-card {
        padding: 1.25rem;
    }
    .feature-new-icon img {
        height: 100px;
    }

    .mobile-nav-link-wrapper {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .mobile-nav-item .mobile-nav-link {
        flex-grow: 1;
    }

    .mobile-submenu-toggle {
        background: none;
        border: none;
        color: #333;
        font-size: 1.2rem;
        padding: 0.5rem 1rem;
        cursor: pointer;
        line-height: 1;
    }
    .mobile-submenu-toggle .minus-icon {
        display: none;
    }
    .mobile-submenu-toggle[aria-expanded="true"] .plus-icon {
        display: none;
    }
    .mobile-submenu-toggle[aria-expanded="true"] .minus-icon {
        display: inline;
    }

    .mobile-submenu {
        list-style: none;
        padding-left: 1.5rem;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        background-color: #f9f9f9;
        margin-left: -2rem;
        margin-right: -2rem;
        padding-right: 2rem;
    }

    .mobile-submenu li {
        border-top: 1px solid #eee;
    }

    .mobile-submenu-link {
        display: block;
        padding: 0.8rem 0 0.8rem 1.5rem;
        text-decoration: none;
        color: #555;
        font-size: 0.9rem;
    }
    .mobile-submenu-link:hover {
        color: #ff9500;
    }

    .mobile-submenu .mobile-nav-item .mobile-nav-link-wrapper .mobile-submenu-link {
        padding: 0.8rem 0;
    }

    .mobile-submenu .nested-level-2 {
        padding-left: 1rem;
        background-color: #f0f0f0;
        margin-left: -1.5rem;
        margin-right: 0;
        padding-right: 0;
    }

    .mobile-submenu .nested-level-2 .mobile-submenu-link {
        padding: 0.7rem 0 0.7rem 1rem;
        font-size: 0.85rem;
    }

    .mobile-nav-item.has-submenu > .mobile-nav-link-wrapper > .mobile-nav-link {
        border-bottom: none;
    }
    .mobile-nav-item.has-submenu {
        border-bottom: 1px solid #eee;
    }
    /* About section*/
    .apropos-main {
        padding-top: 60px;
    }
    .apropos-hero {
        padding: 80px 20px 60px;
        min-height: 350px;
    }
    .apropos-hero-content h1 {
        font-size: 2.2rem;
    }
    .watch-video-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .content-item {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    .content-item-title {
        margin-bottom: 10px;
    }
    .content-item-title h2 {
        font-size: 1.6rem;
    }
    .decorative-dots {
        margin-left: auto;
        margin-right: auto;
    }
    .content-item-text {
        text-align: left;
    }
    .apropos-cta h2 {
        font-size: 1.8rem;
    }
    .apropos-cta p {
        font-size: 1rem;
    }
    .apropos-contact-info h2 {
        font-size: 2.2rem;
    }
    .contact-info-grid {
        gap: 30px;
    }
    .contact-info-item p,
    .contact-info-item a {
        /* padding-left: 0; */
    }
    .apropos-contact-info .contact-info-subtitle,
    .apropos-contact-info h2 {
        text-align: center;
    }
    .contact-info-item {
        text-align: center;
    }
    .contact-item-header {
        justify-content: center;
    }
    .contact-info-item p,
    .contact-info-item a {
        padding-left: 0;
    }
}

@media (max-width: 480px) {
    /* Small Mobile */
    .container {
        padding: 0 15px;
    }
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pricing-card {
        padding: 1.5rem 1rem;
    }
    .pricing-card.featured {
        transform: none;
    }
    .price {
        font-size: 1.8rem;
    }

    .features-new-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-brand-info,
    .newsletter-section,
    .footer-section {
        grid-column: span 1;
        text-align: left;
    }
    .footer-section h4,
    .footer-brand-info .tagline,
    .newsletter-section p,
    .footer-section ul {
        text-align: left;
    }
    .footer-section h4::after {
        left: 0;
        transform: none;
    }
    .nav-arrow-new {
        padding: 0.6rem 1rem;
        font-size: 1rem;
        min-width: 50px;
    }
    .partners-grid img {
        height: 25px;
        max-width: 100px;
    }
    .partners-grid {
        gap: 1rem;
    }
}

/* Animation for mobile menu */
.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus,
.btn-primary:focus,
.btn-secondary:focus,
.btn-outline:focus,
.mobile-menu-btn:focus,
.switch input:focus + .slider,
.nav-arrow-new:focus,
.prev-arrow-partners:focus,
.next-arrow-partners:focus,
.btn-newsletter:focus,
.social-links a:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 2px;
}
.newsletter-form input[type="email"]:focus {
    outline: 2px solid #4ecdc4;
    outline-offset: 0px;
}