/* ===== CSS Variables & Base ===== */
:root {
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --color-bg: #0f172a;
  --color-bg-alt: #1e293b;
  --color-surface: #334155;
  --color-text: #f1f5f9;
  --color-text-muted: #94a3b8;
  --color-accent: #0ea5e9;
  --color-accent-hover: #38bdf8;
  --color-accent-dim: rgba(14, 165, 233, 0.15);
  --color-border: rgba(255, 255, 255, 0.06);
  --max-width: 1200px;
  --header-h: 72px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.25s ease;
  --transition-slow: 0.35s ease;
    --nx-blue: #1d4ed8;        /* Academic Blue */
  --nx-blue-dark: #1e3a8a;
  --nx-yellow: #facc15;      /* Bright Yellow */
  --nx-gold: #f59e0b;        /* Gold Accent */
  --nx-white: #ffffff;
  --nx-text: #0f172a;
  --nx-gray: #64748b;

}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), opacity var(--transition);
}

ul,
ol {
  list-style: none;
}

/* ===== Layout ===== */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.section {
  padding: var(--space-xl) 0;
  background: #063e98;
}

.section--alt {
  background: var(--color-bg-alt);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section-intro {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto var(--space-lg);
}

/* ===== Header & Nav ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background:white;
  border-bottom:1px solid #ddd;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition), box-shadow var(--transition);
  height: 100px;
}

.header-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.03);
}

.logo img{
height:80px;
width:auto;
object-fit:contain;
 mix-blend-mode: multiply;
}

.logo .logo-fallback {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

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

.site-footer .logo img {
  height: 40px;
}

.main-nav > ul {
display:flex;
align-items:center;
gap:var(--space-md);
color: #1e293b;
}

.main-nav a {
  font-weight: 500;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius);
  position: relative;
  overflow: hidden;
}

.main-nav a:hover {
  color: var(--color-accent);
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-accent-hover));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

/* Dropdown – stacked vertically, one beneath the other */
/* ===== Dropdown ===== */

.has-dropdown {
position:relative;
}

/* Arrow */

.dropdown-trigger::after{
content:'';
border-left:4px solid transparent;
border-right:4px solid transparent;
border-top:5px solid currentColor;
margin-left:6px;
display:inline-block;
}

/* Desktop dropdown */

.dropdown{

position:absolute;

top:100%;

left:0;

margin-top:6px;

min-width:220px;

background:var(--color-surface);

border:1px solid var(--color-border);

border-radius:var(--radius);

opacity:0;

visibility:hidden;

transform:translateY(-8px);

transition:.3s;

box-shadow:0 16px 48px rgba(0,0,0,.35);

}


/* IMPORTANT FIX */

.dropdown li{
display:block;
width:100%;
}


/* Vertical layout */

.dropdown{
display:block;
}


.dropdown a{

display:block;

padding:12px 18px;

border-bottom:1px solid var(--color-border);

}


.dropdown a:last-child{
border-bottom:none;
}


/* Show dropdown */

.has-dropdown:hover .dropdown{

opacity:1;

visibility:visible;

transform:translateY(0);

}



/* Buttons */

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  z-index: 2;
}

.slider-btn:hover {
  background: var(--color-accent);
  color: white;
}

.prev {
  left: -10px;
}

.next {
  right: -10px;
}





/* ===== Locations Section ===== */

.locations-wrapper {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  justify-content: center;
  flex-wrap: wrap;
}


/* Big Location Cards */

.location-card {
  flex: 1;
  max-width: 420px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 30px;
  text-align: center;
  transition: all .3s ease;
  position: relative;
}



.location-card:hover {
  transform: translateY(1130px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 3);
}


.location-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: var(--color-accent);
}



/* Title */

.location-card h3 {
  font-size: 22px;
  margin-bottom: 10px;
}


.location-card p {
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-size: 15px;
}


@media(max-width:768px) {
  .locations-wrapper {
    flex-direction: column;
    align-items: center;
  }
}


