/* ==== COLOR SYSTEM ==== */
:root {
  --primary: #002B5B;
  --secondary: #FCAF1E;
  --dark: #002B5B;
  --light: #fff;
  --gray: #f5f6fa;
  --text: #333;
}

/* ==== RESET AND BASE ==== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  background: var(--gray);
  color: var(--text);
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==== SOCIAL TOPBAR ==== */
.topbar {
  width: 100%;
  background: linear-gradient(90deg, var(--primary), #00418a);
  padding: 6px 20px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
  transition: top 0.4s ease;
}

/* CONTACT INFO */
.topbar .contact-info {
  display: flex;
  align-items: center;
  gap: 18px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.topbar .contact-info::-webkit-scrollbar {
  display: none;
}

.topbar .contact-info a {
  color: var(--light);
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

/* SOCIAL ICONS */
.topbar .social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.topbar .social-icons a {
  color: var(--light);
  font-size: 15px;
  transition: color 0.3s ease;
}

.topbar a:hover,
.topbar a:focus {
  color: #ffcc00;
  outline: none;
}

/* TABLET RESPONSIVE */
@media (max-width: 768px) {
  .topbar {
    padding: 6px 15px;
  }

  .topbar .contact-info {
    gap: 10px;
  }

  .topbar .contact-info a {
    font-size: 14px;
  }

  .topbar .social-icons a {
    font-size: 15px;
  }
}

/* MOBILE RESPONSIVE */
@media (max-width: 480px) {
  .topbar {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
  }

  /* Contact info visible in same row */
  .topbar .contact-info {
    display: flex;
    gap: 8px;
  }

  .topbar .contact-info a {
    font-size: 8px;
  }

  .topbar .social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
  }

  .topbar .social-icons a {
    font-size: 15px;
  }
}

/* ==== MAIN HEADER ==== */
.header {
  width: 100%;
  padding: 14px 0;
  position: fixed;
  top: 32px; /* Below topbar */
  left: 0;
  background: var(--light);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: top 0.4s ease;
}

.header .container {
  width: 90%;
  max-width: 1250px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


/* ==== LOGO ==== */
.logo a {
  font-size: 35px;
  font-weight: 800;
  color: var(--primary);
}

.logo span:last-child {
  color: var(--secondary);
}

/* ==== NAVIGATION ==== */
.nav {
  display: flex; 
  gap: 25px;
  align-items: center;
}

/* Nav links and dropdown button */
.nav a,
.dropbtn {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  user-select: none;
  position: relative;
}

/* Underline on hover/focus */
.nav a::after,
.dropbtn::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: #ffcc00;
  border-radius: 3px;
  transition: width 0.3s ease;
}

.nav a:hover::after,
.nav a:focus-visible::after,
.dropbtn:hover::after,
.dropbtn:focus-visible::after {
  width: 100%;
}

.nav a:hover,
.nav a:focus-visible,
.dropbtn:hover,
.dropbtn:focus-visible {
  color: #ffcc00;
  outline: none;
}

/* Dropdown container */
.dropdown {
  position: relative;
}

/* Arrow for dropdown */
.dropbtn::after {
  content: "▾";
  font-size: 0.6em;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* Dropdown menu hidden by default with smooth transition */
.dropdown-content {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  background: linear-gradient(90deg, var(--primary), #00418a);
  min-width: 250px;
  border-radius: 8px;
  top: 110%;
  left: 0;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
  z-index: 1001;
  flex-direction: column;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  pointer-events: none;
}

/* Dropdown links styling */
.dropdown-content a {
  color: #fff;
  padding: 14px 20px;
  text-decoration: none;
  font-weight: 500;
  display: block;
  transition: background-color 0.3s ease, color 0.3s ease;
  border-radius: 6px;
}

.dropdown-content a:hover,
.dropdown-content a:focus {
  outline: none;
}

/* Show dropdown on hover and focus (desktop) */
@media (min-width: 901px) {
  .dropdown:hover .dropdown-content,
  .dropdown:focus-within .dropdown-content {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
  }

  /* Rotate arrow when dropdown is active */
  .dropdown:hover > .dropbtn::after,
  .dropdown:focus-within > .dropbtn::after {
    transform: rotate(-180deg);
  }
}

.btn-yellow {
  background: var(--secondary);
  color: var(--dark);
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-right: 12px;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn-yellow:hover {
  background: #e6b800;
  transform: scale(1.05);
}

.btn-outline {
  border: 2px solid #0076A5;
  color: #0076A5;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-outline:hover {
  background: #0076A5;
  color: #fff;
}

/* ===== MOBILE MENU STYLING ===== */
@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 80px 25px;
    transition: right 0.4s ease;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    z-index: 2000;
  }

  .nav.active {
    right: 0;
  }

  .nav a {
    color: #002B5B;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
  }

  /* Dropdown inside mobile menu */
  .dropdown-content {
    display: none;
    flex-direction: column;
    padding-left: 10px;
    background: #f9f9f9;
    border-left: 3px solid #FCAF1E;
    border-radius: 6px;
  }

  .dropdown.open .dropdown-content {
    display: flex;
  }

  .dropdown .dropbtn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #002B5B;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f1f1;
  }

  /* Hamburger button */
  .navbar-toggle {
    display: block;
    cursor: pointer;
    background: none;
    border: none;
    font-size: 26px;
    color: #002B5B;
    margin-left: auto;
    z-index: 2100;
  }

  .navbar-toggle.active::before {
    content: "✖";
  }

  .navbar-toggle::before {
    content: "☰";
  }

  .navbar-toggle.active {
    color: #FCAF1E;
  }
}

/* ===== FIXES FOR MOBILE TOGGLE & DROPDOWN ===== */

/* Make sure toggle button is visible and clickable */
.navbar-toggle {
  display: block;
  cursor: pointer;
  background: none;
  border: none;
  font-size: 30px;
  color: var(--primary);
  margin-left: auto;
  z-index: 2100;
  position: relative;
  width: 40px;
  height: 40px;
}

/* Fix dropdown visibility issue on mobile */
@media (max-width: 992px) {
  .dropdown-content {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
    background: #f9f9f9 !important;
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    padding: 8px 0;
    margin-top: 6px;
    max-height: 280px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) #f1f1f1;
  }

  .dropdown-content::-webkit-scrollbar {
    width: 6px;
  }
  .dropdown-content::-webkit-scrollbar-thumb {
    background-color: var(--secondary);
    border-radius: 4px;
  }
  .dropdown-content::-webkit-scrollbar-track {
    background: #f1f1f1;
  }

  /* Dropdown links - improved alignment */
  .dropdown-content a {
    display: block;
    padding: 12px 18px;
    font-size: 15px;
    color: var(--dark);
    text-align: left;
    border-radius: 6px;
    letter-spacing: 0.2px;
    line-height: 1.4;
    width: 100%;
    font-weight: 500;
    transition: all 0.3s ease;
  }

  /* Slight indent to make it visually centered within box */
  .dropdown-content a:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .dropdown-content a:hover {
    background: #fff3d4;
    color: var(--primary);
    padding-left: 24px;
  }

  /* Dropdown button text alignment fix */
  .dropdown .dropbtn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    color: var(--primary);
    font-weight: 600;
    font-size: 16px;
    letter-spacing: 0.3px;
  }

  /* Open dropdown effect */
  .dropdown.open .dropdown-content {
    display: flex !important;
    flex-direction: column;
  }

  /* Demo button polish */
  .btn-yellow {
    background: var(--secondary);
    color: var(--dark);
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    display: block;
    margin: 16px auto 0;
    box-shadow: 0 4px 10px rgba(252, 175, 30, 0.25);
    width: 90%;
    transition: all 0.3s ease;
  }

  .btn-yellow:hover {
    background: #ffbb00;
    transform: translateY(-2px);
  }
}

