/* ==========================================
   IURSAE 2026 DESIGN SYSTEM & STYLES (MNTN)
   ========================================== */

/* CORE VARIABLES */
:root {
  --bg-darker: #040c0e;
  --bg-dark: #081418;
  --bg-card: rgba(12, 28, 34, 0.6);
  --bg-card-hover: rgba(16, 36, 44, 0.85);
  --border-glass: rgba(16, 185, 129, 0.15);
  --border-glass-hover: rgba(16, 185, 129, 0.35);
  
  --accent-primary: #10b981;    /* Mint Green */
  --accent-primary-rgb: 16, 185, 129;
  --accent-secondary: #0f766e;  /* Teal */
  --accent-orange: #f97316;     /* Orange highlight */
  --accent-gold: #f59e0b;       /* Gold/Yellow from Ruhuna Logo */
  --accent-lime: #8ce628;       /* Vibrant Lime Green like GROWTREE */
  
  --text-white: #f8fafc;
  --text-light: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dark: #64748b;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-display: 'Outfit', sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --sidebar-width: 80px;
}

/* RESET & BASE STYLES */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-darker);
  color: var(--text-light);
  font-family: var(--font-sans);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* SCROLLBAR CUSTOMIZATION */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #0f2d35;
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* LAYOUT CONTAINER */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
}

/* UTILITY BADGES & BUTTONS */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.badge-outline {
  border: 1px solid var(--border-glass);
  color: var(--accent-primary);
  background: rgba(16, 185, 129, 0.03);
}

.badge-accent {
  background: var(--accent-orange);
  color: var(--text-white);
}

.pulse-indicator {
  width: 8px;
  height: 8px;
  background-color: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-glow 1.5s infinite;
}