/* Nav toggle (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  color: #0f172a;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
  color: #1e293b;
  background: #000;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 767px) {

  :root {
    --header-h: 60px;
  }

  .nav-toggle {
    display: flex;
  }


  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-h));
    background: var(--color-bg);
    padding: 20px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
    margin-top: 40px;
    background: white;
  }


  .main-nav.is-open {
    transform: translateX(0);
  }


  .main-nav ul {
    display: flex;
    flex-direction: column;
    gap: 0;
    height: auto;
  }


  .main-nav a {
    display: block;
    padding: 16px;
    font-size: 18px;
    border-bottom: 1px solid var(--color-border);
  }

}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-10px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-accent);
  border: 2px solid var(--color-accent);
}

.btn-secondary:hover {
  background: var(--color-accent-dim);
  color: var(--color-accent-hover);
}

.btn--large {
  padding: 1rem 2rem;
  font-size: 1.05rem;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, var(--color-accent-dim) 0%, transparent 50%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(14, 165, 233, 0.06) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.hero-bg--image {
  background-color: var(--color-bg);
  background-image:
    linear-gradient(105deg, rgba(15, 23, 42, 0.94) 0%, rgba(15, 23, 42, 0.8) 42%, transparent 62%),
    url("Best coaching classes in GrantRoad.png");

  background-size: cover;
  background-position: left center;
  background-repeat: no-repeat;
}

@media(max-width:768px){
.hero-bg--image{
background-position: right bottom;
background-size: cover;
min-height: 400px;
padding-top:40px;
padding-bottom:40px;
}
}





/* Vision Mission Motto Images */

.vmm-card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 1px;
}

.vmm-card__icon img {
  width: 200px;         .vmm-card__icon {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 5px;
}

.vmm-card__icon img {

  width: 180px;      /* Bigger but balanced */
  height: 130px;     /* Must be same as width */

  object-fit: contain;   /* Prevent image cropping */

  border-radius: 50%;    /* Perfect Circle */

  padding: 18px;         /* Space inside circle */

  background: rgba(255,255,255,0.08); /* Matches dark theme */

  box-shadow: 0 8px 25px rgba(0,0,0,0.35);
}

  height: 80px;
  object-fit: cover;

  border-radius: 50%; 

  background: transparent; /* Remove white box effect */

  padding: 10px;          /* Spacing inside circle */

  box-shadow: 0 6px 20px rgba(0,0,0,0.25); /* Nice premium look */
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  align-items: center;
  min-height: calc(100vh - var(--header-h));
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

@media (min-width: 992px) {
  .hero-inner {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }
}

.hero-content {
  max-width: 560px;
}

.hero-content .reveal {
  opacity: 0;
}

.hero-content .reveal.revealed {
  animation: heroTextIn 0.8s ease forwards;
}

.hero-content .hero-title.reveal.revealed {
  animation-delay: 0.1s;
}

.hero-content .hero-tagline.reveal.revealed {
  animation-delay: 0.25s;
}

.hero-content .hero-cta.reveal.revealed {
  animation-delay: 0.4s;
}

@keyframes heroTextIn {
  from {
    opacity: 0;
    transform: translateX(-24px);
  }

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.25rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-md);
  max-width: 14ch;
}

.hero-title em {
  color: var(--color-accent);
  font-style: normal;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  max-width: 42ch;
  margin-bottom: var(--space-lg);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Hero right: image cards */
.hero-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 992px) {
  .hero-cards {
    max-width: none;
    gap: var(--space-md);
    margin: 0;
  }
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.4s ease;
  background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-bg-alt) 100%);
}

.hero-card--1 {
  background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%);
}

