/* ==========================================================================
   Additive Manufacturing & Device Prototyping Workshop CSS Design System
   Theme: Modern Clean, White & Light Blue Accent Theme
   ========================================================================== */

/* Design Tokens & Custom Variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f0f9ff;
  --text-main: #0f172a;
  --text-medium: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  /* Light Blue/Cyan Palette */
  --blue-primary: #0ea5e9;
  --blue-secondary: #38bdf8;
  --blue-dark: #0284c7;
  --blue-deep: #0369a1;
  --blue-light: #e0f2fe;
  --blue-glowing: rgba(14, 165, 233, 0.4);
  --blue-glowing-light: rgba(14, 165, 233, 0.1);
  
  /* Secondary Color System */
  --accent-green: #10b981;
  --accent-green-bg: #d1fae5;
  --accent-red: #ef4444;
  --accent-orange: #f97316;
  --accent-orange-bg: #ffedd5;
  
  /* Fonts */
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-title: 'Outfit', system-ui, sans-serif;
  
  /* UI Elevatons */
  --shadow-sm: 0 2px 8px rgba(14, 165, 233, 0.05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.04), 0 1px 8px rgba(14, 165, 233, 0.06);
  --shadow-lg: 0 20px 40px rgba(15, 23, 42, 0.06), 0 1px 20px rgba(14, 165, 233, 0.08);
  --shadow-glowing: 0 0 25px rgba(14, 165, 233, 0.35);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --header-height: 80px;
}

/* Base resets & Clean setups */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

ul {
  list-style: none;
}

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

/* Common Section Layouts */
.section-padding {
  padding: 100px 0;
}

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

/* ==========================================================================
   Typography & Titles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 700;
  line-height: 1.25;
}

.text-gradient {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-title-wrapper {
  margin-bottom: 60px;
}

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

.section-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-dark);
  background-color: var(--blue-light);
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--text-main);
  margin-bottom: 16px;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--blue-secondary));
  margin: 0 auto 20px auto;
  border-radius: 2px;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* ==========================================================================
   Button System
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: var(--font-title);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  color: var(--bg-primary);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.btn-glow {
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
}

.btn-glow:hover {
  box-shadow: var(--shadow-glowing);
}

.btn-secondary {
  background-color: var(--blue-light);
  color: var(--blue-dark);
}

.btn-secondary:hover {
  background-color: rgba(14, 165, 233, 0.18);
  transform: translateY(-2px);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   Top Announcement Bar & Header Section
   ========================================================================== */
.announcement-bar {
  background-color: var(--text-main);
  color: var(--bg-secondary);
  font-size: 0.85rem;
  padding: 8px 0;
  font-weight: 500;
}

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

.pulse-icon {
  color: var(--blue-secondary);
  animation: pulse-glow 2s infinite;
  margin-right: 4px;
}

@keyframes pulse-glow {
  0% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 1; text-shadow: 0 0 8px var(--blue-secondary); }
  100% { transform: scale(1); opacity: 0.8; }
}

.bar-venue {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Sticky Header */
.site-header {
  height: var(--header-height);
  width: 100%;
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(14, 165, 233, 0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.95);
  height: 70px;
}

.header-container {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

/* Logo Design */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--blue-light) 0%, rgba(56, 189, 248, 0.2) 100%);
  border: 1.5px solid var(--blue-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-dark);
  font-size: 1.25rem;
  animation: float-slow 4s ease-in-out infinite;
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  animation: float-slow 4s ease-in-out infinite;
}

.brand-logo-img-footer {
  height: 38px;
  animation: none;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(5deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-top: -2px;
}

/* Navigation Links */
.main-nav ul {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-title);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-medium);
  padding: 8px 4px;
  position: relative;
}

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

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

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

/* Mobile Nav Toggle Icon */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 101;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--text-main);
  border-radius: 2px;
  position: absolute;
  transition: var(--transition);
}

