/* style.css - Version Premium pour Technopole Numérique */
/* Comores - Digitalisation & Innovation */

/* ========== ROOT VARIABLES ========== */
:root {
    /* Couleurs principales - Équilibre bleu/vert */
    --primary: #003692; /* Bleu foncé du logo */
    --primary-dark: #00276d;
    --primary-light: #e6ecfa;
    --primary-gradient: linear-gradient(135deg, #003692, #1e4cac);
    
    --secondary: #428b33; /* Vert du logo */
    --secondary-dark: #317025;
    --secondary-light: #e8f5e9;
    --secondary-gradient: linear-gradient(135deg, #428b33, #5aad47);
    
    /* Accent - Créé à partir d'un mélange bleu/vert */
    --accent: #3a6a62; /* Mélange équilibré bleu-vert */
    --accent-dark: #2a5048;
    --accent-light: #e8f2f0;
    --accent-gradient: linear-gradient(135deg, #3a6a62, #4d8a7c);
    
    /* Couleurs neutres - Blancs légèrement grisés */
    --dark: #0F172A;
    --dark-light: #1E293B;
    --light: #F8FAFC;
    --light-dark: #F1F5F9;
    --pure-white: #FFFFFF;
    
    /* Gris */
    --gray: #64748B;
    --gray-light: #E2E8F0;
    --gray-dark: #475569;
    
    /* Status - Équilibre bleu/vert */
    --success: #428b33; /* Vert du logo */
    --warning: #d97c0b;
    --danger: #d93c3c;
    --info: #003692; /* Bleu du logo */
    
    /* Effets - Ombre équilibrée */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 6px 30px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.25);
    --shadow-primary: 0 10px 25px rgba(0, 54, 146, 0.25);
    --shadow-secondary: 0 10px 25px rgba(66, 139, 51, 0.25);
    --shadow-accent: 0 10px 25px rgba(58, 106, 98, 0.25);
    
    /* Bordures */
    --radius: 12px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-full: 50px;
    
    /* Transitions */
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Dimensions */
    --header-height: 80px;
    --container-width: 1280px;
}

/* ========== RESET & BASE STYLES ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--dark);
    background-color: var(--light);
    overflow-x: hidden;
    cursor: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--dark) 0%, #1a2b3e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    font-family: 'Montserrat', sans-serif;
}

.loading-logo i {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 3rem;
}

.loading-logo span {
    color: white;
}

.loading-logo span span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.loading-bar {
    width: 300px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 30px auto;
}

.loading-progress {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.loading-screen p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* ========== CUSTOM CURSOR ========== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
}

.cursor-outline {
    width: 40px;
    height: 40px;
    border: 2px solid;
    border-image: linear-gradient(135deg, var(--primary), var(--secondary)) 1;
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease, width 0.3s ease, height 0.3s ease;
}

/* ========== SCROLL PROGRESS ========== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    z-index: 9997;
    transition: width 0.1s ease;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--pure-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0, 54, 146, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(66, 139, 51, 0.3);
}

/* ========== HEADER ========== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition-slow);
    background-color: var(--pure-white);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-light);
}

header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(25px);
    background-color: var(--pure-white);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.4rem;
    transition: var(--transition-slow);
}

.logo:hover .logo-icon {
    transform: rotate(15deg) scale(1.1);
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation */
nav {
    position: relative;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
    margin: 0;
    padding: 0;
}

nav ul li {
    position: relative;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 600;
    font-size: 1rem;
    padding: 8px 0;
    transition: var(--transition);
    position: relative;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: var(--transition-slow);
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a.active {
    color: var(--primary);
    font-weight: 700;
}

nav ul li a.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-shrink: 0;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition-slow);
    border: none;
    cursor: pointer;
    gap: 10px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.8s, height 0.8s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--pure-white);
    box-shadow: var(--shadow-primary);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 54, 146, 0.35);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--pure-white);
    box-shadow: var(--shadow-secondary);
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(66, 139, 51, 0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--pure-white);
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.btn-outline-secondary {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline-secondary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: var(--pure-white);
    transform: translateY(-5px);
    border-color: transparent;
    box-shadow: var(--shadow-secondary);
}