.hero-card--2 {
  background: linear-gradient(135deg, #8b5cf6 0%, #5b21b6 100%);
}

.hero-card--3 {
  background: linear-gradient(135deg, #f59e0b 0%, #b45309 100%);
}

.hero-card--4 {
  background: linear-gradient(135deg, #10b981 0%, #047857 100%);
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.hero-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 4), 0 0 0 1px rgba(14, 165, 233, 2);
}

.hero-card:hover img {
  transform: scale(1.08);
}

.hero-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero-card:hover .hero-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* When image fails to load, show overlay by default */
.hero-card img[style*="display: none"]+.hero-card__overlay {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered animation for hero cards */
.hero-card--1.reveal {
  animation-delay: 0.2s;
}

.hero-card--2.reveal {
  animation-delay: 0.35s;
}

.hero-card--3.reveal {
  animation-delay: 0.5s;
}

.hero-card--4.reveal {
  animation-delay: 0.65s;
}

.hero-card.reveal {
  opacity: 0;
  transform: translateY(30px) scale(0.95);
}

.hero-card.reveal.revealed {
  animation: heroCardIn 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

/* ===== Cards ===== */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: transform var(--transition-slow), border-color var(--transition), box-shadow var(--transition-slow);
}

.card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(14, 165, 233, 0.4);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: var(--space-sm);
}

.card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 600px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  text-align: center;
  padding: var(--space-lg);
  transition: transform var(--transition);
}

.stat:hover {
  transform: scale(1.05);
}

.stat-num {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: var(--space-xs);
}

.stat-label {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  background: #063e98;
}

.cta-section .section-intro {
  margin-bottom: var(--space-md);
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: var(--space-xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
  align-items: start;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: var(--space-xl);
  }
}

.footer-brand .logo {
  font-size: 1.25rem;
}

.footer-brand p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-top: var(--space-xs);
}

