/*--------------------------------------------------------------
# Font & Color Variables
--------------------------------------------------------------*/
: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: "Roboto",  sans-serif;
  --nav-font: "Roboto",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --light-background-color: #f8f9fa; /* Background color for the entire website, including individual sections */
  --default-color: #2b2b2b; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #1d0a69; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #1062AC; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  scroll-behavior: smooth;
  --primary-background-color:#1d0a69;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --orange-color:#F57C00;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

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;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--default-color);
  font-family: var(--heading-font);
}

.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 90px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}
.light-background {
  --background-color: #f8f9fa;
}
.highlight-heading{
  color: var(--heading-color);
  font-weight: 700;
}
.highlight-heading-v2{
  color: var(--orange-color);
  font-weight: 700;
}
.border-color-orange{
  border-color: var(--orange-color);
}
.primary-cta, .secondary-cta{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  padding: 16px 32px;
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 6px;
  border: 2px solid;
}
.primary-cta{
  background-color: var(--primary-background-color);
  color: var(--contrast-color);
  border-color: var(--primary-background-color);
}
.primary-cta:hover {
  background-color: #2b1096;
  color: var(--contrast-color);
  border-color: #2b1096;
}
.secondary-cta{
  background-color: var(--orange-color);
  color: var(--contrast-color);
  border-color: var(--orange-color);
}
.secondary-cta:hover{
  background-color: #e26502;
  color: var(--contrast-color);
  border-color: #e26502;
}
.primary-cta .icon-bi, .secondary-cta .icon-bi{
  transition: transform 0.3s ease;
  margin-left: 10px;
}
.primary-cta:hover .icon-bi, .secondary-cta:hover .icon-bi{
  transform: translateX(8px);
}
.btn-container .btn{
  margin-right: 1em;
}
@media (max-width: 767.98px) {
  .section{padding: 48px 0;}
}


/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
.topbar {
  background-color: var(--primary-background-color);
  padding: 0 0;
  font-size: 14px;
  transition: all 0.5s;
  position: relative;
  z-index: 1000;
}
.top-navbar-nav{
  margin: 0;
  padding: 0;
}
.top-navbar-nav .nav-item{
  color: var(--surface-color);
  display: inline-block;
  margin-right: 1em;
}
.top-navbar-nav .nav-item a{
  color: var(--surface-color);
}
.top-navbar-nav .nav-item:hover, .top-navbar-nav .nav-item a:hover{
  color: var(--orange-color);
}
/* Top menu accessibility, skip content, language */
.menu-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 2px 0;
  flex-wrap: wrap;
}
.menu-top .skip-link, .menu-top li.font-tools button, .menu-top li.language-switch a {
  font-size: 1em;
  cursor: pointer;
  color: #fff;
}
.menu-top button {
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
}
.skip-link {
  position: absolute;
  top: 5px;
  left: 5px;
  color: white;
  padding: 5px 10px;
  z-index: 10000;
  text-decoration: none;
  border-radius: 3px;
}
/* Topbar responsive */
@media (max-width: 991.98px){
  .topbar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
  .top-navbar-nav {
    flex-direction: row;
    gap: 5px;
  }
  .menu-top {
    justify-content: flex-start;
    flex-wrap: wrap;
  }
}

.navbar{
  background-color: var(--primary-background-color);
  padding: 0;
}
.navbar .navbar-nav .nav-item .nav-link{
  padding: 1em;
  color: var(--surface-color);
  border-bottom: 2px solid var(--primary-background-color);
}
.navbar .navbar-nav .nav-item .nav-link:hover{
  color: var(--orange-color);
  border-bottom-color: var(--orange-color);
}
.navbar .navbar-nav .nav-item .dropdown-item:focus, .navbar .navbar-nav .nav-item .dropdown-item:hover {
  color: var(--contrast-color);
  background-color: var(--primary-background-color);
}
.header.sticky-top {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 1050;
}
.logo-wrap img {
    max-height: 70px;
}
@media (max-width: 767.98px){
  .top-navbar-nav{flex-direction:column; gap: 0;}
  .navbar .navbar-nav .nav-item .nav-link{padding: .5em;}
  .navbar .secondary-cta{margin-bottom: 10px;}
}

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero-section {
  width: 100%;
  max-height: 70vh;
  display: flex;
  justify-content: center;
  overflow: hidden;
  background: #f8f9fa;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
section.hero-section .carousel{
  width: 100%;
}
.hero-content {
  padding: 110px 0;
}
.hero-slide {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;     /* ✅ vertical center */
  justify-content: flex-start; /* keep content left aligned */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero-slide-img1 {
  background-image: url("../img/hero-banner1.jpg");
}
.hero-slide-img2 {
  background-image: url("../img/hero-banner2.jpg");
}
.hero-slide-img3 {
  background-image: url("../img/hero-banner3.jpg");
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.75), rgba(0,0,0,0.2));
  z-index: 1;
}
.hero-content-wrap {
  width: 100%;
  transform: translateY(-50%);
  z-index: 2;
}
.hero-slide .container-fluid{
  position: relative;
  z-index: 2;
}
.hero-content-wrap .row {
  align-items: center;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 5;
}
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .resource-list li a, .news-list li a {
    font-size: .85em;
  }
  .footer-social ul li a{
    margin-bottom: 10px;
  }
}
@media (max-width: 1199.98px) {
  .menu-top {display: none;}
  .primary-cta, .secondary-cta{
    padding: 12px 24px;
  }
  .footer-social ul li a{
    margin-bottom: 10px;
  }
  .contact-phone-card .d-flex{display: block !important;}
}
@media (max-width: 767.98px){
  .hero-content-wrap{position: relative;}
  .primary-cta, .secondary-cta{padding: 6px 12px;}
  .btn-container .btn{margin-right: 4px;}
}