.btn-light {
    background: var(--pure-white);
    color: var(--primary);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
    background: var(--dark);
    color: var(--pure-white);
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.btn-transparent {
    background: transparent;
    color: var(--pure-white);
    border: 2px solid var(--pure-white);
}

.btn-transparent:hover {
    background: var(--pure-white);
    color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(255, 255, 255, 0.2);
}

.btn-whatsapp {
    background: #25D366;
    color: var(--pure-white);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.25);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark);
    transition: var(--transition-slow);
    background: none;
    border: none;
    padding: 6px;
    border-radius: 6px;
    z-index: 1001;
}

.mobile-toggle:hover {
    color: var(--primary);
    background: var(--primary-light);
}

/* ========== HERO SECTION ========== */
.hero {
    padding: 180px 0 80px;
    background: linear-gradient(135deg, rgba(0, 54, 146, 0.9), rgba(66, 139, 51, 0.85)),
                url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--pure-white);
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 54, 146, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(66, 139, 51, 0.4) 0%, transparent 50%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: var(--pure-white);
    border-radius: 50%;
    opacity: 0.3;
    animation: float-particle linear infinite;
}

@keyframes float-particle {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
    text-align: center;
}

@media (min-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr 1fr;
        text-align: left;
        gap: 40px;
    }
}

.hero-content {
    max-width: 700px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .hero-content {
        margin: 0;
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    color: var(--pure-white);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(10px);
    animation: float 3s ease-in-out infinite;
}

.hero-badge i {
    color: var(--secondary);
}

.hero-title {
    font-size: 2.8rem;
    margin-bottom: 25px;
    line-height: 1.1;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

@media (min-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

.title-line {
    display: block;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards;
}

.title-line:nth-child(1) {
    animation-delay: 0.3s;
}

.title-line:nth-child(2) {
    animation-delay: 0.6s;
}

.title-highlight {
    background: linear-gradient(135deg, #60a5fa, #7cb342, #9d79d6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #60a5fa, #7cb342, #9d79d6);
    border-radius: 2px;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards 0.9s;
}

.hero-actions {
 
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}

@media (min-width: 992px) {
    .hero-actions {
        justify-content: flex-start;
    }
}

.btn-hero {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s forwards;
}

.btn-hero:nth-child(1) {
    animation-delay: 1.2s;
}

.btn-hero:nth-child(2) {
    animation-delay: 1.5s;
}

.hero-visual {
    position: relative;
    perspective: 1000px;
    margin-top: 30px;
}

@media (min-width: 992px) {
    .hero-visual {
        margin-top: 0;
    }
}

.floating-cards {
    position: relative;
    height: 320px;
    max-width: 500px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .floating-cards {
        height: 350px;
    }
}

@media (min-width: 992px) {
    .floating-cards {
        height: 380px;
    }
}

.floating-card {
    position: absolute;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
    opacity: 0;
    transform: scale(0.5);
    animation: float-card 4s ease-in-out infinite;
}

@media (min-width: 768px) {
    .floating-card {
        width: 160px;
        height: 160px;
    }
}

@media (min-width: 992px) {
    .floating-card {
        width: 180px;
        height: 180px;
    }
}

.floating-card i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (min-width: 992px) {
    .floating-card i {
        font-size: 3rem;
    }
}

.floating-card h4 {
    color: var(--pure-white);
    font-size: 1.1rem;
    font-weight: 600;
}

@media (min-width: 992px) {
    .floating-card h4 {
        font-size: 1.2rem;
    }
}

.card-1 {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-name: float-card-1;
}

.card-2 {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation-name: float-card-2;
}

.card-3 {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-name: float-card-3;
}

.card-4 {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    animation-name: float-card-4;
}

@keyframes float-card-1 {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(5deg); }
    50% { transform: translateX(-50%) translateY(-15px) rotate(5deg); }
}

@keyframes float-card-2 {
    0%, 100% { transform: translateY(-50%) translateX(0) rotate(-5deg); }
    50% { transform: translateY(-50%) translateX(-15px) rotate(-5deg); }
}

@keyframes float-card-3 {
    0%, 100% { transform: translateX(-50%) translateY(0) rotate(-5deg); }
    50% { transform: translateX(-50%) translateY(15px) rotate(-5deg); }
}

@keyframes float-card-4 {
    0%, 100% { transform: translateY(-50%) translateX(0) rotate(5deg); }
    50% { transform: translateY(-50%) translateX(15px) rotate(5deg); }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ========== STATS SECTION ========== */
.stats {
    background: linear-gradient(135deg, var(--light) 0%, var(--light-dark) 100%);
    padding: 70px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.stat-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 35px 25px;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.stat-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-light);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-slow);
}

.stat-card:hover::before {
    transform: scaleX(1);
}

.stat-icon {
    width: 65px;
    height: 65px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 22px;
    font-size: 1.6rem;
    color: var(--primary);
    transition: var(--transition-slow);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(10deg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--pure-white);
}

.stat-content {
    text-align: center;
}

.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    line-height: 1;
}

.stat-label {
    color: var(--gray);
    font-weight: 500;
    font-size: 1.05rem;
}

/* ========== SERVICES SECTION ========== */
.services {
    background: var(--light);
    position: relative;
}

.services-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 54, 146, 0.05), rgba(66, 139, 51, 0.05));
    opacity: 0.5;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
    position: relative;
    z-index: 2;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    padding: 8px 22px;
    border-radius: var(--radius-full);
    position: relative;
    overflow: hidden;
}