@keyframes pulse-glow {
  0% { transform: scale(0.9); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.4; }
  100% { transform: scale(0.9); opacity: 1; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
  color: var(--bg-darker);
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(16, 185, 129, 0.35);
}

.btn-accent {
  background: var(--accent-lime);
  color: var(--bg-darker);
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(140, 230, 40, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  background: #a3f73c;
  box-shadow: 0 6px 25px rgba(140, 230, 40, 0.4);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text-white);
}

.btn-outline:hover {
  border-color: var(--accent-primary);
  background: rgba(16, 185, 129, 0.05);
  color: var(--accent-primary);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-white);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.btn-large {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

.btn-link-download {
  background: rgba(16, 28, 34, 0.4);
  border: 1px solid var(--border-glass);
  color: var(--accent-primary);
  padding: 0.75rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
}

.btn-link-download:hover {
  background: rgba(16, 185, 129, 0.1);
  color: var(--text-white);
}

.btn-icon-right {
  transition: transform 0.3s;
}

.btn:hover .btn-icon-right {
  transform: translateX(4px);
}

/* SECTION STRUCTURES */
.section-badge {
  color: var(--accent-orange);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  display: block;
}

.section-heading {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}

/* FIXED SIDEBARS */
.sidebar-left {
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid rgba(16, 185, 129, 0.05);
  background: linear-gradient(to right, rgba(4, 12, 14, 0.9), rgba(4, 12, 14, 0));
  pointer-events: none;
}

.sidebar-social {
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.vertical-text {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  white-space: nowrap;
}

.sidebar-social .line {
  width: 1px;
  height: 60px;
  background-color: var(--text-dark);
}

.sidebar-social a {
  color: var(--text-muted);
  padding: 0.5rem;
}

.sidebar-social a:hover {
  color: var(--accent-primary);
  transform: translateY(-3px);
}

.sidebar-right {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--sidebar-width);
  z-index: 100;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-left: 1px solid rgba(16, 185, 129, 0.05);
  background: linear-gradient(to left, rgba(4, 12, 14, 0.9), rgba(4, 12, 14, 0));
}

.tracker-nav {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  align-items: flex-end;
  padding-right: 1rem;
}

.tracker-item {
  position: relative;
}

.tracker-item a {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.tracker-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  pointer-events: none;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.tracker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--text-dark);
  transition: var(--transition-smooth);
}

.tracker-item:hover .tracker-label {
  opacity: 1;
  transform: translateX(0);
}

.tracker-item:hover .tracker-dot,
.tracker-item.active .tracker-dot {
  background-color: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  transform: scale(1.5);
}

.tracker-item.active .tracker-label {
  color: var(--text-white);
  opacity: 0.5; /* Subtle showing */
}

/* STICKY HEADER */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  background: rgba(4, 12, 14, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(16, 185, 129, 0.08);
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  background: rgba(4, 12, 14, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  padding: 0 4rem;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-svg {
  animation: spin-gear 60s linear infinite;
}

@keyframes spin-gear {
  100% { transform: rotate(360deg); }
}

.logo-text-group {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: 0.05em;
  color: var(--text-white);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.accent-color {
  color: var(--accent-primary);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.02em;
}

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

.nav-cmt-btn {
  margin-left: 2rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
}

.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-nav-toggle .bar {
  width: 25px;
  height: 2px;
  background-color: var(--text-white);
  transition: var(--transition-smooth);
}

/* HERO SECTION */
.hero-section {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  padding-top: 130px;
  padding-bottom: 100px;
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 4rem;
  width: 100%;
}

.hero-header-badge {
  display: flex;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.hero-main-content {
  margin-bottom: 2rem;
  max-width: 950px;
  width: 100%;
}

/* Giant layered title similar to 'GROW' in GROWTREE */
.hero-giant-title {
  font-family: var(--font-display);
  font-size: 11rem;
  font-weight: 900;
  color: var(--text-white);
  line-height: 0.85;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  /* Paper cut-out/layered 3D shadow effect */
  text-shadow: 
    0 1px 0 #cccccc,
    0 2px 0 #c5c5c5,
    0 3px 0 #bbbbbb,
    0 4px 0 #b4b4b4,
    0 5px 0 #aaaaaa,
    0 6px 1px rgba(0,0,0,0.1),
    0 0 5px rgba(0,0,0,0.1),
    0 1px 3px rgba(0,0,0,0.3),
    0 3px 5px rgba(0,0,0,0.2),
    0 5px 10px rgba(0,0,0,0.25),
    0 10px 20px rgba(0,0,0,0.3),
    0 20px 30px rgba(0,0,0,0.4);
  animation: float-title 6s ease-in-out infinite;
}

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

.hero-symposium-title {
  font-family: var(--font-sans);
  font-size: 1.45rem;
  font-weight: 500;
  max-width: 850px;
  color: var(--text-light);
  line-height: 1.4;
  margin: 0 auto 1.5rem auto;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  letter-spacing: -0.01em;
}

.hero-theme-tagline {
  font-size: 0.95rem;
  color: var(--accent-lime);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  margin-bottom: 1.5rem;
  padding: 0.5rem 1.5rem;
  display: inline-block;
  background: rgba(12, 28, 34, 0.5);
  border-radius: 50px;
  border: 1px solid var(--border-glass);
}

.hero-theme-tagline strong {
  color: var(--text-white);
}

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
  z-index: 10;
}

/* Countdown Wrapper in Hero */
.hero-countdown-wrapper {
  width: 100%;
  max-width: 550px;
  margin-bottom: 3.5rem;
  z-index: 10;
}

.hero-countdown-wrapper .countdown-card {
  background: rgba(8, 20, 24, 0.45);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.2rem 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  margin-bottom: 0;
  max-width: 550px;
}

.hero-countdown-wrapper .countdown-heading {
  font-size: 0.75rem;
  letter-spacing: 0.10em;
  margin-bottom: 0.8rem;
  color: var(--text-muted);
}

.hero-countdown-wrapper .countdown-grid {
  gap: 1.5rem;
}

.hero-countdown-wrapper .countdown-number {
  font-size: 2.2rem;
  color: var(--text-white);
  text-shadow: 0 0 10px rgba(140, 230, 40, 0.2);
}

/* Centered Social Links like GROWTREE */
.hero-social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: auto;
  z-index: 10;
}

.hero-social-links a {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.hero-social-links a:hover {
  background: var(--accent-lime);
  color: var(--bg-darker);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(140, 230, 40, 0.35);
}

.hero-social-links a svg {
  width: 18px;
  height: 18px;
}

/* Floating QR card bottom right like video card in GROWTREE */
.hero-floating-card {
  position: absolute;
  right: 4rem;
  bottom: 4rem;
  width: 290px;
  background: rgba(12, 28, 34, 0.6);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(16, 185, 129, 0.15);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-align: left;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  z-index: 20;
  transition: var(--transition-smooth);
}

.hero-floating-card:hover {
  transform: translateY(-5px);
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(12, 28, 34, 0.75);
}

.floating-card-image {
  position: relative;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.qr-svg {
  display: block;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.card-action-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-lime);
  color: var(--bg-darker);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(140, 230, 40, 0.4);
  pointer-events: none;
}

.card-action-btn svg {
  width: 14px;
  height: 14px;
}

.floating-card-content {
  display: flex;
  flex-direction: column;
}

.floating-card-content h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.15rem;
}

.floating-card-content p {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.card-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-lime);
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-link:hover {
  color: var(--text-white);
}

/* Scroll indicator */
.scroll-down-indicator {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
}

.scroll-down-indicator:hover {
  opacity: 1;
}

.scroll-down-text {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--text-light);
}

.scroll-icon {
  animation: bounce-scroll 2s infinite;
}

@keyframes bounce-scroll {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-6px); }
  60% { transform: translateY(-3px); }
}

