html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans Devanagari', /* Hindi & Indian script support */ 'Noto Sans', /* Latin + Hindi support */ 'Segoe UI', 'Segoe UI Midlevel', 'Segoe WP',
    Arial, sans-serif, 'Eb Garamond' !important; /* Final serif fallback */
  transition: visibility 0s ease-in-out 0s, opacity 0.3s ease-in-out !important;
}

/* Loading State */
body.loading {
  visibility: hidden;
}

body:not(.loading) {
  visibility: visible;
}

/* Main Content */
.kingster-body-wrapper {
  flex: 1;
  width: 100%;
  position: relative;
  z-index: 1;
}

/* Loading Spinner */
.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  display: none;
}

body.loading .loading-spinner {
  display: block;
}

/* Ensure content is visible after loading */
body:not(.loading) {
  opacity: 1;
  visibility: visible;
}

/* Ensure contrast wrapper doesn't affect visibility */
.contrast-wrapper {
  opacity: 1;
  visibility: visible;
  width: 100%;
  min-height: 100vh;
}

/* Ensure all content is visible by default */
.kingster-top-bar,
.kingster-body-wrapper,
.kingster-footer-wrapper,
.section-background {
  visibility: visible;
}

/* Back to Top Button Styling */
/* Back to Top Button Styling */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, #0077b6, #00b4d8); /* Water-themed blue gradient */
  color: #fff;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0 8px 16px rgba(0, 123, 255, 0.25);
  transition: all 0.4s ease-in-out;
  cursor: pointer;
  border: 2px solid #fff;
}

/* Show Button */
.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
}

/* Hover Effect */
.back-to-top-btn:hover {
  background: linear-gradient(135deg, #00b4d8, #0077b6);
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0, 123, 255, 0.35);
  color: #ffe;
}

#spinner.show {
  display: flex !important;
}

#spinner {
  display: none;
  z-index: 9999;
}
/* Base Infinity Spinner Style*/
#spinner {
  background-color: rgba(21, 22, 31, 0.9); /* Maintain overlay feel */
  z-index: 1050; /* Make sure it stays on top */
}

#spinner svg {
  width: 60px;
  height: 27px;
}

.path {
  stroke-linecap: round;
  opacity: 0.8;
  animation: dash 1.75s linear infinite;
}

@keyframes dash {
  0% {
    stroke-dasharray: 0, 158;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 79, 158;
    stroke-dashoffset: -30px;
  }
  100% {
    stroke-dasharray: 0, 158;
    stroke-dashoffset: -158px;
  }
}

/* Base heading style for all levels */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin: 0;
  padding: 0;
  max-width: 100%;
  word-break: break-word;
  white-space: normal;
}

/* Font weights and sizes */
h1 {
  font-weight: 900; /* Bold */
  font-size: 3rem;
}

h2 {
  font-weight: 300; /* Light */
  font-size: 2rem;
}

h3 {
  font-weight: 100; /* Light */
  font-size: 1rem;
}

body.contrast-view {
  /* Add your contrast view styles here */
  background-color: black;
  color: white;
}

.apply-now-btn {
  transition: background-color 0.3s, transform 0.2s;
  cursor: pointer;
  animation: glowing 2s infinite;
}

@keyframes glowing {
  0% {
    box-shadow: 0 0 5px rgba(255, 105, 135, 0.5), 0 0 10px rgba(255, 105, 135, 0.9);
  }
  50% {
    box-shadow: 0 0 15px rgba(255, 105, 135, 0.7), 0 0 20px rgba(255, 105, 135, 0.9);
  }
  100% {
    box-shadow: 0 0 5px rgba(255, 105, 135, 0.5), 0 0 10px rgba(255, 105, 135, 0.9);
  }
}
/* Apply the dark background color to elements within .contrast-view */
.contrast-view {
  background-color: #111; /* Adjust the color to your preference */
  color: yellow !important;
}

/* Margin for Press and Release*/
/* Default: Mobile-first (small screens) */
.margin-top {
  margin: 1rem; /* all sides */
}

/* For tablets and up (>=768px) */
@media (min-width: 768px) {
  .margin-top {
    margin: 1rem 2rem; /* top-bottom: 1rem, left-right: 2rem */
  }
}

/* Style different elements within .contrast-view */
.contrast-view button,
.contrast-view a,
.contrast-view p,
.contrast-view .container,
.contrast-view .card {
  background-color: #000; /* Dark background for buttons, links, paragraphs, containers, and cards */
  color: yellow !important;
  border: 2px solid #888; /* Thicker and brighter border to differentiate */
  padding: 5px; /* Add padding for better readability */
}

/* Style headers with a darker background */
.contrast-view ul,
.contrast-view li,
.contrast-view h1,
.contrast-view h2,
.contrast-view h3,
.contrast-view h4,
.contrast-view h6 {
  background-color: #000; /* Dark background for headers */
  color: yellow !important;
  padding: 2px; /* Add padding for better readability */
}

/* Remove border styles for p and h tags */
.contrast-view p,
.contrast-view .container,
.contrast-view h1,
.contrast-view h2,
.contrast-view h3,
.contrast-view h4,
.contrast-view h6 {
  border: none; /* Remove border for p and h tags */
}

