@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   2026 Futuristic Design System - MCC Foundation
   ========================================================================== */
:root {
  /* Ultra-Premium Dark Architecture */
  --bg-dark: #0b0c10;
  --bg-card: rgba(20, 22, 28, 0.35);
  --bg-card-hover: rgba(35, 40, 50, 0.6);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;

  /* MCC Green Variations */
  --accent-primary: #22c55e;
  --accent-secondary: #10b981;
  --accent-glow: rgba(34, 197, 94, 0.3);

  /* Glass Borders */
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glow: rgba(34, 197, 94, 0.5);

  /* Typography */
  --font-heading: 'Sora', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 3rem;
  --space-xl: 4.5rem;

  /* Layout */
  --container-max: 1280px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s ease-out;
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Dynamic Mesh Background */
.mesh-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 10% 20%, rgba(34, 197, 94, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 40%);
  filter: blur(80px);
  pointer-events: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  line-height: 1.15;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-normal);
}

img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  object-fit: cover;
}

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

.text-gradient {
  background: linear-gradient(135deg, #fff 20%, #94a3b8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-accent {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.section-padding {
  padding: var(--space-xl) 0;
  position: relative;
}

/* ==========================================================================
   Advanced Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2.5rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-normal);
  border: 1px solid transparent;
  font-size: 1.05rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn i {
  font-size: 1.3rem;
}

.btn-primary {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--border-glow);
  box-shadow: 0 0 20px var(--accent-glow);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  z-index: -1;
  opacity: 0.15;
  transition: opacity var(--transition-normal);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--accent-glow);
  border-color: var(--accent-primary);
}

.btn-primary:hover::before {
  opacity: 0.3;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(20px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  background: rgba(11, 12, 16, 0.75);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-links i {
  color: var(--accent-primary);
  opacity: 0.7;
}

.nav-links a:hover {
  color: #fff;
}

.nav-links a:hover i {
  opacity: 1;
}

/* ==========================================================================
   Hero Section (2026 Split Layout)
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 10rem;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.hero-content h1 {
  font-size: clamp(3rem, 5vw, 4.8rem);
  margin-bottom: 1.5rem;
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-content p.subheading {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
  opacity: 0;
}

/* Date Banner */
.cohort-banner {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--border-glow);
  padding: 0.6rem 1.2rem;
  border-radius: var(--radius-full);
  margin-bottom: 2rem;
  animation: revealUp 1s ease forwards, pulseGlow 3s infinite alternate;
}

.cohort-banner i {
  color: var(--accent-primary);
  font-size: 1.2rem;
}

.cohort-banner span {
  font-weight: 600;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-main);
}

.hero-cta {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 4rem;
  animation: revealUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
  opacity: 0;
}

/* Hero Media with Floating Effects */
.hero-media {
  position: relative;
  animation: revealScale 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  opacity: 0;
}

.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid var(--border-subtle);
  width: 100%;
}

.floating-card {
  position: absolute;
  bottom: -30px;
  left: -40px;
  background: rgba(20, 22, 28, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-subtle);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}

.floating-card i {
  font-size: 2.5rem;
  color: var(--accent-primary);
}

/* Impact Snapshot Array */
.impact-snapshot {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding-top: 2rem;
}

.stat-item h4 {
  font-size: 2.5rem;
  margin-bottom: 0.2rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Advanced Glass Cards & Sections
   ========================================================================== */
.section-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

/* Feature Grid */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
}

.glass-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
}

.glass-panel:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
  pointer-events: none;
}

.icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  color: var(--accent-primary);
}

/* Text Stylings inside Cards */
.glass-panel h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.glass-panel p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.glass-panel ul {
  list-style: none;
}

.glass-panel li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.2rem;
  color: var(--text-muted);
}

.glass-panel li i {
  color: var(--accent-primary);
  font-size: 1.2rem;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Programs Grid
   ========================================================================== */
.program-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.program-box {
  background: linear-gradient(to bottom, var(--bg-card), rgba(10, 12, 15, 0.8));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  position: relative;
}

.program-box.featured {
  border-color: var(--border-glow);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.1);
}

.program-box.featured::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px dashed var(--border-subtle);
  border-bottom: 1px dashed var(--border-subtle);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.meta-item span:first-child {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.meta-item span:last-child {
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ==========================================================================
   Interactive Media Overlays
   ========================================================================== */
.media-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .media-grid {
    grid-template-columns: minmax(280px, 400px);
    justify-content: center;
  }
}

.media-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.2rem 1.5rem;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  z-index: 10;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to top, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.6) 50%, transparent 100%);
  transition: all 0.3s ease;
}

