:root{
  --bg: #ffffff;
  --bg-light: #f8fafc;
  --bg-dark: #0f1724;
  --text: #0f1724;
  --text-light: #ffffff;
  --muted: #6b7280;
  --muted-light: #d1d5db;
  --accent: #0ea5a4;
  --accent-dark: #0b8f8d;
  --accent-light: #20d9d1;
  --success: #10b981;
  --warning: #f59e0b;
  --max-width: 1200px;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-md: 0 12px 32px rgba(0,0,0,0.15);
  --shadow-lg: 0 24px 56px rgba(0,0,0,0.2);
}

*{
  box-sizing:border-box;
  scroll-behavior:smooth;
}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:'Segoe UI',Roboto,system-ui,-apple-system,'Helvetica Neue',sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, #ffffff 0%, #f5f7fa 50%, #f0f3f8 100%);
  background-attachment:fixed;
  line-height:1.6;
  letter-spacing:-0.3px;
}

.container{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 1.5rem;
}

.nav-active{
  color: var(--accent);
}
.nav-active::before{
  transform: scaleX(1) !important;
}

/* HEADER & NAV */
.site-header{
  position:sticky;
  top:0;
  background:linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.95) 100%);
  border-bottom:1px solid rgba(14,165,164,0.08);
  z-index:999;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  transition:all 0.4s cubic-bezier(0.4,0,0.2,1);
  box-shadow:0 2px 0 rgba(14,165,164,0.03);
  display:flex;
  align-items:center;
}

.site-header.scrolled{
  background:linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.97) 100%);
  box-shadow:0 8px 32px rgba(14,165,164,0.12);
  border-bottom-color:rgba(14,165,164,0.12);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:0.9rem 1.5rem;
  transition:padding 0.3s ease;
  flex:1;
  gap:2rem;
}

.logo{
  display:flex;
  align-items:center;
  gap:0.8rem;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  font-size:1.3rem;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  position:relative;
}

.logo:hover{
  transform:translateY(-2px);
}

.logo-img{
  width:52px;
  height:52px;
  object-fit:contain;
  display:block;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  filter:drop-shadow(0 2px 4px rgba(14,165,164,0.1));
}

.logo:hover .logo-img{
  filter:drop-shadow(0 6px 16px rgba(14,165,164,0.25));
  transform:scale(1.08);
}

.logo-text{
  background:linear-gradient(135deg, var(--text) 0%, var(--text) 70%, var(--accent) 100%);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
  background-clip:text;
  font-weight:800;
  letter-spacing:-0.5px;
}

.logo-text span{
  color:var(--accent);
  -webkit-text-fill-color:var(--accent);
}

.site-nav{
  display:flex;
  align-items:center;
  margin-left:auto;
}

.site-nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:0.5rem;
  align-items:center;
}

.site-nav li{
  position:relative;
}

.site-nav a{
  text-decoration:none;
  color:var(--muted);
  font-size:0.95rem;
  font-weight:600;
  position:relative;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  display:block;
  padding:0.6rem 1.2rem;
  border-radius:8px;
  letter-spacing:-0.2px;
}

.site-nav a:hover{
  color:var(--accent);
  background:linear-gradient(135deg, rgba(14,165,164,0.1) 0%, rgba(32,217,209,0.05) 100%);
  transform:translateY(-1px);
}

.site-nav a::before{
  content:'';
  position:absolute;
  bottom:-4px;
  left:1.2rem;
  right:1.2rem;
  height:2px;
  background:linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
  transform:scaleX(0);
  transform-origin:left;
  transition:transform 0.4s cubic-bezier(0.34,1.56,0.64,1);
  border-radius:1px;
}

.site-nav a:hover::before{
  transform:scaleX(1);
}




.nav-toggle{
  display:none;
  background:linear-gradient(135deg, rgba(14,165,164,0.1), rgba(32,217,209,0.05));
  border:1.5px solid rgba(14,165,164,0.2);
  font-size:1.5rem;
  cursor:pointer;
  color:var(--accent);
  transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  width:33px;
  height:33px;
  border-radius:5px;
  align-items:center;
  justify-content:center;
  padding:0;
}

.nav-toggle:hover{
  background:linear-gradient(135deg, rgba(14,165,164,0.2), rgba(32,217,209,0.1));
  border-color:rgba(14,165,164,0.4);
  transform:scale(1.05);
}

.nav-toggle:active{
  transform:scale(0.95);
}

/* HERO */
.hero{
  padding:5rem 0;
  background:url('../assets/sndex.jpeg') center/cover no-repeat;
  background-attachment:fixed;
  position:relative;
  overflow:hidden;
  color:#fff;
}

.hero h1{
  color:#fff;
}

.hero p{
  color:rgba(255,255,255,0.9);
}

.hero-inner h1{
  color:#fff !important;
}

.hero-inner > p{
  color:rgba(255,255,255,0.9) !important;
}

.hero::before{
  content:'';
  position:absolute;
  top:-50%;
  right:-10%;
  width:600px;
  height:600px;
  background:radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 70%);
  border-radius:50%;
  z-index:-1;
}

