/* =====================================================
   IEEE NNU — Unified Design System
   Loaded AFTER main.css. Pure override layer.
   No JS selectors, IDs, or class names are changed.
   ===================================================== */

/* ════════════════════════════════════════════════════
   1. DESIGN TOKENS
   ════════════════════════════════════════════════════ */
:root {
  /* Colors — dark-theme calibrated */
  --ds-primary:       #4DA3FF;
  --ds-primary-dark:  #2185d0;
  --ds-primary-light: rgba(77, 163, 255, 0.15);
  --ds-dark:          #022d4a;          /* kept for table headers & dark bg accents */
  --ds-navy:          #021e35;
  --ds-muted:         rgba(234, 242, 255, 0.52);
  --ds-surface:       rgba(8, 25, 55, 0.65);
  --ds-surface-alt:   rgba(10, 30, 65, 0.75);
  --ds-white:         #ffffff;
  --ds-border:        rgba(77, 163, 255, 0.18);
  --ds-text:          #EAF2FF;
  --ds-text-muted:    rgba(234, 242, 255, 0.68);

  /* Spacing */
  --ds-section-pad:   4rem 0;
  --ds-card-pad:      1.75rem;

  /* Shape */
  --ds-radius-sm:     8px;
  --ds-radius:        14px;
  --ds-radius-lg:     20px;

  /* Shadow — stronger depth on dark backgrounds */
  --ds-shadow-sm:     0 2px 12px rgba(0, 0, 0, 0.28);
  --ds-shadow:        0 4px 28px rgba(0, 0, 0, 0.38);
  --ds-shadow-lg:     0 8px 48px rgba(0, 0, 0, 0.50);
  --ds-shadow-hover:  0 12px 56px rgba(0, 0, 0, 0.60);

  /* Transition */
  --ds-ease:          0.22s ease;
  --ds-ease-slow:     0.38s ease;
}

/* ════════════════════════════════════════════════════
   2. GLOBAL RESET & BODY
   ════════════════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;

}

body {
  background: radial-gradient(circle at center, #0B1B3A 0%, #040A18 100%);
  color: var(--ds-white) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Ensure secondcolor text stays readable on all backgrounds */
.secondcolor {
  color: var(--ds-dark) !important;
}

/* Consistent section spacing */
section {
  scroll-margin-top: 80px;
}

/* ════════════════════════════════════════════════════
   3. TYPOGRAPHY SCALE
   ════════════════════════════════════════════════════ */
h1, .h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 700; color: var(--ds-dark); }
h2, .h2 { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 700; color: var(--ds-dark); }
h3, .h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); font-weight: 600; color: var(--ds-dark); }
h4, .h4 { font-size: clamp(1rem, 2vw, 1.25rem); font-weight: 600; color: var(--ds-dark); }

p { line-height: 1.75; color: var(--ds-text-muted); }
.text-muted { color: unset !important; }

/* ════════════════════════════════════════════════════
   4. NAVBAR
   ════════════════════════════════════════════════════ */
.navbar.navbar-expand-lg {
  background: linear-gradient(135deg, var(--ds-navy) 0%, #0567a0 100%) !important;
  min-height: 68px !important;
  box-shadow: 0 2px 20px rgba(2, 30, 53, 0.32) !important;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.navbar .navbar-brand img {
  filter: brightness(1.05);
}

.navbar :is(.nav-link, .navbh-link, .navcs-link, .navpes-link, .navras-link, .navwie-link, .navWie-link) {
  font-weight: 500 !important;
  font-size: 0.92rem;
  letter-spacing: 0.25px;
  color: rgba(255, 255, 255, 0.88) !important;
  padding: 0.45rem 0.7rem !important;
  border-radius: var(--ds-radius-sm);
  transition: color var(--ds-ease), background var(--ds-ease);
  text-decoration: none;
}

.navbar :is(.nav-link, .navbh-link, .navcs-link, .navpes-link, .navras-link, .navwie-link, .navWie-link):hover,
.navbar :is(.nav-link, .navbh-link, .navcs-link, .navpes-link, .navras-link, .navwie-link, .navWie-link):focus {
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.12);
}

.navbar .dropdown-menu,
.navbar :is(.dropdownbh-menu, .dropdowncs-menu, .dropdownpes-menu, .dropdownras-menu, .dropdownwie-menu) {
  border: none;
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-lg);
  padding: 0.5rem;
  background: #ffffff !important;
}

.navbar .dropdown-item,
.navbar :is(.dropdownbh-item, .dropdowncs-item, .dropdownpes-item, .dropdownras-item, .dropdownwie-item) {
  border-radius: var(--ds-radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--ds-dark) !important;
  padding: 0.5rem 0.85rem;
  transition: background var(--ds-ease), color var(--ds-ease);
  background: transparent;
}

.navbar .dropdown-item:hover,
.navbar :is(.dropdownbh-item, .dropdowncs-item, .dropdownpes-item, .dropdownras-item, .dropdownwie-item):hover {
  background: var(--ds-primary-light) !important;
  color: var(--ds-primary-dark) !important;
}

.navbar .navbar-toggler {
  border-color: rgba(255, 255, 255, 0.38) !important;
  padding: 0.35rem 0.6rem;
}

.navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* Sticky nav compensation */
header.index-header,
header.header-contact {
  position: relative;
  z-index: 1;
}

/* ════════════════════════════════════════════════════
   5. HERO — HOME CAROUSEL
   ════════════════════════════════════════════════════ */
.index-header {
  background: var(--ds-dark);
  padding: 0 !important;
  overflow: hidden;
}

.index-header .carousel {
  padding-bottom: 0 !important;
}

.index-header .carousel-item img {
  width: 100%;
  height: 74vh;
  min-height: 300px;
  object-fit: cover;
  object-position: center top;
  border-radius: 0 !important;
  display: block;
  image-rendering: high-quality;
}

.index-header .carousel-item {
  position: relative;
}

.carousel-control-prev,
.carousel-control-next {
  width: 5%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.8rem !important;
  height: 1.8rem !important;
  border-radius: 50%;
  background-size: 52%;
  transition: background-color var(--ds-ease);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
}

/* ════════════════════════════════════════════════════
   7. HERO — INNER PAGES (.header-contact)
   ════════════════════════════════════════════════════ */
