/* ==========================================================================
   IWWA Kolkata - Modular Component Styles (assets/css/components.css)
   ========================================================================== */

/* ===== Notification Marquee ===== */
.marquee-bar {
  background: var(--red-dark);
  color: #fff;
  font-size: 0.82rem;
  overflow: hidden;
  position: relative;
  height: 38px;
  display: flex;
  align-items: center;
  z-index: 60;
}
.marquee-bar .marquee-tag {
  background: var(--navy);
  padding: 0 1rem;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  flex-shrink: 0;
  z-index: 2;
  font-size: 0.78rem;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
  padding-left: 100%;
}
.marquee-bar:hover .marquee-track {
  animation-play-state: paused;
}
.marquee-track span {
  padding: 0 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.marquee-track span i {
  font-size: 0.7rem;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
    padding-left: 1rem;
  }
}

/* ===== Top Bar ===== */
.topbar {
  background: var(--navy);
  color: #c7ccd6;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.topbar a {
  color: #c7ccd6;
}
.topbar a:hover {
  color: var(--white);
}
.topbar .social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  margin-left: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.8rem;
  transition: all 0.2s ease;
}
.topbar .social a:hover {
  background: var(--red);
  transform: translateY(-1px);
}

/* ===== Navbar ===== */
.navbar-custom {
  background: transparent;
  padding: 1.3rem 0;
  box-shadow: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}
.navbar-custom .navbar-brand {
  font-weight: 800;
  font-size: 1.45rem;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: color 0.3s ease;
}
.navbar-custom .navbar-brand .brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 6px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  box-shadow: 0 4px 10px rgba(15, 126, 166, 0.3);
}
.navbar-custom .brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.03em;
  color: #c7ccd6;
  font-weight: 500;
  display: block;
  margin-top: -3px;
  transition: color 0.3s ease;
}
.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  font-size: 0.92rem;
  margin: 0 0.6rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.3s ease;
}
.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: var(--red);
}
.navbar-custom .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--red);
  border-radius: 2px;
}

.navbar-custom .navbar-toggler {
  padding: 0.35rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.navbar-custom .navbar-toggler:focus {
  box-shadow: none;
}
.navbar-custom .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-custom.navbar-solid .navbar-toggler {
  border: 1px solid rgba(0, 0, 0, 0.15);
}
.navbar-custom.navbar-solid .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2843, 45, 58, 0.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Solid Navbar (applied on scroll) */
.navbar-custom.navbar-solid {
  background: #fff;
  padding: 0.85rem 0;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  animation: navbar-drop 0.35s ease;
}
@keyframes navbar-drop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}
.navbar-custom.navbar-solid .navbar-brand,
.navbar-custom.navbar-solid .nav-link {
  color: #2b2d3a;
}
.navbar-custom.navbar-solid .brand-sub {
  color: var(--gray-txt);
}
.navbar-custom.navbar-solid .nav-link:hover,
.navbar-custom.navbar-solid .nav-link.active {
  color: var(--red);
}
.navbar-custom .dropdown-menu {
  border: none;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-radius: 6px;
  padding: 0.6rem 0;
}
.navbar-custom .dropdown-item {
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.55rem 1.3rem;
  color: #2b2d3a;
}
.navbar-custom .dropdown-item:hover,
.navbar-custom .dropdown-item.active {
  background: var(--light-bg);
  color: var(--red);
}

/* ===== Hero Section (Home) ===== */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(8, 16, 24, 0.72), rgba(8, 16, 24, 0.88)),
    url('../images/homebanner.png') center/cover no-repeat;
  padding: 7.5rem 0 4rem;
  color: #fff;
  width: 100%;
}
.hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero h1 {
  color: #fff;
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.2;
  max-width: 820px;
}
.hero p {
  color: #d7dde4;
  max-width: 660px;
  margin: 1.1rem auto 1.8rem;
  font-size: 1.02rem;
}