.mobile-nav-toggle .bar:nth-child(1) { top: 0; }
.mobile-nav-toggle .bar:nth-child(2) { top: 10px; }
.mobile-nav-toggle .bar:nth-child(3) { top: 20px; }

/* Open menu state for toggle */
.mobile-nav-toggle.open .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.mobile-nav-toggle.open .bar:nth-child(2) {
  opacity: 0;
  transform: translateX(-20px);
}

.mobile-nav-toggle.open .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

/* Mobile Menu Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background-color: var(--bg-primary);
  box-shadow: -10px 0 40px rgba(15, 23, 42, 0.1);
  padding: 100px 30px 40px;
  z-index: 99;
  transition: var(--transition);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.drawer-link {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-main);
  display: block;
  padding: 8px 0;
  border-bottom: 1.5px solid var(--bg-secondary);
}

.drawer-link:hover {
  color: var(--blue-primary);
  border-bottom-color: var(--blue-light);
  padding-left: 8px;
}

/* ==========================================================================
   Hero Section Layout
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--bg-primary);
  padding: 80px 0 100px 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(14, 165, 233, 0.08);
}

/* Graphic glow background elements */
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(var(--blue-glowing-light) 1.5px, transparent 1.5px),
    radial-gradient(var(--blue-glowing-light) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.65;
  pointer-events: none;
}

.hero-glow-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 80%;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -10%;
  right: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(60px);
  pointer-events: none;
}

.floating-cube {
  position: absolute;
  color: var(--blue-secondary);
  opacity: 0.15;
  font-size: 3rem;
  pointer-events: none;
  animation: float-rotate 10s ease-in-out infinite;
}

.cube-1 {
  top: 15%;
  right: 48%;
  animation-duration: 12s;
}

.cube-2 {
  bottom: 20%;
  left: 5%;
  font-size: 2.2rem;
  animation-duration: 8s;
}

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

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 10;
}

/* Collab Badge */
.collab-badge {
  display: inline-block;
  background-color: var(--bg-tertiary);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 24px;
}

.badge-text {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--blue-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.collab-badge .divider {
  color: var(--blue-secondary);
  opacity: 0.6;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-medium);
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-bottom: 40px;
  border-left: 3px solid var(--blue-secondary);
  padding-left: 20px;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--blue-light);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.meta-details {
  display: flex;
  flex-direction: column;
}

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

.meta-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* ==========================================================================
   Countdown Visual Card & CSS 3D Printer Animation
   ========================================================================== */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.countdown-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 165, 233, 0.15);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.countdown-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-secondary), var(--blue-primary));
}

.countdown-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulse-green 1.5s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.countdown-header h3 {
  font-size: 0.95rem;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}

.countdown-box {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-sm);
  padding: 12px 6px;
  text-align: center;
  transition: var(--transition);
}

.countdown-box:hover {
  background-color: var(--blue-light);
  border-color: rgba(14, 165, 233, 0.3);
}

.time-num {
  display: block;
  font-family: var(--font-title);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.1;
  margin-bottom: 4px;
}

.time-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.countdown-footer {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-muted);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 12px;
}

/* CSS 3D Printer Animation Graphics */
.printer-box-wrapper {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-radius: var(--radius-md);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  border: 1.5px solid #334155;
  height: 200px;
  position: relative;
}

.bambu-logo-text {
  position: absolute;
  bottom: 10px;
  right: 15px;
  font-family: var(--font-title);
  font-size: 0.65rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
}

.printer-frame {
  width: 100%;
  max-width: 320px;
  height: 120px;
  border: 2px solid #475569;
  border-radius: 4px;
  position: relative;
  background-color: rgba(15, 23, 42, 0.6);
  display: flex;
  flex-direction: column;
}

.printer-gantry {
  width: 100%;
  height: 4px;
  background-color: #94a3b8;
  position: absolute;
  top: 30px;
  left: 0;
  animation: move-gantry 6s ease-in-out infinite;
}

@keyframes move-gantry {
  0%, 100% { top: 20px; }
  50% { top: 80px; }
}

