/* =========================
GLOBAL RESET
========================= */

*{
margin:0;
padding:0;
box-sizing:border-box;
text-decoration:none;
}

body{
font-family:'Poppins', sans-serif;
background:#ffffff;
color:#333;
padding-top:90px;
}

/* =========================
BRAND COLORS
========================= */

:root{
--red:#d80000;
--pink:#f8c8dc;
--white:#ffffff;
}

/* =========================
GLASS NAVBAR
========================= */

.navbar{

position:fixed;
top:0;
width:100%;


display:flex;
justify-content:space-between;
align-items:center;

padding:15px 8%;

z-index:1000;

color:white;

}

.brand h2{
font-size:22px;
}

.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);
}

/* =========================
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 SECTION
========================= */

.hero{

position:relative;
height:85vh;

display:flex;
align-items:center;
justify-content:center;

text-align:center;
color:white;

overflow:hidden;

}

/* HERO SLIDER */

.hero-slider{

position:absolute;
width:100%;
height:100%;

top:0;
left:0;

}

.slide{

position:absolute;
width:100%;
height:100%;

background-size:cover;
background-position:center;

opacity:0;

transition:opacity 1.5s ease-in-out;

}

/* DARK OVERLAY */

.slide::after{

content:"";
position:absolute;

width:100%;
height:100%;

background:rgba(0,0,0,0.55);

top:0;
left:0;

}

.slide.active{
opacity:1;
}

.hero-content{

position:relative;
z-index:2;
max-width:800px;
padding:20px;

}

.hero h1{
font-size:48px;
margin-bottom:20px;
}

.hero p{
font-size:18px;
line-height:1.6;
margin-bottom:30px;
}

/* =========================
TYPING EFFECT
========================= */

#typing{
border-right:3px solid var(--pink);
padding-right:6px;
animation:blink 0.7s infinite;
}

@keyframes blink{

0%{border-color:transparent}
50%{border-color:var(--pink)}
100%{border-color:transparent}

}

/* =========================
HERO BUTTONS
========================= */

.hero-buttons{
display:flex;
justify-content:center;
gap:15px;
flex-wrap:wrap;
}

.btn-primary,
.btn-secondary{

padding:14px 28px;
border-radius:40px;
font-weight:600;

transition:0.3s;

}

.btn-primary{
background:var(--red);
color:white;
}

.btn-secondary{
background:white;
color:var(--red);
}

/* BUTTON HOVER */

.btn-primary:hover,
.btn-secondary:hover,
.course-btn:hover,
.cta-btn:hover,
.newsletter-form button:hover{

background:var(--pink);
color:black;
transform:scale(1.05);

}

/* =========================
COURSES
========================= */

.courses-preview{
padding:70px 10%;
text-align:center;
}

.course-container{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;
margin-top:40px;

}

.course-card{

background:white;

padding:30px;

border-radius:15px;

box-shadow:0 10px 25px rgba(0,0,0,0.08);

transition:0.3s;

}

.course-card:hover{
transform:translateY(-10px);
}

.course-card i{
font-size:40px;
color:var(--red);
margin-bottom:15px;
}

.course-btn{

display:inline-block;
margin-top:15px;

background:var(--red);
color:white;

padding:10px 20px;

border-radius:30px;

transition:0.3s;

}

/* =========================
WHY US
========================= */

.why-us{

padding:70px 10%;
background:#fff5f7;

text-align:center;

}

.why-container{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(200px,1fr));

gap:25px;
margin-top:40px;

}

.why-box{
padding:25px;
}

.why-box i{
font-size:35px;
color:var(--red);
margin-bottom:10px;
}

/* =========================
STATS
========================= */

.stats-section{

padding:70px 10%;
text-align:center;

background:white;

}

.stats-container{

display:grid;
grid-template-columns:repeat(auto-fit,minmax(150px,1fr));

gap:30px;
margin-top:30px;

}

.stat-box h3{
font-size:36px;
color:var(--red);
}

/* =========================
TESTIMONIALS
========================= */

.testimonials{

padding:70px 10%;
background:#fff5f7;

text-align:center;

}

