/* ==========================================================================
   IWCA-CON 2027 GUWAHATI - MODERN DESIGN SYSTEM & UI ENHANCEMENTS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800&family=Libre+Barcode+128&display=swap');

:root {
  --primary-navy: #0b192c;
  --primary-navy-light: #1e293b;
  --teal-accent: #00a896;
  --teal-dark: #028090;
  --cyan-bright: #00b4d8;
  --gold-accent: #f4a261;
  --gold-hover: #e76f51;
  --bg-slate: #f8fafc;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 25px -5px rgba(11, 25, 44, 0.08), 0 8px 10px -6px rgba(11, 25, 44, 0.04);
  --shadow-lg: 0 20px 35px -10px rgba(11, 25, 44, 0.12), 0 10px 15px -5px rgba(0, 168, 150, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition-fast: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Global Font & Reset */
body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif !important;
  color: var(--text-dark);
  background-color: var(--bg-slate);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .nav-link, .btn {
  font-family: 'Outfit', sans-serif !important;
  letter-spacing: -0.02em;
}

/* modern Topbar Announcement */
.top-announcement-bar {
  background: linear-gradient(90deg, #0b192c 0%, #028090 50%, #00a896 100%);
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.88rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.top-announcement-bar .badge-guwahati {
  background: #f4a261;
  color: #0b192c;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-right: 10px;
  display: inline-block;
}

/* Header & Sticky Navbar Overhaul */
.site-header {
  position: sticky !important;
  top: 0;
  z-index: 1050;
  background: transparent;
  transition: var(--transition-fast);
}

.sticky-header.main-bar-wraper {
  background: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.main-bar {
  padding: 10px 0 !important;
}

.nav-brand-box {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none !important;
}

.nav-brand-logo {
  max-height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

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

.nav-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-navy);
  line-height: 1.1;
  text-transform: uppercase;
}

.nav-brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--teal-accent);
  letter-spacing: 0.05em;
}

/* Navigation Links */
.header-nav .navbar-nav {
  align-items: center;
  gap: 4px;
}

.header-nav .nav > li > a {
  color: var(--primary-navy) !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast) !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-nav .nav > li:hover > a,
.header-nav .nav > li.active > a {
  color: var(--teal-dark) !important;
  background: rgba(0, 168, 150, 0.08);
}

/* Submenu Dropdown */
.header-nav .nav > li .sub-menu {
  background: #ffffff !important;
  border-radius: var(--radius-md) !important;
  border: 1px solid rgba(226, 232, 240, 0.9) !important;
  box-shadow: var(--shadow-lg) !important;
  padding: 10px !important;
  min-width: 240px;
  margin-top: 10px;
}

.header-nav .nav > li .sub-menu li a {
  color: var(--text-dark) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  padding: 10px 14px !important;
  border-radius: var(--radius-sm) !important;
  transition: var(--transition-fast) !important;
}

.header-nav .nav > li .sub-menu li a:hover {
  background: var(--bg-slate) !important;
  color: var(--teal-accent) !important;
  padding-left: 18px !important;
}

/* Modern Hero Section */
.hero-guwahati-2027 {
  position: relative;
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 50%, #028090 100%);
  color: #ffffff;
  padding: 100px 0 90px;
  overflow: hidden;
}

.hero-guwahati-2027::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 168, 150, 0.25) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-guwahati-2027::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(244, 162, 97, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  color: #f4a261;
  margin-bottom: 24px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #e2e8f0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #94a3b8;
  max-width: 680px;
  margin-bottom: 35px;
  font-weight: 400;
}

.hero-meta-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 35px;
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-meta-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--teal-accent);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.hero-meta-text h6 {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 0;
  letter-spacing: 0.05em;
}

.hero-meta-text p {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

/* Modern Buttons */
.btn-primary-guwahati {
  background: linear-gradient(135deg, #00a896 0%, #028090 100%);
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 10px 20px -5px rgba(0, 168, 150, 0.4);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-primary-guwahati:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(0, 168, 150, 0.6);
  color: #ffffff !important;
}

.btn-secondary-guwahati {
  background: linear-gradient(135deg, #f4a261 0%, #e76f51 100%);
  color: #0b192c !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: none;
  box-shadow: 0 10px 20px -5px rgba(244, 162, 97, 0.3);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-secondary-guwahati:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px -5px rgba(244, 162, 97, 0.5);
  color: #0b192c !important;
}

.btn-outline-guwahati {
  background: transparent;
  color: #ffffff !important;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none !important;
  cursor: pointer;
}

.btn-outline-guwahati:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* Countdown Timer Widget */
.countdown-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  text-align: center;
}

.countdown-item {
  background: rgba(11, 25, 44, 0.6);
  padding: 16px 10px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: #00a896;
  line-height: 1;
  display: block;
}

.countdown-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 6px;
  display: block;
}

/* Section Header Styling */
.section-head-modern {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--teal-accent);
  background: rgba(0, 168, 150, 0.08);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title-main {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 14px;
}

.section-subtitle-main {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Modern Card Layouts */
.modern-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 150, 0.3);
}