/* Responsiveness overrides for new hero layout */
@media (max-width: 992px) {
  .hero-giant-title {
    font-size: 8rem;
  }
  .hero-floating-card {
    bottom: 2rem;
    right: 2rem;
  }
}

@media (max-width: 768px) {
  .hero-giant-title {
    font-size: 5rem;
    margin-bottom: 1rem;
  }
  .hero-symposium-title {
    font-size: 1.2rem;
  }
  .hero-floating-card {
    position: static;
    margin: 2rem auto 0 auto;
    width: 100%;
    max-width: 320px;
  }
  .hero-countdown-wrapper {
    margin-bottom: 2.5rem;
  }
}

/* ABOUT SECTION */
.about-section {
  padding: 120px 0;
  background-color: var(--bg-dark);
  border-bottom: 1px solid rgba(16, 185, 129, 0.05);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 0 2rem;
}

.about-paragraph {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.about-paragraph strong {
  color: var(--text-white);
}

.about-paragraph em {
  color: var(--accent-primary);
  font-style: normal;
  font-weight: 600;
}

.organizer-badge-card {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 2.5rem;
}

.organizer-info h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.organizer-info p {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-white);
}

.organizer-info .faculty {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.2rem;
}

.about-flyer-card {
  position: relative;
}

.flyer-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-smooth);
}

.flyer-img {
  width: 100%;
  height: auto;
  transition: transform 0.6s ease;
}

.flyer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(4, 12, 14, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.flyer-image-container:hover .flyer-overlay {
  opacity: 1;
}

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

/* SESSIONS SECTION (MNTN STYLE) */
.tracks-section {
  padding: 120px 0;
  background-color: var(--bg-darker);
}

.tracks-header {
  margin-bottom: 6rem;
}

.track-block {
  padding: 80px 0;
  position: relative;
}

.track-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
  padding: 0 4rem;
}

.track-info {
  position: relative;
  z-index: 10;
}

.track-number {
  position: absolute;
  top: -80px;
  left: -20px;
  font-family: var(--font-display);
  font-size: 11rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
}

.track-pre-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
}

.accent-line {
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: var(--accent-gold);
}

.track-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.track-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.track-focus-areas h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.focus-list {
  list-style: none;
  display: grid;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.focus-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.focus-icon {
  color: var(--accent-primary);
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent-primary);
  font-size: 0.95rem;
}

.read-more-link svg {
  transition: transform 0.3s;
}

.read-more-link:hover {
  color: var(--text-white);
}

.read-more-link:hover svg {
  transform: translateX(5px);
}

.track-image-container {
  position: relative;
}

.track-img-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.track-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.track-block:hover .track-img {
  transform: scale(1.03);
}

.track-img-decoration {
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(16, 185, 129, 0.2);
  pointer-events: none;
  border-radius: 6px;
  z-index: 2;
}

/* Alternate reverse block styling */
.track-block.reverse .track-grid {
  direction: ltr;
}

.track-block.reverse .track-grid > :first-child {
  order: 2;
}

.track-block.reverse .track-grid > :last-child {
  order: 1;
}

.track-block.reverse .track-number {
  left: auto;
  right: -20px;
}

/* DATES SECTION (TIMELINE) */
.dates-section {
  padding: 120px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(16, 185, 129, 0.05);
  border-bottom: 1px solid rgba(16, 185, 129, 0.05);
}

