/* ============================================
   CrimeX Landing — Modern UI Override
   Sits on top of existing CSS for a sleeker,
   more professional look.
   ============================================ */

/* ---------- Design Tokens ---------- */
:root {
  --navy: #0f172a;
  --navy-mid: #1a2342;
  --navy-light: #1e293b;
  --coral: #2563EB;
  --coral-hover: #1D4ED8;
  --coral-glow: rgba(37, 99, 235, 0.25);
  --surface: #ffffff;
  --surface-alt: #f7f8fc;
  --surface-dark: #f0f1f7;
  --text-primary: #111827;
  --text-secondary: #4b5563;
  --text-muted: #9ca3af;
  --border-light: rgba(0, 0, 0, 0.06);
  --shadow-xs: 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.10);
  --shadow-xl: 0 30px 70px rgba(0, 0, 0, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Base ---------- */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
  color: var(--text-secondary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  font-weight: 700 !important;
}

p {
  line-height: 1.7;
  color: var(--text-secondary);
}

a {
  transition: all 0.25s var(--ease);
}

::selection {
  background: var(--coral);
  color: #fff;
}

/* ---------- Header ---------- */
.header-nav-menu {
  transition: all 0.4s var(--ease);
  border-bottom: none !important;
}

header.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.header-nav-menu.fixed-top {
  background: rgba(13, 17, 55, 0.92) !important;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.navbar-button a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 26px !important;
  border-radius: 50px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em;
  background: var(--coral) !important;
  color: #fff !important;
  text-transform: none !important;
  transition: all 0.3s var(--ease) !important;
  box-shadow: 0 4px 15px var(--coral-glow);
}

.navbar-button a:hover {
  background: var(--coral-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px var(--coral-glow);
}

/* ---------- Banner / Hero ---------- */
.banner {
  background: linear-gradient(160deg, #0a0f1e 0%, #0f172a 40%, #162044 100%) !important;
  padding: 160px 0 80px !important;
  position: relative;
}

.banner::before {
  display: none;
}

.svg-shape {
  z-index: 1 !important;
  overflow: visible !important;
}

.svg-shape path {
  fill: var(--surface) !important;
}

/* ---------- Section Titles (universal) ---------- */
.feature-title h6,
.tech-stack-title h6,
.mvp-specs-title h6,
.team-title h6,
section h6.orange,
.advertise-title h6 {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--coral) !important;
}

.feature-title h2,
.tech-stack-title h2,
.mvp-specs-title h2,
.team-title h2 {
  font-size: 42px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
  color: var(--text-primary) !important;
}

.feature-title h2 span.orange,
.tech-stack-title h2 span.orange,
.mvp-specs-title h2 span.orange,
.team-title h2 span.orange {
  color: var(--coral) !important;
  background: linear-gradient(135deg, var(--coral), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-title p,
.tech-stack-title p,
.mvp-specs-title p {
  font-size: 16px;
  color: var(--text-muted) !important;
  max-width: 560px;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* ---------- Feature Cards ---------- */
.feature {
  background: var(--surface) !important;
}

.feature-box {
  background: var(--surface) !important;
  border: 1px solid var(--border-light) !important;
  border-bottom: 3px solid !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.35s var(--ease) !important;
  position: relative;
  overflow: hidden;
}

.feature-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.feature-box:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-radius: var(--radius-md) !important;
}

.feature-icon i {
  box-shadow: none !important;
  border: none !important;
  font-size: 32px !important;
  height: 80px !important;
  width: 80px !important;
  line-height: 80px !important;
  transition: all 0.35s var(--ease);
}

.feature-box h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
}

.feature-box p {
  font-size: 14px !important;
  line-height: 1.65 !important;
  color: var(--text-muted) !important;
}

.feature-box .btn-orange,
.feature-box .btn-blue,
.feature-box .btn-green,
.feature-box .btn-purple {
  border-radius: 50px !important;
  padding: 10px 22px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: all 0.3s var(--ease) !important;
}

.feature-box:hover .btn-orange,
.feature-box:hover .btn-blue,
.feature-box:hover .btn-green,
.feature-box:hover .btn-purple {
  transform: translateY(0);
}

/* ---------- VR Experience / Advertise ---------- */
.advertise-inner {
  background: linear-gradient(135deg, #0a0f1e 0%, #0f172a 50%, #222222 100%) !important;
  border-radius: var(--radius-lg) !important;
  border-bottom: none !important;
  overflow: hidden;
  box-shadow: var(--shadow-xl) !important;
}

.advertise-inner .overlay {
  opacity: 0.05 !important;
}

.advertise-title h2.white {
  font-size: 38px !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

.advertise-body p {
  color: rgba(255, 255, 255, 0.7) !important;
  font-size: 15px;
  line-height: 1.7;
}

.advertise-body .btn-orange {
  background: var(--coral) !important;
  color: #fff !important;
  border: none !important;
  border-radius: 50px !important;
  padding: 12px 28px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 20px var(--coral-glow) !important;
}

.advertise-body .btn-orange:hover {
  background: var(--coral-hover) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 107, 88, 0.35) !important;
}

.advertise-right img {
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.25));
  transition: transform 0.5s var(--ease);
}

.advertise-right:hover img {
  transform: scale(1.03);
}

/* ---------- Tech Stack ---------- */
.tech-stack,
section.tech-stack {
  background: var(--surface-alt) !important;
}

.tech-box {
  background: var(--surface) !important;
  border: 1px solid var(--border-light) !important;
  border-radius: var(--radius-md) !important;
  box-shadow: var(--shadow-xs) !important;
  transition: all 0.35s var(--ease) !important;
}

.tech-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
  border-color: rgba(255, 107, 88, 0.15) !important;
}

.tech-box .tech-icon i {
  font-size: 36px !important;
  transition: transform 0.35s var(--ease);
}

.tech-box:hover .tech-icon i {
  transform: scale(1.1);
}

.tech-box h5 {
  font-size: 17px !important;
  font-weight: 700 !important;
}

.tech-box p {
  font-size: 14px !important;
  color: var(--text-muted) !important;
}

/* ---------- MVP Specifications ---------- */
.mvp-specs {
  background: var(--surface) !important;
}

.mvp-feature-group {
  padding: 28px;
  background: var(--surface) !important;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  transition: all 0.35s var(--ease);
  height: 100%;
}

.mvp-feature-group:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(255, 107, 88, 0.12);
}