.hero-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  gap:3rem;
}

.hero-inner h1{
  font-size:3rem;
  margin:0 0 1rem;
  line-height:1.2;
  color:var(--text);
  animation:slideInLeft 0.8s cubic-bezier(0.34,1.56,0.64,1);
}

.hero-inner > p{
  font-size:1.15rem;
  color:var(--muted);
  margin:0 0 2rem;
  animation:slideInLeft 0.8s 0.2s cubic-bezier(0.34,1.56,0.64,1) both;
  max-width:500px;
}

.hero-cta{
  display:flex;
  gap:1rem;
  flex-wrap:wrap;
  animation:slideInLeft 0.8s 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

.hero-illustration{
  animation:float 3s ease-in-out infinite;
}

@keyframes slideInLeft{
  from{
    opacity:0;
    transform:translateX(-30px);
  }
  to{
    opacity:1;
    transform:translateX(0);
  }
}

@keyframes float{
  0%, 100%{transform:translateY(0)}
  50%{transform:translateY(-20px)}
}

/* BUTTONS */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.85rem 2rem;
  border-radius:10px;
  text-decoration:none;
  border:none;
  font-weight:600;
  font-size:0.95rem;
  cursor:pointer;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  position:relative;
  overflow:hidden;
}

.btn::before{
  content:'';
  position:absolute;
  top:50%;
  left:50%;
  width:0;
  height:0;
  background:rgba(255,255,255,0.3);
  border-radius:50%;
  transform:translate(-50%, -50%);
  transition:width 0.6s, height 0.6s;
  z-index:-1;
}

.btn:hover::before{
  width:300px;
  height:300px;
}

.btn.primary{
  background:linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color:var(--text-light);
  box-shadow:0 4px 16px rgba(14,165,164,0.3);
}

.btn.primary:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(14,165,164,0.4);
}

.btn.ghost{
  background:transparent;
  border:2px solid var(--accent);
  color:var(--accent);
}

.btn.ghost:hover{
  background:var(--accent);
  color:var(--text-light);
  transform:translateY(-2px);
}
.btn-telecharger {
  display: inline-block;
  width: 135px;
  height: 50px;
  background-color: #58fa89;
  color: #fff;
  text-align: center;
  line-height: 50px;
  font-size: 25px;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.3s;
}
.btn-telecharger:hover {
  background-color: #80eecd;
}

/* FEATURES */
.features{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:2rem;
  padding:4rem 0;
  max-width:800px;
  margin:0 auto;
}

.feature{
  background:#fff;
  border:1px solid var(--muted-light);
  padding:2rem;
  border-radius:12px;
  text-align:center;
  transition:all 0.3s cubic-bezier(0.4,0,0.2,1);
  position:relative;
  overflow:hidden;
  box-shadow:0 8px 20px rgba(0,0,0,0.12);
}

.feature::before{
  content:'';
  position:absolute;
  top:0;
  left:-100%;
  width:100%;
  height:100%;
  background:linear-gradient(90deg, transparent, rgba(14,165,164,0.1), transparent);
  transition:left 0.6s ease;
  z-index:0;
}

.feature:hover::before{
  left:100%;
}

.feature:hover{
  border-color:var(--accent);
  box-shadow:0 16px 32px rgba(0,0,0,0.2);
  transform:translateY(-8px);
}

.feature-icon{
  width:100px;
  height:100px;
  margin:0 auto 1.5rem;
  color:var(--accent);
}

.feature h3{
  font-size:1.3rem;
  margin:1rem 0 0.75rem;
  color:var(--text);
  position:relative;
  z-index:1;
}

.feature p{
  color:var(--muted);
  font-size:0.95rem;
  position:relative;
  z-index:1;
  margin:0;
}

/* ABOUT SECTION */
.about{
  padding:4rem 0;
  text-align:center;
}

.about h2{
  font-size:2.5rem;
  margin:0 0 1.5rem;
  color:var(--text);
}

.about-intro{
  font-size:1.1rem;
  color:var(--muted);
  max-width:700px;
  margin:0 auto 3rem;
  line-height:1.8;
}

/* STATS */
.stats{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(200px, 1fr));
  gap:2rem;
  padding:3rem;
  background:url('../assets/sndex.jpeg') center/cover no-repeat;
  background-attachment:fixed;
  margin:3rem 0;
  border-radius:12px;
  position:relative;
}

.stat{
  text-align:center;
  position:relative;
  z-index:1;
}

.stat-number{
  font-size:2.5rem;
  font-weight:700;
  color:#fff;
  margin:0 0 0.5rem;
  text-shadow:0 2px 4px rgba(0,0,0,0.2);
}

.stat-label{
  color:rgba(255,255,255,0.9);
  font-size:0.95rem;
}

/* TESTIMONIALS */
.testimonials{
  padding:4rem 0;
}

.testimonials h2{
  text-align:center;
  font-size:2.5rem;
  margin:0 0 3rem;
}

.testimonials-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(300px, 1fr));
  gap:2rem;
}

