/*------------------------- nav-bar-start--------------------------- */
/* -------------------------------------------------------------- */
/* ------------------------------------------------------------- */

* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

:root {
  --blue: #15177c;
  --orange: #9f330b;
  --green: #d3d707;
  --light-bg: #f6f7fb;
  --border-color: #e4e6ef;

  --mafi-blue: #15177c;
  --mafi-orange: #ff6a00;
  --mafi-green: #00b894;
}

a {
  text-decoration: none;
}

.num {
  color: #555;
  font-size: 17px;
  font-weight: 500;
}

/* Official link styling */
.nav-top .official-link {
  font-size: 14px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  margin-right: 20px;
}

/* Highlight + subtle glow */
.blink-text {
  font-weight: 700;
  color: var(--orange);
  position: relative;
  animation: softBlink 1.8s infinite;
}

/* Smooth blinking (opacity-based, premium feel) */
@keyframes softBlink {

  0%,
  100% {
    opacity: 1;
    text-shadow: 0 0 0px rgba(208, 160, 26, 0);
  }

  50% {
    opacity: 0.4;
    text-shadow: 0 0 8px rgba(208, 160, 26, 0.6);
  }
}

.nav-top .fa-facebook {
  color: #4267b2;
}

.nav-top .fa-youtube {
  color: #c4302b;
}

.nav-top .fa-instagram {
  background: linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-top i {
  font-size: 18px;
}

.nav-top {
  display: flex;
  align-items: center;
  justify-content: end;
}

.nav-link {
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--blue);
  /* blue text */
}

.dropdown-menu {
  background-color: white;
  border: none;
  border-radius: 0;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  min-width: 220px;
  padding: 0;
}

.dropdown-item {
  color: var(--blue) !important;
  font-weight: 500;
  padding: 0.75rem 1.5rem !important;
  border-bottom: 1px solid #eee;
  transition: all 0.2s ease;
  font-size: 12px;
}

.dropdown-toggle::after {
  margin-left: 0.5em;
  vertical-align: middle;
}

@media screen and (min-width: 992px) {
  .navbar {
    line-height: 2.4rem;
  }

  .dropdown-menu {
    line-height: initial;
    margin-top: 0;
  }

  .dropdown:hover>.dropdown-menu,
  .dropend:hover>.dropdown-menu {
    display: block;
  }

  .dropdown:hover>.dropdown-menu {
    margin-top: 0;
  }

  .dropend:hover>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0;
  }

  .dropdown-item:hover {
    background-color: var(--blue) !important;
    color: #fff !important;
  }

  /* .dropend:hover > .dropdown-toggle {
    color: var(--orange) !important;
  } */

  .dropdown:hover>.dropdown-menu {
    display: block;
  }

  .dropdown-menu .dropend:hover>.dropdown-menu {
    display: block;
    position: absolute;
    top: 0;
    left: 100%;
  }
}

.navbar-brand img {
  width: 100px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 5px;
}

.logo-section .navbar-brand img {
  width: 110px;
}

.text-logo {
  line-height: 1.2;
}

.text-logo h5 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #333;
}

.text-logo p {
  margin: 0;
  font-size: 1.3rem;
  color: #555;
  line-height: 1;
  text-transform: uppercase;
}

/*------------------------- nav-bar-end--------------------------- */
/* -------------------------------------------------------------- */
/* ------------------------------------------------------------- */

