/* RESET */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  text-decoration:none;
  list-style:none;
}

body{
  font-family:'Poppins', sans-serif;
  background:#ffffff;
  color:#333;
  padding-top:80px;
}

/* BRAND COLORS */
:root{
  --red:#d80000;
  --pink:#f8c8dc;
  --white:#ffffff;
}

/* NAVBAR */
.navbar{
  position:fixed;
  top:0;
  width:100%;
  background:rgba(216,0,0,0.7);
  backdrop-filter:blur(10px);
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:15px 8%;
  z-index:1000;
  color:white;
}

.brand h2{
  font-size:20px;
}

.brand p{
  font-size:12px;
  opacity:0.9;
}

/* NAV MENU */
.nav-menu{
  display:flex;
  gap:25px;
}

.nav-menu a{
  color:white;
  font-weight:500;
  transition:0.3s;
}

.nav-menu a:hover{
  color:var(--pink);
  transform:translateY(-2px);
}

.nav-menu a.active{
  color:var(--pink);
}

/* HAMBURGER */
.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
}

.hamburger span{
  height:3px;
  width:25px;
  background:white;
  margin:4px;
}

/* HERO SECTION */
.course-hero{
  height:60vh;
  background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)), url("spoken-english.jpeg");
  background-size:cover;
  background-position:center;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:white;
  padding:20px;
}

.course-hero h1{
  font-size:45px;
  margin-bottom:15px;
}

.course-hero p{
  font-size:18px;
  max-width:700px;
  line-height:1.6;
}

/* COURSE DETAILS SECTION */
.course-details{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  padding:80px 10%;
  gap:30px;
}

.course-content{
  flex:1 1 60%;
}

.course-content h2{
  color:var(--red);
  margin-bottom:15px;
}

.course-content p{
  line-height:1.7;
  margin-bottom:15px;
}

.course-content ul{
  margin-left:20px;
  margin-bottom:20px;
}

.course-content li{
  margin-bottom:10px;
}

/* PRICE BOX */
.price-box{
  flex:1 1 35%;
  background:var(--pink);
  border-radius:20px;
  padding:25px;
  box-shadow:0 10px 25px rgba(0,0,0,0.1);
  transition:0.3s;
  height:max-content;
}

.price-box:hover{
  transform:translateY(-5px);
}

.price-box h3{
  color:var(--red);
  margin-bottom:15px;
}

.price{
  font-size:28px;
  font-weight:700;
  margin-bottom:10px;
}

.price-box p{
  margin-bottom:10px;
}

.enroll-btn{
  display:inline-block;
  margin-top:15px;
  background:var(--red);
  color:white;
  padding:12px 25px;
  border-radius:30px;
  font-weight:600;
  transition:0.3s;
}

.enroll-btn:hover{
  background:var(--pink);
  color:black;
  transform:scale(1.05);
}

/* FOOTER */
.footer{
  background:var(--red);
  color:white;
  margin-top:80px;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:30px;
  padding:50px 10%;
}

.footer-col h3,
.footer-col h2{
  margin-bottom:15px;
}

.footer-col a{
  color:white;
  transition:0.3s;
}

.footer-col a:hover{
  color:var(--pink);
}

.social-icons a{
  margin-right:10px;
  font-size:18px;
}

.footer-bottom{
  text-align:center;
  padding:15px;
  border-top:1px solid rgba(255,255,255,0.3);
}

/* WHATSAPP FLOAT */
.whatsapp-float{
  position:fixed;
  bottom:25px;
  right:25px;
  background:#25D366;
  color:white;
  width:60px;
  height:60px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  border-radius:50%;
  box-shadow:0 6px 15px rgba(0,0,0,0.2);
  animation:pulse 2s infinite;
  transition:0.3s;
}

.whatsapp-float:hover{
  background:var(--pink);
  color:black;
  transform:scale(1.1);
}

@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,0.7);}
  70%{box-shadow:0 0 0 15px rgba(37,211,102,0);}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0);}
}

/* RESPONSIVE */
@media(max-width:768px){
  .nav-menu{
    position:fixed;
    top:0;
    right:-100%;
    width:260px;
    height:100vh;
    background:var(--red);
    flex-direction:column;
    align-items:center;
    padding-top:100px;
    gap:30px;
    transition:0.4s;
  }

  .nav-menu.active{
    right:0;
  }

  .hamburger{
    display:flex;
  }

  .course-hero h1{
    font-size:32px;
  }

  .course-details{
    flex-direction:column;
    padding:60px 5%;
  }

  .price-box{
    width:100%;
  }
}
/* Hamburger default lines */
.hamburger span{
  height:3px;
  width:25px;
  background:white;
  margin:4px;
  transition:0.4s;
}

/* Transform hamburger to X when active */
.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2){
  opacity: 0;
}

.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(6px, -6px);
}

.course-details ul{
  list-style:none;
  margin-left:0;
  margin-bottom:20px;
}

.course-details li{
  position:relative;
  padding-left:20px;
  margin-bottom:10px;
}

.course-details li::before{
  content:"✔";
  position:absolute;
  left:0;
  color:var(--red);
  font-weight:bold;
}