/* ================================
   ABP SERVICES - STYLESHEET COMPLET
   ================================ */

/* ========== RESET & BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Couleurs principales ABP Services */
    --primary-color: #0284c7;
    --primary-dark: #0369a1;
    --primary-light: #38bdf8;
    --secondary-color: #f58220;
    --secondary-dark: #ea580c;
    --accent-color: #f58220;
    
    /* Couleurs neutres modernes */
    --dark: #0f172a;
    --dark-gray: #1e293b;
    --gray: #475569;
    --light-gray: #e2e8f0;
    --lighter-gray: #f8fafc;
    --white: #ffffff;
    
    /* Couleurs de statut */
    --success: #10b981;
    --warning: #f58220;
    --error: #ef4444;
    --info: #0284c7;
    
    /* Typographie */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Open Sans', sans-serif;
    
    /* Espacements */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    --transition-slow: all 0.5s ease;
    
    /* Ombres */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
    
    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 50%;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray);
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========== CONTAINER ========== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.container-fluid {
    max-width: 100%;
    padding: 0 2rem;
}

/* ========== SECTIONS ========== */
.section-padding {
    padding: 5rem 0;
}

.section-padding-top {
    padding-top: 5rem;
}

.section-padding-bottom {
    padding-bottom: 5rem;
}

.bg-light {
    background-color: var(--lighter-gray);
}

.bg-dark {
    background-color: var(--dark);
    color: var(--white);
}

.bg-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* ========== SECTION HEADERS ========== */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 1.5rem auto 0;
    border-radius: 2px;
}

.section-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    font-family: var(--font-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 102, 204, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.4);
}

.btn-secondary {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.btn-secondary:hover {
    background: #00a383;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-color);
    border: 2px solid var(--white);
}

.btn-white:hover {
    background: transparent;
    color: var(--white);
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-lg {
    padding: 1.125rem 2.5rem;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
}

.btn i {
    margin-left: 0.5rem;
}

/* ========== HEADER & NAVBAR ========== */
#header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition-base);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 46px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: var(--transition-base);
}

.logo a:hover img {
    transform: scale(1.02);
}

.logo-text {
    display: none; /* Le logo officiel intègre déjà le nom et le slogan en haute définition */
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-menu li a {
    color: var(--dark);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-base);
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: var(--transition-base);
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-color);
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    gap: 1rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition-base);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Header scrollé */
#header.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

/* ========== HERO SECTION ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 45%, #0f172a 100%);
    overflow: hidden;
    padding-top: 110px;
    padding-bottom: 70px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1600&auto=format&fit=crop&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.12;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 30%, rgba(2, 132, 199, 0.88) 0%, rgba(15, 23, 42, 0.94) 100%);
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
    pointer-events: none;
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    animation: float 20s infinite ease-in-out;
}

.hero-shape:nth-child(1) {
    width: 320px;
    height: 320px;
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.hero-shape:nth-child(2) {
    width: 220px;
    height: 220px;
    bottom: 50px;
    left: 5%;
    animation-delay: 2s;
}

.hero-shape:nth-child(3) {
    width: 160px;
    height: 160px;
    top: 40%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-30px) rotate(5deg);
    }
    50% {
        transform: translateY(-60px) rotate(-5deg);
    }
    75% {
        transform: translateY(-30px) rotate(3deg);
    }
}

.hero-container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.2rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero-badge i {
    color: var(--secondary-color);
}

.hero-title,
.hero-text-content h1 {
    font-size: 3.2rem;
    color: var(--white);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    font-weight: 800;
    font-family: var(--font-primary);
}

.hero-title .highlight,
.hero-text-content h1 .highlight {
    color: var(--secondary-color);
    position: relative;
    display: inline-block;
}

.hero-subtitle,
.hero-text-content .hero-subtitle {
    font-size: 1.18rem;
    color: rgba(255, 255, 255, 0.92);
    margin-bottom: 1.75rem;
    line-height: 1.65;
    max-width: 620px;
}

.hero-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2.25rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    font-size: 1rem;
    font-weight: 500;
}

.hero-feature-item i {
    color: var(--secondary-color);
    font-size: 1.15rem;
}

.hero-buttons {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
    align-items: center;
}

.hero-buttons .btn-primary {
    background: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 18px rgba(245, 130, 32, 0.45);
    font-weight: 600;
}

.hero-buttons .btn-primary:hover {
    background: var(--secondary-dark);
    border-color: var(--secondary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 130, 32, 0.55);
}

.hero-buttons .btn-outline,
.hero-buttons .btn-outline-white {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.85);
    color: var(--white);
    font-weight: 600;
    backdrop-filter: blur(6px);
}

.hero-buttons .btn-outline:hover,
.hero-buttons .btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.hero-image-content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: heroImageFloat 6s infinite ease-in-out;
}

.hero-image-wrapper img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
    border: 3px solid rgba(255, 255, 255, 0.18);
}

@keyframes heroImageFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

.hero-floating-card {
    position: absolute;
    bottom: -15px;
    left: -15px;
    background: var(--white);
    padding: 0.9rem 1.3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    gap: 0.85rem;
    z-index: 4;
}

.hero-floating-card .floating-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    background: rgba(2, 132, 199, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.hero-floating-card .floating-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--dark);
    display: block;
    line-height: 1.2;
}

.hero-floating-card .floating-desc {
    font-size: 0.78rem;
    color: var(--gray);
    display: block;
}

/* Hero Stats Bar */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    background: var(--white);
    padding: 1.75rem 2.5rem;
    border-radius: var(--radius-xl);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
    margin-top: 3.5rem;
    position: relative;
    z-index: 4;
    border: 1px solid rgba(226, 232, 240, 0.9);
}