/*--------------------------------------------------------------
# Latest News
--------------------------------------------------------------*/
.ticker-container {
  display: flex;
  align-items: center;
  gap: 15px;
}
.news-ticker {
  background: var(--primary-background-color);
  color: #fff;
  padding: 10px 0;
  overflow: hidden;
}
.ticker-label {
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 1em;
}
/* Ticker container */
.ticker {
  overflow: hidden;
  width: 100%;
}
/* Moving track */
.ticker-track {
  display: inline-block;
  white-space: nowrap;
  animation: tickerMove 25s linear infinite;
}
/* Each item */
.ticker-item {
  display: inline-block;
  margin-right: 40px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

.ticker-item:hover {
  text-decoration: underline;
  color: #f57c00;
}
/* Animation */
@keyframes tickerMove {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}
.ticker:hover .ticker-track {
  animation-play-state: paused;
}
/* Tablet */
@media (max-width: 991.98px) {
  .ticker-item {
    margin-right: 25px;
    font-size: 13px;
  }
}
/* Mobile */
@media (max-width: 576px) {
  .ticker-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
  .ticker-label {
    margin-bottom: 5px;
    font-size: 13px;
  }
  .ticker-item {
    margin-right: 20px;
    font-size: 12px;
  }
  .ticker-track {
    animation-duration: 18s; /* faster for small screens */
  }
} 

/*--------------------------------------------------------------
# Latest News
--------------------------------------------------------------*/
.featured-card{
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.featured-card:hover{
  transform: translateY(-8px);
    box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}
.news-list li{position:relative;}
.news-list li::before {
  content: "\F484"; /* Unicode for a Bootstrap icon */
  font-family: "bootstrap-icons";
  color: #F57C00;
  position: absolute;
}
.news-list li a{
  color: var(--default-color);
  padding-left: 1.5em;
  display: inline-block;
}
.news-list li a:hover{
  color: var(--accent-color);
}
.resource-list li::before{
  content: "\F30A"; /* Unicode for a Bootstrap icon */
  font-family: "bootstrap-icons";
  color: #F57C00;
  position: absolute;
}
.resource-list li a {
  color: var(--default-color);
  padding-left: 1.5em;
  display: inline-block;
}
.resource-list li a:hover{
  color: var(--accent-color);
}
/* Base badge style */
.badge-new {
  background: linear-gradient(45deg, #ff3d00, #ff9100);
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  position: relative;
  animation: pulseBadge 1.5s infinite;
}

/* Pulse animation */
@keyframes pulseBadge {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 61, 0, 0.7);
    transform: scale(1);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 61, 0, 0);
    transform: scale(1.1);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 61, 0, 0);
    transform: scale(1);
  }
}

