
/***** deterrent only — hurts UX; optional *****/
html, body {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
input, textarea {
  -webkit-user-select: text;
  user-select: text;
}

    /* Force the hero container to clip any animated decoration fully */
    #hero{ overflow: hidden; }

    /* Extra safety: prevent any accidental horizontal scroll on mobile */
    html,body{ max-width:100%; overflow-x:hidden; }

:root {
  --bubble: rgba(255, 255, 255, .18);
}

body {
  overflow-x: hidden;
}

.bubble {
  position: absolute;
  border-radius: 9999px;
  background: var(--bubble);
  backdrop-filter: blur(2px);
  animation: float 10s ease-in-out infinite;
}

.b1 {
  width: clamp(60px, 10vw, 90px);
  height: clamp(60px, 10vw, 90px);
  top: 8%;
  left: 6%;
  animation-delay: 0s;
}

.b2 {
  width: clamp(80px, 15vw, 140px);
  height: clamp(80px, 15vw, 140px);
  top: 16%;
  right: 8%;
  animation-delay: 1.2s;
}

.b3 {
  width: clamp(50px, 8vw, 70px);
  height: clamp(50px, 8vw, 70px);
  top: 42%;
  left: 10%;
  animation-delay: 2.4s;
}

.b4 {
  width: clamp(70px, 12vw, 110px);
  height: clamp(70px, 12vw, 110px);
  bottom: 15%;
  right: 14%;
  animation-delay: 3.6s;
}

.b5 {
  width: clamp(40px, 6vw, 60px);
  height: clamp(40px, 6vw, 60px);
  bottom: 24%;
  left: 22%;
  animation-delay: 4.8s;
}

.b6 {
  width: clamp(60px, 10vw, 95px);
  height: clamp(60px, 10vw, 95px);
  top: 58%;
  right: 5%;
  animation-delay: 6s;
}

.shape {
  position: absolute;
  border-radius: 24px;
  opacity: 0.3;
  mix-blend: multiply;
  animation: drift 16s ease-in-out infinite;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.s1 {
  width: clamp(150px, 20vw, 240px);
  height: clamp(150px, 20vw, 240px);
  top: 6%;
  left: 40%;
  background: linear-gradient(135deg, #3e66ff, #1FC77E);
}

.s2 {
  width: clamp(120px, 15vw, 170px);
  height: clamp(120px, 15vw, 170px);
  bottom: 8%;
  left: 18%;
  background: linear-gradient(135deg, #FF7A59, #FFD066);
  animation-delay: 4s;
}

.s3 {
  width: clamp(140px, 18vw, 200px);
  height: clamp(140px, 18vw, 200px);
  top: 24%;
  right: 18%;
  background: linear-gradient(135deg, #6b90ff, #FF7A59);
  animation-delay: 8s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) translateX(0);
    opacity: 0.8;
  }
  50% {
    transform: translateY(-24px) translateX(10px);
    opacity: 1;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0) rotate(0);
  }
  50% {
    transform: translateY(-28px) rotate(10deg);
  }
}

.glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.btn-ripple {
  position: relative;
  overflow: hidden;
}

.btn-ripple span.ring {
  position: absolute;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ring 0.6s ease-out forwards;
  pointer-events: none;
}

@keyframes ring {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

.faq-item[open] summary .icon {
  transform: rotate(45deg);
}

summary::-webkit-details-marker {
  display: none;
}

.poster2 {
  height: clamp(50vh, 80vw, 90vh);
  width: 100%;
  object-fit: cover;
  background-size: cover;
}

/* ===== Hero Section ===== */
#hero {
  min-height: clamp(70vh, 90vw, 92vh);
}

#hero .container {
  padding: clamp(1rem, 5vw, 2rem);
}

#hero h1 {
  font-size: clamp(1.5rem, 4vw, 3rem);
}

#hero p {
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
}

#hero .btn-ripple {
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

#hero .counter {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

#hero .text-xs {
  font-size: clamp(0.65rem, 1.5vw, 0.75rem);
}

/* ===== Why Section ===== */
#why .container {
  padding: clamp(1rem, 5vw, 2rem);
}

