:root {
  --default-font: "Roboto", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Raleway", sans-serif;
  --nav-font: "Inter", sans-serif;


  --blue: #0077cc;           /* Main water blue */
  --blue-dark: #005fa3;      /* Darker shade for hover, active */
  --blue-light: #d0e6fb;     /* Light shade for backgrounds or hover */
  --blue-accent: #4a9de3;    /* Medium blue for accents */
  --blue-pale: #e8f3ff;      /* Very light blue for backgrounds */


  --font: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;

  /* Global colors */
  --background-color: #ffffff; /* Website background */
  --default-color: #444444;    /* Text default */
  --heading-color: #273d4e;    /* Headings */
  --accent-color: var(--blue); /* Accent color replaced with water blue */
  --surface-color: #ffffff;    /* Surface backgrounds */
  --contrast-color: #ffffff;   /* Contrast text on accent */

  /* Nav colors */
  --nav-color: #e5eaee;
  --nav-hover-color: var(--blue-dark);
  --nav-mobile-background-color: #ffffff;
  --nav-dropdown-background-color: #ffffff;
  --nav-dropdown-color: #444444;
  --nav-dropdown-hover-color: var(--blue-dark);
}

/* Color Presets */
.light-background {
  --background-color: #F8F9FA; 
}

.dark-background {
  --background-color: #000910;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #28323a;
  --contrast-color: #ffffff;
}


/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

.x {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: color 0.3s ease;
  font-weight: 600;
  margin-right: 8px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}
h3 {
color: black;
}

h1,
h2, 
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

#about ul {
  list-style: none;
  padding-left: 0;
}


/* Pulsating Play Button
------------------------------*/
.pulsating-play-btn {
  width: 94px;
  height: 94px;
  background: radial-gradient(var(--accent-color) 50%, color-mix(in srgb, var(--accent-color), transparent 75%) 52%);
  border-radius: 50%;
  display: block;
  position: relative;
  overflow: hidden;
}

.pulsating-play-btn:before {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  animation-delay: 0s;
  animation: pulsate-play-btn 2s;
  animation-direction: forwards;
  animation-iteration-count: infinite;
  animation-timing-function: steps;
  opacity: 1;
  border-radius: 50%;
  border: 5px solid color-mix(in srgb, var(--accent-color), transparent 30%);
  top: -15%;
  left: -15%;
  background: rgba(198, 16, 0, 0);
}

.pulsating-play-btn:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 100;
  transition: all 400ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
}

.pulsating-play-btn:hover:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateX(-40%) translateY(-50%);
  width: 0;
  height: 0;
  border: none;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 15px solid #fff;
  z-index: 200;
  animation: none;
  border-radius: 0;
}

.pulsating-play-btn:hover:after {
  border-left: 15px solid var(--accent-color);
  transform: scale(20);
}

@keyframes pulsate-play-btn {
  0% {
    transform: scale(0.6, 0.6);
    opacity: 1;
  }

  100% {
    transform: scale(1, 1);
    opacity: 0;
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  --background-color: rgba(0, 0, 0, 0);
  --default-color: #ffffff;
  --heading-color: #ffffff;
  color: var(--default-color);
  padding: 20px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  height: 50px; 
  margin-right: 12px;
}

.header .logo h1 {
  font-size: 1.5rem;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
  display: inline-block;
}

/* On small screens, hide text and center logo image */
@media (max-width: 768px) {
  .header .logo {
    justify-content: center;  /* center the content */
    width: 100%;             /* take full width */
  }

  .header .logo h1 {
    display: none; /* hide the text */
  }

  .header .logo img {
    margin: 0 auto; /* center the image */
    display: block;
  }
}


.header .cta-btn,
.header .cta-btn:focus {
  color: var(--contrast-color);
  font-size: 13px;
  padding: 7px 25px;
  margin: 0 0 0 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
  border: 2px solid var(--contrast-color);
}

.header .cta-btn:hover,
.header .cta-btn:focus:hover {
  color: var(--contrast-color);
  background: var(--accent-color);
  border-color: var(--accent-color);
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .cta-btn {
    order: 2;
    margin: 0 15px 0 0;
    padding: 6px 15px;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
  background: rgba(0, 0, 0, 0.9); /* translucent blue */
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
  --background-color: rgba(21, 34, 43, 0.85);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu>ul>li {
    white-space: nowrap;
    padding: 15px 14px;
  }

  .navmenu>ul>li:last-child {
    padding-right: 0;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    font-size: 13px;
    padding: 0 2px;
    font-family: var(--nav-font);
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
    position: relative;
    text-transform: uppercase;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu>ul>li>a:before {
    content: "";
    position: absolute;
    height: 2px;
    bottom: -6px;
    left: 0;
    background-color: var(--nav-hover-color);
    visibility: hidden;
    width: 0px;
    transition: all 0.3s ease-in-out 0s;
  }

  .navmenu a:hover:before,
  .navmenu li:hover>a:before,
  .navmenu .active:before {
    visibility: visible;
    width: 100%;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: color-mix(in srgb, var(--nav-color) 90%, white 15%);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    color: var(--nav-color);
    font-size: 28px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    transition: color 0.3s;
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  font-size: 14px;
  position: relative;
}

.footer .footer-top {
  padding-top: 50px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-about .logo {
  line-height: 1;
  margin-bottom: 25px;
}

.footer .footer-about .logo img {
  max-height: 40px;
  margin-right: 6px;
}

.footer .footer-about .logo span {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 1px;
  font-family: var(--heading-font);
  color: var(--heading-color);
}

.footer .footer-about p {
  font-size: 14px;
  font-family: var(--heading-font);
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  margin-right: 10px;
  transition: 0.3s;
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.footer h4 {
  font-size: 16px;
  font-weight: bold;
  position: relative;
  padding-bottom: 12px;
}

.footer .footer-links {
  margin-bottom: 30px;
}

.footer .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links ul i {
  padding-right: 3px;
  font-size: 13px;
  line-height: 0;
  color: var(--accent-color);
}

.footer .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  display: inline-block;
  line-height: 1;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

.footer .footer-contact p {
  margin-bottom: 5px;
}

.footer .footer-newsletter .newsletter-form {
  margin-top: 30px;
  margin-bottom: 15px;
  padding: 6px 8px;
  position: relative;
  border-radius: 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  display: flex;
  background-color: var(--background-color);
  transition: 0.3s;
}

.footer .footer-newsletter .newsletter-form:focus-within {
  border-color: var(--accent-color);
}

.footer .footer-newsletter .newsletter-form input[type=email] {
  border: 0;
  padding: 4px;
  width: 100%;
  background-color: var(--background-color);
  color: var(--default-color);
}

.footer .footer-newsletter .newsletter-form input[type=email]:focus-visible {
  outline: none;
}

.footer .footer-newsletter .newsletter-form input[type=submit] {
  border: 0;
  font-size: 16px;
  padding: 0 20px;
  margin: -7px -8px -7px 0;
  background: var(--accent-color);
  color: var(--contrast-color);
  transition: 0.3s;
  border-radius: 0 30px 30px 0;
}

.footer .footer-newsletter .newsletter-form input[type=submit]:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.footer .copyright {
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .copyright p {
  margin-bottom: 0;
}

.footer .credits {
  margin-top: 6px;
  font-size: 13px;
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.6s ease-out;
}

.lottie-loader {
  transform: scale(1.5); /* Increases size by 50% */
}

/* Alternative approach with direct size adjustment */
.lottie-loader lottie-player {
  width: 250px !important; /* Increased from 200px */
  height: 250px !important; /* Increased from 200px */
} 

  /* Modern Preloader */
#welcome-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    overflow: hidden;
    font-family: 'Inter', system-ui, sans-serif;
    background-color: white;
}

.preloader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    max-width: 600px;
    z-index: 10;
}

/* Lottie Animation */
.lottie-container {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.08));
}

/* Typography */
.welcome-message-container {
    margin-bottom: 2rem;
    width: 100%;
}

.welcome-message {
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#typed-text {
    display: inline;
    text-align: center;
}

.cursor {
    display: inline-block;
    background-color: #0077cc;
    width: 2px;
    height: 1.3em;
    margin-left: 2px;
    animation: blink 1s infinite;
    border-radius: 1px;
    vertical-align: middle;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Progress Bar */
.loading-bar-container {
    width: 100%;
    max-width: 400px;
    height: 3px;
    background: rgba(0, 119, 204, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: #0077cc;
    border-radius: 2px;
    animation: loading 2.5s ease-out;
}

@keyframes loading {
    0% { width: 0%; }
    70% { width: 90%; }
    100% { width: 100%; }
}

/* Footer Quote */
.preloader-footer {
    margin-top: 2rem;
}

.inspiring-quote {
    color: #666;
    font-style: italic;
    font-size: 0.9rem;
    margin: 0;
    animation: fadeInOut 3s ease-in-out infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Minimal Water Effect */
.water-effect {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 10%;
    background: radial-gradient(ellipse at center, rgba(0, 119, 204, 0.05) 0%, transparent 70%);
    animation: gentleRipple 4s ease-in-out infinite;
}

@keyframes gentleRipple {
    0%, 100% { transform: scaleX(1); opacity: 0.3; }
    50% { transform: scaleX(1.1); opacity: 0.1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .preloader-content {
        padding: 1.5rem;
    }
    
    .lottie-container {
        width: 160px;
        height: 160px;
        margin-bottom: 1.5rem;
    }
    
    .welcome-message {
        font-size: 1.2rem;
        min-height: 50px;
    }
    
    .inspiring-quote {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .lottie-container {
        width: 140px;
        height: 140px;
    }
    
    .welcome-message {
        font-size: 1.1rem;
    }
    
    .loading-bar-container {
        max-width: 280px;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    .cursor,
    .loading-bar,
    .inspiring-quote,
    .water-effect {
        animation: none;
    }
    
    .loading-bar {
        transition: width 2.5s ease-out;
    }
}

/* High Contrast Support */
@media (prefers-contrast: high) {
    .welcome-message {
        color: #000;
        font-weight: 700;
    }
    
    .loading-bar {
        background: #000;
    }
    
    .cursor {
        background-color: #000;
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 50px;
  height: 50px;
  border-radius: 30px;
  transition: all 0.4s;
}

.scroll-top img {
  height: 30px;
  font-size: 24px;
  color: white;
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
}

/* Button: gradient fill */
.handy {
  font-weight: 500;
  font-size: 2.1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  color: white;
  padding: 8px 20px;
  background: var(--slg-gradient);
  background-size: 600% 600%;
  animation: sierraLeoneGradient var(--slg-anim-duration) ease infinite;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: transform 0.14s ease, filter 0.14s ease;  
}

.handy:hover,
.handy:focus {
  transform: translateY(-2px);
  filter: brightness(1.04);
  outline: none;
}

 /* Accessibility Button Styles */
    .accessibility-fixed-btn {
      position: fixed;
      bottom: 20px;
      right: 20px;
      z-index: 999;
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background-color: #0077cc;
      color: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      transition: all 0.3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    
    .accessibility-fixed-btn:hover {
      background-color: #005fa3;
      transform: scale(1.05);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }
    
    .accessibility-fixed-btn img {
      width: 32px;
      height: 32px;
      object-fit: contain;
    }

    /* Modal positioning */
    #accessibilityModal .modal-dialog {
      position: fixed;
      bottom: 90px;
      right: 20px;
      margin: 0;
      max-width: 350px;
      transform: translateY(20px);
      transition: transform 0.3s ease-out;
    }
    
    #accessibilityModal.show .modal-dialog {
      transform: translateY(0);
    }
    
    #accessibilityModal .modal-content {
      border-radius: 12px;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
      border: none;
    }

    #accessibilityModal .modal-title { 
      color: white; 
    }
    
    #accessibilityModal .modal-header {
      background-color: #0077cc;
      color: white;
      border-top-left-radius: 12px;
      border-top-right-radius: 12px;
      padding: 12px 16px;
    }
    
    #accessibilityModal .modal-header .btn-close {
      filter: invert(1);
    }

    .accessibility-buttons-container {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 15px;
      padding: 15px;
    }

    .accessibility-btn {
      background: transparent;
      border: none;
      padding: 10px;
      cursor: pointer;
      transition: all 0.3s;
      text-align: center;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0,0,0,0.08);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      min-height: 90px;
    }

    .accessibility-btn:hover {
      box-shadow: 0 6px 15px rgba(0,0,0,0.15);
      transform: translateY(-3px);
      background-color: #f8f9fa;
    }

    .accessibility-icon {
      font-size: 28px;
      color: #0077cc;
      margin-bottom: 8px;
    }
    
    .accessibility-btn span {
      font-size: 12px;
      color: #333;
      font-weight: 500;
    }

    /* Notification overlay */
    .accessibility-notification {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.7);
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }
    
    .accessibility-notification.active {
      opacity: 1;
      visibility: visible;
    }
    
    .notification-content {
      background: white;
      border-radius: 16px;
      padding: 30px;
      text-align: center;
      max-width: 400px;
      width: 90%;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    }
    
    .notification-content h3 {
      margin-top: 20px;
      margin-bottom: 10px;
      color: #0077cc;
    }
    
    .notification-content p {
      color: #666;
      margin-bottom: 0;
    }
    
    .lottie-container {
      width: 150px;
      height: 150px;
      margin: 0 auto;
    }

    /* Voice assistant indicator */
    .voice-assistant-indicator {
      position: fixed;
      bottom: 90px;
      left: 20px;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background-color: #28a745;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
      z-index: 999;
      opacity: 0;
      transition: opacity 0.3s ease;
    }
    
    .voice-assistant-indicator.active {
      opacity: 1;
    }
    
    .voice-assistant-indicator.listening {
      animation: pulse 1.5s infinite;
      background-color: #dc3545;
    }
    
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.1); }
      100% { transform: scale(1); }
    }

    /* Mobile responsiveness */
    @media (max-width: 576px) {
      #accessibilityModal .modal-dialog {
        right: 10px;
        left: 10px;
        bottom: 80px;
        max-width: none;
      }
      
      .accessibility-buttons-container {
        grid-template-columns: repeat(2, 1fr);
      }
    }

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 160px 0 80px 0;
  text-align: center;
  position: relative;
}

.page-title:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
}

.page-title h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 10px;
}

