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

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #3d0708; /* force original red background on loading */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    margin-bottom: 2rem;
}

.loading-logo-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    animation: pulse 2s ease-in-out infinite;
}

.loading-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    letter-spacing: 2px;
    text-align: center;
    line-height: 1.4;
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.loading-progress {
    height: 100%;
    background: #FF8C00;
    border-radius: 2px;
    animation: loadingProgress 3s ease-in-out;
}

:root {
    --primary-red: #8B0000;
    --primary-red-dark: #7a0000;
    --primary-red-darker: #3d0708;
    --primary-red-alpha-05: var(--primary-red-alpha-05);
    --primary-red-alpha-10: var(--primary-red-alpha-10);
    --primary-red-alpha-20: rgba(139, 0, 0, 0.2);
    --primary-red-alpha-30: rgba(139, 0, 0, 0.3);
    --primary-orange: #FF8C00;
    --white: #FFFFFF;
    --black: #000000;
    --dark-gray: #1a1a1a;
    --light-gray: #f5f5f5;
    --text-gray: #333333;
    --border-gray: #e0e0e0;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-gray);
    background-color: var(--white);
}

/* Remove text decoration from all links */
a {
    text-decoration: none;
}

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

/* Logo Styles */
.logo-img {
    width: 75px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.1);
}

.hero-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

.about-logo-img {
    width: 100%;
    object-fit: contain;
    animation: pulse 4s ease-in-out infinite;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

/* Header Styles */
.header {
    background: rgba(78, 7, 7, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    padding: 0;
    overflow: visible !important;
}

.navbar .container {
    overflow: visible !important;
}

.navbar-nav {
    overflow: visible !important;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-selector .lang-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    vertical-align: middle;
}

.language-selector .lang-text-dropdown {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    margin-left: 5px;
    vertical-align: middle;
}

.flag-container {
    position: relative;
    width: 32px;
    height: 24px;
    cursor: pointer;
    border-radius: 4px;
    overflow: visible;
    transition: all 0.3s ease;
}

.flag-container:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.flag-icon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 1;
    filter: grayscale(0%);
    z-index: 2;
}

.flag-icon.active {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Flag Dropdown */
.flag-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 32px;
    height: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1;
}

.flag-container:hover .flag-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

/* Add a subtle indicator that there's another language */
.flag-container::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.flag-container:hover::after {
    opacity: 1;
}

.flag-icon-dropdown {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    transition: all 0.3s ease;
    opacity: 0.8;
    filter: grayscale(30%);
}

.flag-icon-dropdown:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

/* Footer Language Selector */
.footer-language-selector {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 1rem;
}

.footer-language-selector span {
    color: var(--white);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-flag {
    width: 24px;
    height: 18px;
}

.footer-flag .flag-icon {
    width: 24px;
    height: 18px;
}

/* ==============================
   ERP Page – Visual Enhancements
   (Non-breaking, structure-preserving)
   ============================== */

/* Section titles spacing */
.erp-presentation .section-title,
.erp-modules .section-title,
.erp-personalization .section-title,
.erp-pricing .section-title,
.erp-benefits .section-title,
.erp-security .section-title,
.erp-technology .section-title,
.erp-sectors .section-title,
.erp-support .section-title,
.erp-why-choose .section-title,
.erp-conclusion .section-title {
    margin-bottom: 16px;
}

/* Presentation bullets as tidy grid */
.erp-presentation .presentation-text ul {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 8px 16px;
    margin-top: 8px;
}
.erp-presentation .presentation-text li {
    padding-left: 12px;
    position: relative;
}
.erp-presentation .presentation-text li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-orange);
}

/* Module cards – subtle elevation */
.erp-modules .modules-grid {
    gap: 20px;
}
.erp-modules .module-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 10px;
    padding: 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.erp-modules .module-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.08);
    border-color: rgba(139, 0, 0, 0.2);
}
.erp-modules .module-icon {
    color: var(--primary-orange);
    font-size: 22px;
}
.erp-modules .module-features {
    margin-top: 8px;
}

/* Why-choose items – chips */
.erp-why-choose .why-choose-grid {
    gap: 12px;
}
.erp-why-choose .why-choose-item {
    background: var(--light-gray);
    border: 1px solid var(--border-gray);
    border-radius: 999px;
    padding: 8px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background .2s ease, border-color .2s ease;
}
.erp-why-choose .why-choose-item:hover {
    background: #fafafa;
    border-color: rgba(139, 0, 0, 0.2);
}

/* Pricing overview – cards */
.erp-pricing .pricing-overview {
    margin: 8px 0 16px 0;
}
.erp-pricing .pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #666;
    font-weight: 600;
    margin-bottom: 16px;
}
.erp-pricing .toggle-btn {
    border: 1px solid var(--border-gray);
    background: var(--white);
    color: #333;
    padding: 6px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: all .2s ease;
}
.erp-pricing .toggle-btn.active,
.erp-pricing .toggle-btn:hover {
    border-color: var(--primary-red);
    color: var(--primary-red);
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}
.erp-pricing .pricing-separator {
    opacity: .45;
    margin: 0 8px;
}
.erp-pricing .pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(240px, 1fr));
    gap: 16px;
}
.erp-pricing .pricing-card {
    background: var(--white);
    border: 1px solid var(--border-gray);
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.erp-pricing .pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px rgba(0,0,0,0.08);
    border-color: rgba(139, 0, 0, 0.2);
}
.erp-pricing .pricing-card.featured {
    border-color: var(--primary-orange);
    box-shadow: 0 16px 32px rgba(255,140,0,0.15);
}
.erp-pricing .plan-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.erp-pricing .plan-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-red-dark);
    margin-bottom: 10px;
}
.erp-pricing .plan-price small {
    font-size: .8rem;
    font-weight: 600;
    color: #666;
}
.erp-pricing .plan-features {
    list-style: none;
    padding-left: 0;
    display: grid;
    gap: 6px;
    margin: 10px 0 14px 0;
}
.erp-pricing .plan-cta .btn {
    width: 100%;
}
.erp-pricing .pricing-notice {
    margin-top: 12px;
    text-align: center;
    color: #666;
}
.erp-pricing .pricing-tables .pricing-group {
    margin-top: 18px;
}

/* CTA spacing consistency */
.cta .cta-buttons {
    gap: 10px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .erp-presentation .presentation-text ul {
        grid-template-columns: 1fr;
    }
    .erp-pricing .pricing-cards {
        grid-template-columns: 1fr;
    }
}

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

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #FFA500;
}

/* Styles pour les liens de menu avec icônes */
.nav-link-icon {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    gap: 0.25rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-link-icon i:first-of-type {
    font-size: 1.3rem;
    margin-bottom: 0.1rem;
    display: block;
    transition: all 0.3s ease;
}

.nav-link-icon small {
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1;
    display: block;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.nav-link-icon.dropdown-toggle {
    position: relative;
}

.nav-link-icon.dropdown-toggle::after {
    display: none;
}

/* Barre horizontale en bas pour les menus avec sous-menus */
.nav-link-icon.dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background-color: currentColor;
    transition: all 0.3s ease;
    opacity: 0.7;
    border-radius: 2px;
}

.nav-link-icon.dropdown-toggle:hover::before {
    opacity: 1;
    width: 80%;
    background-color: var(--primary-orange);
}

.nav-item.dropdown.active .nav-link-icon.dropdown-toggle::before,
.nav-item.dropdown.show .nav-link-icon.dropdown-toggle::before {
    opacity: 1;
    width: 80%;
    background-color: var(--primary-orange);
    height: 3px;
}

.nav-link-icon:hover i:first-of-type,
.nav-link-icon.active i:first-of-type {
    color: inherit;
}

.nav-link-icon:hover small,
.nav-link-icon.active small {
    color: inherit;
}

/* Styles pour les dropdowns actifs */
.nav-item.dropdown.active .nav-link {
    color: var(--primary-orange) !important;
}

.nav-item.dropdown.active .dropdown-toggle::after {
    transform: rotate(180deg);
}

/* Styles pour les sous-menus actifs */
.dropdown-item.active {
    background-color: var(--primary-orange) !important;
    color: white !important;
    border-left-color: white !important;
}

/* Override Bootstrap dropdown styles */
.nav-menu .dropdown-menu:not(.mega-menu) {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    background: rgba(139, 0, 0, 0.95) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
    border-radius: 8px !important;
    padding: 1rem 0 !important;
    min-width: 300px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-10px) !important;
    transition: all 0.3s ease !important;
    list-style: none !important;
    border: 1px solid rgba(139, 0, 0, 0.3) !important;
    display: block !important;
    float: none !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3) !important;
}

/* Styles pour les menus déroulants Bootstrap */
.nav-menu .dropdown-menu:not(.mega-menu).show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}
.dropdown-menu {
    --bs-dropdown-link-active-bg: var(--primary-red) !important;
    display: none;
}

.dropdown-menu.show {
    display: block;
}

/* Desktop hover behavior */
@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu:not(.mega-menu) {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .dropdown:hover .mega-menu,
    .nav-item.dropdown:hover .mega-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) !important;
    }
}

.nav-menu .dropdown-menu:not(.mega-menu) li a {
    display: block !important;
    padding: 0.5rem 1.5rem !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

.nav-menu .dropdown-menu:not(.mega-menu) li a:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #FFFFFF !important;
}

/* Styles pour les éléments dropdown-item de Bootstrap */
.nav-menu .dropdown-menu:not(.mega-menu) .dropdown-item {
    display: block !important;
    padding: 0.5rem 1.5rem !important;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition: background-color 0.3s ease !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}
.dropdown-menu.active {
    background-color: var(--primary-orange) !important;
    color: var(--white) !important;
}

/* Mega Menu Styles */
.nav-item.dropdown .mega-menu {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: none !important;
    margin-top: 0.5rem !important;
    padding: 0 !important;
    background: white !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    top: 100% !important;
    min-width: auto !important;
    margin-left: 0 !important;
}

.nav-item.dropdown:hover .mega-menu,
.nav-item.dropdown.show .mega-menu,
.dropdown:hover .mega-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) !important;
}

/* Override les styles généraux pour le mega menu */
.nav-menu .mega-menu {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: white !important;
    min-width: auto !important;
    width: 100vw !important;
}

.mega-menu .container-fluid {
    padding: 2rem !important;
    text-align: left !important;
}

.mega-menu {
    text-align: left !important;
}

.mega-menu-category {
    padding-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    text-align: left !important;
}

.mega-menu-category:last-child {
    border-bottom: none;
}

.mega-menu-category-title {
    transition: color 0.3s ease;
    text-align: left !important;
    justify-content: flex-start !important;
}

.mega-menu-category-title:hover {
    color: var(--primary-orange) !important;
}

.mega-menu-category-title:hover strong {
    color: var(--primary-orange) !important;
}

.mega-menu-category-title strong {
    text-align: left !important;
}

.mega-menu-category ul {
    text-align: left !important;
}

.mega-menu-category ul li {
    text-align: left !important;
}

.mega-menu-category ul li a {
    transition: color 0.3s ease;
    font-size: 0.9rem;
    text-align: left !important;
    display: block !important;
}

.mega-menu-category ul li a:hover {
    color: var(--primary-orange) !important;
}

/* Alignement à gauche pour tous les éléments du mega menu */
.mega-menu .row {
    text-align: left !important;
}

.mega-menu .col-md-3 {
    text-align: left !important;
}

/* Styles améliorés pour le méga menu de la boutique */
.shop-mega-menu {
    max-width: none !important;
    width: 100vw !important;
}

.shop-mega-menu .container-fluid {
    padding: 30px 40px !important;
}

/* Styles pour les items de catégorie */
.mega-menu-category-item {
    margin-bottom: 2rem;
    padding-right: 20px;
}

.mega-menu-category-item:last-child {
    margin-bottom: 0;
}

/* Titre de catégorie */
.mega-menu-category-title {
    font-size: 15px;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mega-menu-category-link {
    color: #000;
    text-decoration: none;
    transition: color 0.2s ease;
    display: inline-block;
}

.mega-menu-category-link:hover {
    color: var(--primary-orange);
    text-decoration: none;
}

/* Sous-catégories */
.mega-menu-subcategories {
    padding-left: 0;
    margin: 0;
    list-style: none;
}

.mega-menu-subcategory-item {
    margin-bottom: 8px;
}

.mega-menu-subcategory-link {
    display: block;
    padding: 0;
    color: #333;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    transition: color 0.2s ease;
    text-decoration: none;
}

.mega-menu-subcategory-link:hover {
    color: var(--primary-orange);
    text-decoration: none;
}

.mega-menu-subcategory-link.view-all-link {
    font-weight: 600;
    color: var(--primary-orange);
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.mega-menu-subcategory-link.view-all-link:hover {
    color: var(--primary-red);
}

/* Section promotionnelle */
.mega-menu-promo {
    height: 100%;
    min-height: 300px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-red-dark) 100%);
    position: relative;
    transition: transform 0.3s ease;
}

.mega-menu-promo:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.mega-menu-promo-link {
    display: block;
    height: 100%;
    color: white;
    text-decoration: none;
}

