/* ================================================================
   style.css — Regency College Admissions 2026-27 (Redesign)
   Deep Blue / Royal Blue / Gold scheme
   ================================================================ */

/* ---------------------------------------------------------------
   1. DESIGN TOKENS
--------------------------------------------------------------- */
:root {
  /* Core palette — Deep Blue / Royal Blue / Gold */
  --maroon: #1e3a8a;
  --maroon-mid: #1d4ed8;
  --maroon-dark: #0f172a;
  --maroon-light: #eff6ff;
  --red: #2563eb;
  --red-bright: #3b82f6;
  --gold: #b45309;
  --gold-light: #f59e0b;
  --gold-pale: #fef3c7;
  --white: #ffffff;
  --off-white: #f8faff;
  --text-dark: #1c1c1c;
  --text-mid: #4b5563;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-warm: #dbeafe;

  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(30, 58, 138, .08);
  --shadow: 0 8px 30px rgba(30, 58, 138, .12);
  --shadow-lg: 0 20px 60px rgba(30, 58, 138, .20);
  --transition: all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------------------------------------------------------------
   2. GLOBAL BASE
--------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.22;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
}

/* ---------------------------------------------------------------
   3. ANNOUNCEMENT STRIP
--------------------------------------------------------------- */
.announce-strip {
  background: var(--maroon-dark);
  color: var(--white);
  font-size: 0.80rem;
  padding: 7px 0;
  overflow: hidden;
  border-bottom: 2px solid var(--gold-light);
}

.announce-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow: hidden;
}

.announce-blink {
  background: var(--gold-light);
  color: var(--maroon-dark);
  font-weight: 800;
  padding: 3px 12px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.76rem;
  animation: pulse-strip 2s ease-in-out infinite;
  letter-spacing: 0.04em;
  z-index: 1;
}


@keyframes pulse-strip {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(245, 158, 11, .5);
  }

  50% {
    box-shadow: 0 0 0 6px rgba(245, 158, 11, 0);
  }
}

.announce-scroll {
  white-space: nowrap;
  animation: ticker 35s linear infinite;
  opacity: 0.88;
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ---------------------------------------------------------------
   4. TOP INFO BAR
--------------------------------------------------------------- */
.top-bar {
  background: #071235;
  color: rgba(255, 255, 255, .75);
  font-size: 0.82rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.top-bar i {
  color: var(--gold-light);
  margin-right: 3px;
}

.top-bar-cta {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 4px;
  letter-spacing: 0.03em;
  transition: var(--transition);
}

.top-bar-cta:hover {
  background: var(--maroon);
  color: var(--white);
}

/* ---------------------------------------------------------------
   5. NAVBAR
--------------------------------------------------------------- */
#main-navbar {
  background: var(--white);
  border-bottom: 3px solid var(--maroon);
  padding: 8px 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .10);
  transition: var(--transition);
}

#main-navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
}

.logo-box {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--maroon), var(--red-bright));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(30, 58, 138, .40);
}

.logo-box.small {
  width: 34px;
  height: 34px;
  font-size: 1rem;
}

/* Real logo image — navbar */
.logo-img {
  height: 52px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  display: block;
}

/* Footer variant — slightly larger */
.logo-img--footer {
  height: 64px;
  max-width: 220px;
}

/* Responsive: shrink on small screens */
@media (max-width: 575px) {
  .logo-img {
    height: 40px;
  }

  .logo-img--footer {
    height: 52px;
  }
}


.navbar-nav .nav-link {
  color: var(--text-dark) !important;
  font-weight: 500;
  font-size: 0.89rem;
  padding: 7px 13px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--maroon) !important;
  background: var(--maroon-light);
}

.btn-apply-nav {
  background: linear-gradient(135deg, var(--maroon), var(--red-bright));
  color: var(--white) !important;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 9px 20px;
  border-radius: 4px;
  box-shadow: 0 4px 14px rgba(30, 58, 138, .40);
  display: inline-block;
  transition: var(--transition);
}