#why h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

#why h3 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
}

#why p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

#why .btn-ripple {
  padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.25rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

#why .corp-slide {
  padding: clamp(1rem, 3vw, 1.5rem);
}

#why .corp-slide p {
  font-size: clamp(0.9rem, 2.5vw, 1.125rem);
}

/* ===== Program Details Section ===== */
#program-details .container {
  padding: clamp(1rem, 5vw, 2rem);
}

#program-details h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

#program-details p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

#program-details h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

#program-details ul {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* ===== Courses Section ===== */
#courses .container {
  padding: clamp(1rem, 5vw, 2rem);
}

#courses h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}

#courses p {
  font-size: clamp(0.9rem, 2.5vw, 1rem);
}

#courses .course-card {
  padding: clamp(0.75rem, 3vw, 1rem);
}

#courses h3 {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
}

#courses ul {
  font-size: clamp(0.875rem, 2vw, 1rem);
}

#courses .btn {
  padding: clamp(0.5rem, 2vw, 0.75rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* ===== Hiring Partners Section ===== */
.partner-marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(0.75rem, 2vw, 1.125rem) 10px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  background: #fff;
}

.partner-track {
  display: flex;
  width: max-content;
  animation: partners-scroll 28s linear infinite;
}

.partner-marquee:hover .partner-track {
  animation-play-state: paused;
}

.partner-group {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding: clamp(0.25rem, 1vw, 0.375rem) clamp(0.5rem, 2vw, 0.75rem);
  flex-shrink: 0;  
}

.partner-item {
  flex: 0 0 auto;
  background: #fff;
  border: 2px dashed #e5e7eb;
  border-radius: 14px;
  padding: clamp(0.5rem, 2vw, 0.875rem) clamp(0.75rem, 3vw, 1.375rem);
  min-width: clamp(120px, 20vw, 180px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.03);
}

.partner-item:hover {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
}

.partner-item img {
  height: clamp(80px, 15vw, 150px);
  width: auto;
  max-width: 100%;
}

/* Duplicate group setup expects two identical groups inside .partner-track */
@keyframes partners-scroll{
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }  /* move exactly one group's width */
}

/* ===== Awards Marquee ===== */
.awards-marquee {
  position: relative;
  overflow: hidden;
  padding: clamp(0.75rem, 2vw, 1.375rem) 10px;
  background: #fff;
  border-radius: 16px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 60px, #000 calc(100% - 60px), transparent 100%);
}

.awards-track {
  display: flex;
  width: max-content;
  animation: awards-scroll 36s linear infinite;
}

.awards-marquee:hover .awards-track {
  animation-play-state: paused;
}

.awards-group {
  display: flex;
  gap: clamp(1rem, 3vw, 1.75rem);
  padding: clamp(0.25rem, 1vw, 0.5rem) clamp(0.5rem, 2vw, 0.875rem);
}

.award-card {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.125rem);
  background: #fff;
  border: 1px solid #eee;
  border-radius: 18px;
  padding: clamp(0.75rem, 2vw, 1.125rem) clamp(1rem, 3vw, 1.375rem);
  min-width: clamp(200px, 30vw, 340px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.award-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.08);
}

.award-text {
  text-align: center;
}

.award-title {
  font-size: clamp(0.9rem, 2vw, 1.05rem);
  line-height: 1.15;
  color: #111827;
}

.award-sub {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  color: #6b7280;
  margin-top: 2px;
}

.award-year {
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  color: #111827;
  margin-top: 4px;
  font-weight: 600;
}

.laurel {
  width: clamp(40px, 8vw, 64px);
  height: clamp(40px, 8vw, 64px);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.95;
}

.laurel-left {
  background-image: url("data:image/svg+xml;utf8,<?xml version='1.0'?><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='%23d9a441'><ellipse cx='40' cy='8' rx='6' ry='8'/><ellipse cx='35' cy='18' rx='6' ry='8'/><ellipse cx='30' cy='28' rx='6' ry='8'/><ellipse cx='25' cy='38' rx='6' ry='8'/><ellipse cx='20' cy='48' rx='6' ry='8'/></g></svg>");
  transform: scaleX(-1);
}

