/* ==========================================================================
   JCI Secunderabad Walkertown - Professional Organizational Theme
   Design Aesthetic: Premium Blue & White Alternating Sections
   Colors: JCI Navy (#002B49, #005691), Vibrant Blue (#0072CE), Gold (#FFB800)
   ========================================================================== */

:root {
  --jci-navy: #002B49;
  --jci-blue: #005691;
  --jci-vibrant: #0072CE;
  --jci-cyan: #0097D9;
  --jci-gold: #FFB800;
  --gold-accent: #FFD700;
  --gold-dark: #D4AF37;

  
  --bg-white: #ffffff;
  --bg-light: #f8fafc;
  --bg-soft-blue: #f0f5fa;
  --bg-dark: #00192d;
  
  --text-dark: #0f172a;
  --text-muted: #475569;
  --text-light: #f8fafc;
  
  --border-light: #e2e8f0;
  --border-blue: rgba(0, 114, 206, 0.2);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 12px 32px rgba(0, 43, 73, 0.12);
  
  --radius-lg: 14px;
  --radius-md: 8px;
  --radius-sm: 4px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-white);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* ==========================================================================
   1. TOP LEADERSHIP BAR (Deep Navy)
   ========================================================================== */
#lb {
  background: var(--jci-navy);
  color: var(--text-light);
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 2px solid var(--jci-gold);
}

.lb-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  flex-wrap: wrap;
}

.lb-card {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.lb-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--jci-gold);
  overflow: hidden;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lb-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lb-info {
  display: flex;
  flex-direction: column;
}

.lb-name {
  font-weight: 700;
  color: #ffffff;
  font-size: 0.8rem;
}

.lb-title {
  font-size: 0.72rem;
  color: var(--jci-gold);
}

/* ==========================================================================
   2. UPCOMING EVENTS TICKER
   ========================================================================== */
#ticker {
  background: #f0f4f8;
  display: flex;
  align-items: center;
  padding: 8px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.88rem;
  color: var(--text-dark);
}

.ticker-label {
  background: linear-gradient(135deg, var(--jci-blue), var(--jci-vibrant));
  color: #fff;
  padding: 4px 12px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 15px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
}

.ticker-text {
  font-weight: 600;
  color: var(--jci-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   3. NAVBAR (Pure White & Perfect Alignment)
   ========================================================================== */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid var(--border-light);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.site-logo-img:hover {
  transform: scale(1.05);
}

.dash-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
  display: block;
}

.dash-save-btn {
  background: linear-gradient(135deg, #FFD700 0%, #FFB800 100%) !important;
  color: #000000 !important;
  font-weight: 800 !important;
  padding: 13px 30px !important;
  border: none !important;
  border-radius: 8px !important;
  cursor: pointer !important;
  font-size: 0.95rem !important;
  box-shadow: 0 6px 20px rgba(255, 184, 0, 0.4) !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin-top: 15px !important;
  transition: all 0.3s ease !important;
  letter-spacing: 0.3px !important;
}

.dash-save-btn:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 25px rgba(255, 215, 0, 0.6) !important;
  background: linear-gradient(135deg, #FFE033 0%, #FFC400 100%) !important;
}



.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--jci-navy);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--jci-gold);
  border: 2px solid var(--jci-gold);
  font-size: 1.1rem;
}

.nav-logo-text {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--jci-navy);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.nav-logo-text span {
  font-size: 0.72rem;
  color: var(--jci-vibrant);
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 100%;
}

.nav-links li {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap; /* Prevents awkward text wrapping in menu! */
  display: flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--jci-navy);
  background: var(--bg-soft-blue);
}

.nav-btn-dash {
  background: linear-gradient(135deg, var(--jci-navy), var(--jci-blue)) !important;
  color: #ffffff !important;
  border: 1px solid var(--jci-gold);
  box-shadow: 0 3px 10px rgba(0, 43, 73, 0.2);
  padding: 8px 16px !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: var(--jci-navy);
  border-radius: 2px;
}

#mob-menu {
  display: none;
  background: #ffffff;
  padding: 15px 20px;
  border-bottom: 2px solid var(--jci-navy);
  box-shadow: var(--shadow-md);
}

#mob-menu a {
  display: block;
  padding: 12px 0;
  color: var(--jci-navy);
  border-bottom: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 0.95rem;
}

/* ==========================================================================
   4. HERO SECTION (Deep Royal Navy)
   ========================================================================== */
#hero {
  padding: 45px 20px;
  background: linear-gradient(135deg, #001222 0%, #002B49 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 30px;
  align-items: center;
}