.header-contact {
  background: linear-gradient(135deg, var(--ds-navy) 0%, #0568a0 100%) !important;
  min-height: 200px;
  display: flex;
  align-items: center;
  padding: 3rem 0 !important;
  position: relative;
  overflow: hidden;
}

.header-contact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.headertitle {
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: clamp(1.8rem, 4vw, 2.8rem) !important;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.header-contact .breadcrumb {
  position: relative;
  z-index: 1;
}

.header-contact .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.78) !important;
  text-decoration: none;
  font-size: 0.88rem;
}

.header-contact .breadcrumb-item a:hover {
  color: #ffffff !important;
}

.header-contact .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.60) !important;
  font-size: 0.88rem;
}

.header-contact .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.40);
}

/* ════════════════════════════════════════════════════
   8. ABOUT HOME PAGE
   ════════════════════════════════════════════════════ */
.aboutresturent {
  background: var(--ds-surface) !important;
  padding: 3.5rem 0 !important;
}

.aboutres {
  background: var(--ds-white) !important;
  border-radius: var(--ds-radius-lg) !important;
  box-shadow: var(--ds-shadow) !important;
  padding: 2.5rem 2.5rem !important;
  border: 1px solid var(--ds-border);
  width: 100%;
}

.aboutres h4 {
  color: var(--ds-dark) !important;
  font-size: clamp(1.3rem, 3vw, 1.85rem) !important;
  font-weight: 700 !important;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.aboutres p {
  color: var(--ds-text-muted) !important;
  font-size: 1rem !important;
  line-height: 1.85 !important;
  margin-bottom: 0;
}

.aboutres hr {
  border-color: var(--ds-border) !important;
  margin: 1rem 0 1.5rem;
  opacity: 1;
}

/* ════════════════════════════════════════════════════
   9. ABOUT US PAGE — SECTIONS
   ════════════════════════════════════════════════════ */
/* Why Choose Us */
.chooseus {
  background: var(--ds-white);
  padding: 5rem 0 !important;
}

.cooseusright > p.secondcolor {
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ds-primary) !important;
  margin-bottom: 0.5rem;
}

.flavorh2 {
  color: var(--ds-dark) !important;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem) !important;
  font-weight: 700 !important;
  line-height: 1.35;
}

/* Services Grid */
.services {
  background: var(--ds-white);
  border-color: var(--ds-border) !important;
  border-radius: var(--ds-radius) !important;
  transition: box-shadow var(--ds-ease), transform var(--ds-ease);
  padding: 1.75rem !important;
}

.services:hover {
  box-shadow: var(--ds-shadow);
  transform: translateY(-3px);
  z-index: 1;
  position: relative;
}

.serviceicon img {
  max-width: 72px;
  height: 72px;
  object-fit: contain;
}

.services h2 {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: var(--ds-dark) !important;
  margin-bottom: 0.5rem;
}

.servicespara {
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
  color: var(--ds-text-muted) !important;
}

/* Opening / Mission Section */
.opening {
  background: var(--ds-surface);
  padding: 5rem 0 !important;
}

.aboutus {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ds-primary) !important;
}

.bringing {
  color: var(--ds-dark) !important;
  font-weight: 700 !important;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem) !important;
  letter-spacing: -0.3px;
  line-height: 1.3;
}

.food-delivary {
  padding: 1.25rem 0;
}

.fooddelivaryicon,
.fooddelivaryiconn {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: var(--ds-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.fooddelivaryicon img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.fooddelivarycontent h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--ds-dark) !important;
  margin-bottom: 0.3rem;
}

.fooddelivarycontent p {
  font-size: 0.88rem !important;
  line-height: 1.7 !important;
  color: var(--ds-text-muted) !important;
  margin-bottom: 0;
}

/* ════════════════════════════════════════════════════
   10. CONTACT PAGE
   ════════════════════════════════════════════════════ */
.contactusleft h2 {
  color: var(--ds-dark) !important;
  font-weight: 700 !important;
}

.contactusleft > p.secondcolor {
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ds-primary) !important;
}

.contactusleft p[data-aos] {
  color: var(--ds-text-muted) !important;
}

.telandemail {
  background: var(--ds-white) !important;
  border-radius: var(--ds-radius-lg) !important;
  box-shadow: var(--ds-shadow) !important;
  border: 1px solid var(--ds-border) !important;
  padding: 1rem !important;
}

.telph, .mail {
  padding: 0.75rem !important;
}

.fooddelivaryiconn {
  background: var(--ds-primary-light);
}

.fooddelivaryiconn svg {
  fill: var(--ds-primary) !important;
}

.hyberlink {
  color: var(--ds-primary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  word-break: break-all;
}

.hyberlink:hover {
  color: var(--ds-primary-dark) !important;
}

/* Contact form (right column) */
.contactusright .form-control,
.contactusright textarea {
  border-radius: var(--ds-radius-sm) !important;
  border: 1.5px solid #d0dce6;
  padding: 0.7rem 0.9rem;
  font-size: 0.9rem;
  transition: border-color var(--ds-ease), box-shadow var(--ds-ease);
  background: var(--ds-white);
  color: var(--ds-text);
}

.contactusright .form-control:focus,
.contactusright textarea:focus {
  border-color: var(--ds-primary) !important;
  box-shadow: 0 0 0 3px rgba(3, 104, 148, 0.14) !important;
  outline: none;
}

.contactusright label {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--ds-dark);
  margin-bottom: 0.35rem;
}

/* ════════════════════════════════════════════════════
   10b. COMMUNITY ACTIVITY SECTION
   ════════════════════════════════════════════════════ */
.community-activities {
  background: var(--ds-surface);
  padding: 4rem 0 3rem;
}

.community-activities .childes {
  margin-top: 1rem;
}

.community-activities .w-100.d-flex {
  margin-top: 2rem;
}

.community-activities .text-center {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}

.wieparent > .w-50:last-child,
.comparent > .w-50:last-child,
.cysparent > .w-50:last-child {
  padding-right: 2rem;
}

.community-activities .text-center h2,
.community-activities .text-center .fw-bold {
  color: var(--ds-text) !important;
}

.community-activities .text-center .section-eyebrow {
  color: var(--ds-primary) !important;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 1.6rem;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--ds-primary), var(--ds-primary-dark));
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  transition: opacity var(--ds-ease), transform var(--ds-ease), box-shadow var(--ds-ease);
  border: none;
}

.read-more-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(3, 104, 148, 0.35);
  color: #ffffff !important;
  text-decoration: none;
}

/* ════════════════════════════════════════════════════
   11. ACTIVITY CARDS
   ════════════════════════════════════════════════════ */
.activity {
  padding: var(--ds-section-pad);
}