.hero-stat-item,
.hero-stats .stat-item {
    text-align: center;
    padding: 0 1rem;
    border-right: 1px solid var(--light-gray);
}

.hero-stat-item:last-child,
.hero-stats .stat-item:last-child {
    border-right: none;
}

.hero-stat-number,
.hero-stats .stat-number,
.hero-stats .stat-icon {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color) !important;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    font-family: var(--font-primary);
}

.hero-stat-label,
.hero-stats .stat-label {
    font-size: 0.92rem;
    color: var(--dark-gray) !important;
    font-weight: 600;
}

.scroll-down {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.scroll-down a {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.3rem;
    animation: bounce 2s infinite;
    display: inline-block;
    transition: var(--transition-fast);
}

.scroll-down a:hover {
    color: var(--white);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}

/* ========== SERVICES SECTION ========== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--light-gray);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition-base);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    font-size: 2.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 1.5rem;
    transition: var(--transition-base);
}

.service-card:hover .service-icon {
    transform: rotateY(360deg);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--gray);
    font-size: 0.95rem;
}

.service-feature-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.service-link {
    color: var(--primary-color);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.service-link:hover {
    gap: 1rem;
}

/* ========== ABOUT SECTION ========== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-main-image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-main-image img {
    width: 100%;
    height: auto;
}

.about-badge {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    text-align: center;
}

.about-badge-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    font-family: var(--font-primary);
}

.about-badge-text {
    font-size: 0.9rem;
    color: var(--gray);
    font-weight: 600;
    margin-top: 0.5rem;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-description {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    font-size: 1.5rem;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.about-feature-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.about-feature-content p {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* ========== STATS SECTION ========== */
.stats-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,165.3C1248,171,1344,149,1392,138.7L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
    opacity: 0.5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
}

.stat-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    font-size: 2.5rem;
    border-radius: var(--radius-full);
    margin: 0 auto 1.5rem;
    backdrop-filter: blur(10px);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-primary);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