/* ===== Page Banner (Inner Pages) ===== */
.page-banner {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(14, 27, 38, 0.82), rgba(14, 27, 38, 0.94)),
    url('../images/aboutbanner.png') center/cover no-repeat;
  padding: 7.8rem 0 3.8rem;
  color: #fff;
  text-align: center;
  width: 100%;
}
.page-banner.banner-about {
  background:
    linear-gradient(180deg, rgba(14, 27, 38, 0.82), rgba(14, 27, 38, 0.94)),
    url('../images/aboutbanner.png') center/cover no-repeat;
}
.page-banner.banner-members {
  background:
    linear-gradient(180deg, rgba(14, 27, 38, 0.82), rgba(14, 27, 38, 0.94)),
    url('../images/membersbanner.png') center/cover no-repeat;
}
.page-banner.banner-events {
  background:
    linear-gradient(180deg, rgba(14, 27, 38, 0.82), rgba(14, 27, 38, 0.94)),
    url('../images/eventsbanner.png') center/cover no-repeat;
}
.page-banner.banner-contact {
  background:
    linear-gradient(180deg, rgba(14, 27, 38, 0.82), rgba(14, 27, 38, 0.94)),
    url('../images/contactbanner.png') center/cover no-repeat;
}
.page-banner h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}
.page-banner p {
  color: #d7dde4;
  max-width: 740px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Breadcrumb */
.breadcrumb-custom {
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  font-size: 0.85rem;
  margin-top: 1rem;
}
.breadcrumb-custom a {
  color: #a5b4fc;
}
.breadcrumb-custom a:hover {
  color: #fff;
}
.breadcrumb-custom .active {
  color: #fff;
  font-weight: 600;
}
.breadcrumb-custom .separator {
  margin: 0 0.5rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ===== Service Cards ===== */
.service-card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.7rem;
  height: 100%;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  transition: box-shadow 0.25s, transform 0.25s;
  background: #fff;
}
.service-card:hover {
  box-shadow: 0 14px 34px rgba(20, 22, 40, 0.09);
  transform: translateY(-4px);
}
.service-icon {
  min-width: 52px;
  height: 52px;
  background: var(--red);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(15, 126, 166, 0.25);
}
.service-card h5 {
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.service-card a.read-more {
  color: var(--red);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.service-card a.read-more:hover {
  color: var(--red-dark);
}

/* ===== Department / Committee Cards ===== */
.departments-section {
  background: var(--navy);
  color: #fff;
}
.dept-img-wrap {
  position: relative;
  height: 100%;
  min-height: 440px;
}
.dept-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 6px;
}
.dept-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--navy-2);
  padding: 1.3rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 3px solid var(--red);
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}
.dept-overlay .phone-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dept-card {
  background: #fff;
  color: #2b2d3a;
  border-radius: 6px;
  padding: 1.6rem;
  height: 100%;
  border: 1px solid var(--border-color);
  transition: transform 0.25s, box-shadow 0.25s;
}
.dept-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.dept-card .dept-icon {
  font-size: 1.8rem;
  color: var(--red);
  margin-bottom: 0.8rem;
}
.dept-card h6 {
  font-weight: 700;
  margin-bottom: 0.4rem;
}

/* ===== Council & Member Profile Cards ===== */
.council-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.25s, box-shadow 0.25s;
  background: #fff;
  border: 1px solid var(--border-color);
}
.council-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
}
.council-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
}
.council-card .council-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  padding: 1rem 1.2rem;
  border-top: 1px solid #f0f2f5;
}
.council-card .council-name h6 {
  font-weight: 700;
  margin: 0;
  color: var(--navy);
}
.council-card .council-name span {
  font-size: 0.82rem;
  color: var(--gray-txt);
}
.council-card .council-name .role-tag {
  color: var(--red);
  font-weight: 600;
  font-size: 0.82rem;
  display: block;
}

/* Extended Member Card */
.member-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}
.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.member-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.member-card-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
}
.member-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 30px;
  background: rgba(15, 126, 166, 0.1);
  color: var(--red);
}