.activity h2 {
  color: var(--ds-dark) !important;
  font-weight: 700;
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 0.75rem;
  text-align: center;
}

.activity h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--ds-primary);
  border-radius: 3px;
}

.childes {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem !important;
}

/* Ensure activity container always fills width */
.activity .container {
  max-width: 1320px;
}

.child {
  border-radius: var(--ds-radius-lg) !important;
  box-shadow: var(--ds-shadow) !important;
  overflow: hidden;
  transition: transform var(--ds-ease), box-shadow var(--ds-ease);
background: rgba(25, 75, 154, 0.03) !important;
backdrop-filter: blur(14px);
-webkit-backdrop-filter: blur(14px);
border: 1px solid rgba(15, 85, 198, 0.8) !important;  display: flex;
  flex-direction: column;
  height: 100%;
}

.child:hover {
  transform: translateY(-6px);
  box-shadow: var(--ds-shadow-hover) !important;
}

.child > img:first-child,
.child img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center;
  display: block;
  flex-shrink: 0;
}

/* Override legacy inset image style from main.css */
.child .image {
  width: 100% !important;
  position: relative !important;
  left: 0 !important;
  margin-top: 0 !important;
  overflow: hidden;
  flex-shrink: 0;
}

.child .image .carousel,
.child .image .carousel-inner {
  border-radius: 0 !important;
}

.child .image .carousel-item img,
.child .image img {
  height: 210px !important;
  width: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  border-radius: 0 !important;
  display: block;
}

.child .card-body {
  padding: 1.25rem !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.child h5,
.child .card-title {
  color: var(--ds-dark) !important;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.child p,
.child .card-text {
  color: var(--ds-text-muted) !important;
  font-size: 0.875rem;
  line-height: 1.65;
  flex: 1;
}

/* ════════════════════════════════════════════════════
   12. BOARD MEMBERS SECTION
   ════════════════════════════════════════════════════ */
.board-section {
  background: var(--ds-surface);
  padding: var(--ds-section-pad);
}

/* ════════════════════════════════════════════════════
   13. FOOTER
   ════════════════════════════════════════════════════ */
.footer {
  height: auto !important;
  min-height: unset !important;
  background: var(--ds-dark) !important;
  padding: 3.5rem 0 1.5rem !important;
  border-top: 3px solid var(--ds-primary);
}

.footer .top {
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 0;
}

.footer .masterchef {
  color: #ffffff !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer .telfooter {
  color: rgba(255, 255, 255, 0.70) !important;
  text-decoration: none;
  font-size: 0.9rem !important;
  line-height: 1.8;
  display: block;
  transition: color var(--ds-ease);
}

.footer .telfooter:hover {
  color: #ffffff !important;
}

.footer .borderright {
  border-right: 1px solid rgba(255, 255, 255, 0.10) !important;
}

.footer .bottom {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.footer .bottom p {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.82rem;
  margin: 0;
}

.footer .social1 {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--ds-ease);
  flex-shrink: 0;
}

.footer .social1:hover {
  background: var(--ds-primary);
}

.footer .social1 a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.footer .social1 svg,
.footer .social1 i {
  fill: rgba(255, 255, 255, 0.75) !important;
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 15px;
}

.footer .social1:hover svg,
.footer .social1:hover i {
  fill: #ffffff !important;
  color: #ffffff !important;
}

/* ════════════════════════════════════════════════════
   14. BUTTONS — UNIFIED SYSTEM
   ════════════════════════════════════════════════════ */
.bookatablebtn {
  background: #0038877d !important;
  color: #ffffff !important;
  border: none !important;
  font-weight: 600 !important;
  font-size: 18px !important;
  letter-spacing: 0.3px;
  padding: 14px 28px !important;
  border-radius: 50px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease !important;
  text-decoration: none;
  cursor: pointer;
}

.bookatablebtn:hover,
.bookatablebtn:focus {
  opacity: 0.92;
  color: #ffffff !important;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(3, 104, 148, 0.40);
  text-decoration: none;
}

/* ── Direction button — applied alongside .bookatablebtn / community variants ── */
.direction-btn {
  font-size: 18px !important;
  padding: 14px 28px !important;
  font-weight: 600 !important;
  border-radius: 50px !important;
}

.direction-btn:hover,
.direction-btn:focus {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 8px 28px rgba(244, 147, 4, 0.45) !important;
}

/* ── Direction wrapper — icon + button side by side ── */
.direction-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Location icon — consistent size and brand colour ── */
.location-icon {
  width: 60px !important;
  height: 60px !important;
  fill: #F49304 !important;
  color: #F49304 !important;
  flex-shrink: 0;
}

/* ── Mobile: slightly smaller ── */
@media (max-width: 576px) {
  .bookatablebtn {
    font-size: 16px !important;
    padding: 11px 22px !important;
  }
  .direction-btn {
    font-size: 16px !important;
    padding: 11px 22px !important;
  }
  .location-icon {
    width: 45px !important;
    height: 45px !important;
  }
}

/* Bootstrap btn overrides */
.btn {
  border-radius: var(--ds-radius-sm) !important;
  font-weight: 500;
  font-size: 0.875rem;
  transition: all var(--ds-ease) !important;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, #1b4a7c, #005290) !important;
  border: none !important;
  color: #ffffff !important;
  right: 20px;
  top: 20px;
}

.btn-primary:hover {
  box-shadow: 0 4px 14px rgba(3, 104, 148, 0.38) !important;
}

.btn-danger {
  border-radius: var(--ds-radius-sm) !important;
}

/* ════════════════════════════════════════════════════
   15. FORMS — UNIFIED INPUT SYSTEM
   ════════════════════════════════════════════════════ */
.form-control,
.form-select {
  border-radius: var(--ds-radius-sm) !important;
  border: 1.5px solid #cdd8e3 !important;
  padding: 0.6rem 0.85rem;
  font-size: 0.9rem;
  color: var(--ds-text);
  background: var(--ds-white);
  transition: border-color var(--ds-ease), box-shadow var(--ds-ease) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--ds-primary) !important;
  box-shadow: 0 0 0 3px rgba(3, 104, 148, 0.15) !important;
  outline: none;
}

.form-label {
  font-weight: 500;
  font-size: 0.875rem;
  color: var(--ds-dark);
  margin-bottom: 0.35rem;
}

/* ════════════════════════════════════════════════════
   17. DASHBOARDS
   ════════════════════════════════════════════════════ */
body.dashboard-page {
  background: radial-gradient(circle at center, #014267 0%, #00314d 100%) !important;
}

body.dashboard-page .admin-shell {
  background: transparent !important;
}

body.dashboard-page .member-card {
  background: #01143000 !important;
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  backdrop-filter: blur(14px);
  color: var(--ds-text) !important;
}

body.dashboard-page .member-card h1,
body.dashboard-page .member-card h2,
body.dashboard-page .member-card h3,
body.dashboard-page .member-card label,
body.dashboard-page .member-card .eyebrow,
body.dashboard-page > .admin-shell > .container > div h1,
body.dashboard-page > .admin-shell > .container > div p.eyebrow {
  color: var(--ds-text) !important;
}

body.dashboard-page .member-card p,
body.dashboard-page .member-card .text-secondary {
  color: var(--ds-text-muted) !important;
}

body.dashboard-page .form-control,
body.dashboard-page .form-select {
  background-color: rgba(2, 15, 40, 0.80) !important;
  border-color: rgba(77, 163, 255, 0.25) !important;
  color: var(--ds-text) !important;
}

body.dashboard-page .form-control:focus,
body.dashboard-page .form-select:focus {
  border-color: var(--ds-primary) !important;
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.18) !important;
  background-color: rgba(2, 15, 40, 0.92) !important;
}

body.dashboard-page .form-control::placeholder {
  color: rgba(234, 242, 255, 0.38) !important;
}

body.dashboard-page .form-select option {
  background-color: #021e35;
  color: #eaf2ff;
}

body.dashboard-page .tab-content {
  background: rgba(1, 15, 38, 0.55) !important;
}

body.dashboard-page .nav-pills .nav-link {
  color: var(--ds-text-muted) !important;
}

body.dashboard-page .nav-pills .nav-link.active {
  background-color: var(--ds-primary) !important;
  color: #fff !important;
}

.admin-shell,
.member-page-shell {
  min-height: 100vh;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

/* Page title area */
.admin-shell .eyebrow,
.member-page-shell .eyebrow {
  font-size: 0.72rem !important;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ds-muted);
}

.admin-shell h1,
.member-page-shell h1 {
  color: var(--ds-dark) !important;
  font-weight: 700;
}

/* Cards */
.member-card {
  background: var(--ds-white) !important;
  border-radius: var(--ds-radius) !important;
  box-shadow: var(--ds-shadow) !important;
  border: 1px solid var(--ds-border) !important;
}

.member-card h3,
.member-card h4,
.member-card h5 {
  color: var(--ds-dark) !important;
  font-weight: 700;
}

.member-card > p.text-secondary,
.member-card .text-secondary {
  font-size: 0.85rem;
  color: var(--ds-text-muted) !important;
}

/* Tables */
.member-card .table {
  margin-bottom: 0;
}

.member-card .table thead {
  background: var(--ds-dark) !important;
}

.member-card .table thead th {
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: 0.76rem !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.9px;
  border-bottom: none !important;
  padding: 0.8rem 0.85rem !important;
  white-space: nowrap;
}

.member-card .table tbody tr {
  border-bottom: 1px solid rgba(3, 104, 148, 0.07);
  transition: background var(--ds-ease);
}

.member-card .table tbody tr:last-child {
  border-bottom: none;
}

.member-card .table tbody tr:hover {
  background: rgba(3, 104, 148, 0.04);
}

.member-card .table td {
  font-size: 0.875rem;
  vertical-align: middle;
  padding: 0.65rem 0.85rem !important;
  color: var(--ds-text);
}

/* Badges */
.badge {
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  padding: 0.3em 0.7em !important;
  letter-spacing: 0.2px;
}

/* Outline button in dark header area */
.admin-shell .btn-outline-light,
.member-card .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.30) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  background:linear-gradient(135deg, var(--ds-primary), var(--ds-primary-dark)) !important;


}

