/* =========================================================
   VB-G RAM-G COMPONENTS
   File : vbg-components.css
========================================================= */
/* =====================================================
   NAVIGATION
===================================================== */
.nav-link {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 38px;
  padding: .82rem 1rem !important;
  border-radius: 14px;
  color: #222;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: var(--vbg-transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--vbg-blue);
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 16px;
  bottom: 8px;
  width: 0;
  height: 2px;
  background: currentColor;
  border-radius: 50px;
  transition: var(--vbg-transition);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 22px;
}
/* =====================================================
   DROPDOWN
===================================================== */
.dropdown-menu {
  min-width: 240px;
  padding: 8px;
  border: 0;
  border-radius: 20px;
  background: var(--vbg-blue);
  box-shadow: 0 15px 40px rgba(0, 0, 0, .12);
  animation: dropdownFade .22s ease;
}
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.dropdown-item {
  padding: .5rem .75rem;
  border-radius: 12px;
  font-size: 14px;
  color: #eef4ff;
  transition: var(--vbg-transition);
}
.dropdown-item:hover, .dropdown-item:focus {
  background: #eef4ff;
  color: var(--vbg-blue);
}
/* =====================================================
   DROPDOWN SUBMENU
===================================================== */
.dropdown-submenu {
  position: relative;
}
.dropdown-submenu > .dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
/* =====================================================
   BUTTONS
===================================================== */
.login-btn {
  border: none;
  border-radius: 50px;
  padding: 6px 16px;
  background: var(--vbg-blue);
  color: #fff;
  font-weight: 600;
}
.attendance-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 42px;
  padding: 10px 20px;
  border-radius: 16px;
  background: #f3f3f3;
  color: #1843a8;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  transition: .3s ease;
}
.attendance-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  color: #1843a8;
}
/* =====================================================
   HERO SECTION
===================================================== */
.hero-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 640px;
  background: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('../images/hero/hero-rural-workers.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: right bottom;
  transform: scale(1.02);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .96) 0%, rgba(255, 255, 255, .92) 28%, rgba(255, 255, 255, .78) 42%, rgba(255, 255, 255, .30) 68%, rgba(255, 255, 255, .08) 100%);
}
.hero-section .container-fluid {
  z-index: 5;
}
.hero-left {
  position: relative;
  z-index: 10;
  /*max-width: 640px;*/
  padding-block: 30px;
}
.hero-logo {
  max-height: 110px;
}
.hero-title {
  font-size: 64px;
  line-height: 1.05;
  font-weight: 800;
  color: var(--vbg-blue-dark);
}
.hero-subtitle {
  font-size: 30px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--vbg-blue-dark);
}
.hero-desc {
  max-width: 620px;
  color: #444;
  font-size: 18px;
  line-height: 1.8;
}
/* =====================================================
   HERO BADGES
===================================================== */
.hero-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 35px;
}
.hero-badge {
  text-align: center;
}
.hero-badge .icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  margin: auto auto 12px;
  border-radius: 50%;
  color: #fff;
  font-size: 28px;
}
.hero-badge p {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 600;
}
/* =====================================================
   COMMON BACKGROUNDS
===================================================== */
.bg-orange {
  background: var(--vbg-saffron);
}
.bg-blue {
  background: var(--vbg-blue);
}
/* =====================================================
   LATEST STRIP
===================================================== */
.latest-strip {
  position: relative;
  overflow: hidden;
  background: var(--vbg-gradient);
  color: #fff;
}
.latest-wrap {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  width: 100%;
  min-height: 48px;
}
.latest-title {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #173b8c;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}
.latest-marquee {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  padding: 0 16px;
  font-weight: 500;
}
/* =====================================================
   STATS SECTION
===================================================== */
.stats-section {
  position: relative;
  background: var(--vbg-ghost);
}
/* =====================================================
   ATTENDANCE CARD
===================================================== */
.attendance-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100%;
  border-radius: 28px;
  background:
    linear-gradient(180deg, var(--vbg-blue-light) 0%, var(--vbg-blue-dark) 100%);
  color: #fff;
  box-shadow: var(--vbg-shadow-lg);
}
.attendance-top, .attendance-stat, .attendance-action {
  position: relative;
  z-index: 5;
}
.attendance-title-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.attendance-title {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 2.5vw, 36px);
  line-height: 1.05;
  font-weight: 800;
}
.attendance-title-icon {
  width: 36px;
  flex-shrink: 0;
}
.attendance-title-icon img {
  width: 100%;
  object-fit: contain;
}
.attendance-subtitle {
  margin-top: 6px;
  color: rgba(255, 255, 255, .92);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 500;
}
.attendance-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  /*margin-top: 24px;*/
}
.attendance-stat-icon {
  width: 48px;
  flex-shrink: 0;
}
.attendance-stat-icon img {
  width: 100%;
  object-fit: contain;
}
.attendance-stat-content h4 {
  margin: 0;
  color: #fff;
  font-size: clamp(36px, 4vw, 42px);
  line-height: 1;
  font-weight: 800;
}
.attendance-stat-content p {
  /*margin: 8px 0 0;*/
  color: rgba(255, 255, 255, .95);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 500;
}
.attendance-action {
  padding-top: 16px;
  position: relative;
  z-index: 5;
  text-align: center;
}
.attendance-chart {
  position: relative;
  height: 160px;
  overflow: hidden;
}