.page-title .breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  justify-content: center;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title .breadcrumbs ol li+li {
  padding-left: 10px;
}

.page-title .breadcrumbs ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 76px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  padding-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  position: relative;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: var(--accent-color);
  margin: 4px 10px;
}

.section-title p {
  color: var(--heading-color);
  margin: 0;
  font-size: 36px;
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--heading-font);
}

@media (max-width: 768px) {
  .section-title p {
    font-size: 24px;
  }
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
  width: 100%;
  min-height: 100vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3; 
}

.hero h2 {
  margin: 0;
  font-size: 54px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 34px;
}

/* Include the button styles from earlier here */
.hero .btn-get-started {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  
  border-radius: 25px; 
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  
  font-size: 16px;
  font-weight: 400;
  color: var(--contrast-color);
  padding: 10px 25px;
  
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  text-decoration: none;
}

.hero .btn-get-started:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.hero .btn-watch-video {
  background: transparent;    
  font-size: 16px;
  font-weight: 400;
  color: var(--contrast-color); 
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer; 
  border: none;
  text-decoration: none;
}

.hero .btn-watch-video i {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;

  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;

  font-size: 32px;
  line-height: 0;
  transition: color 0.3s ease;
}

.hero .btn-watch-video:hover {
  transform: scale(1.05);
}

.hero .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@keyframes sierraLeoneGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 768px) {
  .hero h2 {
    font-size: 32px;
  }
  .hero p {
    font-size: 18px;
  }
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
}


/*--------------------------------------------------------------
# Hero Section 2
--------------------------------------------------------------*/
.hero2 {
  width: 100%;
  min-height: 60vh;
  position: relative;
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero2 img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero2:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.hero2 .container {
  position: relative;
  z-index: 3;
}

.hero2 h2 {
  margin: 0;
  font-size: 48px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero2 p {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin: 10px 0 0 0;
  font-size: 24px;
}

.hero2 .btn-get-started {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 30px;
  border-radius: 4px;
  transition: 0.3s;
  text-transform: uppercase;
}

.hero2 .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 20%);
}

.hero2 .btn-watch-video {
  font-size: 16px;
  transition: 0.5s;
  margin-left: 25px;
  font-weight: 400;
  color: var(--default-color);
}

.hero2 .btn-watch-video i {
  color: var(--accent-color);
  font-size: 32px;
  transition: 0.3s;
  line-height: 0;
  margin-right: 8px;
}

.hero2 .btn-watch-video:hover {
  color: var(--accent-color);
}

.hero2 .btn-watch-video:hover i {
  color: color-mix(in srgb, var(--accent-color), transparent 20%);
}

@media (max-width: 768px) {
  .hero2 h2 {
    font-size: 32px;
  }

  .hero2 p {
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
  position: relative;
  padding: 80px 0;
  overflow: hidden; 
}

.about::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.1) 0%, rgba(0, 95, 163, 0.05) 100%);
  border-radius: 50%;
  z-index: 0;
}

.bg-blue {
  background-color: var(--blue-pale) !important;
}

.text-blue {
  color: var(--blue) !important;
}

.about .section-header .badge {
  font-size: 0.9rem;
  padding: 8px 16px;
  letter-spacing: 0.5px;
  color: black;
}

.about-title {
  font-weight: 700;
  color: black;
}

.about-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 5px;
  height: 24px;
  width: 4px;
  background: var(--blue);
  border-radius: 2px;
}

.about-image-wrapper {
  position: relative;
}

.image-overlay-content {
  position: absolute;
  bottom: 15px;
  left: 15px;
  z-index: 2;
}

.image-overlay-content {
  z-index: 2;
}

.stats-card-2 {
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: float 6s ease-in-out infinite;
  max-width: 140px;
}

/* Remove any height constraints from the stats card */
.stats-card-2 {
  height: auto !important;
  min-height: auto !important;
}

/* Ensure the image wrapper has proper positioning context */
.about-image-wrapper {
  position: relative;
  display: inline-block; /* This contains the absolutely positioned child */
}

/* Alternative: If you want the stats card to be even more compact */
.compact-stats {
  padding: 0.4rem 0.6rem !important;
}

.compact-stats .stats-icon {
  width: 32px !important;
  height: 32px !important;
  padding: 0.5rem !important;
}

.compact-stats h5 {
  font-size: 0.9rem !important;
}

.compact-stats small {
  font-size: 0.7rem !important;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.feature-icon {
  transition: all 0.3s ease;
  width: 50px !important;
  height: 50px !important;
  display: flex !important;
  align-items: center;
  justify-content: center; 
}

.d-flex:hover .feature-icon {
  transform: scale(1.1);
  background: var(--blue) !important;
  color: white !important;
}

.process-step {
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
  background: white;
}

.process-step:hover {
  transform: translateY(-5px);
  border-left-color: var(--blue);
  box-shadow: 0 8px 20px rgba(0, 119, 204, 0.15) !important;
}

.step-number {
  width: 32px;
  height: 32px;
  font-weight: bold;
  font-size: 0.9rem;
  flex-shrink: 0;
  color: black;
}

.video-section {
  position: relative;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(0, 95, 163, 0.2) 0%, rgba(0, 119, 204, 0.2) 100%);
  opacity: 0;
  transition: all 0.4s ease;
}

.video-section:hover .video-overlay {
  opacity: 1;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  z-index: 3;
}

.play-icon-wrapper {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.play-icon-wrapper i {
  font-size: 1.7rem;
  color: var(--blue);
  margin-left: 4px;
}

.play-text {
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.video-section:hover .play-text {
  opacity: 1;
  transform: translateY(0);
}

.video-section:hover .play-icon-wrapper {
  transform: scale(1.1);
  background: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .about {
    padding: 60px 0;
  }
  
  .about .display-5 {
    font-size: 2.2rem;
  }
  
  .image-overlay-content {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: 15px;
    display: flex;
    justify-content: center;
  }
  
  .stats-card {
    max-width: 100%;
    width: auto;
  }
  
  .play-icon-wrapper {
    width: 50px;
    height: 50px;
  }
  
  .play-icon-wrapper i {
    font-size: 1.5rem;
  }
  
  .feature-icon,
  .stats-icon {
    width: 40px !important;
    height: 40px !important;
  }
}
/* ===== SLIDING SECTIONS IMPROVED STYLES ===== */

.sliding-cards-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-width: 1400px;
  padding: 0 15px;
}

.sliding-cards-track {
  display: flex;
  padding: 20px 0;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  perspective: 1000px;
}

.sliding-cards-track.js-controlled {
  will-change: transform;
}

/* Cards */
.sliding-card {
  flex: 0 0 calc(100% - 30px);
  margin: 0 15px;
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 0;
  flex-shrink: 0;
  position: relative;
}

.sliding-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

/* Card Image */
.sliding-card-image {
  height: 180px;
  overflow: hidden;
  position: relative;
  background: #f8f9fa;
}

.sliding-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.sliding-card:hover .sliding-card-image img {
  transform: scale(1.08);
}

.sliding-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

/* Card Content */
.sliding-card-content {
  padding: 20px;
}

.sliding-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #1a73e8;
  line-height: 1.3;
}

.sliding-card-description {
  color: #495057;
  margin-bottom: 12px;
  line-height: 1.5;
  font-size: 0.9rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Card Stats */
.sliding-card-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  padding-top: 12px; 
}

.sliding-card-stat {
  text-align: center;
  flex: 1;
}

.sliding-card-stat-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: #1a73e8;
  line-height: 1;
}

.sliding-card-stat-label {
  font-size: 0.75rem;
  color: #6c757d;
  margin-top: 4px;
}

.sliding-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6c757d;
  margin-top: 12px;
  flex-wrap: wrap;
  gap: 5px;
}

/* Response Time Indicator */
.response-time-indicator {
  display: flex;
  align-items: center;
  margin-top: 8px;
}

.response-time-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
}

.response-time-dot.fast {
  background: #28a745;
}

.response-time-dot.medium {
  background: #ffc107;
}

.response-time-dot.slow {
  background: #dc3545;
}

/* Controls */
.sliding-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 25px;
  gap: 15px;
  flex-wrap: wrap;
}

.sliding-prev, .sliding-next {
  background: #1a73e8;
  color: white;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.sliding-prev:hover, .sliding-next:hover {
  background: #1557b0;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.3);
}

.sliding-prev:disabled, .sliding-next:disabled {
  background: #6c757d;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.sliding-dots {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.sliding-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dee2e6;
  cursor: pointer;
  transition: all 0.3s ease;
}

.sliding-dot.active {
  background: #1a73e8;
  transform: scale(1.2);
}

.sliding-dot:hover {
  background: #adb5bd;
}

/* Progress Bar */
.sliding-progress {
  width: 100%;
  height: 3px;
  background: #e9ecef;
  margin-top: 20px;
  border-radius: 2px;
  overflow: hidden;
}

.sliding-progress-bar {
  height: 100%;
  background: #1a73e8;
  transition: width 0.3s ease;
  border-radius: 2px;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and larger mobile devices */
@media (min-width: 576px) {

  .sliding-card {
    flex: 0 0 calc(50% - 30px);
    border-radius: 18px;
  }
  
  .sliding-card-image {
    height: 200px;
  }
  
  .sliding-card-content {
    padding: 22px;
  }
  
  .sliding-card-title {
    font-size: 1.15rem;
  }
}

/* Small desktop and tablets */
@media (min-width: 768px) {
 
  .sliding-cards-container {
    padding: 0 20px;
  }
  
  .sliding-card {
    flex: 0 0 calc(50% - 30px);
  }
  
  .sliding-card-content {
    padding: 25px;
  }
  
  .sliding-prev, .sliding-next {
    width: 50px;
    height: 50px;
  }
}

/* Medium desktop */
@media (min-width: 992px) {
 
  .sliding-card {
    flex: 0 0 calc(33.333% - 30px);
  }
  
  .sliding-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  }
}

/* Large desktop */
@media (min-width: 1200px) {
  .sliding-cards-container {
    padding: 0;
    width: calc(100% - 40px);
  }
  
  .sliding-card {
    flex: 0 0 calc(33.333% - 30px);
  }
}

/* Extra large screens */
@media (min-width: 1400px) {
  .sliding-cards-container {
    width: 1400px;
  }
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
  .sliding-card:hover {
    transform: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.04);
  }
  
  .sliding-card:hover .sliding-card-image img {
    transform: none;
  }
  
  .sliding-prev:hover, .sliding-next:hover {
    transform: none;
    box-shadow: none;
  }
  
  .sliding-card:active {
    transform: scale(0.98);
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .sliding-cards-track,
  .sliding-card,
  .sliding-card-image img,
  .sliding-prev,
  .sliding-next,
  .sliding-dot {
    transition: none !important;
  }
  
  .sliding-card:hover .sliding-card-image img {
    transform: none;
  }
}

/* Focus styles for accessibility */
.sliding-prev:focus,
.sliding-next:focus,
.sliding-dot:focus {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

.sliding-card:focus-within {
  outline: 2px solid #1a73e8;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .sliding-card {
    border: 1px solid #000;
  }
  
  .sliding-card-stat-value {
    font-weight: 900;
  }
}

/* Prevent horizontal scroll */
html, body {
  overflow-x: hidden;
}

/* Ensure proper touch scrolling */
.sliding-cards-container {
  -webkit-overflow-scrolling: touch;
}

/*--------------------------------------------------------------
# Stats Section
--------------------------------------------------------------*/
.stats.section.light-background {
  background: #f0f4fb; /* Light neutral background to support glass effect */
  padding: 60px 0;
}

.stats .stats-item {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  background-size: 600% 600%; /* larger for smoother animation */
  animation: sierraLeoneGradient 30s ease-in-out infinite;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.3); /* blue glow shadow */
  padding: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
}

.stats .stats-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 36px rgba(74, 144, 226, 0.5); /* stronger glow on hover */
}

.stats .stats-item i {
  color: black;
  font-size: 42px;
  line-height: 0;
  margin-right: 20px;
  margin-left: 20px;
}

.stats .stats-item span {
  color: black;
  font-size: 36px;
  display: block;
  font-weight: 600;
}

.stats .stats-item p {
  padding: 0;
  margin: 0;
  font-family: var(--heading-font);
  font-size: 16px;
  color: black;
}

@keyframes sierraLeoneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}


/* Glass stat card with Sierra Leone flag animated gradient */
.glass-stat-card {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  background-size: 600% 600%; /* larger for smoother animation */
  animation: sierraLeoneGradient 30s ease infinite;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  padding: 5px; /* add horizontal padding */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center; /* vertical center */
  gap: 10px; /* space between icon and text */
}

@keyframes sierraLeoneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.stat-icon {
  color: #ffffff;
  font-size: 17px; /* bigger for clarity */
  margin-left: 10px;
}

.stat-label {
  color: #e0e0e0;
  font-size: 14px; /* larger for readability */
  font-weight: 400;
  margin: 0;
}

/* Glass stat card with Sierra Leone flag animated gradient */
.glass-star-card {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 35px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

  padding: 5px 10px;
  display: flex;
  align-items: center;   /* vertical alignment */
  justify-content: center; /* keeps it centered */
  gap: 10px; /* space between icon and text */

  transition: transform 0.3s ease, box-shadow 0.3s ease;
  max-width: 100%;
  text-align: left;
}

/* Gradient animation */
@keyframes sierraLeoneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Icon */
.star-icon {
  color: #ffffff;
  font-size: 17px;
  flex-shrink: 0; /* prevents icon from shrinking */
}

/* Text */
.star-label {
  color: #ffffff;
  font-size: 15px;
  font-weight: 500;
  margin: 0;
  line-height: 1.4;
  word-break: break-word;
}

/* Responsive tweaks — keeps horizontal layout */
@media (max-width: 576px) {
  .glass-star-card {
    padding: 5px 10px;
    gap: 8px;
  }

  .star-icon {
    font-size: 15px;
  }

  .star-label {
    font-size: 13.5px;
  }
}

/* Glassy animated gradient for FAQ cards */
.glass-faq-card {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  margin-bottom: 15px;
}

/* Override Bootstrap accordion styles to fit glass look */
.glass-faq-card .accordion-button {
  background: transparent;
  color: black;
  font-weight: 600;
  padding: 1rem;
  box-shadow: none;
}