.laurel-right {
  background-image: url("data:image/svg+xml;utf8,<?xml version='1.0'?><svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'><g fill='%23d9a441'><ellipse cx='40' cy='8' rx='6' ry='8'/><ellipse cx='35' cy='18' rx='6' ry='8'/><ellipse cx='30' cy='28' rx='6' ry='8'/><ellipse cx='25' cy='38' rx='6' ry='8'/><ellipse cx='20' cy='48' rx='6' ry='8'/></g></svg>");
}

@keyframes awards-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ===== In News Section ===== */
.grad-orange {
  background: linear-gradient(135deg, #ff7a1a 0%, #ff5a28 55%, #ff3d2f 100%);
}

.news-frame {
  border: 1px solid #e5e7eb;
  border-bottom-width: 4px;
  border-right-width: 4px;
  border-radius: 0.6rem;
  background: #fff;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.news-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.speech-card {
  position: relative;
}

.speech-card:before {
  content: "";
  position: absolute;
  left: -12px;
  top: 28px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid rgba(0, 0, 0, 0.10);
}

.speech-card:after {
  content: "";
  position: absolute;
  left: -10px;
  top: 30px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid white;
}

.rs-viewport {
  overflow: hidden;
}

.rs-track {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.rs-slide {
  flex: 0 0 100%;
}

.rs-dots {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  align-items: center;
}

.rs-dot {
  width: 9px;
  height: 9px;
  border-radius: 9999px;
  background: #d1d5db;
  transition: transform 0.2s, background 0.2s;
}

.rs-dot[data-active="true"] {
  background: #ff6a1f;
  transform: scale(1.15);
}

/* ===== Courses Section ===== */
:root {
  --brand: #ff6a1f;
  --brand-2: #f59e0b;
  --ink: #0f172a;
  --muted: #475569;
}

.heading-grad {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.course-card {
  border-radius: 16px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #fff;
  box-shadow: 0 6px 18px rgba(2, 6, 23, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(2, 6, 23, 0.12);
  border-color: rgba(15, 23, 42, 0.12);
}

.img-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.course-card:hover .img-wrap img {
  transform: scale(1.045);
}

.accent {
  position: relative;
}

.accent::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  border-radius: 3px 3px 0 0;
  transition: width 0.5s ease;
}

.course-card:hover .accent::before {
  width: 100%;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.55s ease;
}

.stagger li {
  opacity: 0;
  transform: translateX(-6px);
}

.reveal.is-in .stagger li {
  opacity: 1;
  transform: translateX(0);
  transition: all 0.45s ease var(--d, 0s);
}

.stagger li:nth-child(1) {
  --d: 0.04s;
}

.stagger li:nth-child(2) {
  --d: 0.10s;
}

.stagger li:nth-child(3) {
  --d: 0.16s;
}

.stagger li:nth-child(4) {
  --d: 0.22s;
}

.stagger li:nth-child(5) {
  --d: 0.28s;
}

.btn {
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  color: #fff;
  font-weight: 700;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(255, 106, 31, 0.25);
  transition: transform 0.15s ease, box-shadow 0.25s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(255, 106, 31, 0.32);
}

.btn:active {
  transform: translateY(0);
}

.stagger li+li {
  border-top: 1px dashed rgba(15, 23, 42, 0.08);
  padding-top: 0.65rem;
  margin-top: 0.65rem;
}

.tick {
  color: var(--brand);
  margin-top: 0.25rem;
}

/* ===== Gallery ===== */
.gallery-masonry {
  column-count: 3;
  column-gap: clamp(0.75rem, 2vw, 1.25rem);
}

.gallery-item {
  display: inline-block;
  width: 100%;
  margin: 0 0 clamp(0.75rem, 2vw, 1.25rem);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  position: relative;
  text-decoration: none;
}

.gallery-item.wide figure {
  aspect-ratio: 16/9;
}

.gallery-item.tall figure {
  aspect-ratio: 3/4;
}

.gallery-item figure {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(2, 6, 23, 0.08);
  border: 1px solid #eef2f7;
  background: #fff;
  position: relative;
}

.campus {
  height: clamp(300px, 50vw, 530px);
  object-fit: cover;
}

.gallery-item img {
  width: 100%;
  display: block;
  transform: scale(1);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.045);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: clamp(8px, 2vw, 10px) clamp(10px, 2.5vw, 14px);
  font-weight: 600;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.55) 100%);
  color: #fff;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.35s ease;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Lightbox ===== */
.glightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
}

.gbackdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.gstage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 3vw, 1.5rem);
  pointer-events: none;
}

.glightbox.open .gbackdrop {
  opacity: 1;
}

.gimg {
  max-width: min(92vw, 1200px);
  max-height: clamp(60vh, 80vw, 80vh);
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateY(6px) scale(0.985);
  transition: all 0.28s ease;
  pointer-events: auto;
  background: #fff;
}

.glightbox.open .gimg {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gcap {
  margin-top: 12px;
  color: #fff;
  text-align: center;
  font-weight: 600;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  pointer-events: auto;
}

.gbtn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(36px, 5vw, 44px);
  height: clamp(36px, 5vw, 44px);
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: clamp(18px, 3vw, 22px);
  display: grid;
  place-items: center;
  cursor: pointer;
  pointer-events: auto;
  transition: filter 0.2s ease, transform 0.2s ease, background 0.2s ease;
  backdrop-filter: blur(6px);
}

.gbtn:hover {
  filter: brightness(1.2);
}

.gprev {
  left: clamp(10px, 2vw, 22px);
}

.gnext {
  right: clamp(10px, 2vw, 22px);
}

.gclose {
  top: clamp(10px, 2vw, 24px);
  right: clamp(10px, 2vw, 24px);
  transform: none;
  width: clamp(36px, 5vw, 42px);
  height: clamp(36px, 5vw, 42px);
  font-size: clamp(16px, 2.5vw, 18px);
}

/* ===== Modal Form ===== */
#modalForm .max-w-lg {
  max-width: clamp(300px, 90vw, 500px);
}

#modalForm h3 {
  font-size: clamp(1.25rem, 3vw, 1.5rem);
}

#modalForm p {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

#modalForm .form-input {
  padding: clamp(0.75rem, 2vw, 1rem) clamp(1rem, 3vw, 1.25rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

#modalForm button {
  padding: clamp(0.75rem, 2vw, 1rem);
  font-size: clamp(0.875rem, 2vw, 1rem);
}

/* ===== Footer ===== */
footer .container {
  padding: clamp(1rem, 5vw, 2rem);
}

footer p {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

footer a {
  font-size: clamp(0.75rem, 2vw, 0.875rem);
}

/* ===== Floating WhatsApp Icon ===== */
@keyframes bounceIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  60% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(1);
  }
}

.fixed.bottom-6.right-6 {
  animation: bounceIn 0.8s ease-out forwards;
  bottom: clamp(1.5rem, 5vw, 2rem);
  right: clamp(1rem, 3vw, 1.5rem);
}

.fixed.bottom-6.right-6 a {
  padding: clamp(0.75rem, 2vw, 1rem);
}

.fixed.bottom-6.right-6 svg {
  width: clamp(24px, 5vw, 32px);
  height: clamp(24px, 5vw, 32px);
}

/* ===== Media Queries ===== */
@media (max-width: 1024px) {
  /* Hero Section */
  #hero .lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  #hero .grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(1rem, 3vw, 1.5rem);
  }

  /* Why Section */
  #why .lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  /* Program Details */
  #program-details .md\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Courses */
  #courses .lg\:grid-cols-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Gallery */
  .gallery-masonry {
    column-count: 2;
  }

  /* In News */
  .lg\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  .news-frame {
    max-width: 100%;
  }

  .rs-slide .sm\:grid-cols-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Hero Section */
  #hero .grid-cols-3 {
    grid-template-columns: 1fr;
  }

  /* Program Details */
  #program-details .md\:grid-cols-3 {
    grid-template-columns: 1fr;
  }

  /* Courses */
  #courses .md\:grid-cols-2 {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-masonry {
    column-count: 1;
  }

  .campus {
    height: clamp(200px, 40vw, 300px);
  }

  /* Awards */
  .award-card {
    min-width: clamp(180px, 25vw, 260px);
    padding: clamp(0.5rem, 2vw, 0.875rem) clamp(0.75rem, 3vw, 1rem);
  }

  .laurel {
    width: clamp(32px, 6vw, 48px);
    height: clamp(32px, 6vw, 48px);
  }

  .award-title {
    font-size: clamp(0.85rem, 1.8vw, 1rem);
  }

  /* Partners */
  .partner-item {
    min-width: clamp(100px, 18vw, 150px);
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
  }

  .partner-item img {
    height: clamp(60px, 12vw, 100px);
  }
}