/* ========== PROCESS/WHY CHOOSE SECTION ========== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.process-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    position: relative;
}

.process-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    opacity: 0;
    transition: var(--transition-base);
}

.process-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.process-item:hover::before {
    opacity: 1;
}

.process-number {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    font-size: 1.8rem;
    font-weight: 800;
    border-radius: var(--radius-full);
    margin: 0 auto 1.5rem;
    font-family: var(--font-primary);
}

.process-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    font-size: 2.5rem;
    border-radius: var(--radius-lg);
    margin: 0 auto 1.5rem;
}

.process-item h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.process-item p {
    color: var(--gray);
    line-height: 1.7;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials-section {
    position: relative;
    overflow: hidden;
}

.testimonials-slider,
.testimonials-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--light-gray);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.quote-icon,
.testimonial-quote-icon {
    font-size: 2rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.rating,
.testimonial-rating {
    display: flex;
    gap: 0.25rem;
}

.rating i,
.testimonial-rating i {
    color: #f59e0b;
    font-size: 1rem;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

.testimonial-text {
    font-size: 1.05rem;
    font-style: italic;
    color: var(--gray);
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--light-gray);
    padding-top: 1.25rem;
}

.author-avatar,
.testimonial-author-image {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    overflow: hidden;
    border: 3px solid var(--primary-light);
    flex-shrink: 0;
}

.author-avatar img,
.testimonial-author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name,
.testimonial-author-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.2rem;
}

.author-position,
.testimonial-author-role {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.testimonial-date {
    font-size: 0.75rem;
    color: var(--gray);
    opacity: 0.8;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-full);
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-base);
}

.slider-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* ========== CERTIFICATIONS & PARTNERS ========== */
.certifications-section {
    background-color: var(--white);
}

.certifications-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    align-items: center;
}

.cert-card {
    background: var(--lighter-gray);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cert-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
    background: var(--white);
}

.cert-logo {
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.cert-logo img {
    max-height: 45px;
    max-width: 140px;
    object-fit: contain;
    transition: var(--transition-base);
}

.cert-card:hover .cert-logo img {
    transform: scale(1.05);
}

.cert-name {
    font-weight: 600;
    color: var(--dark);
    font-size: 0.95rem;
}

/* ========== CTA SECTION ========== */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* ========== CONTACT SECTION ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.contact-info-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.contact-info-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
    color: var(--white);
    font-size: 1.8rem;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-info-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.contact-info-content p {
    color: var(--gray);
    line-height: 1.6;
}

.contact-info-content a {
    color: var(--primary-color);
    font-weight: 600;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-base);
    background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.8);
}

.footer-main {
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 3rem;
}

.footer-col h3.footer-title {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.75rem;
}

.footer-col h3.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo img {
    height: 44px;
    width: auto;
    max-width: 180px;
    background: #ffffff;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.footer-logo .logo-text {
    display: none;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-links li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-links li a i {
    font-size: 0.8rem;
    color: var(--primary-color);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-contact li {
    display: flex;
    gap: 1rem;
}

.footer-contact li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    width: 25px;
    flex-shrink: 0;
}

.footer-contact li strong {
    display: block;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.footer-contact li p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-contact li a {
    color: rgba(255, 255, 255, 0.7);
}

.footer-contact li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.copyright strong {
    color: var(--white);
}

.separator {
    margin: 0 0.5rem;
    color: rgba(255, 255, 255, 0.3);
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    transition: var(--transition-base);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}

/* ========== SCROLL TO TOP BUTTON ========== */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    border-radius: var(--radius-full);
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    transition: var(--transition-base);
    z-index: 999;
}

.scroll-top.show {
    display: flex;
}

.scroll-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ========== WHATSAPP FLOAT BUTTON ========== */
.whatsapp-float {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-xl);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* ========== PAGE HEADER (for inner pages) ========== */
.page-header {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.page-header-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.page-header-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition-base);
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb .separator {
    color: rgba(255, 255, 255, 0.5);
}

.breadcrumb .current {
    color: var(--white);
    font-weight: 600;
}

/* ========== TEAM PAGE STYLES ========== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.team-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 320px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-social {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    opacity: 0;
    transition: var(--transition-base);
}

.team-card:hover .team-social {
    opacity: 1;
    bottom: 30px;
}

.team-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.team-social a:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.team-content {
    padding: 1.5rem;
    text-align: center;
}

.team-name {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.team-role {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.team-bio {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== PORTFOLIO PAGE STYLES ========== */
.portfolio-filter,
.portfolio-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.portfolio-filter-btn,
.portfolio-filters .filter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--gray);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active,
.portfolio-filters .filter-btn:hover,
.portfolio-filters .filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.portfolio-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    cursor: pointer;
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.portfolio-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 102, 204, 0.95), rgba(0, 76, 153, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay-content {
    text-align: center;
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay-content {
    transform: translateY(0);
}

.portfolio-overlay-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.portfolio-overlay-content p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
}

.portfolio-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.portfolio-links a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--primary-color);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
}

