/* =====================================================
   CSS Variables
===================================================== */
:root {
  --primary: #120f59;
  --secondary: #9de0f7;
  --light: #dfedfc;
  --accent: #bf1523;
}

/* =====================================================
   General CSS
===================================================== */
@import url("https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap");

body {
  min-height: 100dvh;
  font-size: 1.125rem;
  font-family: "Noto Sans", sans-serif;
  font-optical-sizing: auto;
}

p,
ul,
td,
tt {
  line-height: 1.5 !important;
  font-size: 1rem;
}

.navbar-toggler-icon {
  background-image: url("../imgs/menu.png") !important;
}

.btn-close {
  background-image: url("../imgs/close.png") !important;
}

.offcanvas-header {
  border-bottom: 2px solid #ffffff21;
}

#offcanvasNavbar {
  background: var(--primary);
}

@media (max-width: 500px) {
  body {
    font-size: 1rem;
    font-family: "Noto Sans", sans-serif !important;
  }
}

/* =====================================================
   Title Block (Section Headings)
===================================================== */
.title-block h6 {
  position: relative;
  display: inline-block;
}

.title-block h6 span {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
}

.title-block.p-center h6::before,
.title-block.p-left h6::before {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 130px;
  height: 20px;
  background-image: url("../imgs/Left.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translateX(-100%);
  -webkit-transform: translateX(-100%);
  -moz-transform: translateX(-100%);
  -ms-transform: translateX(-100%);
  -o-transform: translateX(-100%);
}

.title-block.p-center h6::after,
.title-block.p-right h6::after {
  content: " ";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: 130px;
  height: 20px;
  background-image: url("../imgs/Right.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  transform: translateX(100%);
  -webkit-transform: translateX(100%);
  -moz-transform: translateX(100%);
  -ms-transform: translateX(100%);
  -o-transform: translateX(100%);
}

/* =====================================================
   Navigation
===================================================== */
header {
  background: linear-gradient(#9de0f7 70%, #f2e8b6 71%) !important;
}

nav {
  width: 100% !important;
  background-color: var(--primary);
}

nav .nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.25rem 0.9rem !important;
  font-weight: 500;
  color: #ffffff !important;
  text-shadow: 1px 1px 3px #0000006e;
}

nav .nav-link.active {
  overflow: hidden;
  background-color: var(--accent);
  font-weight: 500;
  color: #ffffff !important;
  text-shadow: none;
}

nav .nav-link.active::after {
  content: " ";
  display: block;
  position: absolute;
  bottom: -6px;
  width: 100%;
  height: 16px;
  background-image: url("../imgs/active.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

nav .nav-item.active {
  position: relative;
}

nav .nav-item.active::after {
  content: " ";
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 10px;
  background-image: url("../imgs/active2.png");
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
}

nav .nav-item.dropdown.active .nav-link {
  background-color: var(--accent);
}

nav .navbar-brand img {
  position: absolute;
  top: -2.5rem;
  z-index: 12;
  max-height: 120px;
  filter: drop-shadow(0px 20px 18px #00000085);
  -webkit-filter: drop-shadow(0px 20px 18px #00000085);
}

nav .dropdown-menu {
  margin-top: 0.25rem;
  padding: 0.5rem;
  border: none;
  border-radius: 0.85rem;
  background: var(--primary);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

nav .dropdown-item {
  padding: 0.6rem 1rem;
  border-radius: 0.6rem;
  color: #ffffffd9;
  font-weight: 500;
}

nav .dropdown-item:hover,
nav .dropdown-item:focus {
  background: var(--accent);
  color: #ffffff;
}

nav .dropdown-toggle::after {
  vertical-align: 0.15em;
}

/* =====================================================
   Mission & Vision
===================================================== */
.misNvis .card {
  background-color: var(--light);
}

.misNvis .card .misNvisImg {
  height: 100%;
  min-height: 300px;
  max-height: 350px;
  object-fit: fill;
}

.misNvis .card .text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
}

/* =====================================================
   Footer
===================================================== */
footer {
  background: #010018;
}

footer span {
  font-size: 0.9rem !important;
}

/* =====================================================
   Gallery
===================================================== */
.gallery .gal-img {
  height: 200px;
  aspect-ratio: 4/3 !important;
  object-fit: cover;
}

.gallery {
  position: relative;
}

.gallery::before {
  content: " ";
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 4;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(90deg, #ffffff 20%, #ffffff00 100%);
}

.gallery::after {
  content: " ";
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 4;
  width: 100px;
  height: 100%;
  background-image: linear-gradient(270deg, #ffffff 20%, #ffffff00 100%);
}

#gal-slider1 .item {
  transform: translateX(-100px);
  -webkit-transform: translateX(-100px);
  -moz-transform: translateX(-100px);
  -ms-transform: translateX(-100px);
  -o-transform: translateX(-100px);
}

.gallery-hidden-thumb {
  display: none !important;
}

/* =====================================================
   Breadcrumb Banner (Inner Pages)
===================================================== */
.breadcrumb-banner {
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 4rem;
  background: linear-gradient(
    120deg,
    var(--primary) 0%,
    #1d1880 55%,
    #0d0b3f 100%
  );
}

.breadcrumb-banner::before {
  content: "\03C8";
  position: absolute;
  top: -60px;
  right: -20px;
  font-size: 22rem;
  line-height: 1;
  font-weight: 700;
  color: #ffffff0d;
  pointer-events: none;
}

.breadcrumb-banner .eyebrow-path {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #ffffffb3;
}

.breadcrumb-banner .eyebrow-path a {
  color: #ffffffb3;
  text-decoration: none;
}

.breadcrumb-banner .eyebrow-path a:hover {
  color: #ffffff;
}

.breadcrumb-banner .eyebrow-path .current {
  color: #ffffff;
  font-weight: 600;
}

.breadcrumb-banner h1 {
  color: #ffffff;
  font-weight: 700;
}

.breadcrumb-banner p.lead {
  color: var(--light);
  max-width: 640px;
}

/* =====================================================
   Section Spacing System (Inner Pages)
===================================================== */
.section,
.section-space {
  background: #eef6ff;
}

/* =====================================================
   Services Page — Service Cards
===================================================== */
.service-card {
  position: relative;
  height: 100%;
  padding: 2.25rem 1.75rem;
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid #eef1f6;
  box-shadow: 0 6px 24px rgba(18, 15, 89, 0.06);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(18, 15, 89, 0.14);
}

.service-card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--primary), #2a2494);
  color: #ffffff;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.service-card p {
  color: #5b5f77;
  margin-bottom: 0;
}

/* =====================================================
   Services Page — Why Choose Cards
===================================================== */
.why-card {
  height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 1.25rem;
  background: var(--light);
}

.why-card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-size: 1.6rem;
  box-shadow: 0 6px 16px rgba(18, 15, 89, 0.1);
}

.why-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.why-card p {
  color: #5b5f77;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =====================================================
   Services Page — Outreach Cards
===================================================== */
.outreach-card {
  height: 100%;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: #ffffff;
  border-left: 4px solid var(--accent);
}

.outreach-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.outreach-card p {
  color: #5b5f77;
  margin-bottom: 0;
}

/* =====================================================
   Services Page — Join CTA
===================================================== */
.join-cta {
  background: linear-gradient(
    120deg,
    var(--primary) 0%,
    #1d1880 60%,
    #0d0b3f 100%
  );
  padding-left: 400px;
  padding-right: 400px;
  position: relative !important;
}

.join-cta::before {
  content: " ";
  width: 100%;
  height: 100%;
  display: block;
  background-image: url("../imgs/iimg.png");
  background-position: center center;
  background-size: contain;
  background-repeat: repeat;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.05;
}

.join-cta .container {
  position: relative;
  z-index: 2;
}

@media (max-width: 500px) {
  .join-cta {
    background: linear-gradient(
      120deg,
      var(--primary) 0%,
      #1d1880 60%,
      #0d0b3f 100%
    );
    padding-left: 0px;
    padding-right: 0px;
  }
}

/* =====================================================
   Awards Page — Recognition Philosophy
===================================================== */
.philosophy-section {
  background: var(--light);
}

.philosophy-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin-bottom: 1.25rem;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-size: 1.8rem;
  box-shadow: 0 8px 20px rgba(18, 15, 89, 0.1);
}

/* =====================================================
   Awards Page — Award Cards
===================================================== */
.award-card {
  position: relative;
  height: 100%;
  padding: 2.25rem 1.75rem;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: 0.35s ease;
}

.award-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.award-card .ribbon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--accent), #8f0f19);
  color: #ffffff;
  font-size: 1.5rem;
}

.award-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.award-card p {
  color: #5b5f77;
  margin-bottom: 0;
}

/* =====================================================
   Awards Page — Recognition Timeline
===================================================== */
.award-timeline {
  position: relative;
}

.award-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--secondary);
  transform: translateX(-50%);
}