.glass-faq-card .accordion-button:not(.collapsed) {
  color: black;
  background: rgba(255, 255, 255, 0.7); /* translucent white */
}

.glass-faq-card .accordion-body {
  color: black;
  font-size: 0.95rem;
  padding: 1rem;
  text-align: left; /* This will align the text to the left */
}

/* Gradient animation keyframes */
@keyframes sierraLeoneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* FAQ wrapper spacing */
.faq-glass-wrapper {
  padding: 10px;
}


/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services .img {
  border-radius: 8px;
  overflow: hidden;
}

.services .img img {
  transition: 0.6s;
}

.services .details {
  background: color-mix(in srgb, var(--surface-color), transparent 5%);
  padding: 50px 30px;
  margin: -100px 30px 0 30px;
  transition: all ease-in-out 0.3s;
  position: relative;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0px 0 25px rgba(0, 0, 0, 0.1);
}

.services .details .icon {
  margin: 0;
  width: 72px;
  height: 72px;
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: black;
  border: 6px solid var(--contrast-color);
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
  transition: ease-in-out 0.3s;
  position: absolute;
  top: -36px;
  left: calc(50% - 36px);
  padding: 2px;
}

.services .details h3 {
  font-weight: 700;
  margin: 10px 0 15px 0;
  font-size: 22px;
  transition: ease-in-out 0.3s;
}

.services .details p {
  color: color-mix(in srgb, var(--default-color), transparent 10%);
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.services .service-item:hover .details h3 {
  color: black;
}

.services .service-item:hover .details .icon {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  border: 2px solid white;
}

.services .service-item:hover .details .icon i {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services .service-item:hover .img img {
  transform: scale(1.2);
}

/*--------------------------------------------------------------
# Clients Section
--------------------------------------------------------------*/
.clients {
  padding: 20px 0;
}

.clients .client-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.clients .client-logo img {
  padding: 20px 40px;
  max-width: 90%;
  transition: 0.3s;
  opacity: 0.5;
  filter: grayscale(100);
}

.clients .client-logo img:hover {
  filter: none;
  opacity: 1;
}

@media (max-width: 640px) {
  .clients .client-logo img {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
}

.features .nav-link {
  background-color: var(--surface-color);
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding: 15px 20px;
  transition: 0.3s;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
}

.features .nav-link i {
  padding-right: 15px;
  font-size: 48px;
}

.features .nav-link h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.features .nav-link:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

@media (max-width: 768px) {
  .features .nav-link i {
    padding: 0;
    line-height: 1;
    font-size: 36px;
  }
}

@media (max-width: 575px) {
  .features .nav-link {
    padding: 15px;
  }

  .features .nav-link i {
    font-size: 24px;
  }
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 26px;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-bottom: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}


/*--------------------------------------------------------------
# Services 2 Section (Glassy Sierra Leone Gradient)
--------------------------------------------------------------*/
.services-2 .service-item {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;

  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);

  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.6s ease;
}

/* Icon Styling */
.services-2 .service-item .icon {
  font-size: 36px;
  flex-shrink: 0;
  color: black;
  transition: transform 0.6s ease, color 0.6s ease, background-position 0.6s ease;
}

/* Title Styling */
.services-2 .service-item .title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 20px;
}

.services-2 .service-item .title a {
  color: black;
  text-decoration: none;
  transition: color 0.6s ease, background-position 0.6s ease;
}

/* Description Styling */
.services-2 .service-item .description {
  line-height: 24px;
  font-size: 14px;
  margin: 0;
  color: black;
  transition: color 0.6s ease;
}

/* Hover Effects */
.services-2 .service-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* Gradient Text Hover Effect */
.services-2 .service-item:hover .icon,
.services-2 .service-item:hover .title a {

  transform: scale(1.5);
}

/* Gradient Animation */
@keyframes sierraLeoneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials {
  padding: 60px 0;
  position: relative;
}

.testimonials:before {
  content: "";
  background: color-mix(in srgb, var(--background-color), transparent 30%);
  position: absolute;
  inset: 0;
  z-index: 2;
}

.testimonials .testimonials-bg {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.testimonials .container {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 350px;
}

#voices-container {
  width: 100%;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-display {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 500px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
}

.testimonial-card.initiative {
  border-top: 4px solid #8b5cf6;
}

.testimonial-card.suggestion {
  border-top: 4px solid #0ea5e9;
}

.testimonial-card.feedback {
  border-top: 4px solid #ec4899;
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.testimonial-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  font-size: 1.2rem;
}

.testimonial-card.initiative .testimonial-icon {
  background: rgba(139, 92, 246, 0.1);
  color: #8b5cf6;
}

.testimonial-card.suggestion .testimonial-icon {
  background: rgba(14, 165, 233, 0.1);
  color: #0ea5e9;
}

.testimonial-card.feedback .testimonial-icon {
  background: rgba(236, 72, 153, 0.1);
  color: #ec4899;
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.2rem;
  color: #1e293b;
}

.testimonial-category {
  font-size: 0.8rem;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-title {
  font-weight: 600;
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
  color: #334155;
  text-align: center;
}

.testimonial-text {
  color: #475569;
  line-height: 1.5;
  font-style: italic;
  text-align: center;
  font-size: 0.95rem;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  padding-top: 1rem;
  font-size: 0.85rem;
  color: #64748b;
}

.testimonial-date {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.testimonial-likes {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #dc2626;
}

.testimonial-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.1);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #475569;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(0, 0, 0, 0.2);
  transform: scale(1.05);
  color: #1e293b;
}

.nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.testimonial-counter {
  color: #64748b;
  font-size: 0.9rem;
  min-width: 50px;
  text-align: center;
}

.no-testimonials {
  text-align: center;
  padding: 2rem;
  color: #64748b;
}

.placeholder-animation {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: #cbd5e1;
  animation: pulse 2s infinite;
}

.error-message {
  background: rgba(239, 68, 68, 0.05);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  color: #dc2626;
}

.error-icon {
  font-size: 2rem;
  color: #dc2626;
  margin-bottom: 1rem;
}

.error-detail {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.8rem;
}

@keyframes pulse {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 40px 0;
  }
  
  .testimonial-card {
    padding: 1.2rem;
    margin: 0 0.8rem;
  }
  
  .testimonial-title {
    font-size: 1rem;
  }
  
  .testimonial-text {
    font-size: 0.9rem;
  }
  
  .testimonial-nav {
    gap: 1.2rem;
  }
  
  .nav-btn {
    width: 35px;
    height: 35px;
  }
}

/*--------------------------------------------------------------
# Portfolio Section
--------------------------------------------------------------*/
.portfolio .portfolio-filters {
  padding: 0;
  margin: 0 auto 20px auto;
  list-style: none;
  text-align: center;
}

.portfolio .portfolio-filters li {
  cursor: pointer;
  display: inline-block;
  padding: 0;
  font-size: 18px;
  font-weight: 500;
  margin: 0 10px;
  line-height: 1;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
}

.portfolio .portfolio-filters li:hover,
.portfolio .portfolio-filters li.filter-active {
  color: var(--accent-color);
}

.portfolio .portfolio-filters li:first-child {
  margin-left: 0;
}

.portfolio .portfolio-filters li:last-child {
  margin-right: 0;
}

@media (max-width: 575px) {
  .portfolio .portfolio-filters li {
    font-size: 14px;
    margin: 0 5px;
  }
}

.portfolio .portfolio-content {
  position: relative;
  overflow: hidden;
}

.portfolio .portfolio-content img {
  transition: 0.3s;
}

.portfolio .portfolio-content .portfolio-info {
  opacity: 0;
  position: absolute;
  inset: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(0, 0, 0, 0.6);
  padding: 15px;
}

.portfolio .portfolio-content .portfolio-info h4 {
  font-size: 14px;
  padding: 5px 10px;
  font-weight: 400;
  color: #ffffff;
  display: inline-block;
  background-color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info p {
  position: absolute;
  bottom: 10px;
  text-align: center;
  display: inline-block;
  left: 0;
  right: 0;
  font-size: 16px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.portfolio .portfolio-content .portfolio-info .preview-link,
.portfolio .portfolio-content .portfolio-info .details-link {
  position: absolute;
  left: calc(50% - 40px);
  font-size: 26px;
  top: calc(50% - 14px);
  color: #fff;
  transition: 0.3s;
  line-height: 1.2;
}

.portfolio .portfolio-content .portfolio-info .preview-link:hover,
.portfolio .portfolio-content .portfolio-info .details-link:hover {
  color: var(--accent-color);
}

.portfolio .portfolio-content .portfolio-info .details-link {
  left: 50%;
  font-size: 34px;
  line-height: 0;
}

.portfolio .portfolio-content:hover .portfolio-info {
  opacity: 1;
}

.portfolio .portfolio-content:hover img {
  transform: scale(1.1);
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .member {
  position: relative;
}

.team .member .pic {
  overflow: hidden;
  margin-bottom: 50px;
}

.team .member .member-info {
  background-color: var(--surface-color);
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  position: absolute;
  bottom: -50px;
  left: 20px;
  right: 20px;
  padding: 20px 15px;
  overflow: hidden;
  transition: 0.5s;
}

.team .member h4 {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 16px;
  position: relative;
  padding-bottom: 10px;
}

.team .member h4::after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 1px;
  background: color-mix(in srgb, var(--default-color), transparent 60%);
  bottom: 0;
  left: 0;
}

.team .member span {
  font-style: italic;
  display: block;
  font-size: 13px;
}

.team .member .social {
  position: absolute;
  right: 15px;
  bottom: 15px;
}

.team .member .social a {
  transition: color 0.3s;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.team .member .social a:hover {
  color: var(--accent-color);
}

.team .member .social i {
  font-size: 16px;
  margin: 0 2px;
}

/*--------------------------------------------------------------
# Modern Contact Section
--------------------------------------------------------------*/
.contact {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.contact .info-item {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 119, 204, 0.1);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 25px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 119, 204, 0.08);
}

.contact .info-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 119, 204, 0.15);
  border-color: rgba(0, 119, 204, 0.3);
}

.contact .info-item .lottie-icon {
  width: 70px;
  height: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.1) 0%, rgba(0, 119, 204, 0.05) 100%);
  border: 2px solid rgba(0, 119, 204, 0.15);
  padding: 15px;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact .info-item h3 {
  font-size: 22px;
  color: #2c3e50;
  font-weight: 500;
  margin: 0 0 10px 0;
  background: linear-gradient(135deg, #0077cc 0%, #005fa3 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact .info-item p {
  padding: 0;
  margin: 0;
  font-size: 16px;
  color: #6c757d;
  line-height: 1.6;
}

.contact .info-item a {
  color: #0077cc;
  text-decoration: none;
  transition: all 0.3s ease;
  display: block;
  margin: 5px 0;
}

.contact .info-item a:hover {
  color: #005fa3;
  transform: translateX(5px);
}

.contact .php-email-form {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(0, 119, 204, 0.1);
  border-radius: 25px;
  padding: 40px;
  box-shadow: 0 8px 32px rgba(0, 119, 204, 0.08);
  transition: all 0.3s ease;
}

.contact .php-email-form:hover {
  box-shadow: 0 12px 40px rgba(0, 119, 204, 0.15);
}

@media (max-width: 768px) {
  .contact .php-email-form {
    padding: 25px;
  }
  
  .contact .info-item {
    padding: 20px;
  }
  
  .contact .info-item .lottie-icon {
    width: 60px;
    height: 60px;
    margin-right: 15px;
  }
}

.contact .php-email-form input[type="text"],
.contact .php-email-form input[type="email"],
.contact .php-email-form textarea {
  font-size: 16px;
  padding: 15px 20px;
  box-shadow: none;
  border-radius: 15px;
  color: #2c3e50;
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(0, 119, 204, 0.1);
  transition: all 0.3s ease;
  margin-bottom: 20px;
}

.contact .php-email-form input[type="text"]:focus,
.contact .php-email-form input[type="email"]:focus,
.contact .php-email-form textarea:focus {
  border-color: #0077cc;
  box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
  transform: translateY(-2px);
}

.contact .php-email-form input[type="text"]::placeholder,
.contact .php-email-form input[type="email"]::placeholder,
.contact .php-email-form textarea::placeholder {
  color: #6c757d;
  font-size: 14px;
}

.contact .php-email-form button[type="submit"] {
  color: white;
  background: linear-gradient(135deg, #0077cc 0%, #005fa3 100%);
  border: none;
  padding: 15px 40px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 119, 204, 0.3);
  position: relative;
  overflow: hidden;
}

.contact .php-email-form button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 119, 204, 0.4);
  background: linear-gradient(135deg, #005fa3 0%, #004d84 100%);
}

.contact .php-email-form button[type="submit"]:active {
  transform: translateY(-1px);
}

/* Form status messages */
.contact .php-email-form .loading,
.contact .php-email-form .error-message,
.contact .php-email-form .sent-message {
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  font-weight: 500;
}

.contact .php-email-form .loading {
  background: rgba(255, 193, 7, 0.1);
  color: #ffc107;
  border: 1px solid rgba(255, 193, 7, 0.2);
}

.contact .php-email-form .error-message {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid rgba(220, 53, 69, 0.2);
}

.contact .php-email-form .sent-message {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.2);
}

/* Map styling */
.contact .map-container {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 119, 204, 0.15);
  margin-bottom: 40px;
}

.contact iframe {
  border-radius: 20px;
  height: 400px;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .contact .info-item {
    text-align: center;
    flex-direction: column;
  }
  
  .contact .info-item .lottie-icon {
    margin: 0 auto 15px auto;
  }
}

/* Animation for form elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.contact .info-item,
.contact .php-email-form {
  animation: fadeInUp 0.6s ease-out;
}

/* Hover effects for contact info */
.contact .info-item {
  position: relative;
}