.footer-links h4,
.footer-contact h4 {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.footer-links ul li+li {
  margin-top: var(--space-xs);
}

.footer-links a:hover {
  color: var(--color-accent);
}

.footer-contact p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.footer-copy {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* ===== Page-specific: About ===== */
.page-hero {
  padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
  text-align: center;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  margin-bottom: var(--space-sm);
}

.page-hero p {
  color: var(--color-text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

.about-content {
  max-width: 720px;
  margin: 0 auto;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.about-content p:last-child {
  margin-bottom: 0;
}

/* Vision, Mission & Motto cards – with icons and hover */
.vmm-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

@media (min-width: 768px) {
  .vmm-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    align-items: stretch;
  }
}

.vmm-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.25s ease;
}

.vmm-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(14, 165, 233, 0.03) 100%);
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.vmm-card:hover {
  transform: translateY(-18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 3);
  border-color: rgba(14, 165, 233, 0.35);
}

.vmm-card:hover::before {
  opacity: 1;
}

.vmm-card__icon {
  width: 72px;
  height: 72px;
  margin: 0 auto var(--space-md);
  color: var(--color-accent);
  transition: transform 0.35s ease, color 0.25s ease;
}

.vmm-card__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.vmm-card:hover .vmm-card__icon {
  transform: scale(1.12);
  color: var(--color-accent-hover);
}

.vmm-card--vision .vmm-card__icon {
  color: #0ea5e9;
}

.vmm-card--mission .vmm-card__icon {
  color: #8b5cf6;
}

.vmm-card--motto .vmm-card__icon {
  color: #f59e0b;
}

.vmm-card--vision:hover .vmm-card__icon {
  color: #38bdf8;
}

.vmm-card--mission:hover .vmm-card__icon {
  color: #a78bfa;
}

.vmm-card--motto:hover .vmm-card__icon {
  color: #fbbf24;
}

.vmm-card__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.vmm-card__text {
  color: var(--color-text-muted);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

.vmm-card__text--motto {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--color-accent);
}

.vmm-card__detail {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  opacity: 0.9;
}

.vmm-card:hover .vmm-card__text,
.vmm-card:hover .vmm-card__detail {
  color: var(--color-text);
}

.vmm-card:hover .vmm-card__text--motto {
  color: var(--color-accent-hover);
}

/* ===== Page-specific: Courses ===== */
.course-block {
  scroll-margin-top: var(--header-h);
  padding: var(--space-xl) 0;
  border-bottom: 1px solid var(--color-border);
}

.course-block:last-of-type {
  border-bottom: none;
}

.course-block h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  color: var(--color-accent);
}

.course-block p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.course-block ul {
  margin-bottom: var(--space-md);
  padding-left: 1.25rem;
}

.course-block ul li {
  color: var(--color-text-muted);
  margin-bottom: var(--space-xs);
  list-style: disc;
}

.course-block .btn {
  margin-top: var(--space-sm);
}

/* ===== Page-specific: Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-xl);
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: var(--space-md);
}

.contact-info p {
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.contact-form {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
}

.form-group {
  margin-bottom: var(--space-md);
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: var(--space-xs);
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
  opacity: 0.8;
}

.form-error {
  font-size: 0.85rem;
  color: #f87171;
  margin-top: var(--space-xs);
}

.contact-form .btn {
  width: 100%;
  margin-top: var(--space-sm);
}

/* ===== Scroll-in animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal.revealed {
    transform: none;
  }

  .card:hover {
    transform: none;
  }

  .vmm-card:hover {
    transform: none;
  }

  .vmm-card:hover .vmm-card__icon {
    transform: none;
  }

  .hero-card:hover {
    transform: none;
  }

  .hero-card:hover img {
    transform: none;
  }

  .btn:hover {
    transform: none;
  }

  .stat:hover {
    transform: none;
  }

  .logo:hover {
    transform: none;
  }

  .hero-content .reveal {
    animation: none;
  }

  .hero-card.reveal.revealed {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

@media (max-width:767px){


.main-nav a{
display:block;
padding:16px 20px;
font-size:18px;
border-bottom:1px solid var(--color-border);
}

.dropdown{
display:none;
padding-left:0;
margin-top:5px;
}

.has-dropdown.is-open .dropdown{
display:block;
}

.dropdown a{
padding:14px 40px;
font-size:16px;
color:var(--color-text-muted);
border-bottom:none;
}

.dropdown-trigger{
position:relative;

}

.has-dropdown.is-open .dropdown-trigger::after{
transform:rotate(180deg);
}

.has-dropdown{
margin-bottom:10px;
}

}

.read-btn {
  margin-top: 15px;
  padding: 10px 18px;
  border: none;
  background: #1e88e5;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.read-btn:hover {
  background: #1565c0;
}


/* Modal Background */

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
}


/* Modal Box */

.modal-content {
  background: #1e88e5;
  width: 90%;
  max-width: 600px;
  margin: 100px auto;
  padding: 30px;
  border-radius: 12px;
  position: relative;
}


/* Close Button */

.close {
  position: absolute;
  right: 20px;
  top: 15px;
  font-size: 28px;
  cursor: pointer;
}


/* WhatsApp Sticky */

.whatsapp-sticky{

position:fixed;

right:20px;

bottom:20px;

background:#25D366;

width:60px;

height:60px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

box-shadow:0px 5px 20px rgba(0,0,0,0.3);

z-index:999;

transition:0.3s;

}


.whatsapp-sticky:hover{

transform:scale(1.1);

}



/* Social Links */

.social-links{

margin-top:15px;

display:flex;

gap:10px;

}


.social{

padding:8px 14px;

border-radius:6px;

font-size:14px;

text-decoration:none;

color:white;

transition:0.3s;

font-weight:500;

}


/* Colors */

.facebook{

background:#1877f2;

}


.instagram{

background:#e4405f;

}


.twitter{

background:#1da1f2;

}


/* Hover */

.social:hover{
opacity:0.8;
}

.choose-grid h2{
text-align:center;
margin-bottom:40px;
}

.choose-content{

display:flex;
gap:40px;
align-items:center;

}

/* LEFT SLIDER */

.choose-slider{
width:70%;
height:300px;
position:relative;
overflow:hidden;
border-radius:10px;
}

