* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1C5FAD;
    --primary-dark: #1e40af;
    --primary-light: #60a5fa;
    --secondary-color: #8b5cf6;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --text-color: #374151;
    --success-color: #10b981;
    --white: #ffffff;
    --gradient-1: linear-gradient(135deg, #1C5FAD 50%, #333331 50%);
    --gradient-2: linear-gradient(135deg, #1C5FAD 30%, #ef4444 70%);
    --gradient-3: linear-gradient(135deg, #10b981 0%, #3b82f6 100%);
    --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.2);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--white);
}

html {
    scroll-behavior: smooth;
}

/* ==================== PARTICLES BACKGROUND ==================== */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.5;
}

/* ==================== LOADING SCREEN ==================== */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #333331 50%, #1C5FAD 50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    height: 100px;
    animation: logoFloat 2s ease-in-out infinite;
    /*filter: brightness(0) invert(1);*/
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    margin: 2rem auto 1rem;
    animation: spin 1s linear infinite;
}

.loading-text {
    font-size: 1.2rem;
    font-weight: 600;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ==================== NAVIGATION ==================== */
nav {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

nav.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255, 255, 255, 0.98);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideInLeft 0.8s ease;
}

.logo {
    height: 50px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    animation: slideInRight 0.8s ease;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a i {
    margin-right: 0.3rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover i {
    opacity: 1;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-1);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
    transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    background: var(--gradient-1);
    color: white;
    padding: 180px 2rem 120px;
    margin-top: 20px;
    overflow: hidden;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

/* Bulles animées */
.bubbles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    opacity: 0.6;
    animation: rise 15s infinite ease-in;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.bubble:nth-child(1) {
    width: 40px;
    height: 40px;
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.bubble:nth-child(2) {
    width: 20px;
    height: 20px;
    left: 20%;
    animation-duration: 10s;
    animation-delay: 1s;
}

.bubble:nth-child(3) {
    width: 50px;
    height: 50px;
    left: 35%;
    animation-duration: 14s;
    animation-delay: 2s;
}

.bubble:nth-child(4) {
    width: 80px;
    height: 80px;
    left: 50%;
    animation-duration: 16s;
    animation-delay: 0s;
}

.bubble:nth-child(5) {
    width: 35px;
    height: 35px;
    left: 55%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.bubble:nth-child(6) {
    width: 45px;
    height: 45px;
    left: 65%;
    animation-duration: 13s;
    animation-delay: 1s;
}

.bubble:nth-child(7) {
    width: 90px;
    height: 90px;
    left: 70%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.bubble:nth-child(8) {
    width: 25px;
    height: 25px;
    left: 80%;
    animation-duration: 9s;
    animation-delay: 4s;
}

.bubble:nth-child(9) {
    width: 15px;
    height: 15px;
    left: 70%;
    animation-duration: 7s;
    animation-delay: 2s;
}

.bubble:nth-child(10) {
    width: 60px;
    height: 60px;
    left: 25%;
    animation-duration: 15s;
    animation-delay: 3s;
}

.bubble:nth-child(11) {
    width: 30px;
    height: 30px;
    left: 15%;
    animation-duration: 11s;
    animation-delay: 1s;
}

.bubble:nth-child(12) {
    width: 55px;
    height: 55px;
    left: 42%;
    animation-duration: 13s;
    animation-delay: 4s;
}

.bubble:nth-child(13) {
    width: 70px;
    height: 70px;
    left: 58%;
    animation-duration: 17s;
    animation-delay: 0s;
}

.bubble:nth-child(14) {
    width: 22px;
    height: 22px;
    left: 88%;
    animation-duration: 8s;
    animation-delay: 2s;
}

.bubble:nth-child(15) {
    width: 48px;
    height: 48px;
    left: 5%;
    animation-duration: 14s;
    animation-delay: 3s;
}

.bubble:nth-child(16) {
    width: 38px;
    height: 38px;
    left: 92%;
    animation-duration: 12s;
    animation-delay: 1s;
}

.bubble:nth-child(17) {
    width: 65px;
    height: 65px;
    left: 75%;
    animation-duration: 16s;
    animation-delay: 4s;
}

.bubble:nth-child(18) {
    width: 28px;
    height: 28px;
    left: 32%;
    animation-duration: 10s;
    animation-delay: 2s;
}

.bubble:nth-child(19) {
    width: 42px;
    height: 42px;
    left: 48%;
    animation-duration: 13s;
    animation-delay: 0s;
}

.bubble:nth-child(20) {
    width: 52px;
    height: 52px;
    left: 62%;
    animation-duration: 15s;
    animation-delay: 3s;
}

@keyframes rise {
    0% {
        bottom: -100px;
        transform: translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateX(10px) scale(1);
    }
    50% {
        transform: translateX(-20px) scale(1.1);
        opacity: 0.5;
    }
    100% {
        bottom: 110%;
        transform: translateX(30px) scale(0.8);
        opacity: 0;
    }
}

/* Animation alternative pour certaines bulles */
.bubble:nth-child(even) {
    animation-name: riseAlt;
}

@keyframes riseAlt {
    0% {
        bottom: -100px;
        transform: translateX(0) scale(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
        transform: translateX(-10px) scale(1) rotate(45deg);
    }
    50% {
        transform: translateX(20px) scale(1.1) rotate(180deg);
        opacity: 0.5;
    }
    100% {
        bottom: 110%;
        transform: translateX(-30px) scale(0.8) rotate(360deg);
        opacity: 0;
    }
}

/* Étoiles scintillantes */
.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.star {
    position: absolute;
    width: 3px;
    height: 3px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8), 0 0 20px rgba(255, 255, 255, 0.6);
    animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.star:nth-child(2) {
    top: 40%;
    left: 25%;
    animation-delay: 0.5s;
}

.star:nth-child(3) {
    top: 60%;
    left: 35%;
    animation-delay: 1s;
    width: 4px;
    height: 4px;
}

.star:nth-child(4) {
    top: 15%;
    left: 50%;
    animation-delay: 1.5s;
}

.star:nth-child(5) {
    top: 80%;
    left: 60%;
    animation-delay: 2s;
    width: 2px;
    height: 2px;
}

.star:nth-child(6) {
    top: 30%;
    left: 75%;
    animation-delay: 0.8s;
}

.star:nth-child(7) {
    top: 50%;
    left: 85%;
    animation-delay: 1.2s;
    width: 4px;
    height: 4px;
}

.star:nth-child(8) {
    top: 70%;
    left: 90%;
    animation-delay: 1.8s;
}

.star:nth-child(9) {
    top: 25%;
    left: 8%;
    animation-delay: 2.3s;
    width: 3px;
    height: 3px;
}

.star:nth-child(10) {
    top: 55%;
    left: 45%;
    animation-delay: 2.8s;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255,255,255,0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139,92,246,0.2) 0%, transparent 50%),
        radial-gradient(circle at 60% 20%, rgba(245,158,11,0.15) 0%, transparent 40%);
    animation: bgMove 20s ease-in-out infinite;
    z-index: 1;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, 30px) scale(1.05); }
    66% { transform: translate(-30px, 50px) scale(0.95); }
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255,255,255,0.3);
    animation: fadeInDown 1s ease;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    position: relative;
    margin-bottom: 2rem;
}

.title-line {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    animation: fadeInUp 1s ease 0.2s both;
}

.title-underline {
    display: block;
    width: 150px;
    height: 5px;
    background: var(--gradient-2);
    margin-top: 1rem;
    border-radius: 10px;
    animation: expandWidth 1s ease 0.4s both;
}

@keyframes expandWidth {
    from { width: 0; }
    to { width: 150px; }
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    max-width: 800px;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.8s both;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
    margin-bottom: 3rem;
}

.btn {
    position: relative;
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(255,255,255,0.8);
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
    transition: left 0.5s ease;
}

.btn:hover .btn-shine {
    left: 100%;
}

.btn-secondary {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 2px solid white;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-5px);
}

