@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: #d81f26;

  /* 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);
  overflow-x: hidden;
}
/* start header */
.top-header {
  background-color: #e5e6e7;
  height: 38px;
}
.top-header a {
  color: #000;
  text-transform: uppercase;
  text-decoration: none;
}
.top-header a i {
  font-size: 22px;
  color: #000;
}
.top-header .btn {
  border-radius: 0;
  position: absolute;
  right: 0;
  padding-right: 22px;
  padding-left: 22px;
  color: #fff;
  background-color: #b07c2c;
}
.main-header {
  padding: 0px 0;
  position: sticky;
  top: 0;
  z-index: 999999;
  background-color: #fff;
  margin: -5px 0 0 0;
}

.main-header .nav-item,
.nav1 .nav-item,
.nav2 .nav-item {
  border-left: 1px solid #000;
  padding: 0px 5px;
  display: inline-block;
  list-style: none;
}
.main-header .nav-item:first-child,
.nav1 .nav-item:first-child,
.nav2 .nav-item:first-child {
  border-left: none;
}
.main-header .nav-item a,
.nav1 .nav-item a,
.nav2 .nav-item a {
  padding: 0;
  color: #000;
  font-family: "BruumFY-Regular", Arial, sans-serif;
  font-size: 16px;
}

.main-header .nav-item a:hover,
.nav1 .nav-item a:hover,
.nav2 .nav-item a:hover {
  color: #B0822A;
  text-decoration: none;
}

.black-nav-link:hover {
  color: #B0822A !important;
  text-decoration: none;
}
.container {
  padding-left: 0;
  padding-right: 0;
}
.nav1,
.nav2 {
  padding-left: 0;
}
.main-header .lang a {
  color: #000;
  text-decoration: none;
}

.last-header img {
  margin-bottom: 0px;
  margin-top: 0px;
}
/* end header */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "BruumFY-Bold", Arial, sans-serif;
}

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

.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
   ====================================================== */
/* Banner */
.banner img {
  width: 100%;
  height: auto;
  max-height: 316px;
  object-fit: cover;
}
.carousel-inner img {
  width: 100%;
  object-fit: cover;
}

.carousel {
  margin-top: 0;
}
.carousel-control {
  display: flex;
  align-items: center; /* vertical center */
  justify-content: center;
  font-size: 60px; /* increase arrow size */
  color: #fff;
  opacity: 1;
}

.carousel-control.left,
.carousel-control.right {
  background-image: none; /* remove default gradient */
}

.carousel-control:hover {
  color: #fff;
  opacity: 0.8;
}

/* 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: 8px;
}

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

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

/* Top Navigation Bar */
/* .top-nav {
    background-color: #fff;
    border-bottom: 1px solid #eee;
    transition: all 0.3s ease;
}

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

.top-nav .nav-link:hover {
    color: var(--accent-color);
} */

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

.secondary-nav .nav-link {
    color: white;
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
    font-family: 'BruumFY-Regular', Arial, sans-serif;
    text-transform: none;
    transition: opacity 0.3s ease;
}

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

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

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

.hero-image {
  width: 100%;
  height: auto;
  max-height: 877px;
  object-fit: cover;
  display: block;
}

/* 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: 2.5rem 0;
  background-color: #fff;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.05);
}

.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;
  height: 100%;
  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. Seven Continents Section
   ====================================================== */
.seven-continents {
  padding: 3.5rem 0;
  background-color: #fff;
}

.seven-continents-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.seven-continents-image {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
}

.seven-continents-text {
  flex: 0 0 calc(50% - 20px);
  max-width: calc(50% - 20px);
  color: #000;
  padding-top: 0.5rem;
}

.continents-text {
  margin-bottom: 2rem;
  margin-right: 5.3rem;
  text-align: left;
  line-height: 1.6;
  font-size: 18px;
}
.continents-text a {
  text-decoration: none;
  color: #ff0000;
}
.read-more-btn {
  display: inline-block;
  color: var(--red-color);
  border: 1px solid var(--red-color);
  padding: 0.5rem 1.5rem;
  border-radius: 3px;
  text-decoration: none;
  font-family: "BruumFY-Bold", Arial, sans-serif;
  transition: all 0.3s ease;
}

.read-more-btn:hover,
.read-more-btn:focus {
  background-color: var(--red-color);
  color: white;
  text-decoration: none;
}

/* ======================================================
   7. Dignitaries Section
   ====================================================== */
/* Section title styling with red lines */
.section-title {
  text-align: center;
  color: #000;
  margin-bottom: 2.5rem;
  font-size: 1.8rem;
  text-transform: none;
  position: relative;
  padding: 0 2.5rem;
  display: inline-block;
}

.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  height: 3px;
  background-color: var(--red-color);
  width: 2rem;
}

.section-title::before {
  left: 0;
}