.banner {
  position: relative;
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-container::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.owl-carousel .owl-item {
  transition: opacity 1s ease-in-out;
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.registered-symbol {
  font-size: 19px;
  position: relative;
  top: 5px;
  margin-left: 0px;
}

.slide-caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  z-index: 2;
  color: #ffffff;
  max-width: 600px;
}

.slide-caption h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.slide-caption p {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.banner-buttons {
  display: flex;
  gap: 10px;
}

.btn-primary-banner {
  background: var(--orange);
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-primary-banner:hover {
  background: #8e1818;
}

.btn-outline-banner {
  border: 2px solid #fff;
  color: #fff;
  padding: 8px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.btn-outline-banner:hover {
  background: #fff;
  color: #000;
}

.owl-theme .owl-dots {
  position: absolute;
  bottom: 25px;
  width: 100%;
  text-align: center;
  z-index: 3;
}

.owl-theme .owl-dots .owl-dot span {
  width: 14px;
  height: 14px;
  margin: 0 6px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid #fff;
  transition: all 0.3s ease;
}

.owl-theme .owl-dots .owl-dot.active span {
  background: #b21f1f;
  transform: scale(1.2);
}

@media (max-width: 480px) {
  .owl-carousel .owl-item img {
    height: 280px;
  }

  .slide-caption h3 {
    font-size: 1.3rem;
  }
}

#header {
  transition:
    box-shadow 0.3s ease,
    padding 0.3s ease;
}

.header-top {
  background-color: #1a2a6c;
  color: #fff;
  padding: 5px 0;
  overflow: hidden;
}

.header-top-wrapper {
  display: flex;
  align-items: center;
}

/* Fixed Label */
.news-label {
  color: #fff;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 14px;
  padding: 5px 15px;
  margin-right: 20px;
  white-space: nowrap;
}

.marquee {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 30s linear infinite;
}

.marquee-group {
  display: flex;
  gap: 60px;
  padding-right: 60px;
  /* smooth spacing */
}

.marquee-group span {
  white-space: nowrap;
  font-size: 12px;
}

.download-btn {
  background: #fff;
  color: #1a2a6c;
  padding: 2px 10px;
  margin-left: 8px;
  font-size: 10px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.download-btn:hover {
  background: #f1f1f1;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.marquee-track:hover {
  animation-play-state: paused;
}

.headline-point {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #15177c;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
  position: relative;
}

.headline-point span {
  color: #9f330b;
  font-weight: 800;
  text-transform: uppercase;
}

.about-mafi-vm .context-mafi {
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
}

.about-mafi-vm {
  padding: 60px 0;
}

.about-mafi-vm .context-mafi p {
  text-align: center;
  font-size: 16px;
  line-height: 1.8;
  color: #444;
  max-width: 850px;
  margin: 0 auto -60px auto;
}

.about-mafi-vm img {
  width: 100%;
  border-radius: 8px;
  display: block;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Image container */
.vm-box {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
}

/* Dark overlay for readability */
.vm-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.25),
      rgba(0, 0, 0, 0.55));
  z-index: 1;
}

.vm-content {
  position: absolute;
  z-index: 2;
  color: #fff;
  padding: 24px;
  max-width: 90%;
}

.vm-content h3 {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 8px;
}

.vm-content p {
  font-size: 12px;
  line-height: 1.6;
  margin: 0;
  opacity: 0.95;
}

.vm-top {
  top: 0;
  left: 0;
}

.vm-bottom {
  bottom: 0;
  left: 0;
}

@media (max-width: 991px) {
  .vm-content {
    padding: 18px;
  }

  .vm-content h3 {
    font-size: 22px;
  }
}

/* -------------------------------- */

.about-mafi .context-mafi {
  margin: 0 auto;
  text-align: center;
  max-width: 800px;
}

.about-mafi {
  padding: 60px 0;
}

.about-mafi .context-mafi p {
  text-align: center;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  margin: 0 auto 10px auto;
}

.about-mafi img {
  width: 100%;
  max-width: 260px;
  border-radius: 8px;
  display: block;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.about-mafi h5 {
  text-align: center;
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 5px;
  color: #15177c;
}

.about-mafi p {
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 0;
  color: #9f330b;
}

.about-mafi .row:nth-child(2) {
  margin-top: 30px;
  text-align: center;
}

.results-btn {
  display: inline-block;
  padding: 10px 22px;
  background-color: #15177c;
  color: #ffffff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
}

/* ------------------------------------ */
/* -------------Journey--------------- */
/* ---------------------------------- */
.timeline-section {
  padding: 80px 20px;
  background: #f9fbfc;
}

.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  margin-bottom: 60px;
  color: #2c2c2c;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.timeline {
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #e0e0e0;
  transform: translateX(-50%);
}

.timeline-item {
  width: 50%;
  padding: 20px 40px;
  position: relative;

  /* scroll animation */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.7s ease;
}

.timeline-item.show {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

.timeline-item::before {
  content: "";
  position: absolute;
  top: 35px;
  width: 14px;
  height: 14px;
  background: #ffffff;
  border: 3px solid #cccccc;
  border-radius: 50%;
  z-index: 2;
}

.timeline-item.left::before {
  right: -7px;
}

.timeline-item.right::before {
  left: -7px;
}

.timeline-card {
  background: #ffffff;
  padding: 22px 26px;
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.timeline-card .year {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  display: inline-block;
}

.timeline-card p {
  font-size: 16px;
  color: #6b6b6b;
  line-height: 1.6;
}

/* 🎨 Color classes */
.blue .year {
  color: #3f556f;
}

.teal .year {
  color: #2fa4a9;
}

.orange .year {
  color: #f5a623;
}

.red .year {
  color: #ff6a4d;
}

/* 📱 Mobile – one by one vertical */
@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 60px;
    padding-right: 20px;
    margin-bottom: 40px;
  }

  .timeline-item::before {
    left: 13px;
  }
}

/* --------------------------------- */
/* -------------------------------- */
/* ------------------------------- */

.latest-section .latest-title {
  font-weight: 600;
  color: #15177c;
  display: inline-block;
  border-bottom: 2px solid #9f330b;
  padding-bottom: 5px;
  margin-bottom: 40px;
}

.latest-section .news-item {
  margin-bottom: 50px;
}

.latest-section .news-meta {
  font-size: 14px;
  color: #9f330b;
  font-weight: 500;
  margin-bottom: 8px;
}

.latest-section .news-meta span {
  color: #15177c;
  font-weight: 600;
}

.latest-section .news-title {
  font-size: 18px;
  font-weight: 600;
  color: #15177c;
  line-height: 1.4;
}

.latest-section .news-item.view-more {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-height: 180px;
}

.latest-section .news-item.view-more a {
  font-size: 20px;
  font-weight: 400;
  color: #15177c;
  text-decoration: none;
  border-bottom: 3px solid #9f330b;
  padding-bottom: 6px;
}

.latest-section .news-item.view-more a:hover {
  color: #9f330b;
}

/* ------------------------------------------- */
/* ----------------Footer-------------------- */
/* ----------------------------------------- */

.footer-area {
  background-color: #212529;
  color: #b0b0b0;
  padding: 60px 0 20px;
  text-align: start;
}

.footer-area .footer-logos {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.footer-area .logo-box {
  background-color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-area .logo-box img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-area .footer-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-area .footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-area .footer-links li {
  margin-bottom: 8px;
}

.footer-area .footer-links li a {
  color: #b0b0b0;
  text-decoration: none;
  font-size: 15px;
  display: inline-block;
}

.footer-area .footer-links li a:hover {
  color: #ffffff;
}

.footer-area .footer-text {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-area .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 15px;
  font-size: 14px;
  text-align: left;
}

.footer-area .footer-bottom a {
  color: #ffff;
}

.fa-facebook {
  color: #4267b2;
  font-size: 20px;
}

.fa-youtube {
  color: #c4302b;
  font-size: 20px;
}

.fa-instagram {
  background: linear-gradient(45deg,
      #f09433 0%,
      #e6683c 25%,
      #dc2743 50%,
      #cc2366 75%,
      #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 20px;
}

/* ------------------------------------------ */
/* ---------------------Gallery------------- */
/* ---------------------------------------- */

.gallery-infra {
  padding: 0px 0px 60px 0px;
}

.gallery-infra h3 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #15177c;
  letter-spacing: -0.3px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.gallery-infra .infrastructure-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.gallery-infra .infrastructure-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  border-radius: 8px;
}

.gallery-infra .infrastructure-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.gallery-infra .infrastructure-card:hover img {
  transform: scale(1.04);
}

.gallery-infra .btn-redmore {
  background-color: #9f330b;
  color: #ffffff;
  padding: 9px 26px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  letter-spacing: 0.4px;
  transition: all 0.3s ease;
}

.gallery-infra .btn-redmore:hover {
  background-color: #15177c;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
}

/* --------------------------------------- */
/* --------------Youtube-section--------- */
/* ------------------------------------- */

/* Parent Section */
.yt-section {
  padding: 60px 0;
  background: #f9f9f9;
}

/* Heading */
.yt-section .gal-heading h3 {
  font-weight: 600;
  margin-bottom: 25px;
}

/* Gallery Grid */
.yt-section .youtube-gallery {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
  width: 100%;
}

/* Common Video Box */
.yt-section .featured-video,
.yt-section .side-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Featured Video spans 2 rows */
.yt-section .featured-video {
  grid-row: 1 / span 2;
}

/* Iframe Full Fit */
.yt-section iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Tablet */
@media (max-width: 991px) {
  .yt-section .youtube-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .yt-section .featured-video {
    grid-row: auto;
  }
}

/* ---------------------------------- */
/* ---------Gallery-section--------- */
/* -------------------------------- */

.infra-1,
.infra-2,
.infra-3 {
  position: relative;
  overflow: hidden;
}

.infra-1 img,
.infra-2 img,
.infra-3 img {
  display: block;
}

/* ===============================
   MASTERS FEDERATION – ABOUT
================================ */
.masters-federation-india {
  padding: 80px 0px 0px 0px;
  background: #fff;
}

.about-mafi-india-content {
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

.about-mafi-india-content h3 {
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  position: relative;
}

.about-mafi-india-content p {
  font-size: 16px;
  line-height: 1.8;
  color: var(--text-muted);
}

.members-mafi-all {
  margin-top: 20px;
  justify-content: center;
}

.members-mafi-all img {
  max-width: 100%;
  border-radius: 40px;
}

/* ===============================
   VISION & MISSION
================================ */

.masters-visio-mission .row {
  margin-bottom: 60px;
}

.masters-visio-mission img {
  width: 100%;
  border-radius: 14px;
}

.masters-visio-mission h5 {
  font-size: 22px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 14px;
  position: relative;
  text-transform: uppercase;
}

.mission-row {
  margin-top: 40px;
}

@media (max-width: 576px) {

  .about-mafi-india-content p,
  .masters-visio-mission p {
    font-size: 15px;
  }
}

/* -------------------------------- */
/* ---------mafi-page------------- */
/* ------------------------------ */

.inner-section-banner {
  padding-top: 180px;
  padding-bottom: 80px;
  background: linear-gradient(90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.85) 40%,
      var(--orange) 100%);
  background: url("../images/aboutus/aboutus-banner.webp") center/cover no-repeat;
}

.page-title {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.logo-rotate-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-text {
  position: absolute;
  width: 100%;
  height: 100%;
  animation: rotateCircle 20s linear infinite;
}

.circle-text text {
  font-size: 13px;
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
  fill: #15177c;
}

.logo-center {
  width: 300px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.logo-center img {
  width: 60%;
  height: auto;
}

/* Rotation animation */
@keyframes rotateCircle {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.circle-text-logo {
  padding: 50px 0;
  background-color: #f9f9fb;
}

.circle-text-logo .col-lg-6:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-text-logo h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.circle-text-logo ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.circle-text-logo ul li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #333;
}

.circle-text-logo ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--orange);
  border-radius: 50%;
}

.circle-text-logo ul li:last-child {
  margin-bottom: 0;
}

/* ================================
   EVENT MARQUEE  CINEMATIC
================================ */

.event-marquee {
  width: 100%;
  overflow: hidden;
  padding: 20px 0px 60px 0px;
  cursor: auto;
  background-color: #f9f9fb;
}

.event-marquee:active {
  cursor: grabbing;
}

.event-marquee__wrapper {
  width: 100%;
  overflow: hidden;
}

.event-marquee__track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: eventMarqueeScroll 60s linear infinite;
  will-change: transform;
}

.event-marquee__wrapper:hover .event-marquee__track,
.event-marquee.is-dragging .event-marquee__track {
  animation-play-state: paused;
}

.event-marquee__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-marquee__item img {
  height: 260px;
  width: auto;
  max-width: 1000px;
  object-fit: contain;
  display: block;
  border-radius: 14px;
  user-select: none;
  pointer-events: none;
  transition: transform 0.4s ease;
}

.event-marquee__item img:hover {
  transform: scale(1.03);
}

@keyframes eventMarqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.def {
  padding: 70px 0;
  background: linear-gradient(135deg,
      #ffffff 0%,
      rgba(21, 23, 124, 0.03) 60%,
      rgba(159, 51, 11, 0.05) 100%);
}

.def h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.def h6 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--orange);
  margin-top: 22px;
  margin-bottom: 8px;
}

.def p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}