.contact .info-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.05) 0%, transparent 100%);
  border-radius: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact .info-item:hover::before {
  opacity: 1;
}

 /* Success message styling */
    .sent-message {
      background: rgba(40, 167, 69, 0.1);
      border: 1px solid rgba(40, 167, 69, 0.2);
      border-radius: 15px;
      padding: 20px;
      margin-bottom: 20px;
      text-align: center;
    }

    .sent-message h4 {
      color: #28a745;
      margin: 15px 0 10px 0;
      font-weight: 600;
    }

    .sent-message p {
      color: #6c757d;
      margin: 0;
    }

    /* Loading animation */
    .loading {
      background: rgba(255, 193, 7, 0.1);
      border: 1px solid rgba(255, 193, 7, 0.2);
      border-radius: 15px;
      padding: 15px;
      color: #ffc107;
      font-weight: 500;
      display: none;
    }

    /* Error message styling */
    .error-message {
      background: rgba(220, 53, 69, 0.1);
      border: 1px solid rgba(220, 53, 69, 0.2);
      border-radius: 15px;
      padding: 15px;
      color: #dc3545;
      font-weight: 500;
      display: none;
    }

    /* Button loading state */
    button:disabled {
      opacity: 0.7;
      cursor: not-allowed;
    }

/* Reset for map container */
.map-container-wrapper,
.map-container-wrapper * {
  box-sizing: border-box;
}

/* Modern Map Container - FIXED */
.map-container-wrapper {
  margin: 3rem 0;
  overflow: hidden; 
  transform: translateZ(0);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 100%;
  position: relative;
}

.map-container-wrapper:hover {
  transform: translateY(-5px); 
}

.map-container {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  padding: 0; /* Ensure no padding */
  margin: 0; /* Ensure no margin */
}

/* Modern Map Styling - FIXED */
#wash-map {
  width: 100%;
  height: 100%;
  z-index: 1;
  position: absolute; /* Changed to absolute */
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

/* Ensure Leaflet containers fill space */
#wash-map .leaflet-container {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
}

/* Custom Map Overlay */
.map-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  padding: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  z-index: 10;
  animation: fadeIn 0.8s ease-out;
}

.location-pin {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #0077cc 0%, #0056b3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 20px;
  box-shadow: 0 5px 15px rgba(0, 119, 204, 0.4);
  animation: pulse 2s infinite;
}

.location-info h4 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-weight: 700;
  font-size: 16px;
}

.location-info p {
  margin: 0;
  color: #6c757d;
  font-size: 14px;
  line-height: 1.4;
}

/* Map Controls */
.map-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

.map-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #2c3e50;
}

.map-btn:hover {
  background: white;
  transform: scale(1.1);
  color: #0077cc;
}

/* Custom Marker Style */
.custom-marker {
  background: linear-gradient(135deg, #0077cc 0%, #0056b3 100%);
  border: 3px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  box-shadow: 0 4px 15px rgba(0, 119, 204, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  animation: markerPulse 2s infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
  .map-container {
    height: 400px;
  }
  
  .map-overlay {
    top: 15px;
    left: 15px;
    right: 15px;
    max-width: none;
    padding: 12px;
  }
  
  .location-pin {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .location-info h4 {
    font-size: 14px;
  }
  
  .location-info p {
    font-size: 12px;
  }
  
  .map-controls {
    bottom: 15px;
    right: 15px;
  }
  
  .map-btn {
    width: 35px;
    height: 35px;
    font-size: 12px;
  }
}

/* Animations */
@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.4);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 119, 204, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 5px 15px rgba(0, 119, 204, 0.4);
  }
}

@keyframes markerPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 119, 204, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(0, 119, 204, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(0, 119, 204, 0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Loading State */
.map-loading {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0077cc;
  font-weight: 600;
  z-index: 5;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}


/*--------------------------------------------------------------
# Portfolio Details Section
--------------------------------------------------------------*/
.portfolio-details .portfolio-details-slider img {
  width: 100%;
}

.portfolio-details .portfolio-details-slider .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: color-mix(in srgb, var(--default-color), transparent 85%);
  opacity: 1;
}

.portfolio-details .portfolio-details-slider .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--accent-color);
}

.portfolio-details .portfolio-info {
  background-color: var(--surface-color);
  padding: 30px;
  box-shadow: 0px 0 30px rgba(0, 0, 0, 0.1);
}

.portfolio-details .portfolio-info h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.portfolio-details .portfolio-info ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.portfolio-details .portfolio-info ul li+li {
  margin-top: 10px;
}

.portfolio-details .portfolio-description {
  padding-top: 30px;
}

.portfolio-details .portfolio-description h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 20px;
}

.portfolio-details .portfolio-description p {
  padding: 0;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

/*--------------------------------------------------------------
# Service Details Section
--------------------------------------------------------------*/
.adjust {
width: 85%;
}

.service-details .services-list {
  background-color: var(--surface-color);
  padding: 10px 30px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  margin-bottom: 20px;
}

.service-details .services-list a {
  display: block;
  line-height: 1;
  padding: 8px 0 8px 15px;
  border-left: 3px solid color-mix(in srgb, var(--default-color), transparent 70%);
  margin: 20px 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

.service-details .services-list a.active {
  color: var(--heading-color);
  font-weight: 700;
  border-color: var(--accent-color);
}

.service-details .services-list a:hover {
  border-color: var(--accent-color);
}

.service-details .services-img {
  margin-bottom: 20px;
}

.service-details h3 {
  font-size: 26px;
  font-weight: 700;
}

.service-details h4 {
  font-size: 20px;
  font-weight: 700;
}

.service-details p {
  font-size: 15px;
}

.service-details ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
}

.service-details ul li {
  padding: 5px 0;
  display: flex;
  align-items: center;
}

.service-details ul i {
  font-size: 20px;
  margin-right: 8px;
  color: var(--accent-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/* Sierra Leone animated gradient (plain CSS) */
:root{
  --slg-gradient: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
  --slg-anim-duration: 12s;
}

/* Keyframes */
@keyframes sierraLeoneGradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/*-----------------------------------*\
    #REPORT ISSUE SECTION (STATIC)
\*-----------------------------------*/

.containers {
      width: 100%;
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 15px;
    }

    .form-container {
      background: var(--surface-color);
      border-radius: 20px;
      padding: 40px;
      box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
      margin: 40px auto;
    }

    .form-header {
      text-align: center;
      margin-bottom: 40px;
    }

    .form-header img {
      height: 80px;
      margin-bottom: 20px;
    }

    .form-header h1 {
      font-size: 2.2rem;
      color: var(--heading-color);
      margin-bottom: 15px;
      font-weight: 700;
    }

    .form-header p {
      font-size: 1.1rem;
      color: #6c757d;
      max-width: 700px;
      margin: 0 auto;
    }

    /* Form Grid Layout */
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 30px;
    }

    .form-section {
      margin-bottom: 30px;
    }

    .section-title {
      font-size: 1.2rem;
      color: var(--heading-color);
      margin-bottom: 20px;
      padding-bottom: 10px;
      border-bottom: 2px solid #e9ecef;
      font-weight: 600;
    }

    /* Form Elements */
    .form-group {
      margin-bottom: 20px;
    }

    label {
      display: block;
      margin-bottom: 8px;
      font-weight: 500;
      color: var(--default-color);
    }

    label.required:after {
      content: ' *';
      color: #e74c3c;
    }

    .form-control {
      width: 100%;
      padding: 14px 16px;
      border: 1px solid #e9ecef;
      border-radius: 12px;
      font-size: 1rem;
      font-family: var(--font);
      transition: all 0.3s ease;
    }

    .form-control:focus {
      outline: none;
      border-color: var(--heading-color);
      box-shadow: 0 0 0 3px rgba(30, 110, 198, 0.2);
    }

    select.form-control {
      appearance: none;
      background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
      background-repeat: no-repeat;
      background-position: right 16px center;
      background-size: 16px;
    }

    textarea.form-control {
      min-height: 120px;
      resize: vertical;
    }

    /* Location Input */
    .location-input-wrapper {
      position: relative;
    }

    .location-icon {
      position: absolute;
      right: 10px;
      top: 50%;
      transform: translateY(-50%);
      background: var(--slg-gradient);
      background-size: 600% 600%;
      animation: sierraLeoneGradient var(--slg-anim-duration) ease infinite;
      color: #fff;
      border: none;
      border-radius: 20px;
      width: 36px;
      height: 36px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .location-icon:hover {
      transform: translateY(-50%) scale(1.05);
    }

    .note-text {
      font-size: 0.85rem;
      color: #6c757d;
      margin-top: 5px;
    }

    /* Radio Buttons */
    .radio-group {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 10px;
    }

    .radio-label {
      display: flex;
      align-items: center;
      padding: 10px 15px;
      background: #f8f9fa;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .radio-label:hover {
      background: #e9ecef;
    }

    .radio-label input {
      margin-right: 8px;
    }

/* File Upload */
.file-upload-container {
    border: 2px dashed #e9ecef;
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    background: #f8f9fa;
    margin: 0 auto;
    max-width: 100%;
    box-sizing: border-box;
}

.file-upload-container:hover {
    border-color: #0077cc;
}

.img-upload-area {
    position: relative;
    height: auto;
    min-height: 200px;
    border-radius: 15px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    border: 2px solid #e8f3ff;
    padding: 20px;
    box-sizing: border-box;
}

.img-upload-area:hover {
    background-color: #e8f3ff;
    cursor: pointer;
    transform: translateY(-2px);
    border-color: #4a9de3;
}

.upload-icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: #0077cc;
    transition: all 0.3s ease;
}

.img-upload-area:hover .upload-icon {
    color: #005fa3;
    transform: scale(1.1);
}

.img-upload-area h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    text-align: center;
    line-height: 1.3;
}

.img-upload-area p {
    font-size: 13px;
    color: #666;
    text-align: center;
    line-height: 1.4;
    margin: 0;
}

.img-upload-area span {
    font-weight: 600;
    color: #0077cc;
}

#file {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

#file-preview {
    margin-top: 15px;
    text-align: left;
}

.file-preview-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: #f8f9fa;
    border-radius: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
    gap: 10px;
    border-left: 4px solid #0077cc;
    transition: all 0.3s ease;
}

.file-preview-item:hover {
    background: #e8f3ff;
    transform: translateX(4px);
}

.file-preview-item i {
    color: #0077cc;
    font-size: 18px;
    flex-shrink: 0;
}

.file-preview-item span {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
    color: #333;
}

.delete-file-btn {
    background: transparent;
    color: #666;
    border: none;
    border-radius: 4px;
    padding: 6px 8px;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
    font-size: 14px;
}

.delete-file-btn:hover {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.delete-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 6px 10px;
    cursor: pointer;
    transition: background-color 0.2s;
    font-size: 14px;
}

.delete-btn:hover {
    background-color: #c0392b;
}

/* File type specific colors */
.file-preview-item .fa-file-image {
    color: #0077cc;
}

.file-preview-item .fa-file-video {
    color: #005fa3;
}

.file-preview-item .fa-file-pdf {
    color: #e74c3c;
}

.file-preview-item .fa-file-word {
    color: #2b579a;
}