/* ==== ABOUT SECTION ==== */
.about-section {
  padding: 90px 20px;
  text-align: center;
  background: var(--gray);
  margin-top: 60px;
}
.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-subtitle {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 25px;
}
.about-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  color: #444;
}

/* ==== CHOOSE US ==== */
.choose-section {
  padding: 70px 20px;
  background: var(--light);
}
.choose-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.choose-box {
  background: var(--gray);
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.choose-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 18px rgba(0, 0, 0, 0.1);
}
.choose-box i {
  font-size: 32px;
  color: var(--primary);
  margin-bottom: 12px;
}
.choose-box h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: var(--dark);
}
.choose-box p {
  font-size: 0.95rem;
  color: #555;
}

/* ==== MISSION & VISION ==== */
.mission-section {
  padding: 70px 20px;
  background: var(--gray);
}
.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.mission-box {
  background: var(--light);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}
.mission-box:hover {
  transform: translateY(-6px);
}
.mission-box i {
  font-size: 36px;
  color: var(--secondary);
  margin-bottom: 15px;
}
.mission-box h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark);
}
.mission-box p {
  font-size: 0.95rem;
  color: #555;
}

/* ==== CORE VALUES SECTION ==== */
.values-section {
  background: var(--light);
  padding: 80px 20px;
  text-align: center;
  font-family: "Poppins", sans-serif;
}