.MAFI-Development {
  padding: 70px 0;
  background: linear-gradient(to right, #ffffff 60%, rgba(21, 23, 124, 0.04));
}

.MAFI-Development h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.MAFI-Development p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  max-width: 900px;
}

.mafi-points {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.mafi-points li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  font-size: 15.5px;
  color: #333;
}

.mafi-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background-color: var(--orange);
  border-radius: 50%;
}

.mafi-points .highlight {
  font-weight: 600;
  color: var(--blue);
  margin-top: 18px;
}

.mafi-img {
  max-width: 90%;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.integrity-mafi {
  padding: 0px 0px 80px 0px;
}

.integrity-mafi h5 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  text-transform: uppercase;
}

.integrity-mafi p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 12px;
}


/* ================= ACHIEVEMENTS SECTION ================= */
.mafi-achievements {
  padding: 80px 0;
  background: var(--light-bg);
}

.mafi-achievements .section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.mafi-achievements .section-header h2 {
  font-size: 36px;
  color: var(--blue);
  margin-bottom: 10px;
}

.mafi-achievements .section-header p {
  font-size: 16px;
  color: #555;
}

/* ================= LIST ================= */
.mafi-achievements .achievements-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ================= ITEM ================= */
.mafi-achievements .achievement-item {
  display: flex;
  gap: 30px;
  padding: 25px 30px;
  background: #fff;
  border-radius: 12px;
  border-left: 5px solid var(--orange);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.mafi-achievements .achievement-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

/* ================= YEAR ================= */
.mafi-achievements .achievement-year {
  min-width: 90px;
  font-size: 22px;
  font-weight: 700;
  color: var(--orange);
}

/* ================= CONTENT ================= */
.mafi-achievements .achievement-content h4 {
  font-size: 20px;
  color: var(--blue);
  margin-bottom: 6px;
}

.mafi-achievements .achievement-content p {
  font-size: 15px;
  color: #444;
  line-height: 1.7;
}

/* ================= FUTURE IMAGE SUPPORT ================= */
.mafi-achievements .achievement-media {
  margin-top: 15px;
}

.mafi-achievements .achievement-media img {
  width: 100%;
  max-width: 400px;
  border-radius: 10px;
  margin-top: 10px;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 768px) {
  .mafi-achievements .achievement-item {
    flex-direction: column;
    gap: 12px;
  }

  .mafi-achievements .achievement-year {
    font-size: 18px;
  }
}

/* ------------------------------------ */
/* ------------MAFI_MEMBERS----------- */
/* ---------------------------------- */

.kind-attention {
  padding: 70px 0;
  background-color: #f9f9ff;
}

.attention-box {
  background: #ffffff;
  border: 2px solid #15177c;
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow: 0 10px 30px rgba(21, 23, 124, 0.1);
}

.attention-title {
  font-size: 28px;
  font-weight: 700;
  color: #15177c;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.effective-date {
  font-size: 18px;
  color: #9f330b;
  font-weight: 600;
  margin-bottom: 20px;
}

.attention-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.7;
  margin-bottom: 15px;
}