.btn-glass {
    backdrop-filter: blur(10px);
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1.2s both;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: rgba(255,255,255,0.15);
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.hero-feature-item:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-3px);
}

.hero-feature-item i {
    font-size: 1.5rem;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: fadeInUp 1s ease 1.5s both;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255,255,255,0.8);
    border-radius: 15px;
    margin: 0 auto 0.5rem;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: mouseWheel 1.5s ease-in-out infinite;
}

@keyframes mouseWheel {
    0%, 100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(15px); opacity: 0; }
}

.hero-scroll-indicator p {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* ==================== 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 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);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

/* ==================== SECTION STYLES ==================== */
section {
    padding: 100px 2rem;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease;
}

.section-badge.light {
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
}

.section-title {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    animation: fadeInUp 0.8s ease;
}

.section-title.light {
    color: white;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-color);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.section-subtitle.light {
    color: rgba(255,255,255,0.95);
}

/* ==================== ABOUT SECTION ==================== */
.about {
    background: var(--light-color);
}

.about-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.about-card {
    position: relative;
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    overflow: hidden;
    animation: fadeInUp 0.8s ease;
}

.about-card:nth-child(1) {
    animation-delay: 0.1s;
}

.about-card:nth-child(2) {
    animation-delay: 0.2s;
}

