/* ================================
   CSS Variables & Base Styles
================================ */
:root {
    /* Colors */
    --background: #e8f3ee;
    --foreground: #0f172a;
    --card: #e8f3ee;
    --card-foreground: #0f172a;
    --primary: #3b5bdb;
    --primary-foreground: #ffffff;
    --secondary: #d0e8d8;
    --secondary-foreground: #334155;
    --muted: #d0e8d8;
    --muted-foreground: #64748b;
    --accent: #ea580c;
    --accent-foreground: #ffffff;
    --border: #b8d5c5;
    --ring: #3b5bdb;
    
    /* Spacing */
    --radius: 0.75rem;
    
    /* Typography */
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ================================
   Language Switcher Styles
================================ */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0,0,0,0.2);
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px;
  padding: 4px 10px;
  margin-right: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}

.lang-btn {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  padding: 3px 8px;
  border-radius: 12px;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

.lang-btn:hover {
  color: #ffffff;
  background: rgba(255,255,255,0.15);
  transform: scale(1.02);
}

.lang-btn.lang-active {
  color: #000000;
  background: rgba(255,255,255,0.95);
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
  text-shadow: none;
}

.lang-sep {
  color: rgba(255,255,255,0.8);
  font-size: 11px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Supprime complètement l'UI Google */
.goog-te-banner-frame,
.goog-te-balloon-frame {
  display: none !important;
}

body {
  top: 0 !important;
}

/* ================================
   Trainers Section Styles
================================ */
.trainers-section {
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.trainers-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.trainer-tab {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted-foreground);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 0.9rem;
}

.trainer-tab:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: var(--foreground);
}

.trainer-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--primary-foreground);
}

.trainers-panels {
  position: relative;
}

.trainers-panel {
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trainers-panel.active {
  display: block;
  opacity: 1;
}

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

.trainer-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.trainer-avatar {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 1.5rem;
}

.trainer-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border);
}

.trainer-badge {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: var(--accent);
  color: var(--accent-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
}

.trainer-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--foreground);
}

.trainer-title {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1rem;
}