.attention-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.attention-list li {
  font-size: 16px;
  color: #15177c;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.email-info a,
.phone a {
  color: #15177c;
  font-weight: 600;
  text-decoration: none;
}

.email-info a:hover,
.phone a:hover {
  color: #9f330b;
  text-decoration: underline;
}

.contact-info {
  margin-top: 25px;
}

.or-divider {
  display: inline-block;
  margin: 10px 0;
  font-weight: 700;
  color: #9f330b;
}

/* Responsive */
@media (max-width: 576px) {
  .attention-box {
    padding: 30px 20px;
  }

  .attention-title {
    font-size: 22px;
  }

  .effective-date {
    font-size: 16px;
  }
}

/* ---------------------------------- */
/* -------------Gallery-page-------- */
/* -------------------------------- */

.gallery-all {
  background-color: #f8f9fa;
}

.gallery-title {
  color: #15177c;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

/* ------------------------------------- */
/* -----------Announcement------------- */
/* ----------------------------------- */

.announcement-section {
  background-color: #f8f9fa;
}

.announcement-section .main-title {
  color: #9f330b;
  font-weight: 700;
  letter-spacing: 1px;
}

.announcement-section .sub-title {
  color: #15177c;
  font-size: 1.1rem;
  font-weight: 500;
}

.announcement-section .announcement-box {
  background: #ffffff;
  border-left: 6px solid #9f330b;
  padding: 25px;
  font-size: 1.05rem;
  color: #333;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.announcement-section .section-title {
  color: #15177c;
  font-weight: 600;
}

.announcement-section .pdf-card {
  display: block;
  background: #ffffff;
  border: 2px solid #15177c;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: #15177c;
  transition: all 0.3s ease;
  height: 100%;
}

.announcement-section .pdf-card span {
  font-size: 2.5rem;
}

.announcement-section .pdf-card h5 {
  margin-top: 15px;
  font-weight: 600;
}

.announcement-section .pdf-card p {
  margin: 0;
  color: #9f330b;
  font-weight: 500;
}

.announcement-section .pdf-card:hover {
  background: #15177c;
  color: #ffffff;
}

.announcement-section .pdf-card:hover p {
  color: #ffffff;
}

.final-notice {
  background: #ffffff;
  padding: 35px 25px;
  border-top: 4px solid #9f330b;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.final-notice h3 {
  color: #15177c;
  font-weight: 600;
  margin-bottom: 15px;
}

.final-notice p {
  font-size: 1.05rem;
  color: #333;
}

.highlight-text {
  color: #9f330b;
  font-weight: 600;
}

/* ---------------------------------- */
/* -----------Events-page----------- */
/* -------------------------------- */

.events-of-mafi {
  padding: 70px 0;
  background-color: #f8f9fc;
}

.tabs-nav-events .nav-pills .nav-link {
  color: #15177c;
  font-weight: 600;
  border-radius: 30px;
  padding: 10px 30px;
  margin: 0 8px;
  border: 1px solid #15177c;
  background: #ffffff;
}

.tabs-nav-events .nav-pills .nav-link.active {
  background-color: #15177c;
  color: #ffffff;
}

.events-content {
  margin-top: 40px;
}

.event-card {
  background: #ffffff;
  padding: 30px;
  border-radius: 14px;
  margin-bottom: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.event-date-box {
  background-color: #15177c;
  padding: 14px 18px;
  border-radius: 10px;
  display: inline-block;
  margin-top: 10px;
}

.event-date-box h5 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.event-date-box.past {
  background-color: #9f330b;
}

.event-day {
  font-size: 42px;
  font-weight: 700;
  display: block;
}

.event-month {
  font-size: 18px;
  letter-spacing: 1px;
  display: block;
}

.event-year {
  font-size: 14px;
  opacity: 0.9;
}

.event-details h4 {
  color: #15177c;
  font-weight: 700;
  margin-bottom: 8px;
}

.event-location {
  color: #9f330b;
  font-weight: 600;
  margin-bottom: 10px;
}

.event-details p {
  color: #555555;
  line-height: 1.7;
}

.event-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 8px 22px;
  background-color: #9f330b;
  color: #ffffff;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.event-btn:hover {
  background-color: #15177c;
  color: #ffffff;
}

/* Image + Date stacked layout */
.event-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 12px;
}

/* Mobile */
@media (max-width: 767px) {
  .event-media img {
    height: 190px;
  }

  .event-details {
    margin-top: 18px;
  }
}

/* -------------------------------- */
/* --------Results---------------- */
/* ------------------------------ */

.results-of-all-events {
  background: #f9f9fc;
}

/* Section Heading */
.results-title {
  font-size: 32px;
  font-weight: 700;
  color: #15177c;
  margin-bottom: 8px;
}

.results-subtitle {
  color: #555;
  font-size: 15px;
}

/* Table Wrapper */
.results-table-wrapper {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Table Design */
.results-table {
  margin-bottom: 0;
}

.results-table thead th {
  background: #15177c;
  color: #ffffff;
  font-weight: 600;
  border: none;
  padding: 14px;
  white-space: nowrap;
}

.results-table tbody td {
  padding: 14px;
  border-color: #eee;
  vertical-align: middle;
  font-size: 15px;
}

.results-table tbody tr:hover {
  background: rgba(21, 23, 124, 0.04);
}

.pdf-btn {
  background: #9f330b;
  color: #ffffff;
  font-size: 14px;
  padding: 8px 18px;
  border-radius: 30px;
  transition: all 0.3s ease;
  border: none;
}

.pdf-btn:hover {
  background: #15177c;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ----------------------------------------- */
/* ----------------contactus--------------- */
/* --------------------------------------- */

.mafi-contact-page {
  padding: 70px 0;
  background-color: #f8f9fc;
  font-family: "Segoe UI", sans-serif;
}

/* Header */
.mafi-contact-header h2 {
  color: #15177c;
  font-weight: 700;
  margin-bottom: 10px;
}

.mafi-contact-header p {
  color: #555;
  font-size: 15px;
}

/* Form */
.mafi-contact-form-wrapper {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.mafi-contact-form-wrapper h4 {
  color: #9f330b;
  margin-bottom: 20px;
}

.mafi-contact-form label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  display: block;
  color: #333;
}

.mafi-contact-form input,
.mafi-contact-form textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 18px;
  font-size: 14px;
}

.mafi-contact-form input:focus,
.mafi-contact-form textarea:focus {
  border-color: #15177c;
  outline: none;
}

.mafi-btn-submit {
  background-color: #15177c;
  color: #fff;
  padding: 10px 30px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: 0.3s ease;
}

.mafi-btn-submit:hover {
  background-color: #9f330b;
}

/* Office Details */
.mafi-office-details {
  background: #15177c;
  color: #fff;
  padding: 30px;
  border-radius: 8px;
  height: 100%;
}

.mafi-office-details h4 {
  margin-bottom: 15px;
  color: #fff;
}

.mafi-office-name {
  font-weight: 600;
  margin-bottom: 10px;
}

/* Affiliations */

.affilation-of-mafi {
  display: flex;
  align-items: center;
  gap: 20px;
}

.affilation-of-mafi img {
  height: 55px;
  object-fit: contain;

  background-color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  align-items: center;
  justify-content: center;
}

.behind-mafi {
  display: flex;
  align-items: center;
  gap: 35px;
  margin-top: 15px;
  font-size: 14px;
  color: #15177c;
  font-weight: 500;
}

.behind-mafi img {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #9f330b;
  background: #f5f5f5;
}

.behind-mafi strong {
  display: block;
  font-size: 15px;
  color: #ffff;
}

.behind-mafi span {
  display: block;
  font-size: 12px;
  color: #9f330b;
}

/* ------------------------------- */
/* ----------News---------------- */
/* ----------------------------- */

/* ===============================
   MAFI BASIC NEWS
================================ */

.mafi-basic-news {
  background-color: #ffffff;
}

/* Page Title */
.mafi-basic-news .basic-news-title {
  font-size: 28px;
  font-weight: 700;
  color: #15177c;
}

/* News Item */
.mafi-basic-news .basic-news-item {
  padding: 20px 0;
  border-bottom: 1px solid #e5e5e5;
}

.mafi-basic-news .basic-news-item:last-child {
  border-bottom: none;
}

/* Image */
.mafi-basic-news .basic-news-image img {
  width: 100%;
  border-radius: 5px;
}

/* Content */
.mafi-basic-news .basic-news-content {
  padding-left: 10px;
}

.mafi-basic-news .news-date {
  display: inline-block;
  font-size: 13px;
  color: #9f330b;
  margin-bottom: 5px;
}

.mafi-basic-news .news-title {
  font-size: 18px;
  font-weight: 600;
  color: #15177c;
  margin-bottom: 8px;
}

.mafi-basic-news .news-text {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

/* Link */
.mafi-basic-news .news-link {
  font-size: 14px;
  font-weight: 600;
  color: #9f330b;
  text-decoration: none;
}

.mafi-basic-news .news-link:hover {
  color: #15177c;
  text-decoration: underline;
}

.newspaper {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.newspaper h2 {
  font-size: 32px;
  font-weight: 700;
  color: #15177c;
}

.newspaper-card {
  background: #ffffff;
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.newspaper-card img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}

.newspaper-card p {
  margin: 6px 0 0;
  font-size: 13px;
  text-align: center;
  color: #333;
  line-height: 1.4;
}

.newspaper-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .newspaper h2 {
    font-size: 24px;
  }

  .newspaper-card p {
    font-size: 12px;
  }
}

.mafi-table-section {
  padding: 60px 0;
  background-color: #ffffff;
}

.table-title {
  text-align: center;
  color: var(--blue);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  position: relative;
}

.table-title::after {
  content: "";
  width: 80px;
  height: 3px;
  background-color: var(--orange);
  display: block;
  margin: 10px auto 0;
}

.table-responsive {
  overflow-x: auto;
}

.mafi-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 1000px;
}

.mafi-table thead th {
  background-color: var(--blue);
  color: #fff;
  padding: 14px 12px;
  text-align: center;
  font-size: 15px;
  border: 1px solid var(--border-color);
  position: sticky;
  top: 0;
  z-index: 1;
}

.mafi-table tbody td {
  padding: 12px 12px;
  border: 1px solid var(--border-color);
  font-size: 14px;
  color: #333;
  vertical-align: top;
}

.mafi-table tbody tr:nth-child(even) {
  background-color: var(--light-bg);
}

.mafi-table tbody tr:hover {
  background-color: rgba(21, 23, 124, 0.06);
}

.mafi-table td:first-child,
.mafi-table td:nth-child(5),
.mafi-table td:nth-child(6),
.mafi-table td:nth-child(7),
.mafi-table td:nth-child(8) {
  text-align: center;
  font-weight: 600;
}

.mafi-table td:last-child {
  color: var(--orange);
  font-weight: 700;
}

@media (max-width: 768px) {
  .table-title {
    font-size: 24px;
  }

  .mafi-table thead th,
  .mafi-table tbody td {
    font-size: 13px;
    padding: 10px;
  }
}

/* ------------------------ */
/* ------Network---------- */
/* ---------------------- */

.state-wise-list-mafi a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background: #f8f9fa;
  border-radius: 6px;
  text-decoration: none;
  color: var(--blue);
  font-weight: 500;
  transition: all 0.3s ease;
}

.state-wise-list-mafi a i {
  opacity: 0;
  transform: translateX(-5px);
  transition: all 0.3s ease;
  color: var(--orange);
  font-size: 14px;
}

.state-wise-list-mafi a:hover {
  background: var(--blue);
  color: #ffffff;
}

.state-wise-list-mafi a:hover i {
  opacity: 1;
  transform: translateX(0);
}

/* ---------------------------------- */
/* ----------Home-page-events------- */
/* -------------------------------- */

.all-events-box {
  padding: 70px 0 60px;
}

.ue-title {
  font-size: 2.1rem;
  font-weight: 700;
  color: #15177c;
  letter-spacing: -0.3px;
  margin-bottom: 0.4rem;
  text-align: center;
}

.ue-subtitle {
  text-align: center;
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

#eventsCarousel .carousel-inner {
  padding-bottom: 4px;
}

#eventsCarousel .carousel-indicators {
  display: none;
}