/* ===== Events Component ===== */
.event-row {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 1.3rem;
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-bottom: 1.2rem;
  background: #fff;
  transition: all 0.25s ease;
}
.event-row:hover {
  box-shadow: 0 10px 25px rgba(20, 22, 40, 0.06);
  border-color: #cbd5e1;
  transform: translateX(4px);
}
.event-date {
  text-align: center;
  min-width: 84px;
  border-right: 1px solid var(--border-color);
  padding-right: 1.2rem;
}
.event-date .day {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.event-date .month {
  font-size: 0.8rem;
  color: var(--gray-txt);
  font-weight: 600;
  text-transform: uppercase;
}
.event-row img {
  width: 120px;
  height: 85px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.event-info {
  flex-grow: 1;
}
.event-info h6, .event-info h5 {
  font-weight: 700;
  margin-bottom: 0.35rem;
}
.event-info .meta {
  font-size: 0.85rem;
  color: var(--gray-txt);
  line-height: 1.6;
}
.event-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  display: inline-block;
  margin-bottom: 0.3rem;
}
.badge-convention { background: #e0f2fe; color: #0369a1; }
.badge-workshop { background: #fef3c7; color: #b45309; }
.badge-observance { background: #dcfce7; color: #15803d; }
.badge-webinar { background: #f3e8ff; color: #7e22ce; }

/* Filter Tabs */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  justify-content: center;
}
.filter-btn {
  background: #fff;
  border: 1px solid var(--border-color);
  color: var(--gray-txt);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  box-shadow: 0 4px 10px rgba(15, 126, 166, 0.25);
}

/* ===== Membership Pricing / Tier Cards ===== */
.pricing-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2.2rem 1.8rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.09);
}
.pricing-card.featured {
  border: 2px solid var(--red);
  box-shadow: 0 12px 30px rgba(15, 126, 166, 0.12);
}
.pricing-card .popular-tag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--red);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.8rem;
  border-radius: 20px;
  text-transform: uppercase;
}
.pricing-card .price {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--navy);
  margin: 1rem 0 0.5rem;
}
.pricing-card .price-sub {
  color: var(--gray-txt);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  flex-grow: 1;
}
.pricing-features li {
  padding: 0.55rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #3c3e4c;
  border-bottom: 1px solid #f1f3f5;
}
.pricing-features li i {
  color: var(--red);
  margin-top: 0.15rem;
}

/* ===== Heritage Highlights Strip ===== */
.highlights-section {
  background: #0c141c;
  color: #fff;
}
.highlight-strip {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
}
.highlight-strip img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}
.highlight-labels {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
}
.highlight-labels span {
  flex: 1;
  text-align: center;
  padding: 1.1rem 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
  color: #fff;
}
.highlight-labels span:last-child {
  border-right: none;
}

/* ===== Overview / Downloads Box ===== */
.overview-section {
  position: relative;
  color: #fff;
}
.overview-section .bg-photo {
  background:
    linear-gradient(180deg, rgba(8, 16, 24, 0.6), rgba(8, 16, 24, 0.9)),
    url('https://images.unsplash.com/photo-1581092160607-ee22621dd758?q=80&w=1740&auto=format&fit=crop') center/cover no-repeat;
  padding-top: 5.5rem;
  padding-bottom: 0;
}
.overview-box {
  background: #fff;
  color: #2b2d3a;
  padding: 2.2rem;
  height: 100%;
}
.overview-box.dark {
  background: var(--navy);
  color: #fff;
}
.overview-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.overview-box ul li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  font-size: 0.92rem;
}
.overview-box.dark ul li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.overview-box ul li i {
  color: var(--red);
}
.overview-box h5 {
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.doc-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border-color);
}
.doc-item:last-child {
  border-bottom: none;
}
.doc-icon {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.15rem;
  flex-shrink: 0;
}

/* ===== Blog / News Cards ===== */
.blog-card {
  border: 1px solid var(--border-color);
  border-radius: 6px;
  overflow: hidden;
  height: 100%;
  background: #fff;
  transition: transform 0.25s, box-shadow 0.25s;
}
.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}
.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.blog-card .body {
  padding: 1.4rem;
}
.blog-tag {
  color: var(--red);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}
.blog-card h6 {
  font-weight: 700;
  margin: 0.6rem 0;
  line-height: 1.4;
  font-size: 1.05rem;
}

/* ===== Stat Counter Component ===== */
.stat-box {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 2rem 1.5rem;
  text-align: center;
  height: 100%;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}
.stat-box .stat-number {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-box .stat-title {
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}

/* ===== FAQ Accordion ===== */
.accordion-iwwa .accordion-item {
  border: 1px solid var(--border-color);
  margin-bottom: 0.75rem;
  border-radius: 6px !important;
  overflow: hidden;
}
.accordion-iwwa .accordion-button {
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--navy);
  background: #fff;
  padding: 1.1rem 1.3rem;
}
.accordion-iwwa .accordion-button:not(.collapsed) {
  background: var(--light-bg);
  color: var(--red);
  box-shadow: none;
}
.accordion-iwwa .accordion-button:focus {
  box-shadow: none;
  border-color: rgba(15, 126, 166, 0.3);
}