.section-title::after {
  right: 0;
}

.section-title-center {
  text-align: left;
  color: #000;
  margin-bottom: 2rem;
  font-size: 1.8rem;
  text-transform: none;
  position: relative;
  padding-bottom: 20px;
  line-height: 1.3;
}

.section-title-center::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 90%;
  height: 3px;
  background: var(--red-color);
}

/* Main dignitaries section styling */
.dignitaries-section {
  padding: 3rem 0;
  text-align: center;
  background-color: #fff;
  position: relative;
  margin-bottom: 2rem;
}

.dignitaries-title-container {
  margin-bottom: 2rem;
  position: relative;
  display: flex;
  justify-content: center;
}

/* Dignitaries grid layout */
.dignitaries-grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 1px;
  margin-bottom: 40px;
  position: relative;
}

/* Standard grid cells */
.grid-cell {
  padding: 10px;
}

/* Image cells */
.image-cell {
  /*border: 1px solid #ff2500;*/
  overflow: hidden;
  aspect-ratio: 3/2;
  display: flex;
  align-items: center;
  justify-content: left;
}

.image-cell img {
  height: 100%;
  display: block;
}

/* Text cells */
.text-cell {
  display: flex;
  align-items: left;
  padding: 10px 15px;
}

.text-cell p {
  margin: 0;
  font-family: "BruumFY-Light", Arial, sans-serif;
  font-size: 0.95rem;
  line-height: 1.4;
  color: #000;
  text-align: left;
}

/* Empty cells */
.empty-cell {
  display: block;
}

/* Years badges container */
.years-container {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 40px 0;
  box-sizing: border-box;
}

/* Years badges - Absolute positioning without affecting grid */
.years-edge-left,
.years-edge-right {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: auto;
  z-index: 10;
}

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

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

/* HTML Years badges - Alternative to images */
.years-badge {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 90px;
  height: 90px;
  background-color: #d81f26;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

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

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

.years-badge-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: white;
  line-height: 1;
  padding-top: 5px;
}

.years-number {
  font-family: "BruumFY-Bold", Arial, sans-serif;
  font-size: 28px;
  font-weight: bold;
}

.years-text {
  font-family: "BruumFY-Regular", Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 1px;
}

/* Center row container */
.center-row-container {
  width: 100%;
  padding: 0 100px;
  position: relative;
  z-index: 5;
}

/* Small flex containers for middle row */
.small-flex {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 20px;
}

.small-img {
  flex: 0 0 calc(50% - 7.5px);
  max-width: calc(50% - 7.5px);
  border: 1px solid #ff2500;
  overflow: hidden;
  aspect-ratio: 3/2;
}

.small-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.small-caption {
  flex: 0 0 calc(50% - 7.5px);
  max-width: calc(50% - 7.5px);
  display: flex;
  align-items: center;
}

.small-caption p {
  font-family: "BruumFY-Light", Arial, sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

/* Bottom images styling */
.dignitary-container {
  overflow: hidden;
  margin-bottom: 10px;
  aspect-ratio: 3/2;
}

.dignitary-container img {
  width: 100%;
  height: 100%;
}
.dignitary-containers {
  overflow: hidden;
  margin-bottom: 15px;
}

.dignitary-containers img {
  border: 4px solid #ff2500;
  padding: 5px;
  width: 100%;
  height: 60%;
}
.dignitary-caption {
  font-family: "BruumFY-Light", Arial, sans-serif;
  font-size: 20px;
  color: #000;
  text-align: center;
  margin: 0 0 20px 0;
}

/* ======================================================
   8. Role Models Section
   ====================================================== */
/* International Chapters */
.international-chapters {
  padding: 3rem 0;
  background-color: #fff;
}

/* Role models section */
.role-models-section {
  padding: 4rem 0;
  background-color: var(--light-bg);
}

.role-model-box {
  background-color: #fff;
  padding: 0.1rem;
  text-align: left;
  margin-bottom: 2rem;
  height: 100%;
  transition: transform 0.3s ease;
  border: none;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
}

.image-container {
  width: 100%;
  padding: 0;
  margin-bottom: 1.5rem;
  position: relative;
}

.image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.content-container {
  flex: 1;
  margin-right: 6.9rem;
}

.role-model-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.role-model-box h3 {
  color: #000;
  margin-bottom: 1.25rem;
  margin-left: 0.5rem;
  margin-right: 4rem;
  font-size: 1.3rem;
  text-transform: none;
  font-weight: bold;
  line-height: 1.3;
}

.role-model-box p {
  font-family: "BruumFY-Light", Arial, sans-serif;
  line-height: 1.6;
  margin-left: 0.5rem;
  margin-right: 4rem;
  font-size: 1rem;
}

/* Style for the thick red line */
.red-divider {
  height: 3px;
  background-color: var(--red-color);
  width: 70%;
  margin: 0 0 1.5rem 0;
  border-radius: 0;
}

/* ======================================================
   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 {
  background-color: #f5f5f5;
  padding: 3rem 0 0;
  border-top: 0;
  position: relative;
}

.footer-content-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 40px;
  padding: 1rem 0;
}

.footer-logo-column {
  width: 20%;
  min-width: 200px;
  padding-right: 20px;
}

.footer-logo-container {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding-right: 2rem;
  border-right: 1px solid #e0e0e0;
}

.logo-img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

/* Footer menu structure */
.footer-menu-wrapper {
  width: 80%;
  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: #000;
  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: #000;
  font-size: 0.8rem;
  margin-right: 0.5rem;
  min-width: 10px;
}

.footer-menu a {
  color: var(--text-color);
  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: 24px;
  color: #000;
  text-align: center;
  font-weight: bold;
  line-height: 28px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 1rem;
  color: var(--text-color);
  margin-bottom: 1rem;
}

/* Footer bottom section */
.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #e0e0e0;
}