.btn-apply-nav:hover {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  box-shadow: 0 6px 20px rgba(30, 58, 138, .55);
  transform: translateY(-2px);
  color: var(--white) !important;
}

/* ---------------------------------------------------------------
   6. HERO SECTION — Image Banner + Floating Form
--------------------------------------------------------------- */
.hero-section {
  position: relative;
  background: var(--maroon-dark);
  overflow: hidden;
}

/* Form floats over the image */
.hero-section .position-absolute {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

/* Responsive Image Heights for Slider */
.hero-carousel-img {
  object-fit: cover;
  min-height: 200px;
  /* Reduced height for mobile */
}

@media (min-width: 992px) {
  .hero-carousel-img {
    min-height: 450px;
    /* Taller height for desktop */
  }
}

/* Decorative diagonal stripe (bottom edge of the image) */
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: linear-gradient(90deg, var(--gold-light), var(--red-bright), var(--gold-light));
  z-index: 3;
}

.hero-row {
  min-height: 80vh;
}

/* LEFT CONTENT */
.hero-content-wrap {
  padding: 40px 0 40px 0;
}

.hero-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.hero-pill {
  display: inline-block;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .90);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  backdrop-filter: blur(6px);
}

.hero-heading {
  font-size: clamp(1.9rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.15;
  text-shadow: 0 3px 16px rgba(0, 0, 0, .40);
}

.highlight-gold {
  color: var(--gold-light);
}

.hero-sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, .85);
  margin-bottom: 20px;
  line-height: 1.72;
  max-width: 540px;
}

/* Trust bullets */
.hero-trusts {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.hero-trusts li {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, .88);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.hero-trusts li i {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Hero stats */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: var(--radius);
  padding: 14px 20px;
  width: fit-content;
  backdrop-filter: blur(12px);
}

.stat-item {
  text-align: center;
  padding: 0 14px;
}

.stat-number {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: -0.03em;
}

.stat-item>span:not(.stat-number) {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold-light);
}

.stat-item small {
  display: block;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, .70);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 2px;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(255, 255, 255, .22);
}

/* ---------------------------------------------------------------
   7. HERO FORM CARD (right side)
--------------------------------------------------------------- */
.hero-form-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .35);
  overflow: hidden;
  margin: 40px 0;
}

.form-card-header {
  background: linear-gradient(135deg, var(--maroon), var(--red-bright));
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  letter-spacing: 0.01em;
}

.form-card-body {
  padding: 22px 24px;
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.req {
  color: var(--red-bright);
}

.rc-input {
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 9px 12px;
  font-size: 0.875rem;
  font-family: inherit;
  transition: var(--transition);
  background: var(--off-white);
}

.rc-input:focus {
  border-color: var(--maroon);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, .12);
  background: var(--white);
  outline: none;
}

.rc-input.is-invalid {
  border-color: var(--red-bright);
}

.form-feedback {
  font-size: 0.80rem;
  min-height: 14px;
  margin-bottom: 10px;
}

.form-feedback.error {
  color: var(--red-bright);
}

.form-feedback.success {
  color: #059669;
}

/* Validation Feedback (Mobile fix) */
.was-validated .rc-input:invalid {
  border-color: #dc3545 !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .rc-input:invalid:focus {
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.btn-form-submit {
  background: linear-gradient(135deg, var(--maroon), var(--red-bright));
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  cursor: pointer;
}

.btn-form-submit:hover {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon));
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(30, 58, 138, .45);
}

.btn-form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-assurance {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin: 8px 0 0;
}

.form-assurance i {
  color: #059669;
}

/* R-NET banner inside form */
.rnet-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--gold-pale);
  border: 1px solid #fcd34d;
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.82rem;
  color: var(--maroon-dark);
}