.about-card:nth-child(3) {
    animation-delay: 0.3s;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.card-icon-wrapper {
    width: 70px;
    height: 70px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.4s ease;
}

.about-card:hover .card-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
}

.card-mission .card-icon-wrapper {
    background: var(--gradient-1);
}

.card-vision .card-icon-wrapper {
    background: var(--gradient-2);
}

.card-philosophy .card-icon-wrapper {
    background: var(--gradient-3);
}

.about-card h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.about-card p {
    line-height: 1.8;
    color: var(--text-color);
}

.card-decoration {
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.05;
    transition: all 0.4s ease;
}

.about-card:hover .card-decoration {
    bottom: -30px;
    right: -30px;
    opacity: 0.1;
}

/* Values Section */
.values-section {
    margin-top: 4rem;
}

.values-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.title-decoration {
    width: 80px;
    height: 3px;
    background: var(--gradient-1);
    border-radius: 10px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
}

.value-item {
    text-align: center;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease;
}

.value-item:nth-child(1) {
    animation-delay: 0.1s;
}

.value-item:nth-child(2) {
    animation-delay: 0.2s;
}

.value-item:nth-child(3) {
    animation-delay: 0.3s;
}

.value-item:nth-child(4) {
    animation-delay: 0.4s;
}

.value-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    background: var(--gradient-1);
    border-radius: 50%;
    opacity: 0.05;
    transition: all 0.4s ease;
}

.value-item:hover .value-icon-bg {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 0.1;
}

.value-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.value-1 .value-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-2 .value-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-3 .value-icon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-4 .value-icon {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
}

.value-item h4 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.value-item p {
    color: var(--text-color);
    line-height: 1.7;
}

/* ==================== SERVICES SECTION ==================== */
.services {
    background: white;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.service-card {
    position: relative;
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    overflow: hidden;
    border: 2px solid transparent;
    animation: fadeInUp 0.8s ease;
}

.service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.service-card:nth-child(2) {
    animation-delay: 0.2s;
}

.service-card:nth-child(3) {
    animation-delay: 0.3s;
}

.service-card:nth-child(4) {
    animation-delay: 0.4s;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-1);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.service-number {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 4rem;
    font-weight: 900;
    color: var(--light-color);
    opacity: 0.3;
    transition: all 0.4s ease;
}

.service-card:hover .service-number {
    opacity: 0.5;
    transform: scale(1.1);
}

.service-icon-wrapper {
    margin-bottom: 1rem;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-1);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    transition: all 0.4s ease;
}

.service-1 .service-icon {
    background: var(--gradient-1);
}

.service-2 .service-icon {
    background: var(--gradient-2);
}

.service-3 .service-icon {
    background: var(--gradient-3);
}

.service-4 .service-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(10deg);
}

