*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Montserrat', sans-serif;
  background:#f5f7fb;
  color:#1b1b1b;
  overflow-x:hidden;
}

/* NAVBAR */

.navbar{
  width:100%;
  padding:0px 8%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:fixed;
  top:0;
  z-index:1000;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(12px);
  border-bottom:1px solid rgba(0,0,0,0.06);
}

.logo img{
  height:75px;
}

nav{
  display:flex;
  gap:35px;
}

nav a{
  text-decoration:none;
  color:#222;
  font-weight:500;
  transition:0.3s;
}

nav a:hover{
  color:#c62d2d;
}

.nav-btn{
  text-decoration:none;
  background:#c62d2d;
  color:white;
  padding:12px 22px;
  border-radius:50px;
  font-weight:600;
  transition:0.3s;
}

.nav-btn:hover{
  background:#e43a3a;
}

/* HERO */

.hero{
  width:100%;
  min-height:100vh;

  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;

  padding:120px 8%;

  background-image:
  linear-gradient(rgba(255,255,255,0), rgba(255,255,255,0)),
  url('../assets/hero.jpg');

  background-position:center;
  background-repeat:no-repeat;

  /* IMPORTANT */
  background-size:140% auto;
}

.hero-content{
  max-width:700px;
  position:relative;
  z-index:2;
}

.tag{
  display:inline-block;
  background:rgba(198,45,45,0.2);
  color:#ff5b5b;
  border:1px solid rgba(255,91,91,0.3);
  padding:10px 18px;
  border-radius:50px;
  margin-bottom:20px;
  font-size:14px;
}

.hero h1{
  font-size:72px;
  line-height:1.1;
  margin-bottom:25px;
  font-weight:800;
  color: white;
}

.hero p{
  color:#cfcfcf;
  line-height:1.8;
  margin-bottom:40px;
  font-size:18px;
}

