/* 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 */

.hero{

height:70vh;

background:
linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
url("hero-background.png");

background-size:cover;
background-position:center;

display:flex;
align-items:center;
justify-content:center;

text-align:center;
color:white;

padding:20px;

}

.hero-content{
max-width:800px;
}

.hero h1{
font-size:45px;
margin-bottom:20px;
}

.hero p{
font-size:18px;
line-height:1.6;
}

/* COURSES SECTION */

.courses-section{
padding:80px 10%;
background:#fff5f7;
}

.section-title{
text-align:center;
margin-bottom:50px;
}

.section-title h2{
color:var(--red);
margin-bottom:10px;
}

.section-title p{
max-width:600px;
margin:auto;
line-height:1.6;
}

/* COURSE GRID */

.course-grid{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px;

}

/* COURSE CARD */

.course-card{

background:white;

border-radius:20px;

overflow:hidden;

box-shadow:0 15px 35px rgba(0,0,0,0.1);

transition:0.3s;

}

.course-card:hover{
transform:translateY(-10px);
}

/* COURSE IMAGE */

.course-card img{

width:100%;
height:180px;

object-fit:cover;

}

/* COURSE CONTENT */

.course-content{
padding:20px;
}

.course-content h3{

color:var(--red);
margin-bottom:10px;

}

.course-content p{

line-height:1.6;
font-size:14px;

}

/* VIEW COURSE BUTTON */

.view-btn{

display:inline-block;

margin-top:15px;

background:var(--red);
color:white;

padding:10px 22px;

border-radius:30px;

font-weight:500;

transition:0.3s;

}

.view-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 BUTTON */

.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);}

}

/* MOBILE 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;
}

.hero h1{
font-size:32px;
}

.hero{
height:auto;
padding:120px 20px;
}

}