.timeline-row {
  position: relative;
  margin-bottom: 3rem;
}

.timeline-row:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  top: 0.4rem;
  left: 50%;
  width: 18px;
  height: 18px;
  background: var(--accent);
  border: 4px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 3px var(--secondary);
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-card {
  padding: 1.5rem 1.75rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 24px rgba(18, 15, 89, 0.08);
}

.timeline-year {
  display: inline-block;
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.9rem;
  border-radius: 50px;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
}

.timeline-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0;
}

/* =====================================================
   Awards Page — Why Recognition Matters
===================================================== */
.benefits-section {
  background: linear-gradient(
    120deg,
    var(--primary) 0%,
    #1d1880 60%,
    #0d0b3f 100%
  );
}

.benefits-section .title-block h6 span {
  color: var(--secondary) !important;
}

.benefits-section h2 {
  color: #ffffff;
}

.benefit-card {
  height: 100%;
  padding: 2rem 1.5rem;
  text-align: center;
  border-radius: 1.25rem;
  background: #ffffff14;
  border: 1px solid #ffffff26;
}

.benefit-card .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 1.1rem;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  font-size: 1.6rem;
}

.benefit-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.benefit-card p {
  color: #dfedfcd9;
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* =====================================================
   Awards Page — Closing CTA
===================================================== */
.award-cta {
  padding: 5rem 0;
  text-align: center;
  background: var(--light);
}

.award-cta h2 {
  font-weight: 700;
  color: var(--primary);
}

.award-cta p {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  color: #444a63;
}

/* =====================================================
   Contact Page — Contact Info Card
===================================================== */
.contact-info-card {
  height: 100%;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: var(--primary);
  color: #ffffff;
}

.contact-info-card .info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}