#eventsCarousel .carousel-control-prev,
#eventsCarousel .carousel-control-next {
  display: none;
}

.vmd {
  margin-top: 10px;
}

.vmd a {
  font-size: 15px;
  font-weight: 500;
  color: #222;
  text-decoration: none;
  border-bottom: 1px solid #222;
  padding-bottom: 2px;
  transition: all 0.3s ease;
}

.vmd a:hover {
  color: #007bff;
  border-color: #007bff;
}

.event-card {
  background: #fff;
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(21, 23, 124, 0.07);
  border: 1px solid #e8e9f5;
  transition: box-shadow 0.25s;
}

.event-card:hover {
  box-shadow: 0 6px 28px rgba(21, 23, 124, 0.13);
}

.date-of-event {
  text-align: center;
  border-right: 2px solid #15177c;
  padding-right: 20px;
  min-width: 90px;
}

.event-month {
  display: block;
  font-size: 11px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #9f330b;
  text-transform: uppercase;
}

.event-date {
  font-size: 36px;
  font-weight: 800;
  margin: 4px 0;
  color: #15177c;
  line-height: 1;
}

.event-year {
  font-size: 12px;
  color: #666;
  font-weight: 500;
}

.details-of-events {
  padding-left: 24px;
}

.details-of-events h5 {
  font-size: 17px;
  font-weight: 700;
  color: #15177c;
  margin-bottom: 8px;
  line-height: 1.35;
}

.event-description {
  font-size: 13.5px;
  color: #444;
  margin-bottom: 5px;
  line-height: 1.55;
}

.venue-address {
  font-size: 12.5px;
  color: #9f330b;
  font-weight: 600;
  margin-bottom: 16px;
}

.event-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary-custom {
  font-size: 12.5px;
  padding: 7px 16px;
  background: #15177c;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: background 0.2s;
  white-space: nowrap;
}

.btn-primary-custom:hover {
  background: #0e1060;
  color: #fff;
}

.btn-outline-custom {
  font-size: 12.5px;
  padding: 6px 16px;
  border: 1.5px solid #7c2608;
  color: #7c2608;
  text-decoration: none;
  font-weight: 600;
  border-radius: 5px;
  transition: 0.2s;
  white-space: nowrap;
}

.btn-outline-custom:hover {
  background: #7c2608;
  color: #fff;
}

.event-img {
  width: 100%;
  border-radius: 8px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.carousel-arrow {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #15177c;
  color: #fff;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 13px;
  transition:
    background 0.2s,
    transform 0.15s;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: #0e1060;
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
  transition:
    background 0.2s,
    transform 0.2s;
}

.carousel-dot.active {
  background: #15177c;
  transform: scale(1.3);
}

.view-all-wrap {
  text-align: center;
  margin-top: 36px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 32px;
  background: transparent;
  color: #15177c;
  border: 2px solid #15177c;
  border-radius: 6px;
  text-decoration: none;
  letter-spacing: 0.3px;
  transition:
    background 0.22s,
    color 0.22s,
    transform 0.15s;
}

.btn-view-all:hover {
  background: #15177c;
  color: #fff;
  transform: translateY(-2px);
}

@media (max-width: 991px) {
  .event-img {
    height: 160px;
    margin-top: 16px;
  }
}

@media (max-width: 767px) {
  .date-of-event {
    border-right: none;
    border-bottom: 2px solid #15177c;
    padding-right: 0;
    padding-bottom: 12px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-align: left;
  }

  .event-date {
    font-size: 28px;
  }

  .details-of-events {
    padding-left: 0;
  }

  .event-card {
    padding: 22px 18px;
  }

  .event-img {
    height: 180px;
  }

  .ue-title {
    font-size: 1.6rem;
  }
}

/* ------------------------------------ */
/* ----------New-master-achivers------ */
/* ---------------------------------- */

.masters-achievers {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-heading {
  text-align: center;
}

.section-heading h2 {
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.3;
  color: #15177c;
  letter-spacing: -0.3px;
  margin-bottom: 1rem;
  text-align: center;
}

.section-heading p {
  font-size: 1.25rem;
  color: #6b7a8d;
  font-weight: 400;
  letter-spacing: 0.3px;
  border-bottom: 2px solid rgba(100, 120, 140, 0.15);
  display: inline-block;
  padding-bottom: 12px;
  margin-top: 0.2rem;
  backdrop-filter: blur(2px);
}

.achieversSwiper {
  padding: 1.5rem 0.5rem 5rem 0.5rem;
  overflow: visible;
}

.achieversSwiper .swiper-slide {
  width: 300px;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.achiever-card {
  width: 90%;
  height: 90%;
  border-radius: 32px;
  overflow: hidden;
  background: transparent;
  transform: translateY(0);
  backdrop-filter: blur(2px);
}

.achiever-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.15, 0.85, 0.35, 1.05);
  will-change: transform;
}

.swiper-pagination {
  bottom: 0px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  position: relative !important;
}

.swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  background: #b7c4d3 !important;
  opacity: 0.7 !important;
  border-radius: 20px !important;
  transition: all 0.3s ease !important;
  margin: 0 3px !important;
}