.printer-extruder {
  width: 24px;
  height: 20px;
  background-color: #38bdf8;
  border-radius: 3px;
  position: absolute;
  top: -8px;
  left: 10px;
  animation: move-extruder 4s linear infinite;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.6);
}

@keyframes move-extruder {
  0%, 100% { left: 10px; }
  25% { left: 240px; }
  50% { left: 80px; }
  75% { left: 200px; }
}

.laser-beam {
  width: 2px;
  height: 12px;
  background: linear-gradient(to bottom, #38bdf8, transparent);
  position: absolute;
  bottom: -12px;
  left: 11px;
  animation: laser-pulse 0.2s linear infinite alternate;
}

@keyframes laser-pulse {
  0% { opacity: 0.4; height: 10px; }
  100% { opacity: 1; height: 14px; }
}

.print-bed {
  width: 90%;
  height: 3px;
  background-color: #475569;
  position: absolute;
  bottom: 15px;
  left: 5%;
}

.printed-object {
  width: 60px;
  height: 5px;
  background: linear-gradient(to top, var(--blue-primary), var(--blue-secondary));
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px 2px 0 0;
  animation: build-object 12s linear infinite;
}

@keyframes build-object {
  0%, 100% { height: 1px; width: 20px; background-color: #0ea5e9; }
  45% { height: 40px; width: 80px; background-color: #38bdf8; }
  90% { height: 40px; width: 80px; }
}

/* ==========================================================================
   Partners Logo Strip
   ========================================================================== */
.partners-section {
  padding: 40px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid rgba(14, 165, 233, 0.06);
  border-bottom: 1px solid rgba(14, 165, 233, 0.06);
}

.partners-label {
  text-align: center;
  font-size: 0.8rem;
  font-family: var(--font-title);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-bottom: 24px;
}

.partners-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.partner-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.partner-logo-card:hover {
  transform: translateY(-4px);
}

.partner-img {
  height: 65px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: var(--transition);
}

.partner-logo-card:hover .partner-img {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-name {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}

.partner-logo-card:hover .partner-name {
  opacity: 1;
  transform: translateY(0px);
  color: var(--blue-dark);
}

/* ==========================================================================
   About Section Components
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}

.about-info-panel h3 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 20px;
}

.about-info-panel p {
  color: var(--text-medium);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
}

.feature-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background-color: var(--blue-light);
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.feature-item:hover .feature-icon-box {
  background-color: var(--blue-dark);
  color: var(--bg-primary);
  transform: scale(1.05);
}

.feature-text h4 {
  font-size: 1.1rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.about-visual-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Glassmorphic Pre-requisite Card */
.glass-info-card {
  position: relative;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.glow-border {
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--blue-primary), var(--blue-secondary));
}

.card-inner {
  position: relative;
  z-index: 2;
}

.tech-icon {
  width: 44px;
  height: 44px;
  background-color: var(--bg-tertiary);
  color: var(--blue-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
}

.glass-info-card h4 {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.prereq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.prereq-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-medium);
}

.text-blue {
  color: var(--blue-dark);
}

.software-logo-row {
  display: flex;
  gap: 10px;
}

.badge-software {
  background-color: var(--bg-secondary);
  border: 1.5px solid rgba(15, 23, 42, 0.06);
  padding: 6px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-title);
  color: var(--text-medium);
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Spec Box Card */
.spec-card {
  background-color: #1e293b;
  color: #f8fafc;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 20px;
  border: 1px solid #334155;
}

.spec-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #94a3b8;
  border-bottom: 1px solid #334155;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

.dot-red {
  width: 10px;
  height: 10px;
  background-color: var(--accent-red);
  border-radius: 50%;
}

.spec-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}

.spec-row span {
  color: #94a3b8;
}

.spec-row strong {
  color: var(--blue-secondary);
}

/* ==========================================================================
   Schedule & Timeline Styles
   ========================================================================== */
.tabs-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 60px;
}

.tab-btn {
  background-color: var(--bg-primary);
  border: 1.5px solid rgba(14, 165, 233, 0.12);
  border-radius: var(--radius-md);
  padding: 16px 28px;
  text-align: left;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 250px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.tab-btn:hover {
  border-color: var(--blue-secondary);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: var(--blue-light);
  border-color: var(--blue-primary);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.15);
}

.tab-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05rem;
}