.trainer-desc {
  color: var(--muted-foreground);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.trainer-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.specialty-tag {
  background: var(--secondary);
  color: var(--secondary-foreground);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .trainers-tabs {
    gap: 0.5rem;
  }
  
  .trainer-tab {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
  
  .trainers-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .trainer-card {
    padding: 1.5rem;
  }
  
  .trainer-avatar {
    width: 100px;
    height: 100px;
  }
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

.hidden {
    display: none !important;
}

/* Icons */
.icon {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.icon-sm {
    width: 1rem;
    height: 1rem;
}

.icon-xs {
    width: 0.875rem;
    height: 0.875rem;
}

.icon-accent {
    color: var(--accent);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.text-highlight {
    color: var(--foreground);
    font-weight: 500;
}

/* Glass Effect */
.glass-effect {
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #8cc84b, #79b33e);
    color: var(--primary-foreground);
    box-shadow: 0 4px 14px rgba(140, 200, 75, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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.6s ease;
}

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

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(140, 200, 75, 0.4);
    transform: translateY(-2px);
    background: linear-gradient(135deg, #79b33e, #8cc84b);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-secondary:hover {
    background: #e2e8f0;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.3);
    color: var(--foreground);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    background: var(--background);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.arrow-icon {
    transition: transform 0.3s ease;
}

.btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* ================================
   Header / Navigation
================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.25rem 0;
    transition: all 0.5s ease;
}

.header.scrolled {
    padding: 0.75rem 0;
    background: rgba(232, 243, 238, 0.9);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(184, 213, 197, 0.5);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 0.25rem;
}

@media (min-width: 768px) {
    .nav-links {
        display: flex;
    }
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--foreground);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.nav-cta .btn-primary {
    background: linear-gradient(135deg, #8cc84b, #79b33e) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(140, 200, 75, 0.3) !important;
}

.nav-cta .btn-primary:hover {
    background: linear-gradient(135deg, #79b33e, #8cc84b) !important;
    box-shadow: 0 8px 25px rgba(140, 200, 75, 0.4) !important;
}

@media (min-width: 768px) {
    .nav-cta {
        display: flex;
    }
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--primary);
}

.phone-text {
    display: none;
}

@media (min-width: 1024px) {
    .phone-text {
        display: inline;
    }
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: var(--muted);
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
    background: var(--border);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

.mobile-menu-btn svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Mobile Menu */
.mobile-menu {
    overflow: hidden;
    transition: all 0.3s ease;
    max-height: 0;
    opacity: 0;
}

.mobile-menu.open {
    max-height: 400px;
    opacity: 1;
    margin-top: 1rem;
}

.mobile-menu-content {
    padding: 1rem 0.5rem;
    border-radius: 1rem;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.mobile-nav-link {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(59, 91, 219, 0.1);
    color: var(--primary);
}

.mobile-menu-cta {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
}

.mobile-menu-cta .btn-primary {
    background: linear-gradient(135deg, #8cc84b, #79b33e) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(140, 200, 75, 0.3) !important;
}

.mobile-menu-cta .btn-primary:hover {
    background: linear-gradient(135deg, #79b33e, #8cc84b) !important;
    box-shadow: 0 8px 25px rgba(140, 200, 75, 0.4) !important;
}

/* Style ultra-spécifique pour le bouton Nous contacter dans le header */
header .nav-cta a.btn.btn-primary {
    background: linear-gradient(135deg, #8cc84b, #79b33e) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(140, 200, 75, 0.3) !important;
    border: none !important;
}

header .nav-cta a.btn.btn-primary:hover {
    background: linear-gradient(135deg, #79b33e, #8cc84b) !important;
    box-shadow: 0 8px 25px rgba(140, 200, 75, 0.4) !important;
}

.phone-link-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted-foreground);
    text-decoration: none;
}

/* ================================
   Hero Section
================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(59, 91, 219, 0.05), var(--background), rgba(234, 88, 12, 0.05));
}

.hero-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
}

.circle-1 {
    top: 5rem;
    left: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: rgba(59, 91, 219, 0.1);
    animation: float 6s ease-in-out infinite;
}

.circle-2 {
    bottom: 5rem;
    right: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: rgba(234, 88, 12, 0.1);
    animation: float 5s ease-in-out infinite 1s;
}

.circle-3 {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 37.5rem;
    height: 37.5rem;
    background: rgba(59, 91, 219, 0.05);
    animation: pulse-glow 4s ease-in-out infinite;
}

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

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.05); }
}

.hero-container {
    position: relative;
    padding: 6rem 0 8rem;
}

@media (min-width: 768px) {
    .hero-container {
        padding: 8rem 0;
    }
}

.hero-grid {
    display: grid;
    gap: 4rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 9999px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    width: fit-content;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    background: linear-gradient(to right, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Heading */
.hero-heading {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-heading h1 {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

@media (min-width: 768px) {
    .hero-heading h1 {
        font-size: 3.75rem;
    }
}

@media (min-width: 1024px) {
    .hero-heading h1 {
        font-size: 4.5rem;
    }
}

.heading-line {
    width: 8rem;
    height: 0.375rem;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 9999px;
}

/* Hero Description */
.hero-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    max-width: 36rem;
}

@media (min-width: 768px) {
    .hero-description {
        font-size: 1.25rem;
    }
}

/* Hero CTA */
.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 0.5rem;
}

@media (min-width: 640px) {
    .hero-cta {
        flex-direction: row;
    }
}

/* Stats Bar */
.stats-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, rgba(59, 91, 219, 0.1), rgba(234, 88, 12, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1);
}

.stat-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--primary);
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Hero Bento Grid */
.hero-bento {
    position: relative;
}

.bento-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to bottom right, rgba(59, 91, 219, 0.2), rgba(234, 88, 12, 0.2));
    border-radius: 2.5rem;
    filter: blur(32px);
    opacity: 0.5;
}

.bento-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.bento-card {
    transition: all 0.5s ease;
}

.bento-card:hover {
    transform: translateY(-4px);
}

.bento-large {
    grid-column: span 2;
    padding: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(to bottom right, var(--primary), rgba(59, 91, 219, 0.8));
    color: var(--primary-foreground);
    box-shadow: 0 25px 50px rgba(59, 91, 219, 0.3);
}

.bento-large .bento-icon {
    width: 3rem;
    height: 3rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.bento-large h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.bento-large p {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.6;
}

.bento-avatars {
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.avatar-group {
    display: flex;
    margin-left: -0.5rem;
}

.avatar {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 500;
    margin-left: -0.5rem;
}

.avatar-text {
    font-size: 0.875rem;
    opacity: 0.8;
}

.bento-small {
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.bento-small-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.bento-card:hover .bento-small-icon {
    transform: scale(1.1);
}

.accent-bg {
    background: linear-gradient(to bottom right, rgba(234, 88, 12, 0.2), rgba(234, 88, 12, 0.1));
}

.accent-bg svg {
    color: var(--accent);
}

.primary-bg {
    background: linear-gradient(to bottom right, rgba(59, 91, 219, 0.2), rgba(59, 91, 219, 0.1));
}

.primary-bg svg {
    color: var(--primary);
}

.bento-small-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.bento-small h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.bento-small p {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    line-height: 1.5;
}

.bento-wide {
    grid-column: span 2;
    padding: 1.5rem;
    border-radius: 1rem;
    background: linear-gradient(to right, var(--foreground), rgba(15, 23, 42, 0.9));
    color: var(--background);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bento-wide-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bento-wide-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.bento-icon-small {
    width: 2.5rem;
    height: 2.5rem;
    opacity: 0.8;
}

.bento-wide h4 {
    font-size: 1.125rem;
    font-weight: 700;
}

.bento-wide p {
    font-size: 0.875rem;
    opacity: 0.8;
}

.bento-wide-right {
    text-align: right;
}

.big-number {
    font-size: 1.875rem;
    font-weight: 700;
}

.small-text {
    font-size: 0.75rem;
    opacity: 0.7;
}

.hero-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8rem;
    background: linear-gradient(to top, var(--background), transparent);
}

/* ================================
   Services Section
================================ */
.services {
    position: relative;
    padding: 6rem 0 8rem;
    overflow: hidden;
}

.section-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--background), rgba(241, 245, 249, 0.3), var(--background));
}

.section-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--border), transparent);
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 48rem;
    margin: 0 auto 5rem;
    position: relative;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-header h2 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .section-header h2 {
        font-size: 3.75rem;
    }
}

.section-header p {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .section-header p {
        font-size: 1.25rem;
    }
}

/* Services Grid */
.services-grid {
    display: grid;
    gap: 1.5rem;
    position: relative;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    position: relative;
    overflow: hidden;
    background: var(--card);
    border-radius: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.5s ease;
}

.service-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    transform: translateY(-8px);
}

.service-large {
    grid-column: span 1;
}

@media (min-width: 1024px) {
    .service-large {
        grid-column: span 2;
    }
}

.service-gradient {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover .service-gradient {
    opacity: 1;
}

.gradient-blue { background: linear-gradient(to bottom right, rgba(59, 91, 219, 0.2), rgba(59, 91, 219, 0.1)); }
.gradient-amber { background: linear-gradient(to bottom right, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1)); }
.gradient-emerald { background: linear-gradient(to bottom right, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1)); }
.gradient-purple { background: linear-gradient(to bottom right, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1)); }
.gradient-rose { background: linear-gradient(to bottom right, rgba(244, 63, 94, 0.2), rgba(244, 63, 94, 0.1)); }
.gradient-cyan { background: linear-gradient(to bottom right, rgba(6, 182, 212, 0.2), rgba(6, 182, 212, 0.1)); }

.service-content {
    position: relative;
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(to bottom right, rgba(59, 91, 219, 0.1), rgba(234, 88, 12, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.5s ease;
}

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

.service-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: var(--primary);
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    .service-content h3 {
        font-size: 1.5rem;
    }
}

.service-card:hover .service-content h3 {
    color: var(--primary);
}

.service-content > p {
    color: var(--muted-foreground);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.check-icon {
    width: 1rem;
    height: 1rem;
    color: var(--primary);
    flex-shrink: 0;
}

.feature span {
    color: var(--muted-foreground);
}

/* Methodology Section */
.methodology {
    margin-top: 6rem;
    position: relative;
}

.methodology-glow {
    position: absolute;
    inset: -1rem;
    background: linear-gradient(to right, rgba(59, 91, 219, 0.2), rgba(234, 88, 12, 0.1), rgba(59, 91, 219, 0.2));
    border-radius: 3rem;
    filter: blur(48px);
    opacity: 0.5;
}

.methodology-content {
    position: relative;
    padding: 2.5rem;
    border-radius: 2.5rem;
    background: linear-gradient(to bottom right, var(--foreground), rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.9));
    color: var(--background);
    overflow: hidden;
}

@media (min-width: 768px) {
    .methodology-content {
        padding: 4rem;
    }
}

.methodology-decoration-1 {
    position: absolute;
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(59, 91, 219, 0.1);
    border-radius: 50%;
    filter: blur(48px);
}

.methodology-decoration-2 {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 16rem;
    height: 16rem;
    background: rgba(234, 88, 12, 0.1);
    border-radius: 50%;
    filter: blur(48px);
}

.methodology-grid {
    position: relative;
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .methodology-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.methodology-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.methodology-left h3 {
    font-family: var(--font-serif);
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .methodology-left h3 {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .methodology-left h3 {
        font-size: 3rem;
    }
}

.methodology-left > p {
    font-size: 1.125rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.methodology-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.meth-stat {
    padding: 1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
}

.meth-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--primary);
}

.meth-stat-label {
    font-size: 0.875rem;
    opacity: 0.7;
}

.methodology-steps {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    transition: background 0.3s ease;
}

.step:hover {
    background: rgba(255, 255, 255, 0.1);
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: rgba(59, 91, 219, 0.5);
    transition: color 0.3s ease;
}

.step:hover .step-number {
    color: var(--primary);
}

.step-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.step-desc {
    font-size: 0.875rem;
    opacity: 0.7;
    line-height: 1.5;
}

/* Clients */
.clients {
    margin-top: 6rem;
    text-align: center;
}

.clients-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 1rem;
}

.clients-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px;
}

.clients-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .clients-list {
        gap: 1.5rem;
    }
}