.rnet-banner i {
  font-size: 1.6rem;
  color: var(--gold);
  flex-shrink: 0;
}

.rnet-banner a {
  color: var(--maroon);
  font-weight: 600;
}

.rnet-banner a:hover {
  color: var(--red-bright);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, .55);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: float 2.5s ease-in-out infinite;
}

.scroll-mouse {
  width: 20px;
  height: 30px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.scroll-wheel {
  width: 3px;
  height: 7px;
  background: var(--gold-light);
  border-radius: 2px;
  animation: scroll-anim 1.8s ease-in-out infinite;
}

@keyframes scroll-anim {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(9px);
    opacity: 0;
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }

  50% {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* ---------------------------------------------------------------
   8. STATS RIBBON
--------------------------------------------------------------- */
.stats-ribbon {
  background: var(--maroon);
  padding: 16px 0;
  border-top: 3px solid var(--gold-light);
  border-bottom: 3px solid var(--gold-light);
}

.ribbon-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}

.ribbon-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .90);
  font-size: 0.85rem;
  padding: 6px 24px;
  border-right: 1px solid rgba(255, 255, 255, .20);
}

.ribbon-item:last-child {
  border-right: none;
}

.ribbon-item i {
  color: var(--gold-light);
  font-size: 1rem;
}

.ribbon-item strong {
  color: var(--white);
}

/* ---------------------------------------------------------------
   9. SECTION HELPERS
--------------------------------------------------------------- */
.section-padding {
  padding: 80px 0;
}

.bg-maroon-light {
  background: var(--maroon-light);
}

.section-badge {
  display: inline-block;
  background: rgba(30, 58, 138, .10);
  color: var(--maroon);
  border: 1px solid rgba(30, 58, 138, .22);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-badge.light {
  background: rgba(255, 255, 255, .15);
  color: rgba(255, 255, 255, .90);
  border-color: rgba(255, 255, 255, .30);
}

.section-title {
  font-size: clamp(1.7rem, 3.8vw, 2.3rem);
  font-weight: 800;
  color: var(--maroon-dark);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.section-title.light {
  color: var(--white);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 560px;
  margin: 0 auto;
}

.section-subtitle.light {
  color: rgba(255, 255, 255, .80);
}

/* ---------------------------------------------------------------
   10. FEATURE CARDS
--------------------------------------------------------------- */
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  border: 1px solid var(--border-warm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--icon-color, var(--maroon));
  border-radius: var(--radius) var(--radius) 0 0;
  opacity: 0;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon-wrap {
  width: 58px;
  height: 58px;
  background: color-mix(in srgb, var(--icon-color) 10%, white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--icon-color);
  margin-bottom: 16px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon-wrap {
  background: var(--icon-color);
  color: var(--white);
  transform: scale(1.1) rotate(5deg);
}

.feature-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 8px;
}

.feature-text {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin: 0;
}

/* ---------------------------------------------------------------
   11. PROGRAM CARDS
--------------------------------------------------------------- */
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 2px solid var(--border-warm);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.program-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--prog-color, var(--maroon));
}

/* Featured badge */
.featured-program {
  border-color: var(--gold) !important;
}

.prog-featured-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--gold-light);
  color: var(--maroon-dark);
  font-size: 0.70rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  z-index: 2;
}

.program-icon {
  background: var(--prog-bg, #fef2f2);
  padding: 26px;
  text-align: center;
  font-size: 2.2rem;
  color: var(--prog-color, var(--maroon));
  transition: var(--transition);
}

.program-card:hover .program-icon {
  background: var(--prog-color, var(--maroon));
  color: var(--white);
}

.program-body {
  padding: 18px 20px 10px;
  flex: 1;
}

.program-type {
  display: inline-block;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--prog-color, var(--maroon));
  background: var(--prog-bg, #fef2f2);
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 8px;
}

.program-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 8px;
}

.program-desc {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 10px;
}

