/* ========================================
   Correct Services - Custom Styles V2
   ======================================== */

/* Variables CSS */
:root {
    --primary-green: #00A651;
    --primary-red: #E31E24;
    --primary-teal: #17A2B8;
    --dark-green: #008B44;
    --light-gray: #F8F9FA;
    --medium-gray: #E0E0E0;
    --dark-gray: #333333;
    --text-gray: #666666;
    --white: #FFFFFF;
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 4px 20px rgba(0, 0, 0, 0.12);
    --border-radius: 10px;
    --border-radius-lg: 15px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Top Bar
   ======================================== */
.top-bar {
    background: #2fa6a6;
    color: var(--white);
    padding: 12px 0;
    font-size: 14px;
    text-align: center;
}

.top-bar strong {
    font-weight: 600;
}

.top-bar a {
    color: var(--white);
    font-weight: 500;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* ========================================
   Header
   ======================================== */
.main-header {
    background: var(--white);
    padding: 18px 0;
    box-shadow: var(--shadow-light);
    position: relative;
}

.header-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.header-logo img {
    max-height: 50px;
    width: auto;
}

.search-form {
    flex-grow: 1;
    max-width: 500px;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 18px;
    color: var(--text-gray);
    font-size: 16px;
}

.search-form input,
.search-form-mobile input {
    width: 100%;
    padding: 10px 20px 10px 50px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: var(--transition);
    background: var(--white);
}

.search-form input:focus,
.search-form-mobile input:focus {
    border-color: var(--primary-green);
}

.search-form-mobile {
    margin-top: 15px;
}

.search-form-mobile .search-input-wrapper .search-icon {
    left: 18px;
}

.header-phone {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.phone-info {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 11px;
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-numbers {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 600;
}

.btn-primary-custom {
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 48px;
    border-radius: 8px;
    font-weight: normal;
    font-size: 14px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-block;
}

.btn-primary-custom:hover {
    background: #c41a1f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.3);
}

/* ========================================
   Navigation
   ======================================== */
.main-nav {
    padding: 0;
    background: #ed2215;
}

.main-nav .navbar {
    --bs-navbar-padding-x: 0;
    --bs-navbar-nav-link-padding-x: 0.5rem;
    --bs-navbar-toggler-padding-y: 0.25rem;
    --bs-navbar-toggler-padding-x: 0.75rem;
    --bs-navbar-toggler-font-size: 1.25rem;
    --bs-navbar-toggler-focus-width: 0.25rem;
    --bs-navbar-toggler-transition: box-shadow 0.15s ease-in-out;
    position: relative;
    display: flex;
    align-items: center;
    padding: 0;
}

.main-nav .navbar-nav {
    width: auto;
    justify-content: flex-start;
}

.main-nav .navbar-nav .nav-link {
    color: var(--white);
    padding: 15px 20px;
    font-weight: normal;
    font-size: 14px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    position: relative;
}

.main-nav .navbar-nav .nav-link:hover {
    background: rgba(0, 0, 0, 0.15);
}

.main-nav .navbar-nav .nav-link.active {
    background: #c41a1f;
}

.main-nav .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
    padding: 0.25rem 0.75rem;
}

.main-nav .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown Styles */
.main-nav .nav-item.dropdown {
    position: relative;
}

.main-nav .nav-item.dropdown .nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.main-nav .nav-item.dropdown .nav-link::after {
    content: '';
    border: none;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--white);
    margin-left: 5px;
    transition: var(--transition);
}

.main-nav .nav-item.dropdown:hover .nav-link::after {
    transform: rotate(180deg);
}

.main-nav .dropdown-menu {
    background: var(--white);
    border: none;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    padding: 10px 0;
    margin-top: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: block;
}

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

.main-nav .dropdown-menu .dropdown-item {
    color: var(--dark-gray);
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.main-nav .dropdown-menu .dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary-red);
    padding-left: 25px;
}

.main-nav .dropdown-menu .dropdown-divider {
    margin: 5px 15px;
    border-color: var(--medium-gray);
}

/* Products dropdown - wider with 2 columns on desktop */
.dropdown-menu-products {
    min-width: 280px;
}

@media (min-width: 992px) {
    .dropdown-menu-products {
        min-width: 480px;
        padding: 15px;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .dropdown-menu-products li {
        margin: 0;
    }
    
    .dropdown-menu-products .dropdown-item {
        border-radius: 5px;
        white-space: nowrap;
    }
}

/* Mobile dropdown */
@media (max-width: 991px) {
    .main-nav .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 0;
        padding: 0;
        display: none;
    }
    
    .main-nav .nav-item.dropdown.show .dropdown-menu {
        display: block;
    }
    
    .main-nav .dropdown-menu .dropdown-item {
        color: var(--white);
        padding: 10px 30px;
    }
    
    .main-nav .dropdown-menu .dropdown-item:hover {
        background: rgba(255, 255, 255, 0.15);
        color: var(--white);
        padding-left: 35px;
    }
}

/* ========================================
   Mega Menu Styles
   ======================================== */
.mega-dropdown {
    position: static;
}

.mega-menu {
    width: 100%;
    left: 0;
    right: 0;
    padding: 25px 30px;
    border-radius: 0 0 15px 15px;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    background: var(--white);
}

.mega-menu-row {
    display: flex;
    gap: 25px;
}

.mega-menu-col {
    flex: 1;
    min-width: 0;
}

.mega-menu-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary-teal);
    text-transform: none;
}

.mega-menu-col ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.mega-menu-col ul li {
    margin-bottom: 6px;
}

.mega-menu-col ul li a {
    color: var(--text-gray);
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
    display: block;
    padding: 4px 0;
}

.mega-menu-col ul li a:hover {
    color: var(--primary-red);
    padding-left: 5px;
}

