

/* ====== GENERAL STYLES ====== *//* ====== GENERAL STYLES ====== */
.topbar {
  background-color: #2b66b1;
  color: #ffffff;
  padding: 0.5rem 0;
  position: relative;
}

.topbar a {
  color: #ffffff;
  text-decoration: none;
}

.topbar a:hover {
  text-decoration: underline;
}

.topbar .topbar-item {
  flex: 1 1 0;
  text-align: center;
  white-space: nowrap;
  padding: 0.25rem 0.5rem;
}

.topbar i {
  margin-right: 6px;
}

/* Navbar toggler icon white */
.navbar-toggler {
  border-color: transparent;
  background: none;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.8%29' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}


/* Wrapper for toggle and dropdown */
.topbar-menu-wrapper {
  position: relative;
  margin-left: auto; /* Push it to right */
  display: none; /* Hidden by default, show on mobile */
}

/* Dropdown menu container */
.topbar-dropdown-menu {
  position: absolute;
  top: 100%; /* Below toggle button */
  right: 0;
  background-color: #2b66b1;
  color: white;
  border-radius: 0.25rem;
  min-width: 200px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  display: none;
  z-index: 1050;
  padding: 0.5rem 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

/* Show dropdown */
.topbar-dropdown-menu.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

/* Dropdown items */
.topbar-dropdown-menu a {
  display: block;
  color: white;
  padding: 0.4rem 0;
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
  border-radius: 0.2rem;
  transition: background-color 0.2s ease;
}

.topbar-dropdown-menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  /* Hide full topbar items on mobile */
  .topbar .topbar-item {
    display: none;
  }

  /* Show toggler + dropdown on mobile */
  .topbar-menu-wrapper {
    display: block;
  }
}

@media (min-width: 768px) {
  /* Show full topbar items on desktop */
  .topbar .topbar-item {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Hide toggler and dropdown on desktop */
  .topbar-menu-wrapper {
    display: none;
  }
}

    /* 
  Styles for the Header Section:
  - Prevents the header elements (logos and text) from wrapping onto multiple lines
  - Ensures responsive scaling of logos and text based on screen size
  - Toggles the header text between full and short versions on small screens (mobile)
*/

.header-section {
  flex-wrap: nowrap; /* prevent wrapping */
}

.header-logo img {
  max-width: 100%;
  height: auto;
}

@media (max-width: 576px) {
  .header-text {
    font-size: 1rem;
    min-width: 120px;
  }
  .header-logo {
    flex: 0 0 20%;
    min-width: 60px;
  }
  .header-logo img {
    max-height: 60px;
  }
}

/* By default, show full text */
.header-text .full-text {
  display: inline;
}

.header-text .short-text {
  display: none;
}

/* On small screens, show only short text */
@media (max-width: 576px) {
  .header-text .full-text {
    display: none;
  }
  .header-text .short-text {
    display: inline;
  }
}


/* ====== NAVBAR STYLES ====== */

/* Navbar brand styling */
/* Prevent horizontal scrolling on small devices */
body {
  overflow-x: hidden;
}

/* Global container padding and responsiveness */

/* Navbar brand styling */
.navbar-brand {
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: white !important;
}

/* Ensure nav items wrap if needed */
.navbar-nav {
  flex-wrap: wrap;
}

/* Nav link font scaling for responsiveness */
.nav-link {
  font-size: clamp(0.875rem, 1.8vw, 1rem);
}

/* Adjust nav items spacing on desktop */
@media (min-width: 768px) {
  .navbar-nav .nav-item {
    margin-left: 1rem;
  }

  /* Dropdown menus hidden initially */
  .dropdown-menu {
    opacity: 0;
    visibility: hidden;
    transform: translateY(0);
    transition: opacity 0.3s ease;
    margin-top: 0;
    display: block; /* preserve space for transition */
    background-color: white;
    border-radius: 0.25rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding: 1rem 2rem;
    min-width: 15rem;
    color: #1f5490;
  }

  /* Show dropdown on hover with fade */
  .nav-item.dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Dropdown item spacing and padding */
  .dropdown-menu .dropdown-item {
    padding: 0.5rem 1rem; /* reduced padding */
    font-weight: 500;
    color: #1f5490;
    border-radius: 0.25rem;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-break: break-word;
  }

  /* Hover/focus styles */
  .dropdown-menu .dropdown-item:hover,
  .dropdown-menu .dropdown-item:focus {
    background-color: #1f5490;
    color: #fff;
  }
}

/* On mobile: vertical nav, full width */
@media (max-width: 767.98px) {
  .navbar-nav {
    flex-direction: column !important;
    padding-left: 0;
  }

  .nav-link {
    padding-left: 1rem !important;
  }

  /* Dropdown menus collapsed by default */
  .dropdown-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.4s ease;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    background-color: transparent !important;
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
    margin-top: 0 !important;
    display: block !important;
  }

  /* Show dropdown when toggled */
  .dropdown-menu.show {
    max-height: 500px;
    opacity: 1;
    padding-left: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  /* Dropdown items on mobile */
  .dropdown-menu .dropdown-item {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;   /* reduced vertical padding */
    padding-bottom: 0.5rem;
    border-radius: 0;
    width: 100%;
    color: #1f5490;
    white-space: normal;
    word-break: break-word;
  }

  /* Hover/focus styles for mobile */
  .dropdown-menu .dropdown-item:hover,
  .dropdown-menu .dropdown-item:focus {
    background-color: #1f5490;
    color: #ffffff;
  }
}

/* Base styles for all dropdown menus (regular and mega) */
.dropdown-menu,
.mega-dropdown {
  background-color: white;
  border-radius: 0.25rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 2rem;
  min-width: 15rem;
  color: #1f5490;
}

/* Mega dropdown layout on desktop */
@media (min-width: 768px) {
  .mega-dropdown {
    position: absolute;
    top: 100%;
    left: 0 !important;
    right: 0 !important;
    margin-top: -7px !important;
    min-width: 100vw;
    border-radius: 0;
    padding: 1rem 3rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-top: 3px solid #1f5490;
    display: grid;
    gap: 1rem 2rem;
    white-space: normal;
    z-index: 1050;
    background-color: white;
  }

  /* Add horizontal padding inside each column */
  .mega-dropdown > .container-fluid > .row > .col {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  /* Mega dropdown items styling */
  .mega-dropdown .dropdown-item {
    padding: 0.5rem 0.75rem; /* reduced padding */
    font-weight: 500;
    color: #1f5490;
    border-radius: 0.25rem;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: normal;
    word-break: break-word;
  }

  .mega-dropdown .dropdown-item:hover,
  .mega-dropdown .dropdown-item:focus {
    background-color: #1f5490;
    color: #fff;
  }
}

/* Mobile view: both dropdowns become vertical lists with consistent styling */
@media (max-width: 767.98px) {
  .dropdown-menu,
  .mega-dropdown {
    position: static !important;
    box-shadow: none !important;
    border: none !important;
    background-color: white !important;
    padding: 0 !important;
    min-width: auto !important;
    width: 100% !important;
    margin-top: 0 !important;
    display: block !important;
  }

  .dropdown-menu .dropdown-item,
  .mega-dropdown .dropdown-item {
    padding-left: 1rem;
    padding-right: 1rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-radius: 0;
    width: 100%;
    color: #1f5490;
    white-space: normal;
    word-break: break-word;
  }
}


.mega-dropdown h5 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Mega dropdown scrollable content */
.mega-dropdown-scroll {
  max-height: 400px; /* Adjust this height as needed */
  overflow-y: auto;
  overflow-x: hidden;

}

/* Optional: Customize scrollbar (for WebKit browsers) */
.mega-dropdown-scroll::-webkit-scrollbar {
  width: 6px;
}
.mega-dropdown-scroll::-webkit-scrollbar-thumb {
  background-color: #ccc;
  border-radius: 3px;
}


/* Default carousel image styling (desktop/tablet) */
.carousel-item {
  height: auto;
}

.carousel-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

/* ====== MOBILE-SPECIFIC STYLES ====== */
@media (max-width: 768px) {
  .carousel-item {
    height: 70vh;
  }

  .carousel-item img {
    height: 100%;
    object-fit: cover;
    object-position: right center; /* Focus on the left */
  }
}



.btn-warning {
    background-color: #f3ed33!important;
    border-color: #f3ed33;

}
.partner-slider {
  padding: 20px 0;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.partner-track {
  display: flex;
  align-items: center;
  gap: 3rem; /* slightly smaller gap */
  width: max-content;
  animation: scroll-partners 30s linear infinite;
  white-space: nowrap; /* Prevent wrapping */
}

.partner-logo {
  flex: 0 0 auto;
  text-align: center;
  margin-right: 0; /* Remove margin that could cause gaps */
}

.partner-logo img {
  width: 120px;
  height: auto;
  transition: transform 0.3s ease;
}

.partner-logo img:hover {
  transform: scale(1.1);
}

@keyframes scroll-partners {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .partner-logo img {
    width: 80px;
  }

  .partner-track {
    gap: 1.5rem; /* reduce gap on small screens */
  }
}
/* ====== PRELOADER STYLES ====== */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff; /* Or your site background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* Spinner style */
.spinner {
  width: 40px;
  height: 40px;
  border: 5px solid #2b66b1;
  border-top: 5px solid transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}





  .clients-served-section {
    background-color: #f9f9f9;
  }

  .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem 2rem;
    max-width: 960px;
    margin: 0 auto;
  }

  .client-card {
    background: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgb(0 0 0 / 0.1);
    font-size: 1.1rem;
    font-weight: 600;
    color: #2b66b1;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .client-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgb(43 102 177 / 0.3);
  }

  .client-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
  }

  @media (max-width: 480px) {
    .clients-grid {
      grid-template-columns: 1fr;
      max-width: 100%;
      padding: 0 1rem;
    }

    .client-card {
      justify-content: flex-start;
    }
  }






  /* Info Section Styles */
.info-section {
  background-color: #f9f9f9;
  padding: 60px 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
}

.info-section .container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Section Titles */
.info-section h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 25px;
  color: #222;
}

/* Quick Links */
.quick-links-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.quick-links-list li {
  margin-bottom: 12px;
}

.quick-links-list li a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.quick-links-list li a:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* News List */
.news-list-item {
  margin-bottom: 20px;
}

.news-list-item .date {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 4px;
}

.news-list-item .title a {
  font-size: 1rem;
  font-weight: 500;
  color: #222;
  text-decoration: none;
}

.news-list-item .title a:hover {
  color: #007bff;
}

/* Events List */
.event-list-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.event-list-item .date {
  width: 50px;
  height: 50px;
  background-color:  #2b66b1;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  margin-right: 15px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-list-item .date .day {
  font-size: 1.2rem;
  font-weight: bold;
  line-height: 1;
}

.event-list-item .date .month {
  font-size: 0.75rem;
  line-height: 1;
  text-transform: uppercase;
}

.event-list-item h6 {
  font-size: 1rem;
  margin: 0;
}

.event-list-item h6 a {
  color: #222;
  text-decoration: none;
  font-weight: 600;
}

.event-list-item h6 a:hover {
  color: #007bff;
}

.event-list-item small i {
  color: #555;
}

/* Buttons */
.info-section .btn-warning {
  background-color: #2b66b1;
  border: none;
  color: #222;
  transition: background-color 0.3s ease;
}

.info-section .btn-warning:hover {
  background-color:  #2b66b1;
  color: #000;
}

@media (max-width: 991.98px) {
  .info-section {
    padding: 40px 0;
  }

  .info-section h3 {
    font-size: 1.3rem;
  }

  .event-list-item {
    flex-direction: row;
  }

  .event-list-item .date {
    margin-bottom: 0;
  }
}


/* Section Heading */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}



.about-links-box {
  background-color: #2b66b1;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-link {
  display: block;
  padding: 10px 15px;
  border-left: 4px solid transparent;
  font-weight: 500;
  color: #ffffff;
  background-color: transparent;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.about-link:hover {
  background-color: #1f4c87;
  color: #f9d923;
  border-left: 4px solid #f9d923;
}

.about-link.active {
  background-color: #1f4c87;
  border-left: 4px solid #f9d923;
  color: #f9d923;
}