.swiper-pagination-bullet-active {
  width: 32px !important;
  background: linear-gradient(90deg, #4b6a8b, #2c4b6f) !important;
  opacity: 1 !important;
}

.colourfull-banner {
  background: url(../images/home/Gemini_Generated_Image_pc8nhapc8nhapc8n.png) center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
  margin-top: -100px;
}

/* ------------------------------------ */
/* -----------Medals------------------ */
/* ---------------------------------- */

.medal-page-wrapper {
  background: var(--light-bg);
  font-family: "Segoe UI", sans-serif;
}

.medal-hero-section {
  background: var(--blue);
  color: #fff;
  padding: 70px 0;
}

.medal-main-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.medal-sub-title {
  font-size: 18px;
  opacity: 0.9;
}

/* Summary Cards */
.medal-summary-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: 0.3s ease;
}

.medal-summary-card:hover {
  transform: translateY(-4px);
}

.medal-summary-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.medal-summary-card p {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
}

.medal-gold {
  border-top: 6px solid #d4af37;
}

.medal-gold p {
  color: #d4af37;
}

.medal-silver {
  border-top: 6px solid #c0c0c0;
}

.medal-silver p {
  color: #9aa0a6;
}

.medal-bronze {
  border-top: 6px solid #cd7f32;
}

.medal-bronze p {
  color: #cd7f32;
}

.medal-table-wrapper {
  background: #fff;
  border-radius: 10px;
  padding: 25px;
  border: 1px solid var(--border-color);
}

.medal-data-table thead {
  background: var(--blue);
  color: #fff;
}

.medal-data-table th {
  font-weight: 600;
}

.medal-data-table tbody tr:hover {
  background: rgba(21, 23, 124, 0.05);
}

.medal-highlight-row {
  background: rgba(159, 51, 11, 0.08);
  font-weight: 600;
}

/* ---------------------------------------- */
/* -------------MAFI-Events-Page---------- */
/* -------------------------------------- */

.main-container {
  max-width: 920px;
  margin: auto;
  padding: 40px 18px;
  font-family: "Inter", sans-serif;
}