.portfolio-links a:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: scale(1.1);
}

.portfolio-content {
    padding: 1.5rem;
    background: var(--white);
}

.portfolio-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.portfolio-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.portfolio-description {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========== BLOG PAGE STYLES ========== */
.blog-featured {
    padding: 3rem 0;
}

.featured-post-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-post-image {
    position: relative;
    height: 100%;
    min-height: 400px;
}

.featured-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-post-content {
    padding: 3rem 3rem 3rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.post-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.post-category {
    padding: 0.4rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.post-category.security {
    background: rgba(255, 107, 107, 0.15);
    color: #ff6b6b;
}

.post-category.reseaux {
    background: rgba(0, 102, 204, 0.15);
    color: var(--primary-color);
}

.post-category.maintenance {
    background: rgba(0, 184, 148, 0.15);
    color: var(--secondary-color);
}

.post-category.conseils {
    background: rgba(253, 203, 110, 0.15);
    color: #f39c12;
}

.post-category.actualites {
    background: rgba(116, 185, 255, 0.15);
    color: #74b9ff;
}

.post-date,
.post-reading {
    font-size: 0.9rem;
    color: var(--gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.featured-post-title a {
    font-size: 2rem;
    color: var(--dark);
    line-height: 1.3;
    margin-bottom: 1rem;
    display: block;
    transition: var(--transition-base);
}

.featured-post-title a:hover {
    color: var(--primary-color);
}

.featured-post-excerpt {
    color: var(--gray);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.featured-post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.post-author img {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    border: 2px solid var(--primary-color);
    object-fit: cover;
}

.author-name {
    font-weight: 700;
    color: var(--dark);
    display: block;
    font-size: 1rem;
}

.author-role {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Blog Filter Section */
.blog-filter-section {
    padding: 2rem 0;
}

.blog-filter-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.blog-search {
    flex: 1;
    max-width: 400px;
}

.search-form {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.875rem 3rem 0.875rem 1.25rem;
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: var(--transition-base);
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.search-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 1.25rem;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    transition: var(--transition-base);
}

.search-btn:hover {
    background: var(--primary-dark);
}

.blog-categories-filter {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.75rem 1.25rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--gray);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Blog Layout */
.blog-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.blog-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.blog-card-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
    transform: scale(1.1);
}

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 0.4rem 0.875rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--white);
}

.blog-card-category.security {
    color: #ff6b6b;
}

.blog-card-category.reseaux {
    color: var(--primary-color);
}

.blog-card-category.maintenance {
    color: var(--secondary-color);
}

.blog-card-category.conseils {
    color: #f39c12;
}

.blog-card-category.actualites {
    color: #74b9ff;
}

.blog-card-content {
    padding: 1.5rem;
}

.blog-card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: var(--gray);
}

.meta-date,
.meta-reading {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.blog-card-title a {
    font-size: 1.2rem;
    color: var(--dark);
    line-height: 1.4;
    display: block;
    margin-bottom: 0.75rem;
    transition: var(--transition-base);
}

.blog-card-title a:hover {
    color: var(--primary-color);
}

.blog-card-excerpt {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--light-gray);
}

.blog-card-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.blog-card-author img {
    width: 35px;
    height: 35px;
    border-radius: var(--radius-full);
    object-fit: cover;
}

.blog-card-author span {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark);
}

.blog-read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-base);
}

.blog-read-more:hover {
    gap: 1rem;
}

/* Blog Pagination */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    padding: 0.75rem 1.5rem;
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--gray);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--light-gray);
    color: var(--gray);
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    cursor: pointer;
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.pagination-dots {
    display: flex;
    align-items: center;
    color: var(--gray);
}