.client-tag {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(15, 23, 42, 0.7);
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .client-tag {
        font-size: 1rem;
    }
}

.client-tag:hover {
    color: var(--primary);
    transform: scale(1.05);
}

/* Section CTA */
.section-cta {
    margin-top: 4rem;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(59, 91, 219, 0.05), rgba(234, 88, 12, 0.05));
    border-radius: 1.5rem;
    border: 1px solid rgba(59, 91, 219, 0.1);
    position: relative;
    overflow: hidden;
}

.section-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Special styling for CTA button */
.section-cta .btn-primary {
    font-size: 1.125rem;
    padding: 1.25rem 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 8px 25px rgba(59, 91, 219, 0.4);
    position: relative;
    z-index: 1;
}

.section-cta .btn-primary::before {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

.section-cta .btn-primary:hover {
    box-shadow: 0 12px 35px rgba(59, 91, 219, 0.5);
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, var(--accent), var(--primary));
}

/* ================================
   Notre Expansion Section
================================ */
.expansion-section {
    background: #fff;
    padding: 50px 80px;
}

.expansion-section:nth-child(even) {
    background: #e8f5d0;
}

.expansion-header {
    text-align: center;
    margin-bottom: 60px;
}

.expansion-eyebrow {
    color: #8cc84b;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.expansion-title {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
    line-height: 1.2;
}