.testimonial{
  background:#fff;
  padding:2rem;
  border-radius:12px;
  border:1px solid var(--muted-light);
  transition:all 0.3s ease;
}

.testimonial:hover{
  box-shadow:var(--shadow-lg);
  border-color:var(--accent);
}

.testimonial-text{
  color:var(--text);
  margin:0 0 1rem;
  font-style:italic;
  line-height:1.8;
}

.testimonial-author{
  font-weight:600;
  color:var(--accent);
  font-size:0.95rem;
}

.testimonial-role{
  color:var(--muted);
  font-size:0.85rem;
}

/* FORM */
.contact-form{
  max-width:600px;
  display:flex;
  flex-direction:column;
  gap:1.5rem;
  background:#fff;
  padding:2.5rem;
  border-radius:12px;
  border:1px solid var(--muted-light);
  box-shadow:0 12px 28px rgba(0,0,0,0.15);
}

.contact-form label{
  display:flex;
  flex-direction:column;
  font-size:0.95rem;
  color:var(--text);
  font-weight:600;
  margin-bottom:0.5rem;
}

.contact-form input,
.contact-form textarea{
  padding:0.85rem;
  border:1px solid var(--muted-light);
  border-radius:8px;
  font-family:inherit;
  font-size:0.95rem;
  transition:all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus{
  outline:none;
  border-color:var(--accent);
  box-shadow:0 0 0 3px rgba(14,165,164,0.1);
}

.form-status{
  color:var(--success);
  margin:0.5rem 0 0;
  font-size:0.9rem;
}

/* FOOTER */
.site-footer{
  border-top:1px solid var(--muted-light);
  padding:3rem 0;
  margin-top:4rem;
  background:var(--bg-light);
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:2rem;
}

.footer-links{
  display:flex;
  gap:2rem;
}

.footer-links a{
  text-decoration:none;
  color:var(--muted);
  font-size:0.9rem;
  transition:color 0.2s ease;
}

.footer-links a:hover{
  color:var(--accent);
}

/* ANIMATIONS */
@keyframes fadeInUp{
  from{
    opacity:0;
    transform:translateY(30px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

.fade-in{
  opacity:0;
  animation:fadeInUp 0.8s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

/* RESPONSIVE */
@media (max-width:1024px){
  .hero-inner{
    grid-template-columns:1fr;
  }
  
  .hero-inner h1{
    font-size:2.2rem;
  }
}

@media (max-width:768px){
  :root{
    font-size:15px;
  }
  
  .site-nav{
    display:flex;
    flex-direction:column-reverse;
    position:fixed;
    top:60px;
    left:0;
    width:100%;
    max-height:0;
    overflow:hidden;
    padding:0;
    margin:0 !important;
    align-items:stretch !important;
    background:linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(255,255,255,0.97) 100%);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(14,165,164,0.1);
    box-shadow:0 8px 32px rgba(14,165,164,0.1);
    z-index:1000;
    transition:max-height 0.3s ease-out;
  }
  
  .site-nav.active{
    display:flex;
  }

  .active{
    max-height:300px;
    transition:max-height 0.5s ease-in;
  }
  
  .site-nav ul{
    flex-direction:column;
    gap:0;
    width:100%;
    list-style:flex;
    margin:0;
  }
  
  .site-nav li{
    width:100%;
    border-bottom:1px solid rgba(14,165,164,0.05);
    margin:0;
  }
  
  .site-nav a{
    padding:1rem 1.5rem;
    border-radius:0;
    display:flex;
    width:100%;
    transition:all 0.3s ease;
    text-decoration:none;
    color:var(--muted);
    font-weight:600;
  }
  
  .site-nav a:hover{
    background:linear-gradient(90deg, rgba(14,165,164,0.08) 0%, rgba(32,217,209,0.04) 100%);
    color:var(--accent);
  }
  
  .site-nav a::before{
    bottom:-1px;
    height:3px;
    left:0;
    right:0;
    width:100%;
    transform:scaleX(0);
  }
  
  .site-nav a:hover::before{
    transform:scaleX(1);
  }
  
  .nav-toggle{
    display:flex;
    margin-left:auto;
    margin-bottom: 4px;

  }

  .logo{
    font-size:1rem;
    gap:0.5rem;
  }

  .logo-img{
    width:32px;
    height:32px;
  }

  .logo-text{
    font-size:0.95rem;
  }

  /* Page Contact - Responsive Grid */
  section.container > div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  
  .hero{
    padding:3rem 0;
  }
  
  .hero-inner h1{
    font-size:1.8rem;
  }
  
  .hero-inner > p{
    font-size:1rem;
  }
  
  .hero-cta{
    flex-direction:column;
  }
  
  .btn{
    width:100%;
  }
  
  .footer-inner{
    flex-direction:column;
    align-items:flex-start;
  }
  
  .hero::before{
    width:400px;
    height:400px;
    top:-30%;
    right:-5%;
  }
}

@keyframes slideDown{
  from{
    opacity:0;
    transform:translateY(-10px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
