/* style.css - Enhanced with SSTR.TECH Inspired Visual Effects */

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

:root {
  --primary: #214a73;
  --primary-dark: #122f4f;
  --primary-light: #6688a8;
  --secondary: #f59e0b;
  --secondary-soft: #fbbf24;
  --accent: #37698f;
  --accent-pink: #5b7894;
  --accent-cyan: #3e829e;
  --background: #f3f7ff;
  --foreground: #0f172a;
  --border: rgba(148, 163, 184, 0.24);
  --muted: linear-gradient(180deg, #eef4ff 0%, #f8fbff 100%);
  --text-light: #5f6f8f;
  --shadow-soft: 0 20px 50px rgba(30, 64, 175, 0.12);
  --shadow-strong: 0 28px 68px rgba(15, 23, 42, 0.18);
  --gradient-primary: linear-gradient(135deg, #122f4f 0%, #214a73 52%, #37698f 100%);
  --gradient-secondary: linear-gradient(135deg, #f59e0b 0%, #fb923c 52%, #5b7894 100%);
  --gradient-hero: linear-gradient(135deg, #0f172a 0%, #214a73 52%, #37698f 100%);
  --gradient-card: linear-gradient(145deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
  --glow-primary: 0 0 40px rgba(29, 78, 216, 0.3);
  --glow-secondary: 0 0 40px rgba(245, 158, 11, 0.3);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(96, 165, 250, 0.18), transparent 32%),
    radial-gradient(circle at bottom right, rgba(55, 105, 143, 0.16), transparent 34%),
    linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', system-ui, -apple-system, sans-serif;
  font-weight: 700;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ========== ANIMATIONS ========== */

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

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) scale(1);
  }
  50% {
    transform: translateY(-22px) scale(1.08);
  }
}

@keyframes floatSlow {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(2deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.7;
    transform: scale(0.98);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes spinSlow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes blob {
  0%, 100% {
    border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
    transform: translate(0px, 0px) scale(1);
  }
  33% {
    border-radius: 70% 30% 46% 54% / 30% 29% 71% 70%;
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    border-radius: 100% 60% 60% 100% / 100% 100% 60% 60%;
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes typewriter {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}

@keyframes blink {
  50% {
    border-color: transparent;
  }
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

/* ========== HEADER & NAVIGATION ========== */

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(148, 163, 184, 0.15);
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.1);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  position: relative;
}

.logo-section img {
  height: 3rem;
  width: 3rem;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.logo-section:hover img {
  transform: rotate(-5deg) scale(1.05);
}

.logo-text h1 {
  font-size: 1.125rem;
  background: var(--gradient-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
  margin-bottom: 0.25rem;
}

.logo-text p {
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav {
  display: none;
  gap: 1.5rem;
}

nav a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--foreground);
  position: relative;
  transition: color 0.2s ease;
  overflow: hidden;
}

nav a::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.4rem;
  width: 100%;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav a::after {
  content: "";
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

nav a:hover {
  color: var(--primary);
}

nav a:hover::before {
  transform: scaleX(1);
}

nav a:hover::after {
  left: 100%;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
    animation: fadeInDown 0.3s ease;
  }
  
  nav.active {
    display: flex;
  }
  
  nav a {
    padding: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    padding-left: 2rem;
  }
  
  nav a::before {
    left: 0;
    bottom: 0;
    height: 100%;
    width: 3px;
    transform: scaleY(0);
    transform-origin: top;
  }
  
  nav a:hover::before {
    transform: scaleY(1);
  }
}

/* ========== BUTTONS ========== */

.btn {
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 0.8rem;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 12px 24px rgba(30, 64, 175, 0.15);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-primary);
  background-size: 200% auto;
  color: white;
  animation: gradientShift 3s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 30px rgba(59, 130, 246, 0.35), var(--glow-primary);
}

.btn-secondary {
  background: var(--gradient-secondary);
  background-size: 200% auto;
  color: white;
  animation: gradientShift 3s ease infinite;
}

.btn-secondary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 18px 30px rgba(245, 158, 11, 0.35), var(--glow-secondary);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  color: white;
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

/* ========== HERO SECTION ========== */

.hero {
  position: relative;
  height: 24rem;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  z-index: 1;
  opacity: 0.7;
}

.hero::after {
  content: "";
  position: absolute;
  width: 25rem;
  height: 25rem;
  right: -5rem;
  bottom: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.4), transparent 65%);
  animation: float 12s ease-in-out infinite;
  z-index: 0;
}

@media (min-width: 768px) {
  .hero {
    height: 31.25rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transform: scale(1.04);
  animation: pulse 10s ease-in-out infinite;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85), rgba(33, 74, 115, 0.4), rgba(91, 120, 148, 0.2));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 42rem;
  animation: fadeInUp 1s ease-out;
}

.hero-kicker,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--secondary-soft);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-kicker::before,
.section-kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: currentColor;
}

