/* CSS DESIGN SYSTEM — ASTITWAM INNOVATIONS DISTRICT */
:root {
  /* Colors - Dark Mode Default */
  --primary-indigo: #4F46E5;
  --electric-blue: #06B6D4;
  --accent-violet: #8B5CF6;
  --bg: #0F0F1A;
  --surface: #1A1A2E;
  --card-bg: rgba(26, 26, 46, 0.85);
  --dark-text: #F8FAFF;
  --body-text: #D1D5DB;
  --muted-text: #9CA3AF;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --divider: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.08);
  --input-bg: #151525;
  --input-border: rgba(255, 255, 255, 0.1);

  /* Typography */
  --font-headings: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Animation Timings */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--body-text);
  overflow-x: hidden;
  transition: background-color 0.4s ease, color 0.4s ease;
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  color: var(--dark-text);
  font-weight: 700;
  transition: color 0.4s ease;
}

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

button, .btn {
  font-family: var(--font-body);
  font-weight: 600;
  border: none;
  border-radius: 50px;
  padding: 12px 28px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

/* Buttons */
.btn-primary {
  background: var(--primary-indigo);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.45);
}

.btn-secondary {
  background: var(--accent-violet);
  color: #FFFFFF;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}

.btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(139, 92, 246, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--dark-text);
  border: 2px solid var(--input-border);
}

.btn-ghost:hover {
  background: rgba(79, 70, 229, 0.05);
  border-color: var(--primary-indigo);
}

/* Glassmorphism Cards */
.card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(79, 70, 229, 0.18);
}

/* Section Padding */
.section {
  padding: 80px 60px;
}

/* Navigation Bar */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: var(--surface);
  border-bottom: 1px solid var(--divider);
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.02);
  transition: background-color 0.4s ease, border-color 0.4s ease;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo-circle {
  width: 36px;
  height: 36px;
  background-color: var(--dark-text);
  color: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  transition: all 0.4s ease;
}

.nav-brand-info {
  display: flex;
  flex-direction: column;
}

.nav-brand-name {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--dark-text);
}

.nav-brand-sub {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted-text);
  letter-spacing: 0.1em;
}

.nav-center {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--body-text);
  position: relative;
  padding: 6px 0;
}

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

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--primary-indigo);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Theme switch removed */

/* Hero Section Layout */
.hero-container {
  display: flex;
  align-items: center;
  min-height: 100vh;
  background-color: var(--bg);
  padding: 80px 60px 60px;
  gap: 0;
  position: relative;
  overflow: hidden;
  transition: background-color 0.4s ease;
}

.hero-left {
  width: 42%;
  padding-right: 40px;
  z-index: 10;
}

.hero-eyebrow {
  color: var(--electric-blue);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 58px;
  line-height: 1.1;
  margin-bottom: 24px;
}

.hero-title span {
  color: var(--accent-violet);
}

.hero-subtext {
  font-size: 16px;
  color: var(--muted-text);
  line-height: 1.7;
  max-width: 460px;
  margin-bottom: 36px;
}

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

.city-col {
  flex: 0 0 55%;
  max-width: 55%;
  padding-right: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.city-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
  aspect-ratio: 1 / 1;
}

.city-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* DARK MODE ONLY — screen blend removes black background from image */
  mix-blend-mode: screen;
  animation: cityf 7s ease-in-out infinite;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
  border-radius: 0 !important;
}

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

.blb {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  z-index: 30;
  opacity: 0;
  animation: blbin 0.6s ease forwards;
}

@keyframes blbin {
  from { opacity:0; transform:translateX(-50%) translateY(-10px); }
  to   { opacity:1; transform:translateX(-50%) translateY(0); }
}

.blb:nth-child(2) { animation-delay: 0.2s; }
.blb:nth-child(3) { animation-delay: 0.35s; }
.blb:nth-child(4) { animation-delay: 0.5s; }
.blb:nth-child(5) { animation-delay: 0.65s; }
.blb:nth-child(6) { animation-delay: 0.8s; }
.blb:nth-child(7) { animation-delay: 0.95s; }

