/* ================================
   VARIABLES CSS ET RESET
================================ */
:root {
    --primary-color: #1e3a5f;
    --primary-dark: #152b42;
    --primary-light: #2d5a8a;
    --secondary-color: #4a90e2;
    --accent-color: #ffc107;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
    --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--accent-color));
    --font-primary: 'DM Sans', 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Outfit', 'DM Sans', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ================================
   UTILITAIRES ET LAYOUT
================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

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

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-secondary);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   BOUTONS
================================ */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-light);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

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

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

/* Bouton secondaire spécifique au Hero (fond gris) */
.btn-hero-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

/* ================================
   HEADER ET NAVIGATION
================================ */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo h2 {
    font-family: var(--font-display) !important;
    font-size: 1.3rem;
    font-size: 2.2rem !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.logo-emery {
    font-weight: 300 !important;
    color: var(--primary-color) !important;
}

.logo-kombila {
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

.nav-logo a:hover .logo-emery,
.nav-logo a:hover .logo-kombila {
    color: var(--secondary-color) !important;
}

.nav-logo a {
    text-decoration: none;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 25px;
    transition: var(--transition);
    position: relative;
    font-size: 1.1rem;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background: rgba(44, 85, 48, 0.1);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
}

/* ================================
   HERO SECTION
================================ */
.hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

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

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

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.highlight {
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-avatar {
    width: 300px;
    height: 300px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    color: white;
    box-shadow: var(--shadow-heavy);
    position: relative;
    overflow: hidden;
}

.hero-portrait {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
}

.hero-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

/* ================================
   ABOUT SECTION
================================ */
.about {
    padding: 60px 0;
    background: var(--bg-white);
}

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

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-role {
    font-size: 1.3rem;
    color: var(--secondary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

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

.skill-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 15px;
    transition: var(--transition);
}

.skill-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-light);
}

.skill-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.skill-item span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ================================
   SERVICES SECTIONS
================================ */
.services-preview {
    padding: 60px 0;
    background: var(--bg-white);
}

.tech-logos {
    margin-top: 3rem;
    text-align: center;
}

.tech-logos h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.tech-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin: 0 auto;
}

.tech-logo {
    height: 40px;
    transition: var(--transition);
}

.tech-logo:hover {
    transform: translateY(-5px);
    filter: drop-shadow(0 2px 5px rgba(44, 85, 48, 0.3));
}

/* Portfolio Images */
.portfolio-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-img {
    transform: scale(1.05);
}

/* Pagination Styles */
.pagination-section {
    padding: 40px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
}

.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.pagination-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
    text-decoration: none;
}

.pagination-btn:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pagination-numbers {
    display: flex;
    gap: 0.5rem;
}

.pagination-number {
    width: 45px;
    height: 45px;
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
}

.pagination-number:hover,
.pagination-number.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.pagination-number.active {
    box-shadow: var(--shadow-light);
}

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

