/* ======================================================
   Table of Contents:
   1. Font Declarations
   2. Global Variables and Base Styles
   3. Header and Navigation
   4. Hero and Marquee Sections
   5. Statistics Section
   6. Seven Continents Section
   7. Dignitaries Section
   8. Role Models Section
   9. Footer Styles
   10. Media Queries and Responsive Adjustments
   11. Accessibility Enhancements
   ====================================================== */

/* ======================================================
   1. Font Declarations
   ====================================================== */
@font-face {
  font-family: "BruumFY-Bold";
  src: url("../fonts/BruumFY-Bold.otf") format("opentype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "BruumFY-Light";
  src: url("../fonts/BruumFY-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "BruumFY-Regular";
  src: url("../fonts/BruumFY-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

/* ======================================================
   2. Global Variables and Base Styles
   ====================================================== */
:root {
  --primary-color: #4a2f7b;
  --secondary-color: #8d3393;
  --text-color: #333;
  --light-bg: #f8f9fa;
  --accent-color: #e91e63;
  --border-color: #e0e0e0;
  --red-color: #9f0710;

  /* Spacing values for consistent layout */
  --section-spacing: 3rem;
  --element-spacing: 1.5rem;
  --container-padding: 2rem;
  --text-spacing: 1rem;
}

body {
  font-family: "BruumFY-Regular", Arial, sans-serif;
  color: var(--text-color);
  margin: 0;
  background: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video {
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "BruumFY-Bold", Arial, sans-serif;
}

a:focus,
button:focus {
  outline: 0px solid var(--secondary-color);
  outline-offset: 0 0 0 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ======================================================
   3. Header and Navigation
   ====================================================== */
/* Fix for header image cropping */
.banner {
  width: 100%;
  overflow: hidden;
  height: auto;
  padding: 0;
  background: #fff;
  text-align: center;
}

.banner img {
  width: min(100%, 1440px);
  height: auto !important;
  object-fit: contain !important;
  display: block;
  margin: 0 auto;
}

/* Center the link container */
.banner a {
  display: block;
  width: 100%;
  text-align: center;
}

/* Navigation Styles */
.navbar-container {
  position: relative;
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 1100;
  position: absolute;
  right: 15px;
  top: 11px;
}

.mobile-toggle:focus {
  outline: none;
}

.mobile-toggle-primary {
  color: var(--text-color);
  top: 67px;
}

/* Top Navigation Bar */
.top-nav {
  background-color: var(--red-color);
  transition: all 0.3s ease;
}

.top-nav .nav-link {
  color: var(--light-bg);
  font-size: 1.063rem;
  padding: 0.1rem 0.5rem;
  text-transform: none;
  font-family: "BruumFY-Regular", Arial, sans-serif;
  transition: color 0.3s ease;
}

.top-nav .nav-link:not(:last-child) {
  position: relative;
}

.top-nav .nav-link:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 12px;
  background: rgba(255, 255, 255, 0.85);
  content: "";
  transform: translateY(-50%);
}

.top-nav .nav-link:hover {
  color: var(--light-bg);
}

/* Secondary Navigation */
.secondary-nav {
  background-color: transparent;
  border-bottom: 1px solid var(--red-color);
  transition: all 0.3s ease;
  position: relative;
}
/* .theme-bold {
  font-weight: 500;
  font-family: "BruumFY-Bold", Arial, sans-serif;
} */

.secondary-nav .nav-link {
  color: var(--text-color);
  font-size: 1.063rem;
  padding: 0.6rem 0.9rem;
  font-family: "BruumFY-Regular", Arial, sans-serif;
  text-transform: none;
  transition: opacity 0.3s ease;
}

.secondary-nav .nav-link:hover {
  opacity: 0.85;
}

.secondary-nav .nav-link:not(:last-child) {
  position: relative;
}

.secondary-nav .nav-link:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 12px;
  background: rgba(0, 0, 0, 0.55);
  content: "";
  transform: translateY(-50%);
}

/* Logo */
.logo-text {
  font-family: "BruumFY-Bold", Arial, sans-serif;
  color: #000;
  font-size: 1.5rem;
  text-transform: none;
  letter-spacing: 1px;
}

.nav1 {
  position: relative;
  top: auto;
  right: auto;
  min-height: 34px;
  display: block;
  background: #fff;
}

.nav1 .langs {
  position: relative;
  z-index: 20;
  padding: 0.35rem 0.75rem;
}
/* .nav1 {
  width: 100%;
  margin-bottom: 20px;
  position: relative;
  top: 0;
  right: 0;
  display: block;
} */
/* .nav1 .langs {
  position: relative;
  z-index: 100;
  margin-top: 8px;
  top: 140px;
} */

.top-banner {
  background-color: var(--red-color);
  color: white;
  font-family: "BruumFY-Bold", Arial, sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
}

.banner-text {
  font-weight: bold;
}

/* ======================================================
   4. Hero and Marquee Sections
   ====================================================== */
/* Hero section */
.hero-section {
  position: relative;
  margin-bottom: 20px;
  border-bottom: 0px solid var(--red-color);
  overflow: hidden;
}

.hero-image {
  width: 100%;
  height: auto;
  max-height: 877px;
  object-fit: cover;
  display: block;
}
.nav1 .langs span a {
  color: #000;
  font-family: BruumFY-Regular;
  text-decoration: none;
  font-weight: 600;
}
.nav1 .langs span.mx-2 {
  border-left: 2px solid;
  padding-left: 8px;
}
/* Marquee Section */
.marquee-section {
  position: relative;
  z-index: 10;
  background-color: #f5f5f5;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  margin-top: 0;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
}

.marquee-content {
  white-space: nowrap;
  animation: marquee 20s linear infinite;
  display: inline-block;
}

.marquee-content span {
  font-family: "BruumFY-Bold", Arial, sans-serif;
  color: #000;
}

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

.gallery-btn {
  display: inline-block;
  background-color: #1b75bb;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: "BruumFY-Bold", Arial, sans-serif;
  transition: background-color 0.3s ease;
  float: right;
}

.gallery-btn:hover,
.gallery-btn:focus {
  background-color: var(--secondary-color);
  color: white;
  text-decoration: none;
}

.gallery-btn i {
  margin-right: 5px;
}

/* ======================================================
   5. Statistics Section
   ====================================================== */
.stats-section {
  position: relative;
  z-index: 5;
  margin-top: 15px;
  padding: 1.5rem 0;
  background-color: #fff;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
}

.stats-section .row {
  gap: 1rem;
}

.stat-item {
  margin-bottom: 1.5rem;
  border: 1px solid #f0f0f0;
  padding: 1.5rem 1rem;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1 1 150px;
  width: auto;
  max-width: none;
  min-height: 155px;
  text-align: center;
}

.stat-icon {
  font-size: 1.8rem;
  color: #000;
  margin-bottom: 1rem;
  line-height: 1;
}

.stat-number {
  font-family: "BruumFY-Bold", Arial, sans-serif;
  font-size: 1.8rem;
  color: #ff2500;
  margin-bottom: 0.3rem;
  line-height: 1.1;
}

.stat-text {
  font-family: "BruumFY-Light", Arial, sans-serif;
  color: #000;
  font-size: 14px;
  text-align: center;
  line-height: 1.3;
}

.stat-item:hover {
  transform: translateY(-5px);
}

/* ======================================================
   6–8. Main content, image grids and role models
   ====================================================== */
.winner-slider {
  display: block;
  width: 100%;
  margin-top: 10px;
  overflow: hidden;
  background: #111;
}

.winner-slider .carousel-item {
  background: #111;
}

.winner-slider .carousel-item img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 3366 / 1634;
  object-fit: cover;
}

.winner-slider .carousel-control-prev,
.winner-slider .carousel-control-next {
  width: 7%;
}

.seven-continents,
.dignitaries-section,
.role-models-section {
  padding: 2rem 0;
}

.seven-continents {
  padding: 0.75rem 0 2rem;
  background: #fff;
}

.seven-continents-content {
  display: flex;
  align-items: flex-start;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.seven-continents-text {
  flex: 0 1 47%;
  width: 47%;
  max-width: 47%;
  padding-top: 0;
  color: #111;
}

.seven-continents-image {
  flex: 1 1 53%;
  min-width: 0;
}

.seven-continents-image video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 0;
  background: #111;
  box-shadow: none;
}

.congress-title,
.congress-subtitle {
  margin: 0 0 0.75rem;
  color: #050505;
  font-family: "BruumFY-Bold", Arial, sans-serif;
  font-size: clamp(1.65rem, 2vw, 2.1rem);
  font-weight: 700;
  line-height: 1.08;
  border: 0;
}

.congress-intro {
  margin: 0 0 0.5rem;
  color: #171717;
  font-size: 1.05rem;
  line-height: 1.45;
  border: 0;
}

.congress-feature-title {
  margin-top: 0;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem);
  line-height: 1.18;
}

.congress-title::before,
.congress-title::after,
.congress-intro::before,
.congress-intro::after,
.congress-subtitle::before,
.congress-subtitle::after {
  display: none;
  content: none;
}

.continents-text {
  margin: 0;
  color: #171717;
  font-size: 1.06rem;
  line-height: 1.48;
  text-align: left;
}

.continents-text a {
  color: #ed1c24;
  text-decoration: none;
  white-space: nowrap;
}

.ai-initiative-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  max-width: 100%;
  row-gap: 1.1rem;
  margin-top: 1.25rem;
}

.ai-initiative-card {
  grid-column: 1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.ai-initiative-card + .ai-initiative-card {
  padding-top: 0;
  padding-left: 0;
  border-top: 0;
  border-left: 0;
}

.ai-initiative-card .congress-subtitle {
  width: 100%;
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 1.7vw, 1.65rem);
  line-height: 1.2;
}

.ai-initiative-card:first-child .congress-subtitle {
  margin-bottom: 0.6rem;
}

@media (min-width: 769px) {
  .ai-initiative-card:first-child .congress-subtitle {
    white-space: nowrap;
  }
}

.ai-initiative-card .continents-text {
  width: 100%;
  margin-right: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.section-title,
.section-title-center,
.section-title-cente {
  color: #171717;
  font-size: clamp(1.45rem, 3vw, 2.25rem);
  line-height: 1.2;
  margin: 0 0 1.25rem;
}

.section-title::after,
.section-title-center::after,
.section-title-cente::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 999px;
  background: var(--red-color);
}

.dignitaries-title-container {
  margin-bottom: 2rem;
  text-align: center;
}

.dignitaries-title-container .section-title::after {
  display: none;
}

.dignitaries-grid-container {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  margin-bottom: 1.5rem;
  align-items: stretch;
}

.grid-cell,
.small-img,
.dignitary-container,
.dignitary-containers {
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
}

.image-cell,
.text-cell {
  min-height: 190px;
}

.image-cell img,
.small-img img,
.dignitary-container img,
.dignitary-containers img,
.dignitary-img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
}