.mvp-feature-group h4 {
  font-size: 18px !important;
  font-weight: 700 !important;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mvp-list li {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.mvp-list li i.green {
  color: #10b981 !important;
  font-size: 14px;
}

/* Coming Soon box */
.coming-soon-section {
  background: linear-gradient(135deg, rgba(255, 107, 88, 0.06), rgba(255, 107, 88, 0.02)) !important;
  border: 1px solid rgba(255, 107, 88, 0.12) !important;
  border-radius: var(--radius-md) !important;
}

.coming-soon-section .badge {
  background: rgba(255, 107, 88, 0.08) !important;
  border: 1px solid rgba(255, 107, 88, 0.12);
  border-radius: 50px !important;
  font-weight: 500 !important;
  transition: all 0.25s var(--ease);
}

.coming-soon-section .badge:hover {
  background: rgba(255, 107, 88, 0.14) !important;
  transform: translateY(-1px);
}

/* ---------- Counter ---------- */
.counter-inner {
  background: linear-gradient(160deg, #0a0f1e 0%, #0f172a 50%, #222222 100%) !important;
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-xl) !important;
  overflow: hidden;
}

.counter-inner .overlay {
  opacity: 0.08 !important;
  border-radius: var(--radius-lg);
}

.counter-box-body .orange.h1 {
  font-size: 54px !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--coral), #93C5FD);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-box-body .white.h5 {
  font-size: 15px !important;
  font-weight: 500 !important;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

.counter-icon i {
  opacity: 0.7;
}

/* ---------- Team Section ---------- */
.team {
  background: var(--surface-alt) !important;
}

.team-title h2 {
  font-size: 42px !important;
}

.leader-card .avatar {
  border: 3px solid var(--coral) !important;
  box-shadow: 0 10px 40px rgba(255, 107, 88, 0.2) !important;
  transition: all 0.4s var(--ease) !important;
}

.leader-card .avatar:hover {
  box-shadow: 0 15px 50px rgba(255, 107, 88, 0.3) !important;
  transform: scale(1.04) !important;
}

.leader-card .role {
  background: linear-gradient(135deg, var(--coral), #60A5FA) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
  padding: 6px 18px !important;
  border-radius: 50px !important;
}

.member-card .avatar {
  border: 2px solid #e5e7eb !important;
  transition: all 0.4s var(--ease) !important;
}

.member-card:hover .avatar {
  border-color: var(--coral) !important;
  box-shadow: 0 10px 30px rgba(255, 107, 88, 0.15) !important;
}

.member-card h5 {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: var(--text-primary) !important;
}

/* ---------- Partner ---------- */
.partner-inner {
  border-radius: var(--radius-lg) !important;
  box-shadow: var(--shadow-md) !important;
  border: 1px solid var(--border-light);
}

.partner-slider img {
  opacity: 1;
}

/* ---------- Footer ---------- */
footer.bg-blue {
  background: linear-gradient(180deg, #0a0f1e 0%, #070c1a 100%) !important;
}

/* Contact form - refine */
.contact-form-section {
  border-radius: var(--radius-lg) !important;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25) !important;
}

.intent-pill {
  border-radius: 50px !important;
  font-weight: 500 !important;
  transition: all 0.25s var(--ease) !important;
}

.submit-btn {
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
  transition: all 0.3s var(--ease) !important;
}

/* Footer links */
.footer-body h5 {
  font-size: 14px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
}

.footer-body ul li a {
  font-size: 14px;
  opacity: 0.7;
  transition: all 0.25s var(--ease);
}

.footer-body ul li a:hover {
  opacity: 1;
  color: var(--coral) !important;
  padding-left: 4px;
}

.footer-socials i {
  transition: all 0.3s var(--ease) !important;
  border-radius: 50% !important;
}

.footer-socials i:hover {
  background-color: var(--coral) !important;
  transform: translateY(-3px);
}

.copyright p {
  font-size: 13px;
  opacity: 0.5;
  letter-spacing: 0.02em;
}

.divider-pattern {
  background: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.04) 1px, transparent 1px, transparent 6px) !important;
}

/* ---------- Back to Top ---------- */
#back-to-top a {
  border-radius: 50% !important;
  background: var(--coral) !important;
  border: none !important;
  box-shadow: 0 6px 20px var(--coral-glow) !important;
  transition: all 0.3s var(--ease) !important;
}