.program-highlights {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.program-highlights li {
  font-size: 0.79rem;
  color: var(--text-mid);
  display: flex;
  align-items: center;
  gap: 5px;
}

.program-highlights .bi-check2 {
  color: #059669;
  font-weight: 800;
}

.program-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  border-top: 1px solid var(--border);
}

.program-duration {
  font-size: 0.78rem;
  color: var(--text-light);
  font-weight: 500;
}

.program-apply-btn {
  font-size: 0.83rem;
  font-weight: 700;
  color: var(--prog-color, var(--maroon));
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.program-apply-btn:hover {
  gap: 8px;
  color: var(--prog-color, var(--maroon));
}

/* ---------------------------------------------------------------
   12. PLACEMENTS SECTION
--------------------------------------------------------------- */
.placement-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-warm);
  padding: 22px 20px;
  height: 100%;
  transition: var(--transition);
}

.placement-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--pl-color, var(--maroon));
}

.placement-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--pl-color) 10%, white);
  color: var(--pl-color, var(--maroon));
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.placement-card:hover .placement-icon {
  background: var(--pl-color, var(--maroon));
  color: var(--white);
}

.placement-content h5 {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 6px;
}

.placement-content p {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

/* Recruiter band */
.recruiter-band {
  background: var(--white);
  border: 1px solid var(--border-warm);
  border-radius: var(--radius);
  padding: 28px 0 24px;
  overflow: hidden;
}

.recruiter-label {
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 18px;
  padding: 0 30px;
}

.recruiter-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.recruiter-logos span {
  background: var(--maroon-light);
  color: var(--maroon);
  font-weight: 700;
  font-size: 0.80rem;
  padding: 6px 14px;
  border-radius: 4px;
  border: 1px solid var(--border-warm);
  transition: var(--transition);
}

/* ---------------------------------------------------------------
   12b. LOGO MARQUEE CAROUSEL
--------------------------------------------------------------- */

/* Wrapper clips the overflow and adds fade edges */
.logo-marquee-wrapper {
  overflow: hidden;
  position: relative;
}

.logo-marquee-wrapper::before,
.logo-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.logo-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

/* The scrolling track */
.logo-marquee {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: marquee-left 32s linear infinite;
}

.logo-marquee:hover {
  animation-play-state: paused;
}

.logo-marquee--reverse {
  animation-name: marquee-right;
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Individual logo tile cards */
.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 140px;
  height: 88px;
  background: var(--white);
  border: 1.5px solid var(--border-warm);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  transition: var(--transition);
  flex-shrink: 0;
  cursor: default;
  position: relative;
  overflow: hidden;
}

.logo-tile::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--red-bright));
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.logo-tile:hover {
  border-color: var(--maroon);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.logo-tile:hover::before {
  transform: scaleX(1);
}

/* Real logo images inside tiles */
.logo-tile>img {
  max-height: 44px;
  max-width: 110px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: var(--transition);
}

.logo-tile:hover>img {
  filter: grayscale(0%);
}

/* Icon + text fallback tile */
.logo-fallback,
.logo-tile--text {
  display: flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-align: center;
}

.logo-fallback span,
.logo-tile--text span {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  white-space: nowrap;
}

.logo-fallback i {
  color: var(--maroon);
}


/* ---------------------------------------------------------------
   13. R-NET SECTION
--------------------------------------------------------------- */
.rnet-section {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon) 60%, #7f1d1d 100%);
  position: relative;
  overflow: hidden;
}

.rnet-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, .12) 0%, transparent 70%);
  top: -150px;
  right: -100px;
  pointer-events: none;
}