.dropcap-element-slot {
  font-size: 64px;
  font-family: 'Eb Garamond';
  font-style: normal;
  line-height: 52px;
  float: left;
  margin-right: 8px;
}

/* Useful links  styles */
.card-body {
  overflow-x: auto;
}

.impLinks-scroll {
  display: inline-block;
}

.impLinks-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

.link-card {
  margin-right: 15px; /* Adjust spacing between cards */
  flex: 0 0 auto; /* Prevent cards from growing to fill space */
  width: 200px;
}

/* style for  corarate gov profile images  */
.profile-picture {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: hidden;
}

.profile-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Default styles for the container */
#myContainer {
  align-items: center;
  justify-content: center;
  display: flex;
}

/* Media query for screens less than 900px wide */
@media screen and (max-width: 900px) {
  #myContainer {
    align-items: initial; /* Remove align-items property */
    justify-content: initial; /* Remove justify-content property */
    display: block; /* Change to the default display value, e.g., block */
  }
}

/* style Start  for brand logo */
.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.logo-image {
  margin-right: 15px; /* Adjust the margin as needed */
  /* box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2); */
}

/* Floating logo container */
/* Add this class to apply the wobble motion */
.wobble-animation {
  animation: govFloat 5s ease-in-out infinite;
  will-change: transform;
}

@keyframes govFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-3px);
  }
  50% {
    transform: translateY(2px);
  }
  75% {
    transform: translateY(-1px);
  }
}
.wobble-animation:hover {
  animation-play-state: paused;
}

