:root {
  --gmiu-red: #be1e2d;
  --gmiu-navy: #002147;
  --gmiu-gold: #f5c518;
  --gmiu-light: #f4f6f9;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: 'Inter', sans-serif;
}

/* NAVBAR */
#mainNav {
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 0;
}

#mainNav .navbar-brand img {
  height: 52px;
}

#mainNav .nav-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gmiu-navy) !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0.85rem 0.6rem !important;
  display: flex;
  align-items: center;
  gap: 5px;
  border-bottom: none;
  transition: color 0.2s;
  white-space: nowrap;
}

#mainNav .nav-link:hover,
#mainNav .nav-link.active {
  color: var(--gmiu-red) !important;
  border-bottom: none;
}

#mainNav .nav-link i {
  font-size: 0.85rem;
  color: var(--gmiu-red);
}

.btn-nav-apply {
  background: var(--gmiu-red) !important;
  color: #fff !important;
  border-radius: 6px !important;
  padding: 0.5rem 1rem !important;
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  border: none !important;
  transition: background 0.2s;
  text-align: center;
  line-height: 1.2;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

#mainNav .btn-nav-apply,
#mainNav .btn-nav-apply:hover,
#mainNav .btn-nav-apply:active,
#mainNav .btn-nav-apply:focus {
  color: #fff !important;
}

/* HERO */
.hero-wrap {
  background-color: #f4f6f9;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 90px;
  padding-bottom: 50px;
  overflow: hidden;
}

.hero-wrap::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 450px;
  background: #a7b6e6;

  clip-path: path("M0,180 C180,180 220,20 420,40 C620,60 680,120 860,100 C1050,80 1080,-20 1280,20 C1380,40 1440,80 1440,80 L1440,450 L0,450 Z");

  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  right: 0%;
  top: 0%;
  max-height: 85vh;
  width: 55%;
  object-fit: contain;
  object-position: top right;
  z-index: 1;
  pointer-events: none;
}

@media (max-width: 991px) {
  .hero-bg-img {
    right: 0;
    width: 100%;
    opacity: 0.2;
    object-position: bottom center;
  }
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(238, 242, 246, 0.9);
  border: 1px solid #d1d5db;
  color: #1f2937;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #1f2937;
  border-radius: 50%;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
  padding: 7px 15px;
  color: #1f2937;
  font-size: 0.83rem;
  font-weight: 600;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.hero-pill i {
  color: var(--gmiu-gold);
}

.btn-hero-dark {
  background: var(--gmiu-navy);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(0, 33, 71, 0.25);
  transition: all 0.3s;
}

.btn-hero-dark:hover {
  background: #001530;
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 12px 25px rgba(0, 33, 71, 0.35);
}

.btn-hero-out-dark {
  background: #fff;
  color: var(--gmiu-navy);
  border: 1px solid var(--gmiu-navy);
  border-radius: 8px;
  padding: 12px 28px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s;
}

.btn-hero-out-dark:hover {
  background: var(--gmiu-navy);
  color: #fff;
}

.hero-glass {
  background: rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  position: relative;
  margin-top: 260px;

}

.hero-reg-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero-reg-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.hero-login-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.8rem;
  text-align: center;
  transition: transform 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.hero-login-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.btn-hero-red {
  background: var(--gmiu-red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(190, 30, 45, 0.4);
  transition: all 0.3s;
}

.btn-hero-red:hover {
  background: #9a0a18;
  transform: translateY(-2px);
  color: #fff;
}

/* SECTION HEADERS */
.section-label {
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gmiu-red);
  margin: 0;
}

.section-divider {
  width: 50px;
  height: 4px;
  background: var(--gmiu-red);
  border-radius: 3px;
  margin: 12px auto 0;
}

/* ABOUT */
.feature-pill {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.25s;
}

.feature-pill:hover {
  transform: translateX(5px);
  box-shadow: 0 4px 20px rgba(190, 30, 45, 0.1);
}

.fpill-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(190, 30, 45, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fpill-icon i {
  color: var(--gmiu-red);
  font-size: 1.15rem;
}

/* DEPARTMENTS */
.dept-card {
  border: none;
  border-radius: 14px;
  padding: 2rem 1.5rem;
  text-align: center;
  background: #fff;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
  height: 100%;
}

.dept-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(190, 30, 45, 0.15);
}

.dept-icon {
  width: 65px;
  height: 65px;
  border-radius: 14px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
}

/* PROCESS */
.step-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 900;
  flex-shrink: 0;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.step-line {
  width: 3px;
  height: 50px;
  background: rgba(190, 30, 45, 0.15);
  margin-left: 0px;
}

/* WHY GMIU */
.why-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
  height: 100%;
  border-top: 4px solid transparent;
}