.section-subtitle-secondary {
    color: var(--secondary);
    background: linear-gradient(135deg, var(--secondary-light), var(--primary-light));
}

.section-subtitle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
    transition: var(--transition-slow);
}

.section-subtitle:hover::before {
    left: 100%;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 22px;
    line-height: 1.1;
}

.title-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 1.15rem;
    color: var(--gray);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 0;
    border: 1px solid var(--gray-light);
    transition: var(--transition-slow);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-light);
}

.service-icon {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.1;
    transition: var(--transition-slow);
}

.service-card:hover .icon-bg {
    opacity: 0.2;
    transform: scale(1.1);
}

.service-icon i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 2;
    transition: var(--transition-slow);
}

.service-card:hover .service-icon i {
    transform: scale(1.2) rotate(10deg);
}

.service-content {
    padding: 30px;
    flex-grow: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--dark);
}

.service-card p {
    color: var(--gray);
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 25px;
}

.service-features span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
    color: var(--primary);
    padding: 7px 14px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 500;
}

.service-features i {
    color: var(--success);
}

.service-hover {
    padding: 0 30px 30px;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-slow);
}

.service-card:hover .service-hover {
    opacity: 1;
    transform: translateY(0);
}

.btn-service {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--pure-white);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition-slow);
    width: 100%;
    justify-content: center;
}

.btn-service:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}

.btn-service-secondary {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
}

.btn-service-secondary:hover {
    box-shadow: var(--shadow-secondary);
}

/* ========== FEATURED PROJECT ========== */
.featured-project {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--pure-white);
    padding: 100px 0;
}

.project-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
    align-items: center;
}

@media (min-width: 992px) {
    .project-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }
}

.project-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    padding: 7px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 22px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.project-title {
    font-size: 2.5rem;
    margin-bottom: 22px;
    line-height: 1.1;
    color: var(--pure-white);
}

@media (min-width: 768px) {
    .project-title {
        font-size: 2.8rem;
    }
}

.project-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 35px;
    line-height: 1.7;
}

.project-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 35px;
}

@media (min-width: 576px) {
    .project-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.project-stat {
    text-align: center;
}

.project-stat h3 {
    font-size: 2.2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #e8f5e9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.project-stat p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.92rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 35px;
}

.tech-tag {
    background: rgba(255, 255, 255, 0.15);
    color: var(--pure-white);
    padding: 7px 18px;
    border-radius: var(--radius-full);
    font-size: 0.88rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    transition: var(--transition);
}

.tech-tag:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
}

.btn-project {
    padding: 14px 35px;
    font-size: 1.05rem;
}

.project-visual {
    position: relative;
    perspective: 1000px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .project-visual {
        margin-top: 0;
    }
}

.project-screens {
    position: relative;
    height: 350px;
}

@media (min-width: 768px) {
    .project-screens {
        height: 380px;
    }
}