.hero-scroll {
  position: absolute;
  right: 2rem;
  bottom: 2rem;
  z-index: 2;
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transition: color 0.3s ease, transform 0.3s ease;
}

.hero-scroll span {
  display: inline-block;
  margin-top: 0.65rem;
  font-size: 1.35rem;
  animation: wave 1.8s ease-in-out infinite;
}

.hero-scroll:hover {
  color: var(--secondary-soft);
  transform: translateY(0.35rem);
}

.hero-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  max-width: 100%;
  overflow-wrap: break-word;
  font-weight: 800;
  background: linear-gradient(to right, #ffffff, #e0e7ff, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 5s ease infinite;
}

@media (min-width: 768px) {
  .hero-content h2 {
    font-size: 3rem;
  }
}

.hero-content p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.story-section {
  background: #fff;
}

.story-copy h2 {
  margin: 0.75rem 0 1.5rem;
  text-align: left;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.story-copy h2::after {
  margin: 1.1rem 0 0;
}

.story-copy p {
  max-width: 34rem;
  color: var(--text-light);
}

.story-image-wrap {
  position: relative;
  max-width: 32rem;
  justify-self: end;
}

.story-image {
  min-height: 28rem;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.image-stamp {
  position: absolute;
  right: -1rem;
  bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
  background: var(--secondary);
  color: var(--primary-dark);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.2);
  transform: rotate(-4deg);
}

.image-stamp strong {
  font-size: 1.6rem;
  line-height: 1;
}

.image-stamp span {
  border-left: 1px solid rgba(18, 47, 79, 0.35);
  padding-left: 0.75rem;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.centered-kicker {
  display: flex;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.achievement-section h2 {
  margin-bottom: 2rem;
}

.achievement-image {
  width: 100%;
  max-height: 31rem;
  object-fit: cover;
  object-position: center;
  margin-bottom: 2rem;
}

.nsfas-feature {
  padding-top: 1rem;
  background: #fff;
}

.nsfas-feature-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, #122f4f 0%, #214a73 62%, #37698f 100%);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  position: relative;
}

.nsfas-feature-inner::before {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  right: 22%;
  top: -12rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  box-shadow: 0 0 0 3rem rgba(255, 255, 255, 0.03), 0 0 0 7rem rgba(255, 255, 255, 0.025);
  animation: floatSlow 10s ease-in-out infinite;
}

.nsfas-copy,
.nsfas-poster-link {
  position: relative;
  z-index: 1;
}

.nsfas-copy .section-kicker {
  color: var(--secondary-soft);
}

.nsfas-copy h2 {
  margin: 0.75rem 0 1rem;
  color: white;
  text-align: left;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.nsfas-copy h2::after {
  display: none;
}

.nsfas-copy p {
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.05rem;
}

.nsfas-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
  margin: 1.5rem 0 1rem;
}

.nsfas-secondary-link {
  color: white;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.nsfas-secondary-link:hover {
  color: var(--secondary-soft);
}

.nsfas-copy small {
  display: block;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.75rem;
}

.nsfas-poster-link {
  justify-self: center;
  width: min(100%, 19rem);
  transform: rotate(2deg);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 1rem 2.5rem rgba(5, 19, 35, 0.35);
}

.nsfas-poster-link:hover {
  transform: rotate(0deg) translateY(-0.5rem) scale(1.02);
  box-shadow: 0 1.5rem 3rem rgba(5, 19, 35, 0.45);
}

.nsfas-poster-link img {
  width: 100%;
  height: auto;
}

.poster-badge {
  position: absolute;
  top: 0.75rem;
  right: -0.75rem;
  padding: 0.45rem 0.7rem;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: 0 0.5rem 1rem rgba(15, 23, 42, 0.2);
}

/* ========== OPPORTUNITY BANNER ========== */

.opportunity-banner {
  padding: 1.5rem 0 0;
  background: linear-gradient(180deg, #f8fafc 0%, #eef4ff 100%);
  position: relative;
}

.banner-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: var(--gradient-primary);
  background-size: 300% 300%;
  animation: gradientShift 10s ease infinite;
  border-radius: 1.25rem;
  box-shadow: 0 18px 40px rgba(30, 58, 138, 0.3), var(--glow-primary);
  padding: 1.5rem;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  overflow: hidden;
}

.banner-box::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: spinSlow 20s linear infinite;
}

.banner-heading {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.banner-tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  width: fit-content;
  backdrop-filter: blur(10px);
}

.banner-heading h3 {
  font-size: clamp(1.6rem, 2vw, 2.4rem);
  line-height: 1.2;
  color: white;
  font-weight: 800;
}

.banner-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.banner-panel {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.banner-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.banner-panel:hover::before {
  left: 100%;
}

.banner-panel:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.panel-label {
  display: inline-block;
  width: fit-content;
  border-radius: 999px;
  padding: 0.35rem 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: white;
}

.banner-panel h4 {
  font-size: 1.2rem;
  line-height: 1.35;
  color: white;
}

.banner-panel p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.97rem;
}

.banner-panel .btn {
  width: fit-content;
  margin-top: auto;
}

.banner-footer {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-start;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

.banner-footer p {
  color: rgba(255, 255, 255, 0.9);
}

.banner-link {
  color: white;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
  transition: all 0.3s ease;
}

.banner-link:hover {
  color: var(--secondary-soft);
  text-underline-offset: 0.4rem;
}

@media (min-width: 768px) {
  .banner-split {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .banner-footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

/* ========== STATS SECTION ========== */

.stats {
  background: var(--gradient-primary);
  background-size: 200% 200%;
  animation: gradientShift 6s ease infinite;
  color: white;
  padding: 3rem 0;
  position: relative;
  overflow: hidden;
}

.stats::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: floatSlow 15s ease-in-out infinite;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

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

.stat-item {
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
}

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

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #ffffff, #e0e7ff, #ffffff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@media (min-width: 768px) {
  .stat-number {
    font-size: 2.5rem;
  }
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
  letter-spacing: 0.05em;
}

/* ========== SECTIONS ========== */

section {
  padding: 4rem 0;
  position: relative;
}

@media (min-width: 768px) {
  section {
    padding: 6rem 0;
  }
}

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

section.bg-primary {
  background: var(--gradient-primary);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  color: white;
  position: relative;
  overflow: hidden;
}

section.bg-primary::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -30%;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  animation: floatSlow 10s ease-in-out infinite;
}

section h2 {
  font-size: 2rem;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  display: inline-block;
  width: 100%;
}

section h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 999px;
  margin: 0.8rem auto 0;
  animation: pulse 2s ease-in-out infinite;
}

@media (min-width: 768px) {
  section h2 {
    font-size: 2.25rem;
  }
}

/* ========== GRID LAYOUTS ========== */

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

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

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

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

/* ========== CARDS ========== */

.card {
  background: var(--gradient-card);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 1.1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(30, 64, 175, 0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: var(--shadow-strong), var(--glow-primary);
}

.card:hover::before {
  transform: scaleX(1);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--foreground);
  position: relative;
  z-index: 1;
}

.card p {
  color: var(--text-light);
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
}

.card.bg-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.card.bg-secondary {
  background: var(--gradient-secondary);
  color: white;
  border: none;
}

.card.bg-secondary h3,
.card.bg-primary h3 {
  color: white;
}

.card.bg-secondary p,
.card.bg-primary p {
  color: rgba(255, 255, 255, 0.9);
}

/* ========== IMAGES ========== */

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

.img-rounded {
  border-radius: 1.1rem;
  box-shadow: var(--shadow-strong);
  transition: all 0.4s ease;
  position: relative;
}

.img-rounded:hover {
  transform: scale(1.03) rotate(-1deg);
  box-shadow: var(--shadow-strong), var(--glow-primary);
}

.image-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .image-gallery {
    grid-template-columns: 1.3fr 1fr 1fr;
    align-items: stretch;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1.2rem;
  box-shadow: var(--shadow-soft);
  background: white;
  transition: all 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-strong), var(--glow-primary);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  position: absolute;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.85), rgba(33, 74, 115, 0.75));
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  backdrop-filter: blur(10px);
  transform: translateY(100px);
  transition: transform 0.4s ease;
}