.timeline-container {
  max-width: 900px;
  margin: 4rem auto 0 auto;
  position: relative;
  padding: 2rem 0;
}

.timeline-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent-primary), var(--accent-secondary), var(--bg-dark));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  margin-bottom: 4rem;
  position: relative;
}

.timeline-dot-wrapper {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.timeline-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-darker);
  border: 2px solid var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
  transition: var(--transition-smooth);
}

.timeline-dot svg {
  width: 18px;
  height: 18px;
}

.timeline-card {
  width: 45%;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: var(--transition-smooth);
}

.timeline-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-3px);
}

.timeline-item:nth-child(even) {
  justify-content: flex-end;
}

.timeline-item:nth-child(odd) {
  justify-content: flex-start;
}

/* Status Badges in Timeline */
.timeline-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.status-completed {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-primary);
}

.status-active {
  background: rgba(249, 115, 22, 0.15);
  color: var(--accent-orange);
}

.ping-circle {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-orange);
  display: inline-block;
  animation: pulse-ping 1.2s infinite;
}

@keyframes pulse-ping {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.status-upcoming {
  background: rgba(148, 163, 184, 0.1);
  color: var(--text-muted);
}

.status-event-day {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}

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

.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text-white);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Timeline Specific Node highlights */
.timeline-item.completed .timeline-dot {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.timeline-item.active .timeline-dot {
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  box-shadow: 0 0 15px rgba(249, 115, 22, 0.2);
}

.timeline-item.event-day .timeline-dot {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* SUBMISSION GUIDELINES SECTION */
.submission-section {
  padding: 120px 0;
  background-color: var(--bg-darker);
}

.submission-grid {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 0 2rem;
}

.guidelines-card {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.guideline-rule {
  display: flex;
  gap: 1.5rem;
}

.rule-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.guideline-rule h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.4rem;
}

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

/* Submission CMT Card */
.submission-actions-card {
  position: relative;
  border-radius: 16px;
  padding: 3rem;
  background: radial-gradient(circle at top right, rgba(16, 185, 129, 0.08), transparent), rgba(12, 28, 34, 0.5);
  backdrop-filter: blur(15px);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  overflow: hidden;
}

.cmt-card-glow {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  filter: blur(30px);
  pointer-events: none;
}

.cmt-card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cmt-icon-wrapper {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(15, 118, 110, 0.15));
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.cmt-cloud-icon {
  color: var(--accent-primary);
  width: 32px;
  height: 32px;
}

.submission-actions-card h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--text-white);
  margin-bottom: 1rem;
}

.submission-actions-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.5;
}

.template-download-btn {
  width: 100%;
  margin-bottom: 0.75rem;
}

.template-note {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.4;
  text-align: center;
}

.submit-large-btn {
  width: 100%;
  margin-bottom: 2.5rem;
}

.template-downloads {
  width: 100%;
  text-align: left;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  padding-top: 1.8rem;
}

.template-downloads h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.download-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

/* REGISTRATION FEES BLOCK */
.registration-fees-block {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  text-align: center;
}

.fees-heading {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 1.5rem;
}

.fees-grid {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 1.25rem;
  max-width: 500px;
  margin: 0 auto 1.25rem auto;
}

.fee-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 12px;
  padding: 1.25rem 1rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 160px;
  max-width: 220px;
}

.fee-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-3px);
}

.fee-participant-type {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.fee-amount {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-lime);
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(140, 230, 40, 0.2);
}

.fees-deadline-text {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 auto;
}

/* COMMITTEE & CONTACT SECTION */
.contact-section {
  padding: 120px 0;
  background-color: var(--bg-dark);
  border-top: 1px solid rgba(16, 185, 129, 0.05);
}

.committee-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  max-width: 900px;
  margin: 4rem auto 3rem auto;
}

.committee-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: var(--transition-smooth);
}

.committee-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-5px);
}

.member-role-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-secondary);
  color: var(--text-white);
  padding: 0.3rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 5px 15px rgba(15, 118, 110, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  white-space: nowrap;
}

.member-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(15, 118, 110, 0.1));
  border: 2px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.avatar-fallback {
  color: var(--accent-primary);
}

.avatar-fallback svg {
  width: 36px;
  height: 36px;
}

.member-name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.member-dept {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}