.admin-shell .btn-outline-light:hover,
.member-card .btn-outline-light:hover {
  color: #ffffff !important;
}

/* Pending events */
.pending-event-form {
  border-radius: var(--ds-radius) !important;
  border: 1px solid var(--ds-border) !important;
  background: var(--ds-white) !important;
  box-shadow: var(--ds-shadow-sm);
  transition: box-shadow var(--ds-ease);
}

.pending-event-form:hover {
  box-shadow: var(--ds-shadow);
}

.pending-event-form h5 {
  color: var(--ds-dark) !important;
  font-weight: 700;
}

/* Alert messages */
.admin-shell .alert,
.member-page-shell .alert {
  border-radius: var(--ds-radius) !important;
  font-size: 0.88rem;
  font-weight: 500;
}

/* ════════════════════════════════════════════════════
   18. SECTION UTILITY CLASSES
   ════════════════════════════════════════════════════ */
.section-eyebrow {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ds-primary);
  display: block;
  margin-bottom: 0.5rem;
}

.section-divider {
  width: 48px;
  height: 3px;
  background: var(--ds-primary);
  border-radius: 3px;
  margin: 0.75rem 0 1.5rem;
}

/* ════════════════════════════════════════════════════
   19. RESPONSIVE
   ════════════════════════════════════════════════════ */
@media (max-width: 991.98px) {
  .navbar.navbar-expand-lg {
    min-height: 60px !important;
  }

  .navbar .navbar-collapse {
    background: rgba(2, 30, 53, 0.97);
    border-radius: 0 0 var(--ds-radius) var(--ds-radius);
    padding: 1rem;
    margin-top: 0.5rem;
    box-shadow: var(--ds-shadow-lg);
  }

  .navbar .nav-link {
    padding: 0.6rem 0.85rem !important;
    border-radius: var(--ds-radius-sm);
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    background: rgba(255, 255, 255, 0.06) !important;
    border-radius: var(--ds-radius-sm);
  }

  .navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.82) !important;
  }

  .navbar .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.10) !important;
    color: #ffffff !important;
  }
}

@media (max-width: 768px) {
  .index-header .carousel-item img {
    height: 52vw;
    min-height: 220px;
  }

  .header-contact {
    min-height: 140px;
    padding: 2rem 0 !important;
  }

  .headertitle {
    font-size: 1.6rem !important;
  }

  .aboutres {
    padding: 1.75rem 1.5rem !important;
    border-radius: var(--ds-radius) !important;
  }

  .chooseus {
    padding: 3rem 0 !important;
  }

  .opening {
    padding: 3rem 0 !important;
  }

  .footer {
    padding: 2.5rem 0 1.25rem !important;
  }

  .footer .borderright {
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding-bottom: 1.5rem !important;
    margin-bottom: 0 !important;
  }

  .footer .topitem {
    width: 100% !important;
    padding-right: 0 !important;
  }

  .childes {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }

  .member-card {
    padding: 1.25rem !important;
  }

  .member-card.p-md-5 {
    padding: 1.25rem !important;
  }
}