/* CARD MOUSE OVER HOVER EFFECTS */
.pres-card, .biz-card, .badge-card, .ev-card, .dash-card {
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), border-color 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pres-card:hover, .biz-card:hover, .badge-card:hover, .ev-card:hover, .dash-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--jci-gold) !important;
  box-shadow: 0 16px 35px rgba(255, 215, 0, 0.25), 0 0 25px rgba(0, 151, 217, 0.25) !important;
}

.pres-card:hover .pres-photo {
  transform: scale(1.08);
  border-color: #ffffff;
  box-shadow: 0 0 25px rgba(255, 215, 0, 0.6);
}

.pres-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lg);
}


.pres-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.badge-cur {
  background: rgba(255, 184, 0, 0.2);
  color: var(--jci-gold);
  border: 1px solid var(--jci-gold);
}

.badge-fnd {
  background: rgba(0, 114, 206, 0.2);
  color: #60a5fa;
  border: 1px solid #60a5fa;
}

.pres-photo {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  border: 3px solid var(--jci-gold);
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 0 20px rgba(255, 184, 0, 0.3);
}

.pres-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pres-name {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
}

.pres-title {
  font-size: 0.85rem;
  color: var(--jci-gold);
  font-weight: 700;
}

.pres-quote {
  font-size: 0.82rem;
  font-style: italic;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.2);
  padding: 10px;
  border-radius: 8px;
  margin-top: 12px;
}

/* HERO SLIDER (AUTO PLAY) */
.hero-slider {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  height: 440px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: flex-end;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover !important;
  background-position: center !important;
}

.slide-overlay {
  display: none !important;
}

.slide-content {
  position: relative;
  z-index: 2;
  padding: 25px 30px;
  max-width: 90%;
  margin: 20px;
  background: rgba(0, 20, 40, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  backdrop-filter: blur(6px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}


.slide-tag {
  background: var(--jci-gold);
  color: #000000;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  text-transform: uppercase;
}

.slide-title {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  margin: 12px 0 8px 0;
  line-height: 1.2;
}

.slide-desc {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin-bottom: 20px;
}

.slide-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--jci-gold), var(--gold-dark));
  color: #000000;
  font-weight: 800;
  padding: 10px 24px;
  border-radius: 25px;
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.3);
}

.slider-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 15px;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.arr {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 1.2rem;
  cursor: pointer;
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  right: 25px;
  z-index: 3;
  display: flex;
  gap: 8px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

.dot.active {
  background: var(--jci-gold);
  width: 26px;
  border-radius: 5px;
}

/* ==========================================================================
   5. ALTERNATING SECTION COLOR LAYOUTS
   ========================================================================== */

/* WHITE SECTION */
.sec-white {
  background-color: var(--bg-white);
  color: var(--text-dark);
  padding: 70px 20px;
}

/* SOFT BLUE SECTION */
.sec-soft-blue {
  background-color: var(--bg-soft-blue);
  color: var(--text-dark);
  padding: 70px 20px;
}

/* NAVY DEEP SECTION */
.sec-navy {
  background: var(--jci-navy);
  color: #ffffff;
  padding: 70px 20px;
}

.sec-header {
  text-align: center;
  max-width: 750px;
  margin: 0 auto 50px auto;
}

.sec-tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--jci-blue);
  background: rgba(0, 86, 145, 0.1);
  padding: 4px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.sec-navy .sec-tag {
  color: var(--jci-gold);
  background: rgba(255, 184, 0, 0.15);
}

.sec-title {
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.sec-navy .sec-title {
  color: #ffffff;
}

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

.sec-navy .sec-sub {
  color: #cbd5e1;
}

.sec-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--jci-blue), var(--jci-gold));
  margin: 15px auto 0 auto;
  border-radius: 2px;
}

/* ==========================================================================
   6. STATS COUNTER (Crisp White Background)
   ========================================================================== */
.stats-section {
  background: #ffffff;
  padding: 40px 20px;
  border-y: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 20px;
  text-align: center;
}

.stat-item {
  background: var(--bg-soft-blue);
  border: 1px solid var(--border-light);
  padding: 24px 15px;
  border-radius: var(--radius-md);
}

.stat-num {
  font-size: 2.3rem;
  font-weight: 900;
  color: var(--jci-navy);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-lbl {
  font-size: 0.85rem;
  color: var(--jci-blue);
  font-weight: 700;
}

/* ==========================================================================
   7. CREED, VISION & MISSION (Soft Blue Section)
   ========================================================================== */
.cv-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.cv-creed {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-md);
}

.cv-title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--jci-navy);
  margin-bottom: 20px;
}

.cv-list li {
  position: relative;
  padding-left: 25px;
  font-size: 0.95rem;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.cv-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--jci-gold);
}

.cv-right {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.cv-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-md);
}

/* ==========================================================================
   8. CURRENT LO LEADERSHIP BOARD (Pure White Background)
   ========================================================================== */
.committee-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