.contact-info-card .info-item:last-child {
  margin-bottom: 0;
}

.contact-info-card .info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 0.85rem;
  background: #ffffff1a;
  color: var(--secondary);
  font-size: 1.35rem;
}

.contact-info-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  color: #ffffffcc;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.5;
}

.contact-info-card a {
  color: #ffffff;
  text-decoration: none;
}

.contact-info-card a:hover {
  color: var(--secondary);
}

/* =====================================================
   Contact Page — Contact Form
===================================================== */
.contact-form-card {
  height: 100%;
  padding: 2.5rem;
  border-radius: 1.5rem;
  background: #ffffff;
  border: 1px solid #eef1f6;
  box-shadow: 0 6px 24px rgba(18, 15, 89, 0.06);
}

.contact-form-card .form-label {
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0;
  line-height: 1;
  padding-left: 8px;
  margin-bottom: 4px;
  color: #7d7d7d;
}
.contact-form-card .form-label.label-focus {
  font-weight: 600;
  color: var(--primary);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
  padding: 0.65rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid #e1e4ef;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(18, 15, 89, 0.12);
}

.contact-form-card .btn-submit {
  padding: 0.75rem 2.25rem;
  border-radius: 50px;
  font-weight: 600;
  background: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
}

.contact-form-card .btn-submit:hover {
  background: #8f0f19;
  border-color: #8f0f19;
  color: #ffffff;
}

/* =====================================================
   Contact Page — Map Wrapper
===================================================== */
.map-wrapper {
  overflow: hidden;
  border-radius: 1.5rem;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  line-height: 0;
}

/* =====================================================
   Contact Page — FAQ Accordion
===================================================== */
.faq-accordion .accordion-item {
  margin-bottom: 0.5rem;
  border: 1px solid #eef1f6;
  border-radius: 1rem !important;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  color: var(--primary);
  background: #ffffff;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: #ffffff;
  background: var(--primary);
  box-shadow: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  filter: none;
}

.faq-accordion .accordion-button:not(.collapsed)::after {
  filter: invert(1) brightness(2);
}

.faq-accordion .accordion-body {
  padding: 1.25rem 1.5rem;
  color: #5b5f77;
  background: #fbfcfe;
}

/* =====================================================
   Activities Page — Activity Card
===================================================== */
.activity-card {
  background: #fff;
  border: 1px solid #edf0f5;
  border-radius: 22px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: 0 8px 30px rgba(18, 15, 89, 0.07);
  transition: 0.3s ease;
}

.activity-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(18, 15, 89, 0.14);
}

.activity-card:last-child {
  margin-bottom: 0;
}

/* Image Grid */
.activity-gallery {
  width: 100%;
  height: 100%;
  position: relative;
}

.activity-gallery a {
  position: relative;
  display: block;
  border-radius: 12px;
  overflow: hidden;
}

.activity-gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  display: block;
  transition: transform 0.3s ease;
}

.activity-gallery a:hover img {
  transform: scale(1.06);
}

.activity-gallery .hidden-img {
  width: 0;
  height: 0;
  opacity: 0;
}
.activity-gallery .more {
  position: relative;
}