/* Optional: subtle glow */
.badge-new::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50px;
  box-shadow: 0 0 8px rgba(255, 145, 0, 0.8);
  opacity: 0.7;
}
@media (max-width: 767.98px) {
  .resource-list li{
    width: 100%;
  }
  #newsHeading{
    margin-top: 48px;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.stats-card {
  background: var(--surface-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.stats-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}
.stats-card .stats-icon {
  width: 100%;
  height: 100px;
}
.stats-card .stats-icon img{
  max-width: 96px;
  transition: transform 0.3s ease;
}
.stats-card:hover .stats-icon img {
  transform: scale(1.1) rotate(5deg);
}
.counter {
  font-weight: 700;
  color: var(--orange-color);
}
@media (max-width: 991.98px) {
  #aboutHeading{
    margin-top:32px
  }
  .contact-phone-card{margin-top:10px}
}
@media (max-width: 767.98px) {
  .stats-card:nth-child(2){
    margin-bottom: 3rem;
  }
}
/*--------------------------------------------------------------
# How it Works Section
--------------------------------------------------------------*/
.process-step {
  position: relative;
  text-align: center;
  margin-bottom: 30px;
}
.step-badge {
  display: inline-block;
  background: linear-gradient(90deg, #FFFAF5, #F57C00);
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 16px;
}
.step-icon {
  width: 90px;
  height: 90px;
  position: relative;
  border: 2px dashed var(--primary-background-color);
  border-radius: 50%;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  z-index: 1;
}
.step-icon img {
  width: 40px;
}

/* Curved dotted line */
.process-step-up::after, .process-step-down::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -50%;
  width: 100%;
  height: 90px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  z-index: 0;
}
.process-step-up::after {
  background-image: url("../img/arrow-up.png");
  transform: translateY(-50%) rotate(130deg); /* adjust angle */
}
.process-step-down::after {
  background-image: url("../img/arrow-down.png");
  transform: translateY(-50%) rotate(45deg); /* adjust angle */
}

/* Remove line from last */
.process-step:last-child::after {
  display: none;
}
.process-step:hover .step-icon {
  transform: scale(1.1);
  transition: 0.3s;
}

@media (max-width: 767.98px) {

  .process-step::after {
    display: none; /* remove lines on mobile */
  }

  .process-row {
    justify-content: center;
  }

  .step-icon {
    width: 70px;
    height: 70px;
  }
}

/*--------------------------------------------------------------
# Call to Action Section
--------------------------------------------------------------*/
.call-to-action{
  background: var(--primary-background-color);
  color: var(--surface-color);
}
.call-to-action .phone-link, .call-to-action .email-link, .call-to-action .email-link a{
  font-size: 24px;
  color: #fff;
}
.call-to-action .phone-link:hover, .call-to-action .email-link:hover, .call-to-action .email-link a:hover{
  color: var(--orange-color);
}
@media (max-width: 767.98px) {
  .call-to-action .phone-link, .call-to-action .email-link, .call-to-action .email-link a{
    font-size: 18px;
  }
}

/*--------------------------------------------------------------
# Officer Section
--------------------------------------------------------------*/
.profile-card {
  background: var(--surface-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}
.profile-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}
.avatar-circle{
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1.5rem;
  color: white;
  margin: 0 auto 16px auto;
}
.card-subtitle {
  color: var(--heading-color);
}
.card-contact {
  width: 100%;
  font-size: 0.85rem;
  background-color: #f2f2f2;
  padding: 6px 10px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}
.card-contact .phone-link{
  color: var(--default-color);
  font-size: 1em;
  font-weight: 500;
}
.card-contact .phone-link:hover{
  color: var(--orange-color);
}
.avatar-ak { background-color: #d99e2a; }
.avatar-ts { background-color: #3b8c89; }
.avatar-jm { background-color: #f07c1f; }
.avatar-as { background-color: #6b9b42; }

/*--------------------------------------------------------------
# Priority Village Section
--------------------------------------------------------------*/
.priority-villages{
  background-image: url(../images/village-bg.png);
  background-position: center;
  background-repeat: repeat;
}
.pv-lists li {
  color: var(--default-color);
  padding-left: 1.5em;
  display: block;
  position: relative;
  margin-bottom: .5em;
}
.pv-lists li::before{
  content: "\F280"; /* Unicode for a Bootstrap icon */
  font-family: "bootstrap-icons";
  color: #F57C00;
  position: absolute;
  left: 0;
}
.download-pv-lists li a {
  color: var(--heading-color);
  padding-left: 1.5em;
  display: inline-block;
}
.download-pv-lists li a:hover{
  color: var(--accent-color);
}
.download-pv-lists li::before{
  content: "\F30A"; /* Unicode for a Bootstrap icon */
  font-family: "bootstrap-icons";
  color: #F57C00;
  position: absolute;
}


/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: 0.4s;
}

/* Hover Zoom */
.gallery-item:hover img {
  transform: scale(1.1);
}
/* Overlay Caption */
.overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 14px;
  text-align: center;
  transform: translateY(100%);
  transition: 0.3s;
}
.gallery-item:hover .overlay {
  transform: translateY(0);
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer-top {
  background: var(--primary-background-color);
  padding: 90px 0 60px;
  border-bottom: 1px solid #0a1b50;
}
.footer-logo img{
  max-width: 100%;
  filter: invert(1);
}
.footer-social ul{
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-social ul li{
  display: inline-flex;
}
.footer-social ul li a{
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;        /* Vertical center */
  justify-content: center;
  font-size: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  text-align: center;
  color: #fff;
  margin-right: 10px;
  transition: 0.3s;
}
.footer-social ul li a:hover{
  background-color: #fff;
  color: var(--default-color);
}
.footer-social ul li a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  display: block;   /* removes inline spacing issue */
  vertical-align: middle;
  transform: translateY(2px);
}
.footer-links li a{
  color: #fff;
  display: block;
  margin-bottom: .5em;
}
.footer-links li a:hover, .contact-phone-card{
  color: var(--orange-color);
}
.contact-phone-card .phone-link, .email-env, .email-env a{
  color: var(--surface-color);
}
.contact-phone-card .phone-link:hover, .email-env:hover, .email-env a:hover, .footer-copyright a:hover{
  color: var(--orange-color);
}

.footer-copyright{
  background: var(--primary-background-color);
  padding: 10px 0;
}
.footer-copyright a{
  color: var(--surface-color);
}
@media (max-width: 767.98px) {
  .footer-social, .footer-links{margin-bottom: 2rem;}
}

/*--------------------------------------------------------------
# Login Page CSS
--------------------------------------------------------------*/
.login-card {
  background: var(--surface-color);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 40px color-mix(in srgb, var(--default-color), transparent 92%);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  padding: 2rem;
}
.login-card:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}