.mega-menu-promo-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}

.mega-menu-promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.mega-menu-promo:hover .mega-menu-promo-image {
    opacity: 0.4;
}

.mega-menu-promo-content {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.mega-menu-promo-title {
    font-size: 18px;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.mega-menu-promo-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.mega-menu-promo-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mega-menu-promo-link:hover .mega-menu-promo-btn {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

/* Responsive pour le méga menu */
@media (max-width: 991px) {
    .shop-mega-menu {
        width: 100% !important;
        max-width: 100% !important;
        left: 0 !important;
        transform: none !important;
        position: relative !important;
    }
    
    .mega-menu-category-item {
        margin-bottom: 0.75rem;
    }
    
    .mega-menu-promo {
        min-height: 250px;
    }
    
    .mega-menu-promo-image-wrapper {
        height: 150px;
    }
}

@media (max-width: 768px) {
    .shop-mega-menu .container-fluid {
        padding: 15px 10px !important;
    }
    
    .mega-menu-category-image,
    .mega-menu-category-icon {
        width: 40px;
        height: 40px;
    }
    
    .mega-menu-category-title {
        font-size: 14px;
    }
    
    .mega-menu-subcategory-link {
        font-size: 13px;
    }
}

.mega-menu * {
    text-align: left !important;
}

.mega-menu .d-flex {
    justify-content: flex-start !important;
}

.category-icon {
    flex-shrink: 0;
}
.nav-menu .dropdown-menu .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    color: #000000 !important;
}
.navbar-toggler {
    background-color: rgba(255, 165, 0, 0.259) !important;
}

/* Responsive styles pour mobile */
@media (max-width: 768px) {
  
    /* Styles pour les dropdowns Bootstrap en mobile */
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: transparent !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        visibility: visible !important;
        border-radius: 0 !important;
        padding: 0.5rem 0 !important;
        display: block !important;
    }
    
    .navbar-nav .dropdown-menu.show {
        display: none !important;
    }
    
    .navbar-nav .dropdown-item {
        color: var(--white) !important;
        padding: 0.5rem 1rem !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: var(--primary-orange) !important;
    }
    
    .navbar-nav .dropdown-item:last-child {
        border-bottom: none !important;
    }
    
    /* Styles pour les liens actifs */
    .navbar-nav .nav-link.active {
        color: var(--primary-orange) !important;
        font-weight: 600 !important;
    }
    
    /* Styles pour le dropdown actif */
    .navbar-nav .dropdown.active .nav-link {
        color: var(--primary-orange) !important;
        font-weight: 600 !important;
    }
    
    /* Animation pour l'icône chevron */
    .navbar-nav .dropdown .nav-link i {
        transition: transform 0.3s ease !important;
    }
    
    .navbar-nav .dropdown.show .nav-link i {
        transform: rotate(180deg) !important;
    }
    
    /* Ne pas faire tourner l'icône principale */
    .navbar-nav .dropdown.show .nav-link-icon i:first-of-type {
        transform: none !important;
    }
    
    .nav-menu .dropdown-menu .dropdown-item {
        padding: 0.75rem 1rem 0.75rem 2rem !important;
        border-left: 2px solid transparent !important;
        color: rgba(255, 255, 255, 0.8) !important;
        transition: all 0.3s ease !important;
    }
    
    .nav-menu .dropdown-menu .dropdown-item:hover {
        border-left-color: var(--primary-orange) !important;
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }
    
    .nav-menu .dropdown .nav-link {
        position: relative !important;
    }
    
    .nav-menu .dropdown .nav-link i {
        transition: transform 0.3s ease !important;
    }
    
    .nav-menu .dropdown.active .nav-link i {
        transform: rotate(180deg) !important;
    }
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 3px 0;
    transition: 0.3s ease-in-out;
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    color: var(--white);
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
    animation: heroZoom 20s ease-in-out infinite;
}

.hero-bg-image.active {
    opacity: 1;
}

.hero-bg-image[data-bg="1"] {
    background-image: url('imgs/header/headers-bg-1.jpg');
}

.hero-bg-image[data-bg="2"] {
    background-image: url('imgs/header/headers-bg-2.jpg');
}

.hero-bg-image[data-bg="3"] {
    background-image: url('imgs/header/headers-bg-3.jpg');
}

.hero-bg-image[data-bg="4"] {
    background-image: url('imgs/header/headers-bg-4.jpg');
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

@keyframes heroZoom {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    animation: slideInFromLeft 1s ease-out;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.highlight {
    color: #FFA500;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #8B0000;
    color: var(--white);
}

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

.btn-secondary {
    background: #8B0000;
    color: var(--white);
    border-color: #8B0000;
}

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

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: slideInFromRight 1s ease-out 0.5s both;
}

.hero-logo {
    position: relative;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    0% {
        opacity: 0;
        transform: translateX(50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 140, 0, 0.6);
    border-radius: 50%;
    animation: floatParticle 8s infinite linear;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 7s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    left: 80%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.particle:nth-child(6) {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 8s;
}

@keyframes floatParticle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* Background Indicators */
.bg-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.bg-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.bg-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.bg-indicator.active {
    background: #FFA500;
    border-color: #FFA500;
    transform: scale(1.3);
}

/* Background Controls */
.bg-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
}

.bg-control {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.bg-control:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #FFA500;
    transform: scale(1.1);
}

.bg-control:active {
    transform: scale(0.95);
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    100% {
        width: 100%;
    }
}

/* Services Preview */
.services-preview {
    padding: 80px 0;
    background: var(--light-gray);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    color: var(--black);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background: var(--primary-red-dark);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.service-card p {
    color: var(--white);
    line-height: 1.6;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--white);
}

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

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.about-intro {
    font-size: 1.2rem !important;
    font-weight: 500;
    color: var(--dark-gray) !important;
    margin-bottom: 2rem !important;
}

.about-vision {
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.05) 0%, rgba(255, 165, 0, 0.05) 100%);
    border-left: 4px solid #FFA500;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.about-vision h3 {
    color: #FFA500;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.about-vision p {
    margin-bottom: 0 !important;
    font-style: italic;
    color: var(--white) !important;
}

.about-features {
    margin-top: 2rem;
}

.about-features h3 {
    color: var(--dark-gray);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.company-references {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(139, 0, 0, 0.05);
    border-left: 4px solid var(--primary-red);
    border-radius: 4px;
}

.company-references p {
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-red);
}

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

.company-references li {
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
}

.company-references li:last-child {
    border-bottom: none;
}

.company-references li strong {
    color: var(--primary-red);
    font-weight: 600;
}

/* Services Overview Styles */
.services-overview {
    margin-top: 2rem;
}

.services-overview h4 {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

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

.services-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(139, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
}

.services-list li:last-child {
    border-bottom: none;
}

.services-list li strong {
    color: var(--primary-red);
    font-weight: 600;
    min-width: 140px;
    display: inline-block;
    margin-right: 0.5rem;
}

.services-list li:before {
    content: "•";
    color: var(--primary-orange);
    font-weight: bold;
    margin-right: 0.5rem;
    font-size: 1.2rem;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .services-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .services-list li strong {
        min-width: auto;
        margin-bottom: 0.25rem;
    }
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.8rem 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-list li:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.feature-list li i {
    color: #FFA500;
    margin-right: 12px;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.feature-list li:last-child {
    margin-bottom: 0;
}

.about-conclusion {
    background: var(--primary-red-alpha-10);
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #FFA500;
    font-weight: 500;
    margin-top: 1.5rem !important;
}

/* Facility Management Services Background */
.facility-services-bg {
    background-image: url('imgs/bg_section.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.facility-services-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.facility-services-bg .container {
    position: relative;
    z-index: 2;
}

/* Facility Management CTA Background */
.facility-cta-bg {
    background-image: url('imgs/bg_section.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.facility-cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(139, 0, 0, 0.8);
    z-index: 1;
}

.facility-cta-bg .container {
    position: relative;
    z-index: 2;
}

.facility-cta-bg .cta-content h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.facility-cta-bg .cta-content p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

.facility-cta-bg .cta-highlight {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    text-align: center;
    margin-bottom: 2rem !important;
}

/* Transport Services Background */
.transport-services-bg {
    background-image: url('imgs/bg_section.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.transport-services-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.transport-services-bg .container {
    position: relative;
    z-index: 2;
}

/* Transport CTA Background */
.transport-cta-bg {
    background-image: url('imgs/bg_section.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.transport-cta-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(139, 0, 0, 0.8) 100%);
    z-index: 1;
}

.transport-cta-bg .container {
    position: relative;
    z-index: 2;
}

.transport-cta-bg .cta-content h2 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
}

.transport-cta-bg .cta-content p {
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
    margin-bottom: 2rem;
}

/* Transport Benefits Background */
.transport-benefits-bg {
    background-image: url('imgs/bg_section.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.transport-benefits-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.transport-benefits-bg .container {
    position: relative;
    z-index: 2;
}

/* Transport Sectors Background */
.transport-sectors-bg {
    background-image: url('imgs/bg_section.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.transport-sectors-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.transport-sectors-bg .container {
    position: relative;
    z-index: 2;
}

/* Transport Process Background */
.transport-process-bg {
    background-image: url('imgs/bg_section.png');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.transport-process-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 1;
}

.transport-process-bg .container {
    position: relative;
    z-index: 2;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo {
    position: relative;
    z-index: 2;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-content h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 0.8s ease-out;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-highlight {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #FFA500;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    padding: 12px 24px;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 25px;
    border: 1px solid rgba(255, 165, 0, 0.3);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.cta-highlight i {
    font-size: 1.3rem;
    animation: pulse 2s infinite;
}

.cta-highlight span {
    font-weight: 600;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Footer */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFA500;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #FFA500;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* Styles pour les liens du footer avec icônes */
.footer-link-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem 0;
    text-align: center;
}

.footer-link-icon i {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-link-icon small {
    font-size: 0.7rem;
    font-weight: 400;
    line-height: 1.2;
    display: block;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    color: inherit;
}

.footer-link-icon:hover i,
.footer-link-icon:hover small {
    color: #FFA500;
}

/* Styles responsives pour le footer sur mobile */
@media (max-width: 768px) {
    .footer-link-icon {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        text-align: left;
        padding: 0.5rem 0;
    }
    
    .footer-link-icon i {
        font-size: 1rem;
        margin-bottom: 0;
        min-width: 20px;
    }
    
    .footer-link-icon small {
        font-size: 0.85rem;
        text-align: left;
    }
}

/* Footer Contact Section */
.footer-section .contact-info {
    margin-top: 1rem;
}

.footer-section .contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.75rem;
    gap: 0.5rem;
}

.footer-section .contact-item i {
    color: var(--primary-orange);
    font-size: 1rem;
    margin-top: 0.2rem;
    min-width: 16px;
}

.footer-section .contact-item a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section .contact-item a:hover {
    color: var(--primary-orange);
}

.footer-section .contact-item span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-left: 0.5rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.social-links a:hover {
    background: #FFA500;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 2rem;
    text-align: center;
    color: #999;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .language-selector {
        margin: 0;
        margin-right: 1rem;
    }
    
    .flag-container {
        width: 28px;
        height: 21px;
    }
    
    .flag-dropdown {
        width: 28px;
        height: 21px;
    }
    
    .footer-flag {
        width: 20px;
        height: 15px;
    }
    
    .footer-flag .flag-icon {
        width: 20px;
        height: 15px;
    }
    
    .footer-flag .flag-dropdown {
        width: 20px;
        height: 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(90, 3, 3, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        width: 100%;
        text-align: left;
        transition: 0.3s ease-in-out;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 1.5rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 1000;
        align-items: flex-start;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 0.2rem 0;
        padding: 0.3rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        text-align: left;
    }
    
    .nav-item:last-child {
        border-bottom: none;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.7rem 1.5rem;
        display: block;
        width: 100%;
        text-align: left;
        transition: all 0.3s ease;
    }
    
    .nav-link:hover {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        margin: 0 1rem;
        text-align: left;
    }
    
    /* Styles pour les liens avec icônes sur mobile */
    .nav-link-icon {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
        gap: 0.75rem;
        padding: 0.7rem 1.5rem;
    }
    
    .nav-link-icon i:first-of-type {
        font-size: 1.2rem;
        margin-bottom: 0;
        min-width: 24px;
    }
    
    .nav-link-icon small {
        font-size: 0.9rem;
        text-align: left;
    }
    
    .nav-link-icon.dropdown-toggle {
        padding-right: 2.5rem;
    }
    
    /* Barre horizontale en bas pour les menus avec sous-menus sur mobile */
    .nav-link-icon.dropdown-toggle::before {
        bottom: 0.3rem;
        width: 50%;
    }
    
    .nav-link-icon.dropdown-toggle:hover::before,
    .nav-item.dropdown.active .nav-link-icon.dropdown-toggle::before,
    .nav-item.dropdown.show .nav-link-icon.dropdown-toggle::before {
        width: 70%;
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        background: rgba(139, 0, 0, 0.9) !important;
        padding: 0.3rem 0 !important;
        margin: 0.3rem 1rem !important;
        border-radius: 8px !important;
        border: 1px solid rgba(139, 0, 0, 0.3) !important;
        transition: all 0.2s ease !important;
        max-height: none !important;
        overflow: visible !important;
        display: none !important;
    }
    
    .nav-menu .dropdown-menu.show {
        display: block !important;
    }
    
    .nav-menu .dropdown .nav-link {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-align: left !important;
    }
    
    .nav-menu .dropdown .nav-link i {
        transition: transform 0.3s ease !important;
    }
    
    .nav-menu .dropdown.active .nav-link i {
        transform: rotate(180deg) !important;
    }
    
    /* Ne pas faire tourner l'icône principale */
    .nav-menu .dropdown.active .nav-link-icon i:first-of-type {
        transform: none !important;
    }
    
    .nav-menu .dropdown-menu li {
        margin: 0.15rem 0 !important;
    }
    
    .nav-menu .dropdown-menu li a {
        padding: 0.5rem 0.8rem !important;
        font-size: 0.9rem !important;
        display: block !important;
        color: #FFFFFF !important;
        transition: all 0.3s ease !important;
        text-align: left !important;
    }
    
    .nav-menu .dropdown-menu li a:hover {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #FFFFFF !important;
        transform: translateX(5px) !important;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    /* about-content responsive - Système Bootstrap-like */
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .about-text {
        order: 2;
    }
    
    .about-visual {
        order: 1;
        margin-bottom: 1rem;
    }
    
    /* Breakpoints spécifiques pour about-content */
    @media (max-width: 992px) {
        .about-content {
            grid-template-columns: 1fr;
            gap: 3rem;
            text-align: center;
        }
        
        .about-text {
            order: 2;
        }
        
        .about-visual {
            order: 1;
            margin-bottom: 1rem;
        }
    }
    
    @media (max-width: 768px) {
        .about-content {
            gap: 2rem;
            padding: 0 1rem;
        }
    }
    
    @media (max-width: 480px) {
        .about-content {
            gap: 1.5rem;
            padding: 0 0.5rem;
        }
       #dropdownUl{
        display: block !important;
       }
    }
    
    .about-text h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .about-intro {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    
    .about-vision {
        margin: 1.5rem 0;
    }
    
    .about-vision h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
    }
    
    .about-vision p {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    .about-features {
        margin: 1.5rem 0;
    }
    
    .about-features h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .about-features p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .feature-list {
        margin: 1rem 0;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0.8rem;
        padding: 0.5rem 0;
        text-align: left;
    }
    
    .feature-list li i {
        margin-right: 0.5rem;
        font-size: 0.8rem;
        min-width: 16px;
    }
    
    .about-conclusion {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-top: 1.5rem;
        font-style: italic;
    }
    
    .about-logo {
        text-align: center;
        margin-bottom: 1rem;
    }
    
    .about-logo i {
        font-size: 4rem !important;
        margin-bottom: 1rem;
    }
    
    .about-logo h3 {
        font-size: 1.2rem;
        margin-top: 1rem;
        line-height: 1.4;
    }
    
    /* Améliorations pour les grilles d'éléments - Système responsive Bootstrap-like */
    .industries-grid,
    .sectors-grid,
    .expertise-grid,
    .object-grid,
    .targets-grid,
    .freedom-grid,
    .why-choose-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .industry-item,
    .sector-item,
    .expertise-item,
    .object-card,
    .target-card,
    .freedom-item,
    .why-choose-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .industry-item h3,
    .sector-item h3,
    .expertise-item h3,
    .object-card h3,
    .target-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .industry-item p,
    .sector-item p,
    .expertise-item p,
    .object-card p,
    .target-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .industry-item i,
    .sector-item i,
    .expertise-item i,
    .object-card i,
    .target-card i {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .service-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .service-card p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
        color: var(--white);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .hero-buttons,
    .cta-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    /* Améliorations pour les sections CTA */
    .cta {
        padding: 3rem 1rem;
        text-align: center;
    }
    
    .cta-content {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .cta-content p {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .cta-highlight {
        font-size: 1.1rem;
        font-weight: 600;
        margin: 1rem 0;
    }
    
    .cta-contact {
        margin-top: 1.5rem;
    }
    
    .cta-contact p {
        font-size: 0.9rem;
        opacity: 0.9;
    }
    
    /* Améliorations pour les sections de bénéfices - Système responsive Bootstrap-like */
    .benefits-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .benefit-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .benefit-item h3 {
        font-size: 1.3rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .benefit-item p {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1rem;
    }
    
    .benefit-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    .benefit-icon i {
        font-size: 1.5rem;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Breakpoints Bootstrap-like pour les grilles */
    /* Large screens (≥1200px) - 4 colonnes */
    @media (min-width: 1200px) {
        .industries-grid,
        .sectors-grid,
        .expertise-grid,
        .object-grid,
        .targets-grid,
        .freedom-grid,
        .why-choose-grid,
        .benefits-grid,
        .process-steps,
        .modules-grid,
        .personalization-grid,
        .support-grid,
        .differentiator-grid,
        .services-grid {
            grid-template-columns: repeat(4, 1fr);
            gap: 2rem;
        }
    }
    
    /* Medium screens (≥768px et <1200px) - 2-3 colonnes */
    @media (min-width: 768px) and (max-width: 1199px) {
        .industries-grid,
        .sectors-grid,
        .expertise-grid,
        .object-grid,
        .targets-grid,
        .freedom-grid,
        .why-choose-grid,
        .benefits-grid,
        .process-steps,
        .modules-grid,
        .personalization-grid,
        .support-grid,
        .differentiator-grid,
        .services-grid {
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 1.5rem;
        }
    }
    
    /* Améliorations pour les sections de processus - Système responsive Bootstrap-like */
    .process-steps {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
    }
    
    .process-step {
        padding: 2rem 1.5rem;
        margin-bottom: 1rem;
    }
    
    .process-step h3 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .process-step p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .step-icon {
        width: 60px;
        height: 60px;
        margin: 1rem auto 1.5rem;
    }
    
    .step-icon i {
        font-size: 1.5rem;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        top: -15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    /* Améliorations pour les en-têtes de sections */
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .section-header p {
        font-size: 1rem;
        line-height: 1.5;
        color: #666;
    }
    
    /* Améliorations pour les titres de sections spéciales */
    .benefits h2,
    .process h2,
    .industries h2,
    .expertise h2,
    .object-social h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        line-height: 1.3;
        text-align: center;
    }
    
    .benefits h2::after,
    .process h2::after,
    .industries h2::after,
    .expertise h2::after,
    .object-social h2::after {
        width: 60px;
        height: 3px;
        margin: 1rem auto 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .nav-menu {
        top: 60px;
        padding: 1.5rem 0;
    }
    
    /* Améliorations pour la section About sur très petits écrans */
    .about-content {
        padding: 0 0.5rem;
        gap: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
    }
    
    .about-intro {
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 1.2rem;
    }
    
    .about-vision {
        margin: 1.2rem 0;
    }
    
    .about-vision h3 {
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    
    .about-vision p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .about-features {
        margin: 1.2rem 0;
    }
    
    .about-features h3 {
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    .about-features p {
        font-size: 0.85rem;
        margin-bottom: 0.8rem;
    }
    
    .feature-list {
        margin: 0.8rem 0;
    }
    
    .feature-list li {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.6rem;
        padding: 0.4rem 0;
    }
    
    .feature-list li i {
        margin-right: 0.4rem;
        font-size: 0.75rem;
        min-width: 14px;
    }
    
    .about-conclusion {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-top: 1.2rem;
    }
    
    .about-logo i {
        font-size: 3.5rem !important;
        margin-bottom: 0.8rem;
    }
    
    .about-logo h3 {
        font-size: 1.1rem;
        margin-top: 0.8rem;
        line-height: 1.3;
    }
    
    /* Améliorations pour les listes de fonctionnalités sur très petits écrans */
    .service-features li,
    .benefit-list li {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
        padding: 0.25rem 0;
    }
    
    .service-features li::before,
    .benefit-list li i {
        margin-right: 0.3rem;
        font-size: 0.7rem;
    }
    
    .about[style*="background: linear-gradient"] .service-card {
        padding: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .about[style*="background: linear-gradient"] .service-card h3 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .about[style*="background: linear-gradient"] .service-card p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .about[style*="background: linear-gradient"] .service-features li {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 0.3rem;
    }
    
    /* Améliorations pour très petits écrans - Sections générales */
    .service-card,
    .benefit-item,
    .process-step,
    .industry-item,
    .sector-item,
    .expertise-item,
    .object-card,
    .target-card,
    .freedom-item,
    .why-choose-item,
    .module-card,
    .personalization-item,
    .support-item,
    .differentiator-item {
        padding: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    /* Small screens (<768px) - 1 colonne (comme col-12) */
    .industries-grid,
    .sectors-grid,
    .expertise-grid,
    .object-grid,
    .targets-grid,
    .freedom-grid,
    .why-choose-grid,
    .benefits-grid,
    .process-steps,
    .modules-grid,
    .personalization-grid,
    .support-grid,
    .differentiator-grid,
    .products-grid,
    .transport-services .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .service-card h3,
    .benefit-item h3,
    .process-step h3,
    .industry-item h3,
    .sector-item h3,
    .expertise-item h3,
    .object-card h3,
    .target-card h3,
    .module-card h3,
    .personalization-item h3,
    .support-item h3,
    .differentiator-item h4 {
        font-size: 1.1rem;
        margin-bottom: 0.6rem;
        line-height: 1.2;
    }
    
    .service-card p,
    .benefit-item p,
    .process-step p,
    .industry-item p,
    .sector-item p,
    .expertise-item p,
    .object-card p,
    .target-card p,
    .module-card p,
    .personalization-item p,
    .support-item p,
    .differentiator-item p {
        font-size: 0.85rem;
        line-height: 1.3;
        margin-bottom: 0.8rem;
    }
    
    .service-icon,
    .benefit-icon,
    .step-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 0.8rem;
    }
    
    .service-icon i,
    .benefit-icon i,
    .step-icon i {
        font-size: 1.3rem;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        top: -12px;
    }
    
    .service-features li,
    .benefit-list li,
    .module-features li,
    .personalization-item li,
    .support-item li {
        font-size: 0.8rem;
        line-height: 1.3;
        margin-bottom: 0.4rem;
        padding: 0.25rem 0;
    }
    
    .service-features li::before,
    .benefit-list li i,
    .module-features li::before,
    .personalization-item li::before,
    .support-item li::before {
        margin-right: 0.3rem;
        font-size: 0.7rem;
    }
    
    /* Améliorations pour très petits écrans - En-têtes et CTA */
    .section-header h2,
    .benefits h2,
    .process h2,
    .industries h2,
    .expertise h2,
    .object-social h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .cta {
        padding: 2rem 0.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.6rem;
        margin-bottom: 0.8rem;
        line-height: 1.2;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 1.2rem;
    }
    
    .cta-highlight {
        font-size: 1rem;
        margin: 0.8rem 0;
    }
    
    .cta-contact p {
        font-size: 0.85rem;
    }
    
    /* Améliorations pour les éléments de navigation sur très petits écrans */
    .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.8rem;
    }
    
    .dropdown-menu li a {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
    
    .language-selector {
        margin: 0;
        margin-right: 0.6rem;
    }
    
    .language-selector {
        gap: 5px;
    }
    
    .language-selector .lang-text,
    .language-selector .lang-text-dropdown {
        font-size: 12px;
    }
    
    .flag-container {
        width: 22px;
        height: 16px;
    }
    
    .flag-dropdown {
        width: 22px;
        height: 16px;
    }
    
    .footer-flag {
        width: 16px;
        height: 12px;
    }
    
    .footer-flag .flag-icon {
        width: 16px;
        height: 12px;
    }
    
    .footer-flag .flag-dropdown {
        width: 16px;
        height: 12px;
    }
    
    /* Classes utilitaires Bootstrap-like */
    .row {
        display: grid;
        gap: 1rem;
    }
    
    .col {
        grid-column: span 1;
    }
    
    .col-12 {
        grid-column: span 12;
    }
    
    .col-6 {
        grid-column: span 6;
    }
    
    .col-4 {
        grid-column: span 4;
    }
    
    .col-3 {
        grid-column: span 3;
    }
    
    /* Responsive breakpoints Bootstrap-like */
    @media (min-width: 576px) {
        .col-sm-12 { grid-column: span 12; }
        .col-sm-6 { grid-column: span 6; }
        .col-sm-4 { grid-column: span 4; }
        .col-sm-3 { grid-column: span 3; }
    
    /* CTA Section - Mobile Styles */
    .cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-highlight {
        font-size: 0.9rem;
        padding: 8px 16px;
        flex-direction: column;
        gap: 8px;
        margin-bottom: 1.5rem;
    }
    
    .cta-buttons .btn {
        padding: 14px 30px;
        font-size: 0.95rem;
        min-width: 160px;
    }
    }
    
    @media (min-width: 768px) {
        .col-md-12 { grid-column: span 12; }
        .col-md-6 { grid-column: span 6; }
        .col-md-4 { grid-column: span 4; }
        .col-md-3 { grid-column: span 3; }
        .row { grid-template-columns: repeat(12, 1fr); }
    }
    
    @media (min-width: 992px) {
        .col-lg-12 { grid-column: span 12; }
        .col-lg-6 { grid-column: span 6; }
        .col-lg-4 { grid-column: span 4; }
        .col-lg-3 { grid-column: span 3; }
    }
    
    @media (min-width: 1200px) {
        .col-xl-12 { grid-column: span 12; }
        .col-xl-6 { grid-column: span 6; }
        .col-xl-4 { grid-column: span 4; }
        .col-xl-3 { grid-column: span 3; }
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }
    
    .dropdown-menu {
        margin: 0.25rem 0.5rem;
    }
    
    .dropdown-menu li a {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .language-selector {
        margin-right: 0.5rem;
    }
    
    .flag-container {
        width: 24px;
        height: 18px;
    }
    
    .flag-dropdown {
        width: 24px;
        height: 18px;
    }
}

/* Quote Page Styles */
.devis-hero {
    min-height: 60vh;
}

.quote-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.quote-container {
    max-width: 100%;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.quote-header {
    background: #FFA500;
    color: var(--white);
    padding: 2rem;
    text-align: center;
}

.quote-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.quote-header p {
    opacity: 0.9;
    font-size: 1.1rem;
}

.quote-form {
    padding: 2rem;
}

.form-section {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-gray);
}

.form-section:last-of-type {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-section h3 i {
    color: #FFA500;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-weight: 500;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FFA500;
    box-shadow: 0 0 0 3px var(--primary-red-alpha-10);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Checkbox Grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover {
    background-color: var(--light-gray);
}

.checkbox-item input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-gray);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark {
    background-color: #FFA500;
    border-color: #FFA500;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: 'âÂÂÂÂÂÂÂÂÂÂÂÂ';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-size: 12px;
    font-weight: bold;
}

/* Form Submit */
.form-submit {
    background: var(--light-gray);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 2rem;
}

.submit-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.submit-buttons .btn {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Responsive Form */
@media (max-width: 768px) {
    .quote-container {
        margin: 0 1rem;
        border-radius: 8px;
    }
    
    .quote-header {
        padding: 1.5rem;
    }
    
    .quote-header h2 {
        font-size: 1.5rem;
    }
    
    .quote-form {
        padding: 1.5rem;
    }
    
    .form-section {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .checkbox-item {
        padding: 0.75rem;
        font-size: 0.95rem;
    }
    
    .submit-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .submit-buttons .btn {
        min-width: auto;
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .form-submit {
        padding: 1.5rem;
    }
}

/* File Upload Styles for Quote Form */

/* ERP Page Specific Styles */
.erp-presentation {
    padding: 80px 0;
    background: #f8f9fa;
}

.presentation-content {
    max-width: 1200px;
    margin: 0 auto;
}

.presentation-text {
    text-align: center;
    margin-bottom: 3rem;
}

.presentation-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
}

.differentiator {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.differentiator h3 {
    text-align: center;
    color: #4d0a0a;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.differentiator-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.differentiator-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease;
}

.differentiator-item:hover {
    transform: translateY(-5px);
}

.differentiator-item i {
    font-size: 2.5rem;
    color: #FFA500;
    margin-bottom: 1rem;
}

.differentiator-item h4 {
    color: #4d0a0a;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.differentiator-item p {
    color: #666;
    font-size: 0.9rem;
}

.philosophy {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #4d0a0a 0%, #8B0000 100%);
    border-radius: 10px;
    color: white;
}

.philosophy p {
    margin: 0;
    font-size: 1.1rem;
}

/* Modules Section */
.erp-modules {
    padding: 80px 0;
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.module-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    border-left: 4px solid #FFA500;
}

.module-card:hover {
    transform: translateY(-5px);
}

.module-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.module-icon i {
    font-size: 3rem;
    color: #4d0a0a;
}

.module-card h3 {
    color: #4d0a0a;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.module-features {
    list-style: none;
    padding: 0;
}

.module-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.module-features li::before {
    content: "*";
    position: absolute;
    left: 0;
    color: #FFA500;
    font-weight: bold;
}

/* Personalization Section */
.erp-personalization {
    padding: 80px 0;
    background: #f8f9fa;
}

.personalization-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.personalization-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.personalization-icon {
    margin-bottom: 1.5rem;
}

.personalization-icon i {
    font-size: 2.5rem;
    color: #FFA500;
}

.personalization-item h3 {
    color: #4d0a0a;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.personalization-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.personalization-item li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}

.personalization-item li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #FFA500;
    font-weight: bold;
}

.commitment {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #4d0a0a 0%, #8B0000 100%);
    border-radius: 10px;
    color: white;
}

.commitment p {
    margin: 0;
    font-size: 1.1rem;
}

/* Benefits Section */
.erp-benefits {
    padding: 80px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.benefit-category h3 {
    color: #4d0a0a;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}



/* Security Section */
.erp-security {
    padding: 80px 0;
    background: #f8f9fa;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.security-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.security-item h3 {
    color: #4d0a0a;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.security-item ul {
    list-style: none;
    padding: 0;
}

.security-item li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}



/* Technology Section */
.erp-technology {
    padding: 80px 0;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.technology-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.technology-item h3 {
    color: #4d0a0a;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    text-align: center;
}

.technology-item ul {
    list-style: none;
    padding: 0;
}

.technology-item li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}



/* Sectors Section */
.erp-sectors {
    padding: 80px 0;
    background: #f8f9fa;
}

.sectors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.sector-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.sector-icon {
    margin-bottom: 1.5rem;
}

.sector-icon i {
    font-size: 2.5rem;
    color: #FFA500;
}

.sector-item h3 {
    color: #4d0a0a;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.sector-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.sector-item li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}



/* Support Section */
.erp-support {
    padding: 80px 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.support-icon {
    margin-bottom: 1.5rem;
}

.support-icon i {
    font-size: 2.5rem;
    color: #FFA500;
}

.support-item h3 {
    color: #4d0a0a;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.support-item ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.support-item li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
}



/* Why Choose Section */
.erp-why-choose {
    padding: 80px 0;
    background: #f8f9fa;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.why-choose-item {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.why-choose-item:hover {
    transform: translateY(-3px);
}

.why-choose-item i {
    font-size: 2rem;
    color: #FFA500;
    margin-bottom: 1rem;
    display: block;
}

.why-choose-item span {
    color: #4d0a0a;
    font-weight: 600;
    font-size: 0.9rem;
}

/* ERP CTA Background */
.erp-cta-bg {
    background: linear-gradient(135deg, #4d0a0a 0%, #8B0000 100%);
    color: white;
}

.erp-cta-bg .cta-content h2 {
    color: white;
}

.erp-cta-bg .cta-content p {
    color: rgba(255, 255, 255, 0.9);
}

/* Security Page Specific Styles */
.about-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.about-vision {
    background: linear-gradient(135deg, #4d0a0a 0%, #8B0000 100%);
    padding: 2rem;
    border-radius: 15px;
    color: white;
    margin: 2rem 0;
}

.about-vision h3 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.about-vision p {
    margin: 0;
    font-size: 1.1rem;
}

.about-features {
    margin-top: 2rem;
}

.about-features h3 {
    color: #4d0a0a;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.feature-list li {
    padding: 0.75rem 0;
    color: #666;
    position: relative;
    padding-left: 2rem;
    font-size: 1rem;
}

.feature-list li i {
    position: absolute;
    left: 0;
    color: #FFA500;
    font-size: 1.1rem;
    top: 0.75rem;
}

.about-conclusion {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #FFA500;
    font-style: italic;
    color: #4d0a0a;
    margin-top: 2rem;
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.service-features li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}


/* Benefits Section */
.benefits {
    padding: 80px 0;
    background: #f8f9fa;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.benefit-icon {
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 3rem;
    color: #FFA500;
}

.benefit-item h3 {
    color: #4d0a0a;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.benefit-list {
    list-style: none;
    padding: 0;
    text-align: left;
}

.benefit-list li {
    padding: 0.5rem 0;
    color: #666;
    position: relative;
    padding-left: 1.5rem;
    font-size: 0.9rem;
}

.benefit-list li i {
    position: absolute;
    left: 0;
    color: #FFA500;
    font-size: 0.8rem;
    top: 0.5rem;
}

/* Dark Sections */
.about[style*="background: linear-gradient(135deg, #1a1a1a"] {
    color: white;
}

.about[style*="background: linear-gradient(135deg, #1a1a1a"] .service-card {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.about[style*="background: linear-gradient(135deg, #1a1a1a"] .service-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

.about[style*="background: linear-gradient(135deg, #2d2d2d"] {
    color: white;
}

.about[style*="background: linear-gradient(135deg, #2d2d2d"] .service-card {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.2);
}

.about[style*="background: linear-gradient(135deg, #2d2d2d"] .service-card:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-3px);
}

/* Responsive Design for Security */
@media (max-width: 768px) {
    .about-vision {
        padding: 1.5rem;
    }
    
    .about-vision p {
        font-size: 1rem;
    }
    
    .feature-list li {
        font-size: 0.9rem;
        padding-left: 1.5rem;
    }
    
    .feature-list li i {
        font-size: 1rem;
    }
    
    .about-conclusion {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-item {
        margin-bottom: 1rem;
    }
}

/* Responsive Design for ERP */
@media (max-width: 768px) {
    .differentiator-grid,
    .modules-grid,
    .personalization-grid,
    .benefits-grid,
    .security-grid,
    .technology-grid,
    .sectors-grid,
    .support-grid,
    .why-choose-grid {
        grid-template-columns: 1fr;
    }
    
    .differentiator-item,
    .module-card,
    .personalization-item,
    .benefit-category,
    .security-item,
    .technology-item,
    .sector-item,
    .support-item,
    .why-choose-item {
        margin-bottom: 1rem;
    }
    
    .philosophy,
    .commitment {
        padding: 1.5rem;
    }
    
    .philosophy p,
    .commitment p {
        font-size: 1rem;
    }
}
.file-upload-container {
    position: relative;
    margin-bottom: 1rem;
}

.file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.file-upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background: #f8f9fa;
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-upload-area:hover {
    border-color: #4d0a0a;
    background: #f0f0f0;
}

.file-upload-area i {
    font-size: 2rem;
    color: #666;
    margin-bottom: 1rem;
}

.file-upload-area p {
    margin: 0.5rem 0;
    color: #666;
    font-size: 0.9rem;
}

.file-size-limit,
.file-formats {
    font-size: 0.8rem;
    color: #999;
    margin: 0.25rem 0;
}

.file-preview {
    display: none;
    align-items: center;
    padding: 1rem;
    background: #e8f5e8;
    border: 1px solid #28a745;
    border-radius: 8px;
    margin-top: 1rem;
    gap: 1rem;
}

.file-preview i {
    font-size: 1.5rem;
    color: #28a745;
    flex-shrink: 0;
}

.file-preview img {
    max-width: 100px;
    max-height: 100px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 0.25rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.file-size {
    font-size: 0.8rem;
    color: #666;
}

.remove-file {
    background: none;
    border: none;
    color: #dc3545;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.remove-file:hover {
    background: #f8d7da;
    transform: scale(1.1);
}

/* Amélioration pour les uploads d'images */
.file-upload-area.dragover {
    border-color: #FFA500 !important;
    background-color: #fff3cd !important;
}

.file-upload-area.dragover i {
    color: #FFA500 !important;
}

/* Styles responsives pour les uploads */
@media (max-width: 768px) {
    .file-upload-area {
        padding: 1.5rem 1rem;
    }
    
    .file-upload-area i {
        font-size: 1.5rem;
    }
    
    .file-preview {
        flex-wrap: wrap;
        padding: 0.75rem;
    }
    
    .file-preview img {
        max-width: 80px;
        max-height: 80px;
    }
    
    .file-name {
        font-size: 0.9rem;
    }
}

.form-help {
    display: flex;
    align-items: flex-start;
    margin-top: 0.5rem;
    padding: 0.75rem;
    background: #e3f2fd;
    border-radius: 6px;
    border-left: 4px solid #2196f3;
}

.form-help i {
    color: #2196f3;
    margin-right: 0.5rem;
    margin-top: 0.1rem;
}

.form-help p {
    margin: 0;
    font-size: 0.85rem;
    color: #555;
    line-height: 1.4;
}

/* Service pages now use the same hero as devis.html */
/* All service pages use .devis-hero class for consistency */

/* Cestengros Products Section */
.cestengros-products {
    padding: 80px 0;
    background: var(--white);
}

.cestengros-products .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.cestengros-products .section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
}

.cestengros-products .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FFA500;
    border-radius: 2px;
}

.cestengros-products .section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.product-category {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.product-category:hover::before {
    transform: scaleX(1);
}

.product-category:hover {
    transform: translateY(-10px);
    border-color: #FFA500;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
}

.category-icon {
    width: 80px;
    height: 80px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    transition: all 0.3s ease;
}

.product-category:hover .category-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.category-icon i {
    font-size: 2rem;
    color: white;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #8B0000;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.category-description {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin: 0;
}

/* Responsive adjustments for products grid */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .product-category {
        padding: 2rem 1.5rem;
    }
    
    .cestengros-products .section-title {
        font-size: 2rem;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Cestengros About Section now uses generic .about styles like transport.html */

.transport-about {
    padding: 100px 0;
    background: var(--light-gray);
    position: relative;
}

.transport-about::before {
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: #FFA500;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 70%);
}

/* Service pages about section styling */
.about .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about .about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--black);
}

.about .about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-gray);
    line-height: 1.7;
}

.about .about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about .about-logo {
    position: relative;
    z-index: 2;
    text-align: center;
}

.about .about-logo h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem;
    color: #FFA500;
}

.about .about-logo p {
    font-size: 1rem;
    color: var(--text-gray);
    line-height: 1.6;
}

/* About section features list styling */
.about .about-features {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.about .about-features li {
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: rgba(139, 69, 19, 0.05);
    border-radius: 12px;
    border-left: 4px solid #FFA500;
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    transition: all 0.3s ease;
}

.about .about-features li:hover {
    background: rgba(139, 69, 19, 0.08);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* About objective styling */
.about .about-objective {
    margin-top: 2rem;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(255, 140, 0, 0.05) 100%);
    border-radius: 12px;
    border: 1px solid rgba(139, 69, 19, 0.1);
}

.about .about-objective h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFA500;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.about .about-objective h3 {
    font-size: 1.2rem;
}

.about .about-objective p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin: 0;
    font-weight: 500;
}

/* Service pages services section styling */
.services-preview .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.services-preview .service-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.services-preview .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.services-preview .service-icon {
    width: 80px;
    height: 80px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 2rem;
}

.services-preview .service-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--black);
}

.services-preview .service-card p {
    color: var(--black);
    line-height: 1.6;
}

.transport-about .about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.transport-about .about-text h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #FFA500;
    margin-bottom: 30px;
    position: relative;
}

.transport-about .about-text h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: #FFA500;
    border-radius: 2px;
}

.transport-about .about-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 25px;
}

.transport-about .about-image {
    position: relative;
}

.transport-about .about-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.transport-about .about-img:hover {
    transform: scale(1.05);
}

.transport-services {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

.transport-services::before {
    
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 25px;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #FFA500;
    border-radius: 2px;
}

.section-header p {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

.transport-services .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.services-categories {
    display: flex;
    flex-direction: column;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.service-category {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(139, 0, 0, 0.1);
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FFA500;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FFA500;
    border-radius: 2px;
}

.transport-services .service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid var(--primary-red-alpha-10);
    position: relative;
    overflow: hidden;
}



.transport-services .service-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.transport-services .service-card:hover::before {
    transform: scaleX(1);
}

.transport-services .service-icon {
    width: 90px;
    height: 90px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    box-shadow: 0 10px 25px rgba(139, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.transport-services .service-card:hover .service-icon {
    transform: scale(1.1);
}

.transport-services .service-icon i {
    font-size: 2.2rem;
    color: var(--white);
}

.transport-services .service-card h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #FFA500;
    margin-bottom: 20px;
}

.transport-services .service-card p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--white);
}

.transport-benefits {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}



.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.benefit-item {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #FFA500;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.benefit-item:hover::before {
    transform: scaleX(1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
    transition: transform 0.3s ease;
}

.benefit-item:hover .benefit-icon {
    transform: scale(1.1);
}

.benefit-icon i {
    font-size: 2rem;
    color: var(--white);
}

.benefit-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFA500;
    margin-bottom: 20px;
}

.benefit-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

.transport-sectors {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}



.sectors-content {
    position: relative;
    z-index: 2;
}

.sectors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.sector-category {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--primary-red-alpha-10);
    transition: transform 0.3s ease;
}

.sector-category:hover {
    transform: translateY(-5px);
}

.sector-title {
    font-size: 2rem;
    font-weight: 600;
    color: #FFA500;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.sector-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #FFA500;
    border-radius: 2px;
}

.minerals-grid,
.zones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 25px;
}

.mineral-item,
.zone-item {
    background: #8B0000;
    color: var(--white);
    padding: 15px 20px;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.2);
}

.mineral-item:hover,
.zone-item:hover {
    background: #FFA500;
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 165, 0, 0.3);
}

.transport-process {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}


.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

.process-step {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(139, 0, 0, 0.3);
}

.step-icon {
    width: 70px;
    height: 70px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 25px;
    box-shadow: 0 10px 25px rgba(255, 140, 0, 0.3);
}

.step-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.step-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #FFA500;
    margin-bottom: 15px;
}

.step-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-gray);
}

.cta-section {
    padding: 100px 0;
    background: #FFA500;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Service pages CTA section styling - inspired by index.html */
.cta {
    padding: 80px 0;
    background:rgba(0, 0, 0, 0.75) !important;
    color: var(--white);
    text-align: center;
}

.cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .cta-contact {
    margin-top: 2rem;
    opacity: 0.9;
}

.cta .cta-contact p {
    font-size: 1rem;
    margin: 0;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
}

.cta-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--white);
    border-radius: 2px;
}

.cta-subtitle {
    font-size: 1.3rem;
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-buttons .btn {
    padding: 18px 45px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

.cta-buttons .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.cta-buttons .btn:hover::before {
    left: 100%;
}

.cta-buttons .btn-primary {
    background: linear-gradient(135deg, #8B0000 0%, #A52A2A 100%);
    color: var(--white);
    border: 2px solid #8B0000;
    box-shadow: 0 8px 25px rgba(139, 0, 0, 0.3);
}

.cta-buttons .btn-primary:hover {
    background: linear-gradient(135deg, #FFA500 0%, #FF8C00 100%);
    color: var(--white);
    border-color: #FFA500;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 165, 0, 0.4);
}

.cta-buttons .btn-primary i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-buttons .btn-primary:hover i {
    transform: scale(1.2);
}

.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.1);
}

.cta-buttons .btn-secondary:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    color: #8B0000;
    border-color: var(--white);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}

.cta-buttons .btn-secondary i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.cta-buttons .btn-secondary:hover i {
    transform: scale(1.2);
}

.cta-buttons .btn:active {
    transform: translateY(-2px) scale(1.02);
}

/* Responsive Transport Page */
@media (max-width: 768px) {
    .transport-about .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .transport-about .about-text h2 {
        font-size: 2rem;
    }
    
    .transport-about .about-image {
        order: -1;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .transport-services .services-grid {
        grid-template-columns: 1fr;
    }
    
    .services-categories {
        gap: 40px;
    }
    
    .service-category {
        padding: 30px 20px;
    }
    
    .category-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .sectors-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .cta-buttons .btn {
        padding: 16px 35px;
        font-size: 1rem;
        min-width: 180px;
    }
    
    .cta-content h2 {
        font-size: 2.2rem;
    }
    
    .cta-content p {
        font-size: 1.1rem;
    }
    
    .cta-highlight {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Cestengros Page Styles */
.cestengros-hero {
    min-height: 70vh;
}

.cestengros-presentation {
    padding: 80px 0;
    background: var(--light-gray);
}

.presentation-content {
    max-width: 900px;
    margin: 0 auto;
}

.presentation-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1.5rem;
    text-align: center;
}

.presentation-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 2rem;
    text-align: center;
}

.targets-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.target-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.target-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #FFA500 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.target-icon i {
    font-size: 2rem;
    color: var(--white);
}

.target-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    line-height: 1.4;
}

.objective-card {
    background: linear-gradient(135deg, #FFA500 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(139, 0, 0, 0.3);
}

.objective-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.objective-card p {
    font-size: 1.1rem;
    line-height: 1.6;
    opacity: 0.95;
}

.cestengros-benefits {
    padding: 80px 0;
    background: var(--white);
}

.cestengros-benefits .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.cestengros-benefits .benefit-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.cestengros-benefits .benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-color: #FFA500;
}

.cestengros-benefits .benefit-icon {
    width: 70px;
    height: 70px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.cestengros-benefits .benefit-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.cestengros-benefits .benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

.cestengros-benefits .benefit-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.feature-list li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    position: relative;
    padding-left: 1.5rem;
}



.cestengros-products {
    padding: 80px 0;
    background: var(--light-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.product-category {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.product-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #FFA500 0%, var(--primary-red-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.category-icon i {
    font-size: 1.8rem;
    color: var(--white);
}

.product-category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

.product-category p {
    color: var(--text-gray);
    line-height: 1.6;
}

.cestengros-freedom {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.freedom-content {
    max-width: 1200px;
    margin: 0 auto;
}

.freedom-intro {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    border-left: 5px solid var(--primary-color);
}

.freedom-intro p {
    font-size: 1.2rem;
    color: var(--text-color);
    line-height: 1.6;
    margin: 0;
}

.freedom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.freedom-item {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.freedom-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.freedom-icon {
    width: 60px;
    height: 60px;
    background: #FF8C00;
    border-radius: 50%;
    display: flex;
    align-items: center;
    align-content: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.freedom-item:hover .freedom-icon {
    transform: scale(1.1);
}

.freedom-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.freedom-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.freedom-description {
    color: var(--text-color);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.freedom-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.freedom-benefits li {
    color: var(--text-color);
    padding: 0.5rem 0;
    position: relative;
    padding-left: 1.5rem;
}

.freedom-benefits li::before {
 
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 1.1rem;
}

.freedom-conclusion {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 165, 0, 0.1);
    border-radius: 15px;
    border: 2px solid var(--primary-color);
}

.freedom-conclusion h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.freedom-conclusion p {
    color: var(--text-color);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.cestengros-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #FFA500 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    text-align: center;
}

.cestengros-cta .cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cestengros-cta .cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Responsive Cestengros Page */
@media (max-width: 768px) {
    .presentation-text h2 {
        font-size: 2rem;
    }
    
    .targets-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cestengros-benefits .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .freedom-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .freedom-item {
        padding: 1.5rem;
    }
    
    .freedom-intro {
        padding: 1.5rem;
    }
    
    .freedom-intro p {
        font-size: 1.1rem;
    }
    
    .freedom-conclusion {
        padding: 1.5rem;
    }
    
    .freedom-conclusion h3 {
        font-size: 1.3rem;
    }
}

.cestengros-cta .cta-content h2 {
    font-size: 2rem;
}

/* ===== QUI SOMMES-NOUS PAGE STYLES ===== */

/* Object Social Section */
.object-social {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--white) 100%);
    position: relative;
}



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

.object-social h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 1rem;
    position: relative;
}

.object-social h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FFA500;
    border-radius: 2px;
}

.section-intro {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

.object-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.object-card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.object-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: #FFA500;
}

.object-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.object-icon {
    width: 70px;
    height: 70px;
    background: #FFA500;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.object-card:hover .object-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(139, 0, 0, 0.3);
}

.object-icon i {
    font-size: 28px;
    color: var(--white);
}

.object-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
    line-height: 1.3;
}

.object-card p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Expertise Section */
.expertise {
    padding: 80px 0;
    background: var(--white);
    position: relative;
}

.expertise h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 60px;
    position: relative;
}

.expertise h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: #FFA500;
    border-radius: 2px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.expertise-item {
    text-align: center;
    padding: 40px 20px;
    border-radius: 15px;
    background: var(--light-gray);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}



.expertise-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.expertise-item:hover::before {
    opacity: 1;
}

.expertise-item i {
    font-size: 50px;
    color: #FFA500;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.expertise-item:hover i {
    transform: scale(1.1);
    color: #FFA500;
}

.expertise-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}

.expertise-item p {
    color: var(--text-gray);
    line-height: 1.6;
    font-size: 0.95rem;
    position: relative;
    z-index: 2;
}

/* Responsive Design for Qui sommes-nous */
@media (max-width: 768px) {
    .object-social h2,
    .expertise h2 {
        font-size: 2rem;
    }
    
    .section-intro {
        font-size: 1rem;
        margin-bottom: 40px;
    }
    
    .object-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .object-card {
        padding: 30px 20px;
    }
    
    .object-icon {
        width: 60px;
        height: 60px;
    }
    
    .object-icon i {
        font-size: 24px;
    }
    
    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .expertise-item {
        padding: 30px 15px;
    }
    
    .expertise-item i {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .object-social,
    .expertise {
        padding: 60px 0;
    }
    
    .object-social h2,
    .expertise h2 {
        font-size: 1.8rem;
    }
    
    .object-card h3 {
        font-size: 1.2rem;
    }
    
    .expertise-item h3 {
        font-size: 1.1rem;
    }
}

/* ===== FACILITY MANAGEMENT PAGE STYLES ===== */

/* Benefits Section */
.benefits {
    padding: 4rem 0;
    background: #f8f9fa;
}

.benefits h2 {
    text-align: center;
    color: var(--black);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
}

.benefit-item {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-5px);
}

.benefit-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.benefit-icon i {
    font-size: 3rem;
    color: #4d0a0a;
}

.benefit-item h3 {
    color: #4d0a0a;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefit-list {
    list-style: none;
    padding: 0;
}

.benefit-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
    color: #666;
}

.benefit-list li i {
    position: absolute;
    left: 0;
    top: 0.2rem;
    color: #FFA500;
    font-size: 0.9rem;
}

/* Process Section */
.process {
    padding: 4rem 0;
    background: white;
}

.process h2 {
    text-align: center;
    color: var(--black);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.process-step {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #4d0a0a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step-icon {
    margin-bottom: 1rem;
}

.step-icon i {
    font-size: 2.5rem;
    color: #4d0a0a;
}

.process-step h3 {
    color: #4d0a0a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-step p {
    color: #666;
    line-height: 1.6;
}

/* Industries Section */
.industries {
    padding: 4rem 0;
    background: #f8f9fa;
}

.industries h2 {
    text-align: center;
    color: var(--black);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    font-weight: 600;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.industry-item {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.industry-item:hover {
    transform: translateY(-5px);
}

.industry-item i {
    font-size: 3rem;
    color: #4d0a0a;
    margin-bottom: 1rem;
}

.industry-item h3 {
    color: #4d0a0a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.industry-item p {
    color: #666;
    line-height: 1.6;
}

/* Facility Services Background */
.facility-services-bg {
    background: linear-gradient(135deg, #4d0a0a 0%, #8B0000 100%);
    color: white;
    background-image: url(imgs/bg_section.png);
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.facility-services-bg .section-title {
    color: var(--black);
}

.facility-services-bg .service-card {
    background: rgba(95, 2, 2, 0.616);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
}

.facility-services-bg .service-card:hover {
    background: #8B0000 !important;
}

.facility-services-bg .service-icon i {
    color: #8B0000;
}
.facility-services-bg .service-card:hover  .service-icon i {
    color: #FFA500 !important;
    ;
}
.facility-services-bg .service-card h3 {
    color: white;
}

.facility-services-bg .service-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Conditions de Partenariat Styles */
.conditions-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border-left: 4px solid #4d0a0a;
}

.conditions-section h3 {
    color: #4d0a0a;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.conditions-section li {
    padding: 0.5rem 0;
    color: #666;
    line-height: 1.6;
    position: relative;
    padding-left: 1.5rem;
}



.cta-section {
    margin-top: 3rem;
    padding: 2rem;
    background: linear-gradient(135deg, #4d0a0a 0%, #8B0000 100%);
    border-radius: 15px;
    text-align: center;
    color: white;
}

.cta-section h3 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-section .cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-primary {
    background: #FFA500;
    color: white;
    border: 2px solid #FFA500;
}

.cta-section .btn-primary:hover {
    background: #FF8C00;
    border-color: #FF8C00;
    transform: translateY(-2px);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-section .btn-secondary:hover {
    background: white;
    color: #4d0a0a;
    transform: translateY(-2px);
}

/* Career Page Styles */
.career-about {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.career-about .about-text h2 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.career-about .about-intro {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 2rem;
}

.career-about .about-vision {
    margin-bottom: 2rem;
}

.career-about .about-vision h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.career-about .about-features h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.career-about .feature-list {
    list-style: none;
    padding: 0;
}

.career-about .feature-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #ccc;
}

.career-about .feature-list li i {
    color: var(--primary-orange);
    margin-right: 1rem;
    width: 20px;
}

.career-about .about-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.career-about .about-logo-img {
    width: 120px;
    height: 120px;
    object-fit: contain;
}

/* Job Offers Section */
.job-offers {
    padding: 4rem 0;
    background: #f8f9fa;
}

.job-offers .section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.job-offers .section-header h2 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.job-offers .section-header p {
    color: #666;
    font-size: 1.1rem;
}

/* Job Filters */
.job-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-red);
    background: transparent;
    color: var(--primary-red);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.filter-btn:hover {
    background: var(--primary-red);
    color: white;
    transform: translateY(-2px);
}

.filter-btn.active {
    background: var(--primary-red);
    color: white;
    box-shadow: 0 4px 15px rgba(77, 10, 10, 0.3);
}

.filter-btn i {
    font-size: 1rem;
}

.job-count {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: normal;
}

/* Responsive filters */
@media (max-width: 768px) {
    .job-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

/* Job Grid */
.job-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.job-card {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e9ecef;
}

.job-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.job-header h3 {
    color: var(--primary-red);
    margin: 0;
    font-size: 1.3rem;
}

.job-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.job-type {
    background: var(--primary-orange);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-work-type {
    background: var(--dark-gray);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.job-details {
    margin-bottom: 1.5rem;
}

.job-details p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: #666;
    font-size: 0.9rem;
}

.job-details p i {
    margin-right: 0.5rem;
    color: var(--primary-orange);
    width: 16px;
}

.job-description {
    margin-bottom: 1.5rem;
}

.job-description p {
    color: #555;
    line-height: 1.6;
}

.job-requirements {
    margin-bottom: 2rem;
}

.job-requirements h4 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.job-requirements ul {
    list-style: none;
    padding: 0;
}

.job-requirements li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-size: 0.9rem;
}

.job-requirements li:last-child {
    border-bottom: none;
}

.apply-btn {
    width: 100%;
    text-align: center;
    padding: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* No Jobs State */
.no-jobs {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
}

.no-jobs i {
    color: #ddd;
    margin-bottom: 1rem;
}

.no-jobs h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

/* Career CTA */
.career-cta {
    background: linear-gradient(135deg, var(--primary-red) 0%, #6b0a0a 100%);
    color: white;
}

.career-cta .cta-content {
    text-align: center;
}

.career-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.career-cta p {
    color: #f0f0f0;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.career-cta .cta-highlight {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.career-cta .cta-highlight i {
    color: var(--primary-orange);
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.career-cta .cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.career-cta .cta-contact {
    border-top: 1px solid rgba(255,255,255,0.2);
    padding-top: 2rem;
}

.career-cta .cta-contact p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.career-cta .cta-contact p i {
    margin-right: 0.5rem;
    color: var(--primary-orange);
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        width: 200px;
    }
    
    .job-grid {
        grid-template-columns: 1fr;
    }
    
    .job-card {
        padding: 1.5rem;
    }
    
    .career-cta .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .career-cta .cta-buttons .btn {
        width: 250px;
    }
}

/* Admin File Preview Styles */
.file-info {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.file-info i {
    color: var(--primary-red);
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.file-info span {
    flex: 1;
    font-weight: 500;
    color: #333;
}

.file-info .btn {
    margin-left: 0.5rem;
}

.file-preview {
    margin-top: 1rem;
}

.file-preview h6 {
    color: var(--primary-red);
    font-weight: 600;
    margin-bottom: 1rem;
}

.file-preview iframe {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.file-preview img {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.file-preview .alert {
    border-radius: 8px;
    border: none;
}

.file-preview .alert-info {
    background-color: #e3f2fd;
    color: #0d47a1;
}

.file-preview .alert-warning {
    background-color: #fff3e0;
    color: #e65100;
}

/* Admin Application Styles */
.motivation-content {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary-orange);
    line-height: 1.6;
    white-space: pre-line;
}

/* Responsive File Preview */
@media (max-width: 768px) {
    .file-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .file-info .btn {
        margin-left: 0;
        margin-top: 0.5rem;
        width: 100%;
    }
    
    .file-preview iframe {
        height: 300px;
    }
}

/* Job Categories Styles */
.category-card {
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.category-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.category-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.category-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.category-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.category-description {
    color: #666;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* Category Form Styles */
.icon-preview {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.icon-preview i {
    font-size: 1.5rem;
    color: var(--primary-red);
}

/* Category Show Styles */
.category-details {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.category-details h6 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.category-details p {
    margin-bottom: 0.5rem;
}

.category-details .badge {
    font-size: 0.8rem;
}

/* Job Postings in Category */
.job-postings-table {
    margin-top: 1rem;
}

.job-postings-table th {
    background-color: #f8f9fa;
    border-top: none;
    font-weight: 600;
}

.job-postings-table td {
    vertical-align: middle;
}

/* Quick Actions */
.quick-actions {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1.5rem;
}

.quick-actions h6 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.quick-actions .btn {
    margin-bottom: 0.5rem;
}

/* Statistics */
.statistics-card {
    background: linear-gradient(135deg, var(--primary-red) 0%, #6b0a0a 100%);
    color: white;
    border-radius: 8px;
    padding: 1.5rem;
}

.statistics-card h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.statistics-card small {
    color: rgba(255,255,255,0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-actions {
        flex-direction: column;
    }
    
    .category-actions .btn {
        width: 100%;
    }
}

/* Application Form Styles */
.job-details-section {
    padding: 4rem 0;
    background: #f8f9fa;
}

.job-details-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
}

.job-details-header {
    padding: 2rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, #6b0a0a 100%);
    color: white;
}

.job-title-section h2 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.job-category {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
}

.job-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.job-meta-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.job-meta-item i {
    font-size: 1.5rem;
    color: rgba(255,255,255,0.8);
}

.job-meta-item div {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.meta-value {
    font-weight: 600;
    font-size: 1rem;
}

.job-details-content {
    padding: 2rem;
}

.job-section {
    margin-bottom: 2rem;
}

.job-section h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.job-section h3 i {
    font-size: 1.2rem;
}

.requirements-list,
.benefits-list {
    list-style: none;
    padding: 0;
}

.requirements-list li,
.benefits-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-left: 1.5rem;
}


.benefits-list li:before {
    content: "*";
    position: absolute;
    left: 0;
    color: #FFA500;
    font-weight: bold;
}

/* Application Form */
.application-form-section {
    padding: 4rem 0;
}

.application-form-content {
    max-width: 100%;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-header h2 {
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.form-header p {
    color: #666;
    font-size: 1.1rem;
}

.form-section {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
}

.section-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.section-header h3 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-header h3 i {
    font-size: 1.2rem;
}

.section-header p {
    color: #666;
    margin: 0;
    font-size: 0.9rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(77, 10, 10, 0.1);
}

.form-help {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.8rem;
    color: #666;
}

.word-count {
    text-align: right;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: #666;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #e9ecef;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-red);
    border-color: var(--primary-red);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: "*";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.form-submit {
    text-align: center;
    margin-top: 3rem;
}

.form-submit .btn {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.submit-note {
    margin-top: 1rem;
    color: #666;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Alerts */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.alert i {
    font-size: 1.2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-meta-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .job-details-header,
    .job-details-content {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-submit .btn {
        width: 100%;
    }
}

/* ===== PROJECTS STYLES ===== */

/* Projects Hero */
.projects-hero {
    background: linear-gradient(135deg, var(--primary-red-darker) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Featured Projects */
.featured-projects {
    padding: 80px 0;
    background: var(--light-gray);
}

.featured-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.featured-project-card .project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-project-card:hover .project-image img {
    transform: scale(1.05);
}

.featured-project-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(255, 140, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-project-card:hover .project-overlay {
    opacity: 1;
}

.featured-project-card .project-category {
    background: var(--white);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.featured-project-card .project-content {
    padding: 1.5rem;
}

.featured-project-card h3 {
    color: var(--dark-gray);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.featured-project-card .project-client {
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.featured-project-card .project-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.featured-project-card .project-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.featured-project-card .project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.featured-project-card .project-status.completed {
    background: #d4edda;
    color: #155724;
}

.featured-project-card .project-status.ongoing {
    background: #fff3cd;
    color: #856404;
}

.featured-project-card .project-status.planned {
    background: #d1ecf1;
    color: #0c5460;
}

.featured-project-card .project-duration {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* Projects Filter */
.projects-filter {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
}

.filter-container {
    max-width: 800px;
    margin: 0 auto;
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.filter-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    background: var(--white);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Projects Grid */
.projects-grid {
    padding: 60px 0;
    background: var(--light-gray);
}

.projects-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.project-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-card .project-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(255, 140, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card .project-category {
    background: var(--white);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-card .project-link {
    color: var(--white);
    font-size: 1.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.project-card .project-link:hover {
    transform: scale(1.1);
}

.project-card .project-content {
    padding: 1.5rem;
}

.project-card h3 {
    color: var(--dark-gray);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.project-card .project-client {
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.project-card .project-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.project-card .project-meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.project-card .project-status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.project-card .project-status.completed {
    background: #d4edda;
    color: #155724;
}

.project-card .project-status.ongoing {
    background: #fff3cd;
    color: #856404;
}

.project-card .project-status.planned {
    background: #d1ecf1;
    color: #0c5460;
}

.project-card .project-location {
    color: var(--text-gray);
    font-size: 0.875rem;
}

.project-card .project-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.project-card .btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* No Projects */
.no-projects {
    text-align: center;
    padding: 4rem 0;
}

.no-projects-content {
    max-width: 500px;
    margin: 0 auto;
}

.no-projects-content i {
    font-size: 4rem;
    color: var(--border-gray);
    margin-bottom: 1rem;
}

.no-projects-content h3 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.no-projects-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
}

.no-projects-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.pagination-container .pagination {
    display: flex;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pagination-container .page-item {
    margin: 0;
}

.pagination-container .page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.pagination-container .page-link:hover {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

.pagination-container .page-item.active .page-link {
    background: var(--primary-red);
    color: var(--white);
    border-color: var(--primary-red);
}

/* Project Details */
.project-hero {
    padding: 80px 0;
    background: var(--light-gray);
}

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

.project-hero-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.project-hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.project-hero-info h1 {
    color: var(--dark-gray);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.project-category-badge {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-hero-info .project-client {
    color: var(--primary-red);
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.project-hero-info .project-location {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.project-meta {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.meta-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.meta-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.project-details {
    padding: 80px 0;
}

.project-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.project-main-content {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-section {
    margin-bottom: 2rem;
}

.project-section:last-child {
    margin-bottom: 0;
}

.project-section h2 {
    color: var(--dark-gray);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-red);
}

.project-section p {
    color: var(--text-gray);
    line-height: 1.8;
}

.project-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.project-sidebar-section {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.project-sidebar-section h3 {
    color: var(--dark-gray);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.project-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.project-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-gray);
}

.project-info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: var(--dark-gray);
}

.info-value {
    color: var(--text-gray);
}

.project-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.project-actions .btn {
    text-align: center;
    padding: 0.75rem 1rem;
}

/* Project Gallery */
.project-gallery {
    padding: 60px 0;
    background: var(--light-gray);
}

.project-gallery h2 {
    text-align: center;
    color: var(--dark-gray);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Related Projects */
.related-projects {
    padding: 60px 0;
    background: var(--white);
}

.related-projects h2 {
    text-align: center;
    color: var(--dark-gray);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.related-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.related-project-card {
    background: var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.related-project-card:hover {
    transform: translateY(-5px);
}

.related-project-card .project-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.related-project-card .project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.related-project-card:hover .project-image img {
    transform: scale(1.05);
}

.related-project-card .project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.8) 0%, rgba(255, 140, 0, 0.8) 100%);
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.related-project-card:hover .project-overlay {
    opacity: 1;
}

.related-project-card .project-category {
    background: var(--white);
    color: var(--primary-red);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.related-project-card .project-content {
    padding: 1.5rem;
}

.related-project-card h3 {
    color: var(--dark-gray);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.related-project-card .project-client {
    color: var(--primary-red);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

.related-project-card .project-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.related-project-card .project-meta {
    margin-bottom: 1rem;
}

/* Service Navigation */
.service-navigation {
    padding: 40px 0;
    background: var(--white);
    border-bottom: 1px solid var(--border-gray);
}

.service-nav {
    text-align: center;
}

.service-nav h3 {
    color: var(--dark-gray);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.service-nav-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.service-nav-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--light-gray);
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.service-nav-link:hover {
    background: var(--primary-red);
    color: var(--white);
}

.service-nav-link.active {
    background: var(--primary-red);
    color: var(--white);
}

/* Service Projects Hero */
.service-projects-hero {
    background: linear-gradient(135deg, var(--primary-red-darker) 0%, var(--primary-red-dark) 100%);
    color: var(--white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
}

.service-projects-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-projects-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: auto;
    }
    
    .projects-grid-container {
        grid-template-columns: 1fr;
    }
    
    .project-hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-hero-info h1 {
        font-size: 2rem;
    }
    
    .project-details-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .project-meta {
        grid-template-columns: 1fr;
    }
    
    .service-nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .service-nav-link {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .project-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    .related-projects-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .featured-project-card .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-card .project-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .project-card .project-actions {
        flex-direction: column;
    }
    
    .no-projects-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .project-hero-info h1 {
        font-size: 1.75rem;
    }
    
    .project-sidebar-section {
        padding: 1rem;
    }
}

/* Cookie Consent Banner */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9998;
    padding: 1.5rem 0;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-consent-text {
    flex: 1;
}

.cookie-consent-text h4 {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.cookie-consent-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-consent-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.cookie-consent-buttons .btn-primary {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
}

.cookie-consent-buttons .btn-primary:hover {
    background: #e67e00;
    border-color: #e67e00;
    transform: translateY(-2px);
}

.cookie-consent-buttons .btn-outline-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.8);
}

.cookie-consent-buttons .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
}

.cookie-consent-buttons .btn-link {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: underline;
    padding: 0.5rem 1rem;
}

.cookie-consent-buttons .btn-link:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

/* Cookie Settings Modal */
.cookie-category {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid var(--border-gray);
    border-radius: 8px;
    background: var(--light-gray);
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.cookie-category-header h6 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-gray);
    margin: 0;
}

.cookie-category p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.form-check-input:checked {
    background-color: var(--primary-orange);
    border-color: var(--primary-orange);
}

.form-check-input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .cookie-consent-text h4 {
        font-size: 1.1rem;
    }

    .cookie-consent-text p {
        font-size: 0.9rem;
    }

    .cookie-consent-buttons {
        flex-direction: column;
        width: 100%;
        gap: 0.75rem;
    }

    .cookie-consent-buttons .btn {
        width: 100%;
        padding: 1rem 1.5rem;
    }

    .cookie-category {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .cookie-category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .cookie-consent-banner {
        padding: 1rem 0;
    }

    .cookie-consent-content {
        padding: 0 15px;
    }

    .cookie-consent-text h4 {
        font-size: 1rem;
    }

    .cookie-consent-text p {
        font-size: 0.85rem;
    }
    #dropdownUl li{
        display: block !important;
       }
}

/* ===========================================
   STYLES POUR ÉCRANS TRÈS PETITS (400px et moins)
   =========================================== */
@media (max-width: 400px) {
    /* Header et Navigation */
    .header {
        padding: 0.5rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand .logo-img {
        width: 75px;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 0.875rem;
    }
    
    .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
    
    /* Menu de navigation mobile */
    .navbar-nav {
        padding: 0.5rem 0;
    }
    
    .nav-item {
        margin: 0.25rem 0;
        width: 100%;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.375rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Dropdown mobile */
    .dropdown-menu {
        margin-left: 1rem;
        padding: 0.5rem 0;
        background: rgba(0, 0, 0, 0.8);
        border: none;
        box-shadow: none;
    }
    
    .dropdown-item {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    /* Sélecteur de langue */
    .language-selector {
        margin-left: 0.5rem;
    }
    
    .flag-container {
        padding: 0.25rem;
    }
    
    .flag-icon,
    .flag-icon-dropdown {
        width: 18px;
        height: 14px;
    }
    
    .lang-text {
        font-size: 0.75rem;
        margin-left: 0.25rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 0 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        line-height: 1.4;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    /* Boutons */
    .btn {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        border-radius: 0.375rem;
    }
    
    .btn-sm {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }
    
    /* Sections de contenu */
    .about {
        padding: 2rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .about-intro {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .about-text p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .about-visual {
        margin-top: 1rem;
    }
    
    .about-logo {
        width: 120px;
        height: 120px;
    }
    
    /* Listes */
    .feature-list li {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .feature-list li i {
        font-size: 0.9rem;
        margin-right: 0.75rem;
        width: 16px;
    }
    
    /* Section CTA */
    .cta {
        padding: 2rem 0;
    }
    
    .cta-content {
        padding: 0 1rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .cta-content p {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-highlight {
        padding: 1rem;
        margin-bottom: 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-highlight i {
        font-size: 1.5rem;
    }
    
    .cta-highlight span {
        font-size: 0.9rem;
        text-align: center;
    }
    
    .cta-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .cta-buttons .btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    /* Footer */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
        font-size: 0.9rem;
    }
    
    .footer-section .contact-item {
        margin-bottom: 0.75rem;
        font-size: 0.9rem;
    }
    
    .footer-section .contact-item i {
        margin-right: 0.75rem;
        width: 16px;
    }
    
    .social-links {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .social-links a {
        width: 35px;
        height: 35px;
    }
    
    .footer-bottom {
        padding-top: 1rem;
        font-size: 0.85rem;
    }
    
    /* Container et espacements */
    .container {
        padding: 0 1rem;
    }
    
    /* Page Terms - Style documentaire */
    .terms-document {
        padding: 2rem 0;
    }
    
    .document-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
    }
    
    .document-header h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .document-intro {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .document-meta {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .document-content {
        padding: 0 1rem;
    }
    
    .section {
        margin-bottom: 2rem;
    }
    
    .section h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
    }
    
    .section p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .company-details li, 
    .hosting-info li {
        margin-bottom: 0.5rem;
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .service-rules li {
        margin-bottom: 0.5rem;
        padding-left: 1rem;
        font-size: 0.9rem;
    }
    
    .hosting-details {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .hosting-details h4 {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .document-footer {
        margin-top: 2rem;
        padding: 1.5rem;
    }
    
    .document-footer p {
        margin: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    /* Formulaires */
    .quote-container {
        margin: 0 1rem;
    }
    
    .quote-header {
        padding: 1.5rem;
    }
    
    .quote-header h2 {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .quote-header p {
        font-size: 0.9rem;
    }
    
    .quote-form {
        padding: 1.5rem;
    }
    
    .form-section {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }
    
    .form-section h3 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .form-section h3 i {
        margin-right: 0.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .checkbox-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .checkmark {
        width: 18px;
        height: 18px;
        margin-right: 0.75rem;
    }
    
    .form-submit {
        margin-top: 1.5rem;
    }
    
    .submit-buttons {
        flex-direction: column;
        gap: 0.75rem;
        width: 100%;
    }
    
    .submit-buttons .btn {
        width: 100%;
        padding: 0.75rem 1rem;
    }
    
    /* Cookie Consent */
    .cookie-consent-banner {
        padding: 1rem 0;
    }
    
    .cookie-consent-content {
        padding: 0 1rem;
        gap: 1rem;
    }
    
    .cookie-consent-text h4 {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    .cookie-consent-text p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
    
    .cookie-consent-buttons {
        gap: 0.5rem;
    }
    
    .cookie-consent-buttons .btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
    }
    
    .cookie-category {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .cookie-category-header h6 {
        font-size: 1rem;
    }
    
    .cookie-category p {
        font-size: 0.85rem;
    }
    
    /* Utilitaires pour petits écrans */
    .d-none-xs { display: none !important; }
    .d-block-xs { display: block !important; }
    .d-flex-xs { display: flex !important; }
    
    .text-center-xs { text-align: center !important; }
    .text-left-xs { text-align: left !important; }
    
    .w-100-xs { width: 100% !important; }
    .h-auto-xs { height: auto !important; }
    
    .p-0-xs { padding: 0 !important; }
    .p-1-xs { padding: 0.25rem !important; }
    .p-2-xs { padding: 0.5rem !important; }
    .p-3-xs { padding: 1rem !important; }
    
    .m-0-xs { margin: 0 !important; }
    .m-1-xs { margin: 0.25rem !important; }
    .m-2-xs { margin: 0.5rem !important; }
    .m-3-xs { margin: 1rem !important; }
}

/* ===================================
   GALERIE DE PROJETS ET MODAL
   =================================== */

/* Galerie de projets */
.project-gallery {
    padding: 60px 0;
    background: #f8f9fa;
}

.project-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay i {
    color: white;
    font-size: 2rem;
}

/* Modal d'image */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    text-align: center;
    top: 50%;
    transform: translateY(-50%);
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #f1f1f1;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
}

#modalImage {
    max-width: 100%;
    max-height: 70vh;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

#modalCaption {
    color: white;
    font-size: 1.1rem;
    margin-top: 15px;
    font-weight: 500;
}

/* Galerie admin */
.gallery-admin-item,
.gallery-edit-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.gallery-item-overlay,
.gallery-edit-overlay {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border-radius: 4px;
}

/* Responsive galerie */
@media (max-width: 768px) {
    .project-gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }
    
    .gallery-item img {
        height: 200px;
    }
    
    .modal-content {
        width: 95%;
        padding: 15px;
    }
    
    .close-modal {
        top: 5px;
        right: 15px;
        font-size: 30px;
    }
}

@media (max-width: 480px) {
    .project-gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .gallery-item img {
        height: 180px;
    }
    
    .gallery-overlay i {
        font-size: 1.5rem;
    }
}

/* ===================================
   PRÉVISUALISATION DES IMAGES ADMIN
   =================================== */

.gallery-preview-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
}

.gallery-preview-item:hover {
    transform: scale(1.02);
}

.gallery-preview-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.gallery-preview-item small {
    font-size: 0.75rem;
    color: #6c757d;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Amélioration des formulaires admin */
.form-control:focus {
    border-color: var(--primary-orange, #ff6b35);
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

.invalid-feedback {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Responsive pour la prévisualisation */
@media (max-width: 768px) {
    .gallery-preview-item {
        margin-bottom: 10px;
    }
    
    .gallery-preview-item img {
        height: 60px;
    }
    
    .gallery-preview-item small {
        font-size: 0.7rem;
    }
}

/* Mega Menu - Styles spécifiques pour centrer et limiter la largeur */
.nav-item.dropdown {
    position: relative !important;
}

.nav-item.dropdown .mega-menu,
#shopDropdown + .mega-menu,
.dropdown-menu.mega-menu {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    /*width: 100vw !important;*/
    max-width: 1200px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    z-index: 1050 !important;
    overflow-y: scroll !important;
}

/* Styles pour la pagination - Design inspiré Bootstrap 5 avec couleur rouge bordeaux */
.pagination {
    justify-content: center !important;
    margin: 2rem 0 !important;
    list-style: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.25rem !important;
}

.pagination .page-item {
    margin: 0 !important;
    list-style: none !important;
}

.pagination .page-link {
    color: #800020 !important;
    background-color: #fff !important;
    border: 1px solid #dee2e6 !important;
    padding: 0.5rem 0.75rem !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border-radius: 0.375rem !important;
    display: inline-block !important;
    line-height: 1.5 !important;
    min-width: auto !important;
    position: relative !important;
}

.pagination .page-link:hover,
.pagination .page-link:focus {
    color: #fff !important;
    background-color: #800020 !important;
    border-color: #800020 !important;
    z-index: 2 !important;
    text-decoration: none !important;
}

.pagination .page-item.active .page-link {
    color: #fff !important;
    background-color: #800020 !important;
    border-color: #800020 !important;
    z-index: 3 !important;
}

.pagination .page-item.active .page-link:hover,
.pagination .page-item.active .page-link:focus {
    color: #fff !important;
    background-color: #800020 !important;
    border-color: #800020 !important;
}

.pagination .page-item.disabled .page-link {
    color: #6c757d !important;
    background-color: #fff !important;
    border-color: #dee2e6 !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.pagination .page-link i.fas.fa-chevron-left,
.pagination .page-link i.fas.fa-chevron-right {
    font-size: 0.875rem !important;
    vertical-align: middle !important;
    display: inline-block !important;
}

/* Styles supplémentaires pour garantir l'application du style rouge bordeaux */
nav .pagination .page-link,
ul.pagination .page-link,
nav ul.pagination .page-link {
    color: #800020 !important;
    background-color: #fff !important;
    border-color: #dee2e6 !important;
}

nav .pagination .page-link:hover,
nav .pagination .page-link:focus,
ul.pagination .page-link:hover,
ul.pagination .page-link:focus,
nav ul.pagination .page-link:hover,
nav ul.pagination .page-link:focus {
    color: #fff !important;
    background-color: #800020 !important;
    border-color: #800020 !important;
}

nav .pagination .page-item.active .page-link,
ul.pagination .page-item.active .page-link,
nav ul.pagination .page-item.active .page-link {
    color: #fff !important;
    background-color: #800020 !important;
    border-color: #800020 !important;
}

@media (min-width: 769px) {
    .nav-item.dropdown:hover .mega-menu,
    .nav-item.dropdown.show .mega-menu,
    .dropdown:hover .mega-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateX(-50%) !important;
    }
}

/* ============================================
   MOBILE MENU RESPONSIVE STYLES
   ============================================ */

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    user-select: none;
    -webkit-user-select: none;
}

.mobile-menu-toggle:active {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(0.95);
}

.mobile-menu-toggle .hamburger-line {
    width: 100%;
    height: 3px;
    background-color: var(--white);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    pointer-events: none;
    display: block;
}

.mobile-menu-toggle.active {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Ne plus transformer le hamburger en X, on le cache simplement */
.mobile-menu-toggle.active .hamburger-line:nth-child(1),
.mobile-menu-toggle.active .hamburger-line:nth-child(2),
.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    opacity: 0;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobile Menu Sidebar */
.mobile-menu-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: linear-gradient(135deg, #800020 0%, #600018 100%);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
}

.mobile-menu-sidebar.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: transform 0.3s ease;
    z-index: 1003;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    min-height: 40px;
    -webkit-tap-highlight-color: transparent;
}

.mobile-menu-close:hover {
    transform: rotate(90deg);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.mobile-menu-close:active {
    transform: rotate(90deg) scale(0.95);
}

.mobile-menu-close i {
    pointer-events: none;
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-menu-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-action-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: var(--white);
}

.mobile-action-btn i {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.mobile-action-btn span {
    font-size: 0.75rem;
}

.mobile-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: bold;
}

/* Mobile Nav List */
.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-link i:first-child {
    width: 24px;
    margin-right: 1rem;
    font-size: 1.2rem;
}

.mobile-nav-link span {
    flex: 1;
    font-size: 1rem;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-orange);
    padding-left: 2rem;
}

.mobile-dropdown-toggle {
    justify-content: space-between;
}

.mobile-dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 0.875rem;
    margin-left: auto;
}

.mobile-dropdown-toggle.active .mobile-dropdown-arrow {
    transform: rotate(180deg);
}

.mobile-dropdown-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(0, 0, 0, 0.2);
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-dropdown-menu.show {
    max-height: 500px;
}

.mobile-dropdown-link {
    display: block;
    padding: 0.75rem 1.5rem 0.75rem 3.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-link:hover,
.mobile-dropdown-link.active {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-orange);
    padding-left: 4rem;
}

.mobile-menu-footer {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

.mobile-currency-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
}

.mobile-currency-select option {
    color: #333;
}

/* Hide desktop actions on mobile */
@media (max-width: 991px) {
    .desktop-actions {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .navbar-collapse {
        display: none !important;
    }
}

/* Desktop: Hide mobile menu */
@media (min-width: 992px) {
    .mobile-menu-toggle,
    .mobile-menu-overlay,
    .mobile-menu-sidebar {
        display: none !important;
    }
    
    .desktop-actions {
        display: flex !important;
    }
    
    .navbar-collapse {
        display: flex !important;
    }
}

/* Override Bootstrap bg-primary with Bordeaux red */
.bg-primary {
    background-color: #800020 !important;
}

.btn-primary {
    background-color: #800020;
    border-color: #800020;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #600018;
    border-color: #600018;
}

.text-primary {
    color: #800020 !important;
}

.border-primary {
    border-color: #800020 !important;
}

/* Espacement pour les breadcrumbs dans les pages de boutique */
.shop-section .breadcrumb {
    margin-top: 2rem !important;
    padding-top: 1rem;
}

.shop-section .container > .breadcrumb:first-child {
    margin-top: 2rem !important;
    padding-top: 1.5rem;
}

/* Styles pour les cartes de produits - Responsive et compact */
.product-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15) !important;
}

.product-card-image {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.product-card-placeholder-icon {
    font-size: 2rem;
}

.product-card-badges-right {
    top: 8px;
    right: 8px;
    z-index: 10;
}

.product-card-badges-left {
    top: 8px;
    left: 8px;
    z-index: 10;
}

.product-card-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    margin-bottom: 0.25rem;
    display: block;
}

.product-card-body {
    padding: 1rem;
}

.product-card-seller {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 5px;
    background: #f0f9f0;
    border-radius: 3px;
    border-left: 2px solid #28a745;
    margin-bottom: 0.35rem;
}

.product-card-seller-avatar,
.product-card-seller-avatar-placeholder {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
    border: 1.5px solid #28a745;
    flex-shrink: 0;
}

.product-card-seller-avatar-placeholder {
    background: #28a745;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.product-card-seller-avatar-placeholder i {
    font-size: 9px;
    color: white;
}

.product-card-seller-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.product-card-seller-name {
    font-weight: 600;
    font-size: 0.6rem;
    color: #28a745;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.1;
}

.product-card-seller-badge-wrapper {
    line-height: 1;
    overflow: hidden;
}

.product-card-seller-badge-wrapper .seller-badge {
    margin-bottom: 0 !important;
    padding: 1px 4px !important;
    font-size: 0.55rem !important;
    line-height: 1.1 !important;
    border-radius: 12px !important;
    gap: 2px !important;
    display: inline-flex !important;
    align-items: center !important;
}

.product-card-seller-badge-wrapper .seller-badge .certified-circle,
.product-card-seller-badge-wrapper .seller-badge .diamond-circle,
.product-card-seller-badge-wrapper .seller-badge .gold-circle,
.product-card-seller-badge-wrapper .seller-badge .premium-circle {
    width: 12px !important;
    height: 12px !important;
    margin-right: 2px !important;
    flex-shrink: 0 !important;
}

.product-card-seller-badge-wrapper .seller-badge .certified-circle i,
.product-card-seller-badge-wrapper .seller-badge .diamond-circle i,
.product-card-seller-badge-wrapper .seller-badge .gold-circle i,
.product-card-seller-badge-wrapper .seller-badge .premium-circle i {
    font-size: 7px !important;
}

.product-card-seller-badge-wrapper .seller-badge i.fa-star {
    font-size: 8px !important;
    margin-left: 1px !important;
}

.product-card-seller-badge-wrapper .seller-badge .badge-label {
    font-size: 0.55rem !important;
    margin-left: 1px !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
}

.product-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.6em;
}

.product-card-category {
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
}

.product-card-description {
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
}

.product-card-price-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-bottom: 0.4rem;
}

.product-card-compare-price {
    font-size: 0.7rem;
    text-decoration: line-through;
    color: #6c757d;
    line-height: 1.2;
}

.product-card-price-value {
    font-size: 1rem;
    font-weight: 700;
    color: #800020;
    line-height: 1.2;
}

.product-card-wholesale-wrapper {
    margin-bottom: 0.4rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.product-card-wholesale-min {
    line-height: 1.2;
}

.product-card-wholesale-min small {
    font-size: 0.6rem;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.product-card-wholesale-min i {
    font-size: 0.55rem;
    color: #6c757d;
}

.product-card-wholesale-price-range {
    line-height: 1.2;
}

.product-card-wholesale-price-range small {
    font-size: 0.65rem;
    font-weight: 600;
    color: #28a745;
}

.product-card-actions {
    gap: 0.5rem;
}

.product-card-btn-view,
.product-card-btn-cart {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    white-space: nowrap;
}

.product-card-btn-cart {
    padding: 0.4rem 0.6rem;
    flex-shrink: 0;
}

/* Responsive - Mobile */
@media (max-width: 576px) {
    .product-card-image {
        height: 180px;
    }
    
    .product-card-body {
        padding: 0.75rem;
    }
    
    .product-card-title {
        font-size: 0.85rem;
        min-height: 2.4em;
    }
    
    .product-card-description {
        font-size: 0.75rem;
        min-height: 2.4em;
    }
    
    .product-card-seller {
        padding: 2px 4px;
        gap: 4px;
    }
    
    .product-card-seller-avatar,
    .product-card-seller-avatar-placeholder {
        width: 18px;
        height: 18px;
    }
    
    .product-card-seller-avatar-placeholder i {
        font-size: 8px;
    }
    
    .product-card-seller-name {
        font-size: 0.55rem;
    }
    
    .product-card-seller-badge-wrapper .seller-badge {
        padding: 1px 3px !important;
        font-size: 0.5rem !important;
    }
    
    .product-card-seller-badge-wrapper .seller-badge .certified-circle,
    .product-card-seller-badge-wrapper .seller-badge .diamond-circle,
    .product-card-seller-badge-wrapper .seller-badge .gold-circle,
    .product-card-seller-badge-wrapper .seller-badge .premium-circle {
        width: 10px !important;
        height: 10px !important;
        margin-right: 1px !important;
    }
    
    .product-card-seller-badge-wrapper .seller-badge .certified-circle i,
    .product-card-seller-badge-wrapper .seller-badge .diamond-circle i,
    .product-card-seller-badge-wrapper .seller-badge .gold-circle i,
    .product-card-seller-badge-wrapper .seller-badge .premium-circle i {
        font-size: 6px !important;
    }
    
    .product-card-seller-badge-wrapper .seller-badge i.fa-star {
        font-size: 7px !important;
    }
    
    .product-card-seller-badge-wrapper .seller-badge .badge-label {
        font-size: 0.5rem !important;
    }
    
    .product-card-price-value {
        font-size: 0.95rem;
    }
    
    .product-card-compare-price {
        font-size: 0.65rem;
    }
    
    .product-card-wholesale-min small {
        font-size: 0.55rem;
    }
    
    .product-card-wholesale-min i {
        font-size: 0.5rem;
    }
    
    .product-card-wholesale-price-range small {
        font-size: 0.6rem;
    }
    
    .product-card-btn-view,
    .product-card-btn-cart {
        font-size: 0.75rem;
        padding: 0.35rem 0.6rem;
    }
    
    .product-card-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
}

/* Responsive - Tablette */
@media (min-width: 577px) and (max-width: 768px) {
    .product-card-image {
        height: 190px;
    }
    
    .product-card-title {
        font-size: 0.9rem;
    }
    
    .product-card-description {
        font-size: 0.78rem;
    }
    
    .product-card-price-value {
        font-size: 1.05rem;
    }
    
    .product-card-compare-price {
        font-size: 0.72rem;
    }
    
    .product-card-wholesale {
        font-size: 0.68rem;
    }
}

/* Responsive - Desktop petit */
@media (min-width: 769px) and (max-width: 992px) {
    .product-card-image {
        height: 200px;
    }
}
