:root {
  --primary: #2f6fed;
  --dark: #0f2f52;
  --navHeight: 80px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f5f7fb;
  overflow-x: hidden;
}

/* ================= PAGE FADE TRANSITION ================= */
body.fade-in {
  animation: pageFade 0.8s ease forwards;
}
@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= NAVBAR ================= */
.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
  z-index: 1000;
}

/* Scroll Effect */
.navbar.scrolled {
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}

/* ================= LOGO ================= */
.logo a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
}

.logo-text {
  font-size: 20px;
  font-weight: 600;
  margin: 0;
  color: #000;
}

/* ================= NAV LINKS ================= */
.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  text-decoration: none;
  color: #333;
  font-size: 15px;
  position: relative;
  padding: 5px 0;
  transition: color 0.3s ease;
}

/* Animated underline */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #2f6fed;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #2f6fed;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ================= LOGIN BUTTON ================= */
.login-btn {
  background: #2f6fed;
  color: white;
  padding: 10px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.login-btn:hover {
  background: #1d4fd8;
  transform: translateY(-2px);
}

/* ================= HAMBURGER ================= */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  width: 26px;
  height: 3px;
  background: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate to X */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .navbar {
    padding: 18px 30px;
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    flex-direction: column;
    gap: 30px;
    padding: 120px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: right 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .hamburger {
    display: flex;
  }

  .desktop-login {
    display: none;
  }
}

/* ================= HERO ================= */
.hero {
  /* margin-top: var(--navHeight); */
  background: linear-gradient(135deg, #143d66, var(--dark));
  color: white;
  text-align: center;
  padding: 140px 20px;
}

.hero h1 {
  font-size: 56px;
  margin-bottom: 20px;
  animation: slideDown 1s ease forwards;
}

.hero p {
  opacity: 0.9;
  animation: fadeIn 1.5s ease forwards;
}

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

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    flex-direction: column;
    gap: 30px;
    padding: 120px 40px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
    transition: 0.4s ease;
  }

  .nav-links.active {
    right: 0;
  }

  .login-btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .navbar {
    padding: 0 30px;
  }

  .hero h1 {
    font-size: 40px;
  }
}
@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 260px;
    flex-direction: column;
    gap: 30px;
    padding: 120px 40px;
    background: white;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.18, 1);
    z-index: 1001;
  }

  .nav-links.active {
    right: 0;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ================= OVERLAY ================= */
.menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s ease;
  z-index: 900;
}

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

/* ================= PAGE FADE EFFECT ================= */
#pageContent {
  transition: 0.3s ease;
}

#pageContent.menu-open {
  filter: blur(5px);
  opacity: 0.4;
  transform: scale(0.98);
}

/* ================= LOCK SCROLL ================= */
body.menu-open {
  overflow: hidden;
}
/* 
===============

MAP SECTION 

=============
 */

.map-section {
  width: 100%;
  padding: 40px 20px;
  background: #f5f5f5; /* optional */
}

.map-container {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 450px;
  border: 0;
  display: block;
}
@media (max-width: 768px) {
  .map-container iframe {
    height: 300px;
  }
}

/*  */
/* === Layout === */
.services-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  padding: 100px 8%;
  background: #f4f6fa;
  flex-wrap: wrap;
  font-family: "Poppins", sans-serif;
  color: #222;
}

.services-left {
  flex: 1;
  min-width: 300px;
}

.services-left h2 {
  font-size: 28px;
  margin-bottom: 15px;
  line-height: 1.4;
}

.subtitle {
  color: #6c7a89;
  margin-bottom: 30px;
  font-weight: 500;
}

/* === Tabs === */
.tabs {
  display: flex;
  border-bottom: 1px solid #dce1ea;
  margin-bottom: 20px;
}

.tab {
  background: none;
  border: none;
  padding: 15px 20px;
  cursor: pointer;
  font-weight: 600;
  color: #2b4c7e;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
  position: relative;
  outline-offset: 3px;
  outline-color: transparent;
  font-size: 17px;
  user-select: none;
}

.tab:focus-visible {
  outline-color: #32b768;
  outline-style: solid;
  outline-width: 2px;
}

.tab.active {
  color: #32b768;
  border-bottom: 3px solid #32b768;
}

/* Glow hover */
.tab:hover:not(.active) {
  color: #3bb471;
  text-shadow:
    0 0 5px #32b768,
    0 0 10px #32b768;
}

/* === Tab content === */
.tab-content {
  max-width: 600px;
  background: white;
  border: 1px solid #dce1ea;
  border-top: none;
  padding: 25px 30px;
  font-size: 17px;
  line-height: 1.6;
  border-radius: 0 0 6px 6px;

  /* For fade-slide animation */
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.tab-content.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* === Right side card === */
.services-left {
  flex: 1; /* keeps default */
  min-width: 300px;
}

.services-right {
  flex: 1.5; /* grow 50% more than left */
  min-width: 300px;
  max-width: 600px; /* remove max-width to allow wider */
}

/* ================= FORM INSIDE FLEX CARD ================= */
/* Scope-down sizing; modern card feels correct at this scale */
.services-right .governance-container {
  max-width: 100%;
  padding: 24px 22px;
}

.services-right .governance-container h2 {
  font-size: 16px;
  margin-bottom: 14px;
}

.services-right .form-group {
  margin-bottom: 10px;
}

.services-right .form-group label {
  font-size: 11.5px;
}

.services-right .form-group input,
.services-right .form-group select,
.services-right .select {
  padding: 7px 10px;
  font-size: 13px;
}

.services-right .btn {
  padding: 8px 16px;
  font-size: 13px;
}

.services-right .button-group {
  margin-top: 16px;
}

/* Responsive */
@media (max-width: 900px) {
  .services-section {
    flex-direction: column;
    padding: 50px 5%;
  }

  .services-left,
  .services-right {
    max-width: 100%;
  }

  .services-right {
    margin-top: 40px;
  }
}