.media-label span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent-primary);
}

.ig-embed-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: transparent;
}

.ig-embed-wrapper iframe.instagram-media {
  margin: 0 !important;
  max-width: 100% !important;
  border-radius: var(--radius-md) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.media-item {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-dark);
  transition: all var(--transition-normal);
  display: block;
}

@supports not (aspect-ratio: 9/16) {
  .media-item {
    height: 0;
    padding-bottom: 177.77%;
  }
}

/* Using CSS generated patterns instead of images for IG mockup */
.media-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 16, 0.9) 0%, transparent 40%, rgba(11, 12, 16, 0.2) 100%);
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Alumni Story Cards (Stories Page)
   ========================================================================== */
.alumni-stories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1200px) {
  .alumni-stories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .alumni-stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .alumni-stories-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

.alumni-card {
  display: flex;
  flex-direction: column;
  background: rgba(13, 15, 20, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  height: 100%;
  position: relative;
}

.alumni-card.relative-glow::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 150px;
  background: linear-gradient(180deg, rgba(34, 197, 94, 0.06) 0%, transparent 100%);
  z-index: 0;
  pointer-events: none;
}

.alumni-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.2);
}

.alumni-avatar {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-glow);
  box-shadow: 0 4px 15px rgba(34, 197, 94, 0.2);
}

.alumni-card-content {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.alumni-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.alumni-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.3rem;
  line-height: 1.2;
}

.alumni-course {
  display: inline-block;
  color: var(--accent-primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.alumni-quote {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.75);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 2rem;
  padding-left: 0;
  border-left: none;
  flex-grow: 1;
  position: relative;
  z-index: 1;
}

.alumni-quote::before {
  content: '"';
  font-size: 5rem;
  color: rgba(34, 197, 94, 0.08); /* Faint accent color quote mark */
  position: absolute;
  top: -20px;
  left: -15px;
  font-family: Georgia, serif;
  line-height: 1;
  z-index: -1;
}

.alumni-placement {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-top: 1.8rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.placement-label {
  display: block;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.1rem;
}

.placement-company {
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.2rem;
}

.placement-role {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.btn-linkedin {
  display: none;
}

.linkedin-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 119, 181, 0.1);
  color: #0077b5;
  font-size: 1.4rem;
  transition: all var(--transition-normal);
  flex-shrink: 0;
  text-decoration: none;
}

.linkedin-icon:hover {
  background: #0077b5;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 119, 181, 0.3);
}

.media-item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}

.media-item:hover img {
  transform: scale(1.1);
}

.media-item i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 3.5rem;
  color: #fff;
  z-index: 10;
  opacity: 0.8;
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.4));
  transition: all var(--transition-normal);
}

.media-item:hover i {
  transform: translate(-50%, -50%) scale(1.1);
  color: var(--accent-primary);
  opacity: 1;
}

.media-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem 1.2rem 1.5rem;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  z-index: 10;
  line-height: 1.4;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  background: linear-gradient(to top, rgba(11, 12, 16, 0.95) 0%, rgba(11, 12, 16, 0.8) 40%, transparent 100%);
}

.media-label span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--accent-primary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ==========================================================================
   Massive CTA Footer Area
   ========================================================================== */
.final-cta {
  background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
  padding: 5rem 0;
  margin-top: 2rem;
}

.final-cta h2 {
  font-size: clamp(3rem, 6vw, 5rem);
  margin-bottom: 2rem;
}

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes revealScale {
  0% {
    opacity: 0;
    transform: scale(0.95);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

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

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

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
  }

  100% {
    box-shadow: 0 0 0 15px rgba(34, 197, 94, 0);
  }
}

/* ==========================================================================
   Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-content p.subheading {
    margin-inline: auto;
  }

  .hero-cta {
    justify-content: center;
  }

  .floating-card {
    display: none;
    /* Hide on smaller screens */
  }

  .impact-snapshot {
    justify-content: center;
  }

  .bento-grid {
    display: grid;
    grid-template-columns: 1fr;
  }

  .bento-grid > * {
    grid-column: 1 / -1 !important;
  }
}

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

  .mobile-menu-btn {
    display: block;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .program-cards {
    grid-template-columns: 1fr;
  }

  .media-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 580px) {
  .media-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .section-title {
    font-size: 2.2rem;
  }

  .hero-content h1 {
    font-size: 2.4rem;
  }
}