.hero-buttons{
  display:flex;
  gap:20px;
  flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{
  padding:16px 28px;
  border-radius:50px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

.btn-primary{
  background:#c62d2d;
  color:white;
}

.btn-primary:hover{
  background:#e03d3d;
}

.btn-secondary{
  border:1px solid rgba(255,255,255,0.2);
  color:white;
}

.btn-secondary:hover{
  background:white;
  color:black;
}

/* STATS */

.stats{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:25px;
  padding:80px 8%;
  background:white;
}

.stat-box{
  background:white;
  padding:40px;
  border-radius:20px;
  text-align:center;
  border:1px solid rgba(255,255,255,0.06);
}

.stat-box h2{
  font-size:42px;
  color:#c62d2d;
  margin-bottom:10px;
}

/* SECTIONS */

section{
  padding:100px 8%;
}

.section-title{
  text-align:center;
  margin-bottom:70px;
}

.section-title span{
  color:#c62d2d;
  font-weight:700;
  letter-spacing:2px;
}

.section-title h2{
  font-size:48px;
  margin-top:15px;
}

/* SERVICES */

.service-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.service-card{
  background:white;
  padding:45px;
  border-radius:24px;
  transition:0.4s;
  border:1px solid rgba(0,0,0,0.06);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.service-card:hover{
  transform:translateY(-10px);
  border-color:#c62d2d;
}

.service-card i{
  font-size:45px;
  color:#c62d2d;
  margin-bottom:25px;
}

.service-card h3{
  margin-bottom:18px;
  font-size:24px;
}

.service-card p{
  color:#c7c7c7;
  line-height:1.8;
}

/* COURSES */

.courses{
  background:#141821;
}

.course-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:30px;
}

.course-card{
  background:rgba(255,255,255,0.06);
  backdrop-filter:blur(10px);
  padding:40px;
  border-radius:24px;
  border-left:4px solid #c62d2d;
}

.course-card h3{
  margin-bottom:20px;
}

/* CTA */

.cta{
  background:linear-gradient(135deg,#c62d2d,#781717);
  text-align:center;
  border-radius:30px;
  margin:100px 8%;
}

.cta h2{
  font-size:52px;
  margin-bottom:20px;
}

.cta p{
  margin-bottom:35px;
  font-size:18px;
}

.cta-btn{
  background:white;
  color:#c62d2d;
  padding:18px 32px;
  border-radius:50px;
  text-decoration:none;
  font-weight:700;
}

/* CONTACT */

.contact-container{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:50px;
}

.contact-info{
  display:flex;
  flex-direction:column;
  gap:25px;
}

.info-box{
  display:flex;
  align-items:center;
  gap:20px;
  background:#171b24;
  padding:30px;
  border-radius:20px;
}

.info-box i{
  font-size:24px;
  color:#c62d2d;
}

.contact-form{
  display:flex;
  flex-direction:column;
  gap:20px;
}

.contact-form input,
.contact-form textarea{
  background:white;
  border:1px solid rgba(0,0,0,0.08);
  color:#111;
  border:none;
  padding:18px;
  border-radius:14px;
  font-size:16px;
}

.contact-form textarea{
  height:160px;
  resize:none;
}

.contact-form button{
  background:#c62d2d;
  border:none;
  color:white;
  padding:18px;
  border-radius:14px;
  font-size:16px;
  cursor:pointer;
  font-weight:700;
}

footer{
  text-align:center;
  padding:40px;
  border-top:1px solid rgba(0,0,0,0.08);
  color:#666;
  background:white;
}

/* WHATSAPP FLOAT */

.whatsapp-float{
  position:fixed;
  right:25px;
  bottom:25px;
  width:65px;
  height:65px;
  background:#25D366;
  color:white;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  font-size:32px;
  text-decoration:none;
  z-index:999;
  box-shadow:0 10px 25px rgba(0,0,0,0.4);
}

/* RESPONSIVE */

@media(max-width:950px){

  nav{
    display:none;
  }

  .hero h1{
    font-size:48px;
  }

  .stats{
    grid-template-columns:1fr 1fr;
  }

  .contact-container{
    grid-template-columns:1fr;
  }

  .cta h2{
    font-size:38px;
  }
}

@media(max-width:600px){

  .hero h1{
    font-size:38px;
  }

  .stats{
    grid-template-columns:1fr;
  }

  .section-title h2{
    font-size:34px;
  }

  .cta{
    margin:60px 20px;
  }
}

.courses .section-title h2{
  color:white;
}

.courses .course-card h3{
  color:white;
}

.courses .course-card p{
  color:#d6d6d6;
  line-height:1.8;
}

.courses .section-title span{
  color:#ff5b5b;
}

/* =========================================
   MOBILE OPTIMIZATION
========================================= */

@media (max-width: 768px){

  /* GLOBAL */

  section{
    padding:70px 20px;
  }

  .section-title{
    margin-bottom:45px;
  }

  .section-title h2{
    font-size:32px;
    line-height:1.2;
  }

  .section-title span{
    font-size:13px;
  }

  /* NAVBAR */

  .navbar{
    padding:12px 20px;
  }

  .logo img{
    height:55px;
  }

  nav{
    display:none;
  }

  .nav-btn{
    padding:10px 18px;
    font-size:14px;
  }

  /* HERO */

  .hero{
    min-height:90vh;
    padding:140px 20px 80px;

    background-size:320% auto;
    background-position:center;
  }

  .hero-content{
    width:100%;
    max-width:100%;
    text-align:center;
  }

  .tag{
    font-size:12px;
    padding:8px 14px;
  }

  .hero h1{
    font-size:42px;
    line-height:1.1;
    margin-bottom:18px;
  }

  .hero p{
    font-size:16px;
    line-height:1.7;
    margin-bottom:30px;
  }

  .hero-buttons{
    flex-direction:column;
    align-items:center;
    gap:15px;
  }

  .btn-primary,
  .btn-secondary{
    width:100%;
    max-width:320px;
    text-align:center;
    padding:16px 20px;
  }

  /* STATS */

  .stats{
    grid-template-columns:1fr;
    padding:50px 20px;
    gap:20px;
  }

  .stat-box{
    padding:30px 20px;
  }

  .stat-box h2{
    font-size:34px;
  }

  /* SERVICES */

  .service-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .service-card{
    padding:30px;
  }

  .service-card h3{
    font-size:22px;
  }

  /* COURSES */

  .course-grid{
    grid-template-columns:1fr;
    gap:20px;
  }

  .course-card{
    padding:30px;
  }

  /* CTA */

  .cta{
    margin:70px 20px;
    padding:50px 25px;
    border-radius:24px;
  }

  .cta h2{
    font-size:32px;
    line-height:1.2;
  }

  .cta p{
    font-size:16px;
  }

  .cta-btn{
    display:inline-block;
    width:100%;
    max-width:320px;
    padding:16px 20px;
  }

  /* CONTACT */

  .contact-container{
    grid-template-columns:1fr;
    gap:30px;
  }

  .info-box{
    padding:24px;
  }

  .contact-form input,
  .contact-form textarea{
    padding:16px;
    font-size:15px;
  }

  /* FOOTER */

  footer{
    padding:30px 20px;
    font-size:14px;
    line-height:1.6;
  }

  /* WHATSAPP BUTTON */

  .whatsapp-float{
    width:58px;
    height:58px;
    font-size:28px;
    right:18px;
    bottom:18px;
  }

}