.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 {
  text-align: center;
  font-size: 1rem;
  background-color: #000;
  color: #fff;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #fff;
}

/* ======================================================
   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);
  }

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

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

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

  .seven-continents-text {
    margin-top: 2rem;
  }

  .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%;
    padding-right: 0;
  }

  .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) {
  /* Header and navigation */
  .banner img {
    max-height: 180px;
  }

  /* 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) {
  /* 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;
  }

  /* 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;
  }
}
.social-icons li {
  display: inline-block;
  margin: -1px 5px 5px 0;
  padding: 0;
  border-radius: 100%;
  overflow: visible;
  box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.3);
}
.social-icons li a {
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  transition: all 0.2s ease;
  background: #fff;
  border-radius: 100%;
  display: block;
  height: 30px;
  line-height: 30px;
  width: 30px;
  text-align: center;
  color: #333 !important;
  text-decoration: none;
}
.social-icons .social-icons-facebook a {
  background: #3b5a9a !important;
  color: #fff !important;
}
.social-icons .social-icons-twitter a {
  background: #1aa9e1 !important;
  color: #fff !important;
}
.social-icons .social-icons-linkedin a {
  background: #0073b2 !important;
  color: #fff !important;
}
.social-icons .social-icons-youtube a {
  background: #c3191e;
  color: #fff !important;
}
#footer03 input {
  padding: 11px;
  background-color: #ccc;
}
.color-white {
  color: #fff;
}
a {
  text-decoration: none;
}
.pb-sm {
  padding-bottom: 0px !important;
}
#footer03 {
  border-top: 10px solid #ed2027 !important;
}

html[lang="ar-AE"] footer .pb-sm,
html[lang="ar-AE"] footer .pb-sm strong,
html[lang="ar-AE"] footer .pb-sm ~ div {
  text-align: right !important;
}

html[lang="ar-AE"] footer .pb-sm strong {
  display: block;
}

html[lang="ar-AE"] footer .pb-sm ~ div a {
  display: inline-block;
}

/* Mobile responsiveness for may-red and may-gry sections */
@media (max-width: 768px) {
  .may-red {
    padding: 20px 0;
  }

  .may-red h2 {
    font-size: 22px !important;
    line-height: 28px !important;
    padding: 0 15px;
    text-align: center;
  }

  .may-gry {
    padding: 20px 0;
  }

  .may-gry p {
    font-size: 16px !important;
    line-height: 24px !important;
    padding: 0 15px;
    text-align: justify;
  }
}

@media (max-width: 576px) {
  .may-red h2 {
    font-size: 20px !important;
    line-height: 26px !important;
  }

  .may-gry p {
    font-size: 15px !important;
    line-height: 22px !important;
  }
}

/* For tablets */
@media (min-width: 769px) and (max-width: 992px) {
  .may-red h2 {
    font-size: 26px !important;
    line-height: 34px !important;
  }

  .may-gry p {
    font-size: 20px !important;
    line-height: 30px !important;
  }
}

/* Footer logo responsive styling for mobile */
@media (max-width: 991.98px) {
  .col-lg-2 img[src*="footer-logo2023.PNG"] {
    width: 80% !important;
    max-width: 200px !important;
    height: auto !important;
    margin: 0 auto 20px auto !important;
    display: block !important;
  }
}

@media (max-width: 768px) {
  .col-lg-2 img[src*="footer-logo2023.PNG"] {
    width: 70% !important;
    max-width: 180px !important;
    margin: 0 auto 15px auto !important;
  }
}

@media (max-width: 576px) {
  .col-lg-2 img[src*="footer-logo2023.PNG"] {
    width: 60% !important;
    max-width: 150px !important;
    margin: 0 auto 10px auto !important;
  }
}