@media (max-width: 576px) {
  .navbar .navbar-brand {
    width: auto !important;
  }

  .footer .bottom {
    flex-direction: column !important;
    gap: 0.75rem;
    text-align: center;
  }

  .footer .sociallinks {
    width: auto !important;
    justify-content: center !important;
  }

  .childes {
    grid-template-columns: 1fr;
  }

  .member-card .table-responsive {
    font-size: 0.8rem;
  }

  .admin-shell h1.display-6 {
    font-size: 1.4rem;
  }
}

/* ════════════════════════════════════════════════════
   20. ANNOUNCEMENT TICKER
   ════════════════════════════════════════════════════ */
/* ── Announcement Ticker ────────────────────────────────── */
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}
@keyframes ticker-dot-pulse {
  0%, 100% { opacity: 1;    transform: scale(1);   }
  50%       { opacity: 0.2; transform: scale(0.65); }
}

#announcementTicker {
  width: 100%;
  background: #010e207d;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  position: relative;
  z-index: 1025;
  height: 36px;
}

.ticker-label {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1rem;
  background: rgba(0, 0, 0, 0.30);
  color: rgba(255, 255, 255, 0.80);
  font-size: 0.63rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  border-right: 1px solid rgba(255, 255, 255, 0.10);
  font-family: Arial, sans-serif;
}

.ticker-live-badge {
  background: #c0392b;
  color: #fff;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 2px 6px 2px 5px;
  border-radius: 3px;
  line-height: 1.4;
  flex-shrink: 0;
}

.ticker-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e74c3c;
  flex-shrink: 0;
  animation: ticker-dot-pulse 1.2s ease-in-out infinite;
}

.ticker-viewport {
  flex: 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, black 3%, black 97%, transparent 100%);
}

.ticker-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  will-change: transform;
  animation: ticker-scroll 40s linear infinite;
  animation-play-state: running;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 1.75rem;
}

.ticker-item-title {
  font-size: 0.79rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  font-family: Arial, sans-serif;
}

.ticker-item-content {
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.48);
  font-family: Arial, sans-serif;
}

.ticker-item-dash {
  color: rgba(255, 255, 255, 0.20);
  font-size: 0.7rem;
}

.ticker-sep {
  color: rgba(255, 255, 255, 0.18);
  font-size: 0.85rem;
  padding: 0 0.4rem;
  flex-shrink: 0;
}

.ticker-close {
  flex-shrink: 0;
  background: none;
  border: none;
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.7rem;
  padding: 0 0.85rem;
  cursor: pointer;
  transition: color 0.15s;
  height: 100%;
  display: flex;
  align-items: center;
}

.ticker-close:hover { color: rgba(255, 255, 255, 0.75); }

@media (max-width: 576px) {
  #announcementTicker { height: 32px; }
  .ticker-label { padding: 0 0.65rem; gap: 0.4rem; }
  .ticker-item { padding: 0 1.1rem; }
  .ticker-item-title { font-size: 0.73rem; }
  .ticker-item-content { display: none; }
}

/* ════════════════════════════════════════════════════
   21. ADMIN — ANNOUNCEMENT MANAGEMENT
   ════════════════════════════════════════════════════ */
.ann-row {
  background: var(--ds-white);
  border-radius: var(--ds-radius-sm);
  border: 1px solid var(--ds-border);
  padding: 0.85rem 1rem;
  transition: box-shadow 0.18s ease;
}

.ann-row:hover {
  box-shadow: var(--ds-shadow-sm);
}

.ann-row.ann-inactive {
  opacity: 0.55;
}