.blb-pill {
  background: linear-gradient(135deg, #4F46E5, #8B5CF6);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 50px;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(79,70,229,0.6);
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.blb:hover .blb-pill {
  transform: scale(1.08);
  box-shadow: 0 8px 28px rgba(79,70,229,0.8);
  background: linear-gradient(135deg, #4338CA, #7C3AED);
}

.blb-arr {
  font-size: 13px;
  color: #A5B4FC;
  line-height: 1;
  margin-top: 3px;
  animation: arr 2s ease-in-out infinite;
}

@keyframes arr {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(4px); }
}

#id-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}
#id-overlay.on { display: flex; }

.id-modal {
  background: #1A1A2E;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 44px 40px 36px;
  max-width: 480px;
  width: 92%;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.6);
  animation: idmpop 0.35s cubic-bezier(0.34,1.56,0.64,1) forwards;
}

@keyframes idmpop {
  from { opacity:0; transform:scale(0.85) translateY(20px); }
  to   { opacity:1; transform:scale(1) translateY(0); }
}

.id-close {
  position:absolute; top:18px; right:18px;
  width:34px; height:34px; border-radius:50%;
  background:rgba(255,255,255,0.08);
  border:none; cursor:pointer; font-size:15px;
  color:#9CA3AF; display:flex; align-items:center;
  justify-content:center; transition:all 0.2s;
}
.id-close:hover { background:rgba(79,70,229,0.2); color:#818CF8; }

.id-ico {
  width:68px; height:68px; border-radius:20px;
  display:flex; align-items:center;
  justify-content:center; font-size:34px;
  margin-bottom:20px;
  box-shadow: 0 8px 24px rgba(79,70,229,0.4);
}

.id-ttl {
  font-family:'Poppins',sans-serif; font-size:22px;
  font-weight:700; color:#F8FAFF; margin:0 0 10px;
}

.id-dsc {
  font-family:'Inter',sans-serif; font-size:14px;
  color:#9CA3AF; line-height:1.8; margin:0 0 22px;
}

.id-grid {
  display:grid; grid-template-columns:1fr 1fr;
  gap:10px; margin-bottom:26px;
}

.id-item {
  background:rgba(255,255,255,0.05);
  border-left:3px solid #818CF8;
  border-radius:8px; padding:9px 13px;
  font-family:'Inter',sans-serif; font-size:13px;
  font-weight:500; color:#D1D5DB;
}

.id-btn {
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg,#4F46E5,#8B5CF6);
  color:#fff; padding:13px 30px; border-radius:50px;
  font-family:'Inter',sans-serif; font-size:14px;
  font-weight:600; text-decoration:none;
  transition:all 0.2s;
  box-shadow:0 6px 20px rgba(79,70,229,0.4);
}
.id-btn:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(79,70,229,0.6); }

/* Right Sidebar Fixed Nav */
.right-sidebar-nav {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  background: var(--surface);
  border-radius: 20px 0 0 20px;
  padding: 16px 10px;
  box-shadow: -4px 0 30px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: background-color 0.4s ease;
}

.sidebar-toggle-btn {
  display: none;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.sidebar-item svg { width: 20px; height: 20px; color: var(--muted-text); transition: var(--transition); }
.sidebar-item span { font-size: 10px; font-family: var(--font-body); color: var(--muted-text); transition: var(--transition); }

.sidebar-item:hover svg,
.sidebar-item:hover span { color: var(--primary-indigo); }
.sidebar-item:hover { background: rgba(79, 70, 229, 0.05); }

.sidebar-item.active { background: rgba(79, 70, 229, 0.08); }
.sidebar-item.active svg,
.sidebar-item.active span { color: var(--primary-indigo); font-weight: 600; }

/* Stats Bar */
.stats-bar {
  background: var(--surface);
  margin: -28px 60px 0;
  border-radius: 20px;
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 50;
  transition: background-color 0.4s ease;
}

.stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.stat-number { font-family: var(--font-headings); font-size: 36px; font-weight: 700; color: var(--dark-text); }
.stat-label { font-family: var(--font-body); font-size: 13px; color: var(--muted-text); }
.stat:not(:last-child) { border-right: 1px solid var(--divider); padding-right: 40px; }

/* Grid Layouts */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* Event Cards */
.event-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--divider);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(79, 70, 229, 0.15);
}

