:root {
  /* Colors */
  --primary: #0D2F35; /* Deep teal/blue */
  --primary-light: #164E8A; /* Secondary blue */
  --accent: #C99A3B; /* Gold */
  --accent-hover: #b58931;
  --bg-color: #F8F9FA;
  --bg-light: #FFFFFF;
  --text-main: #1E293B;
  --text-muted: #64748B;
  --border: #E2E8F0;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 15px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 40px rgba(13, 47, 53, 0.08);
  --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
  
  /* Layout */
  --container-w: 1350px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px; /* Offset for fixed header */
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-main);
  background-color: var(--bg-color);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: inherit;
}

/* Utilities */
.container {
  width: 90%;
  max-width: var(--container-w);
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--bg-light);
}

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

.kicker {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}

/* Typography */
h1, h2, h3, h4 {
  line-height: 1.2;
  font-weight: 700;
  color: var(--primary);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(22, 78, 138, 0.2);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Header Logos & Text */
.logo-link {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.institution-strip {
  display: flex;
  gap: 6px;
  border-right: 2px solid var(--border);
  padding-right: 0.75rem;
  flex-shrink: 0;
}

.institution-strip img {
  height: clamp(60px, 6vw, 90px);
  width: auto;
  object-fit: contain;
}

/* Header & Nav */
.site-header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

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

.header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 125px;
  width: 100%;
  padding: 0 1rem;
  max-width: 100%;
  margin: 0;
  gap: clamp(1.5rem, 3vw, 5rem);
}

.logo-text {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text-muted);
  white-space: nowrap;
}

.logo-text strong {
  font-size: clamp(1.4rem, 1.6vw, 2rem);
  color: var(--primary);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1.5vw, 1.5rem);
  flex-shrink: 0;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 1.5rem);
  flex-shrink: 0;
}

.header-meta-compact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: clamp(0.75rem, 0.8vw, 0.85rem);
  color: var(--text-muted);
  font-weight: 600;
  text-align: right;
}

.header-meta-compact span {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.nav-link {
  font-weight: 600;
  font-size: clamp(0.85rem, 0.9vw, 0.95rem);
  color: var(--text-main);
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-btn span {
  width: 30px;
  height: 2px;
  background-color: var(--primary);
  transition: var(--transition);
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(135deg, #f0f7f8 0%, #ffffff 100%);
  z-index: -1;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,154,59,0.1) 0%, rgba(255,255,255,0) 70%);
}

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

.badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(22, 78, 138, 0.1);
  color: var(--primary-light);
  border-radius: 20px;
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1.5rem;
}

.highlight-text {
  color: var(--primary-light);
  position: relative;
}

.highlight-text::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 30%;
  background-color: rgba(201,154,59,0.2);
  z-index: -1;
  transform: rotate(-1deg);
}

.hero-desc {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

/* Hero Visual & Glassmorphism */
.hero-visual {
  position: relative;
}

.hero-poster {
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  transform: rotate(2deg);
  transition: var(--transition);
}

.hero-poster:hover {
  transform: rotate(0deg) scale(1.02);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: var(--shadow-glass);
  border-radius: 16px;
  padding: 1.5rem;
  position: absolute;
  z-index: 2;
}

.award-card {
  top: -30px;
  right: -30px;
  display: flex;
  align-items: center;
  gap: 1rem;
  animation: float 6s ease-in-out infinite;
}

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

.award-text strong {
  display: block;
  color: var(--primary);
  font-size: 1.2rem;
}

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

.deadline-card {
  bottom: -20px;
  left: -40px;
  animation: float 5s ease-in-out infinite reverse;
}

.deadline-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
}

.deadline-date {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--accent);
}

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

/* About Section */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.about-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
}

.about-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(22, 78, 138, 0.1);
}

.icon-box {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}

.about-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.about-card p {
  color: var(--text-muted);
}

/* Topics Section */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.topic-item {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  font-weight: 600;
  border-left: 4px solid var(--primary-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.topic-item:hover {
  transform: translateX(5px);
  border-left-color: var(--accent);
  box-shadow: var(--shadow-md);
}

/* Participation Section */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.timeline {
  margin-top: 2rem;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 7px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  padding-bottom: 2rem;
}

.timeline-dot {
  position: absolute;
  left: 0; top: 5px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 3px solid var(--primary-light);
  z-index: 2;
  transition: var(--transition);
}

.timeline-item.active .timeline-dot {
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(201,154,59,0.2);
}

.timeline-date {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.timeline-content {
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary);
}

.rules-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.rule-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.rule-card h4 {
  margin-bottom: 0.5rem;
}

.rule-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.docs-box h3 {
  margin-bottom: 1.5rem;
}

.doc-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.doc-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: var(--transition);
  font-weight: 600;
}

.doc-btn:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: white;
}

.doc-btn small {
  opacity: 0.7;
  font-weight: 400;
}

/* Committees Section */
.committees-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.committee-group {
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.committee-group h3 {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

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

.committee-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  font-weight: 600;
}

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

.committee-list li span {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.25rem;
}

.committee-list.multi-col {
  column-count: 2;
  column-gap: 3rem;
}

.committee-list.multi-col li {
  break-inside: avoid;
}

/* Contact Section */
.contact-card {
  background: var(--primary);
  border-radius: 24px;
  color: white;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-info {
  padding: 4rem;
}

.contact-info h2 {
  color: white;
}

.contact-info p {
  color: rgba(255,255,255,0.8);
}

.contact-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.5rem;
  background: rgba(255,255,255,0.1);
  width: 48px; height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.contact-item strong {
  display: block;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.contact-item span, .contact-item a {
  color: white;
  opacity: 0.9;
}

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

.contact-visual {
  background: var(--primary-light);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.abstract-shape {
  position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(201,154,59,0.3) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
}

.contact-logo {
  width: 180px;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

/* Footer */
.site-footer {
  background: white;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-inner p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-logos {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-logos img {
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: var(--transition);
}

.footer-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.fade-left { transform: translateX(30px); }
.fade-right { transform: translateX(-30px); }
.fade-up { transform: translateY(30px); }

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-container, .split-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .contact-card {
    grid-template-columns: 1fr;
  }
  
  .contact-visual {
    padding: 3rem;
  }
  
  .award-card {
    right: 10px;
    top: -20px;
  }
}

@media (max-width: 1200px) {
  .header-inner {
    justify-content: space-between;
    height: 90px;
    padding: 0 4%;
    gap: 1rem;
  }
  
  .institution-strip img {
    height: 50px;
  }
  
  .logo-text strong {
    font-size: 1.2rem;
  }
  
  .logo-text {
    font-size: 0.85rem;
  }
  
  .header-meta-compact {
    display: none;
  }
  
  .mobile-menu-btn {
    display: flex;
  }
  
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border-top: 1px solid var(--border);
  }
  
  .main-nav.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

@media (max-width: 768px) {
  .logo-text {
    display: none;
  }
  
  .institution-strip {
    border-right: none;
    padding-right: 0;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .committee-list.multi-col {
    column-count: 1;
  }
  
  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-actions {
    flex-direction: column;
  }
  
  .contact-info {
    padding: 2rem;
  }
  
  .award-card, .deadline-card {
    position: static;
    margin-top: 1rem;
    width: 100%;
    animation: none;
  }
}