.ann-type-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15em 0.6em;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.ann-type-general { background:#a78bfa22; color:#7c3aed; }
.ann-type-course  { background:#22c55e22; color:#15803d; }
.ann-type-seminar { background:#f59e0b22; color:#b45309; }
.ann-type-update  { background:#3b82f622; color:#1d4ed8; }
.ann-type-news    { background:#ec489922; color:#be185d; }

/* ============================================================
   NAVBAR — Enhanced styling for modern-ui pages
   ============================================================ */

/* Container: proper alignment (brand left, links center, sidebar right) */
.navbar > .container.d-flex,
.navbar > .container {
  justify-content: space-between !important;
}

/* Desktop only — let collapse fill remaining space so links center */
@media (min-width: 992px) {
  .navbar .navbar-collapse {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
  }

  .navbar .navbar-collapse .navbar-nav {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Nav link hover — white highlight consistent across modern pages */
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: rgb(244, 148, 4) !important;
  background: rgba(255, 255, 255, 0.09) !important;
}

/* Active page link */
.navbar .nav-link.active,
.navbar .nav-link.fw-semibold {
  color: #ffd060 !important;
  font-weight: 600 !important;
  background: rgba(255, 255, 255, 0.07) !important;
}

/* "Join Us" CTA pill */
.navbar .nav-join {
  padding: 0.4rem 0.9rem !important;
  color: rgba(255, 255, 255, 0.95) !important;
}

.navbar .nav-join:hover {
  color: rgb(244, 148, 4) !important;
}

/* Collapse dropdown panels — dark glass style for main pages */
.navbar ul.collapse {
  background: rgba(126, 155, 190, 0.94) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35) !important;
}

/* Mobile nav handled entirely in mobile.css */

/* ============================================================
   TEAM YEAR SWITCH — Modern pill toggle
   ============================================================ */
.team-year-switch {
  display: inline-flex;
  background: var(--ds-surface-alt);
  border: 1.5px solid var(--ds-border);
  border-radius: 50px;
  padding: 4px;
  gap: 0;
}

.team-year-btn {
  border: none;
  background: transparent;
  color: var(--ds-muted);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  cursor: pointer;
  transition: background var(--ds-ease), color var(--ds-ease), box-shadow var(--ds-ease);
  white-space: nowrap;
}

.team-year-btn.active,
.team-year-btn[aria-selected="true"] {
  background: var(--ds-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(3, 104, 148, 0.28);
}

.team-year-btn:hover:not(.active):not([aria-selected="true"]) {
  background: var(--ds-primary-light);
  color: var(--ds-primary-dark);
}

/* ============================================================
   TEAM MEMBER CARDS — Circular image, hover lift
   ============================================================ */
.team-member-card {
  background: var(--ds-white);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-sm);
  border: 1px solid var(--ds-border);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: box-shadow var(--ds-ease), transform var(--ds-ease);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.team-member-card:hover {
  box-shadow: var(--ds-shadow-hover);
  transform: translateY(-4px);
}

.team-member-card .member-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--ds-primary-light);
  box-shadow: 0 2px 12px rgba(3, 104, 148, 0.15);
}

.team-member-card .member-name {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--ds-dark);
  margin: 0;
}

.team-member-card .member-role {
  font-size: 0.8rem;
  color: var(--ds-muted);
  margin: 0;
}

/* ============================================================
   SUPERVISOR DASHBOARD — Filter buttons
   ============================================================ */
.supervisor-filter-btn {
  border: 1.5px solid var(--ds-primary);
  background: transparent;
  color: var(--ds-primary);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--ds-ease), color var(--ds-ease);
}

.supervisor-filter-btn:hover,
.supervisor-filter-btn.active {
  background: var(--ds-primary);
  color: #fff;
}

/* ============================================================
   GLOBAL LAYOUT — Page-level consistency
   ============================================================ */

/* Remove gap between navbar and page top on all pages */
body {
  padding-top: 0 !important;
}

/* Sticky navbar: consistent across index and inner pages */
.navbar.navbar-expand-lg {
  width: 100%;
}

/* Smooth section backgrounds — no abrupt cuts */
.aboutresturent,
.chooseus,
.opening,
section.activity,
.footer {
  background-attachment: local;
}

/* Community pages body backgrounds — keep themed but unify cards */
.bodybh, .bodycs, .bodyras, .bodywie, .bodypes {
  color: var(--ds-text) !important;
}

/* All page wrappers consistent min-height */
main {
  min-height: 60vh;
}

/* ============================================================
   COMMUNITY PAGES — Unified card style for local community events
   ============================================================ */
.community-event-card {
  background: var(--ds-white);
  border-radius: var(--ds-radius);
  box-shadow: var(--ds-shadow-sm);
  border: 1px solid var(--ds-border);
  overflow: hidden;
  transition: box-shadow var(--ds-ease), transform var(--ds-ease);
}

.community-event-card:hover {
  box-shadow: var(--ds-shadow-hover);
  transform: translateY(-4px);
}

/* ============================================================
   BOARD SECTION — Consistent section styling
   ============================================================ */
.board-section {
  background: var(--ds-surface) !important;
  padding: 0rem 0;
}

/* ============================================================
   SUPERVISOR DASHBOARD — Admin users table improvements
   ============================================================ */
.admin-shell .table-responsive {
  border-radius: var(--ds-radius-sm);
  overflow: hidden;
}

/* ============================================================
   ACTIVITIES — Loading state
   ============================================================ */
#activitiesContainer:empty::before {
  content: 'Loading activities…';
  display: block;
  text-align: center;
  color: var(--ds-muted);
  padding: 3rem 0;
  font-size: 1rem;
}

/* ============================================================
   FOOTER — Responsive stacking
   ============================================================ */
@media (max-width: 767px) {
  .footer .top {
    flex-direction: column !important;
    align-items: center !important;
  }
  .footer .topitem {
    width: 100% !important;
    padding-right: 0 !important;
    text-align: center !important;
  }
}

/* ============================================================
   CV BUILDER — Ensure page background matches site
   ============================================================ */
.cvb-main {
  background: var(--ds-surface) !important;
  min-height: 70vh;
}

/* ============================================================
   ABOUT PAGE — Card consistency
   ============================================================ */
.aboutresturent .container {
  max-width: 1000px;
}

/* ============================================================
   COMMUNITY CARDS — .holder, .title, .info overrides
   ============================================================ */
.community-activities .child .holder {
  padding: 1rem 1.25rem 1.25rem !important;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.community-activities .child .title {
  color: var(--ds-dark) !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  text-align: left !important;
  line-height: 1.4 !important;
  margin-bottom: 0.5rem;
}

.community-activities .child .info {
  color: var(--ds-text-muted) !important;
  font-size: 0.875rem !important;
  line-height: 1.65 !important;
  text-align: left !important;
  flex: 1;
}

.community-activities .child .date {
  font-size: 0.78rem !important;
  color: var(--ds-text-muted) !important;
  padding: 0.5rem 0.75rem 0 !important;
  margin-top: 0 !important;
}

.community-activities .child > .d-flex.flex-column.mt-1 {
  padding: 0 0.5rem;
}

/* ============================================================
   ABOUT PAGE — Team tab buttons (.btn-custom) → IEEE blue
   ============================================================ */
.btn-custom {
  background-color: transparent !important;
  border: 1.5px solid var(--ds-primary) !important;
  color: var(--ds-primary) !important;
  padding: 0.45rem 1.1rem !important;
  border-radius: 50px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  transition: background var(--ds-ease), color var(--ds-ease), box-shadow var(--ds-ease) !important;
  overflow: hidden;
}

.btn-custom::before {
  display: none !important;
}

.btn-custom:hover,
.btn-custom.active,
.btn-custom[aria-selected="true"] {
  background: linear-gradient(135deg, var(--ds-primary), var(--ds-primary-dark)) !important;
  color: #ffffff !important;
  border-color: var(--ds-primary) !important;
  box-shadow: 0 3px 12px rgba(3, 104, 148, 0.28) !important;
}

/* ============================================================
   ABOUT PAGE — Team section (.ourprice) clean up bg
   ============================================================ */
.ourprice {
  background-image: none !important;
  background-color: var(--ds-surface) !important;
  padding: 3.5rem 0 !important;
}

/* ============================================================
   COMMUNITY PAGES — Hero header (.index-header) top gap fix
   ============================================================ */
.bodybh .index-header,
.bodycs .index-header,
.bodypes .index-header,
.bodyras .index-header,
.bodywie .index-header {
  margin-top: 0 !important;
}

/* ============================================================
   COMMUNITY FOOTER — use same dark footer tokens
   ============================================================ */
.footer.bh,
.footer.cs,
.footer.pes,
.footer.ras,
.footer.wie {
  background: var(--ds-dark) !important;
  border-top: 3px solid var(--ds-primary) !important;
}

.footer.bh .telfooterbh,
.footer.cs .telfootercs,
.footer.pes .telfooterpes,
.footer.ras .telfooterras,
.footer.wie .telfooterview {
  color: rgba(255, 255, 255, 0.75) !important;
  font-size: 0.9rem !important;
}


/* ============================================================
   NAVBAR — SCROLL-ACTIVATED STICKY WITH GLASS EFFECT
   ============================================================ */

/* Default: navbar sits in normal document flow */
#navbar-container {
  position: relative;
  z-index: 1100;
}

/* Applied by JS once user scrolls past navbar */
#navbar-container.navbar-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: navSlideDown 0.3s ease forwards;
}