#back-to-top a:hover {
  background: var(--navy) !important;
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg) !important;
}

/* ---------- Buttons (global refinements) ---------- */
.btn {
  border-radius: 50px !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-transform: none !important;
  transition: all 0.3s var(--ease) !important;
  font-family: 'Inter', sans-serif !important;
}

.btn:hover {
  transform: translateY(-2px);
}

/* ---------- Scroll Animations (AOS overrides) ---------- */
[data-aos] {
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* ---------- Smooth Section Spacing ---------- */
section.py-10,
.py-10 {
  padding-top: 100px !important;
  padding-bottom: 100px !important;
}

/* ---------- Responsive Polish ---------- */
@media (max-width: 768px) {

  .feature-title h2,
  .tech-stack-title h2,
  .mvp-specs-title h2,
  .team-title h2 {
    font-size: 30px !important;
  }

  .advertise-title h2.white {
    font-size: 28px !important;
  }

  .counter-box-body .orange.h1 {
    font-size: 40px !important;
  }

  .mvp-feature-group {
    padding: 20px;
  }

  section.py-10,
  .py-10 {
    padding-top: 70px !important;
    padding-bottom: 70px !important;
  }
}

@media (max-width: 576px) {
  .banner {
    padding: 160px 0 0 !important;
  }

  .feature-title h2,
  .tech-stack-title h2,
  .mvp-specs-title h2,
  .team-title h2 {
    font-size: 26px !important;
  }

  .counter-box-body .orange.h1 {
    font-size: 34px !important;
  }
}

/* ---------- Scroll targets ---------- */
#partners,
#connect,
#team {
  scroll-margin-top: 100px;
}

/* ---------- Nav links ---------- */
.navbar-nav .nav-link {
  position: relative;
  transition: color 0.25s var(--ease) !important;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--coral);
  border-radius: 1px;
  transition: all 0.3s var(--ease);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 20px;
}

/* ---------- New Sections ---------- */
.platforms .col-lg-4 > div,
.roles .col-lg-4 > div,
.roles .col-md-6 > div,
.educators .col-sm-6 > div {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.platforms h2,
.roles h2,
.educators h2 {
  font-family: 'Inter', sans-serif !important;
  color: var(--text-primary) !important;
}

.platforms h2 span.orange,
.roles h2 span.orange {
  background: linear-gradient(135deg, var(--coral), #60A5FA);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Misc polish ---------- */
img {
  image-rendering: auto;
}

/* Subtle fade for section backgrounds */
.bg-grey,
.bg-lightgrey {
  background-color: var(--surface-alt) !important;
}

/* Input refinements */
input[type=text],
input[type=email],
input[type=number],
input[type=search],
input[type=password],
textarea,
select {
  border-radius: var(--radius-sm) !important;
  font-family: 'Inter', sans-serif !important;
  transition: all 0.3s var(--ease);
}

input:focus,
textarea:focus,
select:focus {
  box-shadow: 0 0 0 3px rgba(255, 107, 88, 0.1) !important;
  border-color: var(--coral) !important;
}

/* Accent line under sections */
.feature-title::after,
.tech-stack-title::after,
.mvp-specs-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), #60A5FA);
  border-radius: 2px;
  margin: 20px auto 0;
}

/* ---------- Credentials Section ---------- */
.credentials {
  background: var(--surface-alt);
}

.credential-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.credential-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.12);
}