.rnet-overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.rnet-desc {
  color: rgba(255, 255, 255, .85);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.rnet-desc strong {
  color: var(--gold-light);
}

.rnet-points {
  list-style: none;
  padding: 0;
  margin: 0 0 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rnet-points li {
  color: rgba(255, 255, 255, .88);
  font-size: 0.90rem;
  display: flex;
  align-items: center;
}

.rnet-points li i {
  color: var(--gold-light);
}

.rnet-points li strong {
  color: var(--white);
}

.btn-rnet-apply {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark) !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 8px 24px rgba(245, 158, 11, .50);
  transition: var(--transition);
  display: inline-block;
}

.btn-rnet-apply:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(245, 158, 11, .65);
}

.rnet-info-card {
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .20);
  border-radius: var(--radius);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.rnet-info-header {
  background: rgba(255, 255, 255, .14);
  padding: 14px 22px;
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
}

.rnet-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.rnet-info-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  font-size: 0.86rem;
}

.rnet-info-list li span {
  color: rgba(255, 255, 255, .65);
}

.rnet-info-list li strong {
  color: var(--white);
}

.btn-rnet-card-apply {
  background: var(--gold-light);
  color: var(--maroon-dark);
  font-weight: 800;
  font-size: 0.9rem;
  border: none;
  padding: 12px;
  border-radius: 0;
  display: block;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
}

.btn-rnet-card-apply:hover {
  background: var(--gold);
  color: var(--maroon-dark);
}

/* ---------------------------------------------------------------
   14. ADMISSION PROCESS
--------------------------------------------------------------- */
.steps-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  position: relative;
}

.steps-wrapper::before {
  content: '';
  position: absolute;
  top: 50px;
  left: calc(12.5% + 25px);
  right: calc(12.5% + 25px);
  height: 3px;
  background: linear-gradient(90deg, var(--maroon), var(--gold-light));
  z-index: 0;
}

@media (max-width:767px) {
  .steps-wrapper::before {
    display: none;
  }
}

.step-item {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.step-circle {
  width: 74px;
  height: 74px;
  background: var(--white);
  border: 3px solid var(--maroon);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  font-size: 1.4rem;
  color: var(--maroon);
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.step-circle.active {
  background: linear-gradient(135deg, var(--maroon), var(--red-bright));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(139, 0, 0, .45);
}

.step-circle:hover {
  background: var(--maroon);
  color: var(--white);
  transform: scale(1.08);
}

.step-number {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  position: absolute;
  bottom: 5px;
  right: 7px;
  opacity: 0.55;
}

.step-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 6px;
}

.step-desc {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ---------------------------------------------------------------
   15. DATES SECTION
--------------------------------------------------------------- */
.date-card {
  border-radius: var(--radius);
  padding: 28px 24px;
  height: 100%;
  border: 2px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.date-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
}

.date-card--open {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.date-card--open::before {
  background: linear-gradient(90deg, #059669, #34d399);
}

.date-card--deadline {
  background: #fff7ed;
  border-color: #fed7aa;
}

.date-card--deadline::before {
  background: linear-gradient(90deg, #ea580c, #fb923c);
}

.date-card--interview {
  background: var(--maroon-light);
  border-color: var(--border-warm);
}

.date-card--interview::before {
  background: linear-gradient(90deg, var(--maroon), var(--red-bright));
}

.date-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.date-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 1.5rem;
  color: var(--text-mid);
}

.date-card--open .date-card-header i {
  color: #059669;
}

.date-card--deadline .date-card-header i {
  color: #ea580c;
}

.date-card--interview .date-card-header i {
  color: var(--maroon);
}

.date-status-badge {
  font-size: 0.70rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #059669;
  color: #fff;
}

.date-status-badge.deadline {
  background: #ea580c;
}

.date-status-badge.interview {
  background: var(--maroon);
}

.date-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--maroon-dark);
  margin-bottom: 12px;
}

.date-value {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.date-day {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1;
  color: var(--maroon-dark);
}

.date-month {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.date-year {
  display: block;
  font-size: 0.82rem;
  color: var(--text-mid);
  font-weight: 500;
}

.date-card-note {
  font-size: 0.81rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* Countdown */
.countdown-wrapper {
  background: var(--maroon-dark);
  border-radius: var(--radius);
  padding: 32px 36px;
  color: var(--white);
}

.countdown-label {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, .70);
  margin-bottom: 16px;
  font-weight: 500;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.countdown-block {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  text-align: center;
  min-width: 80px;
}

.countdown-block span {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold-light);
}

.countdown-block small {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, .55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.countdown-sep {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold-light);
  padding-bottom: 18px;
}

/* ---------------------------------------------------------------
   16. TESTIMONIALS
--------------------------------------------------------------- */
.testimonials-section {
  background: linear-gradient(135deg, var(--maroon-dark), var(--maroon), #7f1d1d);
  position: relative;
  overflow: hidden;
}

.testimonials-section::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 158, 11, .10) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  pointer-events: none;
}

.testimonial-card {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-lg);
  padding: 40px 50px;
  max-width: 760px;
  margin: 0 auto 60px;
  backdrop-filter: blur(10px);
  text-align: center;
}

.testimonial-quote {
  font-size: 2.8rem;
  color: var(--gold-light);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.7;
}

.testimonial-text {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, .90);
  line-height: 1.80;
  font-style: italic;
  margin-bottom: 24px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--gold-light);
  object-fit: cover;
}