@keyframes navSlideDown {
  from { transform: translateY(-100%); opacity: 0.6; }
  to   { transform: translateY(0);    opacity: 1; }
}

/* Inner .navbar — smooth transition for all glass properties */
#navbar-container .navbar {
  position: relative !important;
  top: auto !important;
  transition: background-color 0.4s ease,
              backdrop-filter 0.4s ease,
              -webkit-backdrop-filter 0.4s ease,
              box-shadow 0.4s ease,
              border-color 0.4s ease;
}

/* Glassmorphism effect when sticky */
#navbar-container.navbar-sticky .navbar {
    background: linear-gradient(135deg, var(--ds-navy) 0%, #0567a0a6 100%) !important;  backdrop-filter: blur(24px) saturate(180%) brightness(1.04) !important;
  -webkit-backdrop-filter: blur(24px) saturate(180%) brightness(1.04) !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.14),
              inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Active nav-link highlight */
#navbar-container .nav-link.nav-active,
#navbar-container .nav-item.active > .nav-link {
  color: #F49304 !important;
  border-bottom: 2px solid #F49304;
  font-weight: 700;
}

#navbar-container .dropdown-item.nav-active {
  color: #F49304 !important;
  font-weight: 600;
  background-color: rgba(244, 147, 4, 0.08);
}

/* ════════════════════════════════════════════════════
   DARK THEME OVERRIDES — circuit-bg edition
   Loaded last; wins by cascade over all prior rules.
   ════════════════════════════════════════════════════ */

/* ── Global typography ── */
h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4,
h5, h6 {
  color: #EAF2FF !important;
}

p {
  color: rgba(234, 242, 255, 0.70);
}

a {
  color: var(--ds-primary);
}

a:hover {
  color: #7ac4ff;
}

.secondcolor {
  color: var(--ds-primary) !important;
}

/* ── Section surfaces ── */
.aboutresturent {
  background: transparent !important;
}