.gallery-item figcaption span {
  color: var(--secondary-soft);
  margin-right: 0.5rem;
  font-variant-numeric: tabular-nums;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

.gallery-item.highlight {
  transform: translateY(0.5rem);
}

/* ========== FEATURE LIST ========== */

.feature-list {
  list-style: none;
  space-y: 0.75rem;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  align-items: flex-start;
  transition: transform 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(8px);
}

.feature-list .icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 0.25rem;
  animation: pulse 2s ease-in-out infinite;
}

.feature-list p {
  margin: 0;
}

.feature-list .title {
  font-weight: 600;
  color: var(--foreground);
  margin-bottom: 0.25rem;
}

.feature-list .desc {
  font-size: 0.875rem;
  color: var(--text-light);
}

/* ========== FORMS ========== */

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--foreground);
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0.65rem;
  font-family: inherit;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.1), var(--glow-primary);
  background: white;
}

.form-group textarea {
  resize: vertical;
  min-height: 8rem;
}

.form-message {
  padding: 1rem;
  border-radius: 0.65rem;
  margin-bottom: 1.5rem;
  display: none;
  animation: fadeInUp 0.3s ease;
}

.form-message.success {
  background-color: #d1fae5;
  color: #065f46;
  display: block;
  border-left: 4px solid #10b981;
}