.values-section .section-title {
  font-size: 32px;
  color: var(--primary, #002b5b);
  font-weight: 700;
  margin-bottom: 10px;
}

.values-section .section-subtitle {
  font-size: 18px;
  color: #555;
  margin-bottom: 50px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.value-box {
  background: #fff;
  border-radius: 14px;
  padding: 30px 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.value-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0, 43, 91, 0.15);
}

.value-box i {
  font-size: 36px;
  color: var(--secondary, #fcaf1e);
  margin-bottom: 18px;
}

.value-box h3 {
  color: var(--primary, #002b5b);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
}

.value-box p {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .values-section {
    padding: 60px 15px;
  }

  .value-box {
    padding: 25px 20px;
  }

  .values-section .section-title {
    font-size: 26px;
  }
}


/* ==== FOOTER ==== */
.vg-footer {
  background: var(--primary); /* unified footer bg color */
  color: #f1f1f1; /* main text color */
  padding: 60px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.vg-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.vg-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

/* Logo & About */
.footer-logo {
  font-size: 28px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 15px;
}
.footer-logo span {
  color: var(--secondary); /* accent color */
}

.footer-about p {
  font-size: 14px;
  line-height: 1.6;
  color: #e5e5e5;
  margin-bottom: 20px;
}

/* Footer Links & Contact */
.footer-links h3,
.footer-contact h3 {
  font-size: 18px;
  margin-bottom: 15px;
  color: var(--secondary); /* highlight */
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a,
.footer-contact a {
  position: relative;
  display: inline-block;
  color: #f1f1f1;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover underline effect */
.footer-links a::after,
.footer-contact a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 3px;
  background-color: var(--secondary);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
  color: var(--secondary);
}
.footer-links a:hover::after,
.footer-contact a:hover::after {
  width: 100%;
}

.footer-contact p {
  font-size: 14px;
  margin: 8px 0;
  color: #e5e5e5;
  display: flex;
  align-items: center;
}

.footer-contact i {
  color: var(--secondary);
  margin-right: 8px;
}

/* Social Icons */
.footer-social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 16px;
  color: #f1f1f1;
  transition: all 0.3s ease;
}
.footer-social a:hover {
  color: var(--secondary);
  transform: translateY(-3px);
}

/* Footer Map */
.footer-map {
  margin: 30px 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.footer-map iframe {
  width: 100%;
  height: 250px;
  border: 0;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.2);
  padding-top: 15px;
  font-size: 13px;
  color: #ccc;
}

.footer-bottom a {
  color: var(--secondary);
  text-decoration: none;
  font-weight: 600;
  transition: text-decoration 0.3s ease;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* ==== RESPONSIVE ==== */
@media (max-width: 768px) {
  .vg-footer {
    padding: 40px 15px 15px;
  }
  .footer-map iframe {
    height: 200px;
  }
}

/* ==== HIDE TOPBAR ON SCROLL ==== */
.hidden-topbar {
  top: -40px; /* Moves it up smoothly */
  transition: top 0.4s ease-in-out;
}