.tab-btn.active .tab-num {
  color: var(--blue-dark);
}

.tab-title {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
}

.tab-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.tab-content {
  display: none;
}

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

/* Timeline Layout */
.timeline {
  max-width: 850px;
  margin: 0 auto;
  position: relative;
  padding-left: 36px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 15px;
  width: 2px;
  background-color: rgba(14, 165, 233, 0.2);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  transition: var(--transition);
}

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

.timeline-time {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 6px;
}

.timeline-marker {
  position: absolute;
  left: -36px;
  top: 2px;
  width: 32px;
  height: 32px;
  background-color: var(--bg-primary);
  border: 2px solid var(--blue-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: var(--transition);
}

.marker-inner {
  width: 12px;
  height: 12px;
  background-color: var(--blue-primary);
  border-radius: 50%;
  transition: var(--transition);
}

.timeline-item:hover .timeline-marker {
  border-color: var(--blue-dark);
  box-shadow: 0 0 10px var(--blue-glowing);
}

.timeline-item:hover .marker-inner {
  transform: scale(1.2);
}

/* Break styles */
.timeline-break {
  padding-bottom: 10px;
}

.break-marker {
  background-color: var(--accent-orange-bg);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  font-size: 0.85rem;
}

.timeline-break .timeline-info {
  background-color: var(--accent-orange-bg);
  border-color: rgba(249, 115, 22, 0.15);
}

.timeline-break:hover .timeline-marker {
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.4);
}

/* Timeline Cards */
.timeline-info {
  background-color: var(--bg-primary);
  border: 1px solid rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-sm);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.timeline-info:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(14, 165, 233, 0.2);
}

/* Event Badges */
.event-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 10px;
  letter-spacing: 0.02em;
}

.tag-ceremony { background-color: #fee2e2; color: #ef4444; }
.tag-welcome { background-color: #e0e7ff; color: #4f46e5; }
.tag-session { background-color: #e0f2fe; color: #0284c7; }
.tag-demo { background-color: #fae8ff; color: #c084fc; }
.tag-workshop { background-color: #d1fae5; color: #059669; }
.tag-forum { background-color: #fffbeb; color: #d97706; }

.event-name {
  font-size: 1.25rem;
  color: var(--text-main);
  margin-bottom: 8px;
}

.event-desc {
  font-size: 0.95rem;
  color: var(--text-medium);
  margin-bottom: 16px;
}

/* Resource Person Badges */
.event-speakers {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 12px;
}

.speaker-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background-color: var(--bg-secondary);
  color: var(--text-medium);
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.speaker-pill i {
  color: var(--blue-primary);
}

/* ==========================================================================
   Speakers Grid Section
   ========================================================================== */
.speakers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 30px;
}

.speaker-card {
  background-color: var(--bg-primary);
  border: 1px solid rgba(14, 165, 233, 0.08);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.speaker-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(14, 165, 233, 0.25);
}

.speaker-img-wrapper {
  height: 240px;
  background: linear-gradient(135deg, var(--bg-tertiary) 0%, rgba(56, 189, 248, 0.15) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1.5px solid rgba(14, 165, 233, 0.05);
  overflow: hidden;
}

.avatar-fallback {
  width: 90px;
  height: 90px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--blue-primary);
  box-shadow: var(--shadow-md);
  border: 2px solid var(--blue-light);
  transition: var(--transition);
}

.speaker-card:hover .avatar-fallback {
  background-color: var(--blue-primary);
  color: var(--bg-primary);
  transform: scale(1.05) rotate(5deg);
}

.speaker-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition);
  display: block;
}

.speaker-card:hover .speaker-avatar {
  transform: scale(1.05);
}

.speaker-tag {
  position: absolute;
  bottom: 12px;
  right: 16px;
  background-color: var(--text-main);
  color: var(--bg-primary);
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
}

.speaker-meta-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.speaker-name {
  font-size: 1.35rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.speaker-role {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 16px;
}

.speaker-bio {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.speaker-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  padding-top: 16px;
}

.speaker-badge {
  background-color: var(--bg-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-medium);
  padding: 3px 10px;
  border-radius: 4px;
}

/* ==========================================================================
   Venue Section Layout
   ========================================================================== */
.venue-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 50px;
  align-items: center;
}

.venue-info-card {
  background-color: var(--bg-primary);
  border: 1px solid rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.venue-tag-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--blue-light);
  color: var(--blue-dark);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.venue-info-card h3 {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 14px;
}

.address-text {
  font-size: 1rem;
  color: var(--text-medium);
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.address-text i {
  color: var(--accent-red);
  margin-top: 4px;
}

.venue-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 32px;
}

.v-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-medium);
}

.v-feat i {
  color: var(--blue-primary);
  font-size: 1.05rem;
}

/* Stylized Interactive Map Mock-up */
.map-visual-card {
  background-color: var(--bg-primary);
  border-radius: var(--radius-md);
  border: 1px solid rgba(14, 165, 233, 0.08);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}

.map-header {
  background-color: var(--bg-secondary);
  padding: 12px 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-medium);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  background-color: var(--blue-primary);
  border-radius: 50%;
  animation: pulse-beacon 1.5s infinite;
}