.screen {
    position: absolute;
    width: 250px;
    height: 165px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.15));
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .screen {
        width: 280px;
        height: 185px;
    }
}

.screen-1 {
    top: 0;
    left: 0;
    transform: rotate(-5deg);
    animation: float-screen-1 6s ease-in-out infinite;
}

.screen-2 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(2deg);
    animation: float-screen-2 8s ease-in-out infinite;
}

.screen-3 {
    bottom: 0;
    right: 0;
    transform: rotate(5deg);
    animation: float-screen-3 7s ease-in-out infinite;
}

@keyframes float-screen-1 {
    0%, 100% { transform: rotate(-5deg) translateY(0); }
    50% { transform: rotate(-5deg) translateY(-15px); }
}

@keyframes float-screen-2 {
    0%, 100% { transform: translate(-50%, -50%) rotate(2deg); }
    50% { transform: translate(-50%, -50%) rotate(2deg) scale(1.05); }
}

@keyframes float-screen-3 {
    0%, 100% { transform: rotate(5deg) translateY(0); }
    50% { transform: rotate(5deg) translateY(15px); }
}

/* ========== PROCESS SECTION ========== */
.process {
    background: var(--pure-white);
    position: relative;
}

.process-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 54, 146, 0.03), rgba(66, 139, 51, 0.03));
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 35px;
    height: 100%;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.5;
}

.process-step {
    display: flex;
    gap: 35px;
    margin-bottom: 70px;
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.process-step.animate {
    opacity: 1;
    transform: translateX(0);
}

.step-number {
    position: relative;
    flex-shrink: 0;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.4rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(0, 54, 146, 0.3);
    z-index: 2;
}

.step-number span {
    position: relative;
    z-index: 2;
}

.step-number::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    opacity: 0.2;
    animation: pulse 3s infinite;
}

.step-line {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 70px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.3;
}

.process-step:last-child .step-line {
    display: none;
}

.step-content {
    flex-grow: 1;
    padding-top: 8px;
}

.step-content h3 {
    font-size: 1.6rem;
    margin-bottom: 18px;
    color: var(--dark);
}

.step-content p {
    color: var(--gray);
    margin-bottom: 22px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.step-features {
    list-style: none;
}

.step-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: var(--gray-dark);
    font-size: 0.98rem;
}

.step-features i {
    color: var(--success);
    font-size: 0.88rem;
}

/* ========== PROJECTS SECTION ========== */
.projects {
    background: linear-gradient(135deg, rgba(0, 54, 146, 0.95), rgba(66, 139, 51, 0.9)),
                url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--pure-white);
}

.projects .section-title {
    color: var(--pure-white);
}

.projects .section-desc {
    color: rgba(255, 255, 255, 0.9);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-slow);
    position: relative;
    height: 100%;
    backdrop-filter: blur(10px);
}

.project-card:hover {
    transform: translateY(-12px) scale(1.02);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.project-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .image-overlay {
    opacity: 1;
}

.image-overlay i {
    font-size: 3rem;
    color: var(--pure-white);
    transform: scale(0);
    transition: var(--transition-slow);
}

.project-card:hover .image-overlay i {
    transform: scale(1);
}

.project-info {
    padding: 25px;
}

.project-info h3 {
    font-size: 1.4rem;
    margin-bottom: 14px;
    color: var(--pure-white);
}

.project-info p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 18px;
    font-size: 0.98rem;
    line-height: 1.6;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
}

.project-tags span {
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.95);
    padding: 5px 14px;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.project-tags span:hover {
    background: rgba(255, 255, 255, 0.25);
}

.project-link {
    position: absolute;
    bottom: 25px;
    right: 25px;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    text-decoration: none;
    transition: var(--transition-slow);
    opacity: 0;
    transform: translateY(10px);
}

.project-card:hover .project-link {
    opacity: 1;
    transform: translateY(0);
}

.project-link:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 54, 146, 0.4);
}

.projects-cta {
    text-align: center;
}

/* ========== TEAM PREVIEW ========== */
.team-preview {
    background: var(--pure-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.team-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
}

.team-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-light);
}