.service-card h3 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.service-intro {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.service-features {
    list-style: none;
    margin: 0.1rem 0;
}

.service-features li {
    padding: 0.7rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
    color: var(--primary-color);
}

.service-features i {
    color: var(--success-color);
    font-size: 1rem;
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
}

.service-btn:hover {
    gap: 1rem;
    color: var(--primary-dark);
}

/* ==================== STATS SECTION ==================== */
.stats {
    background: var(--dark-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 50%, rgba(37,99,235,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(139,92,246,0.1) 0%, transparent 50%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item {
    padding: 2rem;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease;
}

.stat-item:nth-child(1) {
    animation-delay: 0.1s;
}

.stat-item:nth-child(2) {
    animation-delay: 0.2s;
}

.stat-item:nth-child(3) {
    animation-delay: 0.3s;
}

.stat-item:nth-child(4) {
    animation-delay: 0.4s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-light);
    animation: pulse 2s ease-in-out infinite;
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.stat-item p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.9);
}

.stat-bar {
    width: 0;
    height: 4px;
    background: var(--gradient-1);
    margin: 1rem auto 0;
    border-radius: 10px;
    transition: width 1s ease;
}

.stat-item.animated .stat-bar {
    width: 80%;
}

/* ==================== WHY CHOOSE US ==================== */
.why-choose {
    background: var(--gradient-1);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.05;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,0.1) 35px, rgba(255,255,255,0.1) 70px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.feature-item {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease;
}

.feature-item:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.3s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(5) {
    animation-delay: 0.5s;
}

.feature-item:nth-child(6) {
    animation-delay: 0.6s;
}

.feature-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.feature-icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255,255,255,0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: all 0.4s ease;
}

.feature-item:hover .feature-icon-wrapper {
    background: white;
    color: var(--primary-color);
    transform: scale(1.1) rotate(10deg);
}

.feature-item h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
}

.feature-item p {
    line-height: 1.8;
    opacity: 0.95;
}

/* ==================== TESTIMONIALS ==================== */
.testimonials {
    background: var(--light-color);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.testimonial-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: all 0.4s ease;
    animation: fadeInUp 0.8s ease;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-light);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.author-info h4 {
    color: var(--dark-color);
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.author-info p {
    color: var(--text-color);
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-rating {
    color: var(--accent-color);
    font-size: 1.2rem;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-info,
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    box-shadow: var(--shadow-sm);
    animation: fadeInUp 0.8s ease;
}

.contact-info {
    animation-delay: 0.1s;
}

.contact-form {
    animation-delay: 0.2s;
}

.contact-info h3,
.contact-form h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.contact-item {
    display: flex;
    align-items: start;
    gap: 1.5rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-item:hover {
    background: var(--primary-light);
    color: white;
    transform: translateX(10px);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
    color: var(--dark-color);
}

.contact-item:hover h4 {
    color: white;
}

.contact-item p,
.contact-item a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-item:hover p,
.contact-item:hover a {
    color: white;
}

/* Form Styles */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 0.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.7rem;
    font-weight: 600;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37,99,235,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

/* Social Links */
.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.7rem;
    padding: 0.9rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.social-links a:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.social-links .linkedin {
    background: #0077b5;
}

.social-links .facebook {
    background: #1877f2;
}

.social-links .twitter {
    background: #000000;
}

.social-links .whatsapp {
    background: #25d366;
}

.social-links .instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* ==================== FOOTER ==================== */
footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-section a:hover {
    color: white;
    transform: translateX(5px);
}

.footer-logo {
    margin-bottom: 1rem;
}

.footer-social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.footer-social-links a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.footer-social-links a:hover {
    transform: translateY(-5px) scale(1.1);
}

.footer-social-links .linkedin {
    background: #0077b5;
}

.footer-social-links .facebook {
    background: #1877f2;
}

.footer-social-links .twitter {
    background: #000000;
}

.footer-social-links .whatsapp {
    background: #25d366;
}

.footer-social-links .instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.7);
}

.footer-bottom a {
    color: var(--primary-light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-bottom a:hover {
    color: white;
}

/* ==================== SCROLL TO TOP ==================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-1);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .title-line {
        font-size: 3rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.4s;
        box-shadow: var(--shadow-lg);
        padding: 2rem 0;
        gap: 0;
    }

    .nav-menu li {
        width: 100%;
        padding: 1rem 0;
        border-bottom: 1px solid var(--light-color);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero {
        padding: 120px 2rem 80px;
        min-height: auto;
    }

    .title-line {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .values-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .title-decoration {
        width: 60px;
    }

    section {
        padding: 60px 1.5rem;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .title-line {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        font-size: 0.9rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .about-card,
    .service-card,
    .feature-item {
        padding: 2rem 1.5rem;
    }
}