.testimonial{

display:none;

max-width:600px;
margin:auto;

}

.testimonial.active{

display:block;

animation:fade 1s;

}

.testimonial img{

width:80px;
height:80px;

border-radius:50%;

margin-bottom:15px;

}

@keyframes fade{

from{opacity:0}
to{opacity:1}

}

/* =========================
CTA
========================= */

.cta{

background:var(--red);
color:white;

text-align:center;

padding:70px 20px;

}

.cta-btn{

display:inline-block;
margin-top:20px;

padding:14px 28px;

background:white;
color:var(--red);

border-radius:40px;

font-weight:600;

transition:0.3s;

}

/* =========================
NEWSLETTER
========================= */

.newsletter{

padding:70px 10%;
text-align:center;

}

.newsletter-form{
margin-top:20px;
}

.newsletter-form input{

padding:14px;

width:260px;

border-radius:30px;

border:1px solid #ddd;

outline:none;

margin-right:10px;

}

.newsletter-form button{

padding:14px 24px;

border:none;

border-radius:30px;

background:var(--red);

color:white;

cursor:pointer;

transition:0.3s;

}

.small-note{

display:block;

margin-top:10px;

font-size:12px;

opacity:0.7;

}

/* =========================
FOOTER
========================= */

.footer{

background:var(--red);

color:white;

padding-top:40px;

}

.footer-container{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:30px;

padding:40px 10%;

}

.footer-col h3{
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.2);

}

/* =========================
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:30px;

border-radius:50%;

box-shadow:0 6px 15px rgba(0,0,0,0.2);

animation:pulse 2s infinite;

transition:0.3s;

}

.whatsapp-float:hover{

transform:scale(1.1);

background:var(--pink);

color:black;

}

@keyframes pulse{

0%{box-shadow:0 0 0 0 rgba(37,211,102,0.6);}
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 MENU
========================= */

@media(max-width:768px){

.nav-menu{

position:fixed;

top:0;
right:-100%;

width:260px;
height:100vh;

background:var(--red);

flex-direction:column;

padding-top:100px;

gap:30px;

align-items:center;

transition:0.4s;

box-shadow:-10px 0 20px rgba(0,0,0,0.2);

}

.nav-menu.active{
right:0;
}

.nav-menu a{
font-size:18px;
}

.hamburger{
display:flex;
z-index:1001;
}

.hero h1{
font-size:32px;
}

.hero{
height:auto;
padding:100px 20px;
}

.newsletter-form input{
width:100%;
margin-bottom:10px;
}

}
.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 */
}
.course-image{
width:100%;
height:180px;
object-fit:cover;
border-radius:10px;
margin-bottom:15px;
}

/* Mobile adjustment */
@media (max-width:600px){
.course-image{
height:200px;
}
}
.course-card{
overflow:hidden;
}

.course-image{
transition:0.3s ease;
}

.course-card:hover .course-image{
transform:scale(1.05);
}
.course-container{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

/* Tablet */
@media (max-width:992px){
.course-container{
grid-template-columns:repeat(2,1fr);
}
}

/* Mobile */
@media (max-width:600px){
.course-container{
grid-template-columns:1fr;
}
}
@media (max-width:600px){

.course-card{
padding:15px;
}

.course-card h3{
font-size:18px;
}

.course-card p{
font-size:14px;
}

}
.course-card{
text-align:center;
}
.course-btn{
display:inline-block;
margin-top:10px;
}

/* Mobile */
@media (max-width:600px){
.course-btn{
width:100%;
text-align:center;
}
}
.courses-preview{
padding:40px 20px;
}
.why-image{
width:100%;
height:180px;
object-fit:cover;
border-radius:10px; /* same as course images */
margin-bottom:15px;
}
.why-container{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
}

.why-box{
text-align:center;
padding:20px;
border-radius:10px;
overflow:hidden; /* ensures image stays clean inside */
}
.why-image{
transition:0.3s ease;
}

.why-box:hover .why-image{
transform:scale(1.05);
}
/* Tablet */
@media (max-width:992px){
.why-container{
grid-template-columns:repeat(2,1fr);
}
}

/* Mobile */
@media (max-width:600px){
.why-container{
grid-template-columns:1fr;
}

.why-box{
padding:15px;
}

.why-box h3{
font-size:18px;
}

.why-box p{
font-size:14px;
}


}
.why-box{
transition:0.3s ease;
background:#fff;
}

.why-box:hover{
transform:translateY(-5px);
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}
@media (max-width:600px){

.why-image{
height:200px; /* slightly taller for mobile */
}

}
/* FIX WHY IMAGE ON MOBILE */
@media (max-width:600px){

.why-image{
width:100% !important;
height:200px !important;
object-fit:cover;
}

}

.cbt-section{
padding:70px 20px;
text-align:center;
background:#fff5f7;
}

.cbt-section h2{
color:var(--red);
margin-bottom:15px;
}

.cbt-section p{
max-width:600px;
margin:auto;
margin-bottom:20px;
}

.cbt-feature {
  padding: 60px 20px;
  background: #fff5f7;
}

.cbt-feature-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}