.service-card {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-secondary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

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

.service-card h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.service-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.service-link:hover {
    color: var(--secondary-color);
}

/* ================================
   PAGE HERO (pour pages internes)
================================ */
.page-hero {
    padding: 120px 0 60px;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

/* ================================
   SERVICES DETAIL
================================ */
.services-detail {
    padding: 60px 0;
}

.service-detail {
    margin-bottom: 4rem;
    padding: 3rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.service-icon-large {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    flex-shrink: 0;
}

.service-info h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.service-tagline {
    font-size: 1.2rem;
    color: var(--secondary-color);
    font-weight: 600;
}

.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.service-description h3,
.service-description h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-description h3 {
    font-size: 1.5rem;
}

.service-description h4 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
}

.service-description p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-item {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.expertise-areas,
.automation-areas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.area-item,
.automation-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.area-item i,
.automation-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.ai-types {
    display: grid;
    gap: 1rem;
    margin-top: 1rem;
}

.ai-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

.ai-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 0.2rem;
}

.ai-item h5 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.ai-item p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}

.features-list {
    list-style: none;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.features-list i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* ================================
   PROCESS SECTION
================================ */
.process {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.step {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    position: relative;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
}

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

.step p {
    color: var(--text-secondary);
}

/* ================================
   PORTFOLIO
================================ */
.portfolio-filter {
    padding: 40px 0;
    background: var(--bg-light);
}

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

.filter-btn {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.portfolio {
    padding: 60px 0;
}

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

.portfolio-item {
    background: var(--bg-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.portfolio-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-medium);
}

.portfolio-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 85, 48, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-actions {
    display: flex;
    gap: 1rem;
}

.btn-view,
.btn-link {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

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

.portfolio-content {
    padding: 1.5rem;
}

.portfolio-content h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.portfolio-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tech-tag {
    background: var(--bg-light);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ================================
   STATISTICS
================================ */
.stats {
    padding: 60px 0;
    background: var(--gradient-primary);
    color: white;
}

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

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* ================================
   TESTIMONIALS
================================ */
.testimonials {
    padding: 60px 0;
    background: var(--bg-light);
}

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

.testimonial {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.testimonial-stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: var(--accent-color);
}

.testimonial-content p {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.author-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.2rem;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ================================
   CTA SECTION
================================ */
.cta {
    padding: 60px 0;
    background: var(--gradient-primary);
    color: white;
    text-align: center;
}

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

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

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

/* ================================
   CONTACT SECTION
================================ */
.contact {
    padding: 60px 0;
    background: var(--bg-white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--text-secondary);
}

.contact-form {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 20px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(44, 85, 48, 0.1);
}

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

/* ================================
   FOOTER
================================ */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.footer-section p {
    color: #cccccc;
    line-height: 1.6;
}

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

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

.footer-section ul li a {
    color: #cccccc;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.footer-section ul li a:hover {
    color: var(--secondary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: #cccccc;
}

/* ================================
   MODAL
================================ */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-white);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    color: var(--text-light);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--text-primary);
}

.modal-body h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 1rem;
}

.modal-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.modal-body ul li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.modal-tech {
    margin-top: 2rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow-medium);
        padding: 2rem 0;
    }

    .nav-link {
        font-size: 1.2rem;
        padding: 15px 25px;
        margin: 5px 0;
    }

    .nav-logo h2 {
        font-size: 1.1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .page-title {
        font-size: 2.2rem;
    }

    .service-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .expertise-areas,
    .automation-areas {
        grid-template-columns: 1fr;
    }

    .skills {
        grid-template-columns: 1fr;
    }

    .hero-avatar {
        width: 200px;
        height: 200px;
        font-size: 5rem;
    }

    .footer-section ul li a {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .service-detail {
        padding: 2rem 1rem;
    }

    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-number {
        font-size: 2.5rem;
    }
}

/* ================================
   ANIMATIONS ET EFFETS
================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

/* Smooth scrolling pour ancres */
html {
    scroll-padding-top: 80px;
}

/* ================================
    FORMULAIRE MULTI-ÉTAPES
 ================================ */

/* Barre de progression */
.form-progress {
    margin-bottom: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 25%;
    transition: width 0.3s ease;
    border-radius: 4px;
}

/* Indicateurs d'étapes */
.step-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.step-indicator {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    outline: none;
}

.step-indicator.active {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.1);
}

/* Étapes du formulaire */
.form-step {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.form-step.active {
    display: block;
}

.form-step h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.form-step p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* Groupes de boutons radio et checkbox */
.radio-group, .checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.radio-option, .checkbox-option {
    position: relative;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    background: white;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    outline: none;
}

.radio-option:hover, .checkbox-option:hover {
    border-color: var(--primary-color);
    background: rgba(44, 85, 48, 0.05);
    box-shadow: 0 0 0 1px rgba(44, 85, 48, 0.1);
}

.radio-option input, .checkbox-option input {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0;
    margin: 0;
    cursor: pointer;
    z-index: 2;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

.radio-label, .checkbox-label {
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
    cursor: pointer;
    flex: 1;
}

/* Style personnalisé pour les boutons radio */
.radio-option::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    outline: none;
    position: relative;
    z-index: 1;
}

.radio-option:hover::before {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(44, 85, 48, 0.1);
}

.radio-option.checked .radio-label {
    color: var(--primary-color);
    font-weight: 600;
}

.radio-option.checked::before {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

/* Style personnalisé pour les checkboxes */
.checkbox-option::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: white;
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
    outline: none;
    z-index: 1;
}

.checkbox-option:hover::before {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 1px rgba(44, 85, 48, 0.1);
}

.checkbox-option.checked .checkbox-label {
    color: var(--primary-color);
    font-weight: 600;
}

.checkbox-option.checked::before {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
}

.checkbox-option.checked::before::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Slider de budget */
.budget-slider {
    margin-top: 1rem;
}

.budget-slider input[type="range"] {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--bg-light);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.budget-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.budget-slider input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--gradient-primary);
    cursor: pointer;
    border: 2px solid var(--primary-color);
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.budget-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.budget-display {
    text-align: center;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: 8px;
}

/* Récapitulatif */
.form-summary {
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.form-summary h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

#summary-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

#summary-content p {
    margin-bottom: 0.5rem;
}

/* Navigation du formulaire */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .radio-group, .checkbox-group {
        gap: 0.5rem;
    }

    .radio-option, .checkbox-option {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .budget-labels {
        font-size: 0.7rem;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .form-navigation button {
        width: 100%;
    }
}

/* ================================
   FAQ SECTION STYLES
================================ */
.faq-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.faq-service {
    margin-bottom: 4rem;
    background: var(--bg-white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-light);
    border: 1px solid rgba(44, 85, 48, 0.1);
}

.service-faq-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--bg-light);
}


.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item {
    background: var(--bg-light);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
}

/* Supprimer TOUS les styles par défaut des details/summary */
.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::marker {
    display: none;
}

.faq-item summary {
    outline: none;
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.faq-item[open] summary {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.faq-item details {
    border: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

.faq-item[open] details {
    border: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Forcer la suppression de toutes les bordures dans la FAQ */
.faq-item *,
.faq-item summary *,
.faq-item details * {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Règles ultra-spécifiques pour supprimer les bordures par défaut */
.faq-item summary,
.faq-item details,
.faq-item summary:focus,
.faq-item details:focus,
.faq-item summary:active,
.faq-item details:active,
.faq-item[open] summary,
.faq-item[open] details {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    outline: none !important;
    box-shadow: none !important;
}


.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-light);
    border-color: var(--primary-color);
}

.faq-item[open] {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-medium);
}

.faq-question {
    padding: 1.5rem 2rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    border-bottom: none;
}





.faq-question:hover {
    color: var(--primary-color);
    background: rgba(44, 85, 48, 0.05);
}



.faq-item[open] .faq-question {
    border-bottom: 0.5px solid rgba(0, 0, 0, 0.1) !important;
}


.faq-question::after {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e3a5f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M12 5v14M5 12h14'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 1rem 2rem 1.5rem 2rem;
    color: var(--text-secondary);
    line-height: 1.7;
    animation: slideDown 0.3s ease-out;
}

.faq-answer p {
    margin: 0;
    font-size: 1rem;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
    to {
        opacity: 1;
        max-height: 200px;
        padding-top: 0;
        padding-bottom: 1.5rem;
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.faq-cta {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 20px;
    margin-top: 3rem;
}

.faq-cta h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

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

.faq-search {
    max-width: 500px;
    margin: 0 auto 3rem auto;
    position: relative;
}

.faq-search input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid var(--border-color);
    border-radius: 50px;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.faq-search input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
}

.faq-search i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
    font-size: 1.1rem;
}

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

.faq-stat {
    text-align: center;
    padding: 2rem;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
}

.faq-stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.faq-stat-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.search-results-message {
    margin: 2rem 0;
    padding: 2rem;
    text-align: center;
    background: var(--bg-white);
    border-radius: 15px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary-color);
}

.no-results {
    color: var(--text-secondary);
}

.no-results i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

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

.no-results p {
    margin-bottom: 2rem;
}

.search-results {
    color: var(--text-secondary);
    font-size: 1rem;
}

.search-results strong {
    color: var(--primary-color);
}

.search-highlight {
    background: linear-gradient(135deg, var(--accent-color), #fff3cd);
    padding: 2px 4px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--primary-color);
}

/* FAQ Loading Animation */
.faq-item.loading {
    opacity: 0.5;
    pointer-events: none;
}

/* FAQ Focus States for Accessibility */
.faq-question:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

.faq-search input:focus {
    transform: scale(1.02);
}

/* FAQ Hover Effects */
.faq-service:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .faq-search {
        margin-bottom: 2rem;
    }
    
    .faq-service {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .service-faq-title {
        font-size: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }


    .faq-question {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 1.5rem 1rem 1.5rem;
    }

    .faq-cta {
        padding: 2rem 1rem;
    }

    .faq-cta h3 {
        font-size: 1.5rem;
    }
    
    .search-results-message {
        padding: 1.5rem;
        margin: 1rem 0;
    }
}

@media (max-width: 480px) {
    .faq-stats {
        grid-template-columns: 1fr;
    }
    
    .faq-stat {
        padding: 1.5rem;
    }
    
    .faq-stat-number {
        font-size: 2rem;
    }
}

/* Amélioration de l'accessibilité */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ================================
   DESIGN ULTRA MODERNE - REFONTE
================================ */

/* Hero Section Ultra Moderne */
.hero-modern {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    padding: 100px 20px 80px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    top: -250px;
    left: -250px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -200px;
    right: -200px;
    animation-delay: 5s;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-content-modern {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    margin-bottom: 30px;
    animation: slideInLeft 0.8s ease-out;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

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

.hero-title-modern {
    font-size: 4.5rem;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 30px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.gradient-text {
    background: linear-gradient(135deg, #4a90e2, #667eea, #f093fb);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description-modern {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
    max-width: 600px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons-modern {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

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

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

.btn-primary-modern {
    background: linear-gradient(135deg, #4a90e2, #667eea);
    color: white;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.btn-primary-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.btn-secondary-modern {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-secondary-modern:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.hero-stats-inline {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.stat-inline {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.stat-number-inline {
    font-size: 2rem;
    font-weight: 500;
    color: white;
}

.stat-label-inline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.stat-divider {
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.hero-image-modern {
    position: relative;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.image-container-modern {
    position: relative;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.image-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.3), transparent 70%);
    filter: blur(40px);
    animation: pulse 3s ease-in-out infinite;
}

.hero-portrait-modern {
    width: 100%;
    height: auto;
    border-radius: 30px;
    position: relative;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: 500;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: floatCard 3s ease-in-out infinite;
    z-index: 3;
}

.floating-card i {
    font-size: 1.5rem;
}

.card-1 {
    top: 10%;
    right: -10%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 30%;
    left: -15%;
    animation-delay: 1s;
}

.card-3 {
    bottom: 10%;
    right: -5%;
    animation-delay: 2s;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    animation: fadeInUp 0.8s ease-out 1s both;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0%, 100% { opacity: 0; transform: translateX(-50%) translateY(0); }
    50% { opacity: 1; transform: translateX(-50%) translateY(10px); }
}

/* Services Section Modern */
.services-modern {
    padding: 100px 20px;
    background: #f8fafc;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 80px;
}

.section-tag {
    display: inline-block;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.section-title-modern {
    font-size: 3.5rem;
    font-weight: 400;
    color: #0f172a;
    margin-bottom: 20px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.section-subtitle-modern {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card-modern {
    background: white;
    padding: 40px;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
}

.service-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #4a90e2, #667eea);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

.service-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: #4a90e2;
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card-modern:hover .card-glow {
    opacity: 1;
}

.service-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 25px;
    transition: all 0.4s ease;
}

.service-card-modern:hover .service-icon-modern {
    transform: scale(1.1) rotate(5deg);
}

.service-card-modern h3 {
    font-size: 1.5rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 15px;
}

.service-card-modern p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 25px;
}

.service-link-modern {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #4a90e2;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.service-link-modern:hover {
    gap: 12px;
    color: #667eea;
}

/* Tech Stack Modern */
.tech-stack-modern {
    padding: 100px 20px;
    background: white;
    overflow: hidden;
}

.tech-carousel {
    margin-top: 60px;
    overflow: hidden;
    position: relative;
}

.tech-track {
    display: flex;
    gap: 40px;
    animation: scroll-infinite 30s linear infinite;
}

@keyframes scroll-infinite {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.tech-item-modern {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    padding: 30px;
    background: #f8fafc;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 150px;
}

.tech-item-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: #4a90e2;
}

.tech-item-modern img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.tech-item-modern span {
    font-size: 14px;
    font-weight: 500;
    color: #0f172a;
}

/* Stats Modern */
.stats-modern {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card-modern {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: all 0.4s ease;
}

.stat-card-modern:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(74, 144, 226, 0.5);
}

.stat-icon-modern {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
}

.stat-content-modern {
    flex: 1;
}

.stat-number-modern {
    font-size: 3rem;
    font-weight: 500;
    color: white;
    margin-bottom: 5px;
}

.stat-label-modern {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonials Modern */
.testimonials-modern {
    padding: 100px 20px;
    background: #f8fafc;
}

.testimonials-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.testimonial-card-modern {
    background: white;
    padding: 40px;
    border-radius: 25px;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.4s ease;
}

.testimonial-card-modern:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border-color: #4a90e2;
}

.testimonial-stars-modern {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    color: #fbbf24;
    font-size: 1.2rem;
}

.testimonial-text-modern {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author-modern {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar-modern {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.author-info-modern h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 5px;
}

.author-info-modern span {
    font-size: 0.9rem;
    color: #64748b;
}

.quote-icon {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: rgba(74, 144, 226, 0.1);
}

/* CTA Modern */
.cta-modern {
    padding: 100px 20px;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden;
}

.cta-background-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.2;
}

.cta-orb-1 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, #4a90e2, #667eea);
    top: -200px;
    right: -200px;
}

.cta-orb-2 {
    width: 350px;
    height: 350px;
    background: linear-gradient(135deg, #f093fb, #f5576c);
    bottom: -175px;
    left: -175px;
}

.cta-content-modern {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-title-modern {
    font-size: 3.5rem;
    font-weight: 400;
    color: white;
    margin-bottom: 25px;
    font-family: var(--font-display);
    letter-spacing: -0.01em;
}

.cta-description-modern {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 50px;
}

.cta-buttons-modern {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta-primary {
    background: linear-gradient(135deg, #4a90e2, #667eea);
    color: white;
    box-shadow: 0 10px 30px rgba(74, 144, 226, 0.3);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(74, 144, 226, 0.4);
}

.btn-cta-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-cta-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

/* Responsive Modern */
@media (max-width: 1200px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-description-modern {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons-modern {
        justify-content: center;
    }
    
    .hero-stats-inline {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title-modern {
        font-size: 3rem;
    }
    
    .section-title-modern {
        font-size: 2.5rem;
    }
    
    .cta-title-modern {
        font-size: 2.5rem;
    }
    
    .services-grid-modern,
    .testimonials-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .stats-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-card {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title-modern {
        font-size: 2.2rem;
    }
    
    .section-title-modern {
        font-size: 2rem;
    }
    
    .cta-title-modern {
        font-size: 2rem;
    }
    
    .stats-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .stat-card-modern {
        flex-direction: column;
        text-align: center;
    }
}