.expansion-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #666;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

.expansion-timeline {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 60px;
    align-items: flex-start;
    position: relative;
}

/* Alternating layout - odd items left, even items right */
.timeline-item:nth-child(odd) {
    justify-content: flex-start;
}

.timeline-item:nth-child(even) {
    justify-content: flex-end;
}

.timeline-item:nth-child(even) .timeline-content {
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-year {
    order: 2;
}

/* Remove connecting line - it was extending too high */
/* .expansion-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: #d0d0d0;
    z-index: 0;
} */

/* Position timeline items relative to line */
.timeline-item {
    position: relative;
    z-index: 1;
}

/* Center the year badges without the line */
.timeline-item:nth-child(odd) .timeline-year {
    position: relative;
    left: 0;
}

.timeline-item:nth-child(even) .timeline-year {
    position: relative;
    right: 0;
}

.timeline-year {
    background: #111;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 80px;
    text-align: center;
}

.timeline-year.current {
    background: #8cc84b;
}

.timeline-year.vision {
    background: #8cc84b;
    font-size: 10px;
    padding: 6px 16px;
}

.timeline-content {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 20px;
    flex: 1;
}

.timeline-location {
    color: #8cc84b;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-badge {
    background: #8cc84b;
    color: #fff;
    font-size: 10px;
    padding: 2px 10px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 8px;
    font-weight: 600;
}

.timeline-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin-bottom: 8px;
}

.timeline-content p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #444;
    line-height: 1.6;
    margin: 0;
}

/* Vision 2027 special styling */
.vision-item {
    margin-top: 20px;
}

.vision-content {
    background: #e8f5d0;
    border: 2px solid #8cc84b;
}

.vision-content h3 {
    margin-bottom: 12px;
}

.vision-content p {
    margin-bottom: 16px;
}

.vision-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.vision-tag {
    background: #8cc84b;
    color: #fff;
    font-size: 10px;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
    .expansion-section {
        padding: 40px 20px;
    }
    
    .timeline-item {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
        justify-content: flex-start !important;
    }
    
    .timeline-item:nth-child(even) .timeline-content {
        text-align: left;
    }
    
    .timeline-item:nth-child(even) .timeline-year {
        order: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-year,
    .timeline-item:nth-child(even) .timeline-year {
        position: static;
        left: 0;
        right: 0;
        align-self: flex-start;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0;
    }
    
    .expansion-title {
        font-size: 24px;
    }
    
    .vision-tags {
        flex-direction: column;
        gap: 6px;
    }
}

/* ================================
   Contact Section - New Design System
================================ */
.contact-section {
    background: #fff;
    padding: 50px 80px;
}

.contact-header {
    text-align: center;
    margin-bottom: 60px;
}

.contact-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8cc84b;
    margin-bottom: 12px;
    font-family: 'Poppins', sans-serif;
}