.aboutres {
  background: rgba(5, 18, 45, 0.72) !important;
  border: 1px solid rgba(77, 163, 255, 0.20) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.aboutres h4 { color: #EAF2FF !important; }
.aboutres p  { color: rgba(234, 242, 255, 0.72) !important; }
.aboutres hr { border-color: rgba(77, 163, 255, 0.18) !important; }

.chooseus {
  background: transparent !important;
  background-image: none !important;
}

.opening {
  background: transparent !important;
}

.ourprice {
  background: transparent !important;
  background-image: none !important;
}

.board-section {
  background: rgba(5, 15, 40, 0.45) !important;
}

.community-activities {
  background: transparent !important;
}

/* ── Services cards ── */
.services {
  background: rgba(5, 18, 48, 0.68) !important;
  border-color: rgba(77, 163, 255, 0.18) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.services h2       { color: #EAF2FF !important; }
.servicespara      { color: rgba(234, 242, 255, 0.68) !important; }
.flavorh2          { color: #EAF2FF !important; }
.bringing          { color: #EAF2FF !important; }

/* ── Opening / mission icons ── */
.fooddelivaryicon,
.fooddelivaryiconn {
  background: rgba(77, 163, 255, 0.15) !important;
}
.fooddelivaryiconn svg { fill: var(--ds-primary) !important; }
.fooddelivarycontent h3 { color: #EAF2FF !important; }
.fooddelivarycontent p  { color: rgba(234, 242, 255, 0.70) !important; }

/* ── Contact page ── */
.contactusleft h2     { color: #EAF2FF !important; }
.contactusleft p[data-aos] { color: rgba(234, 242, 255, 0.70) !important; }

.telandemail {
  background: rgba(5, 18, 48, 0.72) !important;
  border: 1px solid rgba(77, 163, 255, 0.20) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hyberlink       { color: var(--ds-primary) !important; }
.hyberlink:hover { color: #7ac4ff !important; }
.contactusright label { color: #EAF2FF !important; }

/* ── Forms ── */
.form-control,
.form-select,
.contactusright .form-control,
.contactusright textarea {
  background: rgba(4, 12, 35, 0.72) !important;
  border: 1.5px solid rgba(77, 163, 255, 0.28) !important;
  color: #EAF2FF !important;
}

.form-control::placeholder,
textarea::placeholder {
  color: rgba(234, 242, 255, 0.38) !important;
}

.form-control:focus,
.form-select:focus,
.contactusright .form-control:focus,
.contactusright textarea:focus {
  border-color: var(--ds-primary) !important;
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.18) !important;
  background: rgba(4, 12, 35, 0.85) !important;
}

.form-label { color: rgba(234, 242, 255, 0.88) !important; }

/* ── Activity cards ── */
.activity h2 { color: #EAF2FF !important; }

.child h5,
.child .card-title { color: rgba(234, 242, 255, 0.92) !important; }

.child p,
.child .card-text  { color: rgba(234, 242, 255, 0.65) !important; }

.community-activities .child .title { color: rgba(234, 242, 255, 0.92) !important; }
.community-activities .child .info  { color: rgba(234, 242, 255, 0.65) !important; }
.community-activities .child .date  { color: rgba(234, 242, 255, 0.50) !important; }

.admin-shell h1,
.member-page-shell h1 { color: #EAF2FF !important; }

.admin-shell .eyebrow,
.member-page-shell .eyebrow { color: rgba(234, 242, 255, 0.55) !important; }

/* ── Member / admin cards ── */
.member-card {
  background: rgba(5, 18, 48, 0.75) !important;
  border: 1px solid rgba(77, 163, 255, 0.20) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.member-card h3,
.member-card h4,
.member-card h5          { color: #EAF2FF !important; }

.member-card .text-secondary,
.member-card > p.text-secondary { color: rgba(234, 242, 255, 0.60) !important; }

.member-card .table       { color: rgba(234, 242, 255, 0.85); }
.member-card .table td    { color: rgba(234, 242, 255, 0.80) !important; }
.member-card .table tbody tr { border-bottom-color: rgba(77, 163, 255, 0.10); }
.member-card .table tbody tr:hover { background: rgba(77, 163, 255, 0.07); }

/* ── Pending event forms ── */
.pending-event-form {
  background: rgba(5, 18, 48, 0.72) !important;
  border: 1px solid rgba(77, 163, 255, 0.18) !important;
}
.pending-event-form h5 { color: #EAF2FF !important; }

/* ── Announcement rows ── */
.ann-row {
  background: rgba(5, 18, 48, 0.65);
  border: 1px solid rgba(77, 163, 255, 0.16);
}

/* ── Announcement type pills — brighter on dark ── */
.ann-type-general { background: rgba(167, 139, 250, 0.15); color: #c4b5fd; }
.ann-type-course  { background: rgba(34,  197,  94, 0.12); color: #86efac; }
.ann-type-seminar { background: rgba(245, 158,  11, 0.15); color: #fcd34d; }
.ann-type-update  { background: rgba( 59, 130, 246, 0.15); color: #93c5fd; }
.ann-type-news    { background: rgba(236,  72, 153, 0.15); color: #f9a8d4; }

/* ── Team member cards ── */
.team-member-card {
  background: rgba(5, 18, 48, 0.72);
  border: 1px solid rgba(77, 163, 255, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.team-member-card .member-name { color: #EAF2FF !important; }
.team-member-card .member-role { color: rgba(234, 242, 255, 0.55) !important; }

/* ── Team year switch ── */
.team-year-switch {
  background: rgba(5, 18, 48, 0.72);
  border: 1.5px solid rgba(77, 163, 255, 0.20);
}
.team-year-btn { color: rgba(234, 242, 255, 0.65); }

.team-year-btn.active,
.team-year-btn[aria-selected="true"] {
  background: var(--ds-primary);
  color: #fff;
}

/* ── Community event cards ── */
.community-event-card {
  background: rgba(5, 18, 48, 0.65);
  border: 1px solid rgba(77, 163, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ── CV builder ── */
.cvb-main {
  background: rgba(5, 15, 40, 0.50) !important;
}

/* ── Navbar dropdown — dark glass ── */
.navbar .dropdown-menu,
.navbar :is(.dropdownbh-menu, .dropdowncs-menu, .dropdownpes-menu, .dropdownras-menu, .dropdownwie-menu) {
  background: rgba(2, 12, 35, 0.97) !important;
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45) !important;
}

.navbar .dropdown-item,
.navbar :is(.dropdownbh-item, .dropdowncs-item, .dropdownpes-item, .dropdownras-item, .dropdownwie-item) {
  color: rgba(234, 242, 255, 0.88) !important;
}

.navbar .dropdown-item:hover,
.navbar :is(.dropdownbh-item, .dropdowncs-item, .dropdownpes-item, .dropdownras-item, .dropdownwie-item):hover {
  background: rgba(77, 163, 255, 0.14) !important;
  color: #ffffff !important;
}

/* ── Scrollbar ── */
::-webkit-scrollbar-track {
  background: rgba(2, 8, 25, 0.60);
}
::-webkit-scrollbar-thumb {
  background: rgba(77, 163, 255, 0.38);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(77, 163, 255, 0.65);
}
html {
  scrollbar-color: rgba(77, 163, 255, 0.45) rgba(2, 8, 25, 0.60);
}

/* ── Bootstrap modals ── */
.modal-content {
  background: rgba(3, 10, 30, 0.97) !important;
  border: 1px solid rgba(77, 163, 255, 0.22) !important;
  color: #EAF2FF !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.modal-header {
  border-bottom-color: rgba(77, 163, 255, 0.15) !important;
}
.modal-footer {
  border-top-color: rgba(77, 163, 255, 0.15) !important;
}
.modal-title { color: #EAF2FF !important; }

/* ── Bootstrap alerts ── */
.admin-shell .alert,
.member-page-shell .alert {
  border-color: rgba(77, 163, 255, 0.25) !important;
}

/* ── Bootstrap tables (global) ── */
.table {
  color: rgba(234, 242, 255, 0.85);
  border-color: rgba(77, 163, 255, 0.12);
}
.table thead th,
.table > thead > tr > th {
  border-bottom-color: rgba(77, 163, 255, 0.20) !important;
}
.table > tbody > tr > td {
  border-color: rgba(77, 163, 255, 0.08);
}

/* ── Selection highlight ── */
::selection {
  background-color: rgba(77, 163, 255, 0.35);
  color: #ffffff;
}

/* ── Community Member Cards (shared across all community pages) ── */
.comm-members-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.comm-member-card {
  width: 190px;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(2, 20, 46, 0.80);
  border: 1px solid var(--comm-border, rgba(255,255,255,0.15));
  transition: transform .35s ease, box-shadow .35s ease;
  flex-shrink: 0;
}
.comm-member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px var(--comm-shadow, rgba(255,255,255,0.15));
}
.comm-photo-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}
.comm-photo-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform .40s ease;
  display: block;
}
.comm-member-card:hover .comm-photo-wrap img { transform: scale(1.05); }
.comm-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 0.75rem;
  opacity: 0;
  transition: opacity .30s ease;
}
.comm-member-card:hover .comm-overlay { opacity: 1; }
.comm-linkedin { display: flex; }
.comm-linkedin svg { width: 28px; height: 28px; fill: #F49304; filter: drop-shadow(0 1px 3px rgba(0,0,0,0.7)); }
.comm-member-info {
  padding: 0.6rem 0.7rem 0.75rem;
  text-align: center;
}
.comm-member-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}
.comm-member-role {
  font-size: 0.72rem;
  color: rgba(249, 185, 149, 0.80);
  margin-top: 3px;
}
/* Per-community accent colours */
.bodywie .comm-member-card { --comm-border: rgba(116, 52, 140, 0.40); --comm-shadow: rgba(116, 52, 140, 0.35); }
.bodyras .comm-member-card { --comm-border: rgba(148,  4,  44, 0.40); --comm-shadow: rgba(148,   4,  44, 0.35); }
.bodycs  .comm-member-card { --comm-border: rgba(249, 169,  40, 0.40); --comm-shadow: rgba(249, 169,  40, 0.35); }
.bodybh  .comm-member-card { --comm-border: rgba(  2,  79,  68, 0.50); --comm-shadow: rgba(  2,  79,  68, 0.35); }
.bodypes .comm-member-card { --comm-border: rgba( 11, 108,  55, 0.40); --comm-shadow: rgba( 11, 108,  55, 0.35); }
.bodycom .comm-member-card { --comm-border: rgba( 21, 101, 192, 0.40); --comm-shadow: rgba( 21, 101, 192, 0.35); }
.bodycys .comm-member-card { --comm-border: rgba(106,  27, 154, 0.40); --comm-shadow: rgba(106,  27, 154, 0.35); }