.text-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--red-color);
  color: #fff;
  text-align: center;
}

.text-cell p,
.small-caption p {
  margin: 0;
}

.small-flex {
  display: flex;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #f4f4f4;
}

.small-img,
.small-caption {
  flex: 1 1 50%;
}

.small-caption {
  display: flex;
  align-items: center;
  padding: 1rem;
}

.dignitary-container,
.dignitary-containers {
  background: #eee;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.dignitary-caption {
  margin: 0.85rem 0 1.5rem;
  color: #555;
  line-height: 1.45;
  text-align: center;
}

.years-container {
  position: relative;
  margin: 1.5rem 0;
}

.center-row-container {
  padding: 0 110px;
}

.role-models-section {
  background: #f7f4f3;
}

.role-model-box {
  height: 100%;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.red-divider {
  width: 52px;
  height: 4px;
  margin: 0.85rem 0 1.25rem;
  border-radius: 999px;
  background: var(--red-color);
}

/* International chapters feature cards */
.international-chapters {
  padding: 2rem 0;
  background: #fff;
}

.international-chapters .dignitaries-title-container {
  margin-bottom: 1.75rem;
}

.international-chapters .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  color: #050505;
  font-size: clamp(1.55rem, 2.2vw, 2rem);
  line-height: 1.15;
  white-space: nowrap;
}