@media (max-width: 640px) {
  /* Hero Section */
  #hero {
    min-height: clamp(60vh, 80vw, 80vh);
  }

  #hero h1 {
    font-size: clamp(1.25rem, 3.5vw, 2rem);
  }

  #hero p {
    font-size: clamp(0.85rem, 2vw, 1rem);
  }

  #hero .btn-ripple {
    padding: clamp(0.5rem, 1.5vw, 0.625rem) clamp(0.75rem, 2.5vw, 1rem);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  }

  /* Why Section */
  #why h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }

  #why h3 {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  }

  /* Program Details */
  #program-details h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }

  /* Courses */
  #courses h2 {
    font-size: clamp(1.5rem, 3.5vw, 2rem);
  }

  /* Gallery */
  .gallery-item figcaption {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  }

  /* Lightbox */
  .gimg {
    max-height: clamp(50vh, 70vw, 70vh);
  }

  .gprev {
    left: clamp(8px, 1.5vw, 10px);
  }

  .gnext {
    right: clamp(8px, 1.5vw, 10px);
  }

  .gclose {
    top: clamp(8px, 1.5vw, 10px);
    right: clamp(8px, 1.5vw, 10px);
  }

  /* Modal */
  #modalForm .max-w-lg {
    max-width: clamp(280px, 85vw, 400px);
  }

  /* Footer */
  footer .md\:flex-row {
    flex-direction: column;
    text-align: center;
  }

  footer .gap-6 {
    gap: clamp(1rem, 3vw, 1.5rem);
  }
}

@media (max-width: 480px) {
  /* Hero Section */
  #hero h1 {
    font-size: clamp(1rem, 3vw, 1.5rem);
  }

  #hero p {
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  }

  #hero .btn-ripple {
    padding: clamp(0.375rem, 1.2vw, 0.5rem) clamp(0.5rem, 2vw, 0.75rem);
    font-size: clamp(0.7rem, 1.5vw, 0.8rem);
  }

  /* Why Section */
  #why .corp-slide {
    padding: clamp(0.75rem, 2vw, 1rem);
  }

  #why .corp-slide p {
    font-size: clamp(0.85rem, 2vw, 1rem);
  }

  /* Modal */
  #modalForm h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
  }

  #modalForm .form-input {
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(0.75rem, 2vw, 1rem);
    font-size: clamp(0.75rem, 1.8vw, 0.875rem);
  }
}
/* --- HERO MOBILE FIX (place at the end of your CSS) --- */

/* Ensure our CSS background beats Tailwind's bg-[url(...)] utility */
.hero-bg-image{
  background-image: url('/image/bibs/toppBanner.png') !important;
  background-size: cover;
  background-position: center; /* good default for desktop */
}

/* Tablet and down: give the hero a bit more height and lift focus upward */
@media (max-width: 1024px){
  #hero{ min-height: 85vh; }
  .hero-bg-image{ background-position: center 30%; }
}

/* Phones: tighter height + higher focal point so faces/text stay visible */
@media (max-width: 640px){
  #hero{ min-height: 75vh; }
  .hero-bg-image{
    background-position: center 22%;
    background-size: cover;
  }
}

/* Small phones: slightly less height, keep the top-focused crop */
@media (max-width: 480px){
  #hero{ min-height: 70vh; }
  .hero-bg-image{ background-position: center 18%; }
}

