/* ================================================
   DESIGN TOKENS
   ================================================ */
:root {
  --red:        #E8372B;
  --red-dark:   #C42D22;
  --red-glow:   rgba(232, 55, 43, 0.12);
  --dark:       #0D0D0D;
  --dark2:      #111111;
  --dark3:      #1A1A1A;
  --light:      #F7F8FA;
  --white:      #FFFFFF;
  --muted:      #9CA3AF;
  --text:       #1A1A1A;

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-nav:     'Manrope', sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --shadow-card:  0 4px 24px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 12px 40px rgba(232, 55, 43, 0.16);
  --transition:   0.3s ease;
  --container:    1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

/* ================================================
   UTILITIES
   ================================================ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-family: var(--font-nav);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.4px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 55, 43, 0.38);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}
.btn-large {
  padding: 18px 48px;
  font-size: 1rem;
}

/* Section headers */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.section-title span { color: var(--red); }
.section-desc {
  font-size: 1rem;
  color: #6B7280;
  max-width: 540px;
  margin: 0 auto;
}

/* Scroll-triggered fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 22px 0;
  transition: background 0.4s ease, padding 0.4s ease, backdrop-filter 0.4s ease;
}
.navbar.scrolled {
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.nav-container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  letter-spacing: 1px;
  flex-shrink: 0;
}
.logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
}
.nav-links a {
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--white);
  background: var(--red);
  padding: 10px 22px;
  border-radius: var(--radius-sm);
  border: 2px solid var(--red);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  background-image:
    linear-gradient(to bottom, rgba(13,13,13,0.82) 0%, rgba(13,13,13,0.58) 60%, rgba(13,13,13,0.9) 100%),
    url(g1.jpg);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  position: relative;
}
.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  padding: 120px 24px 80px;
  max-width: 820px;
}
.hero-eyebrow {
  font-family: var(--font-nav);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background: var(--red);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 9rem);
  font-weight: 400;
  line-height: 0.88;
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 28px;
}
/* Signature element: outlined text */
.hero-title .outlined {
  -webkit-text-stroke: 2.5px var(--red);
  color: transparent;
}
.hero-subtitle {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.75;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--font-nav);
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.45), transparent);
  animation: scrollPulse 1.6s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50%       { opacity: 0.35; transform: scaleY(0.65); }
}

/* ================================================
   STATS
   ================================================ */
.stats {
  background: var(--dark2);
  padding: 56px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 20px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.07);
}
.stat-item:last-child { border-right: none; }

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 2px;
}
.stat-number {
  font-family: var(--font-display);
  font-size: 3.6rem;
  color: var(--white);
  letter-spacing: 1px;
  line-height: 1;
}
.stat-plus {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--red);
  line-height: 1;
}
.stat-label {
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 10px;
}

/* ================================================
   PROGRAMS (OFFERS)
   ================================================ */
.offers-section {
  padding: 100px 0;
  background: var(--light);
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.offer-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.offer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.offer-card:hover::before  { transform: scaleX(1); }
.offer-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.offer-icon {
  width: 62px;
  height: 62px;
  background: var(--red-glow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.offer-icon img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}
.offer-card h3 {
  font-family: var(--font-nav);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.offer-card p {
  font-size: 0.93rem;
  color: #6B7280;
  line-height: 1.7;
  margin-bottom: 22px;
}
.card-link {
  font-family: var(--font-nav);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap var(--transition);
}
.card-link:hover { gap: 12px; }

/* ================================================
   SERVICES
   ================================================ */
.services-section {
  padding: 100px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.service-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}
.service-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img img { transform: scale(1.06); }
.service-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(13,13,13,0.55));
}
.service-body { padding: 22px; }
.service-tag {
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: rgba(232, 55, 43, 0.13);
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}
.service-body h3 {
  font-family: var(--font-nav);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.service-body p {
  font-size: 0.87rem;
  color: #6B7280;
  line-height: 1.65;
}

/* ================================================
   CAMPUS
   ================================================ */
.campus-section {
  padding: 100px 0;
  background: var(--dark);
}
.campus-section .section-title { color: var(--white); }
.campus-section .section-desc  { color: var(--muted); }

.campus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.campus-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 320px;
  cursor: pointer;
}
.campus-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
.campus-card:hover img { transform: scale(1.07); }
.campus-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(13,13,13,0.94) 0%, transparent 100%);
}
.campus-info h3 {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--white);
  letter-spacing: 1px;
}
.campus-info p {
  font-family: var(--font-nav);
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 500;
}
.campus-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  transition: border-color 0.3s ease;
  pointer-events: none;
}
.campus-card:hover::after { border-color: var(--red); }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--light);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.09);
}
.testimonial-quote {
  color: var(--red);
  font-size: 1.4rem;
  margin-bottom: 16px;
  opacity: 0.55;
}
.testimonial-card > p {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.78;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
  flex-shrink: 0;
}
.testimonial-author h4 {
  font-family: var(--font-nav);
  font-size: 0.92rem;
  font-weight: 700;
  margin-bottom: 2px;
}
.testimonial-author span {
  font-size: 0.78rem;
  color: var(--muted);
}
.stars { margin-top: 5px; }
.stars i { font-size: 0.75rem; color: var(--red); }

/* ================================================
   FOOTER
   ================================================ */
.footer-cta {
  background: var(--dark2);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: 1px;
}
.footer-cta h2 span { color: var(--red); }
.footer-cta p {
  color: var(--muted);
  font-size: 1rem;
  margin-bottom: 32px;
}

.footer-bottom {
  background: var(--dark);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.6fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 400;
}
.footer-logo span { color: var(--red); }
.footer-col > p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.7;
}
.footer-col h4 {
  font-family: var(--font-nav);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul li {
  color: var(--muted);
  font-size: 0.88rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.footer-col ul li i {
  color: var(--red);
  margin-top: 3px;
  flex-shrink: 0;
}
.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.88rem;
  transition: var(--transition);
}
.social-links a:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.footer-copy {
  padding: 24px 0;
  text-align: center;
}
.footer-copy p {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.82rem;
}

/* ================================================
   SCROLL UP BUTTON
   ================================================ */
.scroll-up {
  position: fixed;
  bottom: -64px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--red);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 999;
  transition: bottom 0.4s ease, background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 16px rgba(232, 55, 43, 0.42);
}
.scroll-up.show { bottom: 24px; }
.scroll-up:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  }
  .stat-item:nth-child(even) {
    border-right: none;
  }
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-bottom: none;
  }
}

@media (max-width: 900px) {
  .offers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .campus-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .campus-card { height: 260px; }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  /* Mobile nav */
  .nav-links,
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: flex;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 13, 13, 0.97);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    align-items: center;
    justify-content: center;
    gap: 24px;
    z-index: 998;
  }
  .nav-links.open a {
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--white);
    padding: 10px 24px;
  }
  .nav-links.open a:hover { color: var(--red); }
}

@media (max-width: 640px) {
  .hero { background-attachment: scroll; }
  .hero-title { font-size: clamp(3.2rem, 14vw, 5rem); }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .offers-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .campus-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .btn-large { padding: 16px 32px; }
}

/* ================================================
   REDUCED MOTION
   ================================================ */
@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scroll-line { animation: none; }
  html { scroll-behavior: auto; }
}