.credential-card .card-inner {
  padding: 40px 36px;
}

@media (max-width: 767px) {
  .credential-card .card-inner {
    padding: 28px 20px;
  }
}

.credential-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

.credential-badge i {
  font-size: 12px;
  color: var(--coral);
}

.credential-badge span {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.credential-card h3 {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-primary) !important;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.credential-card .card-date {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
  font-weight: 500;
}

.credential-card .card-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 540px;
}

.credential-card .card-desc-secondary {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 540px;
}

.credential-card .btn-view-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--text-primary);
  color: #fff !important;
  border: none;
  border-radius: 50px;
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  transition: all 0.3s var(--ease);
}

.credential-card .btn-view-more:hover {
  transform: translateY(-1px);
  opacity: 0.85;
}

.credential-card .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-secondary) !important;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 50px;
  padding: 11px 26px;
  font-size: 13px;
  font-weight: 700;
  text-transform: none;
  transition: all 0.3s var(--ease);
}

.credential-card .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.25);
}

.credential-sidebar {
  padding: 28px 32px;
}

@media (max-width: 767px) {
  .credential-sidebar {
    padding: 20px;
  }
}

.credential-sidebar h6 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted) !important;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.credential-figure {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.03);
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: background 0.3s var(--ease);
}

.credential-figure:hover {
  background: rgba(0, 0, 0, 0.05);
}

.credential-figure .figure-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.credential-figure .figure-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.credential-figure .figure-role {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0;
}

.credential-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.04);
  padding: 5px 12px;
  border-radius: 50px;
  display: inline-block;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.instructor-chip {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(0, 0, 0, 0.04);
  padding: 7px 14px;
  border-radius: 50px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  display: inline-block;
  transition: background 0.3s var(--ease);
}

.instructor-chip:hover {
  background: rgba(0, 0, 0, 0.08);
}

/* ---------- Gallery Strip ---------- */
.gallery-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 4px;
}

.gallery-row::-webkit-scrollbar {
  display: none;
}

.gallery-thumb {
  position: relative;
  flex: 0 0 120px;
  height: 80px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(0, 0, 0, 0.08);
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.gallery-thumb:hover {
  border-color: rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--ease);
}

.gallery-thumb:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.gallery-overlay i {
  color: #fff;
  font-size: 18px;
}

.gallery-thumb:hover .gallery-overlay {
  opacity: 1;
}

@media (min-width: 768px) {
  .gallery-thumb {
    flex: 0 0 140px;
    height: 95px;
    border-radius: 12px;
  }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s var(--ease);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
  transition: opacity 0.15s ease;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
  z-index: 10;
  line-height: 1;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 36px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s var(--ease);
  z-index: 10;
  line-height: 1;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.18);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-counter {
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

@media (max-width: 767px) {
  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 28px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}

/* ============================================
   PREMIUM ANIMATIONS & MICRO-INTERACTIONS
   ============================================ */

/* ---------- Page Load Overlay ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  background: #0a0f1e;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease), visibility 0.6s var(--ease);
}

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader .loader-ring {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--coral);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Hero Staggered Entrance ---------- */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}


.banner::after {
  display: none;
}

/* ---------- Smooth Section Reveals ---------- */
[data-aos="fade-up"] {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-aos="fade-right"] {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

[data-aos="zoom-in-up"] {
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* ---------- Platform Cards Hover Glow ---------- */
.platforms .col-lg-4 > div[style] {
  position: relative;
}

.platforms .col-lg-4 > div[style]::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 16px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  pointer-events: none;
}

.platforms .col-lg-4:nth-child(1) > div[style]::after {
  box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.2), 0 0 30px rgba(37, 99, 235, 0.08);
}

.platforms .col-lg-4:nth-child(2) > div[style]::after {
  box-shadow: inset 0 0 0 1px rgba(20, 138, 218, 0.2), 0 0 30px rgba(20, 138, 218, 0.08);
}

.platforms .col-lg-4:nth-child(3) > div[style]::after {
  box-shadow: inset 0 0 0 1px rgba(194, 96, 251, 0.2), 0 0 30px rgba(194, 96, 251, 0.08);
}

