/* =========================
GLOBAL STYLES
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins',sans-serif;
background:white;
color:#333;
line-height:1.6;
}

a{
text-decoration:none;
transition:0.3s;
}

:root{
  --red:#e60023;
  --pink:#ffb3c6;
  --white:#ffffff;
}
/* =========================
HEADER / NAVBAR
========================= */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:18px 8%;
background:#e60023;
position:sticky;
top:0;
z-index:1000;
}

.brand h2{
color:white;
font-weight:700;
}

.brand p{
color:#ffd6df;
font-size:12px;
}

/* NAV LINKS */

.nav-menu{
display:flex;
gap:30px;
}

.nav-menu a{
color:white;
font-weight:500;
position:relative;
}

/* LINK HOVER ANIMATION */

.nav-menu a:hover{
color:#ffb3c6;
transform:translateY(-2px);
}

.nav-menu a::after{
content:"";
position:absolute;
width:0%;
height:2px;
background:#ffb3c6;
left:0;
bottom:-5px;
transition:0.4s;
}

.nav-menu a:hover::after{
width:100%;
}


/* =========================
HAMBURGER MENU
========================= */

.hamburger{
display:none;
flex-direction:column;
cursor:pointer;
gap:5px;
}

.hamburger span{
width:25px;
height:3px;
background:white;
border-radius:3px;
transition:0.4s;
}

.hamburger.active span:nth-child(1){
transform:rotate(45deg) translateY(8px);
}

.hamburger.active span:nth-child(2){
opacity:0;
}

.hamburger.active span:nth-child(3){
transform:rotate(-45deg) translateY(-8px);
}


/* =========================
HERO SECTION
========================= */

.hero{
background:linear-gradient(135deg,#ffe4ec,#ffffff);
padding:100px 10%;
text-align:center;
}

.hero h1{
font-size:40px;
color:#e60023;
margin-bottom:15px;
}

.hero p{
max-width:700px;
margin:auto;
font-size:18px;
color:#555;
}


/* =========================
COURSE DETAILS SECTION
========================= */

.course-details{
display:flex;
gap:40px;
padding:80px 8%;
flex-wrap:wrap;
}

.course-content{
flex:2;
}

.course-content h2{
margin-top:30px;
margin-bottom:10px;
color:#e60023;
}

.course-content p{
margin-bottom:20px;
}

.course-content ul{
margin-left:20px;
}

.course-content li{
margin-bottom:10px;
}


/* =========================
PRICE BOX
========================= */

.price-box{
flex:1;
background:#fff0f5;
padding:30px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.08);
height:fit-content;
transition:0.4s;
}

.price-box:hover{
transform:translateY(-8px);
}

.price-box h3{
color:#e60023;
margin-bottom:15px;
}

.price{
font-size:26px;
font-weight:700;
color:#e60023;
margin-bottom:20px;
}


/* =========================
ENROLL BUTTON
========================= */

.enroll-btn{
display:inline-block;
background:#e60023;
color:white;
padding:12px 28px;
border-radius:8px;
font-weight:600;
margin-top:15px;
transition:0.3s;
}

.enroll-btn:hover{
background:#ff8fab;
transform:scale(1.07);
}


/* =========================
FOOTER
========================= */

.footer{
background:#e60023;
color:white;
margin-top:80px;
}

.footer-container{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
gap:40px;
padding:50px 8%;
}

.footer-col h2,
.footer-col h3{
margin-bottom:15px;
color:white;
}

.footer-col p{
font-size:14px;
margin-bottom:10px;
}

.footer-col ul{
list-style:none;
}

.footer-col ul li{
margin-bottom:8px;
}

.footer-col ul li a{
color:white;
transition:0.3s;
}

.footer-col ul li a:hover{
color:#ffb3c6;
padding-left:6px;
}


/* =========================
SOCIAL ICONS
========================= */

.social-icons{
display:flex;
gap:12px;
margin-top:10px;
}

.social-icons a{
width:38px;
height:38px;
display:flex;
align-items:center;
justify-content:center;
background:white;
border-radius:50%;
color:#e60023;
transition:0.3s;
}

.social-icons a:hover{
background:#ffb3c6;
transform:translateY(-4px);
}


/* =========================
FOOTER BOTTOM
========================= */

.footer-bottom{
text-align:center;
padding:15px;
background:#c4001e;
font-size:14px;
}


/* =========================
WHATSAPP FLOAT BUTTON
========================= */

.whatsapp-float{
position:fixed;
bottom:25px;
right:25px;
background:#25D366;
color:white;
font-size:26px;
width:60px;
height:60px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
box-shadow:0 10px 25px rgba(0,0,0,0.3);
z-index:999;

animation:pulse 2s infinite;
transition:0.3s;
}

/* HOVER EFFECT */

.whatsapp-float:hover{
transform:scale(1.2) rotate(10deg);
background:#ff8fab;
}


/* PULSE ANIMATION */

@keyframes pulse{

0%{
box-shadow:0 0 0 0 rgba(37,211,102,0.7);
}

70%{
box-shadow:0 0 0 20px rgba(37,211,102,0);
}

100%{
box-shadow:0 0 0 0 rgba(37,211,102,0);
}

}


/* =========================
MOBILE DESIGN
========================= */

@media (max-width:900px){

.nav-menu{
position:absolute;
top:70px;
right:-100%;
background:#e60023;
flex-direction:column;
width:220px;
padding:30px;
transition:0.4s;
}

.nav-menu.active{
right:0;
}

.hamburger{
display:flex;
}

.course-details{
flex-direction:column;
}

.hero h1{
font-size:30px;
}

}
.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;
}