.choose-slider img{
width:100%;
height:100%;
object-fit:cover;
position:absolute;
opacity:0;
transition:0.8s;

}

.choose-slider img.active{
opacity:1;
}

.choose-text{
width:60%;
}

.choose-text ul{
list-style:none;
padding:0;
}

.choose-text li{
margin-bottom:18px;
font-size:17px;
line-height:1.6;
}

@media(max-width:768px){

.choose-content{

flex-direction:column;

}

.choose-slider{
width:100%;
}

.choose-text{
width:100%;
}

}









.feature-row{
display:flex;
align-items:center;
gap:50px;
margin-top:50px;
}


.feature-image{
width: 60%;
}

.feature-image img{
width:80%;
height: 200px;
border-radius:12px;
}

.feature-image:hover img{
transform:scale(1.08);
}

.feature-text{
width:50%;
}


.feature-text h3{
font-size:26px;
margin-bottom:10px;
}


.feature-text p{
line-height:1.7;
}


.reverse{
flex-direction:row-reverse;
}


@media(max-width:768px){
.feature-row{
flex-direction:column;
text-align:center;
}

.reverse{
flex-direction:column;
}

.feature-image{
width:80%;
}

.feature-text{
width:100%;
}

}




.testimonial-slider{

overflow:hidden;
margin-top:40px;

}

.testimonial-track{

display:flex;
gap:25px;
transition:0.6s ease;

}


.testimonial-card{

min-width:300px;
background:rgb(22, 2, 56);
padding:25px;
border-radius:15px;
box-shadow:0 10px 30px rgba(0,0,0,0.1);
text-align:center;

}


.student-img{

width:80px;
height:80px;
border-radius:50%;
object-fit:cover;
margin-bottom:15px;

}


.stars{

color:gold;
font-size:20px;
margin-bottom:10px;

}


.testimonial-card p{
font-size:15px;
line-height:1.6;
}

@media(max-width:768px){

.testimonial-card{
min-width:280px;
}

}

/* Button Container */
.about-btn-container {
  text-align: center;
  margin-top: 30px;
}

/* Button Design */
.about-us-btn {
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;

  transition: all 0.3s ease;
  box-shadow: 0px 6px 18px rgba(0,0,0,0.2);
}

/* Hover Effect */
.about-us-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0px 10px 22px rgba(0,0,0,0.3);
}

/* Click Effect */
.about-us-btn:active {
  transform: scale(0.95);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .about-us-btn {
    padding: 10px 22px;
    font-size: 14px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .about-us-btn {
    width: 90%;
    font-size: 15px;
    padding: 12px;
  }
}


.who-we-are {

max-width: 900px;
margin: 60px auto;
padding: 40px;

background: #ffffff;
border-radius: 15px;

box-shadow: 0px 8px 30px rgba(0,0,0,0.08);

line-height: 1.8;
font-size: 17px;

}

.who-we-are h2 {

text-align: center;
font-size: 32px;
margin-bottom: 25px;

color: #0b3d91;

}

.who-we-are p {

margin-bottom: 18px;
color: #444;

}

.who-we-are strong {

color: #128C7E;

}


/* SECTION */
section{padding:80px 10%}
.nx-section-title{text-align:center;font-size:2.2rem;font-weight:800;margin-bottom:40px}

/* BUTTON */
.nx-btn-primary{
background:#1d4ed8;color:#fff;padding:12px 25px;border-radius:30px;display:inline-block
}
.nx-btn-secondary{
background:#facc15;color:#000;padding:12px 25px;border-radius:30px;margin-left:10px
}

/* HERO */
.nx-hero{
background:linear-gradient(135deg,#1e3a8a,#2563eb);
color:#fff;text-align:center;padding:100px 20px
}
.nx-hero h1{font-size:3rem;margin:10px 0}

/* RESULTS */
/* SECTION */
.nx-results {
  padding: 60px 20px;
  text-align: center;
}

/* GRID (2 cards centered) */
.nx-results-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 900px;
  margin: 40px auto;
}

/* CARD */
.nx-result-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  height: 420px; /* BIGGER IMAGE */
  cursor: pointer;
  background: #000;
  transition: all 0.3s ease;
}

