/* 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.75);
  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{
  width:25px;
  height:3px;
  background:white;
  margin:4px;
}

/* HERO */
.hero{
  height:60vh;
  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:700px;
}

.hero h1{
  font-size:44px;
  margin-bottom:15px;
}

.hero p{
  font-size:18px;
  line-height:1.6;
}

/* ENROLLMENT FORM SECTION */
.enrollment-form-section{
  padding:80px 10%;
}

.enrollment-container{
  max-width:900px;
  margin:auto;
  background:#fff5f7;
  padding:30px;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.enrollment-container h2,
.enrollment-container h3{
  color:var(--red);
  margin-bottom:15px;
}

.form-group{
  margin-bottom:15px;
}

.form-group label{
  display:block;
  margin-bottom:5px;
  font-weight:500;
}

.form-group input,
.form-group select,
.form-group textarea{
  width:100%;
  padding:12px;
  border-radius:8px;
  border:1px solid #ddd;
  outline:none;
  font-family:'Poppins',sans-serif;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus{
  border-color:var(--red);
}

.form-group small{
  font-size:12px;
  color:#555;
}

/* PHOTO PREVIEW */
#photoPreview{
  margin-top:10px;
  max-width:150px;
  max-height:150px;
  border-radius:8px;
  border:1px solid #ddd;
  display:none;
}

/* STUDENT ID FIELD */
#studentID{
  background:#f1f1f1;
  font-weight:600;
  color:#222;
}

/* CHECKBOX */
.form-group.checkbox{
  display:flex;
  align-items:center;
  gap:10px;
}

.form-group.checkbox input[type="checkbox"]{
  width:auto;
}

/* BUTTON */
.btn-primary{
  background:var(--red);
  color:white;
  padding:12px 26px;
  border-radius:40px;
  border:none;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
}

.btn-primary: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 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: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;
  }

  .enrollment-container{
    padding:20px;
  }

  .hero h1{
    font-size:32px;
  }

  .hero{
    height:auto;
    padding:120px 20px;
  }
}
/* ================= 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 FLOAT 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);}

}
/* HAMBURGER */
.hamburger{
  display:none; /* show only on mobile */
  flex-direction:column;
  cursor:pointer;
  z-index:1100;
}

.hamburger span{
  height:3px;
  width:25px;
  background:white;
  margin:4px;
  transition:0.4s;
}

/* Transform hamburger to X */
.hamburger.active span:nth-child(1){
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2){
  opacity: 0;
}

.hamburger.active span:nth-child(3){
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile nav menu hidden by default */
@media(max-width:768px){
  .nav-menu{
    position:fixed;
    top:0;
    right:-100%;  /* hidden offscreen */
    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; /* slide in when active */
  }

  .hamburger{
    display:flex;
  }
}