/* Card */
.main-container .card {
  background: #ffffff;
  border-radius: 12px;
  padding: 22px;
  margin-bottom: 22px;
  border: 1px solid #e6e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

/* Section Titles */
.main-container .card h2 {
  margin-bottom: 18px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #15177c;
}

/* Grid Layout */
.main-container .grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Tiles */
.main-container .tile {
  background: #f8f9fd;
  padding: 16px;
  border-radius: 8px;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

.main-container .tile:hover {
  border: 1px solid #e0e3f5;
  transform: translateY(-2px);
}

/* Label (small text) */
.main-container .tile span {
  font-size: 12px;
  color: #7a7f9a;
  letter-spacing: 0.4px;
}

/* Main Value */
.main-container .tile strong {
  display: block;
  margin-top: 6px;
  font-size: 15px;
  font-weight: 600;
  color: #1d1f2c;
}

/* Links */
.main-container .tile a {
  display: inline-block;
  margin-top: 6px;
  color: #15177c;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}

.main-container .tile a:hover {
  text-decoration: underline;
}

/* Full width tile */
.main-container .tile.full {
  grid-column: span 2;
}

/* Highlight text */
.main-container .highlight {
  font-size: 22px;
  font-weight: 700;
  color: #15177c;
}

/* Rules list */
.main-container .rules {
  padding-left: 20px;
}

.main-container .rules li {
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* Downloads Grid */
.main-container .downloads {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Download Card */
.main-container .downloads a {
  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 16px;
  background: #f8f9fd;
  border-radius: 10px;
  text-decoration: none;

  color: #1d1f2c;
  font-weight: 600;
  font-size: 14px;

  border: 1px solid #e6e8f0;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

/* Icon */
.main-container .downloads a i {
  font-size: 16px;
  color: #15177c;
  min-width: 20px;
}

/* Text */
.main-container .downloads a span {
  flex: 1;
}

/* Hover Effect */
.main-container .downloads a:hover {
  background: #15177c;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(21, 23, 124, 0.15);
}

.main-container .downloads a:hover i {
  color: #ffffff;
}

/* Optional: subtle shine effect */
.main-container .downloads a::after {
  content: "";
  position: absolute;
  width: 120%;
  height: 100%;
  top: 0;
  left: -120%;
  background: linear-gradient(120deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  transition: 0.4s;
}

.main-container .downloads a:hover::after {
  left: 100%;
}

/* Notes */
.main-container .note {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.5;
}

/* Center utility */
.center {
  text-align: center;
}

/* HERO SECTION */
.hero-section {
  background-color: var(--mafi-blue);
  position: relative;
  overflow: hidden;
}

/* TRACK LINES */
.hero-section .track-lines {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 180px;
  opacity: 0.05;
  background: repeating-linear-gradient(to bottom,
      transparent,
      transparent 28px,
      #fff 28px,
      #fff 31px);
}

.hero-section .hero-img-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  overflow: hidden;
}

.hero-section .hero-img-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      var(--mafi-blue) 0%,
      rgba(21, 23, 124, 0.5) 50%,
      transparent 100%);
  z-index: 2;
}

.hero-section .hero-img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

.hero-section .hero-inner {
  position: relative;
  z-index: 2;
  padding: 70px 0;
}

.hero-section .hero-edition-badge {
  background: var(--mafi-orange);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  padding: 5px 14px;
  border-radius: 2px;
}

.hero-section .hero-title {
  font-size: clamp(38px, 6vw, 72px);
  color: #fff;
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-section .text-accent {
  color: var(--mafi-green);
}

/* SUBTITLE */
.hero-section .hero-subtitle {
  font-family: "DM Serif Display", serif;
  font-style: italic;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
}

/* META */
.hero-section .hero-meta-item {
  color: rgba(255, 255, 255, 0.9);
  font-size: 15px;
  transition: 0.2s;
}

.hero-section .hero-meta-item:hover {
  transform: translateY(-2px);
}

/* MOBILE FIX */
@media (max-width: 991px) {
  .hero-section .hero-img-panel {
    position: relative;
    width: 100%;
    height: 400px;
  }

  .hero-section .hero-img-panel::before {
    background: linear-gradient(180deg,
        var(--mafi-blue) 0%,
        rgba(21, 23, 124, 0.5) 60%,
        transparent 100%);
  }

  .hero-section .hero-inner {
    padding: 40px 0;
  }
}

/* ------------------------------------- */
/* ------------------------------------ */
/* ----------------------------------- */

.kaur-award-taking {
  padding: 70px 0px 0px 0px;
  overflow: hidden;
}

.kaur-award-taking .row {
  align-items: center;
  gap: 30px 0;
}

.kaur-award-taking img {
  width: 100%;
  border-radius: 28px;
  display: block;
  border: 4px solid #fff;
  transition: 0.4s ease;
}

.kaur-award-taking .col-lg-6:last-child {
  padding-left: 50px;
}

.kaur-award-taking h5 {
  font-size: 22px;
  line-height: 1.4;
  font-weight: 700;
  color: #15177c;
  margin-bottom: 25px;
  position: relative;
}

.kaur-award-taking p {
  font-size: 17px;
  line-height: 1.9;
  color: #555;
  margin: 0;
}

.kaur-award-taking .container {
  position: relative;
}

@media (max-width: 991px) {
  .kaur-award-taking {
    padding: 70px 0;
  }

  .kaur-award-taking .col-lg-6:last-child {
    padding-left: 15px;
    margin-top: 30px;
  }

  .kaur-award-taking h5 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .kaur-award-taking {
    padding: 60px 0;
  }

  .kaur-award-taking h5 {
    font-size: 24px;
  }

  .kaur-award-taking p {
    font-size: 15px;
  }
}

.wma-section {
  background: #f8f9fc;
}

.wma-tag {
  background: #15177c;
  color: #fff;
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
}

.wma-title {
  font-weight: 700;
  color: #15177c;
}

.wma-desc {
  max-width: 750px;
  margin: auto;
  color: #555;
  line-height: 1.8;
  padding-top: 40px;
}

.wma-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.wma-logo {
  max-height: 100px;
  object-fit: contain;
}

.logo-line {
  width: 1px;
  height: 50px;
  background: #d8d8d8;
}

@media (max-width: 768px) {
  .logo-line {
    display: none;
  }

  .wma-logos {
    gap: 15px;
  }

  .wma-logo {
    max-height: 55px;
  }
}

/* Cards */
.wma-card {
  background: #fff;
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: 0.3s;
  height: 100%;
}

.wma-card:hover {
  transform: translateY(-6px);
}

.wma-profile {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid #15177c;
  margin-bottom: 20px;
}

.wma-card h4 {
  color: #15177c;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wma-card span {
  color: #9f330b;
  font-size: 16px;
  font-weight: 600;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  .wma-logo {
    width: 90px;
    height: 90px;
  }

  .logo-line {
    display: none;
  }

  .wma-profile {
    width: 110px;
    height: 110px;
  }
}

/* ------------------------------------------------------- */
/* -------------------Modal------------------------------- */
/* ------------------------------------------------------ */

.auto .modal-content {
  border-radius: 10px;
  background-color: transparent;
  border: none;
}

.auto .modal-body {
  text-align: center;
  background-color: transparent;
  border: none;
}

.auto .modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.auto .modal-header {
  border: none;
}

.auto .modal-dialog .btn-close {
  background-color: #fdf9c8 !important;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  opacity: 1;
}

.auto .modal-dialog .btn-close:hover {
  background-color: #fdf9c8 !important;
}

.SchoolGallerySection {
  background: #f8f9fa;
}

.SchoolGallerySection .GalleryHeading h2 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.SchoolGallerySection .GalleryHeading p {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: auto;
}

.SchoolGallerySection .GalleryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.SchoolGallerySection .GalleryItem {
  height: 250px;
  overflow: hidden;
  border-radius: 15px;
  cursor: pointer;
}

.SchoolGallerySection .GalleryItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .4s;
}

.SchoolGallerySection .GalleryItem:hover img {
  transform: scale(1.08);
}

.SchoolGallerySection .SchoolGallerySection-card {
  height: 100%;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
  transition: .4s ease;
  position: relative;
}

.SchoolGallerySection .SchoolGallerySection-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .15);
}

.SchoolGallerySection .SchoolGallerySection-card img {
  width: 100%;
  object-fit: cover;
  transition: .6s ease;
}

.SchoolGallerySection .SchoolGallerySection-card:hover img {
  transform: scale(1.08);
}

.SchoolGallerySection .SchoolGallerySection-card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #111;
  padding: 25px 25px 15px;
  margin: 0;
}

.SchoolGallerySection .SchoolGallerySection-card p {
  font-size: 15px;
  line-height: 1.8;
  color: #666;
  padding: 0 25px;
  margin-bottom: 25px;
}

.SchoolGallerySection .SchoolGallerySection-card a {
  font-size: 18px;
  padding: 0 0 0 20px;
}



.SchoolGallerySection .SchoolGallerySection-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #0d6efd, #00c6ff);
}



.wmaci-event-section {
  background: linear-gradient(180deg, #f3f6ff 0%, #ffffff 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.wmaci-event-section .wmaci-event-wrapper {
  background: #fff;
  border-radius: 35px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(21, 23, 124, .08);
}

.wmaci-event-section .wmaci-hero {
  padding: 70px 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, #15177c 0%, #2327b5 100%);
  position: relative;
}

.wmaci-event-section .wmaci-hero:before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  top: -250px;
  right: -150px;
}

.wmaci-event-section .wmaci-tag {
  display: inline-block;
  background: rgba(211, 215, 7, .15);
  color: var(--green);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.wmaci-event-section .wmaci-hero h2 {
  font-size: 2rem;
  font-weight: 900;
  color: #fff;
  margin: 25px auto 20px;
  max-width: 1000px;
  line-height: 1.1;
}

.wmaci-event-section .wmaci-hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .85);
  margin: 0;
}

.wmaci-event-section .wmaci-logo-box {
  padding: 60px 40px;
  background: #fff;
  text-align: center;
  position: relative;
}

/* .wmaci-event-section .wmaci-logo-box:before{content:'';position:absolute;width:650px;height:650px;border-radius:50%;background:radial-gradient(circle,rgba(21,23,124,.08) 0%,transparent 70%);left:50%;top:50%;transform:translate(-50%,-50%);} */

.wmaci-event-section .wmaci-logo-box img {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 520px;
  object-fit: contain;
}

.wmaci-event-section .wmaci-about-section {
  padding: 0 50px 50px;
}

.wmaci-event-section .wmaci-about-card {
  background: #fff;
  border-radius: 25px;
  padding: 35px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .05);
}

.wmaci-event-section .wmaci-about-card h3 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 20px;
}

.wmaci-event-section .wmaci-about-card p {
  line-height: 2;
  color: #666;
  margin: 0;
}

.wmaci-event-section .wmaci-facts-card {
  background: linear-gradient(135deg, #f7f9ff, #ffffff);
  border: 1px solid #edf1ff;
  border-radius: 25px;
  padding: 35px;
  height: 100%;
}

.wmaci-event-section .wmaci-fact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #edf1ff;
}