.activity-gallery .more::after {
  content: " ";
  width: 100%;
  height: 100%;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  background-color: #120f59b0;
  border-radius: 16px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  -ms-border-radius: 16px;
  -o-border-radius: 16px;
}

.activity-gallery .more span {
  font-size: 24px;
  line-height: 1;
  text-align: center;
  color: white;
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
}

/* Date Badge */
.date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: var(--light);
  color: var(--primary);
  margin-bottom: 1rem;
}

.date-badge .day-month {
  font-size: 0.85rem;
  font-weight: 800;
  line-height: 1;
}

.date-badge .year {
  font-size: 0.7rem;
  font-weight: 600;
  margin-top: 2px;
}

/* Tag Pills */
.activity-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.activity-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  background: #f4f5f7;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  color: #6b7280;
  font-size: 0.85rem;
  font-weight: 500;
  transition: 0.25s ease;
}

.activity-chip:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.activity-card h3 {
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.activity-card .activity-desc {
  color: #5b5f77;
  margin-bottom: 0;
}

.activity-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.activity-desc {
  color: #5b5f77;
  line-height: 1.8;
  margin: 1rem 0 1.35rem;
}

/* Conference Meta */

.activity-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.activity-meta span {
  color: #6b7280;
}

.activity-meta i {
  color: var(--accent);
  font-size: 1rem;
}

@media (max-width: 767px) {
  .activity-card {
    padding: 1.25rem;
  }
}

/* =====================================================
   Activities Page — Filter Pills
===================================================== */
.activity-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
}

.activity-filters .filter-btn {
  padding: 0.5rem 1.4rem;
  border-radius: 50px;
  border: 1px solid #e1e4ef;
  background: #ffffff;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  transition: 0.25s ease;
}

.activity-filters .filter-btn:hover {
  border-color: var(--primary);
}

.activity-filters .filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

/* =====================================================
   Teams Page — Office Bearer Cards
===================================================== */
.team-card {
  height: 100%;
  padding: 30px 25px;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  border-top: 5px solid var(--primary);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0);
  transition: 0.35s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.15);
}

.team-card img {
  width: 140px;
  height: 140px;
  margin-bottom: 20px;
  border-radius: 50%;
  border: 5px solid var(--light);
  object-fit: fill;
}

.team-role {
  display: inline-block;
  margin: 10px 0 15px;
  padding: 6px 18px;
  border-radius: 30px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

.team-card h4 {
  margin-bottom: 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.team-card p {
  margin: 0 0 1.25rem;
  color: #555;
  line-height: 1.7;
}

.team-card .btn-view-profile {
  padding: 0.45rem 1.4rem;
  border-radius: 50px;
  border: 1px solid var(--primary);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  background: transparent;
  transition: 0.25s ease;
}

.team-card .btn-view-profile:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 767px) {
  .team-card {
    padding: 25px 20px;
  }
}

/* =====================================================
   Live Members Page — Member Cards
===================================================== */
.member-card {
  height: 100%;
  padding: 30px 20px;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  border-top: 4px solid var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: 0.35s ease;
}

.member-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
}

.member-card img {
  width: 140px;
  height: 140px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 4px solid var(--secondary);
  object-fit: fill;
}

.member-card h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--primary);
}

.member-card p {
  margin-bottom: 15px;
  color: #666;
}

.member-badge {
  display: inline-block;
  padding: 6px 18px;
  border-radius: 30px;
  background: var(--secondary);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
}

@media (max-width: 767px) {
  .member-card {
    padding: 25px 15px;
  }
}

/* =====================================================
   Lifetime Members Page — Premium Member Cards
===================================================== */
.lifetime-card {
  position: relative;
  height: 100%;
  padding: 28px 22px;
  text-align: center;
  background: #fff;
  border-radius: 20px;
  border-top: 5px solid var(--primary);
  outline: 1px solid #f0e6c8;
  outline-offset: -6px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
  transition: 0.35s ease;
}

.lifetime-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.15);
}

.lifetime-card img {
  width: 140px;
  height: 140px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 4px solid var(--secondary);
  object-fit: cover;
}

.lifetime-card h4 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: var(--primary);
}

.lifetime-card .designation {
  margin-bottom: 8px;
  font-weight: 600;
  color: #444;
}

