/* =========================
GLOBAL STYLES
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Poppins', sans-serif;
background:white;
color:#333;
line-height:1.6;
}

:root{
  --red:#e60023;
  --pink:#ffb3c6;
  --white:#ffffff;
}

a{
text-decoration:none;
transition:0.3s;
}


/* =========================
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;
}

.nav-menu a:hover{
color:#ff9eb5;
transform:translateY(-2px);
}

.nav-menu a::after{
content:"";
position:absolute;
width:0;
height:2px;
background:#ff9eb5;
left:0;
bottom:-6px;
transition:0.3s;
}

.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.3s;
}

.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:#ffc0cb;
padding:110px 10%;
text-align:center;
color:#7a0020;
}

.hero-content{
background:rgba(255,255,255,0.65);
padding:40px;
border-radius:10px;
display:inline-block;
max-width:700px;
}

.hero h1{
font-size:40px;
margin-bottom:15px;
}

.hero p{
font-size:18px;
}


/* =========================
COURSE DETAILS SECTION
========================= */

.course-details{
display:flex;
gap:40px;
padding:70px 8%;
flex-wrap:wrap;
}

.course-content{
flex:2;
}

.course-content h2{
margin-top:25px;
margin-bottom:10px;
color:#e60023;
}

.course-content p{
margin-bottom:15px;
}

.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 8px 20px rgba(0,0,0,0.08);
height:fit-content;
transition:0.3s;
}

.price-box:hover{
transform:translateY(-6px);
}

.price-box h3{
margin-bottom:10px;
color:#e60023;
}

.price{
font-size:32px;
font-weight:700;
color:#e60023;
margin-bottom:20px;
}


/* =========================
ENROLL BUTTON
========================= */

.enroll-btn{
display:inline-block;
margin-top:15px;
background:#e60023;
color:white;
padding:12px 28px;
border-radius:8px;
font-weight:600;
transition:0.3s;
}

.enroll-btn:hover{
background:#ff9eb5;
transform:scale(1.07);
}


/* =========================
FOOTER
========================= */

.footer{
background:#e60023;
color:white;
margin-top:60px;
}

.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;
}

.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;
}

.footer-col ul li a:hover{
color:#ff9eb5;
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:#ff9eb5;
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;
width:60px;
height:60px;
border-radius:50%;
background:#25D366;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
box-shadow:0 8px 20px rgba(0,0,0,0.25);
z-index:999;

animation:pulse 2s infinite;
transition:0.3s;
}

.whatsapp-float:hover{
transform:scale(1.15) rotate(10deg);
background:#ff9eb5;
}


/* WHATSAPP PULSE */

@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 RESPONSIVE
========================= */

@media (max-width:900px){

.nav-menu{
position:absolute;
top:70px;
right:-100%;
flex-direction:column;
background:#e60023;
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;
}

.hero p{
font-size:16px;
}

}
/* =========================
COURSE LIST BULLETS AS RED CHECKS
========================= */

.course-details ul {
  list-style: none;       /* Remove default bullets */
  margin-left: 0;
  padding-left: 0;
}

.course-details li {
  position: relative;
  padding-left: 25px;     /* Space for the check mark */
  margin-bottom: 10px;
}

.course-details li::before {
  content: "✔";            /* Red check mark */
  position: absolute;
  left: 0;
  color: #e60023;          /* Brand red */
  font-weight: bold;
}

.course-hero {
  height: 60vh;
  background-image: url("web-development-hero.jpeg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  position: relative; /* IMPORTANT */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* FULL overlay */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;

  background: linear-gradient(
  rgba(0,0,0,0.7),
  rgba(216,0,0,0.4)
);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  color: #ffffff;
  text-align: center;
  padding: 20px;
}
.hero-overlay h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-overlay p {
  font-size: 1.5rem;
}


@media (max-width: 768px) {
  .course-hero {
    height: 50vh;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay p {
    font-size: 1.0rem;
  }
}
.footer-credit {
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  color: #fcfcfc;
}

.footer-credit a {
  color: #7aa5f5; /* matches your red/pink brand */
  text-decoration: none;
  font-weight: 500;
}

.footer-credit a:hover {
  text-decoration: underline;
  color: #fff;
}