.contact-title {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 800;
    color: #111;
    margin-bottom: 16px;
}

.contact-subtitle {
    font-size: 13px;
    color: #666;
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto;
    font-family: 'Open Sans', sans-serif;
}

.contact-layout {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* Contact Form Card */
.contact-form-card {
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 12px;
    padding: 1.25rem;
    flex: 1;
}

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

.form-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: #8cc84b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-icon svg {
    width: 1.75rem;
    height: 1.75rem;
    color: #fff;
}

.form-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.form-header p {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #666;
    margin: 4px 0 0 0;
}

/* Form Fields */
.form-row {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    font-family: 'Open Sans', sans-serif;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1.5px solid #ddd;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 13px;
    font-family: 'Open Sans', sans-serif;
    transition: all 0.3s ease;
    background: #fff;
    color: #444;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #8cc84b;
    outline: none;
    box-shadow: 0 0 0 3px rgba(140, 200, 75, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #999;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #8cc84b;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    justify-content: center;
}

.btn-submit:hover {
    background: #79b33e;
}

.btn-submit .icon {
    width: 16px;
    height: 16px;
}

/* Form Messages */
.form-message {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Open Sans', sans-serif;
}

.form-message svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.form-message.success {
    background: rgba(140, 200, 75, 0.1);
    color: #8cc84b;
}

.form-message.error {
    background: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

/* Locations */
.locations {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.locations-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.5rem;
}

.location-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: #fff;
    border: 0.5px solid #e0e0e0;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.location-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.location-card.hq {
    border-color: #8cc84b;
    box-shadow: 0 4px 12px rgba(140, 200, 75, 0.15);
}

.location-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 8px;
    background: #e8f5d0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.location-icon svg {
    width: 1.5rem;
    height: 1.5rem;
    color: #8cc84b;
}

.hq-icon {
    background: #222;
}

.hq-icon svg {
    color: #fff;
}

.location-info {
    flex: 1;
    min-width: 0;
}

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

.location-info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #111;
    margin: 0;
}

.hq-badge {
    background: #222;
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    font-family: 'Open Sans', sans-serif;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.detail {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 13px;
    color: #444;
    line-height: 1.65;
    font-family: 'Open Sans', sans-serif;
}

.detail svg {
    color: #8cc84b;
    margin-top: 2px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.detail a {
    color: #444;
    text-decoration: none;
    transition: color 0.3s ease;
}

.detail a:hover {
    color: #8cc84b;
}

/* Direct Contact */
.direct-contact {
    padding: 1.5rem;
    border-radius: 12px;
    background: #222;
    color: #fff;
    margin-top: 1rem;
}

.direct-contact h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 1rem 0;
}

.direct-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #fff;
    text-decoration: none;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: opacity 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
}

.direct-link:hover {
    opacity: 0.8;
}

.direct-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.direct-link:hover .direct-icon {
    background: rgba(255, 255, 255, 0.2);
}

.direct-icon svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #fff;
}

.direct-cta {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.direct-cta p {
    font-size: 13px;
    opacity: 0.8;
    margin-bottom: 0.75rem;
    font-family: 'Open Sans', sans-serif;
}

.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    justify-content: center;
}

.btn-dark:hover {
    background: #222;
}

.btn-dark .arrow-icon {
    width: 16px;
    height: 16px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .contact-section {
        padding: 40px 60px;
    }
    
    .contact-layout {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .contact-section {
        padding: 30px 40px;
    }
    
    .contact-title {
        font-size: 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .contact-section {
        padding: 20px;
    }
    
    .contact-header {
        margin-bottom: 40px;
    }
    
    .contact-title {
        font-size: 20px;
    }
    
    .contact-layout {
        gap: 30px;
    }
}

/* ================================
   New Hero Section Styles
================================ */
.hero-section {
    background: #e8f3ee;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Lato', sans-serif;
    overflow: hidden;
}

/* ── TOP CONTENT ROW ── */
.hero-section .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 120px 56px 0;
    gap: 48px;
}

/* Badge */
.hero-section .badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    border: 1.5px solid #b6dfc8;
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13px;
    color: #2d6a4f;
    font-weight: 700;
    margin-bottom: 50px;
    backdrop-filter: blur(8px);
}