.testimonial-name {
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1px;
  text-align: left;
}

.testimonial-program {
  color: rgba(255, 255, 255, .60);
  font-size: 0.79rem;
  display: block;
  text-align: left;
}

.testimonial-stars {
  color: var(--gold-light);
  font-size: 0.82rem;
  text-align: left;
  margin-top: 3px;
}

.carousel-ctrl-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition);
}

.carousel-ctrl-icon:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--maroon-dark);
}

.carousel-control-prev,
.carousel-control-next {
  width: 56px;
  opacity: 1;
}

.custom-indicators {
  bottom: -10px;
}

.custom-indicators button {
  width: 10px !important;
  height: 10px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .35) !important;
  border: none !important;
  transition: var(--transition) !important;
}

.custom-indicators button.active {
  background: var(--gold-light) !important;
  width: 26px !important;
  border-radius: 5px !important;
}

/* ---------------------------------------------------------------
   17. CTA SECTION
--------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--maroon) 0%, var(--red-bright) 60%, var(--maroon-dark) 100%);
  position: relative;
  overflow: hidden;
}

.cta-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(245, 158, 11, .15) 0%, transparent 60%),
    radial-gradient(ellipse at 85% 50%, rgba(255, 255, 255, .05) 0%, transparent 60%);
  pointer-events: none;
}

.cta-heading {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  margin: 12px 0 14px;
}

.cta-subtext {
  font-size: 1rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.75;
  margin: 0;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark) !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 6px;
  border: none;
  box-shadow: 0 8px 26px rgba(245, 158, 11, .55);
  transition: var(--transition);
  display: inline-block;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 38px rgba(245, 158, 11, .70);
}

.btn-cta-secondary {
  background: rgba(255, 255, 255, .12);
  color: var(--white) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 28px;
  border-radius: 6px;
  border: 2px solid rgba(255, 255, 255, .40);
  transition: var(--transition);
  display: inline-block;
}

.btn-cta-secondary:hover {
  background: rgba(255, 255, 255, .22);
  border-color: rgba(255, 255, 255, .70);
  transform: translateY(-3px);
  color: var(--white) !important;
}

.cta-assurance {
  font-size: 0.80rem;
  color: rgba(255, 255, 255, .55);
  margin: 0;
}

.cta-assurance i {
  color: rgba(255, 255, 255, .70);
}

/* ---------------------------------------------------------------
   18. FOOTER
--------------------------------------------------------------- */
.footer-section {
  background: #0d0202;
}

.footer-top {
  padding: 60px 0 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
}

.footer-about {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, .50);
  line-height: 1.75;
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, .55);
}

