:root {
  --primary-bg: #050a18;
  --secondary-bg: #0d1224;
  --accent-color: #3b82f6;
  --accent-glow: rgba(59, 130, 246, 0.4);
  --mss-color: #3b82f6;
  --esc-color: #8b5cf6;
  --ssp-color: #06b6d4;
  --text-main: #f9fafb;
  --text-muted: #9ca3af;
  --glass-bg: rgba(13, 18, 36, 0.7);
  --glass-border: rgba(255, 255, 255, 0.08);
  --font-family: "Outfit", sans-serif;
}

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

body {
  background-color: var(--primary-bg);
  background-image: radial-gradient(
    circle at 50% 50%,
    rgba(59, 130, 246, 0.05) 0%,
    transparent 80%
  );
  color: var(--text-main);
  font-family: var(--font-family);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Blobs */
.blob {
  position: fixed;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.3;
}

.blob-1 {
  top: -25vw;
  right: -10vw;
  background: radial-gradient(
    circle,
    rgba(59, 130, 246, 0.4) 0%,
    transparent 70%
  );
}

.blob-2 {
  bottom: -25vw;
  left: -10vw;
  background: radial-gradient(
    circle,
    rgba(139, 92, 246, 0.3) 0%,
    transparent 70%
  );
}

.blob-3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80vw;
  height: 80vw;
  background: radial-gradient(
    circle,
    rgba(6, 182, 212, 0.15) 0%,
    transparent 70%
  );
  opacity: 0.2;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(5, 10, 24, 0.8);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-container img {
  height: 40px;
  width: auto;
  min-width: 40px;
  background: white;
  padding: 5px;
  border-radius: 4px;
  object-fit: contain;
  display: block;
}

.logo-text {
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.5px;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: 0.3s;
}

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

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
}

.breadcrumb-item {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.breadcrumb-link {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
  transition: 0.3s;
}

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

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Header */
header {
  padding: 10rem 5% 2rem;
  text-align: center;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
}

h1 {
  font-size: 5.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  background: linear-gradient(to right, #fff, var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.subtitle {
  color: var(--text-muted);
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: justify;
}

/* Main Content */
main {
  padding: 1rem 5% 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 3rem;
  font-size: 1.1rem;
}

/* Programs Grid */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.program-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 2.5rem;
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--card-accent);
  opacity: 0;
  transition: opacity 0.3s;
}

.program-card:hover {
  transform: translateY(-8px);
  background: rgba(13, 18, 36, 0.9);
}

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

.program-card.mss {
  --card-accent: var(--mss-color);
}

.program-card.mss:hover {
  border-color: var(--mss-color);
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.program-card.esc {
  --card-accent: var(--esc-color);
}

.program-card.esc:hover {
  border-color: var(--esc-color);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.program-card.ssp {
  --card-accent: var(--ssp-color);
}

.program-card.ssp:hover {
  border-color: var(--ssp-color);
  box-shadow: 0 20px 40px rgba(6, 182, 212, 0.15);
}

.program-card.workshops {
  --card-accent: #8b5cf6;
}

.program-card.workshops:hover {
  border-color: #8b5cf6;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.15);
}

.card-badge {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(59, 130, 246, 0.2);
  color: var(--mss-color);
  border: 1px solid var(--mss-color);
}

.card-badge.coming-soon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border-color: var(--text-muted);
}

/* Large background text */
.card-bg-text {
  position: absolute;
  bottom: -0.15em;
  right: -0.05em;
  font-size: 8rem;
  font-weight: 900;
  color: var(--card-accent);
  opacity: 0.08;
  line-height: 1;
  letter-spacing: -0.05em;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.program-card:hover .card-bg-text {
  opacity: 0.15;
}

.program-card h3 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  background: linear-gradient(to right, var(--text-main), var(--card-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.card-title {
  color: var(--card-accent);
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 1rem;
  display: block;
}

.card-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-features {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.feature {
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-link {
  color: var(--card-accent);
  font-weight: 600;
  font-size: 0.95rem;
  transition: 0.3s;
}

.program-card:hover .btn-link {
  letter-spacing: 1px;
}

/* About Section */
.about-section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.about-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-list {
  list-style: none;
}

.about-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.about-list li:last-child {
  border-bottom: none;
}

.about-list strong {
  color: var(--text-main);
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 16px;
}

.stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(to right, var(--accent-color), var(--ssp-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

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

/* Contact Section */
.contact-section {
  padding: 6rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.contact-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.contact-item strong {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

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

.contact-item a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 4rem 5%;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer p {
  margin: 0.5rem 0;
}

/* About Stats */
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  justify-content: center;
}

.about-stats .stat-item {
  text-align: center;
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  transition: 0.3s;
}

.about-stats .stat-item:hover {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.about-stats .stat-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #fff, var(--accent-color));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

.about-stats .stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 0.25rem;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  border-radius: 2px;
  transition: 0.3s;
}

.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);
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent-color);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(20px);
  transition: 0.3s;
  z-index: 900;
  box-shadow: 0 4px 20px var(--accent-glow);
  pointer-events: none;
}

.back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 6px 30px var(--accent-glow);
}

/* Responsive */
@media (max-width: 900px) {
  .about-card {
    grid-template-columns: 1fr;
  }

  .about-stats {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
  }

  .stat-item {
    flex: 1;
    min-width: 150px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .programs-grid {
    grid-template-columns: 1fr;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 10, 24, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    margin-left: 0;
    z-index: 1050;
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
  }

  header {
    padding: 8rem 5% 4rem;
    min-height: auto;
  }

  .about-card,
  .contact-card {
    padding: 2rem;
  }
}

/* Overrides for Presentation Slides Navigation */
nav.top-nav,
nav.pres-nav {
  position: relative;
  top: auto;
  left: auto;
  width: auto;
}