/* Headline */
.hero-section .headline {
    font-family: 'Playfair Display', serif;
    font-size: clamp(36px, 4.5vw, 65px);
    font-weight: 900;
    line-height: 1.3;
    color: #0d1a12;
    letter-spacing: -1px;
    margin-bottom: 40px;
}

/* Right column */
.hero-section .hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 40px;
}

.hero-section .hero-description {
    font-size: 15px;
    line-height: 1.8;
    color: #3a3a3a;
    max-width: 440px;
    text-align: justify;
}

.hero-section .cta-btn {
    align-self: flex-end;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #1e4d30;
    color: #fff;
    text-decoration: none;
    padding: 15px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    font-family: 'Lato', sans-serif;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
    white-space: nowrap;
}

.hero-section .cta-btn:hover {
    background: #163825;
}

.hero-section .cta-btn .arrow {
    font-size: 18px;
}

/* ── PEOPLE ROW ── */
.hero-section .people-row {
    position: relative;
    width: 100%;
    height: 400px;
    margin-top: 20px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-section .person-slot {
    position: relative;
    width: 33.33%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-section .circle {
    position: absolute;
    border-radius: 50%;
    bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section .hero-content {
        grid-template-columns: 1fr;
        padding: 80px 24px 0;
    }
    
    .hero-section .headline {
        font-size: 32px;
        margin-bottom: 30px;
    }
    
    .hero-section .hero-right {
        padding-top: 40px;
        gap: 30px;
    }
    
    .hero-section .cta-btn {
        align-self: flex-start;
    }
    
    .hero-section .people-row {
        height: 280px;
    }
}

/* Chat floating button (if needed) */
.chat-btn {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #1e4d30;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(30,77,48,0.38);
    z-index: 999;
}

.chat-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

/* ================================
   New Services Section Styles
================================ */
.services-new {
    background: var(--background);
    overflow: hidden;
}

/* ───── SECTION 1 : TOEFL / IELTS / DELF ───── */
.section-test {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 80px;
    padding: 50px 80px;
    background: #fff;
}

.test-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-shrink: 0;
}

/* TOEFL logo */
.toefl-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.toefl-star {
    font-size: 32px;
    color: #222;
    font-weight: 900;
}

.toefl-text {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 28px;
    color: #111;
    letter-spacing: -0.5px;
}

.toefl-sub {
    font-size: 9px;
    color: #555;
    margin-top: -4px;
    letter-spacing: 0;
}

/* IELTS logo */
.ielts-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ielts-main {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 32px;
    color: #0060a9;
    letter-spacing: 2px;
}

.ielts-sub {
    font-size: 10px;
    color: #555;
    letter-spacing: 0.3px;
    text-align: center;
    max-width: 120px;
}

/* DELF/DALF logo */
.delf-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.delf-top {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #e30613;
    letter-spacing: 1px;
}

.delf-bottom {
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 26px;
    color: #003189;
    letter-spacing: 1px;
}

.test-content {
    max-width: 350px;
}

.test-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
    margin-bottom: 14px;
    white-space: nowrap;
}

.test-content p {
    font-size: 14px;
    color: #444;
    line-height: 1.65;
    margin-bottom: 20px;
    text-align: justify;
}

.btn-green-outline {
    background: #8cc84b;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 9px 18px;
    font-size: 12px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-green-outline:hover {
    background: #79b33e;
}

/* ───── SECTION 2 : COURS COLLECTIFS ───── */
.section-collectifs {
    background: #e8f5d0;
    padding: 80px 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    min-height: 500px;
}

/* Grille 2×2 de portraits circulaires */
.portraits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 24px;
    flex-shrink: 0;
}