.member-uni {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.member-contact-details {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: center;
  border-top: 1px solid rgba(16, 185, 129, 0.1);
  padding-top: 1.5rem;
}

.contact-line {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-line svg {
  width: 16px;
  height: 16px;
  color: var(--accent-primary);
}

.contact-line:hover {
  color: var(--accent-primary);
}

/* General Queries Contact Block */
.contact-queries-block {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 1.5rem 2rem;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transition: var(--transition-smooth);
}

.contact-queries-block:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.contact-queries-text {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  font-size: 1.05rem;
  color: var(--text-light);
  margin: 0;
  line-height: 1.5;
}

.contact-queries-icon {
  width: 20px;
  height: 20px;
  color: var(--accent-primary);
  flex-shrink: 0;
}

.contact-queries-link {
  color: var(--accent-primary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: var(--transition-smooth);
}

.contact-queries-link:hover {
  color: var(--accent-secondary);
}

/* FOOTER */
.main-footer {
  background-color: var(--bg-darker);
  border-top: 1px solid rgba(16, 185, 129, 0.08);
  padding: 80px 0 0 0;
  position: relative;
  z-index: 10;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 6rem;
  padding-bottom: 5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--accent-gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-sub-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 500px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}

.footer-links-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-white);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links-col a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-links-col a:hover {
  color: var(--accent-primary);
  padding-left: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  padding: 2rem 0;
  font-size: 0.8rem;
  color: var(--text-dark);
}

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

.footer-ack-container {
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-ack-title {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.footer-ack-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: normal;
  font-style: normal;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 900px;
  margin: 0;
  display: block;
  opacity: 1;
  visibility: visible;
}

/* RESPONSIVE DESIGN - MEDIA QUERIES */

@media (max-width: 1400px) {
  --sidebar-width: 60px;
  .header-container {
    padding: 0 2rem;
  }
}

@media (max-width: 1200px) {
  .sidebar-left,
  .sidebar-right {
    display: none; /* Collapse sidebars for mid-screen layouts */
  }
  .header-container {
    padding: 0 2rem;
  }
  .hero-container {
    padding: 0 1rem;
  }
  .track-grid {
    padding: 0 1rem;
  }
}

@media (max-width: 992px) {
  .section-heading {
    font-size: 2.25rem;
  }
  .hero-theme-title {
    font-size: 2.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .about-flyer-card {
    max-width: 500px;
    margin: 0 auto;
  }
  .track-grid {
    grid-template-columns: 1fr !important;
    gap: 3rem;
  }
  .track-block.reverse .track-grid > :first-child {
    order: 1;
  }
  .track-block.reverse .track-grid > :last-child {
    order: 2;
  }
  .track-img {
    height: 380px;
  }
  .timeline-line {
    left: 20px;
  }
  .timeline-dot-wrapper {
    left: 20px;
  }
  .timeline-card {
    width: calc(100% - 60px);
    margin-left: 60px !important;
  }
  .timeline-item {
    justify-content: flex-start !important;
  }
  .submission-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .committee-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    max-width: 450px;
  }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
}

@media (max-width: 768px) {
  .main-header {
    background: rgba(4, 12, 14, 0.95);
  }
  .mobile-nav-toggle {
    display: flex;
  }
  .main-nav {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--bg-darker);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    padding: 2rem;
    display: none;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
  }
  .main-nav.active {
    display: flex;
  }
  .main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    text-align: center;
  }
  .nav-cmt-btn {
    margin-left: 0;
    margin-top: 1.5rem;
    width: 100%;
  }
  .hero-meta {
    flex-direction: column;
    gap: 1.5rem;
  }
  .countdown-grid {
    gap: 1rem;
  }
  .countdown-number {
    font-size: 2.2rem;
  }
  .countdown-card {
    padding: 1.5rem 1.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .contact-queries-block {
    padding: 1.25rem 1.5rem;
  }
  .contact-queries-text {
    font-size: 0.95rem;
  }
  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-container {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* Hamburger menu transformation when active */
.mobile-nav-toggle.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* SCROLL REVEAL ANIMATIONS */
.reveal, .reveal-left, .reveal-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal {
  transform: translateY(30px);
}

.reveal-left {
  transform: translateX(-40px);
}

.reveal-right {
  transform: translateX(40px);
}

.reveal.active, .reveal-left.active, .reveal-right.active {
  opacity: 1;
  transform: translate(0);
}