.international-chapters .section-title::before,
.international-chapters .section-title::after {
  content: "";
  display: block;
  width: 34px;
  height: 1px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #4caf50;
}

.international-chapters .row {
  --bs-gutter-x: 0.75rem;
}

.international-chapters .role-model-box {
  overflow: hidden;
  padding: 0.6rem 0.6rem 2.5rem;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.international-chapters .image-container {
  border: 1px solid #ff6b73;
  padding: 0.55rem;
}

.international-chapters .image-container img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 723 / 401;
  object-fit: cover;
}

.international-chapters .red-divider {
  width: 73%;
  height: 3px;
  margin: 1.65rem auto 1.5rem;
  border-radius: 0;
  background: #a9000c;
}

.international-chapters .content-container h3 {
  margin: 0 0 1.15rem;
  color: #080808;
  font-family: "BruumFY-Bold", Arial, sans-serif;
  font-size: 1.28rem;
  line-height: 1.25;
}

.international-chapters .content-container p {
  margin: 0;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.45;
}

/* Shared dignitary galleries */
.dignitaries-section[id] {
  padding: 2rem 0;
  background: #fff;
}

.dignitaries-section[id] .dignitaries-grid-container {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 0.75rem;
  row-gap: 0;
  min-height: 150px;
  margin-bottom: 2rem;
  align-items: center;
}