.form-message.error {
  background-color: #fee2e2;
  color: #991b1b;
  display: block;
  border-left: 4px solid #ef4444;
}

/* ========== FOOTER ========== */

footer {
  background: #0f172a;
  color: white;
  padding: 3rem 0 1rem;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 100%;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.2) 0%, transparent 50%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

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

.footer-section h4 {
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.125rem;
  position: relative;
  display: inline-block;
}

.footer-section h4::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 999px;
  margin-top: 0.3rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.footer-section ul li:hover {
  transform: translateX(5px);
}

.footer-section a {
  color: white;
  opacity: 0.8;
  font-size: 0.875rem;
  transition: all 0.3s ease;
  position: relative;
}

.footer-section a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.7;
  position: relative;
  z-index: 1;
}

.footer-bottom p {
  margin-bottom: 0.5rem;
}

.footer-bottom a {
  color: var(--secondary);
  position: relative;
}

.footer-bottom a:hover {
  color: var(--secondary-soft);
}

/* ========== CONTACT INFO ========== */

.contact-info {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.contact-item {
  text-align: center;
  padding: 1.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-5px);
}

.contact-item .icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  animation: float 4s ease-in-out infinite;
  display: inline-block;
}

.contact-item h4 {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-item p {
  opacity: 0.9;
  font-size: 0.875rem;
}

.contact-item a {
  color: white;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--secondary);
}