.event-banner-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #E2E8F0;
  overflow: hidden;
}

.event-banner {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.event-card:hover .event-banner {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent-violet);
  color: white;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

.status-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--primary-indigo);
  color: white;
  padding: 6px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.status-badge.coming_soon { background: var(--electric-blue); }
.status-badge.past { background: #6B7280; }

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

.event-date-row {
  color: var(--primary-indigo);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.event-title-text {
  font-size: 18px;
  margin-bottom: 12px;
  line-height: 1.3;
}

.event-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted-text);
  font-size: 13px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--divider);
}

/* Carousel Testimonials */
.testimonials-slider {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding: 40px 20px;
}

.testimonial-rating {
  color: #FBBF24;
  font-size: 24px;
  margin-bottom: 16px;
}

.testimonial-quote {
  font-size: 20px;
  line-height: 1.6;
  color: var(--dark-text);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-indigo);
}

.testimonial-event {
  font-size: 12px;
  color: var(--muted-text);
  margin-top: 4px;
}

/* Sponsor logo marquee */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  padding: 40px 0;
  background: var(--surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.marquee-content {
  display: flex;
  align-items: center;
  justify-content: space-around;
  min-width: 200%;
  animation: marquee 20s linear infinite;
}

.marquee-logo {
  height: 40px;
  object-fit: contain;
  opacity: 0.6;
  filter: grayscale(1);
  transition: var(--transition);
}

.marquee-logo:hover {
  opacity: 1;
  filter: grayscale(0);
}

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

/* Stay in Loop Newsletter */
.newsletter-card {
  background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--accent-violet) 100%);
  color: white;
  border-radius: 24px;
  padding: 60px 48px;
  text-align: center;
}

.newsletter-card h2 { color: white; margin-bottom: 16px; font-size: 32px; }
.newsletter-card p { opacity: 0.9; margin-bottom: 30px; max-width: 500px; margin-left: auto; margin-right: auto; }
.newsletter-form { display: flex; gap: 12px; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
  flex-grow: 1;
  padding: 16px 24px;
  border-radius: 50px;
  border: none;
  outline: none;
  font-family: var(--font-body);
}

/* Chatbot UI */
.chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 2000;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-indigo);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(79, 70, 229, 0.4);
  cursor: pointer;
  transition: var(--transition);
}

.chatbot-toggle:hover {
  transform: scale(1.08);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 320px;
  height: 480px;
  background: var(--surface);
  border-radius: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--divider);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: var(--transition);
}

.chatbot-window.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.chatbot-header {
  background: var(--primary-indigo);
  color: white;
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h3 { color: white; font-size: 14px; }
.chatbot-close { color: white; cursor: pointer; font-size: 18px; }

.chatbot-chat-area {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-bubble {
  padding: 10px 14px;
  border-radius: 16px;
  max-width: 80%;
  font-size: 13px;
  line-height: 1.4;
}

.chat-bubble.bot {
  background: var(--bg);
  color: var(--body-text);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-bubble.user {
  background: var(--primary-indigo);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-input-area {
  padding: 12px;
  border-top: 1px solid var(--divider);
  display: flex;
  gap: 8px;
}

.chatbot-input-area input {
  flex-grow: 1;
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--input-border);
  background: var(--input-bg);
  color: var(--dark-text);
  outline: none;
  font-size: 13px;
}

.chatbot-input-area button {
  background: var(--primary-indigo);
  color: white;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Website Tour System */
.tour-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.tour-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.tour-card {
  position: absolute;
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
  max-width: 320px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  z-index: 10000;
  border: 1px solid var(--divider);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.tour-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.tour-step-badge {
  font-size: 11px;
  font-weight: 700;
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary-indigo);
  padding: 4px 10px;
  border-radius: 50px;
}

.tour-skip {
  font-size: 12px;
  color: var(--muted-text);
  cursor: pointer;
  background: none;
  border: none;
  font-weight: 500;
}

.tour-skip:hover { color: var(--dark-text); }
.tour-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--dark-text); }
.tour-description { font-size: 13px; color: var(--body-text); line-height: 1.5; margin-bottom: 20px; }
.tour-footer { display: flex; justify-content: space-between; align-items: center; }
.tour-dots { display: flex; gap: 6px; }
.tour-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--input-border); }
.tour-dot.active { background: var(--primary-indigo); width: 14px; border-radius: 4px; }
.tour-buttons { display: flex; gap: 8px; }
.tour-btn { padding: 6px 12px; font-size: 12px; border-radius: 50px; border: 1px solid var(--input-border); background: var(--surface); color: var(--body-text); cursor: pointer; }
.tour-btn.next { background: var(--primary-indigo); color: white; border-color: var(--primary-indigo); }