.why-card:hover {
  transform: translateY(-6px);
  border-top-color: var(--gmiu-red);
  box-shadow: 0 15px 35px rgba(190, 30, 45, 0.12);
}

.why-icon {
  width: 58px;
  height: 58px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  font-size: 1.4rem;
}

/* TESTIMONIALS */
.testi-card {
  background: #fff;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.07);
  height: 100%;
  border-left: 4px solid var(--gmiu-red);
  transition: all 0.3s;
}

.testi-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(190, 30, 45, 0.12);
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--gmiu-navy) 0%, #00356b 55%, var(--gmiu-red) 100%);
}

/* FOOTER */
footer {
  background: var(--gmiu-navy);
}

.foot-link {
  color: rgba(255, 255, 255, 0.6) !important;
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  padding: 3px 0;
  transition: color 0.2s;
}

.foot-link:hover {
  color: #fff !important;
}

/* FLOATING WIDGET */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}

.float-cta a {
  background: var(--gmiu-red);
  color: #fff;
  border-radius: 50px;
  padding: 11px 20px;
  font-weight: 700;
  font-size: 0.82rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(190, 30, 45, 0.45);
  display: flex;
  align-items: center;
  gap: 7px;
  transition: all 0.3s;
  white-space: nowrap;
}

.float-cta a:hover {
  background: #9a0a18;
  transform: scale(1.05);
}

@media(max-width:991px) {
  #mainNav .nav-link {
    border-bottom: none;
    padding: 0.6rem 1rem !important;
  }

  .hero-wrap {
    padding-top: 80px;
  }

  .row {
    --bs-gutter-x: 1rem;
  }
}

@media(max-width:767px) {
  .hero-wrap .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero-glass {
    margin-top: 2rem;
  }

  .dept-card {
    padding: 1.5rem 1rem;
  }

  .why-card,
  .testi-card {
    padding: 1.5rem;
  }
}

@media(max-width:575px) {

  h1,
  .display-5,
  .display-6 {
    word-break: break-word;
  }

  .float-cta {
    bottom: 16px;
    right: 16px;
  }

  .float-cta a {
    padding: 9px 14px;
    font-size: 0.78rem;
  }
}

:root {
  --bg-main: #ffffff;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --violet-primary: #eeb407;
  --violet-glow: rgba(211, 191, 244, 0.4);
  --cyan-glow: rgba(201, 242, 255, 0.55);
  --gold-primary: #eeb407;
  --gold-bright: #642bf3;
  --card-bg: rgba(255, 255, 255, 0.8);
  --card-bd: rgba(148, 163, 184, 0.15);
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  padding: 6rem 4rem 2rem;
  overflow: hidden;
  background: var(--bg-main);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%,
      black,
      transparent);
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  animation: drift 15s ease-in-out infinite;
}

.orb-1 {
  width: 500px;
  height: 500px;
  background: var(--violet-glow);
  opacity: 0.6;
  top: -5%;
  right: -5%;
}

.orb-2 {
  width: 450px;
  height: 450px;
  background: var(--cyan-glow);
  opacity: 0.7;
  bottom: 5%;
  left: -5%;
  animation-delay: -5s;
}

@keyframes drift {

  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, -20px);
  }
}

.hero-left {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f9fee29f;
  border: 1px solid rgba(139, 92, 246, 0.18);
  border-radius: 100px;
  padding: 0.4rem 1rem;
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.2s forwards;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: red;
}

.hero-title {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: clamp(2.5rem, 4.8vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 2rem;
  color: var(--text-primary);
  opacity: 0;
  animation: fade-up 0.8s ease 0.4s forwards;
}

.hero-title .line-1 {
  display: block;
}

.hero-title .line-2 {
  display: flex;
  align-items: baseline;
  flex-wrap: nowrap;
}

.word-cycle-wrapper {
  position: relative;
  display: inline-block;
  height: 1.2em;
  overflow: hidden;
  vertical-align: bottom;
}

.word-cycle {
  display: flex;
  flex-direction: column;
  transition: transform 0.55s cubic-bezier(0.77, 0, 0.175, 1);
}

.word-item {
  height: 1.2em;
  line-height: 1.2em;
  white-space: nowrap;
  font-style: normal;
  font-weight: 700;
}

.word-item:nth-child(odd) {
  color: var(--gold-bright);
}

.word-item:nth-child(2n) {
  color: var(--violet-primary);
}

.cta-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up 0.8s ease 0.6s forwards;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #c9f2ff;
  color: #0c4a6e;
  padding: 0.9rem 2rem;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(201, 242, 255, 0.4);
}