.comm-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.comm-card:hover {
  transform: translateY(-5px);
  border-color: var(--jci-blue);
  box-shadow: var(--shadow-md);
}

.comm-avatar {
  width: 100px;
  height: 100px;
  margin: 0 auto 15px auto;
  border-radius: 50%;
  border: 3px solid var(--jci-vibrant);
  overflow: hidden;
  background: var(--bg-soft-blue);
}

.comm-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comm-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--jci-navy);
}

.comm-role {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--jci-gold);
  margin-top: 2px;
}

/* PAST PRESIDENTS CONTINUOUS MARQUEE (Deep Navy Section) */
.past-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  padding: 20px 0;
}

.past-marquee-track {
  display: inline-flex;
  gap: 30px;
  animation: marqueeScroll 110s linear infinite;
}

.past-marquee-wrap:hover .past-marquee-track {
  animation-play-state: paused;
}


.past-card {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 12px 24px;
  border-radius: 40px;
  min-width: 280px;
}

.past-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--jci-gold);
  overflow: hidden;
}

.past-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.past-name {
  font-weight: 800;
  color: #ffffff;
  font-size: 0.92rem;
}

.past-year {
  font-size: 0.78rem;
  color: var(--jci-gold);
  font-weight: 700;
}

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

/* ==========================================================================
   9. BUSINESS DIRECTORY (Soft Light Background)
   ========================================================================== */
.biz-search-bar {
  max-width: 750px;
  margin: 0 auto 30px auto;
  display: flex;
  background: #ffffff;
  padding: 8px;
  border-radius: 30px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.biz-search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  padding: 0 20px;
}

.biz-cat-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 35px;
}

.cat-pill {
  background: #ffffff;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.cat-pill.active, .cat-pill:hover {
  background: var(--jci-navy);
  color: #ffffff;
  border-color: var(--jci-navy);
}

.biz-grid {
  max-width: 1250px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 25px;
}

.biz-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.biz-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.biz-header {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 12px;
}

.biz-logo {
  width: 50px;
  height: 50px;
  border-radius: 10px;
  background: var(--jci-navy);
  border: 1px solid var(--jci-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--jci-gold);
  overflow: hidden;
}

.biz-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.biz-actions {
  display: flex;
  gap: 8px;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-light);
}

.biz-btn {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
}

.btn-wa { background: #25D366; color: #fff; }
.btn-call { background: var(--jci-blue); color: #fff; }
.btn-site { background: var(--bg-soft-blue); color: var(--jci-navy); border: 1px solid var(--border-light); }

/* ==========================================================================
   10. INTERACTIVE EVENTS CALENDAR (Deep Navy Background)
   ========================================================================== */
.calendar-container {
  max-width: 1000px;
  margin: 0 auto 40px auto;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  padding: 25px 20px;
  box-shadow: var(--shadow-lg);
  overflow-x: auto;
}

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

.cal-month-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--jci-gold);
}

.cal-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.85rem;
}

.cal-btn:hover {
  background: rgba(255, 184, 0, 0.2);
  color: var(--jci-gold);
  border-color: var(--jci-gold);
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-weight: 800;
  color: #94a3b8;
  margin-bottom: 10px;
  font-size: 0.85rem;
  min-width: 300px;
}

.cal-days-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  min-width: 300px;
}

.cal-day-cell {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  min-height: 75px;
  padding: 6px;
  border-radius: 8px;
  font-weight: 700;
  color: #fff;
  font-size: 0.88rem;
  position: relative;
  word-break: break-word;
}

.cal-day-cell.has-event {
  background: rgba(0, 114, 206, 0.25);
  border-color: var(--jci-gold);
  cursor: pointer;
}

.cal-day-cell.empty {
  background: transparent;
  border: none;
}

.cal-event-tag {
  background: var(--jci-gold);
  color: #000;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 4px;
  border-radius: 4px;
  margin-top: 4px;
  display: block;
  white-space: normal;
  line-height: 1.2;
  word-break: break-word;
}


/* ==========================================================================
   11. TRAINING & BADGES (Pure White Background)
   ========================================================================== */
.training-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 25px;
}

.train-card {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 25px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.train-icon {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.badges-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 15px;
}

.badge-card {
  background: var(--bg-soft-blue);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 18px 12px;
  text-align: center;
}

.badge-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background: var(--jci-navy);
  color: var(--jci-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.85rem;
  border: 2px solid var(--jci-gold);
}

/* ==========================================================================
   12. CONTACT & FOOTER (Dark Navy)
   ========================================================================== */
#contact {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 60px 20px 20px 20px;
  border-top: 3px solid var(--jci-gold);
}

.footer-grid {
  max-width: 1200px;
  margin: 0 auto 40px auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  color: var(--jci-gold);
  margin-bottom: 15px;
}

