body{
  background:
    radial-gradient(circle at top left, rgba(204, 31, 59, 0.12), transparent 28%),
    radial-gradient(circle at right 18%, rgba(250, 211, 77, 0.16), transparent 24%),
    linear-gradient(180deg, #fffdfb 0%, #f8f1ec 44%, #ffffff 100%);
  color:#1f2937;
}

body::before,
body::after{
  content:"";
  position:fixed;
  inset:auto;
  pointer-events:none;
  z-index:-2;
}

body::before{
  top:-6rem;
  left:-5rem;
  width:22rem;
  height:22rem;
  border-radius:9999px;
  background:radial-gradient(circle, rgba(204, 31, 59, 0.14), transparent 68%);
}

body::after{
  right:-4rem;
  top:32vh;
  width:18rem;
  height:18rem;
  border-radius:9999px;
  background:radial-gradient(circle, rgba(255, 183, 77, 0.16), transparent 68%);
}

header{
  border-bottom:1px solid rgba(17, 24, 39, 0.08);
  box-shadow:0 14px 40px rgba(15, 23, 42, 0.08);
}

#app > section:not(#modal-cont),
main > section{
  position:relative;
  isolation:isolate;
  margin:1.25rem auto 0;
  width:min(94%, 1440px);
  padding:clamp(1.5rem, 2vw, 2.5rem);
  background:rgba(255, 255, 255, 0.8);
  border:1px solid rgba(17, 24, 39, 0.08);
  border-radius:32px;
  box-shadow:0 28px 80px rgba(15, 23, 42, 0.08);
  backdrop-filter:blur(14px);
}

#app > section#courses,
#app > section#features,
#app > section#why-learn,
#app > section#about,
main > section{
  overflow:hidden;
}

#app > section.py-8.bg-slate-100{
  background:rgba(255, 255, 255, 0.82) !important;
}

footer{
  margin-top:1.25rem;
  border-radius:32px 32px 0 0;
  background:linear-gradient(135deg, #0f172a, #1f2937);
  box-shadow:0 -12px 40px rgba(15, 23, 42, 0.18);
}

footer a,
footer button,
footer p{
  color:#f8fafc;
}

#modal-cont{
  display:none;
  background:rgba(15, 23, 42, 0.72);
  backdrop-filter:blur(18px);
}

#modal-cont.show{
  display:flex;
}

#modal{
  background:linear-gradient(180deg, #ffffff 0%, #fff7f6 100%);
  border:1px solid rgba(255, 255, 255, 0.72);
  box-shadow:0 30px 100px rgba(15, 23, 42, 0.3);
}

#modal input,
#modal textarea{
  background:#fff;
  border-color:rgba(148, 163, 184, 0.24);
  box-shadow:inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

#modal input:focus,
#modal textarea:focus{
  outline:none;
  border-color:var(--red);
  box-shadow:0 0 0 4px rgba(204, 31, 59, 0.14);
}

#modal button[type="submit"]{
  background:linear-gradient(135deg, var(--red), #8e0e28);
  box-shadow:0 18px 30px rgba(204, 31, 59, 0.22);
}

#modal button[type="submit"]:hover{
  transform:translateY(-1px);
}

#toast-host{
  position:fixed;
  top:1rem;
  right:1rem;
  z-index:130;
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  width:min(92vw, 380px);
}

.slg-toast{
  display:flex;
  gap:0.75rem;
  align-items:flex-start;
  padding:1rem 1.1rem;
  border-radius:20px;
  border:1px solid rgba(255, 255, 255, 0.24);
  box-shadow:0 18px 45px rgba(15, 23, 42, 0.22);
  opacity:0;
  transform:translateY(-14px) scale(0.98);
  transition:opacity 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
  backdrop-filter:blur(12px);
}

.slg-toast.is-visible{
  opacity:1;
  transform:translateY(0) scale(1);
}

.slg-toast--success{
  color:#064e3b;
  background:linear-gradient(135deg, rgba(236, 253, 245, 0.96), rgba(209, 250, 229, 0.9));
  border-color:rgba(16, 185, 129, 0.18);
}

.slg-toast--error{
  color:#7f1d1d;
  background:linear-gradient(135deg, rgba(254, 242, 242, 0.98), rgba(254, 226, 226, 0.92));
  border-color:rgba(239, 68, 68, 0.2);
}

.slg-toast__dot{
  width:12px;
  height:12px;
  flex:none;
  margin-top:0.35rem;
  border-radius:9999px;
  background:currentColor;
  box-shadow:0 0 0 6px rgba(255, 255, 255, 0.5);
}

.slg-toast__content strong{
  display:block;
  font-size:0.95rem;
  line-height:1.2;
  margin-bottom:0.15rem;
}

.slg-toast__content p{
  font-size:0.9rem;
  line-height:1.45;
  opacity:0.92;
}

.slg-floating-enquiry{
  position:fixed;
  right:1rem;
  bottom:1rem;
  z-index:104;
  display:none;
  align-items:center;
  gap:0.45rem;
  padding:0.75rem 1rem;
  border:1px solid rgba(255, 255, 255, 0.4);
  border-radius:9999px;
  background:linear-gradient(140deg, #cc1f3b, #8e0e28);
  color:#fff;
  font-weight:600;
  box-shadow:0 18px 35px rgba(142, 14, 40, 0.34);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}

.slg-floating-enquiry .icon-ms-r{
  font-size:1.1rem;
  line-height:1;
}

.slg-floating-enquiry:hover{
  transform:translateY(-2px);
  box-shadow:0 22px 40px rgba(142, 14, 40, 0.42);
}


@media screen and (max-width: 768px){
  #nav-menu.show{
    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;
    position:fixed;
    top:0;
    left:0;
    height:100vh;
    background-color:#ffffffe6;
    z-index:100;
    width:100%;
  }

  #nav-menu.show li{
    width:100%;
    text-align:left;
    padding-left:2rem;
    font-size:2rem;
    border-bottom:1px solid #000;
  }

  #nav-menu.show li a,
  #nav-menu.show li button{
    width:100%;
  }

  #app > section:not(#modal-cont),
  main > section{
    margin:1rem auto 0;
    padding:1.25rem;
    border-radius:24px;
  }

  #modal{
    padding:1.5rem;
  }

  #toast-host{
    left:1rem;
    right:1rem;
    top:1rem;
    width:auto;
  }
}
