/* ===============================
   RESET + BASE
================================ */
*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:"Poppins",system-ui,sans-serif;
}

body{
  min-height:100vh;
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  color:#1E293B;
}

/* ===============================
   HEADER
================================ */
header{
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  padding:18px 0;
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}

.container{
  width:90%;
  max-width:1200px;
  margin:auto;
}

.nav{
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo-box{
  display:flex;
  align-items:center;
  gap:12px;
  color:white;
}

.school-logo{
  height:46px;
}

.logo-main{
  font-size:26px;
  font-weight:800;
}

.logo-sub{
  font-size:11px;
  letter-spacing:1px;
  opacity:.9;
}

.home-btn{
  color:#6A0DAD;
  background:white;
  padding:12px 26px;
  border-radius:999px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  box-shadow:0 10px 25px rgba(0,0,0,.25);
  transition:.3s;
}

.home-btn:hover{
  background:#00C896;
  color:white;
  transform:translateY(-3px);
}

.home-btn-small{
  display:inline-block;
  margin-top:18px;
  padding:10px 22px;
  border-radius:999px;
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  color:white;
  text-decoration:none;
  font-size:14px;
  font-weight:600;
}

/* ===============================
   LAYOUT
================================ */
.booking-wrapper{
  padding:45px 0 80px;
  display:flex;
  justify-content:center;
}

.booking-card{
  width:100%;
  max-width:650px;
  background:white;
  border-radius:30px;
  padding:40px 35px;
  box-shadow:0 35px 90px rgba(0,0,0,.35);
}

.booking-card h2{
  text-align:center;
  font-size:28px;
  margin-bottom:25px;
  color:#6A0DAD;
  font-weight:900;
  letter-spacing:.5px;
}

/* ===============================
   FORM ELEMENTS
================================ */
.form-row{
  margin-bottom:18px;
}

.form-row label{
  display:block;
  font-size:15px;
  font-weight:700;
  color:#111827;
  margin-bottom:6px;
}

.form-row input,
.form-row select{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #d1d5db;
  font-size:15px;
  outline:none;
  background:white;
}

.form-row input:focus,
.form-row select:focus{
  border-color:#00C896;
}

/* note text under dropdown */
.note-text{
  display:block;
  margin-top:4px;
  font-size:12px;
  color:#6b7280;
}

/* ===============================
   GENDER CARDS
================================ */
.gender-box{
  display:flex;
  gap:20px;
}

.gender-option{
  flex:1;
  background:#f5f7fe;
  border:2px solid transparent;
  padding:22px;
  border-radius:20px;
  text-align:center;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
  transition:.3s;
}

.gender-option input{display:none;}

.gender-emoji{
  font-size:32px;
  display:block;
  margin-top:4px;
}

.gender-option:hover{
  transform:translateY(-3px);
}

.gender-option:has(input:checked){
  background:linear-gradient(135deg,#00C896,#6A0DAD);
  border-color:#6A0DAD;
}

.gender-option:has(input:checked) .gender-emoji{
  filter:brightness(1.15);
}

/* ===============================
   COURSE CATEGORY RADIOS
================================ */
.course-radio-group{
  display:flex;
  gap:30px;
  margin-top:8px;
}

.course-radio{
  display:flex;
  align-items:center;
  gap:8px;
  font-weight:600;
  font-size:15px;
  cursor:pointer;
}

.course-radio input[type="radio"]{
  transform:scale(1.1);
}

/* ===============================
   PHONE ROW
================================ */
.phone-row{
  display:flex;
  gap:10px;
}

.phone-row select{
  width:120px;
  font-size:14px;
}

/* ===============================
   WHATSAPP ROW
================================ */
.whatsapp-checkbox-row{
  margin-top:4px;
  margin-bottom:4px;
}

.whatsapp-label{
  font-size:14px;
  font-weight:600;
  color:#1f2937;
}

.whatsapp-row{
  display:flex;
  align-items:center;
  gap:10px;
}

.wa-icon-box{
  width:42px;
  height:42px;
  background:#25D366;
  border-radius:50%;
  display:flex;
  justify-content:center;
  align-items:center;
  box-shadow:0 6px 16px rgba(0,0,0,0.18);
}

.wa-icon-box img{
  width:22px;
  height:22px;
}

.whatsapp-row select{
  width:120px;
  font-size:14px;
}

/* ===============================
   BUTTON
================================ */
.confirm-btn{
  margin-top:26px;
  width:100%;
  padding:18px 22px;
  border-radius:999px;
  border:none;
  background:linear-gradient(135deg,#ff0080,#7928ca);
  color:white;
  font-weight:800;
  font-size:17px;
  cursor:pointer;
  transition:.3s;
}

.confirm-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 12px 30px rgba(0,0,0,.3);
}

/* ===============================
   FOOTER
================================ */
footer{
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  color:white;
  text-align:center;
  padding:18px;
  font-size:13px;
}

/* ===============================
   MOBILE
================================ */
@media(max-width:640px){

  .booking-card{
    padding:32px 22px;
  }

  .gender-box{
    flex-direction:column;
  }

  .course-radio-group{
    flex-direction:column;
    gap:8px;
  }

  .phone-row,
  .whatsapp-row{
    flex-direction:column;
  }

  .phone-row select,
  .whatsapp-row select{
    width:100%;
  }
}
/* ===============================
   SUCCESS PAGE CENTER ALIGNMENT
================================ */
.success-page{
  min-height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 15px;
}

.success-card{
  background: white;
  max-width: 520px;
  width: 100%;
  padding: 45px 40px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  animation: popScale 0.4s ease;
}

.success-card h2{
  font-size: 30px;
  color: #6A0DAD;
  margin-bottom: 12px;
  font-weight: 900;
}

.success-card p{
  font-size: 16px;
  color: #475569;
  margin-bottom: 28px;
  line-height: 1.6;
}

.success-btn{
  display: inline-block;
  padding: 12px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg,#6A0DAD,#00C896);
  color: white;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: 0.3s;
}

.success-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}

@keyframes popScale{
  from{
    transform: scale(0.85);
    opacity: 0;
  }
  to{
    transform: scale(1);
    opacity: 1;
  }
}
/* ===============================
   FORCE WHITE SUCCESS CARD FIX
================================ */
.success-page{
  min-height: 75vh !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 40px 15px !important;
}

.success-card{
  background: #ffffff !important;
  max-width: 540px !important;
  width: 100% !important;
  padding: 50px 40px !important;
  border-radius: 30px !important;
  text-align: center !important;
  box-shadow: 0 30px 90px rgba(0,0,0,0.35) !important;
}

.success-icon{
  font-size: 42px;
  margin-bottom: 10px;
}

.success-card h2{
  font-size: 32px !important;
  color: #6A0DAD !important;
  margin-bottom: 10px !important;
  font-weight: 900 !important;
}

.success-card p{
  font-size: 16px !important;
  color: #374151 !important;
  margin-bottom: 28px !important;
  line-height: 1.6 !important;
}

.success-btn{
  display: inline-block !important;
  padding: 12px 34px !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg,#6A0DAD,#00C896) !important;
  color: white !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  font-size: 15px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25) !important;
}