.team-avatar {
    height: 230px;
    position: relative;
    overflow: hidden;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.team-card:hover .team-avatar img {
    transform: scale(1.1);
}

.avatar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 54, 146, 0.9), rgba(66, 139, 51, 0.9));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-slow);
}

.team-card:hover .avatar-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: var(--pure-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-links a:hover {
    background: var(--secondary);
    color: var(--pure-white);
    transform: translateY(-5px);
}

.team-info {
    padding: 25px;
    text-align: center;
}

.team-info h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: var(--dark);
}

.team-info p {
    color: var(--gray);
    font-size: 0.98rem;
}

.team-cta {
    text-align: center;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
    background: linear-gradient(135deg, rgba(248, 250, 252, 0.95), rgba(241, 245, 249, 0.95)),
                url('https://images.unsplash.com/photo-1551434678-e076c223a692?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
}

.testimonialsSwiper {
    padding: 20px 0 50px;
}

.testimonial-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    height: 100%;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.quote-icon {
    font-size: 2.8rem;
    color: var(--secondary-light);
    margin-bottom: 22px;
}

.testimonial-content p {
    font-size: 1.15rem;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.7;
    font-style: italic;
    position: relative;
    padding-left: 22px;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -12px;
    font-size: 3.5rem;
    color: var(--secondary-light);
    font-family: serif;
    opacity: 0.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 18px;
}

.author-avatar {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    flex-grow: 1;
}

.author-info h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.author-info p {
    color: var(--gray);
    margin-bottom: 8px;
    font-size: 0.92rem;
}

.author-rating {
    display: flex;
    gap: 4px;
}

.author-rating i {
    color: #F59E0B;
    font-size: 0.95rem;
}

/* Swiper Navigation */
.swiper-button-next,
.swiper-button-prev {
    width: 45px;
    height: 45px;
    background: var(--pure-white);
    border-radius: 50%;
    box-shadow: var(--shadow);
    color: var(--primary);
    transition: var(--transition);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 1.1rem;
    font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--secondary);
    color: var(--pure-white);
    transform: scale(1.1);
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: var(--gray-light);
    opacity: 1;
    transition: var(--transition);
}

.swiper-pagination-bullet:hover {
    background: var(--secondary-light);
}

.swiper-pagination-bullet-active {
    background: var(--secondary);
    transform: scale(1.2);
}

/* ========== PARTNERS SECTION ========== */
.partners {
    background: var(--pure-white);
}

.partners-carousel {
    padding: 35px 0;
}

.partner-logo {
    height: 160px;
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 25px;
    transition: var(--transition-slow);
    text-align: center;
}

.partner-logo:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-light);
    background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
}

.partner-logo i {
    font-size: 3rem;
    margin-bottom: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: var(--transition);
}

.partner-logo:hover i {
    transform: scale(1.2);
}

.partner-logo h4 {
    font-size: 1.05rem;
    color: var(--dark);
    font-weight: 600;
}

/* ========== BLOG PREVIEW ========== */
.blog-preview {
    background: linear-gradient(135deg, var(--light) 0%, var(--light-dark) 100%);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.blog-card {
    background: var(--pure-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition-slow);
    border: 1px solid var(--gray-light);
    height: 100%;
}

.blog-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
    border-color: var(--secondary-light);
}

.blog-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.blog-card:hover .blog-image img {
    transform: scale(1.1);
}

.blog-category {
    position: absolute;
    top: 18px;
    left: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--pure-white);
    padding: 7px 18px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    font-weight: 600;
}

.blog-content {
    padding: 30px;
}

.blog-meta {
    display: flex;
    gap: 18px;
    margin-bottom: 18px;
    color: var(--gray);
    font-size: 0.88rem;
}

.blog-meta span {
    display: flex;
    align-items: center;
    gap: 7px;
}

.blog-content h3 {
    font-size: 1.4rem;
    margin-bottom: 18px;
    color: var(--dark);
    line-height: 1.3;
}

.blog-content p {
    color: var(--gray);
    margin-bottom: 22px;
    line-height: 1.6;
}

.blog-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.blog-link:hover {
    gap: 12px;
    color: var(--secondary);
}

.blog-cta {
    text-align: center;
}