/* Footer menu mobile responsiveness */
@media (max-width: 991.98px) {
  #footer03 .row > div[class*="col-"] {
    text-align: center !important;
    margin-bottom: 30px !important;
  }

  #footer03 .color-white {
    font-size: 16px !important;
    line-height: 1.6 !important;
  }

  #footer03 strong {
    font-size: 18px !important;
    margin-bottom: 15px !important;
    display: block !important;
  }

  #footer03 .pb-sm {
    padding-bottom: 15px !important;
  }
}

@media (max-width: 768px) {
  #footer03 .container-fluid {
    padding: 2rem 1rem !important;
  }

  #footer03 .row > div[class*="col-"] {
    margin-bottom: 25px !important;
  }

  #footer03 .color-white {
    font-size: 15px !important;
    padding: 2px 0 !important;
  }

  #footer03 strong {
    font-size: 17px !important;
    margin-bottom: 12px !important;
  }

  /* Newsletter section adjustments */
  #footer03 input.form-control {
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  #footer03 .btn {
    width: 100% !important;
    max-width: 200px !important;
  }
}

@media (max-width: 576px) {
  #footer03 .container-fluid {
    padding: 1.5rem 0.5rem !important;
  }

  #footer03 .color-white {
    font-size: 14px !important;
  }

  #footer03 strong {
    font-size: 16px !important;
  }

  /* Social icons center alignment */
  #footer03 .social-icons {
    justify-content: center !important;
    text-align: center !important;
  }

  /* Copyright text */
  #footer03 .text-2 {
    font-size: 14px !important;
    padding: 0 10px !important;
  }
}

.social-icons-instagram i {
  background-color: #e4405f !important;
  color: #fff !important;
  padding: 8px !important;
  border-radius: 50px !important;
}
.profile p {
  font-size: 20px;
  text-align: justify;
  text-justify: inter-word; /* Optional: improves justification */
  line-height: 1.4; /* Optional: improves readability */
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
  background: transparent;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (min-width: 992px) {
  .fs-lg-2 {
    font-size: calc(1.325rem + 0.9vw) !important;
  }
  .fs-lg-5 {
    font-size: 1.25rem !important;
  }
}

/* Extra small devices (phones, less than 576px) */
@media (max-width: 575px) {
  .single-box .text h4 {
    font-size: 1.3rem !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991px) {
  .single-box .text h4 {
    font-size: 1.3rem !important;
  }
  .single-box .text h6 {
    font-size: 1.1rem !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199px) {
  .single-box .text h4 {
    font-size: 1.5rem !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .single-box .text h4 {
    font-size: 1.7rem !important;
  }
}

.footer-section-title {
  margin-top: 1.3rem;
  padding-bottom: 0;
}

/* Mobile only - space above headings */
@media (max-width: 991.98px) {
  .footer-section-title {
    margin-top: 1.1rem !important;
    padding-top: 1rem !important;
  }
}

.footer-section-title strong {
  display: block;
}

/* Mobile devices */
@media screen and (max-width: 767px) {
  .footer-section-title {
    margin-top: 1.3rem !important;
    padding-top: 1.2rem !important;
  }

  /* First section in each row */
  .row .col-lg-3:first-child .footer-section-title {
    margin-top: 1rem !important;
  }
}

/* Tablets */
@media screen and (min-width: 768px) and (max-width: 991px) {
  .footer-section-title {
    margin-top: 1rem !important;
  }
}

/* Desktop - preserve current look */
@media screen and (min-width: 992px) {
  .footer-section-title {
    margin-top: 1rem;
    padding-top: 0;
  }
}

/* Make header scroll with content on desktop only */
@media (min-width: 992px) {
  #header {
    position: static !important;
    top: auto !important;
  }
}

/* Keep sticky header on mobile */
@media (max-width: 991.98px) {
  #header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
  }
}

/* Enhanced hover effects for mobile menu */
.hover-bg-primary:hover {
  background-color: var(--bs-primary) !important;
  color: white !important;
  transform: translateX(2px);
  transition: all 0.2s ease-in-out;
}

/* Custom font size for mobile menu */
.fs-7 {
  font-size: 0.95rem;
}

/* Specific targeting for nav-link items */
.nav-link.fs-7 {
  font-size: 0.95rem !important;
}

/* Ensure proper spacing and alignment */
#mobileNav .nav-link {
  border: none !important;
  border-bottom: 1px solid #dee2e6 !important;
  border-radius: 0 !important;
  transition: all 0.2s ease-in-out;
}

/* Remove border from last item in each section */
#mobileNav .nav-item:last-child .nav-link {
  border-bottom: none !important;
}

/* Mobile responsive adjustments */
@media (max-width: 480px) {
  .fs-7 {
    font-size: 0.9rem;
  }

  .nav-link.fs-7 {
    font-size: 0.9rem !important;
  }
}
