@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

:root {
  --background: #f8f9fa;
  --surface: #ffffff;
  --surface-low: #f3f4f5;
  --primary: #002046;
  --primary-container: #1b365d;
  --secondary: #315ea2;
  --accent: #0aaae4; /* Cyan/Light Blue */
  --accent-hover: #0890c2;
  --error: #ba1a1a;
  
  --text-main: #191c1d;
  --text-muted: #44474e;
  --text-light: #74777f;
  --text-inverse: #ffffff;
  
  --border-color: #e1e3e4;
  
  --font-family: 'Inter', sans-serif;
  
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 48px;
  --container-max: 1280px;
  
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-glow: 0 0 20px rgba(10, 170, 228, 0.4);
}

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

body {
  font-family: var(--font-family);
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: 3rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* Utilities */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
  width: 100%;
}

.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-inverse { color: var(--text-inverse); }
.bg-surface { background-color: var(--surface); }
.bg-primary-container { background-color: var(--primary-container); }
.text-center { text-align: center; }

.section-padding {
  padding: var(--spacing-xl) 0;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--spacing-lg);
}

.badge-outline {
  background-color: rgba(10, 170, 228, 0.1);
  color: var(--accent);
  border: 1px solid rgba(10, 170, 228, 0.3);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-family: var(--font-family);
  font-size: 1rem;
}

.btn:active {
  transform: scale(0.95);
}

.btn-primary {
  background-color: var(--primary-container);
  color: var(--text-inverse);
}
.btn-primary:hover { background-color: var(--primary); }

.btn-accent {
  background-color: var(--accent);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(10, 170, 228, 0.39);
}
.btn-accent:hover { background-color: var(--accent-hover); }

.btn-outline {
  background-color: transparent;
  color: var(--text-inverse);
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
}
.btn-outline:hover { background-color: rgba(255, 255, 255, 0.1); }

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}
.material-symbols-outlined.filled {
  font-variation-settings: 'FILL' 1;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) var(--spacing-lg);
  max-width: var(--container-max);
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  text-decoration: none;
}

.nav-brand img { height: 40px; }
.nav-brand span {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--primary-container);
  text-transform: uppercase;
  letter-spacing: -0.05em;
}

.nav-links {
  display: none;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    gap: var(--spacing-lg);
  }
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

/* Hero Section */
.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px; /* Offset for navbar */
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(27, 54, 93, 0.9) 0%, rgba(0, 32, 70, 0.6) 50%, transparent 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.hero-content h1 {
  color: var(--text-inverse);
  margin-bottom: var(--spacing-lg);
}

.hero-content p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.125rem;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

/* Intro Section */
.intro {
  background-color: var(--surface);
}

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

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

.intro-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1/1;
  background-color: var(--surface-low);
  box-shadow: var(--shadow-md);
}

.intro-image:last-child {
  transform: translateY(2rem);
}

.intro-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.intro-image:hover img {
  transform: scale(1.05);
}

/* Bento Grid */
.bento-section {
  background-color: var(--surface-low);
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
}

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

.bento-card {
  background-color: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.bento-card.dark {
  background-color: var(--primary-container);
  color: var(--text-inverse);
  border: none;
}

.bento-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-bottom: 1.5rem;
}

.bento-header .icon {
  font-size: 2.5rem;
  color: var(--accent);
}

.bento-subcards {
  display: flex;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.subcard {
  flex: 1;
  min-width: 200px;
  background-color: rgba(0, 32, 70, 0.05);
  padding: 1rem;
  border-radius: var(--radius-md);
}

.subcard h4 { color: var(--primary-container); margin-bottom: 0.25rem; }
.subcard p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

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

.rules-list li {
  display: flex;
  gap: var(--spacing-md);
  align-items: flex-start;
  margin-bottom: 1rem;
}

.rules-list .icon {
  color: var(--accent);
}

/* Process Section */
.process-section {
  background-color: var(--surface);
  text-align: center;
}

.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  position: relative;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .process-steps {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .process-line {
    position: absolute;
    top: 48px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--surface-low);
    z-index: 0;
  }
}

.step {
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 96px;
  height: 96px;
  background-color: var(--surface);
  border: 4px solid var(--surface-low);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: all 0.3s;
}

.step:hover .step-icon {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.step.final .step-icon {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--text-inverse);
  box-shadow: var(--shadow-glow);
}

.step-icon .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--primary);
}

.step.final .step-icon .material-symbols-outlined {
  color: var(--text-inverse);
}

/* Prizes Section */
.prizes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.prize-card {
  background-color: var(--surface);
  border-radius: 1rem;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}

.prize-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  transition: background-color 0.2s;
}

.prize-item:hover {
  background-color: var(--background);
}

.prize-medal {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

.medal-1 { background-color: #fef3c7; color: #d97706; }
.medal-2 { background-color: #f1f5f9; color: #64748b; }
.medal-3 { background-color: #ffedd5; color: #ea580c; }

.timeline-card {
  background-color: var(--primary-container);
  color: var(--text-inverse);
  border-radius: 1rem;
  padding: 2.5rem;
}

.timeline-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-date {
  width: 64px;
  height: 64px;
  background-color: var(--accent);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 1;
  box-shadow: var(--shadow-glow);
}

.timeline-date.error {
  background-color: var(--error);
  box-shadow: 0 0 20px rgba(186, 26, 26, 0.4);
}

.timeline-date span:first-child { font-size: 0.75rem; text-transform: uppercase; font-weight: 700; }
.timeline-date span:last-child { font-size: 1.5rem; font-weight: 900; }

/* Committee Section */
.committee-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

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

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

.committee-member {
  text-align: center;
  cursor: pointer;
}

.member-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 1rem;
  filter: grayscale(100%);
  transition: all 0.3s ease;
  background-color: var(--surface-low);
}

.committee-member:hover .member-photo {
  filter: grayscale(0%);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.member-name {
  font-weight: 700;
  color: var(--primary);
  transition: color 0.3s;
  font-size: 0.9rem;
}

.committee-member:hover .member-name {
  color: var(--accent);
}

/* Recognition Section */
.recognition {
  background-color: #0f172a;
  color: var(--text-inverse);
}

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

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

.recognition-content {
  order: 2;
}

@media (min-width: 768px) {
  .recognition-content {
    order: 1;
  }
  .recognition-image {
    order: 2;
  }
}

.recognition-features {
  display: flex;
  gap: var(--spacing-lg);
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  font-weight: 700;
}

.feature-item .icon {
  color: var(--accent);
}

.recognition-image {
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.recognition-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA Section */
.cta-section {
  background-color: var(--accent);
  text-align: center;
  color: var(--text-inverse);
}

.cta-section h2 { margin-bottom: 1rem; }
.cta-section p { font-size: 1.125rem; margin-bottom: 2rem; opacity: 0.9; }

/* Footer */
.footer {
  background-color: #0f172a;
  color: var(--text-inverse);
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand h4 { margin-bottom: 0.5rem; }
.footer-brand p { color: rgba(255, 255, 255, 0.5); font-size: 0.875rem; margin: 0; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--text-inverse);
}

/* Animations */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.member-photo{
  display:none;
}