/* ==========================================================================
   Riang Ria Fest 2026 - Design System
   Ported 1:1 from the Tailwind v4 source to hand-authored CSS.
   ========================================================================== */

:root {
  --color-mint: #CDEDEA;
  --color-yellow: #F8C64B;
  --color-peach: #F5C0AE;
  --color-teal: #38C8BF;
  --color-orange: #FB532E;
  --color-navy: #142E43;
  --color-cream: #FEFAF2;
  --color-mint-deep: #084E49;
  --color-yellow-deep: #5A4000;
  --color-peach-deep: #682516;
  --color-teal-deep: #064D48;
  --color-orange-deep: #B32709;
  --border-stone: #E8E5DD;
  --ink-muted: #78716C;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  background-color: #FEFAF2;
  color: #142E43;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4, .font-display {
  font-family: 'Fredoka', 'Plus Jakarta Sans', cursive, sans-serif;
  margin: 0;
}

p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
img, svg { display: block; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: #F7C23C; color: #142E43; }

/* --------------------------------------------------------------------------
   Layout primitives
   -------------------------------------------------------------------------- */
.container-7xl {
  max-width: 80rem;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 640px) { .container-7xl { padding-inline: 1.5rem; } }
@media (min-width: 1024px) { .container-7xl { padding-inline: 2rem; } }

.section { padding-block: 5rem; position: relative; }
.bg-cream { background-color: #FEFAF2; }
.bg-white-solid { background-color: #ffffff; }
.bg-mint-sky { background-color: #CDEDEA; }
.bg-sunny-yellow { background-color: #F8C64B; }
.bg-peach-blush { background-color: #F5C0AE; }
.bg-vibrant-teal { background-color: #38C8BF; }
.bg-festive-coral { background-color: #FB532E; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.col-span-2 { grid-column: span 2 / span 2; }
.col-span-3 { grid-column: span 3 / span 3; }

@media (max-width: 1023px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .col-span-2, .col-span-3 { grid-column: span 1 / span 1; }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.items-baseline { align-items: baseline; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.flex-1 { flex: 1 1 0%; }
.shrink-0 { flex-shrink: 0; }
.gap-1 { gap: 0.25rem; }
.gap-1-5 { gap: 0.375rem; }
.gap-2 { gap: 0.5rem; }
.gap-2-5 { gap: 0.625rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; top: 6rem; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.pointer-events-none { pointer-events: none; }
.overflow-hidden { overflow: hidden; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.mx-auto { margin-inline: auto; }

/* --------------------------------------------------------------------------
   Typography scale
   -------------------------------------------------------------------------- */
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-black { font-weight: 900; }
.leading-relaxed { line-height: 1.625; }
.leading-tight { line-height: 1.25; }
.uppercase { text-transform: uppercase; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.underline { text-decoration: underline; }

.ink-muted { color: #78716C; }
.text-navy { color: #142E43; }
.text-orange { color: #FB532E; }
.text-teal { color: #38C8BF; }
.text-yellow { color: #F8C64B; }
.text-peach { color: #F5C0AE; }
.text-mint { color: #CDEDEA; }
.text-cream { color: #FEFAF2; }
.text-white { color: #ffffff; }

.section-title {
  font-weight: 900;
  letter-spacing: -0.025em;
  font-size: 1.875rem;
}
@media (min-width: 640px) { .section-title { font-size: 2.25rem; } }
@media (min-width: 768px) { .section-title { font-size: 3rem; } }
.section-sub { color: #57534E; margin-top: 0.75rem; }
.section-head { max-width: 48rem; margin-inline: auto; margin-bottom: 3.5rem; }

/* --------------------------------------------------------------------------
   Pills, badges, chips
   -------------------------------------------------------------------------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.875rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pill-spark { background: rgba(248,198,75,0.22); border: 1.5px solid #F8C64B; color: #714F00; }
.pill-teal { background: rgba(56,200,191,0.2); border: 1.5px solid #38C8BF; color: #064D48; }
.pill-orange { background: rgba(251,83,46,0.15); border: 1.5px solid rgba(251,83,46,0.35); color: #FB532E; }
.pill-yellow { background: rgba(248,198,75,0.25); border: 1.5px solid #F8C64B; color: #5A4000; }
.pill-peach { background: rgba(245,192,174,0.35); border: 1.5px solid #F5C0AE; color: #8E2F1C; }
.pill-mint { background: #CDEDEA; border: 1.5px solid #B5E4E0; color: #084E49; }
.pill-solid-orange { background: #FB532E; color: #fff; }
.pill-solid-teal { background: #38C8BF; color: #fff; }
.pill-solid-yellow { background: #F8C64B; color: #5A4000; }

.tag {
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: #F5F5F4;
  color: #57534E;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}
.tag-mint { background: #CDEDEA; color: #084E49; }
.tag-yellow { background: #FDEBB9; color: #5A4000; }
.tag-peach { background: #FDE0D6; color: #8E2F1C; }
.tag-teal { background: #D6F6F3; color: #064D48; }
.tag-orange { background: #FEDBD2; color: #B32709; }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Fredoka', 'Plus Jakarta Sans', sans-serif;
  font-weight: 900;
  border: 2px solid #0A2B38;
  border-radius: 9999px;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.btn:hover, .btn:active { transform: translateY(2px); }
.btn-primary { background: #FF4D2D; color: #fff; box-shadow: 0 6px 0 0 #D93414; }
.btn-primary:hover { background: #F23F1E; box-shadow: 0 2px 0 0 #D93414; }
.btn-primary:active { box-shadow: 0 2px 0 0 #D93414; }
.btn-outline { background: #F5BA42; color: #0A2B38; box-shadow: 0 6px 0 0 #DCA01C; }
.btn-outline:hover { background: #EDAF30; box-shadow: 0 2px 0 0 #DCA01C; }
.btn-outline:active { box-shadow: 0 2px 0 0 #DCA01C; }
.btn-teal { background: #38C8BF; color: #fff; box-shadow: 0 6px 0 0 #0A2B38; }
.btn-teal:hover { background: #25B5AC; box-shadow: 0 2px 0 0 #0A2B38; }
.btn-yellow { background: #F5BA42; color: #0A2B38; box-shadow: 0 6px 0 0 #DCA01C; }
.btn-yellow:hover { background: #EDAF30; box-shadow: 0 2px 0 0 #DCA01C; }
.btn-dark { background: #0A2B38; color: #fff; box-shadow: 0 6px 0 0 #04141B; }
.btn-dark:hover { background: #04141B; box-shadow: 0 2px 0 0 #04141B; }
.btn-ghost { background: #C4ECE8; color: #0E6976; box-shadow: 0 3px 0 0 #0A2B38; }
.btn-ghost:hover { background: #ADE0DB; box-shadow: 0 1px 0 0 #0A2B38; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.75rem; }
.btn-md { padding: 0.625rem 1.25rem; font-size: 0.875rem; }
.btn-lg { padding: 0.875rem 1.75rem; font-size: 1rem; }

/* Neobrutalist pill badges (mint / coral accents) */
.pop-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  border: 2px solid #0A2B38;
  border-radius: 9999px;
  box-shadow: 0 3px 0 0 #0A2B38;
  transition: transform .15s ease, box-shadow .15s ease;
}
button.pop-badge:hover, button.pop-badge:active { transform: translateY(2px); box-shadow: 0 1px 0 0 #0A2B38; }
.pop-badge-mint { background: #C4ECE8; color: #0E6976; }
.pop-badge-coral { background: #F7B5A0; color: #0A2B38; }

/* --------------------------------------------------------------------------
   Cards & surfaces
   -------------------------------------------------------------------------- */
.card {
  background: #fff;
  border-radius: 1.5rem;
  border: 2px solid var(--border-stone);
  box-shadow: 0 1px 2px rgba(0,0,0,.05);
}
.card-pad { padding: 1.5rem; }
@media (min-width: 640px) { .card-pad { padding: 1.75rem; } }
.soft-shadow { box-shadow: 0 10px 25px -10px rgba(20,46,67,0.18); }
.lift { transition: transform .2s ease, box-shadow .2s ease; }
.lift:hover { transform: translateY(-4px); box-shadow: 0 20px 30px -18px rgba(20,46,67,0.3); }

/* Cheerful themed cards */
.card-festive-mint {
  background: linear-gradient(145deg, #FFFFFF 0%, #F0FAF9 100%);
  border: 2px solid #CDEDEA;
  box-shadow: 0 10px 25px -10px rgba(56,200,191,0.22);
}
.card-festive-mint:hover {
  border-color: #38C8BF;
  box-shadow: 0 18px 30px -12px rgba(56,200,191,0.32);
}

.card-festive-yellow {
  background: linear-gradient(145deg, #FFFFFF 0%, #FEF9EA 100%);
  border: 2px solid #F8C64B;
  box-shadow: 0 10px 25px -10px rgba(248,198,75,0.25);
}
.card-festive-yellow:hover {
  border-color: #E5B028;
  box-shadow: 0 18px 30px -12px rgba(248,198,75,0.38);
}

.card-festive-peach {
  background: linear-gradient(145deg, #FFFFFF 0%, #FDF4F0 100%);
  border: 2px solid #F5C0AE;
  box-shadow: 0 10px 25px -10px rgba(245,192,174,0.3);
}
.card-festive-peach:hover {
  border-color: #EBAC97;
  box-shadow: 0 18px 30px -12px rgba(245,192,174,0.42);
}

.card-festive-teal {
  background: linear-gradient(145deg, #FFFFFF 0%, #EEFBF9 100%);
  border: 2px solid #38C8BF;
  box-shadow: 0 10px 25px -10px rgba(56,200,191,0.25);
}
.card-festive-teal:hover {
  border-color: #25B5AC;
  box-shadow: 0 18px 30px -12px rgba(56,200,191,0.38);
}

.card-festive-orange {
  background: linear-gradient(145deg, #FFFFFF 0%, #FFF2EE 100%);
  border: 2px solid #FB532E;
  box-shadow: 0 10px 25px -10px rgba(251,83,46,0.25);
}
.card-festive-orange:hover {
  border-color: #DE3B17;
  box-shadow: 0 18px 30px -12px rgba(251,83,46,0.38);
}

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.spectrum-bar { position: fixed; top: 0; left: 0; right: 0; height: 0.375rem; display: flex; z-index: 50; }
.spectrum-bar > span { flex: 1; }

.site-header {
  position: fixed;
  top: 0.375rem;
  left: 0;
  right: 0;
  z-index: 40;
  background: #FEFAF2;
  border-bottom: 1px solid rgba(214,211,209,0.6);
  padding-block: 0.875rem;
  transition: all .3s ease;
}
.site-header.is-scrolled {
  background: rgba(254,250,242,0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
  border-bottom-color: rgba(247,194,60,0.3);
  padding-block: 0.625rem;
}
.site-header-inner {
  width: 100%;
  padding-inline: 1rem;
}
@media (min-width: 640px) {
  .site-header-inner {
    padding-left: 1rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .site-header-inner {
    padding-left: 1.25rem;
    padding-right: 2rem;
  }
}
.nav-logo {
  height: 4.75rem;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-partner-combo-wrapper {
  position: relative;
  display: inline-block;
  line-height: 0;
}
.nav-partner-combo {
  height: 68px;
  max-width: 240px;
  width: auto;
  display: block;
  object-fit: contain;
}
.nav-partner-hit {
  position: absolute;
  top: 0;
  bottom: 0;
  cursor: pointer;
  z-index: 2;
  transition: opacity 0.2s ease;
}
.nav-partner-hit-qube {
  left: 0;
  width: 45%;
}
.nav-partner-hit-mitec {
  right: 0;
  width: 55%;
}
.nav-partner-combo-wrapper:hover .nav-partner-combo {
  filter: brightness(1.04);
}
@media (max-width: 640px) {
  .nav-partner-combo {
    height: 48px;
    max-width: 170px;
  }
}
.hero-logo {
  width: 16rem;
  margin: 0 auto 1.25rem;
  display: block;
}
@media (min-width: 640px) { .hero-logo { width: 20rem; } }
@media (min-width: 768px) { .hero-logo { width: 26rem; } }
@media (min-width: 1024px) { .hero-logo { width: 32rem; } }
.nav-links { display: none; align-items: center; gap: 1.75rem; }
@media (min-width: 1024px) { .nav-links { display: flex; } }
.nav-link {
  padding: 0.5rem 1rem;
  font-size: 0.9375rem;
  font-weight: 700;
  color: rgba(20,46,67,0.85);
  border-radius: 0.5rem;
  transition: all .15s ease;
}
.nav-link:hover { color: #FA4E2A; background: rgba(247,194,60,0.18); }

.mobile-menu { display: none; background: #FEFAF2; border-bottom: 1px solid #E7E5E4; padding: 0.75rem 1rem 1.25rem; }
.mobile-menu.open { display: block; }
@media (min-width: 1024px) { .mobile-menu.open { display: none; } }
.mobile-menu a.mobile-link { display: block; padding: 0.5rem 0.75rem; font-weight: 600; border-radius: 0.5rem; }
.mobile-menu a.mobile-link:hover { background: rgba(247,194,60,0.2); }
.hamburger { display: inline-flex; padding: 0.5rem; border: none; background: none; border-radius: 0.5rem; color: #142E43; }
@media (min-width: 1024px) { .hamburger { display: none; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; margin-top: 6.5rem; padding-top: 2.5rem; padding-bottom: 3.5rem; overflow: hidden; }
@media (min-width: 768px) { .hero { margin-top: 6.75rem; padding-top: 3.5rem; padding-bottom: 4.5rem; } }
.bg-hero-banner {
  background-image: url('../img/banner.jpg?v=3');
  background-size: 100% 100%;
  background-position: center center;
  background-repeat: no-repeat;
}
.bg-festive-dots {
  background-image: radial-gradient(rgba(248,198,75,0.3) 2px, transparent 2px),
                    radial-gradient(rgba(56,200,191,0.3) 2px, transparent 2px),
                    radial-gradient(rgba(245,192,174,0.35) 2px, transparent 2px);
  background-size: 36px 36px, 36px 36px, 48px 48px;
  background-position: 0 0, 18px 18px, 9px 9px;
}
.blob { position: absolute; border-radius: 9999px; filter: blur(64px); pointer-events: none; z-index: 0; }
.hero-title { font-weight: 900; letter-spacing: -0.025em; line-height: 1.05; font-size: 2.25rem; }
@media (min-width: 640px) { .hero-title { font-size: 3.75rem; } }
@media (min-width: 768px) { .hero-title { font-size: 4.5rem; } }
@media (min-width: 1024px) { .hero-title { font-size: 6rem; } }
.ribbon-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 1.25rem;
  background: #F8C64B; color: #5A4000;
  font-family: 'Fredoka', sans-serif; font-weight: 900;
  font-size: 1.5rem;
  box-shadow: 0 10px 22px -6px rgba(248,198,75,0.45);
  border: 3px solid #38C8BF;
  transform: rotate(-1.5deg);
  transition: all .2s ease;
}
@media (min-width: 640px) { .ribbon-badge { font-size: 1.875rem; padding: 0.75rem 2rem; } }
@media (min-width: 768px) { .ribbon-badge { font-size: 2.25rem; } }
.ribbon-badge:hover { transform: rotate(0deg) scale(1.06); }
.meta-chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.95);
  padding: 0.55rem 0.95rem;
  border-radius: 0.875rem;
  border: 1.5px solid #E7E5E4;
  box-shadow: 0 4px 10px -2px rgba(20,46,67,0.06);
  font-size: 0.75rem; font-weight: 700;
  transition: all .15s ease;
}
.meta-chip:hover {
  transform: translateY(-2px);
  border-color: #38C8BF;
  box-shadow: 0 6px 14px -3px rgba(56,200,191,0.25);
}
@media (min-width: 640px) { .meta-chip { font-size: 0.875rem; } }
.metric-card {
  border-radius: 1.25rem;
  padding: 1.25rem 1rem;
  text-align: center;
  transition: all .2s ease;
  position: relative;
  overflow: hidden;
}
.metric-card:hover {
  transform: translateY(-4px);
}
.metric-value { font-family: 'Fredoka', sans-serif; font-weight: 900; font-size: 1.625rem; }
@media (min-width: 640px) { .metric-value { font-size: 2rem; } }
.metric-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.04em; margin-top: 0.25rem; }

.floating-emoji { position: absolute; font-size: 2rem; user-select: none; pointer-events: none; display: none; }
@media (min-width: 640px) { .floating-emoji { display: block; } }

/* --------------------------------------------------------------------------
   Countdown
   -------------------------------------------------------------------------- */
.countdown-card {
  background: rgba(255,255,255,0.97);
  border-radius: 2rem;
  border: 3px solid #F8C64B;
  box-shadow: 0 20px 40px -10px rgba(248,198,75,0.25), 0 10px 20px -5px rgba(56,200,191,0.15);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(8px);
}
@media (min-width: 640px) { .countdown-card { padding: 2.25rem; } }
@media (min-width: 768px) { .countdown-card { padding: 2.75rem; } }
.time-card {
  border-radius: 1.25rem;
  padding: 1rem 0.75rem;
  text-align: center;
  border: 2.5px solid;
  box-shadow: 0 6px 14px -3px rgba(0,0,0,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
@media (min-width: 640px) { .time-card { padding: 1.35rem 1rem; } }
.time-card:hover { transform: translateY(-5px); box-shadow: 0 14px 20px -6px rgba(0,0,0,.15); }
.time-value { font-family: 'Fredoka', sans-serif; font-weight: 900; font-size: 2.25rem; display: block; letter-spacing: -0.05em; }
@media (min-width: 640px) { .time-value { font-size: 3rem; } }
@media (min-width: 768px) { .time-value { font-size: 3.75rem; } }
.time-label {
  display: inline-block; margin-top: 0.35rem;
  font-size: 0.75rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.08em; background: rgba(255,255,255,0.9);
  padding: 0.2rem 0.75rem; border-radius: 9999px;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
@media (min-width: 640px) { .time-label { font-size: 0.875rem; } }
.tc-days { background: linear-gradient(145deg, #F0FAF9 0%, #CDEDEA 100%); border-color: #38C8BF; }
.tc-days .time-value, .tc-days .time-label { color: #064D48; }
.tc-hours { background: linear-gradient(145deg, #FEF9EA 0%, #F8C64B 100%); border-color: #E5B028; }
.tc-hours .time-value, .tc-hours .time-label { color: #5A4000; }
.tc-mins { background: linear-gradient(145deg, #FDF4F0 0%, #F5C0AE 100%); border-color: #EBAC97; }
.tc-mins .time-value, .tc-mins .time-label { color: #682516; }
.tc-secs { background: linear-gradient(145deg, #FFF1EE 0%, #FB532E 100%); border-color: #DE3B17; }
.tc-secs .time-value { color: #FFFFFF; text-shadow: 0 2px 4px rgba(0,0,0,0.15); }
.tc-secs .time-label { color: #B32709; }
.live-dot { width: 0.625rem; height: 0.625rem; border-radius: 9999px; background: #10B981; animation: pulse 2s infinite; }

/* --------------------------------------------------------------------------
   Section eyebrow
   -------------------------------------------------------------------------- */
.eyebrow {
  font-family: 'Fredoka', sans-serif;
  font-weight: 800;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.875rem;
}
.eyebrow-pill {
  display: inline-block;
  background: #F5BA42;
  color: #0A2B38;
  border: 2px solid #0A2B38;
  border-radius: 9999px;
  padding: 0.35rem 0.875rem;
  box-shadow: 0 3px 0 0 #0A2B38;
}

/* --------------------------------------------------------------------------
   Why Families Love Riang Ria
   -------------------------------------------------------------------------- */
.reason-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  max-width: 68rem;
  margin-inline: auto;
}
@media (min-width: 768px) {
  .reason-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.reason-card {
  border-radius: 1.75rem;
  padding: 2.25rem 1.75rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}
.reason-card:hover {
  transform: translateY(-6px);
}
.reason-emoji-wrap {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 1.25rem;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  box-shadow: 0 8px 18px -4px rgba(0,0,0,0.08);
  transition: transform .2s ease;
}
.reason-card:hover .reason-emoji-wrap {
  transform: scale(1.12) rotate(4deg);
}

/* --------------------------------------------------------------------------
   Cheerful Experiences (5 under 1 roof)
   -------------------------------------------------------------------------- */
.exp-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
@media (min-width: 640px) {
  .exp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .exp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.exp-panel {
  background: #ffffff;
  border-radius: 1.75rem;
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  border: 2.5px solid transparent;
  box-shadow: 0 8px 24px -6px rgba(20,46,67,.08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  display: flex;
  flex-direction: column;
}
.exp-panel:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 35px -12px rgba(20,46,67,.18);
}
.exp-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}
.exp-emoji-box {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  line-height: 1;
  transition: transform .2s ease;
}
.exp-panel:hover .exp-emoji-box { transform: scale(1.12) rotate(5deg); }
.exp-num-tag {
  font-family: 'Fredoka', sans-serif;
  font-weight: 800;
  font-size: 0.8125rem;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  letter-spacing: 0.05em;
}
.exp-brand {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* --------------------------------------------------------------------------
   Tabs
   -------------------------------------------------------------------------- */
.tab {
  padding: 0.5rem 1rem; border-radius: 0.75rem;
  font-size: 0.75rem; font-weight: 700;
  border: 1px solid #E7E5E4; background: #fff; color: #44403C;
  transition: all .15s ease;
  display: inline-flex; align-items: center; gap: 0.375rem;
}
@media (min-width: 640px) { .tab { font-size: 0.875rem; } }
.tab:hover { background: #F5F5F4; }
.tab.is-active { background: #142E43; color: #fff; border-color: #142E43; box-shadow: 0 4px 6px -1px rgba(0,0,0,.1); }

/* --------------------------------------------------------------------------
   Daily stage program
   -------------------------------------------------------------------------- */
.day-tab-container {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  background: #ffffff;
  border: 2px solid #0A2B38;
  border-radius: 9999px;
  padding: 0.375rem;
  box-shadow: 0 4px 0 0 #0A2B38;
}
.day-pill {
  font-family: 'Fredoka', sans-serif;
  font-weight: 800;
  font-size: 0.9375rem;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: rgba(10,43,56,0.8);
  transition: all .2s ease;
  cursor: pointer;
}
.day-pill:hover { color: #0A2B38; }
.day-pill.is-active {
  background: #FF4D2D;
  color: #ffffff;
}

.program-list { max-width: 48rem; margin-inline: auto; }
.program-card {
  background: #ffffff;
  border: 2px solid #0A2B38;
  border-radius: 1.5rem;
  box-shadow: 0 8px 0 0 #0A2B38;
  padding: 1.5rem;
}
@media (min-width: 640px) { .program-card { padding: 2rem; } }
.program-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding: 1.25rem 0;
  align-items: center;
}
.program-row + .program-row { border-top: 2px dashed #E7E5E4; }
@media (max-width: 480px) {
  .program-row { grid-template-columns: 1fr; gap: 0.5rem; }
}
.program-time {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #0E6976;
  background: #C4ECE8;
  border: 2px solid #0A2B38;
  border-radius: 9999px;
  padding: 0.375rem 0.875rem;
  white-space: nowrap;
  display: inline-block;
}

/* --------------------------------------------------------------------------
   Getting There / MITEC
   -------------------------------------------------------------------------- */
.getting-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 900px) {
  .getting-grid { grid-template-columns: 1.4fr 1fr; gap: 4rem; }
}
.getting-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  margin-top: 2rem;
}
.map-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9375rem;
  color: #fff;
  transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.map-btn:active { transform: scale(0.96); }
.map-btn-navy { background: #142E43; box-shadow: 0 10px 20px -10px rgba(20,46,67,.5); }
.map-btn-navy:hover { background: #1E4665; }
.map-btn-teal { background: #38C8BF; box-shadow: 0 10px 20px -10px rgba(56,200,191,.6); }
.map-btn-teal:hover { background: #25B5AC; }
.map-btn-coral { background: #FB532E; box-shadow: 0 10px 20px -10px rgba(251,83,46,.6); }
.map-btn-coral:hover { background: #E23E1B; }

.perk-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F3FBFA 100%);
  border: 2px solid #CDEDEA;
  border-radius: 1.5rem;
  padding: 1.75rem;
  box-shadow: 0 10px 25px -10px rgba(56,200,191,0.18);
}
.perk-list { display: flex; flex-direction: column; gap: 1.125rem; }
.perk-item { display: flex; align-items: flex-start; gap: 0.875rem; font-size: 0.9375rem; line-height: 1.5; }
.perk-check {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: #38C8BF;
  color: #fff;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.125rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* --------------------------------------------------------------------------
   Sponsorship & Partnership
   -------------------------------------------------------------------------- */
.sponsor-panel {
  background: linear-gradient(135deg, #142E43 0%, #173852 50%, #0F2333 100%);
  color: #fff;
  border-radius: 2rem;
  padding: 2.25rem;
  box-shadow: 0 25px 50px -12px rgba(20,46,67,.35);
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
  border: 3px solid #38C8BF;
  position: relative;
}
@media (min-width: 900px) {
  .sponsor-panel { grid-template-columns: 1fr 1fr; padding: 3rem; gap: 3rem; }
}
.sponsor-tag {
  display: inline-block;
  padding: 0.35rem 0.875rem;
  border-radius: 9999px;
  background: #FB532E;
  color: #fff;
  font-family: 'Fredoka', sans-serif;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
  box-shadow: 0 4px 10px rgba(251,83,46,0.4);
}
.sponsor-contacts {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 1rem;
  padding: 1.5rem;
}
.sponsor-org {
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.875rem;
  color: #F7C23C;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}
.sponsor-list { display: flex; flex-direction: column; gap: 1rem; }
.sponsor-contact { display: flex; align-items: center; gap: 0.875rem; }
.sponsor-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.8125rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sponsor-name { display: block; font-weight: 700; color: #fff; font-size: 0.9375rem; }
.sponsor-meta { display: block; color: #D6D3D1; font-size: 0.8125rem; }
.sponsor-contact:hover .sponsor-meta { color: #fff; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: #142E43; color: #fff; padding-top: 4rem; padding-bottom: 5.75rem; position: relative; overflow: hidden; }
.footer-link { color: #D6D3D1; font-size: 0.75rem; transition: color .15s ease; }
.footer-link:hover { color: #fff; }

/* --------------------------------------------------------------------------
   Modal
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 50;
  display: none; align-items: center; justify-content: center; padding: 1rem;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; animation: fade-in .2s ease; }
.modal-dialog {
  position: relative; width: 100%; max-width: 32rem; background: #FEFAF2;
  border-radius: 1.5rem; padding: 1.5rem; border: 4px solid #F7C23C;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,.25);
  max-height: 90vh; overflow-y: auto;
}
@media (min-width: 640px) { .modal-dialog { padding: 2rem; } }
.modal-close { position: absolute; top: 1rem; right: 1rem; padding: 0.5rem; border: none; border-radius: 9999px; background: #F5F5F4; color: #57534E; }
.modal-close:hover { background: #E7E5E4; }
.field-label { display: block; font-size: 0.75rem; font-weight: 700; color: #142E43; text-transform: uppercase; margin-bottom: 0.25rem; }
.input {
  width: 100%; padding: 0.625rem 1rem; border-radius: 0.75rem; border: 1px solid #D6D3D1;
  background: #fff; font-size: 0.875rem; font-family: inherit; outline: none;
}
.input:focus { box-shadow: 0 0 0 2px #1DBBB4; border-color: #1DBBB4; }
.interest-option {
  padding: 0.5rem; border-radius: 0.75rem; border: 1px solid #E7E5E4; background: #fff;
  display: flex; align-items: center; gap: 0.5rem; cursor: pointer;
  font-size: 0.75rem; font-weight: 600; color: #44403C; transition: all .15s ease;
}
.interest-option.is-on { border-color: #1DBBB4; background: #E6FAF9; color: #075E5B; }
.digital-pass { background: linear-gradient(to bottom, #FFF8E6, #FFF1CE); padding: 1.5rem; border-radius: 1.5rem; border: 2px dashed #F7C23C; box-shadow: inset 0 2px 4px rgba(0,0,0,.06); }

/* --------------------------------------------------------------------------
   Floating celebration button
   -------------------------------------------------------------------------- */
.float-action { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 40; display: flex; flex-direction: column; align-items: flex-end; gap: 0.625rem; }
.float-action .btn { border: 2px solid rgba(255,255,255,0.8); }
.float-action .hide-sm { display: none; }
@media (min-width: 640px) { .float-action .hide-sm { display: inline; } }

.floating-top-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #142E43;
  color: #FFFFFF;
  border: 2px solid #38C8BF;
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  font-family: 'Fredoka', sans-serif;
  font-weight: 700;
  font-size: 0.8125rem;
  box-shadow: 0 4px 14px rgba(20,46,67,0.3);
  cursor: pointer;
  transition: opacity .25s ease, transform .25s ease, background-color .15s ease;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.floating-top-btn.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.floating-top-btn:hover {
  background: #38C8BF;
  color: #142E43;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(56,200,191,0.4);
}

/* --------------------------------------------------------------------------
   Decorative helpers
   -------------------------------------------------------------------------- */
.rounded-full-blob { border-radius: 9999px; }
.divider-top { padding-top: 1rem; border-top: 1px solid #F5F5F4; }
.divider-top-stone { padding-top: 1rem; border-top: 1px solid #E7E5E4; }
.border-t-soft { border-top: 1px solid #F5F5F4; }
.border-b-soft { border-bottom: 1px solid #F5F5F4; }
.border-b-stone { border-bottom: 1px solid #E7E5E4; }

/* --------------------------------------------------------------------------
   Section-specific responsive grids
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  [data-footer-grid] {
    grid-template-columns: minmax(0, 24rem) auto auto !important;
    justify-content: start !important;
    gap: 4rem !important;
  }
}
@media (min-width: 640px) and (max-width: 1023px) {
  [data-footer-grid] {
    grid-template-columns: minmax(0, 18rem) auto auto !important;
    justify-content: start !important;
    gap: 2.5rem !important;
  }
}
@media (min-width: 1024px) {
  [data-hero-grid] {
    grid-template-columns: auto auto !important;
    gap: 2rem !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }
  .hero-left-col {
    justify-content: center !important;
    position: relative;
    left: -2.5rem;
    margin-right: -2.5rem;
  }
}
@media (min-width: 768px) and (max-width: 1023px) {
  [data-hero-grid] {
    grid-template-columns: auto auto !important;
    gap: 1.5rem !important;
    justify-content: center !important;
    margin-inline: auto !important;
  }
  .hero-left-col {
    justify-content: center !important;
    position: relative;
    left: -1.75rem;
    margin-right: -1.75rem;
  }
}

.hero-pill-card {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: #FFFFFF;
  padding: 0.5rem 1.25rem 0.5rem 0.625rem;
  border-radius: 9999px;
  box-shadow: 0 4px 16px -2px rgba(20,46,67,0.08), 0 2px 6px -1px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.8);
  transition: transform .2s ease, box-shadow .2s ease;
}
.hero-pill-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px -2px rgba(20,46,67,0.12);
}
.hero-pill-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Mobile-Only Hero Banner Adjustments (< 768px)
   Web/Desktop (>= 768px) remains 100% identical to yesterday's design
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .bg-hero-banner {
    background-image: url('../img/banner-mobile.png?v=1');
  }
  .hero {
    padding-top: clamp(2rem, 7vw, 3.25rem);
    padding-bottom: clamp(6.5rem, 25vw, 10rem);
  }
  [data-hero-grid] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.75rem !important;
    max-width: 25rem !important;
    padding-inline: 0.75rem !important;
    text-align: center !important;
  }
  .hero-left-col {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    left: 0 !important;
    margin: 0 !important;
    position: static !important;
  }
  .hero-logo-banner {
    width: clamp(190px, 56vw, 245px) !important;
    max-height: clamp(180px, 52vw, 230px) !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
    filter: drop-shadow(0 6px 16px rgba(20,46,67,0.12)) !important;
  }
  .hero-right-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }
  .hero-right-col > div.font-display {
    font-size: clamp(1.05rem, 4vw, 1.35rem) !important;
    line-height: 1.25 !important;
    text-align: center !important;
  }
  .hero-right-col > h1 {
    font-size: clamp(1.5rem, 6.2vw, 2.15rem) !important;
    line-height: 1.1 !important;
    text-align: center !important;
    white-space: nowrap !important;
  }
  .hero-right-col .flex.flex-wrap {
    justify-content: center !important;
    gap: 0.5rem !important;
  }
  .hero-pill-card {
    gap: 0.5rem !important;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 0.4rem 0.85rem 0.4rem 0.45rem !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 14px -2px rgba(20,46,67,0.1), 0 2px 6px -1px rgba(0,0,0,0.04) !important;
    border: 1px solid rgba(255,255,255,0.9) !important;
  }
  .hero-pill-icon {
    width: 2rem !important;
    height: 2rem !important;
  }
}

@media (min-width: 640px) {
  [data-footer-bottom] { flex-direction: row !important; }
}
@media (min-width: 1024px) {
  [data-footer-bottom] { padding-right: 12.5rem; }
}

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
@keyframes float-gentle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
@keyframes bounce-subtle {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: .5; }
}
@keyframes fade-in {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-float { animation: float-gentle 4s ease-in-out infinite; }
.animate-float-slow { animation: float-gentle 6s ease-in-out infinite; }
.animate-bounce-subtle { animation: bounce-subtle 2.5s ease-in-out infinite; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: #FEFAF2; }
::-webkit-scrollbar-thumb { background: #1DBBB4; border-radius: 9999px; border: 2px solid #FEFAF2; }
::-webkit-scrollbar-thumb:hover { background: #FA4E2A; }

/* --------------------------------------------------------------------------
   Official Partners & Sponsors Section (ISW-inspired)
   -------------------------------------------------------------------------- */
.partner-section {
  background-color: #F5CABA;
  border-top: 1px solid rgba(20, 46, 67, 0.06);
  border-bottom: 1px solid rgba(20, 46, 67, 0.06);
  padding-block: 5.5rem;
}

.partners-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
}

.partner-title-gradient {
  background: linear-gradient(98deg, #FB532E 0%, #FF783E 25%, #F8C64B 50%, #00CBB8 78%, #38C8BF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.partner-title-coral { color: #FB532E; }
.partner-title-yellow { color: #F8C64B; }
.partner-title-teal { color: #38C8BF; }


.partners-container {
  max-width: 68rem;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.75rem;
}

.partner-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.partner-group-title {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5D372E;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.partner-group-title::before,
.partner-group-title::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: rgba(93, 55, 46, 0.25);
}

.partner-cards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
}

.partner-cards-grid--center {
  justify-content: center;
}

.partner-cards-grid--multi {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

/* 2-Column Row for Strategic Partners */
.partners-row-two-col {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 54rem;
}

@media (max-width: 767px) {
  .partners-row-two-col {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

/* Partner Logo Card */
.partner-logo-card {
  background: #FFFFFF;
  border: 1px solid rgba(20, 46, 67, 0.08);
  border-radius: 1.25rem;
  padding: 1.25rem 2rem;
  width: 19rem;
  max-width: 100%;
  height: 8.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px -2px rgba(20, 46, 67, 0.05), 0 2px 8px -1px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}

.partner-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px -4px rgba(20, 46, 67, 0.12), 0 6px 16px -2px rgba(0, 0, 0, 0.05);
  border-color: rgba(56, 200, 191, 0.5);
}

.partner-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
}

.partner-logo-img {
  max-width: 94%;
  max-height: 88%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* QUBE logo: compact and neat specifically for partnership and sponsor only */
.partner-logo-img--qube {
  max-width: 125px !important;
  max-height: 42px !important;
  width: auto !important;
  height: auto !important;
}

/* Other partner logos: prominent sizing */
.partner-logo-img--large {
  max-width: 110% !important;
  max-height: 100px !important;
  width: auto !important;
  height: auto !important;
  transform: none !important;
}

/* Sized specifically for MITEC and PETROSAINS */
.partner-logo-img--mitec {
  max-width: 72% !important;
  max-height: 56px !important;
  transform: none !important;
}

.partner-logo-img--petrosains {
  max-width: 82% !important;
  max-height: 68px !important;
  transform: none !important;
}

.partner-logo-img--kecimeow {
  max-width: 82% !important;
  max-height: 68px !important;
  transform: none !important;
}

.partner-logo-img--kltower {
  max-width: 82% !important;
  max-height: 72px !important;
  transform: none !important;
}

.partner-logo-card:hover .partner-logo-img--large {
  transform: scale(1.05) !important;
}

.partner-logo-card:hover .partner-logo-img--mitec {
  transform: scale(1.06) !important;
}

.partner-logo-card:hover .partner-logo-img--petrosains {
  transform: scale(1.06) !important;
}

.partner-logo-card:hover .partner-logo-img--kecimeow {
  transform: scale(1.06) !important;
}

.partner-logo-card:hover .partner-logo-img--kltower {
  transform: scale(1.06) !important;
}

.partner-logo-card {
  padding: 0.85rem 1.25rem;
}

@media (max-width: 640px) {
  .partner-logo-card {
    width: 16.5rem;
    height: 7.5rem;
    padding: 0.75rem 1.25rem;
  }
}

/* Placeholder badge when logo image file is loading or being copied */
.partner-placeholder-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 0.5rem;
}

.partner-placeholder-brand {
  font-family: 'Fredoka', cursive, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #142E43;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.partner-placeholder-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #38C8BF;
  margin-top: 0.25rem;
}

/* Subtle elegant divider between partner tiers */
.partner-section-divider {
  width: 100%;
  max-width: 32rem;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(93, 55, 46, 0.15) 30%, rgba(93, 55, 46, 0.15) 70%, transparent 100%);
  margin-block: -0.5rem;
}