/* ========== EVENT CARDS ========== */

.event-card {
  background: var(--gradient-card);
  border-radius: 1.1rem;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.2);
  transition: all 0.4s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(33, 74, 115, 0.05), rgba(55, 105, 143, 0.05));
  transition: left 0.4s ease;
}

.event-card:hover {
  box-shadow: var(--shadow-strong), var(--glow-primary);
  transform: translateY(-10px) scale(1.02);
}

.event-card:hover::before {
  left: 0;
}

.event-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 0.75rem;
  padding: 0.3rem 0.6rem;
  background: rgba(245, 158, 11, 0.1);
  border-radius: 999px;
}

.event-card h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  color: var(--foreground);
  position: relative;
  z-index: 1;
}

.event-card p {
  color: var(--text-light);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.event-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.875rem;
  position: relative;
  z-index: 1;
  transition: gap 0.3s ease;
}

.event-card a:hover {
  gap: 0.75rem;
  color: var(--accent);
}

/* ========== CONTACT FORM CONTAINER ========== */

.contact-form-container {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.3s ease;
}

.contact-form-container:hover {
  background: rgba(255, 255, 255, 0.15);
  box-shadow: var(--glow-secondary);
}

.contact-form-container h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.contact-form-container input,
.contact-form-container textarea {
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
}

.contact-form-container input::placeholder,
.contact-form-container textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.contact-form-container input:focus,
.contact-form-container textarea:focus {
  background-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.3), var(--glow-secondary);
}

/* ========== UTILITY CLASSES ========== */

.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.opacity-90 {
  opacity: 0.9;
}

/* ========== RESPONSIVE ========== */

@media (max-width: 640px) {
  .hero-content h2 {
    font-size: 1.75rem;
  }
  
  section h2 {
    font-size: 1.75rem;
  }
  
  .hero-buttons {
    flex-direction: column;
  }
  
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-scroll {
    display: none;
  }

  .image-stamp {
    right: 0.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* ========== SCROLL REVEAL ========== */

.fade-in {
  animation: fadeInUp 0.7s ease-out both;
}

.fade-in-down {
  animation: fadeInDown 0.7s ease-out both;
}

.fade-in-left {
  animation: fadeInLeft 0.7s ease-out both;
}

.fade-in-right {
  animation: fadeInRight 0.7s ease-out both;
}

/* ========== SCROLLBAR ========== */

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #214a73, #37698f);
  border-radius: 10px;
  transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #214a73, #5b7894);
}

/* ========== SELECTION ========== */

::selection {
  background: rgba(33, 74, 115, 0.3);
  color: var(--foreground);
}

/* ========== FLoating Blob Backgrounds ========== */

.blob {
  position: absolute;
  border-radius: 42% 58% 70% 30% / 45% 45% 55% 55%;
  filter: blur(40px);
  opacity: 0.3;
  z-index: -1;
  animation: blob 8s ease-in-out infinite;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, #214a73, #37698f);
  top: 20%;
  left: 10%;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, #f59e0b, #5b7894);
  top: 60%;
  right: 10%;
  animation-delay: -3s;
}

.blob-3 {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #06b6d4, #1d4ed8);
  bottom: 10%;
  left: 40%;
  animation-delay: -6s;
}

/* ========== MORPHING GRADIENT TEXT ========== */

.gradient-text {
  background: var(--gradient-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

/* ========== SHIMMER EFFECT ========== */

.shimmer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  background-size: 1000px 100%;
  animation: shimmer 3s linear infinite;
}

/* ========== HOVER CARD GLOW ========== */

.glow-card {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 1.1rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.glow-card::before {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

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

/* ========== LOADING SPINNER ========== */

.loading-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(29, 78, 216, 0.1);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spinSlow 0.8s linear infinite;
}