/* IMAGE */
.nx-result-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* OVERLAY */
.nx-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 20px;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  transition: 0.3s ease;
}

.nx-overlay h3 {
  margin: 0;
  font-size: 22px;
}

.nx-overlay p {
  margin: 5px 0 0;
  font-size: 16px;
  color: #ffd700;
  font-weight: bold;
}

/* 🔥 FIRECRACKER EFFECT */
.nx-spark {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.nx-result-card:hover .nx-spark::before,
.nx-result-card:hover .nx-spark::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #ffd700;
  border-radius: 50%;
  animation: spark 0.8s ease-out forwards;
}

/* multiple sparks */
.nx-spark::before {
  top: 0;
  left: 0;
}

.nx-spark::after {
  top: 0;
  left: 0;
  animation-delay: 0.2s;
}

/* animation */
@keyframes spark {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(80px, -80px) scale(0.5);
  }
}

/* HOVER EFFECT */
.nx-result-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.nx-result-card:hover img {
  transform: scale(1.1);
}

/* TOP TEXT */
.nx-highlight {
  text-align: center;
  color: #f59e0b;
  font-weight: 700;
  margin-top: 20px;
  font-size: 18px;
}

/* MOBILE */
@media (max-width: 768px) {
  .nx-results-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .nx-result-card {
    height: 320px;
  }
}

.nx-overlay{
position:absolute;bottom:0;width:100%;
background:linear-gradient(to top,rgba(0,0,0,0.8),transparent);
color:#fff;padding:15px
}

.nx-highlight{text-align:center;color:#f59e0b;font-weight:700;margin-top:20px}

/* TIMELINE */
.nx-timeline{
display:flex;flex-wrap:wrap;gap:10px;justify-content:center
}
.nx-timeline span{
background:#1d4ed8;color:#fff;padding:10px;border-radius:20px
}

/* WHY */
.nx-why-grid{
display:grid;grid-template-columns:repeat(4,1fr);gap:20px
}
.nx-why-card{
background:#1e3a8a;color:#fff;padding:25px;border-radius:15px;text-align:center
}

/* SUBJECT */
.nx-subject-grid{
display:grid;grid-template-columns:repeat(4,1fr);gap:20px
}
.nx-subject-grid div{
background:#facc15;padding:15px;text-align:center;border-radius:10px
}

/* FORM */
.nx-form{max-width:400px;margin:auto;display:flex;flex-direction:column;gap:15px}
.nx-form input{padding:12px;border-radius:8px;border:1px solid #ccc}

/* LOCATION */
.nx-location iframe{width:100%;height:250px;margin-top:20px}

/* FOOTER */
.nx-footer{background:#0f172a;color:#fff}
.nx-footer-top{display:flex;justify-content:space-between;padding:40px 10%}
.nx-footer-bottom{text-align:center;padding:10px;background:#020617}

/* MOBILE */
@media(max-width:768px){
section{padding:60px 20px}
.nx-hero h1{font-size:2rem}
.nx-why-grid,.nx-subject-grid{grid-template-columns:1fr 1fr}
.nx-big{grid-column:span 1;height:250px}
}

/* BUTTON WRAPPER */
.nx-cta {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; /* important for mobile */
}

/* BUTTONS */
.nx-btn-primary,
.nx-btn-secondary {
  text-decoration: none;
  text-align: center;
  min-width: 180px;
}

/* MOBILE */
@media (max-width: 768px) {
  .nx-btn-primary,
  .nx-btn-secondary {
    width: 100%;
    max-width: 300px;
  }
}

/* PROGRAM GRID */
.nx-program-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* CARD */
.nx-program-card {
  background: var(--nx-white);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: 0.4s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  border: 1px solid rgba(29, 78, 216, 0.08);
}

/* ICON */
.nx-program-card i {
  font-size: 32px;
  color: var(--nx-blue);
  margin-bottom: 15px;
}

/* TITLE */
.nx-program-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--nx-text);
  margin-bottom: 10px;
}

/* TEXT */
.nx-program-card p {
  font-size: 14px;
  color: var(--nx-gray);
}

/* HOVER EFFECT */
.nx-program-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(29, 78, 216, 0.25);
}

/* TOP ACCENT LINE */
.nx-program-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: linear-gradient(90deg, var(--nx-blue), var(--nx-yellow));
}