.brand-text {
  display: flex;
  flex-direction: column;
  font-family: 'Poppins', sans-serif;
  font-weight: 400; /* Regular weight */
  text-align: center;
  color: #003299; /* White color for text */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Hide text between 950px and 1150px screen width */
@media screen and (max-width: 1150px) and (min-width: 951px) {
  .brand-text {
    display: none;
  }
}

.brand-name {
  display: flex;
  align-items: baseline; /* Align text baseline for proper alignment */
  margin-bottom: 4px; /* Add a bit of spacing between "Wapcos Limited" */
}

.wapcos-text {
  font-weight: bold; /* Bold style for WAPCOS */
  font-size: 2.5rem; /* Relative font size (adjust as needed) */
}

.limited-text {
  font-weight: bold; /* Lighter style for Limited */
  font-size: 2rem; /* Relative font size (adjust as needed) */
  margin-left: 0.5rem; /* Adjust the spacing between "WAPCOS" and "Limited" */
}

.slogan {
  color: #d63939; /* Red color for the slogan */
  font-size: 1rem; /* Relative font size (adjust as needed) */
  text-align: center; /* Center-align the slogan */
}

/* Show text above 1150px and below 950px screen width */
@media screen and (max-width: 950px) {
  .brand-text {
    display: flex;
  }
}

/* Hide text below 350px screen width */
@media screen and (max-width: 400px) {
  .brand-text {
    display: none;
  }
}
/* style End for brand logo */

/* style for  custom div for centeraligned */
.custom-container {
  min-height: calc(100vh - 3.5rem);
  display: flex;
  padding: 20px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Custom CSS for logo responsiveness */
.logo-image {
  height: 70%; /* Set the height to 70% of its container */
  max-height: 75px; /* Set the maximum height for the logo */
}

/* Use media queries for larger screens if needed */
/* For example, you can add a media query like this for tablets: */
@media (min-width: 768px) {
  .logo-image {
    height: 60%; /* Adjust the height for tablets */
  }
}

/* Add more media queries for larger screens if necessary */
/* For example, for desktops, you can add a media query like this: */
@media (min-width: 992px) {
  .logo-image {
    height: 50%; /* Adjust the height for desktop screens */
  }
}

/* Add more media queries for even larger screens if needed */
/* For example, for large desktops, you can add a media query like this: */
@media (min-width: 1200px) {
  .logo-image {
    height: 40%; /* Adjust the height for large desktop screens */
  }
}

/* style for spinner background fade */
.bg-overlay {
  background-color: rgba(0, 0, 0, 0.5); /* Adjust the opacity (last value) as desired */
}

.nav-item:hover {
  color: #fff; /* Replace with your desired vibrant color */
}
/* glow effect for  cards on index page */
.card:hover {
  transition: box-shadow 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
}

.jumbotron-glossy {
  background-color: #f8f9fa;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
}

.gradient-custom {
  position: relative;
  padding: 30px 0px;
  background-color: #f5eee8;
  background-image: url(../public/img/smbg.png);
  background-repeat: no-repeat;
}
.carousel-indicators {
  border-radius: 50%;
  width: 10px;
  height: 10px;
}

/*  style for heading on water resources page  */
.custom-subheading {
  font-size: 1rem;
  font-weight: 300;
  padding: 10px;
  justify-content: center;
  align-items: center;
  display: flex; /* changed from grid */
  width: 100%; /* ensure full width */
  background: url(/static/public/img/employees-bg.png) left top no-repeat, url(/static/public/img/employees-bg2.png) right bottom no-repeat;
  background-color: rgba(0, 0, 0, 0);
  background-size: auto, auto;
  background-size: 20%;
  white-space: nowrap; /* prevent line break in heading */
  overflow-x: auto; /* in case the heading overflows */
}
.custom-heading {
  font-size: 1.5rem;
  font-weight: 700; /* stronger weight for h1-like headings */
  border-left: 10px solid #0054a6;
  border-right: 10px solid #0054a6;
  padding: 10px;
  display: flex; /* changed from grid */
  justify-content: center; /* center horizontally */
  align-items: center; /* center vertically */
  width: 100%; /* ensure full width */
  background: url(/static/public/img/employees-bg.png) left top no-repeat, url(/static/public/img/employees-bg2.png) right bottom no-repeat;
  background-color: transparent;
  background-size: 25%, 25%;
  white-space: nowrap; /* prevent line break in heading */
  overflow-x: auto; /* in case the heading overflows */
}

/* Custom styles for the footer */
.footer {
  background-color: #222;
}

.footer a {
  color: #fff;
}

.footer h5 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.footer p {
  color: #ccc;
  margin-bottom: 0.5rem;
}

.footer img {
  width: 100%;
  height: auto;
}

.footer .btn-outline-secondary {
  color: #fff;
  border-color: #fff;
}

.footer .btn-outline-secondary:hover {
  background-color: #fff;
  color: #000;
}

.footer ul.list-unstyled {
  padding-left: 0;
}

.footer ul li {
  margin-bottom: 0.5rem;
}
/* Additional styles for the footer */

/* Additional styles for the Visitor  Counter  */
.counter {
  background: #fff;
  font-family: 'Noto Sans JP', sans-serif;
  text-align: center;
  width: 50%; /* Adjust the width as needed */
  padding: 0 0 15px; /* Adjust the padding as needed */
  margin: 0 auto 15px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  position: relative;
}

.counter .counter-value {
  color: #fff;
  background: linear-gradient(to right, #19bbd2, #2778ee);
  font-size: 28px; /* Adjust the font-size as needed */
  font-weight: 300;
  padding: 0 0 3px;
  margin: 0 0 15px;
  border-radius: 10px 10px 0 0;
  display: block;
}

.counter:before {
  content: '';
  background: #fff;
  width: 30px;
  height: 30px;
  border-radius: 5px 0;
  box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.07);
  transform: translateX(-50%) rotate(45deg);
  position: absolute;
  bottom: -15px;
  left: 50%;
}

.counter h3 {
  color: #2778ee;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: capitalize;
}

.counter .counter-icon {
  color: #fff;
  background: linear-gradient(to right, #19bbd2, #2778ee);
  font-size: 40px;
  line-height: 60px;
  width: 50%;
  margin: 0 auto;
  border-radius: 10px;
}

/* Additional styles for the image cards for text  */
.card .image-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.card .image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.card .image-overlay h4 {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
  text-align: center;
}

.card .image-container:hover .image-overlay {
  opacity: 1;
}
/* Additional styles for the download pdf icon animation */
.download-link {
  display: inline-table;
  transition: transform 0.3s ease-in-out;
}

.download-link:hover {
  transform: scale(1.2);
}
/* Additional styles for the icon animations */

.animated-card:hover .fa-globe-asia,
.animated-card:hover .fa-map-marked,
.animated-card:hover .fa-users,
.animated-card:hover .fa-check-circle {
  animation: rotate 1s;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Custom CSS for carousel controls */
.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

#smo-section {
  position: relative;
  padding: 30px 0px;
  background-color: #f5eee8;
  background-image: url(../public/img/smbg.png);
  background-repeat: no-repeat;
}
/* Custom CSS for news scrolling */

.news {
  min-width: 100px;
  max-width: fit-content;
}
.news-scroll-container {
  overflow: hidden; /* Hide any overflow */
  flex-grow: 1; /* Expand to fill available space */
}

.news-scroll a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
  animation: marquee 10s linear infinite;
  padding: 0 10px;
}
.news-scroll a:hover {
  color: #ebb506;
}
.news-scroll {
  display: inline-block; /* Display the news items in a single line */
  white-space: nowrap; /* Prevent wrapping to the next line */
  animation: news-scroll-animation 50s linear infinite; /* Use CSS animation for scrolling */
  animation-play-state: running; /* Ensure the animation is running by default */
}
/* Custom CSS for news scrolling */
.press-scroll {
  display: inline-block; /* Display the news items in a single line */
  white-space: nowrap; /* Prevent wrapping to the next line */
  animation: news-scroll-animation 40s linear infinite; /* Use CSS animation for scrolling */
  animation-play-state: running; /* Ensure the animation is running by default */
}
.press-scroll a {
  text-decoration: none;
  color: #000;
  transition: color 0.3s ease;
  animation: marquee 10s linear infinite;
  padding: 0 10px;
}
.press-scroll a:hover {
  color: #c68a00;
}

/* Modern News & Press Modal Custom Styling */

.modern-news-modal .modal-content {
  border-radius: 18px;
  box-shadow: 0 10px 48px 0 rgba(35, 36, 51, 0.12), 0 2px 6px 0 rgba(0, 0, 0, 0.04);
  background: linear-gradient(125deg, #f7faff 84%, #e9efff 100%);
  padding: 0;
  transition: box-shadow 0.25s;
}

/* Smoother Modal Appearance Animation */
.modern-news-modal.modal-fade .modal-dialog {
  transform: translateY(50px) scale(0.97);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1.05, 0.41, 1), opacity 0.38s cubic-bezier(0.42, 0, 0.58, 1);
}
.modern-news-modal.modal-fade.show .modal-dialog {
  transform: translateY(0) scale(1);
  opacity: 1;
  box-shadow: 0 18px 64px 0 rgba(59, 104, 184, 0.21), 0 4px 14px rgba(0, 0, 0, 0.09);
}

/* Header with Icon */
.modern-news-modal .modal-header {
  background: none;
  border: none;
  padding: 1.2rem 1.5rem 0.5rem 1.5rem;
  display: flex;
  align-items: center;
}

.modern-news-modal .modal-title {
  font-size: 1.25rem;
  color: #174ea6;
  letter-spacing: 0.02em;
}

.modern-news-modal .modal-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: linear-gradient(120deg, #4f8cff 75%, #e1f8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: #fff;
  box-shadow: 0 2px 8px rgba(79, 140, 255, 0.16);
}

/* Animated Divider */
.modern-news-modal .modal-divider {
  width: 96%;
  height: 3px;
  margin: 0 auto;
  background: linear-gradient(to right, #70bfff, #f8fafc 60%);
  border-radius: 3px;
  animation: dividerMove 2.2s linear infinite alternate;
}

@keyframes dividerMove {
  0% {
    background-position-x: 0%;
  }
  100% {
    background-position-x: 120%;
  }
}

.modern-news-modal .modal-body {
  background: none;
  padding: 20px 1.8rem 10px 1.6rem;
  color: #233233;
  font-size: 1.05rem;
  min-height: 120px;
  line-height: 1.55;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .modern-news-modal .modal-body,
  .modern-news-modal .news-download-buttons,
  .modern-news-modal .modal-header {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .modern-news-modal .modal-title {
    font-size: 1.08rem;
  }
}

.modern-news-modal .news-download-buttons,
.modern-news-modal .press-download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  background: none;
  border: none;
  min-height: 0;
  padding-bottom: 0.7rem;
}

.modern-news-modal .modal-footer {
  border-top: none;
  background: #ecf2fa;
  padding: 0.8rem 1.6rem 1.1rem 1.4rem;
  border-radius: 0 0 16px 16px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Buttons: Modern colors and hover states */
.modern-news-modal .btn-outline-secondary,
.modern-news-modal .btn {
  border-radius: 8px;
  color: #41649b;
  border: 1.5px solid #c5d7ff;
  background-color: #e4ecfa;
  font-weight: 500;
  transition: background 0.21s, color 0.18s, box-shadow 0.18s;
  box-shadow: none;
}

.modern-news-modal .btn-outline-secondary:hover,
.modern-news-modal .btn-outline-secondary:focus,
.modern-news-modal .btn:hover,
.modern-news-modal .btn:focus {
  background: linear-gradient(88deg, #bcd4f6 70%, #e9efff 100%);
  color: #184886;
  border-color: #5691f0;
  box-shadow: 0 2px 10px rgba(92, 138, 226, 0.14);
}

/* Success Button (View More) */
.modern-news-modal .btn-success {
  border-radius: 8px;
  background: linear-gradient(104deg, #24bb7f 60%, #19cef2 100%);
  border: none;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  transition: background 0.22s, box-shadow 0.18s;
  box-shadow: 0 3px 12px 0 rgba(36, 187, 127, 0.18);
}

.modern-news-modal .btn-success:hover,
.modern-news-modal .btn-success:focus {
  background: linear-gradient(104deg, #189b63 80%, #2276bb 100%);
  color: #fff;
  box-shadow: 0 8px 24px 0 rgba(36, 165, 187, 0.22);
}

/* Optional: Style close button for consistency */
.modern-news-modal .btn-close {
  color: #174ea6;
  opacity: 0.7;
  transition: opacity 0.14s, box-shadow 0.12s;
}
.modern-news-modal .btn-close:hover,
.modern-news-modal .btn-close:focus {
  opacity: 1;
  box-shadow: 0 2px 7px rgba(79, 140, 255, 0.09);
}

/* Custom CSS for the dot separator */
.dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  background-color: #000;
  border-radius: 50%;
  padding: 5px;
}

/* CSS animation for smooth scrolling */
@keyframes news-scroll-animation {
  0% {
    transform: translateX(10%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* CSS styles for the below cntact us  link  bar */

.kingster-top-bar1 {
  background-color: #333;
  color: #fff;
  padding: 5px 0;
}

.kingster-top-bar1 a {
  color: #96a2b8;
  margin-right: 10px;
}

.kingster-top-bar1 a:hover {
  color: #fff;
}

.kingster-top-bar1 a i {
  font-size: 15px;
}

/* CSS styles for the top bar */

.kingster-top-bar {
  background-color: #333;
  color: #fff;
  padding: 5px 0;
}

.kingster-top-bar a {
  margin-right: 10px;
}

.kingster-top-bar a:hover {
  color: #c8c7c7;
}

.kingster-top-bar a i {
  font-size: 15px;
}

.kingster-top-bar a.text-btn {
  background: #e4ff03;
  color: #000;
  padding: 2.5px;
  font-size: 12px;
}

.kingster-top-bar a.volume-btn {
  background: #3db166;
  padding: 0 4px;
}

.kingster-top-bar a.stop-btn {
  background: #3db166;
  padding: 0 6px;
  margin-right: 10px;
}

/* CSS for the carousel control buttons */
.carousel-control-prev,
.carousel-control-next {
  background-color: transparent;
  font-weight: normal;
  opacity: 0; /* Set initial opacity to 0 to make the buttons invisible */
  transition: opacity 0.3s; /* Add transition effect for opacity */
}

/* CSS for button hover */
.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: rgba(0, 0, 0, 0.241); /* Change background color to black on hover */
  opacity: 1; /* Set opacity to 1 on hover to make the buttons visible */
  font-weight: bold; /* Make the text bold on hover */
}

/* Dropdown Menu Base */
.navbar-nav .dropdown-menu {
  --tblr-dropdown-zindex: 1000;
  --tblr-dropdown-min-width: 11rem;
  --tblr-dropdown-padding-x: 0;
  --tblr-dropdown-padding-y: 0.25rem;
  --tblr-dropdown-font-size: 0.875rem;
  --tblr-dropdown-color: #ffffff;
  --tblr-dropdown-bg: rgba(0, 0, 0, 0.7);
  --tblr-dropdown-border-color: transparent;
  --tblr-dropdown-border-radius: 6px;
  --tblr-dropdown-border-width: 0;
  --tblr-dropdown-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --tblr-dropdown-link-color: #ffffff;
  --tblr-dropdown-link-hover-color: #000000;
  --tblr-dropdown-link-hover-bg: #ebb506;

  position: absolute !important;
  z-index: var(--tblr-dropdown-zindex) !important;
  display: none;
  min-width: var(--tblr-dropdown-min-width);
  padding: var(--tblr-dropdown-padding-y) var(--tblr-dropdown-padding-x);
  margin: 0;
  font-size: var(--tblr-dropdown-font-size);
  color: var(--tblr-dropdown-color);
  text-align: left;
  list-style: none;
  background-color: var(--tblr-dropdown-bg) !important;
  background-clip: padding-box;
  border: var(--tblr-dropdown-border-width) solid var(--tblr-dropdown-border-color);
  border-radius: var(--tblr-dropdown-border-radius);
  box-shadow: var(--tblr-dropdown-box-shadow);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.navbar-nav .dropdown-menu.show {
  display: block !important;
}

/* Custom Dropdown Item */
.navbar-nav .custom-dropdown-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  padding: 0.75rem 1rem;
  color: var(--tblr-dropdown-link-color) !important;
  text-decoration: none;
  background-color: transparent;
  border: 0;
  font-weight: 400;
  white-space: nowrap;
  position: relative;
}

.navbar-nav .custom-dropdown-item:hover {
  color: var(--tblr-dropdown-link-hover-color) !important;
  background-color: var(--tblr-dropdown-link-hover-bg) !important;
}

/* Publication Submenu Specific Styles */
.navbar-nav .dropend {
  position: relative !important;
}

.navbar-nav .dropend .dropdown-toggle {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100%;
  padding: 0.75rem 1rem;
  color: var(--tblr-dropdown-link-color) !important;
  text-decoration: none;
  background-color: transparent;
  border: 0;
  font-weight: 400;
  white-space: nowrap;
  position: relative;
}

.navbar-nav .dropend .dropdown-toggle::after {
  content: '' !important;
  display: inline-block !important;
  width: 0.5em !important;
  height: 0.5em !important;
  margin-left: 0.5em !important;
  border-top: 2px solid currentColor !important;
  border-right: 2px solid currentColor !important;
  transform: rotate(45deg) !important;
  transition: transform 0.2s ease !important;
  border-bottom: none !important;
  border-left: none !important;
}

.navbar-nav .dropend .dropdown-toggle[aria-expanded='true']::after {
  transform: rotate(135deg) !important;
}

/* Submenu Positioning */
.navbar-nav .dropend .dropdown-menu {
  position: absolute !important;
  top: 0 !important;
  left: 100% !important;
  margin-left: 0.125rem !important;
  min-width: 200px !important;
  display: none;
  background: var(--tblr-dropdown-bg) !important;
  border-radius: var(--tblr-dropdown-border-radius);
  box-shadow: var(--tblr-dropdown-box-shadow);
  transform: none !important;
  margin-top: 0 !important;
  overflow: visible !important;
}

.navbar-nav .dropend .dropdown-menu.show {
  display: block !important;
  transform: none !important;
}

.navbar-nav .dropend .dropdown-menu li {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Submenu Dropdown Specific Styles */
.navbar-nav .submenu-dropdown {
  position: absolute !important;
  top: 0 !important;
  left: 100% !important;
  margin-left: 0.125rem !important;
  min-width: 200px !important;
  display: none;
  background: var(--tblr-dropdown-bg) !important;
  border-radius: var(--tblr-dropdown-border-radius);
  box-shadow: var(--tblr-dropdown-box-shadow);
  transform: none !important;
  margin-top: 0 !important;
  overflow: visible !important;
  z-index: 1001 !important;
}

.navbar-nav .submenu-dropdown.show {
  display: block !important;
  transform: none !important;
}

.navbar-nav .submenu-dropdown li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.navbar-nav .submenu-dropdown .custom-dropdown-item {
  padding: 0.75rem 1rem;
  color: var(--tblr-dropdown-link-color) !important;
  text-decoration: none;
  background-color: transparent;
  border: 0;
  font-weight: 400;
  white-space: nowrap;
  display: block !important;
  width: 100% !important;
}

.navbar-nav .submenu-dropdown .custom-dropdown-item:hover {
  color: var(--tblr-dropdown-link-hover-color) !important;
  background-color: var(--tblr-dropdown-link-hover-bg) !important;
}

/* Dropdown Menu Columns */
.navbar-nav .dropdown-menu-columns {
  display: flex !important;
  flex-direction: column !important;
}

.navbar-nav .dropdown-menu-column {
  min-width: var(--tblr-dropdown-min-width);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .navbar-nav .dropdown-menu {
    position: static !important;
    background: rgba(0, 0, 0, 0.8) !important;
    border-radius: 6px;
    margin-top: 0.5rem;
  }

  .navbar-nav .custom-dropdown-item {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.25rem;
    border-radius: 4px;
  }

  .navbar-nav .dropend .dropdown-toggle {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.25rem;
    border-radius: 4px;
  }

  .navbar-nav .dropend .dropdown-menu,
  .navbar-nav .submenu-dropdown {
    position: static !important;
    margin-left: 1rem;
    background: rgba(0, 0, 0, 0.8) !important;
  }

  .navbar-nav .dropdown-menu-column {
    min-width: auto;
  }
}

/* Override Tabler CSS Variables */
:root {
  /* Dropdown Menu Variables */
  --tblr-dropdown-bg: rgba(0, 0, 0, 0.7);
  --tblr-dropdown-color: #ffffff;
  --tblr-dropdown-border-color: transparent;
  --tblr-dropdown-border-radius: 0 0 6px 6px;
  --tblr-dropdown-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --tblr-dropdown-padding-x: 0;
  --tblr-dropdown-padding-y: 0.5rem;
  --tblr-dropdown-font-size: 0.875rem;

  /* Dropdown Item Variables */
  --tblr-dropdown-link-color: #ffffff;
  --tblr-dropdown-link-hover-color: #000000;
  --tblr-dropdown-link-hover-bg: #ebb506;
  --tblr-dropdown-item-padding-x: 1rem;
  --tblr-dropdown-item-padding-y: 0.5rem;

  /* Active and Disabled States */
  --tblr-dropdown-link-active-color: #000000;
  --tblr-dropdown-link-active-bg: #ebb506;
  --tblr-dropdown-link-disabled-color: rgba(255, 255, 255, 0.5);
}

/* Dropdown Menu Base Styles */
.dropdown-menu {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border: none;
  overflow: hidden;
}

/* Dropdown Item Styles */
.dropdown-item {
  color: var(--tblr-dropdown-link-color);
}

.dropdown-item:hover {
  color: var(--tblr-dropdown-link-hover-color);
  background-color: var(--tblr-dropdown-link-hover-bg);
}

.dropdown-item.active {
  color: var(--tblr-dropdown-link-active-color);
  background-color: var(--tblr-dropdown-link-active-bg);
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .dropdown-menu {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 6px;
    margin-top: 0.5rem;
  }

  .dropdown-item {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.25rem;
    border-radius: 4px;
  }
}

.flag-grad-border {
  background-image: linear-gradient(90deg, #f09e4b, #e1dcd7, #e0e0e0, #d3dad2, #298921);
  border-top: 5px transparent;
  height: 5px;
}

#map {
  width: 100%;
  height: 600px; /* Adjust this value as needed */
}

.section-background {
  background-image: url('/static/public/img/bg_img.svg');
}
/* Apply contrast background to .section-background when contrast view is active */
.contrast-background {
  background-color: black !important;
}

.section-background-login {
  background: url(/static/public/img/to-the-new-2.svg) right bottom no-repeat;
  background-color: rgba(0, 0, 0, 0);
  background-size: auto, auto;
}

.section-background-card {
  background: url(/static/public/img/background-card.png) right bottom no-repeat;
  background-color: rgba(0, 0, 0, 0);
  background-size: auto, auto;
  background-size: 70%;
}
.carousel-outer {
  position: relative;
  width: 100%;
  /* Apply your desired shadow styles here */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden; /* This will clip the shadows outside the container */
}

/* Custom CSS for the carousel */
.carousel-item .d-flex .rounded-circle {
  width: 100px;
  height: 100px;
}
/* Media query for mobile-first design */
@media (max-width: 768px) {
  .publication-container,
  .press-release-container {
    padding: 20px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
  }

  .publication-container h2,
  .press-release-container h2 {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .publication-container h4,
  .press-release-container h4 {
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 10px;
  }

  .publication-container p,
  .press-release-container p {
    font-size: 16px;
    line-height: 1.5;
  }

  .publication-container ul,
  .press-release-container ul {
    margin-left: 20px;
  }

  .publication-container li,
  .press-release-container li {
    list-style-type: disc;
  }
}

/* CSS styles for the border after  contrast  button */
.text1 {
  border-right: 2px solid black;
  padding-right: 10px;
  margin-right: 10px;
  color: antiquewhite;
}
.text1:last-child,
.contrast-view-btn:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.text,
.contrast-view-btn {
  border-right: 2px solid black;
  padding-right: 10px;
  margin-right: 10px;
}

.text:last-child,
.contrast-view-btn:last-child {
  border-right: none;
  padding-right: 0;
  margin-right: 0;
}

.custom-border-bottom {
  border-bottom: 1px solid #ebb506;
  border-bottom-width: 2px;
  border-bottom-style: solid;
  padding-bottom: 15px;
  margin-bottom: 26px;
}

.custom-navbar-center {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: center;
}

/* Sticky Social Media Icons */

.sticky-social-icons {
  position: fixed;
  top: 40%;
  left: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
}

.sticky-social-icons a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 42px;
  height: 42px;
  margin: 4px 0;
  background-color: #2b2b2b;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  overflow: hidden;
  border-top-right-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.sticky-social-icons a i {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  padding: 10px;
  width: 42px;
  height: 42px;
  text-align: center;
}

.sticky-social-icons a span {
  white-space: nowrap;
  padding: 0 12px;
  opacity: 0;
  transform: translateX(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-size: 14px;
  font-weight: 500;
}

.sticky-social-icons a:hover {
  width: 160px;
  background-color: #0d6efd;
}

.sticky-social-icons a:hover span {
  opacity: 1;
  transform: translateX(0);
}

/* SVG Wrapper to behave like font-awesome icons */
.sticky-social-icons .x-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 10px;
}

/* Scale + color the SVG to match other icons */
.sticky-social-icons .x-icon {
  width: 18px;
  height: 18px;
  fill: #fff;
}
/* Individual Colors (updated for latest brand design) */
.sticky-social-icons .x-twitter:hover {
  background-color: #000; /* X brand: black */
  color: #fff;
}

.sticky-social-icons .facebook:hover {
  background-color: #1877f2; /* Facebook blue */
  color: #fff;
}

.sticky-social-icons .linkedin:hover {
  background-color: #0077b5; /* LinkedIn blue */
  color: #fff;
}

@media (max-width: 768px) {
  .sticky-social-icons {
    display: none;
  }
}

/* CSS styles for the Image brand logo*/
.logo-container {
  display: flex;
  align-items: center;
}

.logo-image {
  margin-right: 15px; /* Adjust spacing between images */
  border-radius: 40px;
}
.logo-image2 {
  margin-right: 10px; /* Adjust spacing between images */
}

@media (max-width: 1400px) {
  .second-logo {
    width: 50%;
  }
}

.flare {
  background: #ebb506;
}

.flare a.nav-link {
  color: #fff !important;
}

.topbarElements > div:nth-of-type(1) {
  font-size: 48px;
  margin: 12px 32px;
  color: #c68a00;
}

@media (max-width: 1304px) {
  .home-text {
    display: none;
  }
}

@media (min-width: 1040px) {
  .flare {
    margin-right: 0px;
  }
}

@media (max-width: 1029px) {
  .navbar-nav {
    margin-bottom: 15px;
  }
  .nav-item {
    .nav-item {
      border-left: 1px solid #332e2e54;
      background: #b2b2b2;
    }

    .nav-item:hover {
      border-left-color: #ebb506;
    }

    .dropdown-menu-start {
      left: auto !important;
      right: 0;
    }

    .dropdown-menu-start .dropdown-item {
      padding: 0.5rem 1rem;
      font-size: 14px;
    }

    @media (max-width: 991.98px) {
      .navbar-nav {
        margin-bottom: 15px;
      }

      .nav-item {
        background: rgba(255, 255, 255, 0.1);
        margin: 2px;
        border-radius: 0;
        height: auto;
        line-height: normal;
        border-left: none;
      }

      .nav-item a.nav-link {
        padding: 0.5rem 1rem;
      }

      .navbar-toggler {
        margin-right: 0;
      }

      .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        transform: none;
      }

      .navbar-nav .dropdown-menu-start {
        transform: none !important;
      }
    }
  }
}

/* Engineered by IT Division Watermark */
.footer-credit {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f0f0f0;
  text-shadow: 0 0 2px rgba(255, 255, 255, 0.1), 1px 1px 2px rgba(0, 0, 0, 0.6);
}

.footer-credit a {
  color: #4db8ff; /* Light cyan blue */
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-credit a:hover {
  color: #89cfff; /* Brighter on hover */
  text-decoration: underline;
}

/*Address section style for base */
/*   styling   for address section */
.contact-info {
  color: #cdcccc;
  max-width: 400px;
  margin: auto;
}

.contact-info address {
  display: flex;
  align-items: baseline; /* baseline aligns text and icon on their text baseline */
  margin-bottom: 1rem;
  font-style: normal;
  line-height: 1.4;
  gap: 12px;
}

.contact-info .contact-icon {
  font-size: 1.1rem;
  color: #ebb506;
  margin-right: 12px;
  transition: color 0.3s ease;
  min-width: 24px;
  flex-shrink: 0;
  text-align: center;
}

.contact-info address a {
  color: #cdcccc;
  text-decoration: none;
  align-items: baseline;
  top: 0.4em;
  position: relative;
  transition: color 0.3s ease, text-decoration 0.3s ease;
  white-space: normal;
  display: inline;
  word-break: break-word;
}

.contact-info address a:hover {
  color: #ebb506;
  text-decoration: underline;
}

.contact-info abbr[title] {
  border-bottom: none;
  font-weight: 600;
  margin-right: 6px;
  color: #cdcccc;
}

/* Responsive tweaks */
@media (max-width: 576px) {
  .contact-info address {
    justify-content: flex-start; /* left align */
  }

  /* reduce icon margin on small screens */
  .contact-info address i {
    margin-right: 8px;
  }

  /* allow text to wrap but keep next to icon */
  .contact-info address div {
    flex: 1 1 auto;
  }
}
/* Login page  sign in button  hover effect */
.btn {
  font-size: var(--size);
  appearance: none;
  background: transparent;
  padding: 1em 2em;
  border-radius: 100px;
  border: 1px solid white;
  color: white;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  cursor: pointer;
}

.btn:hover {
  color: black;
}

.btn-content {
  pointer-events: none;
  position: relative;
  z-index: 3;
}

.btn-cells {
  position: absolute;
  z-index: 2;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  grid-auto-rows: 1fr;
  overflow: hidden;
}

.btn-cells span {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
}

.btn-cells span::before {
  content: '';
  display: block;
  position: absolute;
  width: 50px;
  height: 50px;
  background: #51f0ed;
  background-image: linear-gradient(to right, #12a09e, color-mix(in srgb, #51f0ed, white 50%));
  transition: transform 0.4s ease;
  transform: scale(0);
  border-radius: 100px;
  top: 50%;
  left: 50%;
  transform-origin: center;
  transform-style: preserve-3d;
  transform: translate(-50%, -50%) scale(0);
}

.btn-cells span:hover::before {
  transform: translate(-50%, -50%) scale(12);
}

.btn-cells span:hover ~ span {
  pointer-events: none;
}

/* Override Tabler Dropdown Styles */
.navbar .dropdown-menu,
.navbar-nav .dropdown-menu {
  --tblr-dropdown-bg: rgba(0, 0, 0, 0.7);
  --tblr-dropdown-color: #ffffff;
  --tblr-dropdown-border-color: transparent;
  --tblr-dropdown-border-radius: 0 0 6px 6px;
  --tblr-dropdown-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --tblr-dropdown-min-width: 150px;
  --tblr-dropdown-padding-x: 0;
  --tblr-dropdown-padding-y: 0.5rem;
  --tblr-dropdown-font-size: 0.875rem;
  --tblr-dropdown-link-color: #ffffff;
  --tblr-dropdown-link-hover-color: #000000;
  --tblr-dropdown-link-hover-bg: #ebb506;
  --tblr-dropdown-item-padding-x: 1rem;
  --tblr-dropdown-item-padding-y: 0.5rem;
  --tblr-dropdown-link-active-color: #000000;
  --tblr-dropdown-link-active-bg: #ebb506;
  --tblr-dropdown-link-disabled-color: rgba(255, 255, 255, 0.5);

  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 180px;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 0.8rem;
  color: #ffffff;
  text-align: left;
  list-style: none;
  background-color: rgba(0, 0, 0, 0.7);
  background-clip: padding-box;
  border: none;
  border-radius: 0 0 6px 6px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  overflow: hidden;
}

.navbar .dropdown-menu.show,
.navbar-nav .dropdown-menu.show {
  display: block;
}

/* Dropdown Items */
.navbar .dropdown-item,
.navbar-nav .dropdown-item {
  color: #ffffff;
  padding: 0.75rem 1rem;
  display: block;
  width: 100%;
  clear: both;
  text-align: left;
  background-color: transparent;
  border: 0;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.navbar .dropdown-item:hover,
.navbar-nav .dropdown-item:hover {
  color: #000000;
  background-color: #ebb506;
}

.navbar .dropdown-item.active,
.navbar-nav .dropdown-item.active {
  color: #000000;
  background-color: #ebb506;
}

/* Mobile Responsive */
@media (max-width: 767px) {
  .navbar .dropdown-menu,
  .navbar-nav .dropdown-menu {
    position: static;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 6px;
    margin-top: 0.5rem;
    min-width: 100%;
    max-width: 100%;
  }

  .navbar .dropdown-item,
  .navbar-nav .dropdown-item {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin: 0.25rem;
    border-radius: 4px;
    font-size: 0.9rem;
  }
}

/* Ensure dropdowns don't overflow viewport */
@media (min-width: 768px) {
  .navbar .dropdown-menu,
  .navbar-nav .dropdown-menu {
    max-height: calc(100vh - 100px);
    overflow-y: auto;
  }
}