.footer-links a {
  color: #cbd5e1;
}

.footer-links a:hover {
  color: var(--jci-gold);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.82rem;
}

/* FLOATING WIDGETS */
#wa-float {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 55px;
  height: 55px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  z-index: 999;
}

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

#chat-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: var(--jci-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(0, 43, 73, 0.4);
  z-index: 999;
  cursor: pointer;
  border: 2px solid var(--jci-gold);
  animation: floatBounce 2.5s ease-in-out infinite;
}


/* ==========================================================================
   EXECUTIVE DASHBOARD STYLES (PREMIUM DARK & BLUE POLISHED THEME)
   ========================================================================== */
.dash-layout {
  display: flex;
  min-height: 100vh;
  background: #060d19;
  color: #f1f5f9;
}

.dash-sidebar {
  width: 270px;
  background: #020914;
  border-right: 1px solid rgba(0, 151, 219, 0.2);
  padding: 24px 18px;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.dash-logo {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

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

.dash-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  color: #94a3b8;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.dash-nav a:hover {
  background: rgba(0, 151, 219, 0.1);
  color: #ffffff;
  border-color: rgba(0, 151, 219, 0.2);
}

.dash-nav a.active {
  background: linear-gradient(135deg, rgba(0, 43, 73, 0.9), rgba(0, 86, 145, 0.9));
  color: var(--jci-gold);
  border: 1px solid var(--jci-gold);
  box-shadow: 0 4px 15px rgba(255, 184, 0, 0.15);
}

.dash-content {
  flex: 1;
  padding: 35px 40px;
  overflow-y: auto;
  background: #060d19;
}

.dash-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dash-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 4px;
}

/* STATS CARDS GRID (POLISHED & GRID LAYOUT) */
.dash-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.dash-card {
  background: linear-gradient(135deg, rgba(11, 22, 45, 0.9), rgba(4, 14, 30, 0.9));
  border: 1px solid rgba(0, 151, 219, 0.25);
  border-radius: 14px;
  padding: 22px 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.dash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--jci-cyan), var(--jci-gold));
}

.dash-card:hover {
  transform: translateY(-4px);
  border-color: var(--jci-gold);
  box-shadow: 0 12px 30px rgba(0, 151, 219, 0.2);
}

.dash-card-num {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--jci-gold);
  line-height: 1;
  margin-bottom: 8px;
}

.dash-card-title {
  font-size: 0.85rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* TABLE CONTAINERS */
.dash-table-wrap {
  background: rgba(11, 22, 45, 0.85);
  border: 1px solid rgba(0, 151, 219, 0.25);
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-bottom: 35px;
  overflow-x: auto;
}

.dash-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  text-align: left;
}

.dash-table th {
  color: var(--jci-gold);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 0, 0, 0.3);
  padding: 14px 18px;
  border-bottom: 2px solid rgba(0, 151, 219, 0.3);
}

.dash-table th:first-child { border-top-left-radius: 8px; }
.dash-table th:last-child { border-top-right-radius: 8px; }

.dash-table td {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.92rem;
  color: #cbd5e1;
  vertical-align: middle;
}

.dash-table tr:hover td {
  background: rgba(0, 151, 219, 0.05);
}

.dash-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-block;
}

.dash-badge-active {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.dash-badge-pending {
  background: rgba(234, 179, 8, 0.15);
  color: #fde047;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

/* FORM STYLES */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(2, 9, 20, 0.6);
  border: 1px solid rgba(0, 151, 219, 0.3);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.25s ease;
}

.form-control:focus {
  border-color: var(--jci-gold);
  box-shadow: 0 0 12px rgba(255, 184, 0, 0.2);
}



/* RESPONSIVE MEDIA QUERIES (MOBILE FIRST COMPATIBILITY) */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cv-container { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .dash-layout { flex-direction: column; }
  .dash-sidebar { width: 100%; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .sec-title { font-size: 1.7rem; }

  /* MOBILE CALENDAR ADAPTATION */
  .calendar-container {
    padding: 14px 10px;
    border-radius: 12px;
    margin-bottom: 25px;
  }
  .cal-header {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .cal-month-title {
    font-size: 1.25rem;
  }
  .cal-btn {
    padding: 5px 12px;
    font-size: 0.78rem;
  }
  .cal-weekdays {
    font-size: 0.72rem;
    min-width: 270px;
  }
  .cal-days-grid {
    gap: 4px;
    min-width: 270px;
  }
  .cal-day-cell {
    min-height: 50px;
    padding: 4px 2px;
    font-size: 0.78rem;
    border-radius: 6px;
  }
  .cal-event-tag {
    font-size: 0.58rem;
    padding: 2px 3px;
    margin-top: 2px;
    border-radius: 3px;
  }
}