.btn-hero-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(201, 242, 255, 0.6);
  color: #0c4a6e;
}

.btn-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s;
}

.btn-hero-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  opacity: 0;
  animation: fade-up 0.8s ease 0.8s forwards;
}

.stat-num {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1;
}

.stat-num span {
  color: var(--text-primary);
}

.stat-label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-top: 0.35rem;
}

.stat-divider {
  width: 1px;
  height: 44px;
  background: rgba(148, 163, 184, 0.2);
  align-self: center;
}

.hero-right {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 620px;
  opacity: 0;
  animation: fade-in 1.2s ease 0.5s forwards;
}

#neural-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.float-cards {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-color: transparent;
}

.fcard {
  position: absolute;
  background: 0 0;
  border: 1px solid var(--card-bd);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 1rem 1.2rem;
  min-width: 180px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  opacity: 0;
  pointer-events: auto;
  cursor: default;
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
  animation: card-in 0.7s ease forwards;
}

.fcard:hover {
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
  transform: translateY(-4px) scale(1.02) !important;
}

.fcard-1 {
  top: 6%;
  left: 2%;
  animation:
    card-in 1.2s ease 1.2s forwards,
    float-1 7s ease-in-out infinite 1.9s;
}

.fcard-2 {
  bottom: 22%;
  right: 0;
  animation:
    card-in 0.7s ease 1.5s forwards,
    float-2 9s ease-in-out infinite 2.2s;
}

.fcard-3 {
  bottom: 8%;
  left: 8%;
  animation:
    card-in 0.7s ease 1.8s forwards,
    float-3 8s ease-in-out infinite 2.5s;
}

.fcard-4 {
  top: 18%;
  right: 4%;
  animation:
    card-in 0.7s ease 2.1s forwards,
    float-4 6s ease-in-out infinite 2.8s;
}

@keyframes float-1 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes float-2 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

@keyframes float-3 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@keyframes float-4 {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(14px);
  }
}

@keyframes card-in {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.fcard-icon {
  font-size: 1.4rem;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.fcard-label {
  font-family: "Space Grotesk", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  margin-bottom: 0.2rem;
}

.fcard-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.fcard-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  margin-top: 0.5rem;
}

.badge-violet {
  background: rgba(139, 92, 246, 0.1);
  color: var(--violet-primary);
}

.badge-gold {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-soft {
  background: #f0fdf4;
  color: #15803d;
}

.badge-dim {
  background: #f8fafc;
  color: #64748b;
  border: 1px solid #e2e8f0;
}

.center-glyph {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffffd3;
  border: 2px solid #a3fbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
  animation: glyph-pulse 3s ease-in-out infinite;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@keyframes glyph-pulse {

  0%,
  100% {
    box-shadow: 0 0 30px rgba(56, 189, 248, 0.3);
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    box-shadow: 0 0 45px rgba(56, 189, 248, 0.5);
    transform: translate(-50%, -50%) scale(1.04);
  }
}

.glyph-inner {
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: #0369a1;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(139, 92, 246, 0.12);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: expand-ring 4s ease-out infinite;
  pointer-events: none;
}

.ring-1 {
  width: 130px;
  height: 130px;
  animation-delay: 0s;
}

.ring-2 {
  width: 220px;
  height: 220px;
  animation-delay: 1.3s;
}

.ring-3 {
  width: 340px;
  height: 340px;
  animation-delay: 2.6s;
}

@keyframes expand-ring {
  0% {
    opacity: 0.6;
    transform: translate(-50%, -50%) scale(0.8);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.15);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 2rem 2rem;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title .line-2 {
    justify-content: center;
  }

  .hero-right {
    display: none;
  }

  .stats-row {
    gap: 2rem;
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 2.5rem;
  }

  #neural-canvas {
    overflow: hidden;
  }
}