/* Blog Sidebar */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-widget {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.widget-title i {
    color: var(--primary-color);
}

/* Newsletter Widget */
.newsletter-widget {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.widget-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.newsletter-widget .widget-title {
    color: var(--white);
}

.widget-description {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.newsletter-form input {
    width: 100%;
    padding: 0.875rem 1.25rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-md);
    font-size: 1rem;
    margin-bottom: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-privacy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Popular Posts Widget */
.popular-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.popular-post-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    transition: var(--transition-base);
}

.popular-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.popular-post-item:hover {
    transform: translateX(5px);
}

.popular-post-image {
    width: 80px;
    height: 80px;
    border-radius: var(--radius-md);
    overflow: hidden;
    flex-shrink: 0;
}

.popular-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popular-post-content h4 {
    font-size: 1rem;
    color: var(--dark);
    line-height: 1.4;
    margin-bottom: 0.5rem;
    transition: var(--transition-base);
}

.popular-post-item:hover .popular-post-content h4 {
    color: var(--primary-color);
}

.popular-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--gray);
}

.popular-post-meta span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Categories Widget */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.categories-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: var(--lighter-gray);
    border-radius: var(--radius-md);
    color: var(--dark);
    font-weight: 600;
    transition: var(--transition-base);
}

.categories-list li a:hover {
    background: var(--primary-color);
    color: var(--white);
    padding-left: 1.5rem;
}

.categories-list li a i {
    color: var(--primary-color);
    margin-right: 0.75rem;
}

.categories-list li a:hover i {
    color: var(--white);
}

.categories-list li a .count {
    background: var(--white);
    color: var(--primary-color);
    padding: 0.25rem 0.625rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}

/* Tags Widget */
.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: var(--lighter-gray);
    color: var(--gray);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition-base);
}

.tag:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* CTA Widget */
.cta-widget {
    background: linear-gradient(135deg, var(--secondary-color), #00a383);
    color: var(--white);
    text-align: center;
}

.cta-widget-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    font-size: 2.5rem;
    border-radius: var(--radius-full);
    margin: 0 auto 1.5rem;
}

.cta-widget-content h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.cta-widget-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1024px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
    
    .container {
        padding: 0 1.5rem;
    }
    
    .section-padding {
        padding: 4rem 0;
    }
    
    .hero-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .hero-text-content h1,
    .hero-title {
        font-size: 2.6rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.75rem 2rem;
        margin-top: 3rem;
    }

    .hero-stat-item:nth-child(2),
    .hero-stats .stat-item:nth-child(2) {
        border-right: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-layout {
        grid-template-columns: 1fr;
    }
    
    .featured-post-card {
        grid-template-columns: 1fr;
    }
    
    .featured-post-content {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-base);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-cta {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: auto;
        padding: 6.5rem 0 3rem;
    }
    
    .hero-text-content h1,
    .hero-title {
        font-size: 2.1rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        justify-content: center;
        text-align: center;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .hero-stat-item,
    .hero-stats .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--light-gray);
        padding-bottom: 1rem;
    }

    .hero-stat-item:last-child,
    .hero-stats .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    
    .services-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    
    .blog-filter-wrapper {
        flex-direction: column;
    }
    
    .blog-search {
        max-width: 100%;
    }
    
    .blog-posts-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2.2rem;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .hero-text-content h1 {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .page-header {
        padding: 8rem 0 4rem;
    }
    
    .page-title {
        font-size: 1.8rem;
    }
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ========== UTILITY CLASSES ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.pt-1 { padding-top: 1rem; }
.pt-2 { padding-top: 2rem; }
.pt-3 { padding-top: 3rem; }
.pb-1 { padding-bottom: 1rem; }
.pb-2 { padding-bottom: 2rem; }
.pb-3 { padding-bottom: 3rem; }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

.fw-bold { font-weight: 700; }
.fw-semibold { font-weight: 600; }
.fw-normal { font-weight: 400; }

.text-primary { color: var(--primary-color); }
.text-secondary { color: var(--secondary-color); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }