:root {
  color-scheme: dark;

  --bg-primary: #0a0e27;
  --bg-secondary: rgba(15, 20, 40, 0.8);
  --bg-card: rgba(20, 30, 60, 0.6);
  --text-primary: #e8eaf6;
  --text-muted: #7986cb;
  --accent-gold: #ffd700;
  --accent-teal: #00bfa5;
  --border-color: rgba(0, 212, 255, 0.3);
  --shadow-color: rgba(0, 212, 255, 0.4);
  --navbar-bg: rgba(10, 14, 39, 0.95);
  --chart-green: #00e676;
  --chart-red: #ff5252;
  /* core */
  --bg-darkest: #0a0a0a;
  --bg-black: #000000;
  --fg: #ffffff;
  --border-color: rgba(0, 212, 255, 0.3);

  --accent-primary: #00d4ff;
  --accent-secondary: #0096c7;

  /* text */
  --text-secondary: #8892b0;
  --text-tertiary: #b8c5ff;

  /* accents (base hue grouping) */
  --blue: #667eea;
  --purple: #764ba2;
  --pink: #f093fb;

  /* blue alpha / role variants (descriptive, not numeric) */
  --blue-strong: rgba(102, 126, 234, 0.8); /* used for strong glows / rays */
  --blue-mid: rgba(102, 126, 234, 0.6); /* borders/waves */
  --blue-medium: rgba(102, 126, 234, 0.5); /* drop shadows */
  --blue-soft: rgba(102, 126, 234, 0.4); /* soft shadows / box-shadows */
  --blue-faint: rgba(102, 126, 234, 0.3); /* faint accents */
  --blue-ghost: rgba(102, 126, 234, 0.2); /* very faint overlay */
  --blue-very-faint: rgba(102, 126, 234, 0.15); /* micro accents / borders */

  /* purple / pink faint variants (for card backgrounds / hover) */
  --purple-very-faint: rgba(118, 75, 162, 0.05);
  --purple-faint: rgba(118, 75, 162, 0.1);
  --pink-glow: rgba(240, 147, 251, 0.4);

  /* white/black soft layers */
  --white-soft: rgba(255, 255, 255, 0.02);
  --white-softer: rgba(255, 255, 255, 0.04);
  --white-overlay: rgba(255, 255, 255, 0.3);

  --black-deep: rgba(10, 10, 10, 0.95);

  /* semantic aliases */
  --bg-card-alpha: var(--white-soft);
  --tagline-color: rgba(184, 197, 255, 0.7);
  --navbar-bg: rgba(10, 10, 10, 0.95);
}

body.light-mode {
  /* core */
  --bg-darkest: #f9f9f9; /* background equivalent of dark mode's darkest */
  --bg-black: #ffffff; /* main card background / page bg */
  --fg: #0a0a0a; /* primary text color */

  --bg-primary: #f5f7fa;
  --bg-secondary: rgba(255, 255, 255, 0.9);
  --bg-card: rgba(255, 255, 255, 0.85);
  --text-primary: #1a237e;
  --text-muted: #5c6bc0;
  --accent-gold: #f9a825;
  --accent-teal: #00897b;
  --border-color: rgba(2, 136, 209, 0.3);
  --shadow-color: rgba(2, 136, 209, 0.2);
  --navbar-bg: rgba(255, 255, 255, 0.95);
  --chart-green: #43a047;
  --chart-red: #e53935;

  /* text */
  --text-secondary: #4b4f6b; /* muted text */
  --text-tertiary: #6b6fd1; /* accent text / secondary highlights */

  --accent-primary: #0288d1;
  --accent-secondary: #0277bd;

  /* accents (base hue grouping) */
  --blue: #4b6ef2; /* primary blue */
  --purple: #8c56d5; /* primary purple */
  --pink: #ff9cf5; /* primary pink */

  /* blue alpha / role variants (descriptive, not numeric) */
  --blue-strong: rgba(75, 110, 242, 0.8); /* strong glows / rays */
  --blue-mid: rgba(75, 110, 242, 0.6); /* borders / waves */
  --blue-medium: rgba(75, 110, 242, 0.5); /* drop shadows */
  --blue-soft: rgba(75, 110, 242, 0.4); /* soft shadows / box-shadows */
  --blue-faint: rgba(75, 110, 242, 0.3); /* faint accents */
  --blue-ghost: rgba(75, 110, 242, 0.2); /* very faint overlay */
  --blue-very-faint: rgba(75, 110, 242, 0.15); /* micro accents / borders */

  /* purple / pink faint variants (for card backgrounds / hover) */
  --purple-very-faint: rgba(140, 86, 213, 0.05);
  --purple-faint: rgba(140, 86, 213, 0.1);
  --pink-glow: rgba(255, 156, 245, 0.4);

  /* white/black soft layers */
  --white-soft: rgba(245, 245, 245, 0.8); /* card backgrounds / soft overlays */
  --white-softer: rgba(245, 245, 245, 0.9); /* hover / subtle layers */
  --white-overlay: rgba(245, 245, 245, 0.6); /* semi-transparent highlights */

  --black-deep: rgba(0, 0, 0, 0.05); /* subtle shadows / overlays */

  /* semantic aliases */
  --bg-card-alpha: var(--white-soft);
  --tagline-color: rgba(0, 8, 45, 0.7);
  --navbar-bg: rgba(245, 245, 245, 0.95);
}

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

body {
  font-family: "Inter", "Segoe UI", Tahoma, sans-serif;
  overflow-x: hidden;
  background: var(--bg-black);
  color: var(--fg);
  /* cursor: none; */
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--navbar-bg);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 20px 40px;
  box-shadow: 0 2px 20px var(--blue-medium);
  border-bottom: 1px solid var(--blue-very-faint);
  transition: all 0.4s ease;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  cursor: pointer;
  z-index: 1001;
  transition: transform 0.3s ease;
  letter-spacing: 1px;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1001;
  flex-shrink: 0;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--blue);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 35px;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  text-decoration: none;
  color: var(--fg);
  font-weight: 600;
  padding: 8px 16px;
  transition: all 0.3s ease;
  border-radius: 6px;
  font-size: 0.95rem;
  position: relative;
  display: block;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after {
  width: 80%;
}

.nav-link:hover {
  color: var(--blue);
  background: var(--blue-very-faint);
}

.dropdown {
  position: relative;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--navbar-bg);
  border: 1px solid var(--blue-very-faint);
  border-left: 2px solid var(--accent-primary);
  border-radius: 12px;
  padding: 12px 0;
  /* min-width: 200px; */
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px var(--blue-medium);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  list-style: none;
  z-index: 1100;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: block;
  padding: 12px 24px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  white-space: nowrap;
}

.dropdown-link:hover {
  color: var(--blue);
  background: var(--blue-very-faint);
  padding-left: 30px;
}

/* Loading Screen */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-black);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.integration-equation {
  font-size: 3rem;
  font-family: "Times New Roman", serif;
  font-style: italic;
  color: var(--blue);
  margin-bottom: 30px;
  opacity: 0;
  animation: fadeInEquation 1s ease-out forwards;
}

@keyframes fadeInEquation {
  to {
    opacity: 1;
  }
}

.integration-symbol-load {
  font-size: 8rem;
  font-family: "Times New Roman", serif;
  background: linear-gradient(
    135deg,
    var(--blue) 0%,
    var(--purple) 50%,
    var(--pink) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: symbolGlow 1s ease-in-out infinite;
}

@keyframes symbolGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 20px var(--blue-medium));
  }
  50% {
    filter: drop-shadow(0 0 40px var(--blue));
  }
}

.loading-terms {
  font-size: 1.5rem;
  color: var(--text-secondary);
  margin-top: 20px;
  text-align: center;
}

.loading-terms span {
  display: inline-block;
  opacity: 0;
  animation: termAppear 0.25s ease-out forwards;
}

@keyframes termAppear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
  from {
    opacity: 0;
    transform: translateY(20px);
  }
}

.result-text {
  font-size: 2.5rem;
  font-weight: 900;
  margin-top: 30px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0;
  letter-spacing: 3px;
}

.result-text.show {
  animation: resultAppear 0.5s ease-out 0.25s forwards;
}

@keyframes resultAppear {
  to {
    opacity: 1;
    transform: scale(1);
  }
  from {
    opacity: 0;
    transform: scale(0.8);
  }
}

/* Celebration Effects */
.celebration-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10000;
  overflow: hidden;
}

.particle-burst {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  box-shadow: 0 0 10px currentColor;
}

@keyframes particleExpand {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(0);
    opacity: 0;
  }
}

