:root {
  --primary: #0F3350;
  --primary-rgb: 15,51,80;
  --primary-600: #0B2233;
  --secondary: #3E6A8A;
  --accent: #1AA7A1;
  --accent-hover: #0F8F87;
  --bg: #F5F7FA;
  --card: #FFFFFF;
  --muted: #526478;
  --text: #0B1A23;
  --light: #FFFFFF;
  --light-rgb: 255,255,255;
  --shadow: 0 6px 18px rgba(11,26,35,0.06);
  --bs-red: rgba(179,25,66,0.12);
  --bs-blue: #1E6FA3;
}

/* Base */

body {
  font-family: Oswald, "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background-color: var(--primary);
  /*color: var(--light);*/
  margin: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Generic readable text helper */

.new-color-text {
  color: var(--light);
}

/* Logo in nav */

.logo-nav-top {
  width: 113px;
  border-radius: 100%;
  border: 1px solid rgba(var(--light-rgb), 0.45);
  background-clip: padding-box;
}

/* Click icon */

.click-here-icon {
  color: var(--light);
  font-size: xx-large;
}

/* Nav button(s) - keep bootstrap variable but safer background */

.nav-button {
  --bs-primary: #011d54;
  --bs-primary-rgb: 1,29,84;
  background: rgba(var(--light-rgb), 0.18);
  color: var(--primary);
  border: 1px solid rgba(var(--light-rgb), 0.08);
  padding: 8px 14px;
  border-radius: 6px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

.nav-button:hover, .nav-button:focus {
  background: rgba(var(--light-rgb), 0.22);
  transform: translateY(-1px);
  box-shadow: var(--shadow);
  outline: none;
}

/* Top nav bar background (flag overlay retained) */

.nav-bar-bg {
  background: url("../../assets/img/flags/USA-Flag-Cornor.png") top right / 9em no-repeat, linear-gradient(90deg, rgba(var(--primary-rgb),0.85), rgba(62,106,138,0.85));
}

/* Footer */

.footer-bg {
  background-color: var(--primary-600);
  color: #C9D8DE;
}

/* Ensure nav items readable */

.nav-item-color {
  color: var(--light) !important;
}

/* Course card background - swapped to gentle surface */

.course-bg {
  margin: 3%;
  padding: 3%;
  font-family: Inter, sans-serif;
  background: var(--card);
  border-radius: 10px;
  box-shadow: 9px 6px var(--bs-red);
  color: var(--text);
}

/* AI image area */

.ai-images {
  padding: 3%;
  color: var(--bs-blue);
  text-align: center;
  background: transparent;
  margin: 3%;
}

/* Breadcrumbs - replaced bright green with accent */

.breadcrumb-span {
  color: var(--accent);
}

/* Carousel text */

#textCarousel {
  color: var(--light);
}

/* School banners - replacing purple strips with desaturated banner + accent highlights */

.school-banner, .school-banner-wide, .school-banner-small {
  background: linear-gradient(90deg, var(--secondary) 0%, rgba(62,106,138,0.92) 100%);
  color: var(--light);
  padding: 28px 24px;
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

/* Small tag/checkbox / badges inside banners */

.school-banner .tag, .school-banner .badge, .school-banner input[type="checkbox"] {
  background: rgba(var(--light-rgb), 0.06);
  border: 1px solid rgba(var(--light-rgb), 0.08);
  color: var(--light);
}

.school-banner .tag.accent {
  background: var(--accent);
  color: var(--light);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.08);
}

/* Student count strip (statistics) */

.stats-strip {
  background: var(--secondary);
  color: var(--light);
  padding: 18px 12px;
  border-radius: 6px;
}

.stats-strip .stat-number {
  color: var(--accent);
  font-weight: 700;
}

/* Accreditation area */

.accreditation {
  background: var(--bg);
  border-radius: 6px;
  padding: 18px;
  color: var(--text);
}

/* Apply Now CTA box */

.apply-now {
  background: linear-gradient(180deg, var(--bg), #eef4f8);
  padding: 32px;
  border-radius: 6px;
  text-align: center;
  color: var(--text);
}

.apply-now .btn-primary {
  background: var(--accent);
  color: var(--light);
  padding: 12px 22px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background .12s ease, transform .08s ease, box-shadow .12s ease;
}

.apply-now .btn-primary:hover, .apply-now .btn-primary:focus {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,167,161,0.12);
  outline: 3px solid rgba(26,167,161,0.12);
}

/* Partners logo strip */

.partners-strip {
  background: rgba(var(--light-rgb), 0.94);
  padding: 12px 8px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(11,26,35,0.04);
}

/* Footer links */

.site-footer a {
  color: #C9D8DE;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--light);
  text-decoration: underline;
}

/* Utility: readable cards on dark backgrounds */

.card-on-dark {
  background: rgba(var(--light-rgb), 0.03);
  border: 1px solid rgba(var(--light-rgb), 0.04);
  padding: 18px;
  border-radius: 10px;
  color: var(--light);
}

/* Accessibility - focus outlines for keyboard users */

:focus {
  outline: 3px solid rgba(var(--accent-hover), 0.12);
  outline-offset: 2px;
}

/* Small screens adjustments (minor improvements) */

@media (max-width: 768px) {
  .logo-nav-top {
    width: 86px;
  }
}

@media (max-width: 768px) {
  .nav-button {
    padding: 8px 10px;
  }
}

@media (max-width: 768px) {
  .school-banner {
    padding: 20px 14px;
  }
}

/* TemplateMo 597 Neural Glass

https://templatemo.com/tm-597-neural-glass */

/* CSS Document */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: #000;
  color: #34263b!important;
  overflow-x: hidden;
  min-height: 100vh;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Enhanced background colors - Purple/Pink/Green palette */

.neural-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  background: radial-gradient(circle at 15% 85%, rgba(75, 0, 130, 0.7) 0%, transparent 50%), radial-gradient(circle at 85% 15%, rgba(139, 37, 99, 0.8) 0%, transparent 50%), radial-gradient(circle at 45% 60%, rgba(128, 0, 128, 0.6) 0%, transparent 50%), radial-gradient(circle at 70% 40%, rgba(34, 139, 34, 0.4) 0%, transparent 50%), linear-gradient(135deg, #0a0a0a 0%, #2d1b3d 50%, #000000 100%);
  animation: backgroundPulse 14s ease-in-out infinite;
}

@keyframes backgroundPulse {
  0%, 100% {
    filter: brightness(0.9) saturate(1.4) hue-rotate(0deg);
  }
  33% {
    filter: brightness(1.1) saturate(1.7) hue-rotate(15deg);
  }
  66% {
    filter: brightness(1.0) saturate(1.5) hue-rotate(-10deg);
  }
}

/* Floating geometric shapes */

.geometric-shapes {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 1px solid rgba(0, 255, 255, 0.3);
  animation: floatShape 20s linear infinite;
}

.shape:nth-child(1) {
  width: 100px;
  height: 100px;
  left: 10%;
  animation-delay: 0s;
  border-color: rgba(255, 105, 180, 0.4);
}

.shape:nth-child(2) {
  width: 60px;
  height: 60px;
  left: 70%;
  animation-delay: -5s;
  border-radius: 50%;
  border-color: rgba(147, 112, 219, 0.4);
}

.shape:nth-child(3) {
  width: 80px;
  height: 80px;
  left: 30%;
  animation-delay: -10s;
  transform: rotate(45deg);
  border-color: rgba(224, 163, 255, 0.4);
}

.shape:nth-child(4) {
  width: 120px;
  height: 120px;
  left: 50%;
  animation-delay: -15s;
  clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
  background: linear-gradient(45deg, rgba(255, 105, 180, 0.1), transparent);
}

@keyframes floatShape {
  from {
    transform: translateY(100vh) rotate(0deg);
    opacity: 0;
  }
  10%, 90% {
    opacity: 1;
  }
  to {
    transform: translateY(-100px) rotate(360deg);
    opacity: 0;
  }
}

/* Neural network lines */

.neural-lines {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

.neural-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, #00ffff, transparent);
  height: 1px;
  animation: neuralPulse 3s ease-in-out infinite;
}

.neural-line:nth-child(1) {
  top: 20%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #e0a3ff, transparent);
  animation-delay: 0s;
}

.neural-line:nth-child(2) {
  top: 60%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #ff69b4, transparent);
  animation-delay: -1s;
}

.neural-line:nth-child(3) {
  top: 40%;
  left: 0;
  width: 100%;
  background: linear-gradient(90deg, transparent, #9370db, transparent);
  animation-delay: -2s;
}

@keyframes neuralPulse {
  0%, 100% {
    opacity: 0.2;
    transform: scaleX(0.5);
  }
  50% {
    opacity: 1;
    transform: scaleX(1);
  }
}

/* Glassmorphism styles */

.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.glass-strong {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

@media (max-width: 1024px) {
  .feature-row {
    flex-direction: column;
    gap: 40px;
    min-height: 720px;
  }
}

@media (max-width: 1024px) {
  .feature-row:nth-child(even) {
    flex-direction: column;
  }
}

@media (max-width: 1024px) {
  .feature-content {
    flex: 0;
  }
}

@media (max-width: 1024px) {
  .feature-visual {
    height: 250px;
    width: 100%;
  }
}

@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 1024px) {
  .timeline-line {
    left: 30px;
  }
}

@media (max-width: 1024px) {
  .timeline-item, .timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-left: 80px;
    padding-right: 0;
  }
}

@media (max-width: 1024px) {
  .timeline-dot {
    left: 30px;
  }
}

@media (max-width: 1024px) {
  .timeline-content {
    max-width: 100%;
  }
}

@media (max-width: 1000px) {
  .nav-links {
    display: none;
  }
}

@media (max-width: 1000px) {
  .mobile-menu-toggle {
    display: flex;
  }
}

@media (max-width: 768px) {
  .hero-content {
    padding: 40px 20px;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
}

@media (max-width: 768px) {
  .hero-description p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 40px auto 35px;
  }
}

@media (max-width: 768px) {
  .hero-stat {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .hero-stat-number {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .hero-subtitle::before, .hero-subtitle::after {
    width: 25px;
  }
}

@media (max-width: 768px) {
  .hero-subtitle::before {
    left: -35px;
  }
}

@media (max-width: 768px) {
  .hero-subtitle::after {
    right: -35px;
  }
}

@media (max-width: 768px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}

/* Update the existing hexagon styles for mobile */

@media (max-width: 768px) {
  .hexagon {
    width: 280px;
    height: 320px;
    margin: 30px auto;
  }
}

@media (max-width: 768px) {
  .hexagon-inner {
    padding: 60px 35px;
  }
}

@media (max-width: 768px) {
  .hexagon-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .hexagon h4 {
    font-size: 1.6rem;
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .hexagon p {
    font-size: 1.1rem;
    max-width: 200px;
    line-height: 1.6;
  }
}

@media (max-width: 768px) {
  .hexagon-container {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .section-title {
    margin-bottom: 60px;
  }
}

@media (max-width: 768px) {
  .features, .showcase, .timeline, .contact {
    padding: 80px 0;
  }
}

@media (max-width: 768px) {
  .timeline {
    padding: 60px 0;
  }
}

@media (max-width: 768px) {
  .footer-links {
    gap: 20px;
    margin-bottom: 25px;
  }
}

@media (max-width: 768px) {
  .footer-links a {
    font-size: 0.85rem;
  }
}

/* Enhanced scrollbar */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.8);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(45deg, #00ffff, #ff0080);
  border-radius: 6px;
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(45deg, #ff0080, #8000ff);
  box-shadow: 0 0 15px rgba(255, 0, 128, 0.7);
}