.cbt-text {
  flex: 1;
}

.cbt-text h2 {
  color: #d80000;
  margin-bottom: 10px;
}

.cbt-benefits {
  margin: 15px 0;
  padding-left: 0;
  list-style: none;
}

.cbt-benefits li {
  margin-bottom: 8px;
}

.cbt-buttons {
  margin-top: 15px;
}

.cbt-visual {
  flex: 1;
  text-align: center;
}

.cbt-visual i {
  font-size: 120px;
  color: #d80000;
}

.cbt-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Make buttons behave properly */
.cbt-buttons a {
  display: inline-block;
  padding: 12px 18px;
  text-align: center;
  flex: 1;
  min-width: 150px;
}

/* MOBILE FIX */
@media(max-width: 600px) {
  .cbt-buttons {
    flex-direction: column;
  }

  .cbt-buttons a {
    width: 100%;
  }
}

/* MOBILE */
@media(max-width:768px){
  .cbt-feature-container {
    flex-direction: column;
    text-align: center;
  }
}

.cbt-banner {
  background: #d80000;
  color: white;
  text-align: center;
  padding: 10px;
}

.cbt-banner a {
  color: #fff;
  font-weight: bold;
  margin-left: 10px;
}

.cbt-image {
  width: 100%;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.cbt-feature {
  background: linear-gradient(to right, #fff, #ffe6ea);
}

/* SECTION */
.cbt-feature {
  padding: 80px 20px;
  background: #fff;
}

.cbt-feature-container {
  max-width: 1100px;
  margin: auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

/* IMAGE */
.cbt-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* TEXT */
.cbt-text h2 {
  font-size: 32px;
  margin-bottom: 15px;
  color: #ff0909;
}

.cbt-subtext {
  font-size: 15px;
  color: #555;
  margin-bottom: 25px;
  line-height: 1.6;
}

/* TAG */
.cbt-tag {
  display: inline-block;
  background: #ffe5e5;
  color: #d80000;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

/* BENEFITS GRID */
.cbt-benefits {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 30px;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 10px;

  background: #fff;
  padding: 12px;
  border-radius: 10px;

  border: 1px solid #f1f1f1;
  transition: 0.3s;
}

.benefit i {
  color: #d80000;
  font-size: 16px;
}

.benefit:hover {
  transform: translateY(-3px);
  border-color: #ffd6d6;
}

/* BUTTONS */
.cbt-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* RESPONSIVE */
@media(max-width: 768px) {

  .cbt-feature-container {
    grid-template-columns: 1fr;
  }

  .cbt-text h2 {
    font-size: 24px;
  }

  .cbt-benefits {
    grid-template-columns: 1fr;
  }

}

/* IMPROVED SECONDARY BUTTON */
.btn-secondary {
  background: #ffffff;
  color: #d80000;
  border: 2px solid #d80000;

  padding: 12px 22px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  cursor: pointer;
  transition: 0.3s ease;
}

/* HOVER EFFECT */
.btn-secondary:hover {
  background: #d80000;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(216,0,0,0.2);
}

.cbt-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.cbt-buttons a {
  flex: 1;
  text-align: center;
}