/* Dashboard UI Layouts */
.dashboard-wrapper {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 260px;
  background-color: var(--surface);
  border-right: 1px solid var(--divider);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  transition: background-color 0.4s ease;
}

.dashboard-brand {
  margin-bottom: 40px;
  padding-left: 10px;
}

.dashboard-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.dashboard-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  color: var(--body-text);
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.dashboard-nav-item svg { width: 18px; height: 18px; color: var(--muted-text); }
.dashboard-nav-item:hover { background: rgba(79, 70, 229, 0.05); color: var(--primary-indigo); }
.dashboard-nav-item:hover svg { color: var(--primary-indigo); }
.dashboard-nav-item.active { background: rgba(79, 70, 229, 0.08); color: var(--primary-indigo); font-weight: 600; }
.dashboard-nav-item.active svg { color: var(--primary-indigo); }

.dashboard-content {
  flex-grow: 1;
  padding: 40px;
  background-color: var(--bg);
  overflow-y: auto;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

/* Forms styling */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--dark-text);
}

.form-control {
  width: 100%;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--input-border);
  background-color: var(--input-bg);
  color: var(--dark-text);
  outline: none;
  font-family: var(--font-body);
  font-size: 14px;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--primary-indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

/* Kanban Board HR styling */
.kanban-board {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  align-items: start;
}

.kanban-col {
  background: var(--surface);
  border-radius: 16px;
  padding: 16px;
  min-height: 500px;
  border: 1px solid var(--divider);
}

.kanban-col-header {
  font-size: 12px;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--divider);
  text-transform: uppercase;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kanban-count {
  background: rgba(79, 70, 229, 0.08);
  color: var(--primary-indigo);
  padding: 2px 8px;
  border-radius: 50px;
  font-size: 10px;
}

.kanban-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.kanban-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 14px;
  border: 1px solid var(--divider);
  cursor: grab;
  transition: var(--transition);
}

.kanban-card:hover {
  transform: translateY(-2px);
  border-color: var(--primary-indigo);
  box-shadow: var(--shadow);
}

.kanban-card-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--dark-text);
}

.kanban-card-meta {
  font-size: 11px;
  color: var(--muted-text);
}

/* Lightbox gallery */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 15, 26, 0.95);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100vh;
  object-fit: contain;
  border-radius: 8px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: white;
  font-size: 30px;
  cursor: pointer;
  background: none;
  border: none;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 48px;
  background: none;
  border: none;
  cursor: pointer;
  user-select: none;
  padding: 20px;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* Table styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--divider);
  box-shadow: var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th, td {
  padding: 16px 24px;
  border-bottom: 1px solid var(--divider);
}

th {
  font-family: var(--font-headings);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark-text);
  background-color: rgba(79, 70, 229, 0.02);
}

td {
  font-size: 14px;
  color: var(--body-text);
}

tr:last-child td {
  border-bottom: none;
}

/* Footer layout */
.footer-section {
  background-color: #0B0B13;
  color: #D1D5DB;
  padding: 80px 60px 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col h3 {
  color: white;
  font-size: 16px;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #9CA3AF;
  font-size: 14px;
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #6B7280;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  color: #6B7280;
}

.footer-bottom-links a:hover {
  color: white;
}

/* Typography styles matching branding */
.heading-l {
  font-size: 42px;
  line-height: 1.2;
  margin-bottom: 16px;
}

.subtext-l {
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted-text);
}