.portrait {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

/* Portrait 1 – homme fond vert foncé */
.p1 { background: #1a5c35; }
/* Portrait 2 – homme fond bleu ciel - décalé vers le bas */
.p2 { background: #4dc3e8; margin-top: 24px; border-radius: 50%; }
/* Portrait 3 – femme casque fond blanc/vert */
.p3 { background: #e0f2f1; }
/* Portrait 4 – femme fond rose - décalé vers le bas */
.p4 { background: #ffcdd2; margin-top: 24px; }

/* SVG avatars inline pour remplacer vraies photos */
.portrait svg { width: 100%; height: 100%; }

.collectifs-content { 
    max-width: 450px; 
    flex: 1;
}

.collectifs-content h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    margin-bottom: 20px;
}

.collectifs-content p {
    font-size: 14px;
    color: #444;
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: justify;
}

.btn-row { 
    display: flex; 
    gap: 10px; 
    flex-wrap: nowrap; 
}

.btn-outline-dark {
    background: transparent;
    border: 1.5px solid #555;
    color: #333;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-outline-dark:hover { 
    background: #f0f0f0; 
}

.btn-dark-fill {
    background: #222;
    color: #fff;
    border: none;
    border-radius: 4px;
    padding: 12px 20px;
    font-size: 14px;
    font-family: 'Open Sans', sans-serif;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-dark-fill:hover { 
    background: #000; 
}

/* ───── SECTION 3 : MAÎTRISER LES LANGUES ───── */
.section-langues {
    background: #fff;
    padding: 50px 40px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 40px;
}

.langues-title {
    font-family: 'Poppins', sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #111;
    line-height: 1.25;
    white-space: nowrap;
    flex-shrink: 0;
}

.flags-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    flex: 1;
    justify-content: space-around;
}

.flag-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: transform 0.2s;
}

.flag-item:hover {
    transform: translateY(-2px);
}

.flag-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Drapeaux SVG inline */
.flag-label {
    font-size: 12px;
    color: #444;
    font-family: 'Open Sans', sans-serif;
    font-weight: 500;
}

/* Bouton "Afficher toutes les langues" */
.flag-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.flag-more-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #555;
}

.flag-more-arrow {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #c5e854;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.flag-more-arrow:hover {
    background: #b4d74a;
}

.flag-more-label {
    font-size: 11px;
    color: #444;
    text-align: center;
    max-width: 90px;
    font-weight: 500;
}

/* Drapeau France */
.fr-flag { background: linear-gradient(to right, #002395 33%, #fff 33%, #fff 66%, #ed2939 66%); }
/* Drapeau Haoussa (Nigeria) */
.ha-flag { background: linear-gradient(to right, #008751 33%, #fff 33%, #fff 66%, #008751 66%); }
/* Drapeau USA */
.us-flag {
    background: #b22234;
    position: relative;
    overflow: hidden;
}
/* Drapeau Espagne */
.es-flag { background: linear-gradient(to bottom, #c60b1e 25%, #ffc400 25%, #ffc400 75%, #c60b1e 75%); }

/* Icône caméra (langue avec image manquante) */
.camera-circle {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 20px;
}

/* ── Séparateur ── */
.divider {
    width: 100%;
    height: 1px;
    background: #e0e0e0;
}

/* Responsive Design for New Services */
@media (max-width: 768px) {
    .section-test {
        flex-direction: column;
        gap: 40px;
        padding: 40px 24px;
    }
    
    .test-logos {
        gap: 12px;
    }
    
    .section-collectifs {
        flex-direction: column;
        gap: 50px;
        padding: 60px 24px;
        min-height: auto;
        align-items: center;
    }
    
    .portraits-grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        justify-content: center;
        margin-bottom: 30px;
    }
    
    .portrait {
        width: 220px;
        height: 220px;
    }
    
    .collectifs-content { 
        max-width: 100%; 
        text-align: center;
    }
    
    .section-langues {
        flex-direction: column;
        gap: 30px;
        padding: 40px 20px;
        align-items: center;
    }
    
    .langues-title {
        font-size: 22px;
        text-align: center;
        margin-bottom: 20px;
    }
    
    .flags-row {
        justify-content: center;
        gap: 15px;
        flex-wrap: wrap;
    }
    
    .flag-circle {
        width: 60px;
        height: 60px;
    }
    
    .flag-more-circle {
        width: 60px;
        height: 60px;
        font-size: 20px;
    }
    
    .flag-more-arrow {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .flag-more-label {
        font-size: 10px;
        max-width: 80px;
    }
    
    .test-content h2,
    .collectifs-content h2,
    .langues-title {
        font-size: 22px;
        text-align: center;
    }
}
.footer {
    position: relative;
    background: #1a4a2e;
    color: var(--background);
    overflow: hidden;
}

.footer-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(26, 74, 46, 0.3), transparent);
}

.footer-circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
}

.footer-circle.circle-1 {
    top: 0;
    right: 0;
    width: 24rem;
    height: 24rem;
    background: rgba(26, 74, 46, 0.1);
}

.footer-circle.circle-2 {
    bottom: 0;
    left: 0;
    width: 18rem;
    height: 18rem;
    background: rgba(26, 74, 46, 0.15);
}

.footer .container {
    position: relative;
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.footer-grid {
    display: grid;
    gap: 3rem;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 5fr 2fr 2fr 3fr;
    }
}

/* Footer Brand */
.footer-brand {
    max-width: 26rem;
}

.footer-logo img {
    height: 4rem;
    width: auto;
    border-radius: 0.5rem;
    background: var(--foreground);
}

.footer-brand > p {
    margin-top: 1.5rem;
    font-size: 1rem;
    opacity: 0.7;
    line-height: 1.6;
}

.footer-countries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem;
}

.footer-countries span {
    padding: 0.375rem 0.75rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Footer Navigation & Services */
.footer-nav h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.footer-nav ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.7;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-nav a:hover {
    opacity: 1;
}

.footer-services li {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer Contact */
.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-contact a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    opacity: 0.7;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer-contact a:hover {
    opacity: 1;
}

.footer-icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.footer-contact a:hover .footer-icon {
    background: rgba(59, 91, 219, 0.2);
}

.footer-icon svg {
    width: 1rem;
    height: 1rem;
}

.footer-contact li:last-child {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-hours {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
}

.hours-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.5;
    margin-bottom: 0.5rem;
}

.footer-hours p {
    font-size: 0.875rem;
    opacity: 0.7;
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom > p {
    font-size: 0.875rem;
    opacity: 0.5;
}

.footer-slogan {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    opacity: 0.5;
}

.footer-slogan svg {
    width: 1rem;
    height: 1rem;
}

/* ================================
   Nos Formateurs Section Styles
================================ */

/* ── SECTION WRAPPER ── */
.section-trainers {
    padding: 60px 80px;
    background: #fff;
}

/* ── TITRE ── */
.trainers-heading {
    text-align: center;
    margin-bottom: 40px;
}

.trainers-heading h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 30px;
    font-weight: 800;
    color: #111;
    margin-bottom: 10px;
}

.trainers-heading p {
    font-size: 13px;
    color: #666;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ── BARRE ONGLETS ── */
.tabs-bar {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 48px;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    justify-content: center;
    padding: 14px 20px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #888;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s, background 0.2s;
    margin-bottom: -2px;
}

.tab-btn:hover {
    color: #111;
    background: #f5f5f5;
}

.tab-btn.active {
    color: #111;
    border-bottom: 3px solid #8cc84b;
    background: #f9fff0;
}

.tab-flag {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    overflow: hidden;
    border: 1.5px solid #ddd;
    flex-shrink: 0;
}

.tab-flag svg {
    display: block;
}

/* ── PANNEAU ── */
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* fond vert pour espagnol */
.panel-bg-green {
    background: #e8f5d0;
    margin: -48px -80px 0;
    padding: 48px 80px 60px;
}

/* ── GRILLE TRAINERS ── */
.trainers-grid {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── CARTE TRAINER ── */
.trainer-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 140px;
    padding: 16px 8px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-align: center;
}

.trainer-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.trainer-avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.trainer-avatar svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trainer-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
}

.trainer-name {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #111;
    text-align: center;
    margin: 0;
    line-height: 1.2;
}

.trainer-title {
    font-size: 11px;
    color: #666;
    text-align: center;
    line-height: 1.3;
    margin: 0;
}

.trainer-badge {
    font-size: 9px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-trainers {
        padding: 40px 20px;
    }
    
    .trainers-heading h2 {
        font-size: 24px;
    }
    
    .tabs-bar {
        flex-direction: column;
        gap: 0;
    }
    
    .tab-btn {
        padding: 12px 16px;
        font-size: 13px;
    }
    
    .trainers-grid {
        gap: 24px;
    }
    
    .trainer-card {
        width: 130px;
        padding: 12px 6px;
    }
    
    .trainer-avatar {
        width: 80px;
        height: 80px;
    }
    
    .trainer-name {
        font-size: 12px;
    }
    
    .trainer-title {
        font-size: 10px;
    }
    
    .trainer-badge {
        font-size: 8px;
        padding: 2px 6px;
    }
    
    .panel-bg-green {
        margin: -40px -20px 0;
        padding: 40px 20px 50px;
    }
}

@media (max-width: 480px) {
    .section-trainers {
        padding: 30px 15px;
    }
    
    .trainers-heading h2 {
        font-size: 20px;
    }
    
    .trainers-grid {
        gap: 20px;
    }
    
    .trainer-card {
        width: 110px;
        padding: 10px 4px;
    }
    
    .trainer-avatar {
        width: 70px;
        height: 70px;
    }
    
    .trainer-name {
        font-size: 11px;
    }
    
    .trainer-title {
        font-size: 9px;
    }
    
    .trainer-badge {
        font-size: 7px;
        padding: 1px 5px;
    }
    
    .panel-bg-green {
        margin: -30px -15px 0;
        padding: 30px 15px 40px;
    }
}