.dignitaries-section[id] .grid-cell {
  min-height: 0;
  border-radius: 0;
}

.dignitaries-section[id] .image-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
}

.dignitaries-section[id] .image-cell img {
  width: 145px;
  height: 145px;
  min-height: 0;
  padding: 2px;
  border: 1px solid #ff6b73;
  object-fit: cover;
}

.dignitaries-section[id] .text-cell {
  min-height: 0;
  padding: 0.75rem 1rem;
  background: transparent;
  color: #151515;
  font-size: 1rem;
  line-height: 1.35;
}

.dignitaries-section[id] > .container > .row {
  --bs-gutter-x: 1.5rem;
}

.dignitaries-section[id] .dignitary-container {
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.dignitaries-section[id] .dignitary-container img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 433 / 271;
  object-fit: cover;
}

.dignitaries-section[id] .dignitary-caption {
  margin: 0.65rem auto 0;
  color: #171717;
  font-size: 0.95rem;
  line-height: 1.35;
}

#global-dignitaries-section-1 .section-title,
.role-models-section .section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin: 0;
  color: #050505;
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.1;
}

#global-dignitaries-section-1 .section-title::before,
#global-dignitaries-section-1 .section-title::after,
.role-models-section .section-title::before,
.role-models-section .section-title::after {
  content: "";
  display: block;
  flex: 0 0 34px;
  width: 34px;
  height: 1px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: #4caf50;
}

/* Shared two-card feature sections */
.role-models-section {
  margin-top: 0.5rem !important;
  padding: 1rem 0 2rem;
  background: #fff;
}

.role-models-section > .container {
  padding: 1.75rem 0.75rem 2rem;
  background: #f5f6f7;
}

.role-models-section .text-center {
  margin-bottom: 1.75rem !important;
}

.role-models-section .role-model-box {
  overflow: hidden;
  padding: 0.6rem 0.6rem 2.5rem;
  border-radius: 0;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.08);
  text-align: center;
}

.role-models-section .image-container {
  border: 1px solid #ff6b73;
  padding: 0.55rem;
}

.role-models-section .image-container img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 723 / 401;
  object-fit: cover;
}

.role-models-section .red-divider {
  width: 73%;
  height: 3px;
  margin: 1.65rem auto 1.5rem;
  border-radius: 0;
  background: #a9000c;
}

.role-models-section .content-container h3,
.role-models-section .content-container h3[style] {
  margin: 0 0 1.15rem;
  color: #080808;
  font-size: 1.2rem !important;
  line-height: 1.25;
}

.role-models-section .content-container p {
  margin: 0;
  color: #555;
  font-size: 1.05rem;
  line-height: 1.45;
}

/* ======================================================
   9. Footer Styles
   ====================================================== */
/* Red separator between content and footer */
.footer-separator {
  height: 5px;
  background-color: var(--red-color);
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Footer structure */
.footer {
  padding: 2.25rem 0 1rem;
  border-top: 0;
  position: relative;
  background-color: #15161b;
}

.footer,
.footer h4,
.footer h5,
.footer .logo-text,
.footer .footer-tagline,
.footer .footer-bottom-text,
.footer .contact-text,
.footer .contact-text p {
  color: #f4f4f4;
}

.footer-menu a {
  color: #d8d8d8;
}

.footer-menu li i {
  color: #fff;
}

.footer-content-wrapper {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: clamp(2rem, 4vw, 4.5rem);
  padding: 1rem 0;
}

.footer-logo-column {
  flex: 0 0 31%;
  width: 31%;
  min-width: 320px;
  padding-left: 0;
}

.footer-logo-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 2rem;
  border-right: 1px solid #e0e0e0;
}