.success-btn:hover{
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}
/* ===============================
   PROFESSIONAL GROUPING UI
================================ */

.form-group-box{
  background: linear-gradient(135deg,#f9faff,#f1fdf9);
  border-radius:22px;
  padding:22px;
  margin-bottom:22px;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

.group-title{
  font-size:17px;
  font-weight:800;
  color:#6A0DAD;
  margin-bottom:15px;
  letter-spacing:.5px;
  display:flex;
  align-items:center;
  gap:6px;
}

.two-col{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:12px;
  margin-bottom:14px;
}

/* Gender Cards */
.gender-box{
  display:flex;
  gap:20px;
  justify-content:space-between;
}

.gender-option{
  flex:1;
  background:#eef2ff;
  border-radius:20px;
  padding:18px 0;
  text-align:center;
  cursor:pointer;
  transition:.3s;
}

.gender-option input{display:none;}

.gender-emoji{
  font-size:38px;
  display:block;
}

.gender-option small{
  display:block;
  margin-top:6px;
  font-size:13px;
  font-weight:600;
  color:#333;
}

.gender-option:has(input:checked){
  background:linear-gradient(135deg,#00C896,#6A0DAD);
  color:white;
}

/* Course UI */
.course-radio-group{
  display:flex;
  gap:16px;
}

.course-radio{
  flex:1;
  background:#eef2ff;
  padding:14px;
  border-radius:14px;
  text-align:center;
  cursor:pointer;
  font-weight:700;
}

.course-radio input{margin-right:6px;}

.course-radio:has(input:checked){
  background:linear-gradient(135deg,#6A0DAD,#00C896);
  color:white;
}

/* Phone + WhatsApp */
.whatsapp-check{
  margin-top:12px;
  margin-bottom:12px;
  font-size:14px;
  font-weight:600;
  color:#333;
}

.whatsapp-row{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:14px;
}

.wa-icon-box{
  background:#25D366;
  width:42px;
  height:42px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
}

.wa-icon-box img{
  width:22px;
}

/* Mobile Friendly */
@media(max-width:680px){
  .two-col{
    grid-template-columns:1fr;
  }
}
/* ===============================
   PREMIUM INPUT FIELD DESIGN
================================ */

.form-group-box input[type="text"],
.form-group-box input[type="email"],
.form-group-box input[type="tel"],
.form-group-box select {
  width: 100%;
  height: 48px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1.5px solid #dbeafe;
  background: #ffffff;
  font-size: 15px;
  font-weight: 500;
  color: #1f2937;
  outline: none;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.06);
  transition: all 0.25s ease;
}

/* PLACEHOLDER LOOK */
.form-group-box input::placeholder {
  color: #9ca3af;
  font-weight: 500;
}

/* FOCUS EFFECT */
.form-group-box input:focus,
.form-group-box select:focus {
  border-color: #6A0DAD;
  box-shadow: 0 0 0 4px rgba(106,13,173,0.12);
  background: #fdfcff;
}

/* DROP-DOWN PREMIUM LOOK */
.form-group-box select {
  cursor: pointer;
}


.field-label{
  font-size:14px;
  font-weight:600;
  color:#555;
  margin-bottom:6px;
  display:block;
}
.input{
  width:100%;
  padding:14px 16px;
  border-radius:14px;
  border:1px solid #dbeafe;
  font-size:15px;
  outline:none;
  background:#fff;
}
.input:focus{
  border-color:#7c3aed;
}


/* PHONE + WHATSAPP ROW FIX */
.phone-row,
.whatsapp-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}

/* WHATSAPP ROW WITH ICON */
.whatsapp-row {
  grid-template-columns: 46px 110px 1fr;
}

/* SMALL GAP FIX BETWEEN FIELDS */
.form-group-box input,
.form-group-box select {
  margin-bottom: 10px;
}

/* MOBILE OPTIMIZATION */
@media (max-width: 600px) {
  .phone-row,
  .whatsapp-row {
    grid-template-columns: 1fr;
  }

  .whatsapp-row {
    grid-template-columns: 1fr;
  }
}