.wmaci-event-section .wmaci-fact-item:last-child {
  border-bottom: none;
}

.wmaci-event-section .wmaci-fact-icon {
  width: 55px;
  height: 55px;
  border-radius: 15px;
  background: #15177c;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  flex-shrink: 0;
}

.wmaci-event-section .wmaci-fact-content h6 {
  margin: 0;
  font-weight: 800;
  color: var(--blue);
}

.wmaci-event-section .wmaci-fact-content p {
  margin: 4px 0 0;
  color: #666;
}

.wmaci-event-section .wmaci-download-banner {
  margin: 0 50px 50px;
  background: linear-gradient(135deg, #15177c, #272ab3);
  border-radius: 25px;
  padding: 35px 40px;
}

.wmaci-event-section .wmaci-download-banner h4 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 10px;
}

.wmaci-event-section .wmaci-download-banner p {
  color: rgba(255, 255, 255, .8);
  margin: 0;
}

.wmaci-event-section .wmaci-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: #15177c;
  padding: 16px 30px;
  border-radius: 60px;
  font-weight: 800;
  text-decoration: none;
}

.wmaci-event-section .wmaci-download-btn:hover {
  background: #fff;
  color: #15177c;
}

.wmaci-event-section .wmaci-venue-section {
  padding: 0 50px 50px;
}

.wmaci-event-section .wmaci-venue-card {
  background: #15177c;
  border-radius: 25px;
  padding: 40px;
  height: 100%;
}

.wmaci-event-section .wmaci-venue-card h3 {
  color: #fff;
  font-weight: 800;
  margin-bottom: 20px;
}

.wmaci-event-section .wmaci-venue-card p {
  color: rgba(255, 255, 255, .85);
  line-height: 1.9;
}

.wmaci-event-section .wmaci-link-btn {
  display: block;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .15);
  color: #fff;
  text-decoration: none;
  text-align: center;
  padding: 14px;
  border-radius: 14px;
  margin-top: 12px;
  font-weight: 600;
}

.wmaci-event-section .wmaci-link-btn:hover {
  background: var(--green);
  color: #15177c;
}

.wmaci-event-section .wmaci-map-box {
  background: #fff;
  border-radius: 25px;
  padding: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .06);
  height: 100%;
}

.wmaci-event-section .wmaci-map-box iframe {
  width: 100%;
  height: 520px;
  border: none;
  border-radius: 18px;
}




/* ============================================= */
/* ---------------STATE-SECRATARIES------------- */
/* ============================================= */
.inner-section-banner-committe {
  padding-top: 200px;
  padding-bottom: 80px;
  background: linear-gradient(90deg,
      #ffffff 0%,
      rgba(255, 255, 255, 0.85) 40%,
      var(--orange) 100%);
  background: url(../images/aboutus/comittee-banner.webp);
  background-size: cover;
  background-position: 100% 22%;
}

.state-wise-committe{
    --ink: #1f2a44;
    --muted: #6b7686;
    --line: #e8ecf3;
    --surface: #ffffff;
    --bg-soft: #f5f8fc;

    padding: 80px 0;
    background: var(--bg-soft);
}

.kerala-committe h3{
    text-align: center;
    color: var(--blue, #1d3f91);
    font-size: 27px;
    font-weight: 700;
    margin: 0 0 30px;
    position: relative;
}

.kerala-committe h3::after{
    content: "";
    width: 70px;
    height: 3px;
    background: var(--orange, #f4801f);
    display: block;
    margin: 12px auto 0;
    border-radius: 50px;
}

.committee-layout{
    display: flex;
    align-items: flex-start;  
    gap: 28px;
}

/* ---------------- Sidebar ---------------- */

.state-sidebar{
    width: 235px;
    flex-shrink: 0;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 10px;
    box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 10px 24px rgba(15,23,42,.05);

    position: sticky;
    top: 110px;   /* adjust to sit just under your fixed header;
                     use a smaller value (e.g. 24px) if there isn't one */
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.sidebar-label{
    margin: 4px 6px 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
}

.state-option{
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    margin-bottom: 4px;
    border-radius: 9px;
    cursor: pointer;
    transition: background .2s ease;
}

.state-option:last-child{ margin-bottom: 0; }

.state-option:hover{
    background: var(--bg-soft);
}

.state-option input{
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.state-option:focus-within{
    outline: 2px solid var(--orange, #f4801f);
    outline-offset: 2px;
}

.state-option .dot{
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 2px solid #d7deea;
    background: #fff;
    flex-shrink: 0;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.state-option .name{
    font-weight: 600;
    font-size: 15px;
    color: var(--ink);
    transition: color .2s ease;
}

.state-option:has(input:checked){
    background: var(--bg-soft);
    box-shadow: inset 3px 0 0 0 var(--orange, #f4801f);
}

.state-option:has(input:checked) .dot{
    border-color: var(--orange, #f4801f);
    background: var(--orange, #f4801f);
    box-shadow: 0 0 0 3px rgba(244,128,31,.15);
}

.state-option:has(input:checked) .name{
    color: var(--blue, #1d3f91);
}

/* ---------------- Mobile dropdown ---------------- */

.state-dropdown{
    display: none;
}

.state-dropdown select{
    width: 100%;
    height: 52px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 0 40px 0 16px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink);
    background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%231d3f91' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 16px center;
    appearance: none;
    -webkit-appearance: none;
    margin-bottom: 22px;
}

/* ---------------- Content / table ---------------- */

.committee-content{
    flex: 1;
    min-width: 0;
}

.state-content{
    display: none;
}

.state-content.active{
    display: block;
}

.table-responsive{
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid var(--line);
    box-shadow: 0 1px 2px rgba(15,23,42,.03), 0 10px 24px rgba(15,23,42,.05);
}

.committee-table{
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
}

.committee-table th{
    background: var(--blue, #1d3f91);
    color: #fff;
    padding: 14px 16px;
    text-align: left;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.committee-table th:first-child,
.committee-table td:first-child{
    width: 70px;
    text-align: center;
    color: var(--muted);
}

.committee-table td{
    padding: 13px 16px;
    font-size: 14.5px;
    color: var(--ink);
    border-bottom: 1px solid var(--line);
}

.committee-table td:nth-child(2){
    font-weight: 600;
    color: var(--blue, #1d3f91);
}

.committee-table tbody tr:last-child td{
    border-bottom: none;
}

.committee-table tbody tr:hover td{
    background: var(--bg-soft);
}

.committee-table tr.group-title td{
    padding: 24px 16px 10px;
    border-bottom: none;
    background: transparent;
}

.committee-table tr.group-title span{
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange, #f4801f);
}

.committee-table tr.group-title span::before,
.committee-table tr.group-title span::after{
    content: "";
    flex: 1;
    height: 1px;
    background: var(--line);
}

.committee-empty{
    background: var(--surface);
    border: 1px dashed var(--line);
    border-radius: 14px;
    padding: 48px 24px;
    text-align: center;
    color: var(--muted);
    font-size: 15px;
}

@media (max-width: 991px){

    .committee-layout{
        flex-direction: column;
    }

    .state-sidebar{
        display: none;
    }

    .state-dropdown{
        display: block;
    }

    .kerala-committe h3{
        font-size: 23px;
    }
}