.light-ray {
  position: absolute;
  width: 2px;
  height: 100px;
  background: linear-gradient(to bottom, var(--blue-strong), transparent);
  transform-origin: top center;
  animation: rayPulse 1s ease-out forwards;
}

@keyframes rayPulse {
  0% {
    opacity: 0;
    height: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    height: 150px;
  }
}

.energy-wave {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50px;
  height: 50px;
  border: 2px solid var(--blue-mid);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: waveExpand 1.5s ease-out forwards;
}

@keyframes waveExpand {
  0% {
    width: 50px;
    height: 50px;
    opacity: 1;
  }
  100% {
    width: 800px;
    height: 800px;
    opacity: 0;
  }
}

.glow-orb {
  position: absolute;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--blue-strong) 0%,
    var(--pink-glow) 50%,
    transparent 100%
  );
  animation: orbFloat 3s ease-out forwards;
  filter: blur(1px);
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(0);
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  100% {
    transform: translate(var(--tx), var(--ty)) scale(1.5);
    opacity: 0;
  }
}

/* Canvas Backgrounds */
#canvas3d,
#chaosCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 40px;
  z-index: 10;
}

.main-title {
  font-size: 4rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  animation: floatTitle 2s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
  letter-spacing: 5px;
}

.tagline {
  font-size: 1.2rem;
  color: var(--tagline-color); /* kept literal — single-use subtle color */
  margin-bottom: 40px;
  max-width: 800px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  padding: 18px 40px;
  font-size: 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: var(--white-overlay);
  transform: translate(-50%, -50%);
  transition:
    width 0.6s,
    height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: #ffffff;
  box-shadow: 0 10px 30px var(--blue-soft);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 15px 50px var(--blue-mid);
}

.btn-secondary {
  background: var(--bg-card-alpha);
  color: var(--fg);
  border: 2px solid var(--blue);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: var(--blue-ghost);
  transform: translateY(-5px) scale(1.05);
  border-color: var(--blue-strong);
}

.btn-card {
  display: inline-block;
  padding: 10px 30px; /* Smaller than main CTA buttons */
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 5px 15px var(--blue-faint);
  width: fit-content;
  margin: auto;
  margin-top: 25px;
  margin-bottom: 0;
}

.btn-card:hover {
  box-shadow: 0 10px 25px var(--blue-medium);
}

/* Section Styles */
.page-section {
  position: relative;
  padding: 100px 20px;
  border-top: 2px solid var(--blue-very-faint);
  background: linear-gradient(
    180deg,
    var(--bg-darkest) 0%,
    var(--black-deep) 100%
  );
  z-index: 10;
}

/* .page-section:nth-child(even) { */
/*   background: linear-gradient( */
/*     180deg, */
/*     var(--bg-black) 0%, */
/*     rgba(0, 0, 0, 0.95) 100% */
/*   ); */
/* } */

.page-section cta-buttons {
  margin-top: 30px;
}

/* Styling for the new main heading that replaces the section */
.main-event-heading-container {
  padding: 80px 20px 0;
  position: relative;
  z-index: 1;
  margin-top: 50px;
}

/* Overrides default section-title/subtitle styles for this specific large heading */
.main-event-heading-title {
  font-size: 3rem !important;
  margin-bottom: 5px !important;
}

.main-event-heading-subtitle {
  margin-top: 20px !important;
  margin-bottom: 60px !important;
}

#gallery-overview {
  border-bottom: 2px solid var(--blue-very-faint);
}

.section-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.section-title {
  font-size: 3rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--blue), transparent);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
  font-style: italic;
}

.section-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--text-tertiary);
  text-align: left;
  padding: 30px;
  background: var(--white-soft);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
  margin: 0 auto 30px;
}

/* Events Container */
.events-container {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 60px auto;
  padding: 0 20px;
  z-index: 10;
}

.event-card {
  background: linear-gradient(
    135deg,
    var(--blue-very-faint),
    var(--purple-very-faint)
  );
  border: 1px solid var(--blue-very-faint);
  border-radius: 12px;
  padding: 35px 25px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    var(--blue-faint),
    transparent
  );
  transition: left 0.5s ease;
}

.event-card:hover::before {
  left: 100%;
}

.event-card:hover {
  transform: translateY(-8px) scale(1.02);
  background: linear-gradient(135deg, var(--blue-faint), var(--purple-faint));
  border-color: var(--blue-soft);
  box-shadow: 0 15px 50px var(--blue-faint);
}

.event-icon {
  font-size: 3.5rem;
  margin-bottom: 20px;
  display: block;
  transition: all 0.4s ease;
  filter: drop-shadow(0 5px 15px var(--blue-ghost));
}

.event-card:hover .event-icon {
  transform: scale(1.15) rotateY(180deg);
  filter: drop-shadow(0 10px 25px var(--blue-medium));
}

.event-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-tertiary);
  /* margin-bottom: 12px; */
  letter-spacing: 1.5px;
  transition: all 0.3s ease;
}

.event-card:hover .event-title {
  color: var(--fg);
  letter-spacing: 2px;
}

.event-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.event-card:hover .event-desc {
  opacity: 1;
}

/* Footer with Graph Animation */
.footer-section {
  position: relative;
  padding: 80px 20px 40px;
  background: var(--bg-black);
  border-top: 1px solid var(--blue-very-faint);
  z-index: 10;
  overflow: hidden;
}

.graph-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  height: 300px;
  margin: 0 auto 60px;
}

#graphCanvas {
  width: 100%;
  height: 100%;
  opacity: 0.7;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 80px;
  text-align: center;
}

.stat-item {
  padding: 30px 20px;
  background: var(--white-soft);
  border: 1px solid var(--blue-very-faint);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: var(--white-softer);
  border-color: var(--blue-faint);
  transform: translateY(-5px);
}

.stat-number {
  font-size: 3rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--blue), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.footer-tabs {
  max-width: 1200px;
  margin: 0 auto 60px;
}

.tab-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tab-button {
  padding: 12px 30px;
  background: var(--white-soft);
  border: 1px solid var(--blue-very-faint);
  border-radius: 8px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 1rem;
}

.tab-button.active {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: var(--fg);
  border-color: transparent;
  box-shadow: 0 5px 20px var(--blue-faint);
}

.tab-button:hover:not(.active) {
  background: var(--white-softer);
  border-color: var(--blue-faint);
}

.tab-content {
  display: none;
  padding: 40px;
  background: var(--white-soft);
  border: 1px solid var(--blue-very-faint);
  border-radius: 12px;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.tab-content h3 {
  font-size: 1.8rem;
  color: var(--text-tertiary);
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tab-content p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 15px;
}

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

.contact-card {
  padding: 25px;
  background: var(--blue-very-faint);
  border-left: 3px solid var(--blue);
  border-radius: 8px;
}

.contact-card h4 {
  color: var(--blue);
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.contact-card p {
  margin-bottom: 5px;
  font-size: 0.95rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid var(--blue-very-faint);
  text-align: center;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.footer-link {
  color: var(--text-tertiary);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.footer-link:hover {
  color: var(--blue);
}

.copyright {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 20px;
}

@media (max-width: 1100px) {
  .page-section {
    padding-left: 10%;
    padding-right: 10%;
  }
}

@media (max-width: 1000px) {
  .main-title {
    font-size: 3.5rem;
    letter-spacing: 2px;
  }

  .tagline {
    padding: 0 10px;
  }

  .hero {
    padding: 120px 20px 40px;
  }

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

  .section-subtitle {
    font-size: 1rem;
  }

  .section-text {
    font-size: 1rem;
    padding: 20px;
  }

  /* .page-section { */
  /*   padding: 60px 15px; */
  /* } */

  /* .events-container { */
  /*   grid-template-columns: 1fr; */
  /*   gap: 20px; */
  /*   padding: 0 15px; */
  /* } */
  /**/
  /* .event-page-link { */
  /*   position: relative; */
  /*   top: 2.5rem; */
  /* } */
  /**/
  /* .event-card { */
  /*   padding: 30px 20px; */
  /* } */

  /* .cta-buttons { */
  /*   flex-direction: column; */
  /*   width: 100%; */
  /*   padding: 0 20px; */
  /* } */
  /**/

  .cta-buttons a {
    padding: 15px 30px;
  }

  .btn {
    font-size: 1rem;
  }

  .contact-info {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 770px) {
  .tagline {
    font-size: 1.05rem;
  }

  .main-title {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .main-title {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2.5rem !important;
  }

  .tab-buttons {
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }

  .integration-symbol-load {
    font-size: 5rem;
  }

  .integration-equation {
    font-size: 1.5rem;
  }

  .result-text {
    font-size: 1.5rem;
  }

  .event-icon {
    font-size: 2.5rem;
  }

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