/* ========== CTA SECTION ========== */
.cta {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--pure-white);
    text-align: center;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2074&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.1;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 54, 146, 0.5) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(66, 139, 51, 0.5) 0%, transparent 50%);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: var(--pure-white);
    padding: 8px 22px;
    border-radius: var(--radius-full);
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-title {
    font-size: 2.8rem;
    margin-bottom: 22px;
    line-height: 1.1;
}

.cta-desc {
    font-size: 1.15rem;
    opacity: 0.95;
    margin-bottom: 35px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 45px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.95);
}

.feature i {
    color: #ffffff;
    font-size: 1.2rem;
}

.cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========== FOOTER ========== */
footer {
    background: linear-gradient(135deg, var(--dark) 0%, #1a2b3e 100%);
    color: var(--pure-white);
    padding: 80px 0 30px;
    position: relative;
}

.footer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1519389950473-47ba0277781c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
}

.footer-content {
    position: relative;
    z-index: 2;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 70px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--pure-white);
    margin-bottom: 22px;
    text-decoration: none;
}

.footer-logo i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-desc {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 30px;
    line-height: 1.7;
    font-size: 1.05rem;
}

.footer-newsletter h4 {
    font-size: 1.2rem;
    margin-bottom: 18px;
    color: var(--pure-white);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex-grow: 1;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    color: var(--pure-white);
    font-size: 1rem;
    transition: var(--transition);
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--secondary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form button {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border: none;
    border-radius: var(--radius);
    color: var(--pure-white);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-secondary);
}

.success-message {
    color: var(--secondary);
    font-weight: 600;
    padding: 14px 0;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.links-column h4 {
    font-size: 1.2rem;
    margin-bottom: 22px;
    color: var(--pure-white);
    position: relative;
    padding-bottom: 14px;
}

.links-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 45px;
    height: 2px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

.links-column ul {
    list-style: none;
}

.links-column li {
    margin-bottom: 14px;
}

.links-column a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
}

.links-column a:hover {
    color: var(--pure-white);
    transform: translateX(6px);
}

.links-column a i {
    color: var(--secondary);
    font-size: 0.88rem;
    transition: var(--transition);
}

.links-column a:hover i {
    transform: scale(1.2);
}

.footer-contact {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
    padding: 50px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-info h4 {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--pure-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}

.contact-item i {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-top: 4px;
}

.contact-item h5 {
    font-size: 1.05rem;
    margin-bottom: 7px;
    color: var(--pure-white);
}

.contact-item p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 1rem;
}

.social-links h4 {
    font-size: 1.2rem;
    margin-bottom: 22px;
    color: var(--pure-white);
}

.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pure-white);
    font-size: 1.2rem;
    text-decoration: none;
    transition: var(--transition-slow);
}