.logo-img {
  max-width: 180px;
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
  object-fit: contain;
}

.footer-logo-header {
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2vw, 2rem);
  text-align: center;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.footer-brands {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.footer-brand {
  min-width: 0;
  text-align: center;
}

.footer-brand + .footer-brand {
  border-left: 1px solid rgba(190, 0, 18, 0.75);
  padding-left: 1.25rem;
}

.footer-brand a {
  display: block;
}

.footer-brand-logo {
  display: block;
  width: auto;
  max-width: 100%;
  height: 245px;
  margin: 0 auto 1.2rem;
  object-fit: contain;
}

.footer-brand p {
  margin: 0;
  color: #fff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
}

.footer-logo-text {
  max-width: 220px;
  padding-top: 0.5rem;
  color: #d8d8d8;
  font-size: 0.95rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.footer-logo-text p {
  margin: 0;
}

/* Footer menu structure */
.footer-menu-wrapper {
  flex: 1 1 auto;
  width: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-menu-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.footer-menu-column {
  flex: 1;
  min-width: 180px;
}

.footer h4 {
  color: #f4f4f4;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-menu {
  list-style: none;
  padding-left: 0;
}

.footer-menu li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-menu li i {
  color: #fff;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  min-width: 10px;
}

.footer-menu a {
  color: #d8d8d8;
  text-decoration: none;
  font-family: "BruumFY-Light", Arial, sans-serif;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-menu a:hover,
.footer-menu a:focus {
  color: var(--red-color);
  text-decoration: none;
}

.footer-logo-container .logo-text {
  font-size: 2rem;
  color: #f4f4f4;
  font-weight: bold;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1rem;
  color: #d8d8d8;
  margin-bottom: 1rem;
}

/* Footer bottom section */
.footer-bottom {
  margin: 2.5rem 0 0;
  padding: 1rem 0 1.25rem;
  border-top: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.55);
}

.footer-bottom > .row {
  margin: 0;
  padding: 0;
}

.subscribe-label,
.footer-bottom-text {
  display: block;
  margin-bottom: 0.75rem;
  color: #f4f4f4;
  font-family: "BruumFY-Bold", Arial, sans-serif;
}

.input-box .form-control {
  min-height: 46px;
}

#NewsLetterSubscriberSubmitPanel .btn {
  min-height: 46px;
  padding: 0.65rem 1.15rem;
  border: 1px solid #fff;
  background: var(--red-color);
  color: #fff;
  font-family: "BruumFY-Bold", Arial, sans-serif;
}

#NewsLetterSubscriberSubmitPanel .btn:hover,
#NewsLetterSubscriberSubmitPanel .btn:focus {
  background: #c10e18;
  color: #fff;
}

.footer-bottom .social-icons {
  margin-top: 0.5rem;
}

.footer-bottom .social-icon {
  width: 44px;
  height: 44px;
  margin-left: 0.65rem;
  background: #fff;
}

.footer-bottom .social-icon-facebook i { color: #3b5998; }
.footer-bottom .social-icon-instagram i { color: #d6249f; }
.footer-bottom .social-icon-twitter i { color: #1da1f2; }
.footer-bottom .social-icon-linkedin i { color: #0077b5; }
.footer-bottom .social-icon-youtube i { color: #e00000; }

.footer-newsletter-form {
  max-width: 500px;
}

.footer-newsletter-form .form-control {
  border: 1px solid #ddd;
  padding: 0.6rem;
  font-size: 1rem;
}

.footer-newsletter-form .btn-primary {
  background-color: #000;
  border-color: #000;
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
}

/* Social Media Icons */
.social-icons {
  margin-top: 1rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: white;
  border-radius: 50%;
  margin-left: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icon:hover,
.social-icon:focus {
  transform: translateY(-3px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: white;
  text-decoration: none;
}

/* Social icon brand colors */
.social-icon-facebook {
  background-color: #3b5998;
}
.social-icon-facebook:hover,
.social-icon-facebook:focus {
  background-color: #2d4373;
}

.social-icon-twitter {
  background-color: #1da1f2;
}
.social-icon-twitter:hover,
.social-icon-twitter:focus {
  background-color: #0c85d0;
}

.social-icon-instagram {
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
}
.social-icon-instagram:hover,
.social-icon-instagram:focus {
  background: radial-gradient(
    circle at 30% 107%,
    #e6da8a 0%,
    #e6da8a 5%,
    #e44c3d 45%,
    #b91f85 60%,
    #234abd 90%
  );
}

.social-icon-linkedin {
  background-color: #0077b5;
}
.social-icon-linkedin:hover,
.social-icon-linkedin:focus {
  background-color: #005582;
}

.social-icon-youtube {
  background-color: #ff0000;
}
.social-icon-youtube:hover,
.social-icon-youtube:focus {
  background-color: #cc0000;
}

/* Copyright */
.copyright {
  width: 50%;
  text-align: left;
  font-size: 0.85rem;
  background-color: transparent;
  color: #fff;
  margin-top: 0;
  padding: 1rem 0 0;
  border-top: 0;
}

.copyright p {
  margin: 0;
}
.contact-text p {
  padding: 10px;
  margin: 5px;
  padding-bottom: 5px;
}

.contact-text .line {
  border-bottom: 1px solid #d9d7d7;

  margin: 22px 0;
}

/* ======================================================
   10. Media Queries and Responsive Adjustments
   ====================================================== */
/* Large devices (desktops, less than 1200px) */
@media (max-width: 1200px) {
  .seven-continents-content {
    gap: 30px;
  }

  .center-row-container {
    padding: 0 80px;
  }

  .section-title,
  .section-title-center {
    font-size: 1.4rem;
  }

  .years-badge {
    width: 80px;
    height: 80px;
  }

  .years-badge-left {
    left: -40px;
  }

  .years-badge-right {
    right: -40px;
  }

  .years-number {
    font-size: 26px;
  }

  .years-text {
    font-size: 12px;
  }

  .years-edge-left {
    left: -30px;
  }

  .years-edge-right {
    right: -30px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
  /* Mobile menu toggle display */
  .mobile-toggle {
    display: block;
  }

  /* Navigation menu adjustments */
  .top-nav .d-flex,
  .secondary-nav .d-flex {
    flex-direction: column;
    align-items: flex-start;
    display: none !important;
  }

  .top-nav.expanded .d-flex,
  .secondary-nav.expanded .d-flex {
    display: flex !important;
  }

  .top-nav .nav-link,
  .secondary-nav .nav-link {
    width: 100%;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .top-nav .nav-link:not(:last-child)::after {
    display: none;
  }

  .secondary-nav .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .secondary-nav .nav-link:not(:last-child)::after {
    display: none;
  }

  /* Seven continents section adjustments */
  .seven-continents-content {
    flex-direction: column;
  }

  .seven-continents-image,
  .seven-continents-text {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
  }

  .seven-continents-text {
    margin-top: 0;
  }

  .section-title-center::after {
    left: 0;
    width: 50%;
  }

  /* Dignitaries section adjustments */
  .dignitaries-grid-container {
    grid-template-columns: 1fr 1fr;
  }

  .grid-cell {
    grid-area: auto !important;
  }

  .empty-cell {
    display: none;
  }

  .years-badge,
  .years-edge-left,
  .years-edge-right {
    position: static;
    transform: none;
    display: block;
    margin: 0 auto 20px;
  }

  .center-row-container {
    padding: 0 20px;
  }

  .years-container {
    padding: 20px 0;
  }

  /* Stat item adjustments */
  .stat-item {
    padding: 1rem 0.5rem;
  }

  .stat-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
  }

  .stat-number {
    font-size: 1.5rem;
  }

  /* Footer adjustments */
  .footer-content-wrapper {
    flex-direction: column;
    gap: 30px;
  }

  .footer-logo-column {
    width: 100%;
    min-width: 0;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-brands {
    max-width: 520px;
    margin: 0 auto;
  }

  .footer-logo-header {
    text-align: center;
  }

  .footer-logo-container {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    padding-right: 0;
  }

  .footer-menu-wrapper {
    width: 100%;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
  .ai-initiative-grid {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    margin-top: 1rem;
  }

  .ai-initiative-card {
    padding: 0;
  }

  .ai-initiative-card + .ai-initiative-card {
    padding-top: 0;
    padding-left: 0;
    border-top: 0;
    border-left: 0;
  }

  /* .nav1 .langs {
    top: 0px;
  } */
  .nav1 {
    position: relative;
    top: 0;
    right: 0;
    height: 100%;
  }
  /* Content sections */
  .section-title {
    font-size: 1.4rem;
    padding: 0 0.5rem;
  }

  .section-title-center {
    font-size: 1.4rem;
  }

  .marquee-section .gallery-btn {
    float: none;
    margin-top: 10px;
    display: block;
    text-align: center;
  }

  /* Dignitaries section adjustments */
  .dignitaries-grid-container {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .small-flex {
    flex-direction: column;
  }

  .small-img,
  .small-caption {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .small-caption {
    text-align: center;
    padding: 10px 0;
  }

  /* Role model adjustments */
  .role-model-box {
    padding: 1.5rem;
  }

  .red-divider {
    margin: 0 auto 1.5rem;
  }

  /* Footer adjustments */
  .footer-logo-container .logo-img {
    max-width: 100px;
    height: auto;
    margin: 0 auto 1rem;
  }

  .footer-logo-container .logo-text {
    font-size: 1.5rem;
    text-align: center;
  }

  .footer-tagline {
    font-size: 0.8rem;
    text-align: center;
  }

  .footer-menu-column {
    flex: 0 0 100%;
  }

  .social-icons {
    margin-top: 2rem;
    text-align: center;
  }

  .footer-bottom [class*="col-"] {
    text-align: center;
  }

  .footer-newsletter-form {
    margin: 0 auto;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
  .international-chapters .section-title {
    white-space: normal;
  }

  .international-chapters .section-title::before,
  .international-chapters .section-title::after {
    width: 20px;
    flex: 0 0 20px;
  }

  /* Stats section adjustments */
  .stats-section .col-6 {
    width: 50% !important;
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .stat-item {
    padding: 10px 5px;
    margin-bottom: 10px;
    min-height: 120px;
  }

  .stat-icon {
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
  }

  .stat-number {
    font-size: 1.2rem;
    margin-bottom: 0.1rem;
  }

  .stat-text {
    font-size: 0.75rem;
  }

  /* Section title adjustments */
  .section-title,
  .section-title-center {
    font-size: 1.4rem;
  }

  /* Other mobile adjustments */
  .role-model-box {
    padding: 1.5rem 1rem;
  }

  .role-model-box h3 {
    font-size: 1.1rem;
  }

  .footer-menu li {
    font-size: 0.8rem;
  }

  .footer-brands {
    gap: 0.75rem;
  }

  .footer-brand + .footer-brand {
    padding-left: 0.75rem;
  }

  .footer-brand-logo {
    height: 180px;
  }

  .footer-brand p {
    font-size: 0.75rem;
  }

  .copyright {
    width: 100%;
    text-align: center;
  }

  /* Reduce heading sizes on mobile */
  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  /* Form elements adjustments */
  .footer-newsletter-form .form-control,
  .footer-newsletter-form .btn-primary {
    font-size: 0.85rem;
    padding: 0.5rem;
  }
}

/* ======================================================
   11. Accessibility Enhancements
   ====================================================== */
/* High contrast mode */
@media (prefers-contrast: more) {
  :root {
    --primary-color: #3a1d6e;
    --secondary-color: #7a1e82;
    --text-color: #000;
    --red-color: #c10e15;
  }

  .stat-number {
    color: #e00000;
  }

  .secondary-nav .nav-link {
    font-weight: bold;
  }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  .marquee-content {
    animation: none;
  }

  .stat-item:hover,
  .role-model-box:hover,
  .social-icon:hover {
    transform: none;
  }
}

@media (max-width: 992px) {
  .dignitaries-section[id] .dignitaries-grid-container {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  .dignitaries-section[id] .empty-cell {
    display: none;
  }

  .dignitaries-section[id] .image-cell,
  .dignitaries-section[id] .text-cell {
    min-height: 145px;
  }
}

@media (max-width: 576px) {
  .dignitaries-section[id] .dignitaries-grid-container {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .dignitaries-section[id] .text-cell {
    min-height: 0;
    margin-bottom: 1rem;
  }

  #global-dignitaries-section-1 .section-title,
  .role-models-section .section-title {
    font-size: 1.35rem;
  }

  #global-dignitaries-section-1 .section-title::before,
  #global-dignitaries-section-1 .section-title::after,
  .role-models-section .section-title::before,
  .role-models-section .section-title::after {
    flex-basis: 20px;
    width: 20px;
  }
}
