:root{
  --red:#e4003f;
  --black:#000;
  --white:#fff;
  --grey:#f1f1f1;
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Inter, sans-serif;
}

body{
  background:var(--white);
}

/* ================= NAVBAR ================= */

.navbar{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:80px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 60px;
  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(12px);
  z-index:999;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-box{
  width:44px;
  height:44px;
  background:var(--red);
  display:flex;
  align-items:center;
  justify-content:center;
  color:white;
  font-size:18px;
}

.logo-text{
  display:flex;
  flex-direction:column;
  line-height:1.1;
}

.logo-title{
  font-weight:800;
  font-size:14px;
  letter-spacing:1px;
}

.logo-sub{
  font-size:12px;
  color:var(--red);
  font-weight:600;
}

.menu{
  position:absolute;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:20px;
}

.menu a{
  text-decoration:none;
  background:var(--grey);
  color:#000;
  padding:10px 16px;
  border-radius:20px;
  font-size:14px;
  font-weight:500;
  transition:0.3s;
}

.menu a:hover{
  background:var(--red);
  color:white;
}

/* ================= HERO ================= */

.hero{
  margin-top:80px;
  height:90vh;
  background:url('https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  padding:80px;
}

.hero-overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.6);
}

.hero-content{
  position:relative;
  max-width:750px;
  color:white;
  margin-left:40px;
}

.badge{
  display:inline-block;
  background:var(--red);
  padding:6px 14px;
  font-size:12px;
}

.hero h1{
  font-size:64px;
  margin-bottom:20px;
}

.hero p{
  font-size:18px;
  margin-bottom:30px;
}

.btn{
  display:inline-block;
  background:var(--red);
  color:white;
  padding:14px 26px;
  border-radius:30px;
  text-decoration:none;
}

/* ================= STATS ================= */

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  background:var(--red);
  color:white;
  text-align:center;
}

.stat{
  padding:40px;
  border-right:1px solid rgba(255,255,255,0.3);
}

.stat:last-child{border:none;}

.stat h2{font-size:42px;}

/* ================= SECTIONS ================= */

.section{
  padding:80px 60px;
}

.section.grey{
  background:var(--grey);
}

.subtitle{
  color:var(--red);
  font-weight:600;
  margin-bottom:10px;
}

.title{
  font-size:40px;
  margin-bottom:40px;
}

/* ================= WHY CHALON ================= */

.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

.card{
  background:white;
  padding:25px;
  border-top:4px solid var(--red);
}

.icon{
  width:50px;
  height:50px;
  background:var(--grey);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:15px;
}

.icon i{
  color:var(--red);
}

/* ================= FORMATIONS ================= */

.search{
  width:100%;
  padding:15px;
  border:1px solid #ccc;
  margin-bottom:20px;
}

.filters{
  display:flex;
  gap:40px;
  margin-bottom:30px;
  flex-wrap:wrap;
}

.filter-group h4{
  color:#aaa;
  font-size:12px;
  margin-bottom:10px;
}

.filter-group button{
  padding:8px 14px;
  border:1px solid #000;
  background:white;
  margin-right:5px;
  margin-bottom:5px;
}

.cards-formations{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.card-formation{
  border:1px solid #000;
  padding:15px;
  background:white;
}

.card-formation img{
  width:100%;
  height:180px;
  object-fit:cover;
}

.badges{
  display:flex;
  gap:5px;
  margin:10px 0;
  flex-wrap:wrap;
}

.badge-red{
  background:var(--red);
  color:white;
  padding:4px 8px;
  font-size:12px;
}

.badge-grey{
  background:var(--grey);
  padding:4px 8px;
  font-size:12px;
}

.badge-black{
  background:#000;
  color:white;
  padding:4px 8px;
  font-size:12px;
}

.info-box{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  margin-top:6px;
  color:#333;
}

.info-box i{
  color:var(--red);
}

/* ================= BUTTON ================= */

.btn-card{
  display:inline-block;
  margin-top:12px;
  padding:10px 14px;
  border:1px solid #000;
  color:#000;
  text-decoration:none;
  font-size:13px;
  transition:0.3s;
}

.btn-card:hover{
  background:#000;
  color:#fff;
}

/* ================= RESPONSIVE ================= */

@media(max-width:1000px){
  .cards,
  .cards-formations,
  .stats{
    grid-template-columns:1fr 1fr;
  }

  .menu{display:none;}

  .hero h1{font-size:42px;}
}

@media(max-width:600px){
  .cards,
  .cards-formations,
  .stats{
    grid-template-columns:1fr;
  }

  .hero{
    padding:40px;
  }

  .hero h1{font-size:34px;}
}