/* Mobile Mega Menu */
@media (max-width: 991px) {
    .mega-dropdown {
        position: relative;
    }
    
    .mega-menu {
        position: static !important;
        width: 100%;
        padding: 0 !important;
        box-shadow: none;
        background: rgba(255, 255, 255, 0.05) !important;
        display: none;
        border-radius: 0;
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .main-nav .nav-item.mega-dropdown.show .mega-menu {
        display: block;
    }
    
    .mega-menu-row {
        flex-direction: column;
        gap: 0;
    }
    
    .mega-menu-col {
        padding: 10px 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mega-menu-col:last-child {
        border-bottom: none;
    }
    
    .mega-menu-title {
        color: rgba(255, 255, 255, 0.9);
        border-color: transparent;
        font-size: 11px;
        font-weight: 700;
        margin-bottom: 8px;
        padding: 8px 0 5px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        text-transform: none;
        letter-spacing: 0.3px;
    }
    
    .mega-menu-col ul {
        margin-bottom: 10px;
        padding-left: 0;
    }
    
    .mega-menu-col ul li {
        margin-bottom: 0;
    }
    
    .mega-menu-col ul li a {
        color: rgba(255, 255, 255, 0.7);
        font-size: 12px;
        padding: 5px 0 5px 12px;
        display: block;
    }
    
    .mega-menu-col ul li a::before {
        content: '–';
        margin-right: 8px;
        opacity: 0.5;
    }
    
    .mega-menu-col ul li a:hover {
        color: var(--white);
        padding-left: 15px;
        background: rgba(255, 255, 255, 0.05);
    }
}

/* ========================================
   Hero Section with Slider
   ======================================== */
.hero-section {
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.hero-slider-wrapper {
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 575px;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    display: block;
    opacity: 1;
    animation: fadeInSlide 1s ease-in-out forwards;
}

@keyframes fadeInSlide {
    0% {
        opacity: 0;
        transform: scale(1.02);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-slide .hero-text-card {
    animation: slideInFromLeft 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero-slide.active .hero-text-card {
    opacity: 1;
}

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

.hero-bg-image {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-bg-image img {
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.hero-slide .container {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    min-height: 575px;
    padding-bottom: 80px;
}

.hero-text-card {
    background: var(--white);
    max-width: 730px;
    padding: 50px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.hero-text-card h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 18px;
    line-height: 1.15;
}

.hero-text-card p {
    color: var(--text-gray);
    margin-bottom: 28px;
    font-size: 15px;
    line-height: 1.7;
}

.btn-hero-outline {
    background: transparent;
    color: var(--primary-red);
    padding: 11px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    border: 2px solid var(--primary-red);
    width: fit-content;
}

.btn-hero-outline:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(227, 30, 36, 0.3);
}

.hero-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-indicators .indicator {
    width: 40px;
    height: 7px;
    background: rgba(200, 200, 200, 0.8);
    border-radius: 3px;
    cursor: pointer;
    transition: var(--transition);
}

.hero-indicators .indicator.active {
    background: var(--primary-teal);
    width: 50px;
}

.hero-indicators .indicator:hover {
    background: var(--primary-teal);
}

/* Slide animation */
.hero-slide {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   Section Titles
   ======================================== */
.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.section-title p {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   Categories Section
   ======================================== */
.categories-section {
    padding: 60px 0;
    background: var(--white);
}

.categories-slider-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.categories-slider {
    flex: 1;
    overflow: hidden;
}

.categories-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

@media (max-width: 767px) {
    .categories-slider {
        overflow: hidden;
    }
    
    .categories-track {
        transition: transform 0.5s ease;
    }
    
    .category-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .category-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .categories-slider-wrapper {
        gap: 10px;
    }
}

.category-slide {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
}

.category-card {
    border-radius: 20px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
    height: 100%;
    min-height: 180px;
}

.category-card.category-blue {
    background: #d9eefb;
}

.category-card.category-beige {
    background: #dcefde;
}

.category-card.category-mint {
    background: #ede8df;
}

.category-card:hover {
    transform: translateY(-3px);
}

.category-content {
    flex: 1;
}

.category-image {
    flex: 0 0 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.category-card h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.3;
}

.category-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.btn-category {
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
}

.btn-category:hover {
    background: #c41a1f;
    color: var(--white);
}

.category-nav-btn {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-nav-btn:hover:not(.disabled) {
    background: var(--primary-teal);
    color: var(--white);
}

.category-nav-btn.disabled {
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.category-nav-btn i {
    font-size: 18px;
}

/* Category Mobile Navigation (bottom arrows) */
.category-nav-mobile {
    display: none;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.category-nav-btn-mobile {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: transparent;
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.category-nav-btn-mobile:hover:not(.disabled) {
    background: var(--primary-teal);
    color: var(--white);
}

.category-nav-btn-mobile.disabled {
    color: #ccc;
    border-color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.category-nav-btn-mobile i {
    font-size: 18px;
}

@media (max-width: 767px) {
    .category-nav-btn.desktop-only {
        display: none;
    }
    
    .category-nav-mobile {
        display: flex;
    }
    
    .categories-slider-wrapper {
        gap: 0;
    }
}

/* ========================================
   Director Section
   ======================================== */
.director-section {
    padding: 80px 0;
    background: var(--white);
}

.director-card {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.director-image-wrapper {
    flex: 0 0 auto;
}

.director-photo {
    max-width: 550px;
    height: auto;
    border-radius: 0;
}

.director-content {
    flex: 1;
    min-width: 300px;
}

.director-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.director-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 25px;
}

.director-text {
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 30px;
    text-align: justify;
}

.btn-director {
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
}

.btn-director:hover {
    background: #c41a1f;
    color: var(--white);
    transform: translateY(-2px);
}

/* ========================================
   Products Section
   ======================================== */
.products-section {
    padding: 60px 0;
    background: #f8f9fe;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.products-title h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.products-title p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.products-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

.product-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.product-tabs .nav-link {
    display: block;
    color: #3f4040;
    text-decoration: none;
    background: 0 0;
    border: 1px solid #ddd;
    padding: 6px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.product-tabs .nav-link:hover,
.product-tabs .nav-link.active {
    background: #2da2b8;
    color: var(--white);
    border-color: #2da2b8;
}

.product-nav-arrows {
    display: flex;
    gap: 8px;
}

.nav-arrow {
    width: 40px;
    height: 33px;
    border-radius: 8px;
    border: none;
    background: var(--primary-teal);
    color: var(--white);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-arrow:hover {
    background: #1a8a8a;
}

.nav-arrow i {
    font-size: 16px;
}

.product-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-image {
    position: relative;
    padding: 20px;
    background: #f8f9fa;
    text-align: center;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.product-image img {
    max-height: 140px;
    width: auto;
    object-fit: contain;
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-teal);
    color: var(--white);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
}

.product-info {
    padding: 18px 0 0 0;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-info p {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 10px;
    line-height: 1.9;
    flex: 1;
}

.product-code {
    padding: 10px 10px;
    font-size: 11px;
    color: #333333;
    margin-bottom: 10px;
    display: block;
    font-weight: 500;
    background: #f8f9fa;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 12px;
}

.product-rating .stars {
    color: #ffc107;
    font-size: 12px;
}

.product-rating span {
    font-size: 11px;
    color: var(--text-gray);
}

.btn-product {
    background: var(--primary-red);
    color: #FFFFFF;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
    max-width: 150px;
    margin-top: 15px;
}

.btn-product:hover {
    background: #c41a1f;
    color: var(--white);
}

.btn-view-all {
    background: var(--white);
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    padding: 9px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
}

.btn-view-all:hover {
    background: var(--primary-red);
    color: var(--white);
}

/* Products Slider */
.products-slider-wrapper {
    overflow: hidden;
}

.products-slider {
    overflow: hidden;
}

.products-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

@media (max-width: 767px) {
    .products-slider-wrapper {
        overflow: hidden;
    }
    
    .products-track {
        transition: transform 0.5s ease;
    }
    
    .product-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.product-slide {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
}

.nav-arrow.disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

.nav-arrow.disabled:hover {
    background: #ccc;
}

/* ========================================
   Banner Section (BIOSURE)
   ======================================== */
.biosure-section {
    padding: 40px 0;
    background: var(--white);
}

.biosure-banner {
    background: #35b481;
    border-radius: 20px;
    padding: 40px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

.biosure-content {
    align-items: flex-start;
    gap: 40px;
    flex: 1;
}

.biosure-logo img {
    max-height: 60px;
    margin-bottom: 20px;
}

.biosure-text h4 {
    font-size: 32px;
    font-weight: normal;
    color: #ffffff;
    margin-bottom: 8px;
}

.biosure-text p {
    font-size: 16px;
    color: #ffffff;
    margin: 0 0 25px 0;
}

.btn-biosure {
    background: #ffffff;
    color: #000000;
    padding: 12px 40px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    flex-shrink: 0;
}

.btn-biosure:hover {
    background: #f0f0f0;
    color: #000000;
}

.biosure-image {
    position: absolute;
    right: 200px;
    top: 25px;
    z-index: 2;
    flex-shrink: 0;
}

.biosure-image img {
    max-height: 300px;
    position: relative;
    z-index: 1;
}

/* ========================================
   Colorants Section
   ======================================== */
.colorants-section {
    padding: 60px 0;
    background: var(--white);
}

.colorants-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 30px;
}

.colorants-title h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.colorants-title p {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.colorants-nav-arrows {
    display: flex;
    gap: 8px;
}

.colorants-slider-wrapper {
    overflow: hidden;
}

.colorants-slider {
    overflow: hidden;
}

.colorants-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

@media (max-width: 767px) {
    .colorants-slider-wrapper {
        overflow: hidden;
    }
    
    .colorants-track {
        transition: transform 0.5s ease;
    }
    
    .colorant-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
}

.colorant-slide {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
}

.colorant-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e8e8e8;
}

.colorant-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: #d0d0d0;
}

.colorant-image {
    background: #f5f5f5;
    padding: 20px;
    text-align: center;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin: 15px 15px 0 15px;
}

.colorant-image img {
    max-height: 160px;
    width: auto;
    object-fit: contain;
}

.colorant-info {
    padding: 18px;
}

.colorant-info h5 {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.colorant-info .specs-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.colorant-info .specs-item {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 3px;
    line-height: 1.5;
}

/* ========================================
   Why Us Section
   ======================================== */
.why-us-section {
    padding: 70px 0;
    background: #2fa6a6;
}

.why-us-section .section-title h2 {
    color: var(--white);
}

.why-us-section .section-title p {
    color: rgba(255, 255, 255, 0.9);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.why-us-item {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 15px;
    text-align: center;
    transition: var(--transition);
    opacity: 0;
    transform: translateY(30px);
}

.why-us-item.animate {
    animation: fadeInUp 0.6s ease forwards;
}

.why-us-item:nth-child(1) { animation-delay: 0.1s; }
.why-us-item:nth-child(2) { animation-delay: 0.2s; }
.why-us-item:nth-child(3) { animation-delay: 0.3s; }
.why-us-item:nth-child(4) { animation-delay: 0.4s; }
.why-us-item:nth-child(5) { animation-delay: 0.5s; }
.why-us-item:nth-child(6) { animation-delay: 0.6s; }
.why-us-item:nth-child(7) { animation-delay: 0.7s; }
.why-us-item:nth-child(8) { animation-delay: 0.8s; }

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

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

.why-us-icon {
    width: 60px;
    height: 60px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border: 2px dashed var(--primary-teal);
}

.why-us-icon img {
    width: 28px;
    height: 28px;
}

.why-us-item h5 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-gray);
}

.why-us-item p {
    font-size: 11px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* ========================================
   News/Actualités Section
   ======================================== */
.news-section {
    padding: 70px 0;
    background: var(--white);
}

.news-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    height: 100%;
    border: 1px solid #eee;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 20px;
}

.news-content h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
    line-height: 1.4;
}

.news-date {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 12px;
}

.news-date i {
    font-size: 14px;
    color: var(--primary-red);
}

.news-content p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.6;
}

.btn-news {
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    transition: var(--transition);
    text-decoration: none;
}

.btn-news:hover {
    background: #c41a1f;
    color: var(--white);
}

/* News section specific styles */
.news-section .btn-news {
    background: var(--primary-red);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
}

.news-section .btn-news:hover {
    background: #c41a1f;
    color: var(--white) !important;
}

/* ========================================
   Stats Section
   ======================================== */
.stats-section {
    padding: 70px 0;
    background: #f0f0f0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-red);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--dark-gray);
    font-weight: 500;
}

/* ========================================
   Partners Section
   ======================================== */
.partners-section {
    padding: 70px 0;
    background: var(--white);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.partner-item {
    background: var(--white);
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    padding: 30px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px;
    transition: var(--transition);
}

.partner-item:hover {
    border-color: var(--primary-teal);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.partner-item img {
    max-height: 40px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.btn-partners {
    border: 2px solid var(--primary-red);
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    display: inline-block;
    transition: var(--transition);
    background: transparent;
    color: var(--primary-red);
}

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

/* ========================================
   Newsletter Section
   ======================================== */
.newsletter-section {
    padding: 100px 0;
    background: url('../images/banners/banner-slide-1.png') center center no-repeat;
    background-size: inherit;
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.88) 0%, rgba(30, 100, 100, 0.92) 100%);
    z-index: 1;
}

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

.newsletter-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.newsletter-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

.newsletter-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 1);
    margin-bottom: 30px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.newsletter-form {
    display: flex;
    justify-content: center;
}

.newsletter-input-wrapper {
    display: flex;
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    border: 3px solid var(--white);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.newsletter-form input {
    flex: 1;
    padding: 12px 25px;
    border: none;
    font-size: 14px;
    outline: none;
    background: transparent;
}

.newsletter-form input::placeholder {
    color: #666;
}

.newsletter-form button {
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 45px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    border: none;
    transition: var(--transition);
    white-space: nowrap;
    margin: 5px;
}

.newsletter-form button:hover {
    background: #c41a1f;
}

/* ========================================
   Footer
   ======================================== */
.main-footer {
    background: #2a2f35;
    color: var(--white);
    padding: 50px 0 20px;
    position: relative;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 15px;
}

.footer-logo-wrapper {
    background: var(--white);
    border-radius: 8px;
    padding: 12px 15px;
    display: inline-block;
}

.footer-logo-wrapper img {
    max-height: 45px;
}

.footer-about p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 15px;
    line-height: 1.7;
}

.footer-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    font-style: normal;
    margin-bottom: 20px !important;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    color: var(--white);
    font-size: 14px;
}

.footer-social a:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
}

.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 15px;
    text-transform: uppercase;
    padding-bottom: 10px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-red);
}

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

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

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-teal);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.footer-contact-item i {
    color: var(--primary-teal);
    font-size: 16px;
    margin-top: 3px;
}

.footer-contact-item p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

.footer-bottom a {
    color: var(--primary-red);
    font-weight: 600;
}

.footer-bottom a:hover {
    color: var(--primary-teal);
}

.footer-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
}

.flag-icon {
    font-size: 16px;
}

/* Footer Language Dropdown */
.footer-lang-dropdown {
    position: relative;
}

.lang-select-wrapper {
    position: relative;
}

.lang-selected {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 10px 15px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 140px;
}

.lang-selected:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.lang-selected .lang-flag {
    font-size: 16px;
}

.lang-selected .lang-text {
    color: var(--white);
    font-size: 13px;
    flex: 1;
}

.lang-selected i {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.lang-select-wrapper.open .lang-selected i {
    transform: rotate(180deg);
}

.lang-options {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: #3a3f45;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    margin-bottom: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
}

.lang-select-wrapper.open .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: var(--transition);
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
}

.lang-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.lang-option.active {
    background: var(--primary-teal);
    color: var(--white);
}

.lang-option .lang-flag {
    font-size: 16px;
}

.lang-option i {
    margin-left: auto;
    font-size: 14px;
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 100px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.scroll-to-top {
    width: 50px;
    height: 50px;
    background: var(--primary-teal);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #1a8a8a;
    color: var(--white);
}

.whatsapp-btn {
    width: 50px;
    height: 50px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 24px;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background: #128C7E;
    color: var(--white);
    transform: scale(1.1);
}

/* ========================================
   Responsive Styles
   ======================================== */
@media (max-width: 1199px) {
    .hero-text-card h1 {
        font-size: 1.9rem;
    }
    
    .hero-text-card {
        padding: 40px;
        max-width: 650px;
    }
    
    .hero-slide {
        min-height: 520px;
    }
    
    .hero-slide .container {
        min-height: 520px;
        padding-bottom: 70px;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .header-wrapper {
        gap: 15px;
    }
    
    .search-form {
        max-width: 280px;
    }
    
    .phone-numbers {
        font-size: 11px;
    }
    
    .btn-primary-custom {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .main-nav .navbar-nav .nav-link {
        padding: 12px 12px;
        font-size: 12px;
        white-space: normal;
        text-align: center;
        line-height: 1.3;
    }
}

@media (max-width: 991px) {
    .header-wrapper {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }
    
    .search-form {
        display: none;
    }
    
    .search-form-mobile {
        display: block;
    }
    
    .header-phone {
        display: none;
    }
    
    .header-logo img {
        max-height: 45px;
    }
    
    .main-nav {
        padding: 10px 0;
    }
    
    .main-nav .navbar-nav {
        padding: 10px 0;
    }
    
    .main-nav .navbar-nav .nav-link {
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .main-nav .navbar-toggler {
        margin: 0 15px;
    }
    
    .hero-slide {
        min-height: 480px;
    }
    
    .hero-slide .container {
        min-height: 480px;
        padding-bottom: 60px;
    }
    
    .hero-text-card {
        padding: 35px;
        max-width: 550px;
        border-radius: 8px;
    }
    
    .hero-text-card h1 {
        font-size: 1.6rem;
    }
    
    .hero-text-card p {
        font-size: 14px;
        margin-bottom: 22px;
    }
    
    .hero-indicators {
        bottom: 40px;
    }
    
    .director-card {
        flex-direction: column;
        gap: 40px;
        text-align: center;
    }
    
    .director-content {
        text-align: center;
    }
    
    .director-text {
        text-align: center;
    }
    
    .director-photo {
        max-width: 400px;
    }
    
    .director-title {
        font-size: 1.8rem;
    }
    
    .category-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .product-slide {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
    
    .colorant-slide {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
    
    .biosure-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px;
        padding-bottom: 220px;
    }
    
    .biosure-content {
        text-align: center;
    }
    
    .biosure-text {
        text-align: center;
    }
    
    .biosure-text h4 {
        font-size: 24px;
    }
    
    .biosure-image {
        position: absolute;
        right: 50%;
        top: auto;
        bottom: 0;
        transform: translateX(50%);
    }
    
    .biosure-image img {
        max-height: 200px;
    }
    
    .products-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .products-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        width: 100%;
    }
    
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {
    .top-bar {
        font-size: 12px;
        padding: 10px 15px;
    }
    
    .header-wrapper {
        justify-content: space-between;
    }
    
    .header-logo img {
        max-height: 40px;
    }
    
    .btn-primary-custom {
        padding: 10px 20px;
        font-size: 13px;
    }
    
    .hero-slide {
        min-height: 420px;
    }
    
    .hero-slide .container {
        min-height: 420px;
        padding: 0 15px 50px;
    }
    
    .hero-text-card {
        padding: 28px 25px;
        max-width: 100%;
        margin: 0 15px;
        border-radius: 8px;
    }
    
    .hero-text-card h1 {
        font-size: 1.35rem;
        margin-bottom: 12px;
    }
    
    .hero-text-card p {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .btn-hero-outline {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .hero-indicators {
        bottom: 30px;
    }
    
    .hero-indicators .indicator {
        width: 30px;
        height: 5px;
    }
    
    .hero-indicators .indicator.active {
        width: 40px;
    }
    
    .section-title h2 {
        font-size: 1.4rem;
    }
    
    .products-title h3 {
        font-size: 1.3rem;
    }
    
    .products-controls {
        width: 100%;
    }
    
    .product-tabs {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 10px;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }
    
    .product-tabs .nav-link {
        white-space: nowrap;
        padding: 8px 15px;
        font-size: 12px;
    }
    
    .product-nav-arrows {
        display: flex;
    }
    
    .product-nav-arrows .nav-arrow {
        width: 36px;
        height: 30px;
    }
    
    .biosure-banner {
        padding: 25px 20px;
        padding-bottom: 160px;
    }
    
    .biosure-text h4 {
        font-size: 20px;
    }
    
    .biosure-text p {
        font-size: 13px;
    }
    
    .biosure-image img {
        max-height: 140px;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .why-us-item {
        padding: 20px 15px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-item {
        padding: 25px 15px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .main-footer {
        padding: 40px 0 15px;
    }
    
    .footer-col {
        margin-bottom: 30px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-input-wrapper {
        flex-direction: column;
        border-radius: 8px;
    }
    
    .newsletter-form input {
        min-width: 100%;
        border-radius: 8px 8px 0 0;
    }
    
    .newsletter-form button {
        border-radius: 0 0 8px 8px;
        width: 100%;
        margin: 0;
    }
    
    .floating-buttons {
        right: 15px;
        bottom: 80px;
    }
    
    .scroll-to-top,
    .whatsapp-btn {
        width: 45px;
        height: 45px;
    }
    
    .footer-logo-wrapper {
        padding: 10px 12px;
    }
    
    .footer-logo-wrapper img {
        max-height: 40px;
    }
    
    .director-photo {
        max-width: 320px;
    }
    
    .director-title {
        font-size: 1.5rem;
    }
    
    .director-name {
        font-size: 1.1rem;
    }
    
    .director-text {
        font-size: 14px;
    }
    
    .category-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .product-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .colorant-slide {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    
    .colorants-header {
        flex-direction: column;
        gap: 15px;
    }
    
    .category-nav-btn {
        width: 38px;
        height: 38px;
    }
    
    .category-nav-btn i {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .top-bar {
        font-size: 11px;
        padding: 8px 10px;
    }
    
    .header-logo img {
        max-height: 35px;
    }
    
    .btn-primary-custom {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .search-form-mobile input {
        padding: 10px 15px 10px 45px;
        font-size: 13px;
    }
    
    .hero-slide {
        min-height: 380px;
    }
    
    .hero-slide .container {
        min-height: 380px;
        padding: 0 10px 40px;
    }
    
    .hero-text-card {
        padding: 22px 18px;
        margin: 0 10px;
        border-radius: 8px;
    }
    
    .hero-text-card h1 {
        font-size: 1.15rem;
        line-height: 1.3;
        margin-bottom: 10px;
    }
    
    .hero-text-card p {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 15px;
    }
    
    .btn-hero-outline {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .hero-indicators {
        bottom: 25px;
    }
    
    .hero-indicators .indicator {
        width: 22px;
        height: 5px;
    }
    
    .hero-indicators .indicator.active {
        width: 32px;
    }
    
    .section-title h2 {
        font-size: 1.25rem;
    }
    
    .products-header h3 {
        font-size: 1.2rem;
    }
    
    .category-card {
        padding: 20px 15px;
    }
    
    .category-nav-btn {
        width: 32px;
        height: 32px;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-card {
        border-radius: 12px;
    }
    
    .colorant-image {
        height: 150px;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .partner-item {
        padding: 15px 10px;
        min-height: 60px;
    }
    
    .partner-item img {
        max-height: 30px;
    }
    
    .news-image {
        height: 160px;
    }
    
    .director-photo {
        max-width: 280px;
    }
    
    .director-section {
        padding: 50px 0;
    }
    
    .director-title {
        font-size: 1.3rem;
    }
    
    .director-name {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .director-text {
        font-size: 13px;
        line-height: 1.7;
    }
    
    .product-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .colorant-slide {
        flex: 0 0 100%;
        min-width: 100%;
    }
    
    .colorants-nav-arrows {
        display: flex;
    }
    
    .colorants-nav-arrows .nav-arrow {
        width: 36px;
        height: 30px;
    }
    
    .btn-director {
        padding: 12px 25px;
        font-size: 13px;
    }
    
    .category-nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .category-nav-btn i {
        font-size: 14px;
    }
    
    .categories-slider-wrapper {
        gap: 10px;
    }
}

@media (min-width: 992px) {
    .search-form-mobile {
        display: none;
    }
    
    .header-phone {
        display: flex;
    }
}

/* ========================================
   Animations
   ======================================== */
.animate-fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

/* Scroll animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Page Loader
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2fa6a6 0%, #1a8a8a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    margin-bottom: 30px;
}

.loader-logo img {
    max-height: 70px;
    background: var(--white);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: var(--white);
    border-radius: 50%;
    margin: 0 auto 20px;
    animation: loaderSpin 1s linear infinite;
}

@keyframes loaderSpin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    color: var(--white);
    font-size: 14px;
    font-weight: 500;
    margin: 0;
    opacity: 0.9;
    letter-spacing: 1px;
}

/* ========================================
   Page Header / Breadcrumb
   ======================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/banners/banner-slide-1.png') center/cover;
    opacity: 0.1;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

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

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

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

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

.breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

/* ========================================
   About Page Styles
   ======================================== */
.about-section {
    padding: 80px 0;
    background: var(--white);
}

.about-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-red);
    display: inline-block;
}

.about-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 30px 0 15px;
}

.about-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: justify;
}

.about-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.about-content ul li {
    padding: 10px 0 10px 25px;
    position: relative;
    color: var(--text-gray);
    line-height: 1.6;
}

.about-content ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-red);
    font-weight: bold;
    font-size: 1.2em;
}

.about-content ul li strong {
    color: var(--dark-gray);
}

/* Director Section in About Page */
.about-director-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.about-director-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    gap: 40px;
    align-items: center;
}

.about-director-image {
    flex-shrink: 0;
}

.about-director-image img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--primary-teal);
}

.about-director-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.about-director-content .director-role {
    color: var(--primary-teal);
    font-weight: 600;
    margin-bottom: 20px;
}

.about-director-content p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Organigramme Section */
.organigramme-section {
    padding: 80px 0;
    background: var(--white);
}

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

.org-level {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.org-card {
    background: var(--white);
    border-radius: 15px;
    padding: 25px 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: var(--transition);
    min-width: 200px;
}

.org-card.director {
    background: var(--primary-teal);
    color: var(--white);
}

.org-card.director h4,
.org-card.director p {
    color: var(--white);
}

.org-card.manager {
    border-color: var(--primary-teal);
}

.org-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.org-card p {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin: 0;
}

.org-connector {
    width: 2px;
    height: 30px;
    background: var(--primary-teal);
}

.org-horizontal-line {
    height: 2px;
    background: var(--primary-teal);
    width: 60%;
    margin: 0 auto;
}

/* ========================================
   Services Page Styles
   ======================================== */
.services-section {
    padding: 80px 0;
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-image {
    height: 200px;
    background: #f5f5f5;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
}

.service-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.service-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-service:hover {
    color: var(--primary-red);
    gap: 12px;
}

/* Service Detail Page */
.service-detail-section {
    padding: 80px 0;
    background: var(--white);
}

.service-detail-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.service-detail-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
}

.service-detail-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.service-detail-image img {
    width: 100%;
    height: auto;
}

.service-features {
    margin-top: 30px;
}

.service-features h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

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

.feature-icon {
    width: 45px;
    height: 45px;
    background: rgba(47, 166, 166, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 20px;
    color: var(--primary-teal);
}

.feature-text h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.feature-text p {
    font-size: 14px;
    color: var(--text-gray);
    margin: 0;
}

/* ========================================
   News/Actualités Page Styles
   ======================================== */
/* News Categories Navigation */
.news-categories-section {
    padding: 30px 0;
    background: var(--white);
    border-bottom: 1px solid #eee;
}

.news-categories-nav {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border-radius: 30px;
    background: #f0f0f0;
    color: var(--text-gray);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-btn:hover {
    background: rgba(47, 166, 166, 0.1);
    color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.category-btn.active {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
}

.category-btn i {
    font-size: 16px;
}

/* News Badge */
.news-image {
    position: relative;
}

.news-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

/* CTA Section - Better visibility */
.cta-section {
    padding: 100px 0;
    background: url('../images/banners/banner-slide-1.png') center center;
    background-size: cover;
    position: relative;
}

.cta-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.95) 0%, rgba(30, 100, 100, 0.98) 100%);
}

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

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.cta-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-cta {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-red);
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.btn-cta:hover {
    background: #c41a1f;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .news-categories-nav {
        gap: 10px;
    }
    
    .category-btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-content h3 {
        font-size: 1.6rem;
    }
    
    .cta-content p {
        font-size: 14px;
    }
}

.news-page-section {
    padding: 80px 0;
    background: var(--white);
}

.news-page-section.bg-light {
    background: #f8f9fa;
}

.news-page-section .section-title {
    margin-bottom: 40px;
}

.news-page-section .section-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.news-page-section .section-title h2 i {
    color: var(--primary-teal);
}

.news-page-section .section-title p {
    color: var(--text-gray);
    font-size: 15px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.news-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
}

.news-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-content p {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
}

/* News page specific link style */
.news-page-section .btn-news {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-red);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
    padding: 0;
    border-radius: 0;
}

.news-page-section .btn-news:hover {
    color: var(--primary-teal);
    gap: 12px;
    background: transparent;
}

.news-page-section .btn-news i {
    font-size: 12px;
}

/* Quote Form Card */
.quote-form-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.quote-form-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.file-upload-wrapper {
    position: relative;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.file-upload-label {
    border: 2px dashed #e8e8e8;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    background: #fafafa;
}

.file-upload-label:hover {
    border-color: var(--primary-teal);
    background: rgba(47, 166, 166, 0.05);
}

.file-upload-label i {
    font-size: 40px;
    color: var(--primary-teal);
    display: block;
    margin-bottom: 10px;
}

.file-upload-label span {
    display: block;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 5px;
}

.file-upload-label small {
    color: var(--text-gray);
    font-size: 12px;
}

.file-name {
    display: none;
    margin-top: 10px;
    padding: 10px 15px;
    background: rgba(47, 166, 166, 0.1);
    border-radius: 8px;
    color: var(--primary-teal);
    font-size: 14px;
}

.form-check-input:checked {
    background-color: var(--primary-teal);
    border-color: var(--primary-teal);
}

.form-check-label {
    font-size: 13px;
    color: var(--text-gray);
}

@media (max-width: 767px) {
    .quote-form-card {
        padding: 25px;
    }
}

/* News Detail Page */
.news-detail-section {
    padding: 80px 0;
    background: var(--white);
}

.news-detail-header {
    margin-bottom: 30px;
}

.news-detail-header .news-date {
    font-size: 14px;
    margin-bottom: 15px;
}

.news-detail-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

.news-detail-image {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

.news-detail-image img {
    width: 100%;
    height: auto;
}

.news-detail-content p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 16px;
}

.news-detail-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 30px 0 15px;
}

.news-share {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.news-share h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.whatsapp { background: #25d366; }

.share-btn:hover {
    transform: scale(1.1);
    color: var(--white);
}

/* ========================================
   Partners Page Styles
   ======================================== */
.partners-page-section {
    padding: 80px 0;
    background: var(--white);
}

.partners-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.partners-intro h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.partners-intro p {
    color: var(--text-gray);
    line-height: 1.8;
}

.partners-page-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.partner-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
}

.partner-card:hover {
    border-color: var(--primary-teal);
    transform: translateY(-5px);
}

.partner-card img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
    margin-bottom: 15px;
}

.partner-card h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.partner-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

/* ========================================
   Contact Page Styles
   ======================================== */
.contact-section {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.contact-info-card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    transition: var(--transition);
}

.contact-info-card:hover {
    background: var(--primary-teal);
}

.contact-info-card:hover .contact-icon,
.contact-info-card:hover h4,
.contact-info-card:hover p,
.contact-info-card:hover a {
    color: var(--white);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--primary-teal);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-info-card:hover .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-info-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.contact-info-card p,
.contact-info-card a {
    color: var(--text-gray);
    font-size: 14px;
    line-height: 1.6;
    text-decoration: none;
}

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

.contact-form h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary-teal);
    outline: none;
}

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

.btn-submit {
    background: var(--primary-red);
    color: var(--white);
    padding: 15px 40px;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #c41a1f;
}

.contact-map {
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    min-height: 400px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ========================================
   Responsive Styles for New Pages
   ======================================== */
@media (max-width: 991px) {
    .page-header h1 {
        font-size: 2rem;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .partners-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-form-section {
        grid-template-columns: 1fr;
    }
    
    .about-director-card {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 767px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 1.6rem;
    }
    
    .about-section,
    .services-section,
    .news-page-section,
    .partners-page-section,
    .contact-section {
        padding: 60px 0;
    }
    
    .services-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .contact-info-grid {
        grid-template-columns: 1fr;
    }
    
    .org-level {
        flex-direction: column;
        align-items: center;
    }
    
    .org-card {
        width: 100%;
        max-width: 280px;
    }
    
    .about-director-image img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 575px) {
    .partners-page-grid {
        grid-template-columns: 1fr;
    }
    
    .partner-card {
        padding: 20px;
    }
}

/* ========================================
   FAQ Page Styles
   ======================================== */
.faq-search-section {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%);
}

.faq-search-wrapper {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.faq-search-wrapper h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.faq-search-wrapper p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
}

.faq-search-box {
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 5px 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.faq-search-box i {
    color: var(--text-gray);
    font-size: 20px;
    margin-right: 15px;
}

.faq-search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    padding: 15px 0;
    background: transparent;
}

.search-results-info {
    display: none;
    margin-top: 15px;
    color: var(--white);
    font-size: 14px;
}

.faq-categories-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.faq-category-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.faq-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-teal);
}

.faq-category-icon {
    width: 70px;
    height: 70px;
    background: rgba(47, 166, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: var(--transition);
}

.faq-category-icon i {
    font-size: 28px;
    color: var(--primary-teal);
}

.faq-category-card:hover .faq-category-icon {
    background: var(--primary-teal);
}

.faq-category-card:hover .faq-category-icon i {
    color: var(--white);
}

.faq-category-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.faq-category-card p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

.faq-content-section {
    padding: 60px 0;
    background: var(--white);
}

.faq-category-block {
    margin-bottom: 50px;
}

.faq-category-block:last-child {
    margin-bottom: 0;
}

.faq-category-block h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.faq-item {
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-item .accordion-button {
    font-weight: 600;
    color: var(--dark-gray);
    background: var(--white);
    padding: 18px 25px;
    font-size: 15px;
}

.faq-item .accordion-button:not(.collapsed) {
    background: rgba(47, 166, 166, 0.05);
    color: var(--primary-teal);
    box-shadow: none;
}

.faq-item .accordion-button:focus {
    box-shadow: none;
    border-color: transparent;
}

.faq-item .accordion-button::after {
    background-size: 14px;
}

.faq-item .accordion-body {
    padding: 0 25px 20px;
    color: var(--text-gray);
    line-height: 1.7;
}

.faq-item .accordion-body a {
    color: var(--primary-teal);
}

.faq-contact-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.faq-contact-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.faq-contact-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.faq-contact-card p {
    color: var(--text-gray);
}

/* ========================================
   Legal Pages Styles (CGV, Privacy)
   ======================================== */
.legal-content-section {
    padding: 60px 0;
    background: var(--white);
}

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

.legal-intro {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 40px;
    border-left: 4px solid var(--primary-teal);
}

.legal-intro p {
    margin-bottom: 10px;
    color: var(--text-gray);
}

.legal-intro p:last-child {
    margin-bottom: 0;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin: 20px 0 10px;
}

.legal-section p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section ul {
    color: var(--text-gray);
    padding-left: 20px;
    margin-bottom: 15px;
}

.legal-section ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-section a {
    color: var(--primary-teal);
}

.legal-info-box {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
}

.legal-info-box p {
    margin-bottom: 8px;
}

.legal-info-box p:last-child {
    margin-bottom: 0;
}

.legal-contact {
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.1) 0%, rgba(47, 166, 166, 0.05) 100%);
    border-radius: 15px;
    padding: 30px;
    margin-top: 40px;
    border: 1px solid rgba(47, 166, 166, 0.2);
}

.legal-contact h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-teal);
    margin-bottom: 15px;
}

.legal-contact p {
    color: var(--text-gray);
    margin-bottom: 10px;
}

.legal-contact a {
    color: var(--primary-teal);
}

/* Responsive FAQ */
@media (max-width: 991px) {
    .faq-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .faq-search-wrapper h2 {
        font-size: 1.5rem;
    }
    
    .faq-categories-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .faq-category-card {
        padding: 20px;
    }
    
    .faq-category-icon {
        width: 60px;
        height: 60px;
    }
    
    .faq-category-icon i {
        font-size: 24px;
    }
    
    .faq-contact-card {
        padding: 25px;
        text-align: center;
    }
    
    .faq-contact-card .text-lg-end {
        text-align: center !important;
        margin-top: 20px;
    }
    
    .legal-content-section {
        padding: 40px 0;
    }
    
    .legal-section h2 {
        font-size: 1.2rem;
    }
}

/* ========================================
   Products Page Styles
   ======================================== */
.products-page-section {
    padding: 60px 0;
    background: var(--white);
}

.section-intro h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.section-intro p {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

.products-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.product-category-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.product-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.category-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 166, 166, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-category-card:hover .category-overlay {
    opacity: 1;
}

.view-products {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.category-info {
    padding: 25px;
}

.category-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 10px;
}

.category-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.6;
}

/* ========================================
   Product Detail & Sidebar Styles
   ======================================== */
.product-detail-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.sidebar-categories {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.sidebar-categories h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

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

.category-list li {
    margin-bottom: 8px;
}

.category-list li a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.category-list li a i {
    margin-right: 10px;
    font-size: 12px;
    transition: var(--transition);
}

.category-list li a:hover,
.category-list li.active a {
    background: var(--primary-teal);
    color: var(--white);
}

.category-list li a:hover i,
.category-list li.active a i {
    transform: translateX(3px);
}

.sidebar-cta {
    background: #ed2719;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: var(--white);
    margin-top: 25px;
}

.sidebar-cta h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.sidebar-cta p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 15px;
}

.btn-sidebar-cta {
    display: inline-block;
    background: var(--white);
    color: var(--primary-teal);
    padding: 10px 25px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-sidebar-cta:hover {
    background: var(--primary-red);
    color: var(--white);
}

.sidebar-recent {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 25px;
}

.sidebar-recent h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.recent-post {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.recent-post:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post img {
    width: 80px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.recent-info a {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    text-decoration: none;
    margin-bottom: 5px;
    line-height: 1.4;
}

.recent-info a:hover {
    color: var(--primary-teal);
}

.recent-info span {
    font-size: 12px;
    color: var(--text-gray);
}

/* Products Grid */
.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.results-count {
    color: var(--text-gray);
    font-size: 14px;
    margin: 0;
}

.sort-options select {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    color: var(--dark-gray);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.product-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-product-quote {
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-product-quote:hover {
    background: var(--white);
    color: var(--primary-red);
}

.product-info {
    padding: 20px;
}

.product-brand {
    display: inline-block;
    background: rgba(47, 166, 166, 0.1);
    color: var(--primary-teal);
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 11px;
    font-weight: 600;
    margin-bottom: 10px;
}

.product-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.5;
}

.btn-product-link {
    color: var(--primary-teal);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.btn-product-link:hover {
    color: var(--primary-red);
}

.btn-product-link i {
    transition: var(--transition);
}

.btn-product-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   Team Section Styles
   ======================================== */
.team-section {
    padding: 60px 0;
    background: var(--white);
}

.director-highlight {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
}

.director-image {
    text-align: center;
}

.director-image img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.director-info {
    padding-left: 20px;
}

.director-role {
    display: inline-block;
    background: var(--primary-teal);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.director-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.director-quote {
    font-style: italic;
    color: var(--primary-teal);
    font-size: 1.1rem;
    border-left: 3px solid var(--primary-teal);
    padding-left: 20px;
    margin-bottom: 20px;
}

.director-info p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.director-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-teal);
    color: var(--white);
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: var(--transition);
}

.director-social a:hover {
    background: var(--primary-red);
    transform: translateY(-3px);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.team-member-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: var(--transition);
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.member-image {
    height: auto;
    overflow: hidden;
}

.member-image img {
    width: 100%;
    object-fit: cover;
}

.member-info {
    padding: 20px;
}

.member-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.member-role {
    display: block;
    color: var(--primary-teal);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.member-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* Responsive */
@media (max-width: 991px) {
    .products-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .director-highlight {
        text-align: center;
    }
    
    .director-info {
        padding-left: 0;
        padding-top: 30px;
    }
    
    .director-quote {
        border-left: none;
        padding-left: 0;
        border-top: 3px solid var(--primary-teal);
        padding-top: 20px;
    }
}

@media (max-width: 767px) {
    .products-categories-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .director-image img {
        width: 180px;
        height: 180px;
    }
    
    .products-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .sidebar-categories,
    .sidebar-recent,
    .sidebar-cta {
        margin-bottom: 20px;
    }
}

/* Team Link Button */
.btn-team-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    margin-top: 15px;
    transition: var(--transition);
}

.btn-team-link:hover {
    color: var(--primary-red);
}

.btn-team-link i {
    transition: var(--transition);
}

.btn-team-link:hover i {
    transform: translateX(5px);
}

/* ========================================
   Premium About Page Styles
   ======================================== */
.section-subtitle {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), #c62828);
    color: var(--white);
    padding: 5px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-teal));
    border-radius: 2px;
    margin: 15px 0 25px;
}

.title-underline.center {
    margin: 15px auto 25px;
}

.section-header {
    margin-bottom: 50px;
}

.section-desc {
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

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

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

.about-main-image {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.about-main-image img {
    width: 100%;
    height: auto;
}

.about-experience-badge {
    position: absolute;
    bottom: -30px;
    right: -20px;
    background: linear-gradient(135deg, var(--primary-red), #c62828);
    color: var(--white);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

.about-experience-badge .years {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.about-experience-badge .text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-content-premium h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--dark-gray);
}

.about-content-premium .lead-text {
    font-size: 1.1rem;
    color: var(--dark-gray);
    font-weight: 500;
    margin-bottom: 20px;
}

.about-highlights {
    margin-top: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: var(--transition);
}

.highlight-item:hover {
    background: rgba(47, 166, 166, 0.1);
    transform: translateX(5px);
}

.highlight-item i {
    color: var(--primary-red);
    font-size: 1.2rem;
}

.highlight-item span {
    font-weight: 500;
    color: var(--dark-gray);
}

/* Objectives Section */
.objectives-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.objectives-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    height: 100%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border-top: 4px solid var(--primary-teal);
    transition: var(--transition);
}

.objectives-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.objectives-card.missions {
    border-top-color: var(--primary-red);
}

.objectives-card .card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-teal), #1a8a8a);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.objectives-card.missions .card-icon {
    background: linear-gradient(135deg, var(--primary-red), #c62828);
}

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

.objectives-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
}

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

.objectives-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--text-gray);
    line-height: 1.6;
}

.objectives-list li .bullet {
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: var(--primary-teal);
    border-radius: 50%;
    margin-top: 8px;
}

.objectives-card.missions .objectives-list li .bullet {
    background: var(--primary-red);
}

/* Director Section Premium */
.director-section-premium {
    padding: 80px 0;
    background: var(--white);
}

.director-card-premium {
    background: #f8f9fa;
    border-radius: 25px;
    padding: 50px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.director-image-premium {
    position: relative;
    text-align: center;
}

.director-image-premium img {
    width: 280px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
}

.director-image-premium .image-frame {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: auto;
    min-height: 300px;
    border: 4px solid var(--primary-red);
    border-radius: 20px;
    z-index: 1;
}

.director-content-premium {
    padding-left: 30px;
}

.director-content-premium h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.director-content-premium .director-title {
    display: inline-block;
    background: var(--dark-gray);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.director-quote {
    position: relative;
    padding: 20px 25px;
    background: var(--white);
    border-left: 4px solid var(--primary-red);
    border-radius: 0 15px 15px 0;
    margin-bottom: 20px;
}

.director-quote i {
    position: absolute;
    top: -15px;
    left: 15px;
    font-size: 2.5rem;
    color: var(--primary-red);
    opacity: 0.2;
}

.director-quote p {
    font-style: italic;
    color: var(--dark-gray);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

.director-content-premium p {
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.btn-team-premium {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-red);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 15px;
}

.btn-team-premium:hover {
    background: var(--primary-teal);
    color: var(--white);
    transform: translateX(5px);
}

/* Organigramme Premium */
.organigramme-section-premium {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
}

.org-chart-premium {
    max-width: 1000px;
    margin: 0 auto;
}

.org-level-premium {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.org-level-premium.departments {
    margin-top: 20px;
}

.org-level-premium.services {
    margin-top: 20px;
}

.org-card-premium {
    background: var(--white);
    border-radius: 15px;
    padding: 25px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    min-width: 200px;
    transition: var(--transition);
    border-bottom: 3px solid var(--primary-teal);
}

.org-card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.org-card-premium.director {
    background: linear-gradient(135deg, var(--primary-red), #c62828);
    color: var(--white);
    border-bottom: none;
    min-width: 250px;
}

.org-card-premium.director .org-icon {
    background: rgba(255, 255, 255, 0.2);
}

.org-card-premium.director h4,
.org-card-premium.director p {
    color: var(--white);
}

.org-card-premium .org-icon {
    width: 60px;
    height: 60px;
    background: rgba(47, 166, 166, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.org-card-premium .org-icon i {
    font-size: 1.5rem;
    color: var(--primary-teal);
}

.org-card-premium.director .org-icon i {
    color: var(--white);
}

.org-card-premium h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.org-card-premium p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
}

.org-card-premium.small {
    min-width: 180px;
    padding: 20px;
}

.org-card-premium.small .org-icon {
    display: none;
}

.org-connector-premium {
    width: 3px;
    height: 40px;
    background: linear-gradient(to bottom, var(--primary-red), var(--primary-teal));
    margin: 0 auto;
}

/* Stats Section About */
.stats-section-about {
    padding: 80px 0;
    background: linear-gradient(135deg, #d12425 0%, #1a7a7a 100%);
}

.stat-card-about {
    text-align: center;
    padding: 30px;
}

.stat-card-about .stat-icon {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.stat-card-about h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stat-card-about p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-weight: 500;
}

/* Team Section Updates */
.team-section-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-gray);
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
}

.team-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--primary-red);
    margin: 15px auto 0;
    border-radius: 2px;
}

.director-highlight {
    background: linear-gradient(135deg, #f8f9fa 0%, #fff 100%);
    border-radius: 25px;
    padding: 50px;
    margin-bottom: 40px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-red);
}

.director-image img {
    width: 280px;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    border: 5px solid var(--white);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.director-info .director-role {
    display: inline-block;
    background: var(--dark-gray);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 15px;
}

.director-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.director-info .director-quote {
    font-style: italic;
    color: var(--primary-teal);
    font-size: 1.1rem;
    border-left: 4px solid var(--primary-red);
    padding-left: 20px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 991px) {
    .about-experience-badge {
        right: 10px;
        bottom: -20px;
        padding: 20px;
    }
    
    .about-experience-badge .years {
        font-size: 2rem;
    }
    
    .director-card-premium {
        padding: 30px;
    }
    
    .director-image-premium img,
    .director-image-premium .image-frame {
        width: 220px;
        height: 220px;
    }
    
    .director-content-premium {
        padding-left: 0;
        padding-top: 30px;
        text-align: center;
    }
    
    .director-quote {
        text-align: left;
    }
    
    .org-level-premium {
        gap: 15px;
    }
    
    .org-card-premium {
        min-width: 160px;
        padding: 20px;
    }
    
    .director-highlight {
        text-align: center;
        padding: 30px;
    }
    
    .director-info {
        padding-top: 30px;
    }
    
    .director-info .director-quote {
        text-align: left;
    }
}

@media (max-width: 767px) {
    .about-section-premium,
    .objectives-section,
    .director-section-premium,
    .organigramme-section-premium,
    .stats-section-about {
        padding: 50px 0;
    }
    
    .about-content-premium h2 {
        font-size: 1.8rem;
    }
    
    .objectives-card {
        padding: 30px;
        margin-bottom: 20px;
    }
    
    .director-image-premium img,
    .director-image-premium .image-frame {
        width: 180px;
        height: 180px;
    }
    
    .director-content-premium h3 {
        font-size: 1.5rem;
    }
    
    .org-card-premium {
        min-width: 140px;
        padding: 15px;
    }
    
    .org-card-premium h4 {
        font-size: 0.9rem;
    }
    
    .stat-card-about h3 {
        font-size: 2rem;
    }
    
    .director-image img {
        width: 200px;
        height: 200px;
    }
}

/* ========================================
   Values Section Styles
   ======================================== */
.values-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.value-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-teal));
    transform: scaleX(0);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.value-card:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(209, 36, 37, 0.1), rgba(47, 166, 166, 0.1));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
}

.value-icon i {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.value-card:hover .value-icon i {
    background: var(--white);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.value-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Values */
@media (max-width: 991px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .values-section {
        padding: 50px 0;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .value-card {
        padding: 30px 25px;
    }
}

/* ========================================
   Team Grid Full (8 cards - 2 rows of 4)
   ======================================== */
.team-grid-full {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.team-grid-full .team-member-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.team-grid-full .team-member-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.team-grid-full .member-image {
    overflow: hidden;
}

.team-grid-full .member-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: var(--transition);
}

.team-grid-full .team-member-card:hover .member-image img {
    transform: scale(1.05);
}

.team-grid-full .member-info {
    padding: 25px 20px;
    text-align: center;
}

.team-grid-full .member-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
}

.team-grid-full .member-role {
    display: block;
    color: var(--primary-teal);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-grid-full .member-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

/* Back Link Button */
.btn-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-teal);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-back-link:hover {
    color: var(--primary-red);
}

.btn-back-link i {
    transition: var(--transition);
}

.btn-back-link:hover i {
    transform: translateX(-5px);
}

/* Responsive for team-grid-full */
@media (max-width: 1199px) {
    .team-grid-full {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (max-width: 991px) {
    .team-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 575px) {
    .team-grid-full {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ========================================
   Additional RWD Fixes and Improvements
   ======================================== */

/* Stats Header */
.stats-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.stats-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 0;
}

/* Dropdown item all products */
.dropdown-item-all {
    font-weight: 600 !important;
    color: var(--primary-teal) !important;
    background-color: rgba(47, 166, 166, 0.05) !important;
}

.dropdown-item-all:hover {
    background-color: rgba(47, 166, 166, 0.15) !important;
    color: var(--primary-red) !important;
}

/* About Section Premium RWD Fixes */
@media (max-width: 991px) {
    .about-section-premium {
        padding: 50px 0;
    }
    
    .about-image-wrapper {
        max-width: 450px;
        margin: 0 auto;
    }
    
    .about-experience-badge {
        right: 0;
        bottom: -15px;
        padding: 15px 20px;
    }
    
    .about-experience-badge .years {
        font-size: 1.8rem;
    }
    
    .about-experience-badge .text {
        font-size: 10px;
    }
    
    .about-content-premium {
        margin-top: 40px;
        text-align: center;
    }
    
    .about-content-premium h2 {
        font-size: 1.8rem;
    }
    
    .title-underline {
        margin: 15px auto 20px;
    }
    
    .about-highlights {
        text-align: left;
    }
    
    .objectives-section {
        padding: 50px 0;
    }
    
    .objectives-card {
        padding: 30px 25px;
        margin-bottom: 20px;
    }
    
    .director-section-premium {
        padding: 50px 0;
    }
    
    .director-card-premium {
        padding: 30px;
    }
    
    .director-image-premium img {
        width: 220px;
        max-width: 100%;
    }
    
    .director-content-premium {
        text-align: center;
        padding-left: 0;
        margin-top: 25px;
    }
    
    .director-quote {
        text-align: left;
    }
    
    .organigramme-section-premium {
        padding: 50px 0;
    }
    
    .org-level-premium.departments,
    .org-level-premium.services {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .org-card-premium {
        min-width: 140px;
        padding: 18px;
    }
    
    .org-card-premium h4 {
        font-size: 0.85rem;
    }
    
    .org-card-premium p {
        font-size: 11px;
    }
    
    .values-section {
        padding: 50px 0;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .value-card {
        padding: 25px 20px;
    }
    
    .value-card h4 {
        font-size: 1rem;
    }
    
    .value-card p {
        font-size: 13px;
    }
}

@media (max-width: 767px) {
    .about-section-premium,
    .objectives-section,
    .director-section-premium,
    .organigramme-section-premium,
    .stats-section-about,
    .values-section {
        padding: 40px 0;
    }
    
    .section-header h2,
    .about-content-premium h2 {
        font-size: 1.5rem;
    }
    
    .section-subtitle {
        font-size: 11px;
        padding: 4px 15px;
    }
    
    .about-experience-badge {
        position: relative;
        right: auto;
        bottom: auto;
        display: inline-block;
        margin-top: 20px;
    }
    
    .about-image-wrapper {
        text-align: center;
    }
    
    .objectives-card {
        padding: 25px 20px;
    }
    
    .objectives-card h3 {
        font-size: 1.2rem;
    }
    
    .objectives-card .card-icon {
        width: 55px;
        height: 55px;
    }
    
    .objectives-card .card-icon i {
        font-size: 1.5rem;
    }
    
    .director-card-premium {
        padding: 25px 20px;
    }
    
    .director-content-premium h3 {
        font-size: 1.3rem;
    }
    
    .director-quote p {
        font-size: 0.95rem;
    }
    
    .org-level-premium.departments {
        flex-direction: column;
        align-items: center;
    }
    
    .org-level-premium.services {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .org-card-premium {
        width: 100%;
        max-width: 200px;
    }
    
    .org-card-premium.small {
        max-width: 100%;
        min-width: auto;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .value-card {
        padding: 20px 15px;
    }
    
    .value-icon {
        width: 50px;
        height: 50px;
    }
    
    .value-icon i {
        font-size: 1.3rem;
    }
    
    .stats-header h2 {
        font-size: 1.5rem;
    }
    
    .stats-header p {
        font-size: 0.9rem;
    }
    
    .stat-card-about h3 {
        font-size: 1.8rem;
    }
    
    .stat-card-about p {
        font-size: 12px;
    }
    
    .stat-card-about .stat-icon {
        width: 50px;
        height: 50px;
    }
    
    .stat-card-about .stat-icon i {
        font-size: 1.3rem;
    }
    
    /* Director highlight */
    .director-highlight {
        padding: 25px 20px;
    }
    
    .director-image img {
        width: 200px;
        height: auto;
        max-height: 280px;
    }
    
    .director-info h3 {
        font-size: 1.3rem;
    }
    
    .director-info .director-quote {
        font-size: 0.95rem;
        padding-left: 15px;
    }
    
    /* Team grid full RWD */
    .team-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .team-grid-full .member-info {
        padding: 15px;
    }
    
    .team-grid-full .member-info h4 {
        font-size: 0.9rem;
    }
    
    .team-grid-full .member-info p {
        font-size: 11px;
        display: none;
    }
    
    .team-grid-full .member-role {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .org-level-premium.services {
        grid-template-columns: 1fr;
    }
    
    .team-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .team-grid-full .member-info h4 {
        font-size: 0.8rem;
    }
    
    .team-grid-full .member-role {
        font-size: 10px;
    }
}

/* ========================================
   Products Category Page - New Styles
   ======================================== */

/* Subcategory List */
.category-item {
    margin-bottom: 0;
}

.category-item.has-children .category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: var(--dark-gray);
    text-decoration: none;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.category-item.has-children .category-link:hover {
    background: rgba(47, 166, 166, 0.05);
    color: var(--primary-teal);
}

.category-item.has-children.active > .category-link {
    background: rgba(47, 166, 166, 0.1);
    color: var(--primary-teal);
    font-weight: 600;
}

.category-link .toggle-icon {
    font-size: 12px;
    transition: var(--transition);
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #f9f9f9;
}

.subcategory-list.show {
    max-height: 500px;
}

.subcategory-list li a {
    display: block;
    padding: 10px 15px 10px 30px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
}

.subcategory-list li a:hover,
.subcategory-list li a.active {
    color: var(--primary-teal);
    background: rgba(47, 166, 166, 0.05);
    padding-left: 35px;
}

.subcategory-list li a.active {
    font-weight: 600;
}

/* Sidebar CTA - Red Background */
.sidebar-cta {
    background: #ed2719;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: var(--white);
    margin-top: 25px;
}

.sidebar-cta h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.sidebar-cta p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.btn-cta-sidebar {
    display: inline-block;
    background: var(--white);
    color: #ed2719;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-sidebar:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

/* Sort Select Improved Design */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 15px;
}

.toolbar-info p {
    margin: 0;
    color: var(--text-gray);
    font-size: 14px;
}

.sort-select-wrapper {
    position: relative;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 45px 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-gray);
    background: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 30px;
    cursor: pointer;
    min-width: 180px;
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.sort-select:hover {
    border-color: var(--primary-teal);
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-teal);
    box-shadow: 0 0 0 3px rgba(47, 166, 166, 0.15);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-link {
    text-decoration: none;
    display: block;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 166, 166, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.view-details i {
    margin-right: 5px;
}

.product-info {
    padding: 20px;
}

.product-brand {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.product-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.product-actions {
    padding: 0 20px 20px;
}

.btn-product-quote {
    display: block;
    text-align: center;
    padding: 10px 15px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-product-quote:hover {
    background: var(--primary-teal);
    color: var(--white);
}

/* Pagination */
.products-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.products-pagination .pagination {
    gap: 8px;
}

.products-pagination .page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    color: var(--dark-gray);
    font-weight: 600;
    transition: var(--transition);
}

.products-pagination .page-link:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

.products-pagination .page-item.active .page-link {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

.products-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Product Detail Page Styles
   ======================================== */
.product-detail-section {
    padding: 60px 0;
}

.product-detail-image {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
}

.thumbnail:hover,
.thumbnail.active {
    border-color: var(--primary-teal);
}

.product-detail-info {
    padding-left: 30px;
}

.product-brand-badge {
    display: inline-block;
    background: var(--primary-teal);
    color: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.product-category {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 25px;
}

.product-category a {
    color: var(--primary-teal);
    text-decoration: none;
}

.product-category a:hover {
    text-decoration: underline;
}

.product-description,
.product-features {
    margin-bottom: 25px;
}

.product-description h4,
.product-features h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

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

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

.features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-gray);
}

.features-list li i {
    color: var(--primary-teal);
}

.product-ref {
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin-bottom: 25px;
}

.product-ref p {
    margin: 0;
    color: var(--text-gray);
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-quote-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-quote-detail:hover {
    background: #c51f13;
    color: var(--white);
    transform: translateY(-2px);
}

.btn-contact-detail {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 30px;
    background: var(--white);
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-contact-detail:hover {
    background: var(--primary-teal);
    color: var(--white);
}

/* Share Buttons */
.product-share {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
}

.product-share h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.share-btn.facebook { background: #1877F2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.twitter { background: #000; }
.share-btn.email { background: #EA4335; }
.share-btn.copy { background: var(--primary-teal); }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Related Products */
.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #eee;
}

.related-products h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.product-card.mini {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.product-card.mini .product-info {
    padding: 15px;
}

.product-card.mini .product-info h4 {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail-info {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .product-detail-image {
        position: relative;
        top: 0;
    }
}

@media (max-width: 767px) {
    .products-toolbar {
        flex-direction: column;
        text-align: center;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h4 {
        font-size: 0.9rem;
    }
    
    .product-info p {
        display: none;
    }
    
    .product-actions {
        padding: 0 15px 15px;
    }
    
    .btn-product-quote {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .products-pagination .page-link {
        width: 36px;
        height: 36px;
        font-size: 14px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .btn-quote-detail,
    .btn-contact-detail {
        justify-content: center;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        border-radius: 10px;
    }
    
    .product-info h4 {
        font-size: 0.8rem;
    }
    
    .product-brand {
        font-size: 10px;
    }
}

/* ========================================
   Products Category Page - Enhanced Styles
   ======================================== */

.products-category-section {
    padding: 60px 0;
    background: #f8f9fa;
}

/* Sidebar Categories */
.sidebar-categories {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
}

.sidebar-categories h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

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

.category-item {
    margin-bottom: 0;
}

.category-item.has-children .category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    color: var(--dark-gray);
    text-decoration: none;
    border-bottom: 1px solid #f0f0f0;
    transition: var(--transition);
    font-size: 14px;
    font-weight: 500;
}

.category-item.has-children .category-link span {
    flex: 1;
}

.category-item.has-children .category-link:hover {
    background: rgba(47, 166, 166, 0.05);
    color: var(--primary-teal);
    padding-left: 20px;
}

.category-item.has-children.active > .category-link {
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.1) 0%, rgba(209, 36, 37, 0.05) 100%);
    color: var(--primary-teal);
    font-weight: 600;
    border-left: 3px solid var(--primary-teal);
}

.category-link .toggle-icon {
    font-size: 12px;
    transition: var(--transition);
    cursor: pointer;
    padding: 5px;
}

.category-item.active .toggle-icon {
    transform: rotate(180deg);
}

.subcategory-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fafafa;
}

.subcategory-list.show {
    max-height: 500px;
}

.subcategory-list li a {
    display: block;
    padding: 10px 15px 10px 35px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    transition: var(--transition);
    position: relative;
}

.subcategory-list li a::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #ccc;
    transition: var(--transition);
}

.subcategory-list li a:hover,
.subcategory-list li a.active {
    color: var(--primary-teal);
    background: rgba(47, 166, 166, 0.05);
    padding-left: 40px;
}

.subcategory-list li a:hover::before,
.subcategory-list li a.active::before {
    background: var(--primary-teal);
}

.subcategory-list li a.active {
    font-weight: 600;
}

/* Sidebar CTA - Red Background */
.sidebar-cta {
    background: #ed2719;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: var(--white);
    margin-top: 25px;
}

.sidebar-cta-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

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

.sidebar-cta h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.sidebar-cta p {
    font-size: 14px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.btn-cta-sidebar {
    display: inline-block;
    background: var(--white);
    color: #ed2719;
    padding: 12px 28px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-cta-sidebar:hover {
    background: var(--dark-gray);
    color: var(--white);
    transform: translateY(-2px);
}

/* Products Toolbar */
.products-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 18px 25px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    flex-wrap: wrap;
    gap: 15px;
}

.toolbar-info p {
    margin: 0;
    color: var(--text-gray);
    font-size: 14px;
}

/* Sort Select - Improved Design (matching screenshot) */
.sort-select-wrapper {
    position: relative;
}

.sort-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 12px 45px 12px 18px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-gray);
    background: var(--white);
    border: 2px solid #d0e3ff;
    border-radius: 8px;
    cursor: pointer;
    min-width: 180px;
    transition: var(--transition);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.sort-select:hover {
    border-color: #a0c4ff;
}

.sort-select:focus {
    outline: none;
    border-color: #4d9aff;
    box-shadow: 0 0 0 3px rgba(77, 154, 255, 0.15);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.product-link {
    text-decoration: none;
    display: block;
}

.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--primary-red);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    z-index: 2;
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(47, 166, 166, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.view-details {
    color: var(--white);
    font-weight: 600;
    font-size: 14px;
}

.view-details i {
    margin-right: 5px;
}

.product-info {
    padding: 20px;
}

.product-brand {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-teal);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.product-info h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 8px;
    transition: var(--transition);
}

.product-card:hover .product-info h4 {
    color: var(--primary-teal);
}

.product-info p {
    font-size: 13px;
    color: var(--text-gray);
    margin: 0;
    line-height: 1.5;
}

.product-actions {
    padding: 0 20px 20px;
}

.btn-product-quote {
    display: block;
    text-align: center;
    padding: 12px 15px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-product-quote:hover {
    background: var(--primary-teal);
    color: var(--white);
}

/* Pagination */
.products-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.products-pagination .pagination {
    gap: 8px;
}

.products-pagination .page-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    color: var(--dark-gray);
    font-weight: 600;
    transition: var(--transition);
    background: var(--white);
}

.products-pagination .page-link:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

.products-pagination .page-item.active .page-link {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

.products-pagination .page-item.disabled .page-link {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Product Detail Page Styles
   ======================================== */
.product-detail-section {
    padding: 60px 0;
}

.product-detail-image {
    position: sticky;
    top: 100px;
}

.main-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.main-image img {
    width: 100%;
    height: auto;
}

.main-image .product-badge {
    top: 20px;
    left: 20px;
    padding: 8px 18px;
    font-size: 12px;
}

.product-thumbnails {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: var(--transition);
    opacity: 0.7;
}

.thumbnail:hover {
    opacity: 1;
}

.thumbnail.active {
    border-color: var(--primary-teal);
    opacity: 1;
}

.product-detail-info {
    padding-left: 30px;
}

.product-brand-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.product-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

.product-category {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 25px;
}

.product-category a {
    color: var(--primary-teal);
    text-decoration: none;
    font-weight: 500;
}

.product-category a:hover {
    text-decoration: underline;
}

.product-description,
.product-features {
    margin-bottom: 25px;
}

.product-description h4,
.product-features h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 15px;
}

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

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

.features-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-gray);
    border-bottom: 1px solid #f0f0f0;
}

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

.features-list li i {
    color: var(--primary-teal);
    font-size: 1.1rem;
}

.product-ref {
    padding: 15px 0;
    border-top: 2px solid #eee;
    border-bottom: 2px solid #eee;
    margin-bottom: 25px;
}

.product-ref p {
    margin: 0;
    color: var(--text-gray);
    font-size: 15px;
}

.product-actions-detail {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.btn-quote-detail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: linear-gradient(135deg, var(--primary-red) 0%, #c51f13 100%);
    color: var(--white);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 5px 20px rgba(209, 36, 37, 0.3);
}

.btn-quote-detail:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(209, 36, 37, 0.4);
    color: var(--white);
}

.btn-contact-detail {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--white);
    color: var(--primary-teal);
    border: 2px solid var(--primary-teal);
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-contact-detail:hover {
    background: var(--primary-teal);
    color: var(--white);
}

/* Share Buttons */
.product-share {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 25px;
    border-radius: 15px;
}

.product-share h5 {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 18px;
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.share-btn.facebook { background: #1877F2; }
.share-btn.whatsapp { background: #25D366; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.twitter { background: #000; }
.share-btn.email { background: #EA4335; }
.share-btn.copy { background: var(--primary-teal); }

.share-btn:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* Related Products */
.related-products {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #eee;
}

.related-products h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.product-card.mini {
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
}

.product-card.mini .product-info {
    padding: 15px;
}

.product-card.mini .product-info h4 {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 991px) {
    .products-category-section {
        padding: 40px 0;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .product-detail-info {
        padding-left: 0;
        margin-top: 30px;
    }
    
    .product-detail-image {
        position: relative;
        top: 0;
    }
    
    .sidebar-categories {
        margin-bottom: 20px;
    }
}

@media (max-width: 767px) {
    .products-toolbar {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .sort-select {
        width: 100%;
        min-width: auto;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-info {
        padding: 15px;
    }
    
    .product-info h4 {
        font-size: 0.9rem;
    }
    
    .product-info p {
        display: none;
    }
    
    .product-actions {
        padding: 0 15px 15px;
    }
    
    .btn-product-quote {
        font-size: 12px;
        padding: 10px 12px;
    }
    
    .products-pagination .page-link {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .product-title {
        font-size: 1.5rem;
    }
    
    .product-actions-detail {
        flex-direction: column;
    }
    
    .btn-quote-detail,
    .btn-contact-detail {
        justify-content: center;
        width: 100%;
    }
    
    .thumbnail {
        width: 60px;
        height: 60px;
    }
    
    .share-btn {
        width: 40px;
        height: 40px;
    }
    
    .sidebar-cta {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-card {
        border-radius: 10px;
    }
    
    .product-info h4 {
        font-size: 0.8rem;
    }
    
    .product-brand {
        font-size: 10px;
    }
    
    .btn-product-quote {
        font-size: 11px;
        padding: 8px 10px;
    }
}

/* ========================================
   FIXES AND IMPROVEMENTS - February 2025
   ======================================== */

/* ========================================
   Mobile Navigation Fix
   ======================================== */
@media (max-width: 991px) {
    .main-nav {
        padding: 0;
    }
    
    .main-nav .container {
        padding: 0;
    }
    
    .main-nav .navbar-toggler {
        margin: 10px 15px;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.5);
        border-radius: 8px;
        padding: 8px 12px;
    }
    
    .main-nav .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
    }
    
    .main-nav .navbar-collapse {
        background: var(--primary-red);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .main-nav .navbar-nav {
        padding: 10px 0;
        width: 100%;
        flex-direction: column;
    }
    
    .main-nav .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .main-nav .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .main-nav .navbar-nav .nav-link {
        padding: 15px 20px;
        text-align: left;
        display: block;
        width: 100%;
        font-size: 14px;
        text-transform: uppercase;
        font-weight: 500;
    }
    
    .main-nav .navbar-nav .nav-link:hover,
    .main-nav .navbar-nav .nav-link:focus {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .main-nav .navbar-nav .nav-link.active {
        background: rgba(0, 0, 0, 0.2);
    }
    
    /* Dropdown in mobile */
    .main-nav .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        background: rgba(0, 0, 0, 0.15);
        border: none;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
        padding: 0;
        width: 100%;
    }
    
    .main-nav .navbar-nav .dropdown-menu .dropdown-item {
        color: var(--white);
        padding: 12px 20px 12px 35px;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-nav .navbar-nav .dropdown-menu .dropdown-item:hover,
    .main-nav .navbar-nav .dropdown-menu .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }
    
    .main-nav .navbar-nav .dropdown-menu .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.15);
        margin: 0;
    }
    
    .main-nav .navbar-nav .dropdown-item-all {
        background: rgba(255, 255, 255, 0.1) !important;
        font-weight: 600 !important;
        color: var(--white) !important;
    }
    
    /* Make dropdown toggle work on mobile */
    .main-nav .dropdown > .nav-link::after {
        content: '';
        display: inline-block;
        margin-left: 8px;
        vertical-align: middle;
        border-top: 5px solid;
        border-right: 5px solid transparent;
        border-left: 5px solid transparent;
        transition: transform 0.3s ease;
    }
    
    .main-nav .dropdown.show > .nav-link::after {
        transform: rotate(180deg);
    }
}

/* ========================================
   Team Grid Member Role Fix
   ======================================== */
.team-grid-full .member-role {
    display: block;
    color: #c92628;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

.team-grid-full .team-member-card .member-info h4 {
    color: var(--dark-gray);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.team-grid-full .team-member-card .member-info p {
    color: var(--text-gray);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 767px) {
    .team-grid-full .member-role {
        font-size: 11px;
        display: block !important;
    }
    
    .team-grid-full .team-member-card .member-info p {
        font-size: 11px;
        display: block !important;
    }
}

/* ========================================
   Category Item Active State Fix
   ======================================== */
.category-item.has-children.active > .category-link {
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.1) 0%, rgba(209, 36, 37, 0.05) 100%);
    color: #e31e24;
    font-weight: 600;
    border-left: 3px solid var(--primary-teal);
    margin-bottom: 0;
}

/* ========================================
   Product Images - Centered and Fill Space
   ======================================== */
.product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    padding: 10px;
}

/* Mini product cards (Related Products) */
.product-card.mini .product-image {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    padding: 0;
}

.product-card.mini .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

/* ========================================
   Product Detail Image Zoom Effect
   ======================================== */
.product-detail-image .main-image {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.product-detail-image .main-image img {
    transition: transform 0.4s ease;
}

.product-detail-image .main-image:hover img {
    transform: scale(1.5);
}

/* Zoom lens effect on hover */
.zoom-container {
    position: relative;
    overflow: hidden;
    cursor: crosshair;
}

.zoom-container img {
    transition: transform 0.1s ease-out;
    transform-origin: center center;
}

.zoom-container:hover img {
    transform: scale(2);
}

/* Alternative: Magnifier lens */
.magnifier-container {
    position: relative;
    display: inline-block;
}

.magnifier-lens {
    position: absolute;
    border: 3px solid var(--primary-teal);
    border-radius: 50%;
    cursor: none;
    width: 150px;
    height: 150px;
    background-repeat: no-repeat;
    background-color: white;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.3);
    display: none;
    pointer-events: none;
    z-index: 100;
}

.magnifier-container:hover .magnifier-lens {
    display: block;
}

/* ========================================
   Products Grid Responsive Improvements
   ======================================== */
@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .product-card .product-image img {
        padding: 12px;
    }
}

@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card .product-image img {
        padding: 10px;
    }
    
    .product-card .product-info {
        padding: 12px;
    }
    
    .product-card .product-info h4 {
        font-size: 0.85rem;
    }
    
    .product-card .product-actions {
        padding: 0 12px 12px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        gap: 10px;
    }
    
    .product-card .product-image img {
        padding: 8px;
    }
    
    .product-card .product-info {
        padding: 10px;
    }
    
    .product-card .product-info h4 {
        font-size: 0.8rem;
    }
}

/* ========================================
   Team Section RWD Improvements
   ======================================== */
@media (max-width: 991px) {
    .team-grid-full {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .director-highlight {
        padding: 30px;
    }
    
    .director-image img {
        width: 220px;
        height: auto;
    }
}

@media (max-width: 767px) {
    .team-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .team-grid-full .team-member-card .member-info {
        padding: 15px;
    }
    
    .director-highlight {
        padding: 20px;
    }
    
    .director-image img {
        width: 180px;
    }
    
    .director-info h3 {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .team-grid-full {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .team-grid-full .team-member-card .member-info {
        padding: 12px;
    }
    
    .team-grid-full .team-member-card .member-info h4 {
        font-size: 0.85rem;
    }
}

/* ========================================
   Additional Fixes - Override
   ======================================== */

/* Member Role - Red Color Override */
.team-grid-full .team-member-card .member-role {
    display: block !important;
    color: #c92628 !important;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Category Active State - Red Color Override */
.sidebar-categories .category-item.has-children.active > .category-link {
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.1) 0%, rgba(209, 36, 37, 0.05) 100%) !important;
    color: #e31e24 !important;
    font-weight: 600;
    border-left: 3px solid var(--primary-teal);
}

/* Product Images - Ensure Full Space */
.products-grid .product-card .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.products-grid .product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 15px;
}

/* Mini Products */
.product-card.mini .product-image {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
}

.product-card.mini .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 12px;
}

/* ========================================
   FINAL FIXES - February 2025
   ======================================== */

/* Category Active State with margin-bottom */
.sidebar-categories .category-item.has-children.active > .category-link {
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.1) 0%, rgba(209, 36, 37, 0.05) 100%) !important;
    color: #e31e24 !important;
    font-weight: 600;
    border-left: 3px solid var(--primary-teal);
    margin-bottom: 10px !important;
}

/* Ensure subcategory list has proper margin */
.sidebar-categories .subcategory-list.show {
    margin-bottom: 10px;
}

/* Product Card Images - Centered and Fill Space */
.products-grid .product-card .product-image,
.product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa;
    padding: 0;
}

.products-grid .product-card .product-image img,
.product-card .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 15px;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
    padding: 10px;
}

/* Mini Product Cards */
.product-card.mini .product-image {
    aspect-ratio: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa;
}

.product-card.mini .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    padding: 12px;
}

/* ========================================
   Mobile Navigation Fix - Complete Override
   ======================================== */
@media (max-width: 991.98px) {
    .main-nav {
        padding: 0 !important;
    }
    
    .main-nav .container {
        padding: 0;
        max-width: 100%;
    }
    
    .main-nav .navbar-toggler {
        margin: 12px 15px;
        background: rgba(255, 255, 255, 0.15);
        border: 2px solid rgba(255, 255, 255, 0.6);
        border-radius: 8px;
        padding: 10px 14px;
    }
    
    .main-nav .navbar-toggler:focus {
        box-shadow: none;
        outline: none;
        background: rgba(255, 255, 255, 0.25);
    }
    
    .main-nav .navbar-toggler-icon {
        width: 1.2em;
        height: 1.2em;
    }
    
    .main-nav .navbar-collapse {
        background: var(--primary-red);
        border-top: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .main-nav .navbar-nav {
        padding: 0;
        width: 100%;
        flex-direction: column;
    }
    
    .main-nav .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .main-nav .navbar-nav .nav-item:last-child {
        border-bottom: none;
    }
    
    .main-nav .navbar-nav .nav-link {
        padding: 15px 20px !important;
        text-align: left;
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 14px;
        text-transform: uppercase;
        font-weight: 500;
        color: var(--white) !important;
    }
    
    .main-nav .navbar-nav .nav-link:hover,
    .main-nav .navbar-nav .nav-link:focus {
        background: rgba(255, 255, 255, 0.1);
    }
    
    .main-nav .navbar-nav .nav-link.active {
        background: rgba(0, 0, 0, 0.2);
    }
    
    /* Dropdown Toggle Arrow */
    .main-nav .navbar-nav .dropdown-toggle::after {
        margin-left: auto;
        border-top: 0.4em solid;
        border-right: 0.4em solid transparent;
        border-left: 0.4em solid transparent;
        transition: transform 0.3s ease;
    }
    
    .main-nav .navbar-nav .dropdown.show > .dropdown-toggle::after {
        transform: rotate(180deg);
    }
    
    /* Dropdown Menu Mobile */
    .main-nav .navbar-nav .dropdown-menu {
        position: static !important;
        transform: none !important;
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: rgba(0, 0, 0, 0.2) !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        display: none;
    }
    
    .main-nav .navbar-nav .dropdown.show > .dropdown-menu {
        display: block !important;
    }
    
    .main-nav .navbar-nav .dropdown-menu .dropdown-item {
        color: var(--white) !important;
        padding: 12px 20px 12px 40px !important;
        font-size: 13px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        background: transparent !important;
    }
    
    .main-nav .navbar-nav .dropdown-menu .dropdown-item:hover,
    .main-nav .navbar-nav .dropdown-menu .dropdown-item:focus {
        background: rgba(255, 255, 255, 0.1) !important;
        color: var(--white) !important;
    }
    
    .main-nav .navbar-nav .dropdown-menu .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .main-nav .navbar-nav .dropdown-menu .dropdown-divider {
        border-color: rgba(255, 255, 255, 0.15);
        margin: 0;
    }
    
    .main-nav .navbar-nav .dropdown-item-all {
        background: rgba(255, 255, 255, 0.1) !important;
        font-weight: 600 !important;
    }
}

/* ========================================
   COMPLETE MOBILE NAVIGATION FIX
   ======================================== */

/* Mobile Navigation Override */
@media (max-width: 991.98px) {
    /* Reset all Bootstrap defaults */
    .main-nav .navbar-nav .dropdown-menu {
        display: none !important;
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: rgba(0, 0, 0, 0.15) !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    
    .main-nav .navbar-nav .dropdown.show > .dropdown-menu,
    .main-nav .navbar-nav .dropdown-menu.show {
        display: block !important;
    }
    
    .main-nav .navbar-nav .dropdown-item {
        color: rgba(255, 255, 255, 0.9) !important;
        padding: 12px 20px 12px 35px !important;
        font-size: 13px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
        white-space: normal !important;
    }
    
    .main-nav .navbar-nav .dropdown-item:hover,
    .main-nav .navbar-nav .dropdown-item:focus {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
    }
    
    .main-nav .navbar-nav .dropdown-divider {
        margin: 0 !important;
        border-top-color: rgba(255, 255, 255, 0.1) !important;
    }
    
    .main-nav .navbar-nav .dropdown-item-all {
        background-color: rgba(255, 255, 255, 0.08) !important;
    }
}

/* ========================================
   CATEGORY SIDEBAR FIXES
   ======================================== */

/* Category Link Active with margin-bottom */
.sidebar-categories .category-item.has-children.active > .category-link {
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.1) 0%, rgba(209, 36, 37, 0.05) 100%) !important;
    color: #e31e24 !important;
    font-weight: 600 !important;
    border-left: 3px solid var(--primary-teal) !important;
    margin-bottom: 0 !important;
}

/* Subcategory list spacing */
.sidebar-categories .subcategory-list {
    margin-bottom: 10px;
}

.sidebar-categories .category-item:not(.active) .subcategory-list {
    margin-bottom: 0;
}

/* ========================================
   PRODUCT IMAGE CENTERING - FINAL FIX
   ======================================== */

.products-grid .product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa;
}

.products-grid .product-card .product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain !important;
    padding: 20px;
    transition: transform 0.3s ease;
}

.products-grid .product-card:hover .product-image img {
    transform: scale(1.08);
}

/* Mini Cards (Related Products) */
.product-card.mini .product-image {
    aspect-ratio: 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa;
}

.product-card.mini .product-image img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain !important;
    padding: 15px;
}

/* ========================================
   ZOOM HINT STYLE
   ======================================== */
.zoom-hint {
    text-align: center;
    color: #888;
}

@media (max-width: 767px) {
    .zoom-hint {
        display: none;
    }
}

/* ========================================
   PRODUCT IMAGES - ABSOLUTE FIX
   ======================================== */

/* Product Card Images - Centered and Full Space */
.products-grid .product-card .product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa;
    padding: 0 !important;
}

.products-grid .product-card .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 15px !important;
    transition: transform 0.3s ease, padding 0.3s ease;
}

.products-grid .product-card:hover .product-image img {
    transform: scale(1.05);
    padding: 10px !important;
}

/* Product Overlay */
.products-grid .product-card .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(47, 166, 166, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.products-grid .product-card:hover .product-overlay {
    opacity: 1;
}

/* Mini Product Cards (Related Products) */
.product-card.mini .product-image {
    aspect-ratio: 1 / 1;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa;
    padding: 0 !important;
}

.product-card.mini .product-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center center !important;
    padding: 12px !important;
}

/* Product Grid Responsive */
@media (max-width: 991px) {
    .products-grid .product-card .product-image img {
        padding: 12px !important;
    }
}

@media (max-width: 767px) {
    .products-grid .product-card .product-image img {
        padding: 10px !important;
    }
    
    .product-card.mini .product-image img {
        padding: 8px !important;
    }
}

/* ========================================
   PRODUCT IMAGES - DEFINITIVE FIX
   This overrides ALL previous rules
   ======================================== */

/* Main product grid container */
.products-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 25px !important;
}

/* Product card */
.products-grid .product-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

/* Product image container - FIXED HEIGHT */
.products-grid .product-card .product-image {
    position: relative !important;
    width: 100% !important;
    height: 250px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa !important;
    overflow: hidden !important;
    padding: 0 !important;
}

/* Product image - CENTERED AND CONTAINED */
.products-grid .product-card .product-image > img {
    max-width: 85% !important;
    max-height: 85% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    transition: transform 0.3s ease !important;
}

/* Hover effect */
.products-grid .product-card:hover .product-image > img {
    transform: scale(1.08) !important;
}

/* Product badge positioning */
.products-grid .product-card .product-image .product-badge {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    z-index: 5 !important;
}

/* Product overlay positioning */
.products-grid .product-card .product-image .product-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(47, 166, 166, 0.9) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: 3 !important;
}

.products-grid .product-card:hover .product-image .product-overlay {
    opacity: 1 !important;
}

.products-grid .product-card .product-image .view-details {
    color: var(--white) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 20px !important;
    }
    
    .products-grid .product-card .product-image {
        height: 220px !important;
    }
    
    .products-grid .product-card .product-image > img {
        max-width: 80% !important;
        max-height: 80% !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    .products-grid .product-card .product-image {
        height: 180px !important;
    }
    
    .products-grid .product-card .product-image > img {
        max-width: 75% !important;
        max-height: 75% !important;
    }
}

/* Responsive - Small Mobile */
@media (max-width: 480px) {
    .products-grid {
        gap: 10px !important;
    }
    
    .products-grid .product-card .product-image {
        height: 150px !important;
    }
}

/* ========================================
   MINI PRODUCT CARDS (Related Products)
   ======================================== */
.related-products .product-card.mini .product-image,
.product-card.mini .product-image {
    position: relative !important;
    width: 100% !important;
    height: 180px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa !important;
    overflow: hidden !important;
}

.related-products .product-card.mini .product-image img,
.product-card.mini .product-image img {
    max-width: 80% !important;
    max-height: 80% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
}

@media (max-width: 767px) {
    .related-products .product-card.mini .product-image,
    .product-card.mini .product-image {
        height: 140px !important;
    }
}

/* ========================================
   CATEGORY SIDEBAR - SPACING FIX
   ======================================== */

/* Space between category name and subcategories */
.sidebar-categories .category-item.has-children.active > .category-link {
    margin-bottom: 12px !important;
}

.sidebar-categories .category-item.has-children > .category-link {
    padding: 12px 15px !important;
}

/* Subcategory list spacing */
.sidebar-categories .subcategory-list {
    padding-top: 5px !important;
    padding-bottom: 10px !important;
    margin-top: 0 !important;
}

.sidebar-categories .subcategory-list li {
    margin-bottom: 2px !important;
}

.sidebar-categories .subcategory-list li a {
    padding: 10px 15px 10px 25px !important;
}

/* Zoom hint - align left */
.zoom-hint {
    text-align: left !important;
}

/* Remove border under categories */
.sidebar-categories .category-item {
    border-bottom: none !important;
}

.sidebar-categories .category-link {
    border-bottom: none !important;
}

.sidebar-categories .category-list > li {
    border-bottom: none !important;
    margin-bottom: 5px !important;
}

.sidebar-categories .category-list {
    border: none !important;
}

/* ========================================
   CATEGORY CARDS - MOBILE IMAGE ON TOP
   ======================================== */

/* Default: vertical layout */
.product-category-card {
    display: flex;
    flex-direction: column;
}

.product-category-card .category-image {
    order: 1;
}

.product-category-card .category-info {
    order: 2;
}

/* Mobile: Ensure image is on top */
@media (max-width: 767px) {
    .product-category-card {
        display: flex !important;
        flex-direction: column !important;
    }
    
    .product-category-card .category-image {
        order: 1 !important;
        width: 100% !important;
        height: 180px !important;
    }
    
    .product-category-card .category-info {
        order: 2 !important;
        width: 100% !important;
        padding: 20px !important;
    }
    
    .product-category-card .category-info h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    .product-category-card .category-info p {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .product-category-card .category-image {
        height: 150px !important;
    }
    
    .product-category-card .category-info {
        padding: 15px !important;
    }
    
    .product-category-card .category-info h3 {
        font-size: 0.95rem !important;
    }
    
    .product-category-card .category-info p {
        font-size: 0.8rem !important;
    }
}

/* ========================================
   HOMEPAGE CATEGORY CARDS - IMAGE ON TOP (MOBILE)
   ======================================== */

@media (max-width: 767px) {
    .category-card {
        flex-direction: column !important;
        align-items: stretch !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
    
    .category-card .category-image {
        order: -1 !important;
        width: 100% !important;
        height: 150px !important;
        flex-shrink: 0 !important;
    }
    
    .category-card .category-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }
    
    .category-card .category-content {
        order: 2 !important;
        padding: 20px !important;
        text-align: left !important;
    }
    
    .category-card .category-content h5 {
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
    }
    
    .category-card .category-content p {
        font-size: 0.85rem !important;
        margin-bottom: 12px !important;
    }
    
    .category-card .btn-category {
        font-size: 0.85rem !important;
        padding: 10px 20px !important;
    }
}

@media (max-width: 480px) {
    .category-card .category-image {
        height: 130px !important;
    }
    
    .category-card .category-content {
        padding: 15px !important;
    }
    
    .category-card .category-content h5 {
        font-size: 0.9rem !important;
    }
    
    .category-card .category-content p {
        font-size: 0.8rem !important;
        margin-bottom: 10px !important;
    }
}

/* ========================================
   SIDEBAR CATEGORIES - COMPLETE REWRITE
   ======================================== */

/* Main container */
.sidebar-categories {
    background: var(--white) !important;
    border-radius: 15px !important;
    padding: 25px !important;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08) !important;
    margin-bottom: 25px !important;
}

.sidebar-categories h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: var(--dark-gray) !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 2px solid #eee !important;
}

/* Category list */
.sidebar-categories .category-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Category item */
.sidebar-categories .category-list > li.category-item {
    margin-bottom: 8px !important;
    border: none !important;
    border-bottom: none !important;
}

/* Category link (main category) */
.sidebar-categories .category-link {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 16px !important;
    background: #f8f9fa !important;
    border-radius: 10px !important;
    color: var(--dark-gray) !important;
    font-weight: 500 !important;
    font-size: 14px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    border: none !important;
    border-left: 3px solid transparent !important;
}

.sidebar-categories .category-link:hover {
    background: #f0f4f8 !important;
    color: var(--primary-teal) !important;
}

.sidebar-categories .category-link span {
    flex: 1 !important;
}

.sidebar-categories .category-link .toggle-icon {
    font-size: 12px !important;
    transition: transform 0.3s ease !important;
    color: #999 !important;
}

/* Active category */
.sidebar-categories .category-item.active > .category-link,
.sidebar-categories .category-item.has-children.active > .category-link {
    background: linear-gradient(135deg, rgba(47, 166, 166, 0.08) 0%, rgba(255, 255, 255, 1) 100%) !important;
    color: #e31e24 !important;
    font-weight: 600 !important;
    border-left: 3px solid var(--primary-teal) !important;
}

.sidebar-categories .category-item.active > .category-link .toggle-icon {
    transform: rotate(180deg) !important;
    color: var(--primary-teal) !important;
}

/* Subcategory list */
.sidebar-categories .subcategory-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 12px 0 5px 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease, margin 0.3s ease !important;
}

.sidebar-categories .subcategory-list.show {
    max-height: 500px !important;
    margin: 12px 0 5px 0 !important;
}

/* Subcategory items */
.sidebar-categories .subcategory-list li {
    margin-bottom: 6px !important;
    border: none !important;
}

.sidebar-categories .subcategory-list li:last-child {
    margin-bottom: 0 !important;
}

.sidebar-categories .subcategory-list li a {
    display: block !important;
    padding: 12px 18px !important;
    background: var(--primary-teal) !important;
    color: var(--white) !important;
    border-radius: 8px !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.sidebar-categories .subcategory-list li a::before {
    content: '•' !important;
    margin-right: 8px !important;
    font-size: 10px !important;
}

.sidebar-categories .subcategory-list li a:hover {
    background: #1a8a8a !important;
    transform: translateX(3px) !important;
}

/* Responsive */
@media (max-width: 991px) {
    .sidebar-categories {
        padding: 20px !important;
    }
    
    .sidebar-categories .category-link {
        padding: 12px 14px !important;
        font-size: 13px !important;
    }
    
    .sidebar-categories .subcategory-list li a {
        padding: 10px 15px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 767px) {
    .sidebar-categories {
        padding: 18px !important;
        margin-bottom: 20px !important;
    }
    
    .sidebar-categories h4 {
        font-size: 1rem !important;
        margin-bottom: 15px !important;
        padding-bottom: 12px !important;
    }
    
    .sidebar-categories .category-link {
        padding: 12px !important;
        font-size: 13px !important;
    }
    
    .sidebar-categories .category-list > li.category-item {
        margin-bottom: 6px !important;
    }
}

/* ========================================
   HOMEPAGE CATEGORY CARDS - COMPLETE FIX
   ======================================== */

/* Category card container */
.category-card {
    border-radius: 20px !important;
    padding: 5px 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    transition: var(--transition) !important;
    height: 100% !important;
    min-height: 180px !important;
}

/* Category image container */
.category-card .category-image {
    position: relative !important;
    height: 180px !important;
    width: 180px !important;
    min-width: 150px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--white) !important;
    border-radius: 8px !important;
    flex-shrink: 0 !important;
}

/* Category image */
.category-card .category-image img {
    width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transition: var(--transition) !important;
    border-radius: 8px !important;
}

.category-card:hover .category-image img {
    transform: scale(1.05) !important;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .category-card {
        padding: 5px 20px !important;
        min-height: 160px !important;
    }
    
    .category-card .category-image {
        height: 150px !important;
        width: 150px !important;
        min-width: 120px !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .category-card {
        flex-direction: column !important;
        padding: 0 !important;
        min-height: auto !important;
        overflow: hidden !important;
    }
    
    .category-card .category-image {
        order: -1 !important;
        width: 100% !important;
        height: 150px !important;
        min-width: 100% !important;
        border-radius: 8px 8px 0 0 !important;
    }
    
    .category-card .category-image img {
        border-radius: 8px 8px 0 0 !important;
    }
    
    .category-card .category-content {
        order: 2 !important;
        padding: 20px !important;
        width: 100% !important;
    }
}

@media (max-width: 480px) {
    .category-card .category-image {
        height: 130px !important;
    }
    
    .category-card .category-content {
        padding: 15px !important;
    }
}

/* ========================================
   HOMEPAGE CATEGORY CARDS - REFINED
   ======================================== */

/* Override previous rules */
.category-card {
    border-radius: 20px !important;
    padding: 20px 25px !important;
    display: flex !important;
    align-items: center !important;
    gap: 20px !important;
    transition: var(--transition) !important;
    height: 100% !important;
    min-height: 160px !important;
}

/* Category image container - smaller and centered */
.category-card .category-image {
    position: relative !important;
    height: 130px !important;
    width: 130px !important;
    min-width: 130px !important;
    max-width: 130px !important;
    overflow: hidden !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--white) !important;
    border-radius: 12px !important;
    flex-shrink: 0 !important;
    padding: 10px !important;
}

/* Category image */
.category-card .category-image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    transition: var(--transition) !important;
    border-radius: 8px !important;
}

.category-card:hover .category-image img {
    transform: scale(1.08) !important;
}

/* Category content */
.category-card .category-content {
    flex: 1 !important;
    padding-right: 10px !important;
}

.category-card .category-content h5 {
    font-size: 0.95rem !important;
    margin-bottom: 10px !important;
}

.category-card .category-content p {
    font-size: 0.85rem !important;
    margin-bottom: 15px !important;
    line-height: 1.5 !important;
}

/* Responsive - Tablet */
@media (max-width: 991px) {
    .category-card {
        padding: 15px 20px !important;
        gap: 15px !important;
        min-height: 150px !important;
    }
    
    .category-card .category-image {
        height: 110px !important;
        width: 110px !important;
        min-width: 110px !important;
        max-width: 110px !important;
        padding: 8px !important;
    }
    
    .category-card .category-content h5 {
        font-size: 0.9rem !important;
    }
    
    .category-card .category-content p {
        font-size: 0.8rem !important;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .category-card {
        flex-direction: column !important;
        padding: 0 !important;
        min-height: auto !important;
        overflow: hidden !important;
        gap: 0 !important;
    }
    
    .category-card .category-image {
        order: -1 !important;
        width: 100% !important;
        height: 140px !important;
        min-width: 100% !important;
        max-width: 100% !important;
        border-radius: 12px 12px 0 0 !important;
        padding: 15px !important;
    }
    
    .category-card .category-image img {
        border-radius: 8px !important;
    }
    
    .category-card .category-content {
        order: 2 !important;
        padding: 18px !important;
        width: 100% !important;
    }
    
    .category-card .category-content h5 {
        font-size: 0.9rem !important;
        margin-bottom: 8px !important;
    }
    
    .category-card .category-content p {
        font-size: 0.8rem !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 480px) {
    .category-card .category-image {
        height: 120px !important;
        padding: 12px !important;
    }
    
    .category-card .category-content {
        padding: 15px !important;
    }
    
    .category-card .category-content h5 {
        font-size: 0.85rem !important;
    }
    
    .category-card .category-content p {
        font-size: 0.75rem !important;
    }
    
    .category-card .btn-category {
        font-size: 0.8rem !important;
        padding: 8px 16px !important;
    }
}

/* ========================================
   SUBCATEGORY BULLET FIX
   ======================================== */

/* Remove bullet points from subcategories */
.sidebar-categories .subcategory-list li a::before {
    display: none !important;
    content: none !important;
}

/* Adjust padding without bullet */
.sidebar-categories .subcategory-list li a {
    padding: 12px 18px !important;
    padding-left: 18px !important;
}

/* ========================================
   CATEGORY CARDS - MOBILE IMAGE BORDER
   ======================================== */

@media (max-width: 767px) {
    /* Add border matching the card background color */
    .category-card .category-image {
        border: 2px solid rgba(0, 0, 0, 0.08) !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    }
    
    /* Specific border colors matching each card background */
    .category-card.category-blue .category-image {
        border-color: #c5e3f5 !important;
    }
    
    .category-card.category-beige .category-image,
    .category-card.category-mint .category-image {
        border-color: #c8e5cb !important;
    }
    
    /* Alternative: subtle shadow effect */
    .category-card .category-image {
        position: relative !important;
    }
    
    .category-card .category-image::after {
        content: '' !important;
        position: absolute !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 3px !important;
        background: linear-gradient(to bottom, rgba(0,0,0,0.05), transparent) !important;
    }
}

@media (max-width: 480px) {
    .category-card .category-image {
        border-width: 2px !important;
    }
}

/* ========================================
   FOOTER LANGUAGE SELECTOR
   ======================================== */

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
    margin-top: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom-content > p {
    margin: 0;
}

.footer-lang {
    display: flex;
    align-items: center;
}

.lang-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.lang-selector:hover {
    background: rgba(255, 255, 255, 0.15);
}

.lang-selector i {
    color: var(--white);
    font-size: 14px;
}

.lang-selector select {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 13px;
    cursor: pointer;
    outline: none;
    padding-right: 5px;
}

.lang-selector select option {
    background: var(--dark-gray);
    color: var(--white);
}

@media (max-width: 767px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .footer-lang {
        justify-content: center;
    }
}

/* ========================================
   FOOTER LANGUAGE DROPDOWN - IMPROVED DESIGN
   ======================================== */

.footer-bottom {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding-top: 30px !important;
    margin-top: 40px !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.footer-bottom > p {
    margin: 0 !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.9rem !important;
}

.footer-lang-dropdown {
    position: relative !important;
    z-index: 100 !important;
}

.lang-select-wrapper {
    position: relative !important;
}

/* Bouton sélecteur principal */
.lang-selected {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 12px 18px !important;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%) !important;
    border-radius: 10px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    min-width: 150px !important;
    border: 2px solid transparent !important;
    box-shadow: 0 4px 15px rgba(32, 178, 170, 0.3) !important;
}

.lang-selected:hover {
    background: linear-gradient(135deg, #1a9a9a 0%, #157a7a 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(32, 178, 170, 0.4) !important;
}

.lang-selected .lang-flag {
    font-size: 1.3rem !important;
    line-height: 1 !important;
}

.lang-selected .lang-text {
    color: #ffffff !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    letter-spacing: 0.3px !important;
}

.lang-selected i.bi-chevron-down {
    color: #ffffff !important;
    margin-left: auto !important;
    transition: transform 0.3s ease !important;
    font-size: 0.85rem !important;
}

.lang-select-wrapper.open .lang-selected i.bi-chevron-down {
    transform: rotate(180deg) !important;
}

/* Menu déroulant des options */
.lang-options {
    position: absolute !important;
    bottom: calc(100% + 10px) !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    z-index: 1000 !important;
    border: 1px solid #e0e0e0 !important;
}

.lang-select-wrapper.open .lang-options {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Options de langue */
.lang-option {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    padding: 14px 18px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    color: #333333 !important;
    background: #ffffff !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

.lang-option:last-child {
    border-bottom: none !important;
}

.lang-option:hover {
    background: #f8f9fa !important;
    padding-left: 22px !important;
}

/* Option active (langue sélectionnée) */
.lang-option.active {
    background: linear-gradient(135deg, #e8f5f5 0%, #d4f0f0 100%) !important;
    color: var(--primary-teal) !important;
    font-weight: 600 !important;
}

.lang-option.active:hover {
    background: linear-gradient(135deg, #d4f0f0 0%, #c0ebeb 100%) !important;
}

.lang-option .lang-flag {
    font-size: 1.4rem !important;
    line-height: 1 !important;
}

.lang-option span:not(.lang-flag) {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: inherit !important;
}

.lang-option i.bi-check {
    margin-left: auto !important;
    color: var(--primary-teal) !important;
    font-size: 1.1rem !important;
    font-weight: bold !important;
}

/* Mobile responsive */
@media (max-width: 767px) {
    .footer-bottom {
        flex-direction: column !important;
        text-align: center !important;
        gap: 20px !important;
    }
    
    .footer-lang-dropdown {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
    }
    
    .lang-selected {
        min-width: 170px !important;
        justify-content: center !important;
    }
    
    .lang-options {
        min-width: 170px !important;
    }
}

/* ========================================
   NEWS PAGE - SIDEBAR LAYOUT
   ======================================== */

.news-sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--white);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--primary-teal);
}

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

.news-categories-list li {
    margin-bottom: 8px;
}

.news-categories-list li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-gray);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.news-categories-list li a:hover {
    background: #f5f5f5;
    color: var(--primary-teal);
    padding-left: 20px;
}

.news-categories-list li a.active {
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%);
    color: var(--white);
}

.news-categories-list li a .count {
    margin-left: auto;
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
}

.news-categories-list li a.active .count {
    background: rgba(255, 255, 255, 0.2);
}

.sidebar-text {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

/* Sidebar Newsletter Form - specific styles */
.news-sidebar .newsletter-form {
    display: flex;
    gap: 8px;
}

.news-sidebar .newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
}

.news-sidebar .newsletter-form input:focus {
    outline: none;
    border-color: var(--primary-teal);
}

.news-sidebar .newsletter-form button {
    padding: 12px 18px;
    background: var(--primary-teal);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.news-sidebar .newsletter-form button:hover {
    background: #1a8a8a;
}

/* News Toolbar */
.news-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding: 15px 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.toolbar-info span {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.toolbar-sort {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar-sort label {
    color: var(--text-gray);
    font-size: 0.9rem;
    white-space: nowrap;
}

.toolbar-sort select {
    padding: 8px 35px 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    background-color: var(--white);
    cursor: pointer;
}

.toolbar-sort select:focus {
    outline: none;
    border-color: var(--primary-teal);
}

/* News Grid in Sidebar Layout */
.news-page-section .news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.news-page-section .news-card {
    display: flex;
    flex-direction: column;
}

.news-image-link {
    display: block;
    text-decoration: none;
}

.news-image-link .news-image {
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.news-image-link:hover .news-image img {
    transform: scale(1.05);
}

.news-card .news-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 10px;
}

.news-card .news-category {
    font-size: 0.8rem;
    color: var(--primary-teal);
    background: rgba(32, 178, 170, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
}

.news-card .news-content h3 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.news-card .news-content h3 a:hover {
    color: var(--primary-teal);
}

/* News Pagination */
.news-pagination {
    margin-top: 40px;
}

.news-pagination .pagination {
    gap: 8px;
}

.news-pagination .page-link {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
    color: var(--text-gray);
    font-weight: 500;
    transition: all 0.3s ease;
}

.news-pagination .page-link:hover {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

.news-pagination .page-item.active .page-link {
    background: var(--primary-teal);
    border-color: var(--primary-teal);
    color: var(--white);
}

.news-pagination .page-item.disabled .page-link {
    background: #f5f5f5;
    color: #ccc;
}

/* Responsive */
@media (max-width: 991px) {
    .news-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    .news-page-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .news-page-section .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-toolbar {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .toolbar-sort {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   NEWS DETAIL PAGE - AUTHOR & TAGS
   ======================================== */

.news-meta-top {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
}

.news-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%);
    color: var(--white);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.news-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.author-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.author-name {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.author-name strong {
    color: var(--primary-teal);
}

.reading-time {
    color: var(--text-gray);
    font-size: 0.85rem;
}

.reading-time i {
    margin-right: 5px;
}

/* Tags Section */
.news-tags {
    margin: 30px 0;
    padding: 25px;
    background: #f8f9fa;
    border-radius: 12px;
}

.news-tags h4 {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-tags h4 i {
    color: var(--primary-teal);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-item {
    display: inline-block;
    padding: 8px 16px;
    background: var(--white);
    color: var(--text-gray);
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.tag-item:hover {
    background: var(--primary-teal);
    color: var(--white);
    border-color: var(--primary-teal);
}

/* Category list - Toutes nos actualités */
.sidebar-categories .category-list li a i.bi-grid-3x3-gap {
    color: var(--primary-teal);
}

/* Responsive */
@media (max-width: 767px) {
    .news-meta-top {
        flex-direction: column;
        gap: 10px;
    }
    
    .news-author {
        flex-direction: column;
        text-align: center;
    }
    
    .tags-list {
        justify-content: center;
    }
}

/* ========================================
   SERVICE DETAIL - BACK BUTTON
   ======================================== */

.btn-back-services {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--primary-teal);
    background: transparent;
    border: 2px solid var(--primary-teal);
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-back-services:hover {
    background: var(--primary-teal);
    color: var(--white);
}

.btn-back-services i {
    transition: transform 0.3s ease;
}

.btn-back-services:hover i {
    transform: translateX(-5px);
}

/* ========================================
   NEWS CATEGORIES - ACTIVE STATE RED
   ======================================== */

.news-categories-list li a.active {
    background: #e31f25 !important;
    color: var(--white) !important;
}

.news-categories-list li a.active .count {
    background: rgba(255, 255, 255, 0.25) !important;
}

.news-categories-list li a.active i {
    color: var(--white) !important;
}

/* ========================================
   CERTIFICATIONS SECTION
   ======================================== */

.certifications-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.certification-card {
    background: var(--white);
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.certification-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-teal);
}

.certification-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

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

.certification-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.certification-content p {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 15px;
    line-height: 1.5;
}

.certification-badge {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, var(--primary-teal) 0%, #1a8a8a 100%);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.certification-badge.official {
    background: linear-gradient(135deg, #e31e24 0%, #b91c1c 100%);
}

.certification-badge.partner {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.certifications-note {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
    padding: 20px 30px;
    background: rgba(32, 178, 170, 0.1);
    border-radius: 12px;
    border-left: 4px solid var(--primary-teal);
}

.certifications-note i {
    font-size: 1.5rem;
    color: var(--primary-teal);
    flex-shrink: 0;
}

.certifications-note p {
    margin: 0;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 1199px) {
    .certifications-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .certifications-grid {
        grid-template-columns: 1fr;
    }
    
    .certifications-section {
        padding: 60px 0;
    }
    
    .certifications-note {
        flex-direction: column;
        text-align: center;
    }
}
