/* 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;
}
/* HAMBURGER ANIMATION (TO X) */
.hamburger span{
  height:3px;
  width:25px;
  background:white;
  margin:4px;
  transition:0.4s ease;
}

/* Transform to X */
.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2){
  opacity:0;
}

.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(5px, -6px);
}

.hamburger{
  display:none;
  flex-direction:column;
  cursor:pointer;
  z-index:1100; /* ensures it's always clickable */
}

/* HERO */

.course-hero {
  height: 60vh;
  background-image: url("../images/Course-hero-image.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: 60vh;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
  }

  .hero-overlay p {
    font-size: 1rem;
  }
}

/* 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;
}

}
.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;
}

/* FORCE SOLID RED HEADER */
header {
  background:var(--red) !important; /* strong red */
  color: #fff;
  position: relative;
  z-index: 1000;
}

/* If you're using nav inside header */
header nav {
  background:var(--red) !important;
}

/* Remove ANY transparency or blur */
header,
.navbar,
.topbar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background:var(--red) !important;
}

/* Links inside header */
header a {
  color: #fff;
}

header a:hover {
  color: #ffd6e0; /* soft pink hover */
}