/* =====================================================
   STAT CARD
===================================================== */
.stat-card {
  height: 100%;
  padding: 18px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--vbg-shadow);
  transition: .3s ease;
}
.stat-card:hover {
  transform: translateY(-5px);
}
.stat-card.soft {
  background: var(--vbg-soft);
}
.stat-card.purple {
  background: var(--vbg-white);
}
.stat-card h3 {
  color: var(--vbg-blue);
  font-size: 42px;
  font-weight: 800;
}
.stat-card p {
  color: #333;
  font-weight: 600;
}
.stat-icon {
  width: 90px;
  height: 90px;
  object-fit: contain;
}
/* =====================================================
   ABOUT SECTION
===================================================== */
.about-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.about-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('../images/media/about-rural-worker.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center right;
  transform: scale(1.02);
}
.about-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(34, 74, 170, .96) 0%, rgba(34, 74, 170, .88) 42%, rgba(34, 74, 170, .25) 70%, rgba(34, 74, 170, .05) 100%);
}
.about-wrap {
  position: relative;
  z-index: 5;
  overflow: hidden;
  min-height: 640px;
  border-radius: 0 0 220px 0;
  background: var(--vbg-blue);
  color: #fff;
}
.about-content {
  padding: 80px 60px;
  color: #fff;
}
.about-content h2 {
  font-size: 48px;
  font-weight: 800;
}
.about-feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 35px;
}
.about-feature {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  color: #000;
  text-align: center;
}
.about-icon {
  width: 45px;
  height: 45px;
  object-fit: contain;
}
/* =====================================================
   VISION SECTION
===================================================== */
.vision-section {
  background: #fff;
}
.vision-card {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  border-radius: 40px;
  box-shadow: var(--vbg-shadow);
}
.vision-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vision-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, .05));
}
.vision-content {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 2;
  max-width: 520px;
  color: #fff;
}
.vision-content h2 {
  font-size: 52px;
  font-weight: 800;
}
.vision-side {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--vbg-shadow);
}
.vision-header {
  background: linear-gradient(90deg, #224aaa, #ee9d44);
  color: #fff;
  padding: 30px;
}
.vision-header h3 {
  font-size: 36px;
  font-weight: 800;
}
.vision-body {
  padding: 32px;
}
.vision-body h4 {
  font-size: 34px;
  font-weight: 800;
  margin-bottom: 20px;
}
/* =====================================================
   GALLERY
===================================================== */
.gallery-section {
  position: relative;
  background: var(--vbg-ghost);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 22px;
}
.gallery-col {
  display: grid;
  gap: 22px;
}
.gallery-item {
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--vbg-shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}
.gallery-lg {
  min-height: 540px;
}
.gallery-sm {
  min-height: 260px;
}
/* ==========================================
   PARTNER LOGO STRIP
========================================== */
.partner-strip {
  background: #fff;
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
/*  border-top: 1px solid #edf1f7;
  border-bottom: 1px solid #edf1f7;*/
}
/* fade edges */
.partner-slider {
  position: relative;
  overflow: hidden;
}
.partner-slider::before, .partner-slider::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 5;
  pointer-events: none;
}
.partner-slider::before {
  left: 0;
  background: linear-gradient(to right, #fff 0%, rgba(255, 255, 255, 0) 100%);
}
.partner-slider::after {
  right: 0;
  background: linear-gradient(to left, #fff 0%, rgba(255, 255, 255, 0) 100%);
}
/* track */
.partner-track {
  padding: 0.5rem 0;
  display: flex;
  align-items: center;
  width: 90vw;
  gap: 24px;
  animation: partnerScroll 24s linear infinite;
}
/* pause on hover */
.partner-slider:hover .partner-track, .partner-slider:focus-within .partner-track {
  animation-play-state: paused;
}
/* cards */
.partner-logo {
  padding: 10px 20px;
  border-radius: 50px;
  flex: 0 0 auto;
  /*width: 200px;
  height: 100px;*/
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #edf1f7;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, .05);
  transition: .3s ease;
}
.partner-logo:hover {
  transform: translateY(-4px);
  box-shadow:
    0 10px 30px rgba(0, 0, 0, .10);
}
.partner-logo img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}
/* animation */
@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* =====================================================
   PARTNER SECTION
===================================================== */
/*.partner-strip {
  padding: 32px 0;
  background: #fff;
}
.partner-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}
.partner-logo {
  padding: 12px 24px;
  border-radius: 50px;
  background: #fff;
  box-shadow: var(--vbg-shadow);
}*/
/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: var(--vbg-blue);
  color: #fff;
}
.footer-top {
  padding: 10px 0;
}
.footer h5 {
  font-size: 22px;
  font-weight: 700;
}
.footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer ul li {
  margin-bottom: 8px;
}
.footer ul li a {
  color: #dfe6ff;
  text-decoration: none;
}
.footer ul li a:hover {
  color: #fff;
}
.footer-bottom {
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, .15);
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  background: var(--vbg-blue-dark);
}
/* =====================================================
   INNER TEMPLATE FOOTER
===================================================== */
.footer-compact {
  padding: 12px 0;
}
.footer-compact .footer-top {
  padding: 6px 0;
}
.footer-compact .footer-bottom {
  padding: 6px 0;
}