/* Custom Styles for IPS NE Zonal Conference 2026 - Premium Light Theme */

:root {
  --primary-color: #059669;
  --primary-dark: #047857;
  --primary-light: #10b981;
  --primary-subtle: #d1fae5;
  --accent-gold: #d97706;
  --accent-orange: #f59e0b;
  --bg-light: #f8fafc;
  --bg-section-alt: #f1f5f9;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --border-glass: rgba(5, 150, 105, 0.15);
  --border-subtle: #e2e8f0;
  --text-main: #0f172a;
  --text-muted: #475569;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  overflow-x: hidden;
  padding-top: 0;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Outfit', sans-serif;
  color: #0f172a;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Glassmorphism Light Navbar */
.glass-navbar {
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(5, 150, 105, 0.15);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.glass-navbar .nav-link {
  font-size: 0.78rem !important;
  padding-left: 0.45rem !important;
  padding-right: 0.45rem !important;
  white-space: nowrap;
  color: #334155 !important;
  font-weight: 600;
  transition: color 0.2s ease-in-out;
}

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

@media (min-width: 992px) and (max-width: 1200px) {
  .glass-navbar .nav-link {
    font-size: 0.71rem !important;
    padding-left: 0.25rem !important;
    padding-right: 0.25rem !important;
  }
}

/* Glass Cards - Light Theme */
.glass-card {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card-hover:hover {
  transform: translateY(-5px);
  border-color: rgba(5, 150, 105, 0.35);
  box-shadow: 0 12px 30px rgba(5, 150, 105, 0.12);
}

/* Gradient Text for Light Mode */
.text-gradient-emerald {
  background: linear-gradient(135deg, #047857 0%, #059669 50%, #d97706 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-gold {
  background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Hero Section Styling - Full Bleed Background Carousel & Overlay */
.hero-section {
  position: relative;
  padding: 4.5rem 0 2.25rem 0;
  overflow: hidden;
}

.hero-carousel-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-carousel-bg .carousel-inner,
.hero-carousel-bg .carousel-item {
  height: 100%;
}

.hero-carousel-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.96);
  transform: scale(1.02);
  transition: transform 4.5s ease-in-out;
}

.hero-carousel-bg .carousel-item.active img {
  transform: scale(1.08);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 120, 87, 0.40) 0%, rgba(5, 150, 105, 0.40) 100%);
}

.z-2 {
  z-index: 2 !important;
}

/* Hero Glassmorphism Cards & Pills */
.hero-section .hero-glass-card,
.hero-section .hero-glass-pill {
  background: rgba(255, 255, 255, 0.22) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.42) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15) !important;
  transition: all 0.3s ease;
}

.hero-section .hero-glass-card:hover {
  background: rgba(255, 255, 255, 0.30) !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25) !important;
  transform: translateY(-3px);
}

.hero-section .hero-glass-card .text-dark,
.hero-section .hero-glass-card h5,
.hero-section .hero-glass-card h6,
.hero-section .hero-glass-card div,
.hero-section .hero-glass-pill .text-dark,
.hero-section .hero-glass-pill strong,
.hero-section .countdown-number,
.hero-section .countdown-label {
  color: #ffffff !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-section .hero-glass-card .text-secondary,
.hero-section .hero-glass-card .text-muted,
.hero-section .hero-glass-card small,
.hero-section .hero-glass-pill {
  color: rgba(255, 255, 255, 0.92) !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-section .hero-glass-card .text-amber-700,
.hero-section .hero-glass-card .text-amber-600 {
  color: #fde047 !important;
}

.hero-section .hero-glass-card .text-success,
.hero-section .hero-glass-pill .text-success,
.hero-section .countdown-number {
  color: #6ee7b7 !important;
}

.hero-section .hero-glass-card .text-info {
  color: #7dd3fc !important;
}

/* Countdown Box */
.countdown-box {
  background: #ffffff;
  border: 1px solid rgba(5, 150, 105, 0.25);
  border-radius: 0.85rem;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.08);
}

.countdown-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: #047857;
  line-height: 1;
}

.countdown-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: #475569;
  margin-top: 0.35rem;
}

/* Section Header Badge */
.badge-category {
  background: #d1fae5;
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.3);
  padding: 0.4rem 0.95rem;
  border-radius: 50rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Sub-theme Card Icon Box */
.theme-icon-box {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  background: #d1fae5;
  color: #047857;
  border: 1px solid rgba(5, 150, 105, 0.25);
}

/* Timeline Customization */
.timeline-container {
  position: relative;
  padding-left: 2rem;
  border-left: 2px dashed rgba(5, 150, 105, 0.35);
}

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

.timeline-badge {
  position: absolute;
  left: -2.6rem;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid #ffffff;
  box-shadow: 0 0 10px rgba(5, 150, 105, 0.3);
}

/* Speaker & Committee Avatar */
.speaker-img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.committee-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--accent-gold);
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.2);
}

/* Custom Table in Light Mode */
.table-light-custom {
  --bs-table-bg: #ffffff;
  --bs-table-color: #0f172a;
  --bs-table-border-color: #e2e8f0;
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

/* Copy Button Alert */
.copy-trigger {
  cursor: pointer;
  transition: all 0.2s;
}
.copy-trigger:hover {
  color: var(--primary-dark) !important;
}

/* Floating Animation */
@keyframes floatAnim {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.animated-float {
  animation: floatAnim 4s ease-in-out infinite;
}

/* Modal Light Customization */
.modal-content-light {
  background-color: #ffffff;
  color: #0f172a;
  border: 1px solid rgba(5, 150, 105, 0.2);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

/* Slate Palette Utility Helpers */
.bg-slate-50 { background-color: #f8fafc !important; }
.bg-slate-100 { background-color: #f1f5f9 !important; }
.bg-slate-800 { background-color: #1e293b !important; }
.bg-slate-900 { background-color: #0f172a !important; }

.text-slate-300 { color: #cbd5e1 !important; }
.text-slate-400 { color: #94a3b8 !important; }
.text-slate-500 { color: #64748b !important; }
.text-slate-700 { color: #334155 !important; }
.text-slate-900 { color: #0f172a !important; }

.border-slate-200 { border-color: #e2e8f0 !important; }
.border-slate-800 { border-color: #1e293b !important; }

/* Custom Footer Styling */
footer.custom-footer {
  background-color: #0f172a !important;
  border-top: 1px solid #1e293b !important;
}

footer.custom-footer p,
footer.custom-footer small {
  opacity: 1 !important;
}