/* ===== Sticky Social Rail ===== */
.social-rail {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  z-index: 1040;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 18px rgba(0, 0, 0, 0.08);
}
.social-rail a {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 1.05rem;
  transition: background 0.2s ease, width 0.2s ease;
}
.social-rail a:hover {
  background: var(--red);
  width: 50px;
}
.social-rail a[aria-label="Facebook"]:hover { background: #1877f2; }
.social-rail a[aria-label="X (Twitter)"]:hover { background: #000; }
.social-rail a[aria-label="YouTube"]:hover { background: #ff0000; }
.social-rail a[aria-label="LinkedIn"]:hover { background: #0a66c2; }
@media (max-width: 767.98px) {
  .social-rail { display: none; }
}

/* ===== Scroll to Top ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  box-shadow: 0 10px 26px rgba(15, 126, 166, 0.35);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}
.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: var(--red-dark);
}

/* ===== Footer ===== */
footer {
  background: var(--navy);
  color: #c7ccd6;
  padding-top: 3.5rem;
}
footer h6 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.1rem;
}
footer ul {
  list-style: none;
  padding: 0;
}
footer ul li {
  margin-bottom: 0.55rem;
}
footer ul li a {
  color: #c7ccd6;
  font-size: 0.9rem;
}
footer ul li a:hover {
  color: var(--red);
  padding-left: 3px;
}
footer .underline {
  width: 32px;
  height: 2px;
  background: var(--red);
  margin-bottom: 1rem;
}
footer .newsletter input {
  border-radius: 4px 0 0 4px;
  border: none;
  padding: 0.7rem 1rem;
}
footer .newsletter button {
  border-radius: 0 4px 4px 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
  padding: 1.2rem 0;
  font-size: 0.84rem;
  color: #9295a6;
}

/* ===== Comprehensive Mobile Responsive Adjustments ===== */

/* Tablets & Small Desktops (< 992px) */
@media (max-width: 991.98px) {
  .navbar-custom {
    padding: 0.9rem 0;
  }
  .navbar-custom .navbar-collapse {
    background: var(--navy);
    padding: 1.2rem 1.4rem;
    border-radius: 8px;
    margin-top: 0.8rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  }
  .navbar-custom.navbar-solid .navbar-collapse {
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  }
  .navbar-custom .navbar-collapse .nav-link {
    color: #fff !important;
    padding: 0.6rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .navbar-custom.navbar-solid .navbar-collapse .nav-link {
    color: #2b2d3a !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .navbar-custom .navbar-collapse .nav-link:last-child {
    border-bottom: none;
  }
  .navbar-custom .navbar-collapse .nav-link:hover,
  .navbar-custom .navbar-collapse .nav-link.active {
    color: var(--red) !important;
    padding-left: 0.3rem !important;
  }
  .navbar-custom .navbar-collapse .btn {
    width: 100%;
    margin-top: 0.8rem;
    text-align: center;
    justify-content: center;
  }

  .hero {
    min-height: 520px;
    padding: 8rem 1rem 4rem;
    text-align: center;
  }
  .hero h1 {
    font-size: 2.2rem;
    margin: 0 auto;
  }

  .page-banner {
    min-height: 380px;
    padding: 8.5rem 1rem 4rem;
    text-align: center;
  }
  .page-banner h1 {
    font-size: 2.3rem;
  }
  .page-banner p {
    margin: 0 auto;
    font-size: 1rem;
  }

  .dept-img-wrap {
    min-height: 320px;
  }

  .card .col-lg-5 img {
    min-height: 240px !important;
    max-height: 280px !important;
  }
}

/* Tablets Portrait & Large Mobiles (< 768px) */
@media (max-width: 767.98px) {
  .hero {
    min-height: auto;
    padding: 7.5rem 1rem 3.5rem;
  }
  .hero h1 {
    font-size: 1.95rem;
    line-height: 1.25;
  }
  .hero p {
    font-size: 0.95rem;
    margin: 1rem auto 1.6rem;
  }

  .page-banner {
    min-height: auto;
    padding: 7.5rem 1rem 3.2rem;
  }
  .page-banner h1 {
    font-size: 2rem;
  }
  .page-banner p {
    font-size: 0.95rem;
  }

  .breadcrumb-custom {
    flex-wrap: wrap;
    justify-content: center;
    font-size: 0.8rem;
    padding: 0.35rem 0.85rem;
  }

  .highlight-strip img {
    height: 280px;
  }
  .highlight-labels {
    flex-wrap: wrap;
  }
  .highlight-labels span {
    flex: 0 0 50%;
    font-size: 0.82rem;
    padding: 0.7rem 0.3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .event-row {
    flex-wrap: wrap;
    gap: 1rem;
    padding: 1.1rem;
  }
  .event-row img {
    width: 100px;
    height: 75px;
  }
  .event-date {
    border-right: none;
    padding-right: 0;
    text-align: left;
    display: flex;
    align-items: baseline;
    gap: 0.4rem;
  }
  .event-date .day {
    font-size: 1.5rem;
  }

  .stat-box {
    padding: 1.4rem 1rem;
  }
  .stat-box .stat-number {
    font-size: 2rem;
  }
  .stat-box .stat-title {
    font-size: 0.9rem;
  }

  .overview-box {
    padding: 1.6rem 1.3rem;
  }

  .social-rail {
    display: none;
  }

  .scroll-top-btn {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 1rem;
  }
}

/* Small Mobile Devices (< 576px) */
@media (max-width: 575.98px) {
  .marquee-bar {
    height: auto;
    min-height: 36px;
    padding: 0.2rem 0;
  }
  .marquee-bar .marquee-tag {
    padding: 0 0.65rem;
    font-size: 0.72rem;
  }
  .marquee-track span {
    padding: 0 1.2rem;
    font-size: 0.78rem;
  }

  .navbar-custom {
    padding: 0.7rem 0;
  }
  .navbar-custom .navbar-brand {
    font-size: 1.15rem;
    gap: 0.45rem;
  }
  .navbar-custom .navbar-brand .brand-mark {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
  .navbar-custom .brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.01em;
  }

  .hero {
    padding: 6.8rem 0.8rem 3rem;
  }
  .hero h1 {
    font-size: 1.65rem !important;
  }
  .hero p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .hero .d-flex.gap-3 {
    flex-direction: column;
    gap: 0.6rem !important;
  }
  .hero .btn {
    width: 100%;
  }

  .page-banner {
    padding: 6.8rem 0.8rem 2.8rem;
  }
  .page-banner h1 {
    font-size: 1.7rem !important;
    margin-bottom: 0.6rem;
  }
  .page-banner p {
    font-size: 0.88rem;
    line-height: 1.55;
  }

  .service-card {
    padding: 1.2rem 1rem;
    gap: 0.85rem;
  }
  .service-icon {
    min-width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
  .service-card h5 {
    font-size: 0.98rem;
  }

  .dept-card {
    padding: 1.2rem 1rem;
  }

  .council-card img {
    height: 250px;
  }
  .council-card .council-name {
    padding: 0.8rem 1rem;
  }

  .member-card {
    padding: 1.1rem 0.9rem;
  }
  .member-card-avatar {
    width: 48px;
    height: 48px;
  }

  .event-row {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    gap: 0.8rem;
  }
  .event-row img {
    width: 100%;
    height: 160px;
  }
  .event-row .btn {
    width: 100%;
    text-align: center;
  }

  .filter-tabs {
    gap: 0.35rem;
    margin-bottom: 1.5rem;
  }
  .filter-btn {
    padding: 0.35rem 0.85rem;
    font-size: 0.78rem;
  }

  .pricing-card {
    padding: 1.6rem 1.2rem;
  }
  .pricing-card .price {
    font-size: 1.85rem;
  }

  .highlight-strip img {
    height: 220px;
  }
  .highlight-labels span {
    flex: 0 0 50%;
    font-size: 0.75rem;
    padding: 0.5rem 0.2rem;
  }

  .overview-box {
    padding: 1.3rem 1rem;
  }
  .overview-box h5 {
    font-size: 1.05rem;
    margin-bottom: 0.8rem;
  }
  .overview-box ul li {
    font-size: 0.85rem;
    padding: 0.45rem 0;
  }

  .doc-item {
    gap: 0.6rem;
    padding: 0.7rem 0;
  }
  .doc-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }

  .blog-card img {
    height: 170px;
  }
  .blog-card .body {
    padding: 1.1rem 0.9rem;
  }

  footer {
    padding-top: 3rem;
  }
  footer .newsletter {
    flex-direction: column;
    gap: 0.5rem;
  }
  footer .newsletter input {
    border-radius: 4px;
    width: 100%;
  }
  footer .newsletter button {
    border-radius: 4px;
    width: 100%;
  }
  .footer-bottom {
    margin-top: 2rem;
    padding: 1rem 0;
    font-size: 0.78rem;
  }
}