.file-preview-item .fa-file {
    color: #666;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
    .file-upload-container {
        padding: 15px;
        border-radius: 15px;
    }
    
    .img-upload-area {
        min-height: 120px;
        padding: 15px;
        border-radius: 12px;
    }
    
    .upload-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .img-upload-area h3 {
        font-size: 15px;
        margin-bottom: 6px;
    }
    
    .img-upload-area p {
        font-size: 12px;
    }
    
    .file-preview-item {
        padding: 10px 12px;
        margin-bottom: 8px;
        border-left-width: 3px;
    }
    
    .file-preview-item i {
        font-size: 16px;
    }
    
    .file-preview-item span {
        font-size: 13px;
    }
    
    .delete-file-btn {
        padding: 5px 6px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .file-upload-container {
        padding: 12px;
        border-radius: 12px;
        border-width: 1.5px;
    }
    
    .img-upload-area {
        min-height: 100px;
        padding: 12px;
        border-radius: 10px;
        border-width: 1.5px;
    }
    
    .upload-icon {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .img-upload-area h3 {
        font-size: 14px;
        margin-bottom: 5px;
    }
    
    .img-upload-area p {
        font-size: 11px;
    }
    
    .file-preview-item {
        padding: 8px 10px;
        margin-bottom: 6px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        border-left-width: 3px;
    }
    
    .file-preview-item > div {
        display: flex;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    
    .file-preview-item i {
        font-size: 16px;
        margin-right: 8px;
    }
    
    .file-preview-item span {
        font-size: 12px;
        white-space: normal;
        word-break: break-word;
    }
    
    .delete-file-btn {
        align-self: flex-end;
        padding: 4px 8px;
        font-size: 12px;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .file-upload-container {
        padding: 10px;
    }
    
    .img-upload-area {
        min-height: 90px;
        padding: 10px;
    }
    
    .upload-icon {
        font-size: 20px;
    }
    
    .img-upload-area h3 {
        font-size: 13px;
    }
    
    .img-upload-area p {
        font-size: 10px;
    }
    
    .file-preview-item span {
        font-size: 11px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .file-upload-container {
        max-width: 800px;
    }
    
    .img-upload-area {
        min-height: 180px;
    }
    
    .upload-icon {
        font-size: 36px;
    }
    
    .img-upload-area h3 {
        font-size: 18px;
    }
    
    .img-upload-area p {
        font-size: 14px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .img-upload-area:hover {
        transform: none;
        background-color: #ffffff;
        border-color: #e8f3ff;
    }
    
    .file-upload-container:hover {
        border-color: #e9ecef;
    }
    
    .img-upload-area:active {
        background-color: #e8f3ff;
        transform: scale(0.98);
        border-color: #4a9de3;
    }
    
    .file-preview-item:hover {
        transform: none;
        background: #f8f9fa;
    }
    
    .file-preview-item:active {
        background: #e8f3ff;
        transform: translateX(4px);
    }
    
    .delete-file-btn:active {
        background: rgba(231, 76, 60, 0.2);
        transform: scale(0.95);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .file-upload-container {
        border-color: #000;
        background: #fff;
    }
    
    .img-upload-area {
        background: #fff;
        border-color: #0077cc;
    }
    
    .file-preview-item {
        background: #f0f0f0;
        border-left-color: #005fa3;
    }
    
    .upload-icon {
        color: #005fa3;
    }
    
    .img-upload-area span {
        color: #005fa3;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .file-upload-container,
    .img-upload-area,
    .delete-file-btn,
    .file-preview-item {
        transition: none;
    }
    
    .img-upload-area:hover,
    .file-preview-item:hover {
        transform: none;
    }
    
    .upload-icon {
        transition: none;
    }
}

/* Focus states for accessibility */
.file-upload-container:focus-within {
    border-color: #0077cc;
    box-shadow: 0 0 0 3px rgba(0, 119, 204, 0.1);
}

.delete-file-btn:focus {
    outline: 2px solid #0077cc;
    outline-offset: 2px;
}

/* Drag and drop states */
.img-upload-area.drag-over {
    background-color: #d0e6fb;
    border-color: #0077cc;
    border-style: solid;
}

.img-upload-area.drag-over .upload-icon {
    color: #005fa3;
    transform: scale(1.1);
}

/* Extra small devices */
@media (max-width: 360px) {
    .file-upload-container {
        padding: 10px;
    }
    
    .img-upload-area {
        min-height: 90px;
        padding: 10px;
    }
    
    .upload-icon {
        font-size: 20px;
    }
    
    .img-upload-area h3 {
        font-size: 13px;
    }
    
    .img-upload-area p {
        font-size: 10px;
    }
    
    .file-preview-item span {
        font-size: 11px;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .file-upload-container {
        max-width: 800px;
    }
    
    .img-upload-area {
        min-height: 180px;
    }
    
    .upload-icon {
        font-size: 36px;
    }
    
    .img-upload-area h3 {
        font-size: 18px;
    }
    
    .img-upload-area p {
        font-size: 14px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .img-upload-area:hover {
        transform: none;
        background-color: #ffffff;
    }
    
    .file-upload-container:hover {
        border-color: #e9ecef;
    }
    
    .img-upload-area:active {
        background-color: rgba(30,181,58,0.04);
        transform: scale(0.98);
    }
    
    .delete-file-btn:active {
        background: rgba(231, 76, 60, 0.2);
        transform: scale(0.95);
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .file-upload-container {
        border-color: #000;
        background: #fff;
    }
    
    .img-upload-area {
        background: #fff;
        border-color: #000;
    }
    
    .file-preview-item {
        background: #f0f0f0;
        border: 1px solid #000;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .file-upload-container,
    .img-upload-area,
    .delete-file-btn {
        transition: none;
        animation: none;
    }
    
    .img-upload-area:hover {
        transform: none;
    }
    
    .upload-icon,
    .img-upload-area span {
        animation: none;
        background: var(--heading-color);
    }
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  cursor: pointer;
  font-weight: 500;
}


.process-explanationed {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.process-stepsed {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin: 0 auto;
  max-width: 1000px;
}

.process-stepsed::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 50px;
  right: 50px;
  height: 3px;
  background: linear-gradient(to right, #ff0000, #1cc88a);
  z-index: 1;
}

.process-steped {
  text-align: center;
  position: relative;
  z-index: 2;
  flex: 1;
  padding: 0 15px;
}

.step-iconed {
  position: relative;
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid #0077cc;
  color: #0077cc;
  font-size: 20px;
}

.step-numbered {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #0077cc;
  color: white;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.step-contented h5 {
  font-size: 14px;
  margin-bottom: 5px;
  color: #0077cc;
  font-weight: 600;
}

.step-contented p {
  font-size: 12px;
  color: #6e707e;
  line-height: 1.4;
  margin: 0;
}

/* Responsive design - Keep horizontal layout with smaller sizes */
@media (max-width: 768px) {
  .process-stepsed {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 15px 5px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .process-stepsed::-webkit-scrollbar {
    display: none;
  }
  
  .process-stepsed::before {
    display: none; /* Hide line on mobile */
  }
  
  .process-steped {
    flex: 0 0 auto;
    min-width: 100px; /* Much smaller minimum width */
    margin-right: 10px; /* Reduced spacing */
    padding: 0 5px; /* Reduced padding */
  }
  
  /* Even smaller for very small screens */
  @media (max-width: 480px) {
    .process-steped {
      min-width: 80px; /* Even smaller */
      margin-right: 8px; /* Even less spacing */
    }
    
    .step-iconed {
      width: 35px; /* Smaller */
      height: 35px; /* Smaller */
      font-size: 14px; /* Smaller */
    }
    
    .step-contented h5 {
      font-size: 11px; /* Smaller */
    }
    
    .step-numbered {
      width: 16px; /* Smaller */
      height: 16px; /* Smaller */
      font-size: 9px; /* Smaller */
    }
  }
}


    /* Contact Info */
    .contact-grid {
      display: grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 15px;
    }

    /* Submit Button */
    .submit-btn {
      text-align: center;
      margin-top: 30px;
    }

    .btn {
      width: 100%;
      background: linear-gradient(135deg, #0077cc, #005fa3);
      color: #fff;
      border: none;
      border-radius: 12px;
      padding: 14px 25px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
    }

    .btn:hover {
      background: linear-gradient(135deg, #005fa3, #0077cc,);
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }
 
.location-input-wrapper {
    position: relative;
    display: flex;
}

.location-input-wrapper .form-control {
    padding-right: 45px;
}

.location-input-wrapper .location-icon {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #3498db;
    font-size: 18px;
    padding: 5px 10px;
}

.location-input-wrapper .location-icon:hover {
    color: #2980b9;
}

.note-text {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

.btn-sm {
    padding: 0.7rem 0.7rem;
    font-size: 1rem;
} 

    /* Full width elements */
    .full-width {
      grid-column: 1 / -1;
    }

    /* Keyframes */
    @keyframes sierraLeoneGradient {
      0%   { background-position: 0% 50%; }
      50%  { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }

    /* Success Popup */
    .popup-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(0, 0, 0, 0.7);
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 2000;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .popup-overlay.active {
      opacity: 1;
      visibility: visible;
    }

    .success-popup {
      background: white;
      border-radius: 20px;
      padding: 40px;
      text-align: center;
      max-width: 450px;
      width: 90%;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
      transform: translateY(20px);
      transition: all 0.3s ease;
    }

    .popup-overlay.active .success-popup {
      transform: translateY(0);
    }

    .success-popup h3 {
      margin: 20px 0 15px;
      color: var(--heading-color);
    }

    /* Responsive Styles */
    @media (max-width: 992px) {
      .form-grid {
        grid-template-columns: 1fr;
      }
      
      .contact-grid {
        grid-template-columns: 1fr;
      }
    }

    @media (max-width: 768px) {
      .form-container {
        padding: 25px 20px;
      }
      
      .form-header h1 {
        font-size: 1.8rem;
      }
      
      .form-header p {
        font-size: 1rem;
      }
      
      .radio-group {
        flex-direction: column;
      }
      
      .img-upload-area {
        height: 150px;
      }
    }

.voice-wrap {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  height: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: 0.3s ease-in-out;
  width: 100%;
}


.voice-wrap:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.voice-wrap-2 {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd; 
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: 0.3s ease-in-out; 
}

.voice-wrap-2:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Common counter style */
.lead-content h3 span.counter {
  font-size: 48px;
  font-weight: 700;
  display: block;
}


.analytics-edu-wrap {
  position: relative;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #ddd;
  height: 100%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: 0.3s ease-in-out; 
}

.analytics-edu-wrap:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Add responsive styles */
@media (max-width: 576px) {
  .analytics-edu-wrap {
    padding: 15px; /* Reduce padding */
    border-radius: 8px; /* Smaller border radius */
    height: auto; /* Allow height to be flexible */
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); /* Lighter shadow */
    width: 100%;
  }

  .analytics-edu-wrap .lead-content {
    font-size: 0.9rem; /* Adjust font size for better readability */
  }

  .analytics-edu-wrap .card-title {
    font-size: 1rem; /* Slightly smaller card title */
  }

  .analytics-edu-wrap .feature-desc {
    font-size: 0.85rem; /* Smaller text for descriptions */
  }
}

/* Titles */
.card-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}

/* Descriptions */
.feature-desc {
  font-size: 16px;
  color: #555;
}

.analytics-edu-wrap.total {
  background-color: #f5f5f5; /* Light neutral gray */
  border-left: 5px solid #6c757d; /* Dark gray */
}

/* Colors for specific status boxes */
.analytics-edu-wrap.resolved {
  background-color: #e8f5e9; /* Light green */
  border-left: 5px solid #28a745;
}

.analytics-edu-wrap.pending {
  background-color: #fff8e1; /* Light yellow */
  border-left: 5px solid #ffc107;
}

.analytics-edu-wrap.inprogress {
  background-color: #e3f2fd; /* Light blue */
  border-left: 5px solid #17a2b8;
}

.status-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  padding: 6px 12px;
  font-size: 10px;
  font-weight: 400;
  border-radius: 15px;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.status-pending {
  background-color: #ffc107; /* Yellow */
  color: #000;
}

.status-inprogress {
  background-color: #17a2b8; /* Blue */
}

.status-resolved {
  background-color: #28a745; /* Green */
}

h5 {
  margin-top: 10px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.card-title {
  font-size: 14px;
  color: #777;
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  color: #555;
  margin-bottom: 8px;
}

.report-date {
  font-size: 12px;
  color: #999;
}

/* Container styling */
#report-wash .container {
  max-width: 100%;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

  #reportDetailModal .modal-dialog {
    max-width: 95%;
    height: 95vh;
  }
  
  #reportDetailModal .modal-content {
    height: 100%;
  }
  
  #reportDetailModal .modal-body {
    overflow-y: auto;
    max-height: calc(100vh - 200px);
  }
  
  .report-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
  }
  
  .report-modal-img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
  }
  
  .image-thumbnail {
    width: 100px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    margin-right: 10px;
    margin-bottom: 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
  }
  
  .image-thumbnail:hover {
    border-color: #007bff;
  }

/* Improved Modal for Report Page Styles */
#reportDetailModal .modal-dialog.modal-lg {
  max-width: 750px; /* Reduced from 900px for better proportions */
  margin: 1.75rem auto;
}

#reportDetailModal .modal-content {
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  border: none;
  overflow: hidden; /* Ensures content respects border radius */
}

.modal-header {
  background: linear-gradient(135deg, #0077cc, #2980b9);
  color: white;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
  padding: 15px 20px;
}

.modal-title {
  font-weight: 600;
  color: white;
}

.modal-body {
  padding: 25px;
  max-height: 70vh;
  overflow-y: auto;
}

/* Report Details Layout */
.report-details-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.report-detail-item {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background-color: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #0077cc;
}

.detail-label {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.85rem;
  margin-bottom: 5px;
}

/* Image Preview Styles */
.report-image-preview { 
  width: 65%;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.report-modal-img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
}

/* Attachment Thumbnail Styles */
.attachment-thumbnail {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s, box-shadow 0.3s;
}

.attachment-thumbnail:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

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

.attachment-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.attachment-thumbnail:hover .attachment-overlay {
  opacity: 1;
}

.attachment-overlay i {
  color: white;
  font-size: 24px;
}

/* Document Preview Styles */
.document-preview-box {
  display: flex;
  align-items: center;
  padding: 15px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 15px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
  border: 1px solid #e9ecef;
}

.document-preview-box:hover {
  background-color: #e9ecef;
  transform: translateX(5px);
}

.document-icon {
  margin-right: 15px;
  font-size: 28px;
}

.document-info {
  flex: 1;
}

.document-name {
  display: block;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

.document-type {
  font-size: 0.8rem;
  color: #6c757d;
}

.document-action {
  font-size: 18px;
  color: #6c757d;
}

/* Lightbox Modal Styles */
.lightbox-modal .modal-dialog {
  max-width: 90%;
  margin: 20px auto;
}

.lightbox-modal .modal-content {
  background-color: transparent;
  border: none;
}

.lightbox-modal .modal-header {
  background: transparent;
  border: none;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  padding: 0;
}

.lightbox-modal .btn-close {
  background-color: white;
  border-radius: 50%;
  opacity: 0.8;
  padding: 10px;
}

.lightbox-modal .btn-close:hover {
  opacity: 1;
}

.btn-close {
  color: white;
}

.lightbox-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}
/* Map popup styling to match project cards */
.leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.leaflet-popup-content {
  margin: 0;
  width: 300px !important;
  font-family: inherit;
}

.map-popup-card {
  padding: 15px;
  background: white;
}

.map-popup-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.map-popup-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
  flex: 1;
  padding-right: 10px;
}

.map-popup-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 8px;
  border-radius: 12px;
  color: white;
  white-space: nowrap;
}

.map-popup-detail {
  margin: 8px 0;
  font-size: 0.85rem;
  color: #5a6c7d;
  display: flex;
  align-items: center;
}

.map-popup-detail i {
  margin-right: 8px;
  width: 16px;
  color: #6c757d;
}

.map-popup-action {
  margin-top: 15px;
  text-align: center;
}

.map-popup-btn {
  width: 100%;
  background: linear-gradient(135deg, #3498db, #2980b9);
  color: white;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.8rem;
  text-decoration: none;
  display: inline-block;
}

.map-popup-btn:hover {
  background: linear-gradient(135deg, #2980b9, #1c6ea4);
  color: white;
}


/* Map Marker Styles */
.map-marker-container {
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border: 2px solid white;
}

.map-marker-container i {
  font-size: 20px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .report-details-container {
    grid-template-columns: 1fr;
  }

  .report-image-preview { 
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
  
  .modal-dialog.modal-lg {
    margin: 10px;
    max-width: calc(100% - 20px);
  }
  
  .attachment-thumbnail {
    width: 100px;
    height: 100px;
  }
}

/* Eye icon styling */
    .view-details-btn {
      width: 100%;
      background: linear-gradient(135deg, #0077cc, #005fa3);
      color: #fff;
      border: none;
      border-radius: 12px;
      padding: 14px 25px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
    }
    
    .view-details-btn:hover {
      background: linear-gradient(135deg, #005fa3, #0077cc,);
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

/*--------------------------------------------------------------
# Modern Wash Report Section
--------------------------------------------------------------*/
@keyframes sierraLeoneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.wash-report .wash-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  height: 100%;
  padding: 70px 30px 50px;
  text-align: center;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 1;
}

.wash-report .wash-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
  animation: sierraLeoneGradient 15s ease infinite;
  z-index: 2;
}

.wash-report .wash-card .card-icon {
  margin: 0 auto 25px;
  width: 90px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  position: relative;
  z-index: 3;
}

.wash-report .wash-card .icon-background {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(30, 181, 58, 0.1),
    rgba(0, 114, 198, 0.1)
  );
  backdrop-filter: blur(5px);
  transition: all 0.4s ease;
}

.wash-report .wash-card .card-icon i {
  font-size: 36px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 4;
  background: linear-gradient(
    135deg,
    rgba(30, 181, 58, 0.9),
    rgba(0, 114, 198, 0.9)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.wash-report .wash-card h3 {
  color: #2C3E50;
  font-weight: 700;
  margin: 0 0 20px 0;
  font-size: 22px;
  line-height: 1.3;
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.wash-report .wash-card p {
  color: #6c757d;
  line-height: 1.6;
  font-size: 15px;
  margin-bottom: 0;
  position: relative;
  z-index: 3;
  transition: all 0.3s ease;
}

.wash-report .wash-card .card-hover-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(30, 181, 58, 0.05),
    rgba(0, 114, 198, 0.05)
  );
  opacity: 0;
  transition: all 0.4s ease;
  z-index: -1;
}

/* Hover Effects */
.wash-report .wash-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.wash-report .wash-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
  animation: pulse 2s ease-in-out infinite;
}

.wash-report .wash-card:hover .icon-background {
  background: linear-gradient(
    135deg,
    rgba(30, 181, 58, 0.15),
    rgba(0, 114, 198, 0.15)
  );
  transform: scale(1.1);
}

.wash-report .wash-card:hover .card-icon i {
  transform: scale(1.1);
  background: linear-gradient(
    135deg,
    rgba(30, 181, 58, 1),
    rgba(0, 114, 198, 1)
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wash-report .wash-card:hover h3 {
  color: #1E6EC6;
}

.wash-report .wash-card:hover p {
  color: #495057;
}

.wash-report .wash-card:hover .card-hover-effect {
  opacity: 1;
}

/* Individual Card Variations */
.wash-report .wash-card.card-cyan::before {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
}

.wash-report .wash-card.card-orange::before {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
}

.wash-report .wash-card.card-teal::before {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
}

/* Responsive Design */
@media (max-width: 992px) {
  .wash-report .wash-card {
    padding: 50px 25px 40px;
  }
  
  .wash-report .wash-card .card-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
  }
  
  .wash-report .wash-card .card-icon i {
    font-size: 32px;
  }
  
  .wash-report .wash-card h3 {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .wash-report .wash-card {
    padding: 40px 20px 30px;
    margin-bottom: 30px;
  }
  
  .wash-report .wash-card .card-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 15px;
  }
  
  .wash-report .wash-card .card-icon i {
    font-size: 28px;
  }
  
  .wash-report .wash-card h3 {
    font-size: 18px;
  }
  
  .wash-report .wash-card p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Features Section
--------------------------------------------------------------*/
.features .nav-tabs {
  border: 0;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  padding: 6px;
  width: auto;
}

.features .nav-item {
  margin: 0;
  padding: 0 5px 0 0;
}

.features .nav-item:last-child {
  padding-right: 0;
}

.features .nav-link {
  background-color: transparent;
  color: var(--heading-color);
  padding: 10px 30px;
  transition: 0.3s;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  height: 100%;
  border: 0;
  margin: 0;
}
 
.features .nav-link i {
  padding-right: 15px; 
}

.features .nav-link h4 {
  font-size: 14px;
  font-weight: 500;
  margin: 0;
}

.features .nav-link:hover {
  border-color: color-mix(in srgb, var(--default-color), transparent 80%);
}

.features .nav-link:hover h4 {
  color: var(--accent-color);
}

.features .nav-link.active {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.features .nav-link.active h4 {
  color: var(--contrast-color);
}

.features .tab-content {
  margin-top: 30px;
}

.features .tab-pane h3 {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 32px;
  position: relative;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.features .tab-pane h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  left: 0;
  bottom: 0;
}

.features .tab-pane ul {
  list-style: none;
  padding: 0;
}

.features .tab-pane ul li {
  padding-top: 10px;
}

.features .tab-pane ul i {
  font-size: 20px;
  padding-right: 4px;
  color: var(--accent-color);
}

.features .tab-pane p:last-child {
  margin-bottom: 0;
}
  

/*--------------------------------------------------------------
# Government Accountability Tracker Styles
--------------------------------------------------------------*/
.tracker-section {
  padding: 40px 20px;
  background: #f5f8fd;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.tracker-title {
  font-size: 35px;
  font-weight: 700;
  color: #1e2d3b;
}

.tracker-subtitle {
  font-size: 20px;
  color: #6c757d;
}

.tracker-card {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* lighter border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09); /* lighter shadow */

  border-radius: 18px;
  padding: 25px 20px;
  text-align: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: transform 0.3s ease;
}

.tracker-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tracker-number {
  font-size: 30px;
  font-weight: 800; 
  margin-bottom: 10px;
}

.tracker-label {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.custom-tracker-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 20px;
}

.custom-tracker-col {
  flex: 1 1 100%;
  max-width: 100%;
}

@media (min-width: 992px) {
  .custom-tracker-col {
    flex: 1 1 48%;
    max-width: 48%;
  }
}

.voice-card {
  background: transparent;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  padding: 70px;
}

@media (max-width: 600px) {
  .voice-card { 
    padding: 30px;
  }
}  

.voice-heading {
  font-size: 35px;
  font-weight: bold;
  color: #1e2d3b;
  margin-bottom: 0px; 
  padding-bottom: 8px;
}


        .cv-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            margin-bottom: 20px;
            overflow: hidden;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .cv-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        }
        .cv-card-body {
            padding: 20px;
        }
        .cv-card-footer {
            padding: 16px 20px;
            background-color: #f9f9f9;
            border-top: 1px solid #f1f1f1;
        }
        .cv-post-author {
            display: flex;
            align-items: center;
        }
        
        .cv-author-name {
            margin: 0;
            font-weight: 600;
            font-size: 1rem;
        }
        .cv-post-time {
            margin: 0;
            font-size: 0.8rem;
            color: #6c757d;
        }

        /* Status badges - fixed positioning issue */
.cv-status-badge {
  padding: 6px 14px;
  border-radius: 16px;
  font-size: 12px;
  font-weight: 600;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: relative; /* Changed from absolute to relative */
  display: inline-block; /* Added this */
  margin-left: auto; /* Push to right side */
  top: 0; /* Reset positioning */
  right: 0; /* Reset positioning */
}

.cv-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f1f1f1;
  position: relative; /* Added for proper positioning context */
}

.cv-status-initiative {
  background: linear-gradient(135deg, #e6f7ff 0%, #bae7ff 100%);
  color: #1890ff;
  border: 1px solid rgba(24, 144, 255, 0.2);
}

.cv-status-suggestion {
  background: linear-gradient(135deg, #f6ffed 0%, #d9f7be 100%);
  color: #52c41a;
  border: 1px solid rgba(82, 196, 26, 0.2);
}

.cv-status-feedback {
  background: linear-gradient(135deg, #fff7e6 0%, #ffd591 100%);
  color: #fa8c16;
  border: 1px solid rgba(250, 140, 22, 0.2);
}

/* Add avatar styling */
.cv-author-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f0f0 0%, #e6e6e6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
  font-size: 12px;
  font-weight: 500;
  color: #5a6c7d;
}

        .cv-post-title {
            font-weight: 600;
            margin-bottom: 12px;
            color: #2c3e50;
        }
        .cv-post-content {
            color: #34495e;
            line-height: 1.6;
        }
        .cv-post-tags {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }
        .cv-post-tag {
            background-color: #eef2f7;
            padding: 4px 10px;
            border-radius: 16px;
            font-size: 0.8rem;
            color: #5a6c7d;
        }
        .cv-post-stats {
            display: flex;
            gap: 20px;
            margin-bottom: 12px;
        }
        .cv-stat-item {
            display: flex;
            align-items: center;
            gap: 6px;
            color: #6c757d;
            cursor: pointer;
            transition: color 0.2s;
        }
        .cv-stat-item:hover {
            color: #4a90e2;
        }
        .cv-post-actions {
            display: flex;
            gap: 12px;
            margin-bottom: 16px;
        }
        .cv-action-btn {
            flex: 1;
            background: none;
            border: 1px solid #e1e4e8;
            border-radius: 6px;
            padding: 8px 12px;
            color: #6c757d;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }
        .cv-action-btn:hover {
            background-color: #f1f5f9;
            color: #4a90e2;
        }
        .cv-comments-container {
            border-top: 1px solid #f1f1f1;
            padding-top: 16px;
        }
        .pagination {
            display: flex;
            justify-content: center;
            margin: 30px 0;
        }
        .category-filter {
            display: flex;
            justify-content: center;
            margin-bottom: 20px;
            gap: 10px;
        }
        .category-btn {
            border-radius: 20px;
            padding: 8px 20px;
        }
        .no-posts {
            text-align: center;
            padding: 40px 0;
        }
        .loading-spinner {
            display: flex;
            justify-content: center;
            padding: 30px 0;
        }

        /* Add these styles to your existing CSS */
.cv-action-btn.liked {
  background-color: #4a90e2 !important;
  color: white !important;
}

.cv-action-btn:active {
  transform: scale(0.98);
}

.cv-stat-item:hover {
  color: #4a90e2;
  transform: translateY(-2px);
}

/* Loading spinner */
.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}

/* Alert styles */
.alert {
  padding: 0.75rem 1.25rem;
  margin-bottom: 1rem;
  border: 1px solid transparent;
  border-radius: 0.25rem;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
  border-color: #ffeeba;
}

.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
  border-color: #f5c6cb;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

/* Comments scrolling styles */
.cv-comments-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 15px;
  padding-right: 5px;
  position: relative;
}

.cv-comments-list::-webkit-scrollbar {
  width: 6px;
}

.cv-comments-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.cv-comments-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.cv-comments-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.hidden-comments {
  transition: opacity 0.3s ease;
}

/* Modern Event Modal Styles */
.modal.event-modal .modal-dialog {
  max-width: 500px;
}

.modal.event-modal .modal-content {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border: none;
}

.modal.event-modal .modal-header {
  background: linear-gradient(135deg, #4a90e2 0%, #2a6dc9 100%);
  color: white;
  border-bottom: none;
  padding: 20px 25px;
}

.modal.event-modal .modal-title {
  font-weight: 600;
  font-size: 1.4rem;
}

.modal.event-modal .btn-close {
  filter: invert(1);
  opacity: 0.8;
}

.modal.event-modal .btn-close:hover {
  opacity: 1;
}

.modal.event-modal .modal-body {
  padding: 25px;
}

.modal.event-modal .event-detail-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid #f0f0f0;
}

.modal.event-modal .event-detail-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.modal.event-modal .event-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
  font-size: 18px;
}

.modal.event-modal .event-icon.name {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  color: #1976d2;
}

.modal.event-modal .event-icon.category {
  background: linear-gradient(135deg, #f3e5f5 0%, #e1bee7 100%);
  color: #7b1fa2;
}

.modal.event-modal .event-icon.datetime {
  background: linear-gradient(135deg, #fff8e1 0%, #ffecb3 100%);
  color: #f57f17;
}

.modal.event-modal .event-icon.location {
  background: linear-gradient(135deg, #e8f5e9 0%, #c8e6c9 100%);
  color: #388e3c;
}

.modal.event-modal .event-icon.organizer {
  background: linear-gradient(135deg, #fbe9e7 0%, #ffccbc 100%);
  color: #d84315;
}

.modal.event-modal .event-icon.status {
  background: linear-gradient(135deg, #e8eaf6 0%, #c5cae9 100%);
  color: #303f9f;
}

.modal.event-modal .event-detail-content {
  flex: 1;
}

.modal.event-modal .event-detail-label {
  font-weight: 600;
  color: #555;
  margin-bottom: 4px;
  font-size: 0.9rem;
}

.modal.event-modal .event-detail-value {
  color: #333;
  font-weight: 500;
}

.modal.event-modal .event-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.modal.event-modal .modal-footer {
  border-top: 1px solid #f0f0f0;
  padding: 20px 25px;
}

.modal.event-modal .btn-save-date {
  background: linear-gradient(135deg, #4a90e2 0%, #2a6dc9 100%);
  border: none;
  border-radius: 8px;
  padding: 10px 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.modal.event-modal .btn-save-date:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Like animation */
.liked-animation {
  animation: likePulse 0.6s ease;
}

@keyframes likePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.cv-action-btn.liked {
  background-color: #4a90e2 !important;
  color: white !important;
  border-color: #4a90e2 !important;
}

.cv-stat-item:hover {
  color: #4a90e2;
  transform: translateY(-2px);
}

.cv-stat-item.liked-animation {
  color: #4a90e2;
}

/* Improved comment styling */
.cv-comment {
  border-bottom: 1px solid #e9ecef;
  padding: 12px 0;
  margin-bottom: 0;
  background: transparent !important;
}

.cv-comment:last-child {
  border-bottom: none;
}

.cv-comment:hover {
  background-color: #f8f9fa !important;
}

.cv-comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}

.cv-comment-user {
  font-weight: 600;
  color: #2c3e50;
  font-size: 0.95rem;
}

.cv-comment-time {
  color: #6c757d;
  font-size: 0.8rem;
  white-space: nowrap;
  margin-left: 10px;
}

.cv-comment-text {
  color: #495057;
  line-height: 1.5;
  font-size: 0.9rem;
  margin: 0;
}

/* Comment form styling */
.cv-comment-form {
  background: #f8f9fa;
  padding: 15px;
  border-radius: 8px;
  margin-top: 15px;
  border: 1px solid #e9ecef;
}

.cv-comment-input {
  border: 1px solid #dee2e6;
  border-radius: 6px;
  resize: vertical;
  min-height: 80px;
}

.cv-comment-input:focus {
  border-color: #4a90e2;
  box-shadow: 0 0 0 0.2rem rgba(74, 144, 226, 0.25);
}

/* Scroll note styling */
.comments-scroll-note {
  background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
  border-left: 4px solid #1976d2;
  padding: 10px 15px;
  border-radius: 6px;
  margin: 10px 0;
  text-align: center;
}

.comments-scroll-note small {
  color: #1976d2;
  font-weight: 500;
}

.comments-scroll-note i {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-5px);
  }
  60% {
    transform: translateY(-3px);
  }
}



/* Voice recording styles */
.voice-input-toggle {
  display: flex;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background: #f8f9fa;
}

.voice-input-toggle-btn {
  flex: 1;
  padding: 10px;
  text-align: center;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.voice-input-toggle-btn.active {
  background: #0077cc;
  color: white;
}

.voice-recorder-container {
  display: none;
  margin-bottom: 15px;
  text-align: center;
  padding: 15px;
  border-radius: 8px;
  background: #f8f9fa;
}

.record-btn {
  background: #e74c3c;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  font-size: 20px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.record-btn.recording {
  animation: pulse 1.5s infinite;
  background: #c0392b;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

.recording-timer {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 10px;
}

.recording-visualizer {
  height: 30px;
  margin: 10px 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 2px;
}

.visualizer-bar {
  width: 3px;
  background: #2c6aa0;
  border-radius: 2px;
  transition: height 0.1s ease;
}

.recording-controls {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.audio-preview {
  margin-top: 15px;
  display: none;
}

.audio-preview audio {
  width: 100%;
}

/* Audio post card styles */
.cv-card.audio-post {
  border-left: 4px solid #2c6aa0;
}

.audio-player-container {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 15px;
  margin-top: 10px;
}

.audio-player-container audio {
  width: 100%;
}

.audio-duration {
  font-size: 12px;
  color: #6c757d;
  margin-top: 5px;
  text-align: right;
}

.custom-tracker-card {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.custom-tracker-heading {
  font-size: 20px;
  font-weight: bold;
  color: #1e2d3b;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 8px;
}

.custom-tracker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 1px;
}

.custom-tracker-value {
  font-size: 30px;
  font-weight: 800;
  color: #1a73e8;
  min-width: 40px;
}

.custom-tracker-label {
  font-size: 16px;
  color: #333;
  font-weight: 500;
}

.custom-timeline-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.custom-timeline-list li {
  display: flex;
  align-items: center;
  font-size: 15px;
  color: #222;
  margin-bottom: 0px;
}

.icon-success {
  color: #28a745;
  margin-right: 8px;
}

.icon-primary {
  color: #007bff;
  margin-right: 8px;
}

.icon-warning {
  color: #ffc107;
  margin-right: 8px;
}

.icon-info {
  color: #17a2b8;
  margin-right: 8px;
}

.icon-muted {
  color: #6c757d;
  margin-right: 8px;
}

.glass-stat-card1 {
  background: transparent;
  border-radius: 35px;
  border: 1px solid lightgrey;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30%;
  box-sizing: border-box; /* Ensures padding doesn't break width */
  transition: all 0.3s ease; /* Smooth resizing */
}

/* For tablets and medium screens */
@media (max-width: 992px) {
  .glass-stat-card1 {
    width: 35%; /* Slightly bigger for smaller screens */
    margin-bottom: 15px;
  }
}

/* For mobile screens */
@media (max-width: 600px) {
  .glass-stat-card1 {
    width: 50%; /* Full width minus padding */
    flex-direction: column; /* Stack content vertically if needed */
    padding: 12px 16px;
  }
}


.stat-label1 {
  color: black;
  font-size: 12px;
  font-weight: 400;
  margin: 0;
}

.custom-tracker-center-box {
  display: flex;
  justify-content: center;
  margin: 15px 0;
}

.stats-card {
    background: #fff;
    border-radius: 12px;
    padding: 1rem 1.25rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    position: relative;
    overflow: hidden;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .stats-header {
    display: flex;
    align-items: center;
  }
  .stats-header .icon-wrapper {
    font-size: 1.0rem;
    display: inline-flex;
    align-items: right;
    justify-content: right;
     position: absolute;
  top: 1rem;
  right: 1rem;
  }
  .stats-title {
    margin: 0;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #555;
  }
  .stats-main {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .stats-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
  }
  .subtext {
    font-size: 0.85rem;
    color: #666;
    margin-top: 4px;
  }
  .breakdown {
    font-size: 0.8rem;
    margin-top: 6px;
    color: #444;
  }
  .progress-wrapper {
    margin-top: 0.5rem;
  }
  .progress-label {
    font-size: 0.75rem;
    margin-bottom: 4px;
    display: flex;
    justify-content: space-between;
  }
  .progress {
    height: 10px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
  }
  .progress-inner {
    height: 100%;
    width: 0;
    background: #198754;
    border-radius: 4px;
    transition: width 1s ease;
  }
  .small-muted {
    font-size: 0.75rem;
    color: #888;
    margin-top: 4px;
  }

  .project-filter-box {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    margin-top: 2rem;
  }

  .project-filter-header h5 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
  }

  .project-filter-header p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .project-search input {
    border-radius: 8px;
    padding: 0.65rem 1rem;
    font-size: 0.95rem;
    background: rgba(255, 255, 255, .9); /* translucent white */
  }

.export-buttons {
  display: flex;
  justify-content: flex-end; /* pushes content to the extreme right */
  margin-right: 0rem; /* space from the right edge */
}

.export-buttons button {
  border-radius: 10px;
  font-size: 0.8rem;
  padding: 0.5rem 1rem;
  margin-left: 0.5rem; /* space between buttons */
  background: rgba(255, 255, 255, .9); /* translucent white */
}

.export-buttons i {
  margin-right: 6px;
}


  .filter-dropdown label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
  }

  .filter-dropdown select {
    border-radius: 8px;
    padding: 0.5rem;
    font-size: 0.9rem; 
  }

  .project-count {
    text-align: right;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
  }

  @media (max-width: 767px) {
    .export-buttons {
      margin-top: 1rem;
      text-align: start;
    }

    .project-count {
      text-align: center;
    }
  }
 
  .glass-btn {
    background: white;
    border: 1px solid lightgrey;
    color: black;
    margin-right: 0.5rem;
  }

  .glass-btn i {
    margin-right: 6px;
  }

  .glass-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    color: black;
    border-radius: 10px;
  }

  .export-buttons .glass-btn:last-child {
    margin-right: 0;
  }

  @media (max-width: 768px) {
    .export-buttons {
      justify-content: start;
      margin-top: 1rem;
    }
  } 
 
  .gov-project-tracker {
    background: #fdfdfd;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  }

  .gov-tracker-heading {
    font-size: 1.5rem;
    font-weight: 600;
  }

 .mini-gov-project-card {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 1rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  max-width: 400px;
  font-size: 0.85rem;
}

  
.mini-stats-item i {
  font-size: 1rem;
  flex-shrink: 0;
}

.mini-stats-item small {
  line-height: 1.2;
}

.btn-glass-outline {
  font-size: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid rgba(0, 95, 163, 0.3);
  padding: 10px 20px;
  font-weight: 400;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.15);
  color: black;
  flex: 1;
  min-width: 0;
  margin: 0 5px;
}

.btn-glass-outline:hover {
  background: rgba(0, 95, 163, 0.1);
  border: 1px solid rgba(0, 95, 163, 0.6);
  color: #000;
  box-shadow: 0 6px 14px rgba(0, 95, 163, 0.1);
}

.btn-glass-danger {
  font-size: 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 10px;
  border: 1px solid red;
  padding: 10px 20px;
  font-weight: 400;
  transition: all 0.3s ease;
  background: transparent;
  color: red;
  flex: 1;
  min-width: 0;
  margin: 0 5px;
}

.btn-glass-danger:hover {
  background: rgba(220, 53, 69, 0.25);
  box-shadow: 0 4px 10px rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: 1px solid red;
}

/* Container for the buttons */
.buttons-container {
  display: flex;
  justify-content: center;
  gap: 15px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Responsive adjustments for small screens */
@media (max-width: 576px) {
  .buttons-container {
    flex-direction: row; /* Ensure buttons stay side by side */
    gap: 10px;
    padding: 0 10px;
  }
  
  .btn-glass-outline,
  .btn-glass-danger {
    font-size: 0.9rem;
    padding: 8px 12px;
    white-space: nowrap;
  }
}

/* For very small screens */
@media (max-width: 360px) {
  .btn-glass-outline,
  .btn-glass-danger {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  
  .btn-glass-outline i,
  .btn-glass-danger i {
    margin-right: 4px;
  }
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  max-width: 98vw !important;
}

.gov-project-card {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 1.25rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); 
  width: 100%;           /* allows card to shrink if container smaller */
  font-size: 0.95rem;
  transition: all 0.3s ease-in-out;
  flex: 1 1 300px;       /* flex-grow:1, flex-shrink:1, basis:300px */
  box-sizing: border-box;
}

.gov-project-card:hover {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: scale(1.02);
}


/* Optional: adjust marker icon size */
  .custom-fa-icon i {
    font-size: 28px;
    text-shadow: 0 0 2px #00000088;
  }

/* Modern Language Selector Styles */
.language-selector-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 20px;
}

.language-selector {
  position: relative;
  display: inline-block;
  width: 140px;
}

.modern-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 25px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 1px rgba(255, 255, 255, 0.1);
  padding: 10px 45px 10px 45px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
  width: 100%;
}

.modern-select:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.25),
    inset 0 1px 2px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.modern-select:focus {
  background: rgba(255, 255, 255, 0.3);
  border-color: #0077cc;
  box-shadow: 
    0 0 0 3px rgba(0, 119, 204, 0.2),
    0 12px 40px rgba(0, 0, 0, 0.25);
}

.selector-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  pointer-events: none;
  transition: color 0.3s ease;
}

.modern-select:hover ~ .selector-icon {
  color: #fff;
}

.custom-arrow {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 12px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modern-select:hover ~ .custom-arrow {
  color: #fff;
  transform: translateY(-50%) rotate(180deg);
}

/* Modern dropdown styling */
.modern-select option {
  background: #2d3748;
  color: #fff;
  padding: 12px;
  font-size: 14px;
  border: none;
}

.modern-select option:hover {
  background: #0077cc !important;
  color: #fff;
}

.modern-select option:checked {
  background: #0077cc;
  color: #fff;
}

/* Selected language display */
.selected-language-display {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 5px;
  text-align: center;
  z-index: 1000; /* Added to ensure it appears above other elements */
  pointer-events: none; /* Added to prevent interaction issues */
}

.local-languages {
  font-family: 'Inter', 'Open Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  padding: 4px 8px;
  background: rgba(0, 119, 204, 0.9);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(-8px);
  transition: all 0.3s ease;
  display: inline-block;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  pointer-events: none; /* Added to prevent interaction issues */
}

.local-languages.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animation for language change */
@keyframes languageChange {
  0% { transform: scale(0.95); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.language-change-animation {
  animation: languageChange 0.4s ease;
}

/* Responsive design */
@media (max-width: 768px) {
  .language-selector-wrapper {
    margin-left: 0;
    margin-top: 10px;
    width: 50%;
  }
  
  .language-selector {
    width: 75%;
  }
  
  .modern-select {
    width: 100%;
    text-align: center;
    padding-left: 15px;
    padding-right: 40px;
  }
  
  .selector-icon {
    left: 5px;
    display: none;

  }
  
  .selected-language-display {
    margin-top: 4px;
  }
  
  .local-languages {
    font-size: 0.65rem;
    padding: 3px 6px;
    border-radius: 10px;
  }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  .modern-select {
    background: rgba(255, 255, 255, 0.1);
  }
  
  .modern-select:hover {
    background: rgba(255, 255, 255, 0.2);
  }
}

.card {
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.3)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1); /* lighter border */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09); /* lighter shadow */
  padding: 5px;
}

@keyframes sierraLeoneGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Specific Status Colors */
.status-initiative {
  background-color: transparent; /* Blue */
  border: 1px solid #1e90ff;
  color: #1e90ff;
}

.status-suggestion {
  background-color: transparent; /* Blue */
  border: 1px solid #28a745;
  color: #28a745;
}

.status-feedback {
  background-color: transparent; /* Blue */
  border: 1px solid #ff8c00;
  color: #ff8c00;
}

/* Optional: Add hover effect */
.status-badge:hover {
  opacity: 0.85;
  transition: 0.3s;
}

.timeline-container {
  display: flex;
  flex-wrap: wrap; 
}

.left-column {
  flex: 0 0 66%; /* 2/3 width */
  max-width: 100%;
}

.right-column {
  flex: 0 0 30%; /* 1/3 width */
  max-width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Stack on small screens */
@media (max-width: 991px) {
  .left-column,
  .right-column {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

:root {
  --bg-1: #0f1724;
  --bg-2: #071123;
  --accent-1: #6C8CFF;
  --accent-2: #4DD8E3;
  --glass: rgba(255,255,255,0.06);
  --muted: rgba(255,255,255,0.75);
  --danger: #ff6b6b;
  --card-radius: 16px;
}

.Wash {
  margin-top: 8px;
  width: 35%;
  height: auto;
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #062135;
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;
  box-shadow: 0 8px 30px rgba(77,216,227,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.12s;
}

.Wash:active {
  transform: translateY(1px);
}

.Wash:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive adjustments */

/* Tablets */
@media (max-width: 992px) {
  .Wash {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* Mobile screens */
@media (max-width: 600px) {
  .Wash {
    font-size: 13px;
    padding: 10px 12px;
    width: 30%; /* Full width for better tap targets */
    text-align: center;
  }
}

.Washed {
  margin-top: 8px;
  width: 15%;
  height: auto;
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #062135;
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),    /* Main blue - 90% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(208, 230, 251, 0.3),  /* Light blue - 60% opacity */
    rgba(74, 157, 227, 0.3),  /* Medium blue - 75% opacity */
    rgba(0, 95, 163, 0.01)     /* Dark blue - 88% opacity */
);
background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;
  box-shadow: 0 8px 30px rgba(77,216,227,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.12s;
}

.Washed:active {
  transform: translateY(1px);
}

.Washed:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Responsive adjustments */

/* Tablets */
@media (max-width: 992px) {
  .Washed {
    font-size: 14px;
    padding: 10px 14px;
  }
}

/* Mobile screens */
@media (max-width: 600px) {
  .Washed {
    font-size: 13px;
    padding: 10px 12px;
    width: 30%; /* Full width for better tap targets */
    text-align: center;
  }
}

/* Project Status Badges */
.gov-project-status.status-completed {
    background-color: #28a745; /* Bootstrap green */
    color: #fff; /* White text */
}

.gov-project-status.status-notstarted {
    background-color: #dc3545; /* Red for not started */
    color: #fff;
}

/* Modern Project Card Design */
.gov-project-card1 {
  background: #ffffff; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, .1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gov-project-card1:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.gov-project-card1 .gov-project-status {
  font-size: 0.65rem !important;
  font-weight: 600;
  padding: 4px 10px;
  z-index: 10;
}

.gov-project-card1 h6 {
  color: #2c3e50;
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 8px;
  font-weight: 700;
}

.gov-project-card1 p {
  color: #5a6c7d;
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 12px;
}

.gov-stats {
  margin: 12px 0;
}

.stats-item {
  background: #f8f9fa;
  border-radius: 8px;
  padding: 10px;
  flex: 1;
  min-width: 120px;
}

.stats-item .fw-bold {
  color: #2c3e50;
  font-size: 0.9rem;
}

.stats-item .text-muted {
  font-size: 0.7rem;
}

.progress-wrapper {
  margin: 15px 0;
}

.progress {
  height: 10px;
  border-radius: 10px;
  background-color: #e9ecef;
  overflow: hidden;
}

.progress-bar {
  border-radius: 10px;
  transition: width 1s ease-in-out;
}

.gov-project-card1 ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gov-project-card1 ul li {
  padding: 4px 0;
  font-size: 0.8rem;
  color: #6c757d;
  border-bottom: 1px solid #f1f1f1;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.gov-project-card1 ul li:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.view-detail-btn {
      width: 100%;
      background: linear-gradient(135deg, #0077cc, #005fa3);
      color: #fff;
      border: none;
      border-radius: 12px;
      padding: 14px 25px;
      font-size: 1rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.3s ease;
      display: inline-block;
      text-decoration: none;
    }
    
    .view-detail-btn:hover {
      background: linear-gradient(135deg, #005fa3, #0077cc,);
      color: #fff;
      transform: translateY(-1px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

.card-container {
  position: relative; /* Required for absolute positioning of child elements */
  padding-bottom: 40px; /* Add space at the bottom for the button */
}

.temp {
  position: absolute;
  bottom: 15px;
  right: 15px; 
  transition: opacity 0.3s ease;
  background: transparent;
  color: black;
  border: none;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer; 
margin-bottom: 10px;
}

.temp:hover { 
  transform: scale(1.1);
}

.view-hover-reveal {
  position: absolute;
  bottom: 15px;
  right: 15px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.card-container:hover .view-hover-reveal {
  opacity: 1;
  transform: translateY(0);
}        
        .card-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 12px;
        }
        
.location, .date {
            font-size: 14px;
            color: #6c757d;
            display: flex;
            align-items: center;
        }
 
        
        .lead-content h5 {
            color: #2c3e50;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        /* Two cards per row */
        .row-custom {
            display: flex;
            flex-wrap: wrap;
            margin-right: -10px;
            margin-left: -10px;
        }
        
        .col-custom {
            flex: 0 0 50%;
            max-width: 50%;
            padding: 0 10px;
            box-sizing: border-box;
        }
        
        /* Responsive adjustments */
        @media (max-width: 992px) {
            .col-custom {
                flex: 0 0 100%;
                max-width: 100%;
            }
        }
        
        @media (max-width: 576px) {
            .location-date-container {
                flex-direction: column;
            }
            
            .date {
                margin-top: 5px;
            }
            
            .custom-tracker-card {
                padding: 15px;
            }
        }


/* Map marker styling with default pin */
.custom-marker {
  width: 40px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
}
 
/* Reduced width for project details modal */
#projectDetailsModal .modal-dialog {
  max-width: 650px;
}

/* Filter section improvements */
.project-filter-box {
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.project-search input {
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #e2e8f0;
}

.export-buttons {
  display: flex;
  gap: 12px;
}

.export-buttons .glass-btn {
  padding: 10px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  cursor: pointer;
}

.filter-dropdown select {
  border-radius: 8px;
  padding: 12px;
  border: 1px solid #e2e8f0;
}

.project-count {
  margin-top: 20px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 8px;
  text-align: center;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gov-project-card1 {
    margin-bottom: 20px;
  }
  
  .stats-item {
    min-width: 100%;
    margin-bottom: 10px;
  }
  
  .export-buttons {
    flex-direction: column;
    margin-top: 15px;
  }
  
  #projectDetailsModal .modal-dialog {
    max-width: 95%;
    margin: 10px auto;
  }
  
  .leaflet-popup-content {
    width: 250px !important;
  }
}

:root {
  --blue: #0077cc;
  --blue-dark: #005fa3;
  --blue-light: #d0e6fb;
  --blue-accent: #4a9de3;
  --blue-pale: #e8f3ff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-600: #6c757d;
  --gray-800: #343a40;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
}

.dashboard-section {
  background: var(--blue-pale);
  border-radius: 16px;
  padding: 30px;
}

.dashboard-header {
  padding: 20px 0;
}

.dashboard-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}

.dashboard-subtitle {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Metric Cards - FIXED: Changed border-left to border-top */
.metric-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--blue) !important;
  border-left: none !important;
}

.metric-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 119, 204, 0.15);
}

/* Fix for metric trend positioning - make it more specific */
.metric-card .metric-trend {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Ensure timeline percentages don't get affected by metric-trend styles */
.timeline-status {
  margin-left: 10px;
  position: static !important; /* Override any absolute positioning */
}

/* Make timeline percentages non-interactive to prevent glitching */
.timeline-status .status-badge {
  pointer-events: none;
  user-select: none;
}

.metric-icon {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 16px;
}

.metric-content {
  margin-bottom: 12px;
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
  margin-bottom: 5px;
}

.metric-label {
  font-size: 0.95rem;
  color: var(--gray-600);
  font-weight: 500;
}

.metric-trend {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Panel Cards */
.panel-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  height: 100%;
  border: 1px solid #f8f9fa;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}

.panel-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: black;
  margin: 0;
}

.btn-panel {
  background: var(--blue-light);
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
  transition: all 0.2s ease;
}

.btn-panel:hover {
  background: var(--blue);
  color: white;
}

/* Metrics Container */
.metrics-container {
  margin: 20px 0;
}

.metric-item {
  margin-bottom: 24px;
}

.metric-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.metric-name {
  font-weight: 600;
  color: var(--gray-800);
}

.metric-value {
  font-weight: 700;
  color: var(--blue-dark);
}

.metric-detail {
  display: flex;
  justify-content: space-between;
  margin-top: 5px;
}

.metric-count {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.progress {
  height: 10px;
  background-color: var(--gray-200);
  border-radius: 4px;
  overflow: hidden;
}

/* Timeline - FIXED: Added protection for static percentages */
.timeline-highlight {
  text-align: center;
  padding: 5px;
  background: var(--blue-light);
  border-radius: 10px;
}

.timeline-display {
  padding: 5px;
}

.timeline-target {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 1px;
}

.timeline-label {
  font-size: 0.9rem;
  color: var(--gray-600);
  font-weight: 500;
}

.timeline-items {
  margin-top: 20px;
}

.timeline-item {
  display: flex;
  align-items: center;
  padding: 16px;
  margin-bottom: 12px;
  background: var(--gray-100);
  border-radius: 8px;
  transition: all 0.2s ease;
}

.timeline-item:hover {
  background: var(--blue-light);
  transform: translateX(5px);
}

.timeline-icon {
  font-size: 1.2rem;
  margin-right: 16px;
  width: 36px;
  text-align: center;
  color: var(--blue);
}

.timeline-details {
  flex: 1;
}

.timeline-title {
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 3px;
}

.timeline-description {
  font-size: 0.9rem;
  color: var(--gray-600);
}

.timeline-status {
  margin-left: 10px;
}

/* FIXED: Prevent timeline percentages from being modified */
.timeline-status .status-badge {
  pointer-events: none;
  user-select: none;
}

/* Performance Tags */
.performance-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.performance-tag {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.performance-tag.success {
  background: #e8f6ef;
  color: var(--success);
}

.performance-tag.info {
  background: #e3f2fd;
  color: var(--blue);
}

.performance-tag.warning {
  background: #fff4e5;
  color: var(--warning);
}

/* Reports Section */
.reports-section {
  margin-top: 40px;
}

.reports-header {
  margin-bottom: 25px;
}

.reports-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: black;
  margin-bottom: 8px;
}

.reports-subtitle {
  color: var(--gray-600);
  margin-bottom: 15px;
}

/* Report Cards - Improved Design */
.report-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  border: 1px solid #f8f9fa;
}

.report-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 119, 204, 0.15);
}

.report-card-header {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid var(--gray-200);
}

.report-status {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-resolved {
  background: #e8f6ef;
  color: var(--success);
  border: 1px solid var(--success);
  border-radius: 30px;
}

.status-inprogress {
  background: #e3f2fd;
  color: var(--blue);
  border: 1px solid var(--blue);
  border-radius: 30px;
}

.status-pending {
  background: #fff4e5;
  color: var(--warning);
  border: 1px solid var(--warning);
  border-radius: 30px;
}

.report-view-btn {
  background: var(--blue-light);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  transition: all 0.2s ease;
}

.report-view-btn:hover {
  background: var(--blue);
  color: white;
}

.report-card-body {
  padding: 16px;
}

.report-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.report-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.report-location, .report-date {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.report-location i, .report-date i {
  margin-right: 8px;
  color: var(--blue);
}

.report-card-footer {
  padding: 12px 16px;
  background: var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.report-id {
  font-size: 0.85rem;
  color: var(--gray-600);
}

.report-action-btn {
  background: transparent;
  border: 1px solid var(--blue);
  color: var(--blue);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.report-action-btn:hover {
  background: var(--blue);
  color: white;
}

/* Pagination */
.pagination-container {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-pagination {
  margin-top: 8px;
  width: 15%;
  height: auto;
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  color: #062135;
  background: linear-gradient(
    270deg,
    rgba(0, 119, 204, 0.3),
    rgba(74, 157, 227, 0.3),
    rgba(208, 230, 251, 0.3),
    rgba(74, 157, 227, 0.3),
    rgba(0, 95, 163, 0.01)
  );
  background-size: 600% 600%;
  animation: sierraLeoneGradient 30s ease infinite;
  box-shadow: 0 8px 30px rgba(77,216,227,0.08);
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.12s;
}

.btn-pagination:hover {
  transform: translateY(1px);
}

.btn-pagination:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.pagination-info {
  font-weight: 600;
  color: black;
}

.status-badge.success {
  background: #e8f6ef;
  color: var(--success); 
}

.status-badge.warning {
  background: #fff4e5;
  color: var(--warning); 
}

.status-badge.danger {
  background: #ffebee;
  color: var(--danger); 
}

/* FIXED: Ensure map popups don't inherit any borders */
.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  border: none !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .dashboard-title {
    font-size: 1.6rem;
  }
  
  .panel-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .metric-number {
    font-size: 1.8rem;
  }
  
  .timeline-item {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  
  .timeline-status {
    margin-left: 0;
  }
  
  .btn-pagination {
    width: 30%; /* More appropriate for mobile */
  }
}

.progress-container {
  margin-top: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
}

.progress-bar {
  height: 10px;
  background: #e9ecef;
  border-radius: 5px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: #4a9de3;
  width: 0%;
  transition: width 0.5s ease;
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #6c757d;
}

.progress-step {
  text-align: center;
  flex: 1;
}

.progress-step.active {
  color: #0077cc;
  font-weight: bold;
}

.data-summary {
  margin-top: 30px;
  background: #f8f9fa;
  border-radius: 10px;
  padding: 15px;
}

.data-item {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #dee2e6;
}

.data-item:last-child {
  border-bottom: none;
}

/* Form Grid Layout */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* News Section Styles */
.news-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.news-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.1) 100%);
  backdrop-filter: blur(10px);
  z-index: -1;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 30px;
  min-height: 400px;
}

.news-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.news-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.2);
}

.news-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-date {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  backdrop-filter: blur(10px);
}

.news-content {
  padding: 25px;
}

.news-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  line-height: 1.4;
  color: #fff;
  font-weight: 600;
}

.news-excerpt {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  line-height: 1.6;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  color: #4e9af1;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.news-read-more:hover {
  color: #7ab4ff;
  transform: translateX(5px);
}

.news-read-more i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.news-read-more:hover i {
  transform: translateX(3px);
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.news-tag {
  background: rgba(78, 154, 241, 0.2);
  color: #4e9af1;
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 0.75rem;
  font-weight: 500;
}

.news-section-header {
  text-align: center;
  margin-bottom: 40px;
}

.news-section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #fff;
  position: relative;
  display: inline-block;
}

.news-section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4e9af1, #8bc34a);
  border-radius: 2px;
}

.news-section-subtitle {
  color: rgba(255, 255, 255, 0.8);
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.news-view-all {
  text-align: center;
  margin-top: 60px;
}

.btn-view-all {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(90deg, #4e9af1, #8bc34a);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(78, 154, 241, 0.3);
}

.btn-view-all:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(78, 154, 241, 0.4);
}

/* Filter controls for news section */
.news-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(78, 154, 241, 0.2);
  color: #4e9af1;
  border-color: #4e9af1;
}

/* Status tags for different report statuses */
.status-tag {
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: rgba(255, 193, 7, 0.2);
  color: #ffc107;
}

.status-in-progress {
  background: rgba(0, 123, 255, 0.2);
  color: #007bff;
}

.status-resolved {
  background: rgba(40, 167, 69, 0.2);
  color: #28a745;
}

.status-closed {
  background: rgba(108, 117, 125, 0.2);
  color: #6c757d;
}


/* Keyframes for the spinning animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* No results message */
.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: rgba(255, 255, 255, 0.7);
}

.no-results h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

/* Animation for news cards */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.news-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .news-section {
    padding: 60px 0;
  }
  
  .news-section-title {
    font-size: 2rem;
  }
  
  .news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-filters {
    flex-direction: column;
    align-items: center;
  }
  
  .filter-btn {
    width: 200px;
    text-align: center;
  }
}

/* Status tags for three report statuses */
.status-tag {
  font-weight: 600;
  text-transform: capitalize;
}

.status-pending {
  background: rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.status-in-progress {
  background: rgba(0, 123, 255, 0.3);
  color: #007bff;
}

.status-resolved {
  background: rgba(40, 167, 69, 0.3);
  color: #28a745;
}

/* Progress bar colors based on completion level for three statuses */
.progress-bar.low {
  background: linear-gradient(90deg, #ff6b6b, #ff9e6b);
}

.progress-bar.medium {
  background: linear-gradient(90deg, #ffd166, #ffb74d);
}

.progress-bar.high {
  background: linear-gradient(90deg, #4e9af1, #6bc2ff);
}

/* No complete class needed since we don't have closed status */