@keyframes pulse-beacon {
  0% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(14, 165, 233, 0); }
  100% { box-shadow: 0 0 0 0 rgba(14, 165, 233, 0); }
}

.map-mock-bg {
  height: 320px;
  background-color: #f1f5f9;
  background-image: 
    radial-gradient(#cbd5e1 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  position: relative;
  overflow: hidden;
}

/* Visual Mock Map Elements */
.mock-route-line {
  position: absolute;
  top: 40%;
  left: 20%;
  width: 60%;
  height: 8px;
  background-color: #cbd5e1;
  border-radius: 10px;
  transform: rotate(-15deg);
}

.mock-marker {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
}

.mock-marker i {
  font-size: 1.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.csu-marker {
  top: 25%;
  left: 15%;
  color: var(--text-muted);
}

.dost-marker {
  bottom: 30%;
  right: 25%;
  color: var(--blue-dark);
  animation: marker-float 3s ease-in-out infinite;
}

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

.ripple {
  position: absolute;
  top: 15px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--blue-primary);
  border-radius: 50%;
  animation: map-ripple 2s infinite;
}

@keyframes map-ripple {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.marker-label {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 700;
  background-color: var(--text-main);
  color: var(--bg-primary);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 4px;
  white-space: nowrap;
}

.map-legend {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background-color: var(--bg-primary);
  border-radius: 4px;
  padding: 8px 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1px solid rgba(15, 23, 42, 0.05);
}

.map-legend div {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-medium);
}

.legend-color {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.map-blue { background-color: var(--blue-primary); }
.map-grey { background-color: #cbd5e1; }

/* ==========================================================================
   Registration Form Section Layout
   ========================================================================== */
.register-section {
  background-color: var(--bg-primary);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(14, 165, 233, 0.08);
}

.register-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
}

.register-box {
  background-color: var(--bg-tertiary);
  border: 1.5px solid rgba(14, 165, 233, 0.18);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-lg);
  position: relative;
  z-index: 5;
}

.register-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.register-details h2 {
  font-size: 2.2rem;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.badge-accent {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: #fee2e2;
  color: #ef4444;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.register-details p {
  color: var(--text-medium);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.benefit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-medium);
  font-weight: 500;
}

.benefit-list li i {
  color: var(--accent-green);
  font-size: 1.1rem;
}

.register-form-card {
  background-color: var(--bg-primary);
  border: 1px solid rgba(14, 165, 233, 0.1);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
}

.register-form-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--text-main);
}