/* Utilities */
.text-center { text-align: center; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.mt-4 { margin-top: 16px; }
.mb-4 { margin-bottom: 16px; }
.gap-16 { gap: 16px; }
.p-20 { padding: 20px; }

/* Responsive adjustments */
@media (max-width: 1200px) {
  .hero-container { flex-direction: column; padding-top: 100px; gap: 40px; text-align: center; }
  .hero-left { width: 100%; padding-right: 0; display: flex; flex-direction: column; align-items: center; }
  .city-col { width: 100%; max-width: 100%; padding-right: 0; }
  .city-wrap { margin-right: 0; }
  .stats-bar { flex-direction: column; gap: 24px; margin: 40px 20px 0; padding: 24px; }
  .stat:not(:last-child) { border-right: none; border-bottom: 1px solid var(--divider); padding-right: 0; padding-bottom: 16px; width: 100%; }
  .kanban-board { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 60px 20px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .navbar { padding: 12px 20px; }
  .nav-center { display: none; } /* Sidebar or drawer in JS if needed */
  .kanban-board { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 42px; }
}

/* Category Cards styling (FIX 3) */
.category-icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(79,70,229,0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-icon svg {
  width: 32px;
  height: 32px;
}

.category-card:hover .category-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 12px 32px rgba(79,70,229,0.35);
}

.category-card {
  background: #1A1A2E;
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 16px rgba(79,70,229,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(79,70,229,0.12);
}

/* Flip Cards styling (FIX 4) */
.flip-card {
  perspective: 1000px;
  height: 240px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 24px;
  text-align: center;
}

.flip-card-front {
  background: #1A1A2E;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 20px rgba(79,70,229,0.08);
}

.flip-card-back {
  background: linear-gradient(135deg, #4F46E5, #8B5CF6);
  transform: rotateY(180deg);
  color: white;
}

.flip-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #F8FAFF;
  margin: 16px 0 8px;
}

.flip-hint {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #9CA3AF;
}

.flip-back-title {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 12px;
}

.flip-back-text {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  line-height: 1.7;
}

/* Grid layout for flip cards */
.flip-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
}

@media (max-width: 768px) {
  .flip-cards-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .flip-card { height: 200px; }
}

/* Navbar Logo Overrides (Fix 2) */
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.logo-icon {
  display: flex;
  align-items: center;
}
.logo-text {
  display: flex;
  flex-direction: column;
}
.logo-name {
  font-family: var(--font-headings);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--dark-text);
  line-height: 1.2;
}
.logo-sub {
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted-text);
  letter-spacing: 0.1em;
  line-height: 1;
}

/* ============================================================
   HERO CITY COMPREHENSIVE OVERRIDES (ROUND 4)
   ============================================================ */

/* Custom styles for Hero City District wrapper integrated below */

/* SVG building styles defined in top section */

/* ============================================================
   GALLERY DRAG & DROP UPLOAD SYSTEM (ROUND 4)
   ============================================================ */

.upload-zone {
  border: 2px dashed rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 40px 20px;
  text-align: center;
  margin: 16px 0;
  transition: all 0.2s;
  cursor: pointer;
  background: #151525;
}

.upload-zone.drag-over {
  border-color: #4F46E5;
  background: rgba(79, 70, 229, 0.1);
}

.upload-zone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.upload-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  gap: 12px;
  margin: 16px 0;
  max-height: 200px;
  overflow-y: auto;
  padding: 4px;
}

.preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
}

.preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0,0,0,0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.preview-remove:hover {
  background: #EF4444;
}

.progress-bar {
  background: rgba(255,255,255,0.05);
  border-radius: 50px;
  height: 8px;
  overflow: hidden;
  margin: 12px 0 6px;
}