.footer-contact-item i {
  color: var(--gold-light);
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, .65);
}

.footer-contact-item a:hover {
  color: var(--gold-light);
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--gold-light);
  margin-bottom: 16px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  color: rgba(255, 255, 255, .55);
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

.footer-links a i {
  font-size: 0.62rem;
  color: var(--gold-light);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-newsletter-text {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, .50);
  margin-bottom: 12px;
}

.newsletter-input-group {
  display: flex;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .14);
}

.newsletter-input {
  flex: 1;
  background: rgba(255, 255, 255, .07);
  border: none;
  outline: none;
  color: var(--white);
  padding: 10px 12px;
  font-size: 0.84rem;
  font-family: inherit;
}

.newsletter-input::placeholder {
  color: rgba(255, 255, 255, .30);
}

.newsletter-btn {
  background: linear-gradient(135deg, var(--maroon), var(--red-bright));
  border: none;
  color: var(--white);
  padding: 10px 16px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.newsletter-btn:hover {
  background: var(--gold-light);
  color: var(--maroon-dark);
}

.newsletter-msg {
  font-size: 0.78rem;
  margin-top: 7px;
  min-height: 14px;
}

.newsletter-msg.success {
  color: #4ade80;
}

.newsletter-msg.error {
  color: #f87171;
}

.social-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.social-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .10);
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, .60);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
  transform: translateY(-3px);
}

.affiliation-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.affil-badge {
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 4px;
  padding: 5px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .70);
}

.footer-bottom {
  padding: 16px 0;
}

.footer-bottom small,
.footer-bottom a {
  color: rgba(255, 255, 255, .35);
  font-size: 0.78rem;
}

.footer-bottom a:hover {
  color: rgba(255, 255, 255, .75);
}

/* ---------------------------------------------------------------
   19. BACK TO TOP
--------------------------------------------------------------- */
#back-to-top {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--maroon), var(--red-bright));
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.05rem;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(139, 0, 0, .45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  z-index: 999;
}

#back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

#back-to-top:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--maroon-dark);
  transform: translateY(-4px);
}

/* ---------------------------------------------------------------
   20. SCROLL ANIMATIONS
--------------------------------------------------------------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.60s ease, transform 0.60s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.10s !important;
}

.delay-2 {
  transition-delay: 0.20s !important;
}

.delay-3 {
  transition-delay: 0.30s !important;
}

.animate-fade-up {
  animation: fadeUp 0.85s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.animate-fade-up.delay-2 {
  animation-delay: 0.25s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------------------------------------------------------------
   21. RESPONSIVE
--------------------------------------------------------------- */
@media (max-width:991px) {
  .hero-section {
    padding: 50px 0 80px;
  }

  .hero-content-wrap {
    padding: 30px 0 10px;
  }

  .hero-form-card {
    margin: 0 0 50px;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 4px;
  }

  .stat-divider {
    display: none;
  }

  .stat-item {
    padding: 4px 10px;
  }

  #main-navbar .navbar-collapse {
    background: var(--white);
    border-radius: var(--radius);
    margin-top: 10px;
    padding: 10px;
    box-shadow: var(--shadow);
  }

  .btn-apply-nav {
    margin: 8px 0 4px;
  }

  .ribbon-item {
    padding: 5px 14px;
  }
}

@media (max-width:767px) {
  .section-padding {
    padding: 56px 0;
  }

  .testimonial-card {
    padding: 28px 20px;
  }

  .countdown-wrapper {
    padding: 24px 16px;
  }

  .countdown-block {
    min-width: 64px;
    padding: 10px 14px;
  }

  .countdown-block span {
    font-size: 1.5rem;
  }

  .steps-wrapper {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width:479px) {
  .hero-heading {
    font-size: 1.85rem;
  }

  .hero-badges-row {
    gap: 5px;
  }

  .hero-pill {
    font-size: 0.68rem;
    padding: 3px 9px;
  }
}