.lifetime-card .institution {
  min-height: 90px;
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

.lifetime-card .joining-date {
  margin: 15px 0;
  color: #555;
  font-size: 0.9rem;
}

.lifetime-card .joining-date i {
  color: var(--primary);
  margin-right: 4px;
}

.member-badge.badge-gold {
  background: linear-gradient(135deg, #f3d98b, #caa63d);
  color: #5c4413;
}

.btn-load-more {
  padding: 0.7rem 2.25rem;
  border-radius: 50px;
  border: 2px solid var(--primary);
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  transition: 0.25s ease;
}

.btn-load-more:hover {
  background: var(--primary);
  color: #fff;
}

@media (max-width: 767px) {
  .lifetime-card {
    padding: 22px 16px;
  }

  .lifetime-card .institution {
    min-height: unset;
  }
}

/* =====================================================
   Lifetime Members Page — Search & Sort Toolbar
===================================================== */
.members-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding: 1.25rem 1.5rem;
  background: #ffffff;
  border-radius: 1.25rem;
  box-shadow: 0 6px 24px rgba(18, 15, 89, 0.06);
}

.members-toolbar .search-wrap {
  position: relative;
  flex: 1 1 280px;
}

.members-toolbar .search-wrap i {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  color: #9aa0b4;
  font-size: 1.1rem;
}

.members-toolbar .search-input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  border-radius: 50px;
  border: 1px solid #e1e4ef;
  font-size: 0.95rem;
}

.members-toolbar .search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(18, 15, 89, 0.12);
}

.members-toolbar .sort-select {
  flex: 0 0 auto;
  padding: 0.65rem 2.25rem 0.65rem 1.1rem;
  border-radius: 50px;
  border: 1px solid #e1e4ef;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.9rem;
  background-color: #fff;
}

.members-toolbar .sort-select:focus {
  outline: none;
  border-color: var(--primary);
}

.members-toolbar .results-count {
  flex: 0 0 auto;
  color: #5b5f77;
  font-size: 0.9rem;
  font-weight: 600;
}

@media (max-width: 767px) {
  .members-toolbar {
    padding: 1rem;
  }
}

/* =====================================================
   Responsive — Max Width 768px
===================================================== */
@media (max-width: 768px) {
  .breadcrumb-banner {
    padding: 5rem 0 3rem;
  }

  .breadcrumb-banner::before {
    font-size: 12rem;
  }

  .section,
  .section-space {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.75rem;
  }
}

/* =====================================================
   Responsive — Max Width 400px
===================================================== */
@media (max-width: 600px) {
  nav .navbar-brand img {
    top: -2rem;
    max-height: 88px;
    filter: none;
    -webkit-filter: none;
  }

  header .strip span {
    font-size: 0.75rem !important;
    line-height: 1;
  }

  .title-block h6 {
    font-size: 1rem !important;
    line-height: 1rem;
  }

  .title-block h2.display-5 {
    font-size: 1.75rem !important;
  }

  .title-block.p-center h6::before,
  .title-block.p-left h6::before,
  .title-block.p-center h6::after,
  .title-block.p-right h6::after {
    width: 96px;
    height: 1rem !important;
  }

  .misNvis .card {
    overflow: hidden;
    border-radius: 16px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    -ms-border-radius: 16px;
    -o-border-radius: 16px;
  }

  .misNvis .card .misNvisImg {
    width: 100%;
    height: 200px;
    min-height: unset;
    object-fit: cover;
  }

  .carousel-item img {
    height: 500px;
    object-fit: cover;
  }

  nav .nav-link {
    justify-content: flex-start;
    padding-left: 40px !important;
  }

  nav .nav-link.active::after {
    left: -28px;
    bottom: 0;
    width: 64px;
    height: 100%;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
  }

  nav .nav-item.active::after {
    left: -21px;
    bottom: 0;
    width: 52px;
    height: 100%;
    transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    -o-transform: rotate(90deg);
  }

  /* Timeline collapses to a left-aligned single column */
  .award-timeline::before {
    left: 10px;
  }

  .timeline-dot {
    left: 10px;
  }

  .timeline-row .col-lg-5 {
    padding-left: 2.5rem !important;
  }
}

#simpleGallery img {
  aspect-ratio: 4/3 !important;
  object-fit: cover;
  position: relative;
  top: 0;
  transition: all 200ms linear;
  -webkit-transition: all 200ms linear;
  -moz-transition: all 200ms linear;
  -ms-transition: all 200ms linear;
  -o-transition: all 200ms linear;
  border-radius: 0;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  -ms-border-radius: 0;
  -o-border-radius: 0;
  border: 3px solid transparent;
}

#simpleGallery img:hover {
  top: -10px;
  border-radius: 1rem;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  -ms-border-radius: 1rem;
  -o-border-radius: 1rem;
  border: 3px solid red;
}

#submitBtn {
  min-width: 180px;
}

#submitBtn .spinner-border {
  margin-left: 8px;
}