.social-btn.facebook { background: #1877F2; }
.social-btn.twitter { background: #1DA1F2; }
.social-btn.linkedin { background: #0077B5; }
.social-btn.instagram { background: linear-gradient(45deg, #405DE6, #5851DB, #833AB4, #C13584, #E1306C, #FD1D1D); }
.social-btn.youtube { background: #FF0000; }
.social-btn.github { background: #333; }

.social-btn:hover {
    transform: translateY(-6px) rotate(5deg);
    box-shadow: 0 12px 25px rgba(66, 139, 51, 0.3);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 35px;
}

.copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.92rem;
}

.footer-extra {
    display: flex;
    gap: 25px;
}

.footer-extra a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.92rem;
    transition: var(--transition);
}

.footer-extra a:hover {
    color: var(--secondary);
}

/* ========== ANIMATION CLASSES ========== */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.fade-in {
    opacity: 0;
    animation: slideUp 0.8s forwards;
}

.slide-in-left {
    opacity: 0;
    animation: slideInLeft 0.8s forwards;
}

.slide-in-right {
    opacity: 0;
    animation: slideInRight 0.8s forwards;
}

.scale-in {
    opacity: 0;
    animation: scaleIn 0.8s forwards;
}

/* Delay classes */
.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }
.delay-4 { animation-delay: 1.2s; }
.delay-5 { animation-delay: 1.5s; }

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 1200px) {
    .hero-title { font-size: 2.8rem; }
    .section-title { font-size: 2.6rem; }
    .project-title { font-size: 2.3rem; }
    .cta-title { font-size: 2.6rem; }
    .footer-main { grid-template-columns: 1fr 1.5fr; }
}

@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 50px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .floating-cards {
        height: 300px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .project-showcase {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline::before {
        left: 20px;
    }
    
    .process-step {
        gap: 20px;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-contact {
        grid-template-columns: 1fr;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navigation - IMPORTANT : Cacher le texte du logo */
    .mobile-toggle {
        display: block;
    }
    
    .logo-text {
        display: none;
    }
    
    .logo {
        gap: 0;
    }
    
    nav ul {
        position: fixed;
        top: var(--header-height);
        left: 0;
        width: 100%;
        background: var(--pure-white);
        flex-direction: column;
        align-items: center;
        padding: 25px;
        box-shadow: var(--shadow-xl);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition-slow);
        z-index: 999;
        border-radius: 0 0 var(--radius-lg) var(--radius-lg);
        max-height: calc(100vh - var(--header-height));
        overflow-y: auto;
        gap: 0;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        width: 100%;
        text-align: center;
        margin-bottom: 8px;
    }
    
    nav ul li a {
        display: block;
        padding: 12px;
        font-size: 1.1rem;
        border-radius: 6px;
        transition: all 0.3s;
        color: var(--dark);
    }
    
    nav ul li a:hover {
        background: var(--secondary-light);
        color: var(--secondary);
    }
    
    nav ul li a.active::after {
        display: none;
    }
    
    nav ul li a.active {
        background: var(--secondary-light);
        border-radius: 6px;
        color: var(--secondary);
    }
    
    .header-container {
        flex-wrap: nowrap;
        gap: 12px;
    }
    
    .logo {
        order: 1;
        flex: 0 0 auto;
    }
    
    .mobile-toggle {
        order: 2;
        margin-left: auto;
    }
    
    .header-actions {
        order: 3;
        display: none !important;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 150px 0 60px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.3rem;
    }
    
    .hero-desc {
        font-size: 1.05rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 300px;
    }
    
    .floating-card {
        width: 130px;
        height: 130px;
    }
    
    /* Stats */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .section-title {
        font-size: 2.3rem;
    }
    
    /* Projects */
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Team */
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    /* Blog */
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    /* CTA */
    .cta-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    /* Footer */
    .footer-links {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }
    
    .footer-extra {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    section {
        padding: 70px 0;
    }
    
    .btn {
        padding: 13px 28px;
        font-size: 0.95rem;
    }
    
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
    
    header {
        padding: 18px 0;
    }
    
    header.scrolled {
        padding: 12px 0;
    }
    
    /* Hide custom cursor on mobile */
    .cursor-dot,
    .cursor-outline {
        display: none;
    }
    
    body {
        cursor: auto;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 18px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .section-desc {
        font-size: 1.05rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-cards {
        height: 220px;
    }
    
    .floating-card {
        width: 100px;
        height: 100px;
    }
    
    .floating-card i {
        font-size: 1.8rem;
        margin-bottom: 8px;
    }
    
    .floating-card h4 {
        font-size: 0.9rem;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 8px 16px;
    }
    
    /* Ajustements spécifiques pour mobile */
    .logo-icon {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .mobile-toggle {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.8rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        gap: 20px;
    }
    
    .service-card {
        padding: 0;
    }
    
    .service-content {
        padding: 20px;
    }
    
    .service-hover {
        padding: 0 20px 20px;
    }
    
    .project-showcase {
        gap: 35px;
    }
    
    .project-screens {
        height: 250px;
    }
    
    .screen {
        width: 160px;
        height: 105px;
    }
    
    /* Logo encore plus compact */
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .header-actions {
        display: flex;
    }
    
    nav ul {
        display: flex;
    }
    
    .mobile-toggle {
        display: none;
    }
    
    .logo-text {
        display: flex;
    }
}

/* Print Styles */
@media print {
    .loading-screen,
    .cursor-dot,
    .cursor-outline,
    .scroll-progress,
    .back-to-top,
    .mobile-toggle,
    .header-actions,
    .social-links,
    .cta-actions {
        display: none !important;
    }
    
    body {
        color: black;
        background: var(--pure-white);
        font-size: 12pt;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .hero {
        background: var(--pure-white) !important;
        color: black;
        padding: 40px 0 !important;
    }
    
    section {
        padding: 40px 0 !important;
        page-break-inside: avoid;
    }
    
    .btn {
        border: 1px solid black;
        color: black;
        background: var(--pure-white) !important;
    }
}

/* Styles spécifiques pour blog.html */
.blog-header {
    background: linear-gradient(135deg, rgba(0, 54, 146, 0.9), rgba(66, 139, 51, 0.85)),
                url('https://images.unsplash.com/photo-1499750310107-5fef28a66643?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--pure-white);
    padding: 150px 0 100px;
    position: relative;
    overflow: hidden;
}

.blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 54, 146, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(66, 139, 51, 0.4) 0%, transparent 50%);
}

.blog-header-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.blog-header h1 {
    font-size: 3rem;
    margin-bottom: 22px;
    line-height: 1.1;
    color: var(--pure-white);
}

.blog-header p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 35px;
    line-height: 1.7;
}

/* Blog Categories - STICKY */
.blog-categories {
    background: var(--pure-white);
    padding: 18px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .blog-categories {
        top: 70px;
    }
    
    .blog-header h1 {
        font-size: 2.3rem;
    }
    
    .blog-header {
        padding: 120px 0 70px;
    }
}

/* ========== COMPOSANTS UNIFIÉS ========== */

/* Header unifié - S'assurer que tous les headers sont identiques */
header .logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

header .logo-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.2);
    transition: var(--transition);
}

header .logo:hover .logo-image {
    transform: rotate(15deg) scale(1.1);
    border-color: var(--secondary);
}

header .logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

header .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
    white-space: nowrap;
}

@media (max-width: 768px) {
    header .logo-text {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    header .logo-text {
        font-size: 1.1rem;
    }
}

/* Footer unifié */
footer .footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 22px;
}

footer .footer-logo-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

footer .footer-logo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

footer .footer-logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

footer .footer-logo-text span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navigation unifiée - Menu déroulant */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 220px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    border: 1px solid var(--gray-light);
    overflow: hidden;
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        margin-top: 5px;
        border-radius: 0;
        padding-left: 20px;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu a {
        padding: 12px 15px;
        border: none;
        border-radius: 8px;
        margin-bottom: 5px;
        background: var(--light);
    }
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s;
    border-bottom: 1px solid var(--gray-light);
}

.dropdown-menu a:last-child {
    border-bottom: none;
}

.dropdown-menu a:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 25px;
}

.dropdown-menu a i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* Mobile toggle unifié */
#mobileToggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: none;
    border: none;
    color: var(--dark);
    font-size: 1.6rem;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s;
    z-index: 1001;
}

#mobileToggle:hover {
    background: var(--primary-light);
    color: var(--primary);
}

@media (max-width: 768px) {
    #mobileToggle {
        display: flex;
    }
}

/* Navigation mobile unifiée */
@media (max-width: 768px) {
    nav ul {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        border-radius: 0 0 20px 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        gap: 0;
    }
    
    nav ul.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    nav ul li {
        width: 100%;
        margin-bottom: 5px;
    }
    
    nav ul li a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 15px 20px;
        font-size: 1.1rem;
        border-radius: 10px;
        transition: all 0.3s;
        color: var(--dark);
        width: 100%;
    }
    
    nav ul li a:hover,
    nav ul li a.active {
        background: var(--primary-light);
        color: var(--primary);
    }
    
    nav ul li a::after {
        display: none;
    }
}

/* Footer contact unifié - Éviter les conflits de classes */
.footer-contact-info .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 20px;
    background: transparent;
    border: none;
    padding: 0;
}

.footer-contact-info .contact-item i {
    font-size: 1.4rem;
    color: var(--secondary);
    margin-top: 4px;
}

.footer-contact-info .contact-item h5 {
    font-size: 1.05rem;
    margin-bottom: 7px;
    color: white;
}

.footer-contact-info .contact-item p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 1rem;
}

/* Animation classes unifiées */
.fade-in {
    opacity: 0;
    animation: slideUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }
.delay-5 { animation-delay: 1s; }