.modern-card-icon {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 168, 150, 0.1) 0%, rgba(2, 128, 144, 0.15) 100%);
  color: var(--teal-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
}

/* Committee Member Grid */
.committee-card-modern {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.9);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  text-align: center;
  padding: 24px;
}

.committee-card-modern:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 168, 150, 0.4);
}

.committee-avatar-wrap {
  width: 120px;
  height: 120px;
  margin: 0 auto 18px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #00a896 0%, #f4a261 100%);
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.committee-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #f1f5f9;
}

.committee-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.committee-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-accent);
  margin-bottom: 8px;
}

.committee-affiliation {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.4;
}

/* Registration Pricing Tables */
.pricing-card-modern {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 36px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.pricing-card-modern.selected,
.pricing-card-modern.featured {
  border: 2px solid var(--teal-accent);
  box-shadow: var(--shadow-lg);
}

.pricing-badge {
  position: absolute;
  top: 18px;
  right: -32px;
  background: var(--gold-accent);
  color: #0b192c;
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 4px 36px;
  transform: rotate(45deg);
}

.pricing-category {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.pricing-amount {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal-dark);
  line-height: 1;
  margin-bottom: 20px;
}

.pricing-amount span {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}

.pricing-features-list li {
  padding: 10px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.9rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pricing-features-list li i {
  color: var(--teal-accent);
}

/* Modern Page Banner */
.page-banner-guwahati {
  background: linear-gradient(135deg, #0b192c 0%, #1e293b 60%, #028090 100%);
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
  position: relative;
}

.page-banner-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.page-banner-breadcrumb {
  display: flex;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 500;
}

.page-banner-breadcrumb a {
  color: #00a896;
  text-decoration: none;
}

/* Multi-step Registration Progress Bar */
.step-wizard-nav {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
}

.step-wizard-nav::before {
  content: '';
  position: absolute;
  top: 24px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: #e2e8f0;
  z-index: 1;
}

.step-item {
  position: relative;
  z-index: 2;
  text-align: center;
  flex: 1;
}

.step-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  border: 3px solid #cbd5e1;
  color: #64748b;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.step-item.active .step-circle {
  border-color: var(--teal-accent);
  background: var(--teal-accent);
  color: #ffffff;
  box-shadow: 0 0 0 6px rgba(0, 168, 150, 0.15);
}

.step-item.completed .step-circle {
  border-color: #10b981;
  background: #10b981;
  color: #ffffff;
}

.step-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-dark);
}

/* Event Pass E-Badge Card Design */
.event-pass-card {
  max-width: 520px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 50px -12px rgba(11, 25, 44, 0.25);
  overflow: hidden;
  border: 2px solid rgba(0, 168, 150, 0.4);
  position: relative;
}

.pass-header-gradient {
  background: linear-gradient(135deg, #0b192c 0%, #028090 60%, #00a896 100%);
  color: #ffffff;
  padding: 24px;
  text-align: center;
  position: relative;
}

.pass-header-gradient::after {
  content: 'OFFICIAL DELEGATE PASS';
  position: absolute;
  bottom: 6px;
  right: 16px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
}

.pass-event-badge {
  background: var(--gold-accent);
  color: #0b192c;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.pass-delegate-info {
  padding: 30px 24px 20px;
  text-align: center;
}

.pass-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  margin: -65px auto 14px;
  background: #028090;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
}

.pass-delegate-name {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.pass-number-tag {
  display: inline-block;
  font-family: monospace;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal-accent);
  background: rgba(0, 168, 150, 0.08);
  padding: 4px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.08em;
}

.pass-details-table {
  width: 100%;
  margin-bottom: 20px;
  text-align: left;
  border-collapse: collapse;
}

.pass-details-table td {
  padding: 8px 12px;
  font-size: 0.88rem;
  border-bottom: 1px dashed #e2e8f0;
}

.pass-details-table td.label-cell {
  font-weight: 700;
  color: #64748b;
  width: 40%;
}

.pass-details-table td.val-cell {
  font-weight: 700;
  color: var(--primary-navy);
}

.pass-qr-footer {
  background: var(--bg-slate);
  padding: 20px 24px;
  text-align: center;
  border-top: 1px dashed #cbd5e1;
}

.qr-canvas-wrap {
  background: #ffffff;
  padding: 10px;
  display: inline-block;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 8px;
}

/* Footer Styling */
.footer-guwahati {
  background: var(--primary-navy);
  color: #94a3b8;
  padding: 70px 0 30px;
  border-top: 4px solid var(--teal-accent);
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #94a3b8;
  text-decoration: none;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--teal-accent);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 50px;
  padding-top: 25px;
  text-align: center;
  font-size: 0.88rem;
}

/* Responsive Mobile Navigation Drawer Fixes */
@media (max-width: 991px) {
  .header-nav {
    background: #ffffff;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    margin-top: 10px;
  }
  .header-nav .navbar-nav {
    align-items: stretch;
  }
  .hero-meta-grid {
    flex-direction: column;
  }
}

@media print {
  body * {
    visibility: hidden;
  }
  .event-pass-card, .event-pass-card * {
    visibility: visible;
  }
  .event-pass-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    box-shadow: none;
    border: 2px solid #000;
  }
}