.platforms .col-lg-4 > div[style]:hover::after {
  opacity: 1;
}

/* ---------- Credential Card Hover Enhancement ---------- */
.credential-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s var(--ease) !important;
}

.credential-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08) !important;
}

/* ---------- Button Press / Active States ---------- */
.btn:active,
.credential-card .btn-view-more:active,
.credential-card .btn-secondary:active,
.navbar-button a:active {
  transform: translateY(0) scale(0.97) !important;
  transition-duration: 0.1s !important;
}

/* ---------- Button Shimmer on Hover ---------- */
@keyframes btnShimmer {
  from { left: -100%; }
  to { left: 100%; }
}

.credential-card .btn-view-more::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: none;
}

.credential-card .btn-view-more:hover::after {
  animation: btnShimmer 0.6s ease forwards;
}

.credential-card .btn-view-more {
  position: relative;
  overflow: hidden;
}

/* ---------- Smooth SVG Wave Transition ---------- */
.svg-shape svg {
  transition: transform 0.3s var(--ease);
}

.svg-shape {
  margin-top: -2px;
}

/* ---------- Team Avatar Stagger ---------- */
.team-grid .member-card:nth-child(1) { animation: heroFadeUp 0.6s 0.1s cubic-bezier(0.16, 1, 0.3, 1) both; }
.team-grid .member-card:nth-child(2) { animation: heroFadeUp 0.6s 0.15s cubic-bezier(0.16, 1, 0.3, 1) both; }
.team-grid .member-card:nth-child(3) { animation: heroFadeUp 0.6s 0.2s cubic-bezier(0.16, 1, 0.3, 1) both; }
.team-grid .member-card:nth-child(4) { animation: heroFadeUp 0.6s 0.25s cubic-bezier(0.16, 1, 0.3, 1) both; }
.team-grid .member-card:nth-child(5) { animation: heroFadeUp 0.6s 0.3s cubic-bezier(0.16, 1, 0.3, 1) both; }
.team-grid .member-card:nth-child(6) { animation: heroFadeUp 0.6s 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }
.team-grid .member-card:nth-child(7) { animation: heroFadeUp 0.6s 0.4s cubic-bezier(0.16, 1, 0.3, 1) both; }
.team-grid .member-card:nth-child(8) { animation: heroFadeUp 0.6s 0.45s cubic-bezier(0.16, 1, 0.3, 1) both; }
.team-grid .member-card:nth-child(9) { animation: heroFadeUp 0.6s 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; }

/* ---------- Partner Logo Hover ---------- */
.partner-slider .d-flex {
  transition: transform 0.4s var(--ease);
}

.partner-slider .d-flex:hover {
  transform: translateY(-3px);
}

.partner-slider img {
  transition: filter 0.4s var(--ease), transform 0.4s var(--ease) !important;
  filter: grayscale(30%);
}

.partner-slider .d-flex:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

/* ---------- Form Input Focus Glow ---------- */
footer input:focus,
footer textarea:focus {
  border-color: rgba(37, 99, 235, 0.4) !important;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.08) !important;
}

/* ---------- Floating Gradient Line Accent ---------- */
@keyframes gradientLine {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

footer > div > div > div:last-child > div:first-child {
  background: linear-gradient(90deg, transparent, var(--coral), #60A5FA, transparent) !important;
  background-size: 200% 100%;
  animation: gradientLine 3s linear infinite;
  height: 1px !important;
}

/* ---------- Credential Badge Pulse ---------- */
.credential-badge i {
  animation: subtlePulse 2s ease-in-out infinite;
}

@keyframes subtlePulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

/* ---------- Gallery Thumb Shine ---------- */
.gallery-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
  border-radius: inherit;
}

/* ---------- Smooth Scroll Behavior ---------- */
html {
  scroll-behavior: smooth !important;
}

/* ---------- Section Fade Transition Lines ---------- */
.platforms,
.credentials,
.team,
footer {
  position: relative;
}

.platforms::before,
.credentials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), #60A5FA);
  border-radius: 2px;
  opacity: 0.4;
}

/* ---------- Back to Top Smooth ---------- */
#back-to-top {
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

#back-to-top a {
  background: var(--coral) !important;
  border: none !important;
  box-shadow: 0 6px 25px rgba(37, 99, 235, 0.3) !important;
}

#back-to-top a:hover {
  background: var(--coral-hover) !important;
  box-shadow: 0 10px 35px rgba(37, 99, 235, 0.4) !important;
}

/* ---------- Focus Visible for Accessibility ---------- */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .page-loader {
    display: none;
  }
}