/* ICON BACKGROUND CIRCLE */
.nx-program-card i::before {
  display: inline-block;
  padding: 18px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.08);
}

/* HOVER COLOR SHIFT */
.nx-program-card:hover i {
  color: var(--nx-gold);
}

.nx-program-card:hover::after {
  background: linear-gradient(90deg, var(--nx-yellow), var(--nx-blue));
}

/* MOBILE */
@media (max-width: 900px) {
  .nx-program-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nx-program-grid {
    grid-template-columns: 1fr;
  }
}

/* BLOG HERO */
.nx-blog-hero {
  background: linear-gradient(135deg, var(--nx-blue-dark), var(--nx-blue));
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

.nx-blog-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.nx-blog-hero p {
  opacity: 0.9;
}

/* BLOG SECTION */
.nx-blog {
  padding: 80px 0;
}

.nx-blog-grid {
  width: 90%;
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* CARD */
.nx-blog-card {
  background: var(--nx-white);
  border-radius: 18px;
  overflow: hidden;
  transition: 0.3s;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

.nx-blog-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* CONTENT */
.nx-blog-content {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.nx-tag {
  background: var(--nx-yellow);
  color: #000;
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 20px;
  width: fit-content;
  margin-bottom: 10px;
}

.nx-blog-content h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--nx-text-dark);
}

.nx-blog-content p {
  color: var(--nx-gray);
  font-size: 14px;
  flex: 1;
}

/* READ MORE */
.nx-read {
  margin-top: 15px;
  color: var(--nx-blue);
  font-weight: 600;
  text-decoration: none;
}

/* HOVER */
.nx-blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(29,78,216,0.2);
}

/* CTA */
.nx-blog-cta {
  background: var(--nx-light);
  text-align: center;
  padding: 80px 20px;
}

/* RESPONSIVE */
@media (max-width: 992px) {
  .nx-blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .nx-blog-grid {
    grid-template-columns: 1fr;
  }
}

.nx-legacy-msg {
  margin-top: 30px;
  color: yellow;
  text-align: center;
}

@media (max-width: 600px) {
  .nx-legacy-msg {
    grid-template-columns: 1fr;
  }
}

/* SECTION */
.nx-faculty {
  padding: 70px 20px;
  text-align: center;
}

/* TITLE */
.nx-section-title {
  font-size: 34px;
  margin-bottom: 40px;
}

/* CENTER CONTAINER */
.nx-faculty-grid {
  display: flex;
  justify-content: center;
}

/* BIG CARD */
.nx-faculty-card {
  position: relative;
  width: 500px;   /* BIG SIZE */
  height: 580px;  /* BIG HEIGHT */
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  cursor: pointer;
  transition: all 0.3s ease;
}

/* IMAGE */
.nx-faculty-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* OVERLAY */
.nx-faculty-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 25px;
  color: #fff;
  text-align: left;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.nx-faculty-overlay h3 {
  margin: 0;
  font-size: 22px;
}

.nx-faculty-overlay p {
  margin: 6px 0;
  font-size: 15px;
  color: #ffd700;
}

.nx-faculty-overlay span {
  font-size: 14px;
  opacity: 0.9;
}

/* HOVER */
.nx-faculty-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.nx-faculty-card:hover img {
  transform: scale(1.1);
}

/* MOBILE */
@media (max-width: 768px) {
  .nx-faculty-card {
    width: 90%;
    height: 380px;
  }
}