.reg-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--accent-green-bg);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-green);
  margin-bottom: 20px;
}

.status-indicator-green {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
}

.reg-instructions {
  font-size: 0.92rem;
  color: var(--text-medium);
  margin-bottom: 24px;
}

.reg-helper-text {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 14px;
  line-height: 1.4;
}

/* ==========================================================================
   Footer Section & Navigation Drawer
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  color: #cbd5e1;
  padding: 80px 0 40px 0;
  border-top: 2px solid #1e293b;
}

.footer-container {
  display: flex;
  flex-direction: column;
}

.footer-top-row {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.brand-logo-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-footer .brand-icon {
  width: 36px;
  height: 36px;
  border-color: var(--blue-primary);
  background-color: rgba(14, 165, 233, 0.1);
  font-size: 1rem;
}

.brand-logo-footer h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
}

.animate-spin-slow {
  animation: spin-slow 15s linear infinite;
}

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

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #94a3b8;
}

.footer-links h4, .footer-contact h4 {
  font-family: var(--font-title);
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links ul, .footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 0.9rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: var(--blue-secondary);
  padding-left: 4px;
}

.footer-contact li {
  font-size: 0.9rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-contact li i {
  color: var(--blue-secondary);
}

.footer-contact a {
  color: #94a3b8;
}

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

/* Middle Partner Strip */
.footer-middle-logos {
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  padding: 30px 0;
  margin-bottom: 30px;
  text-align: center;
}

.collab-footer-label {
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  margin-bottom: 16px;
}

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 36px;
}

.footer-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(1.8);
  opacity: 0.75;
  transition: var(--transition);
}

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

/* Bottom copyright info */
.footer-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: #64748b;
}

.footer-bottom-row strong {
  color: #cbd5e1;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: -60px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--blue-primary);
  color: var(--bg-primary);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 98;
  font-size: 1rem;
  transition: var(--transition);
}

.back-to-top.visible {
  right: 24px;
}

.back-to-top:hover {
  background-color: var(--blue-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glowing);
}

/* ==========================================================================
   Responsive Breakpoints & Adjustments
   ========================================================================== */

/* Tablets / Medium Desktops (max-width: 992px) */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .hero-meta {
    justify-content: center;
    border-left: none;
    border-top: 3px solid var(--blue-secondary);
    padding-left: 0;
    padding-top: 16px;
  }
  
  .hero-visual {
    max-width: 500px;
    margin: 0 auto;
    width: 100%;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .venue-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .register-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-top-row {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-links, .footer-contact {
    margin-top: 10px;
  }
}

/* Mobile Devices (max-width: 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .hero-title {
    font-size: 2.3rem;
  }
  
  .main-nav, .header-cta {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: block;
  }

  .announcement-bar {
    font-size: 0.78rem;
  }

  .bar-venue {
    display: none;
  }

  .tabs-container {
    flex-direction: column;
    align-items: center;
  }
  
  .tab-btn {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .timeline {
    padding-left: 24px;
  }

  .timeline::before {
    left: 7px;
  }

  .timeline-marker {
    left: -24px;
    width: 24px;
    height: 24px;
    top: 5px;
  }
  
  .marker-inner {
    width: 8px;
    height: 8px;
  }

  .break-marker {
    font-size: 0.7rem;
  }

  .timeline-time {
    font-size: 0.82rem;
  }

  .event-name {
    font-size: 1.1rem;
  }

  .register-box {
    padding: 30px;
  }

  .register-details h2 {
    font-size: 1.8rem;
  }

  .footer-bottom-row {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* Small Screen Adjustments (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.95rem;
  }
  
  .hero-meta {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions .btn {
    width: 100%;
  }

  .countdown-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .partners-grid {
    gap: 20px;
  }
  
  .partner-img {
    height: 50px;
  }

  .venue-features-grid {
    grid-template-columns: 1fr;
  }
}