.progress-fill {
  background: linear-gradient(90deg, #4F46E5, #8B5CF6);
  height: 100%;
  border-radius: 50px;
  transition: width 0.3s ease;
  width: 0%;
}

/* ============================================================
   MOBILE RESPONSIVENESS AND PREMIUM VIEW OPTIMIZATIONS
   ============================================================ */
@media (max-width: 1024px) {
  .hero-container {
    flex-direction: column;
    padding: 100px 24px 60px;
    text-align: center;
    gap: 40px;
  }
  .hero-left {
    width: 100%;
    padding-right: 0;
  }
  .hero-subtext {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .city-col {
    flex: 0 0 100%;
    max-width: 100%;
    padding-right: 0;
  }
  .city-wrap {
    max-width: 420px;
    margin: 0 auto;
  }
  .stats-bar {
    margin: 20px 24px 0;
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .stat {
    width: 100%;
  }
  .stat:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--divider);
    padding-right: 0;
    padding-bottom: 16px;
  }
}

/* Hamburger Button base styles */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger-btn span {
  width: 100%;
  height: 2px;
  background-color: var(--dark-text);
  border-radius: 2px;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .section {
    padding: 60px 20px;
  }
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .navbar {
    padding: 12px 20px;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
  }
  .hamburger-btn {
    display: flex;
  }
  .nav-center {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--surface);
    border-bottom: 1.5px solid var(--divider);
    padding: 24px;
    gap: 20px;
    z-index: 999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.5);
    text-align: left;
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 46, 0.95);
  }
  .nav-center.open {
    display: flex;
  }
  .nav-center .nav-link {
    font-size: 16px;
    padding: 8px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-right {
    width: auto;
    margin-top: 0;
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .nav-right .join-btn,
  .nav-right .contact-btn {
    display: none !important;
  }
  .hamburger-btn.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger-btn.open span:nth-child(2) {
    opacity: 0;
  }
  .hamburger-btn.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
  }
  .right-sidebar-nav {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%) translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    background: rgba(26, 26, 46, 0.98);
    border-left: 1px solid var(--glass-border);
    z-index: 9999;
  }
  .right-sidebar-nav.open {
    transform: translateY(-50%) translateX(0);
  }
  .sidebar-toggle-btn {
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -28px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 60px;
    background: var(--surface);
    border: 1px solid var(--divider);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--primary-indigo);
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.15);
    padding: 0;
  }
  .newsletter-card {
    padding: 40px 20px;
  }
  .newsletter-form {
    flex-direction: column;
    width: 100%;
  }
  .newsletter-form input, .newsletter-form button {
    width: 100%;
  }
  .id-grid {
    grid-template-columns: 1fr;
  }
  .modal-card, .id-modal {
    padding: 30px 20px 24px;
  }
  .footer-section {
    padding: 60px 20px 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  /* Unified Mobile Dashboard Drawer Layout */
  .admin-layout, .dashboard-wrapper {
    flex-direction: column !important;
  }
  .admin-sidebar, .dashboard-sidebar {
    position: sticky !important;
    top: 0;
    width: 100% !important;
    min-height: auto !important;
    height: auto !important;
    border-right: none;
    border-bottom: 1px solid var(--divider);
    z-index: 1000;
    padding: 16px 20px !important;
    background: var(--surface);
  }
  .sidebar-brand, .dashboard-brand {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
  }
  .sidebar-menu-wrapper, .dashboard-nav {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    border-top: 1px solid var(--divider);
    margin-top: 12px;
    gap: 8px !important;
  }
  .sidebar-menu-wrapper.open, .dashboard-nav.open {
    display: flex !important;
  }
  .sidebar-nav {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 0 !important;
    border-top: none !important;
    margin-top: 0 !important;
    gap: 2px !important;
  }
  .admin-main, .dashboard-content {
    margin-left: 0 !important;
    padding: 24px 16px !important;
    width: 100% !important;
  }
  .dashboard-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  #dash-hamburger-btn {
    display: flex !important;
  }
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .stats-grid {
    grid-template-columns: 1fr !important;
  }
  .admin-table {
    display: block;
    width: 100%;
    overflow-x: auto;
  }
}
