/* =========================================================
   1) GLOBAL / BASE
   ========================================================= */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: auto;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  overscroll-behavior-y: auto;
  touch-action: pan-y; /* allows only vertical scroll */
}

:root {
  --primary-green: #00ff88;
  --secondary-green: #2d5a27;
  --accent-blue: #00d4ff;
  --warm-yellow: #ffeb3b;
  --deep-forest: #0a1a0a;
  --light-mint: #e8fff0;
  --glow-green: rgba(0, 255, 136, 0.3);
  --glow-blue: rgba(0, 212, 255, 0.3);
}

/* ===== Scrollbar Styling (Dark Green Theme) ===== */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #e6f4ea;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #065f46, #064e3b);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #047857, #065f46);
}

/* =========================================================
   1) GLOBAL / BASE
   ========================================================= */


/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins' , sans-serif;
}

body {
  background: linear-gradient(135deg, #0a1a0a 0%, #355f35 50%, #0f1f0f 100%);
  color: #000000;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s ease;
}

/* =========================================================
   2) HEADER / NAVIGATION
   ========================================================= */
.logo img {
  height: 60px;
  /* adjust as needed */
  width: auto;
  display: block;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  background: linear-gradient(135deg, #16e0aa, #11ffbc, #85ffdc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (max-width: 768px) {
  .logo img {
    height: 40px;
    /* smaller logo for mobile */
  }
}

header {
  width: 100%;
  padding: 15px 40px;
  background: rgba(10, 26, 10, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header.scrolled {
  background: rgba(10, 26, 10, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

header.scrolled .menu a {
  color: #ffffff;
  /* make nav links dark for visibility */
}

header.scrolled .menu a:hover {
  color: #85ffdc;
  /* make nav links dark for visibility */
}

/*header.scrolled .logo h2 {
  color: #4c2dff;
}

.logo h2 {
  color: #a64ce3;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s ease;
}

.logo h2:hover {
  color: #3a44fe;
} */

/* Nav Menu */
.menu {
  list-style: none;
  display: flex;
  gap: 28px;
}

.menu li {
  position: relative;
}

.menu a {
  color: #fff;
  padding: 10px 5px;
  font-size: 16px;
  font-weight: 500;
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #14ebb2, #047857);
  transition: width 0.3s ease;
}

.menu a:hover::after {
  width: 100%;
}

.menu a:hover {
  color: #85ffdc;
}

/* Login Button */
.login-btn a {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  color: #0c0c0c !important;
  padding: 12px 26px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s ease;
}

.login-btn a:hover {
  background: linear-gradient(90deg, #047857, #14ebb2);
  transform: scale(1.08);
  color: white !important;
}

/* Remove underline effect for login button */
.login-btn a::after {
  display: none;
}

.dropdown {
  position: relative;
}

/* Dropdown - Dark Green Theme */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  min-width: 220px;
  border-radius: 6px;
  overflow: hidden;
  /* Glass effect */
  background: rgba(0, 50, 30, 0.75);
  /* dark green semi-transparent */
  backdrop-filter: blur(14px);
  /* Glow border */
  border: 1px solid rgba(0, 200, 100, 0.3);
  /* green glow */
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6),
    0 0 20px rgba(0, 200, 100, 0.25);
  /* subtle green glow */

  animation: dropdownFade 0.35s ease forwards;
  z-index: 999;
}

.dropdown-menu li {
  border-bottom: 1px solid rgba(0, 200, 100, 0.15);
  /* greenish separator */
}

/* Optional: hover effect for items */
.dropdown-menu li a {
  color: #b2f2bb;
  /* light green text */
  padding: 10px 16px;
  display: block;
  transition: background 0.3s ease, color 0.3s ease;
}

.dropdown-menu li a:hover {
  background: rgba(0, 200, 100, 0.15);
  /* subtle green highlight */
  color: #fff;
}

.dropdown-menu li:last-child {
  border-bottom: none;
}

.dropdown-menu li a {
  padding: 16px 22px;
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  transition: all 0.3s ease;
}

/* Left indicator for dropdown items */
.dropdown-menu li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  height: 0%;
  width: 3px;
  background: linear-gradient(90deg, #0f5132, #28a745);
  /* dark green gradient */
  border-radius: 4px;
  transform: translateY(-50%);
  transition: height 0.3s ease;
}

/* Hover effect for dropdown items */
.dropdown-menu li a:hover {
  background: rgba(0, 200, 100, 0.15);
  /* subtle green highlight */
  color: #b2f2bb;
  /* light green text */
  padding-left: 28px;
}

.dropdown-menu li a:hover::before {
  height: 60%;
}

/* Show dropdown on hover (desktop) */
.dropdown:hover .dropdown-menu {
  display: block;
}

/* Dropdown animation */
@keyframes dropdownFade {
  from {
    opacity: 0;
    transform: translateY(-12px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1100;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #fff;
  border-radius: 4px;
  transition: all 0.4s ease;
}

/* Animate to X when active */
.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);
}

/* ===== Contact Section ===== */
.contact-page {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 20px;
  animation: fadeSlideUp 0.8s ease-out;
}

.contact-page h1 {
  background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-align: center;
  font-size: 2.2rem;
  margin-top: 4rem;
  margin-bottom: 50px;
  margin-top: 50px;
}

/* ===== Row Layout ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  gap: 40px;
}

/* ===== Columns ===== */
.col-lg-5, .col-lg-7 {
  flex: 1 1 48%;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ===== Contact Info ===== */
.contact-info {
  background: linear-gradient(145deg, #0b2e13cc, #14532dcc);
  border-left: 5px solid #42c1b2;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  padding: 30px 25px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: #edecec;
}

.contact-info:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-info h4 {
  color: #93f0d3;
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.contact-info p {
  margin-bottom: 10px;
  font-size: 15px;
  color: #ebe9e9;
}

.contact-info hr {
  border: none;
  border-top: 1px solid #eee;
  margin: 20px 0;
}

/* ===== Map Container ===== */
.map-container {
  width: 100%;
}

.map-container iframe {
  width: 100%;
  height: 300px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.map-container iframe:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

/* Tablets (≤992px) */
@media (max-width: 992px) {
  .contact-page {
    padding: 50px 15px;
  }

  .row {
    gap: 30px;
  }

  .col-lg-5, .col-lg-7 {
    flex: 1 1 100%;
    min-width: 100%;
  }

  .map-container iframe {
    height: 300px;
  }
}

/* Small tablets & large phones (≤768px) */
@media (max-width: 768px) {
  .contact-page {
    padding: 40px 15px;
  }

  .row {
    flex-direction: column;
    gap: 40px;
  }

  .contact-info {
    padding: 25px 20px;
  }

  .map-container iframe {
    height: 270px;
  }
}

/* Mobile phones (≤500px) */
@media (max-width: 500px) {
  .contact-page {
    padding: 30px 12px;
  }

  

  .contact-info h4 {
    font-size: 1.2rem;
  }

  .contact-info p {
    font-size: 14px;
  }

  .map-container iframe {
    height: 240px;
  }
}

/* ===== Animation ===== */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Footer Styles */
.footer {
  background: linear-gradient(135deg, #0a1a0a 0%, #1a2f1a 50%, #0f1f0f 100%);
  /* dark green gradient */
  color: #fff;
  padding: 60px 25px 20px;
  line-height: 1.6;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
  position: relative;
}

.footer-col h4::after {
  content: "";
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #11cb8d, #25fc6d);
  display: block;
  margin-top: 8px;
}

.footer-col ul li {
  list-style: none;
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  color: #ddd;

  /* Ensure icon stays left and text shrinks instead of overflowing */
  flex-wrap: nowrap;
  /* no wrapping to next line */
  overflow-wrap: anywhere;
  /* allow breaking within long words if necessary */
}

.footer-col ul li i {
  margin-right: 10px;
  /* gap between icon and text */
  flex-shrink: 0;
  /* icon never shrinks */
}

.footer-col ul li a {
  color: #bbb;
  text-decoration: none;
  transition: 0.3s;

  /* allow long emails to break within container */
  overflow-wrap: anywhere;
  word-break: break-word;
}

.footer-col ul li a:hover {
  color: #95fede;
}

/* Logo & Social */
.footer-logo {
  max-width: 140px;
  margin-bottom: 20px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  /* circle size */
  height: 40px;
  border: solid 1px;
  border-radius: 50%;
  /* makes it a circle */
  background: #22222200;
  /* default circle background */
  color: #bbb;
  /* icon color */
  font-size: 16px;

  transition: all 0.3s ease;
}

.footer-social a:hover {
  background: #12f3bf;
  /* circle background on hover */
  color: #fff;
  /* icon color on hover */
  transform: scale(1.1);
  /* slight zoom effect */
  box-shadow: 0 4px 12px rgba(18, 243, 191, 0.4);
}

/* ================= LEGAL SECTION ================= */
.footer-legal {
  color: #ccc;
  padding: 10px 5px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  line-height: 1.7;
}

.footer-legal h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #8bf6b8;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-legal h3::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, #11cbaf, #25fc9b);
  margin-top: 6px;
  border-radius: 2px;
}

.footer-legal p {
  margin-bottom: 18px;
  color: #bbb;
  text-align: justify;
}

.footer-legal p:last-child {
  margin-bottom: 0;
  /* no gap after last paragraph */
}

/* Responsive */
@media (max-width: 768px) {
  .footer-legal {
    font-size: 13px;
    padding: 30px 15px;
  }

  .footer-legal h3 {
    font-size: 15px;
  }
}

/* Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 13px;
  color: #888;
}

.footer-bottom .footer-social {
  gap: 15px;
}

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

@media (max-width: 500px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .footer-col h4::after {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 500px) {
  .footer-logo {
    margin-left: 0;
    margin-right: auto;
    /* aligns left */
    display: block;
    /* ensure margin works */
    text-align: left;
    /* optional if needed inside container */
  }
}


/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 70px;
  /* moved up so it doesn’t overlap */
  right: 30px;
  width: 45px;
  height: 45px;
  border: none;
  border-radius: 50%;
  background: black;
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  z-index: 1100;
  box-shadow: 0 4px 12px rgba(38, 58, 47, 0.3);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {

  transform: scale(1.1);
}

/* =========================================================
   5) RESPONSIVE NAV (MOBILE ≤ 900px)
   ========================================================= */

@media (max-width: 1200px) {
  .hamburger {
    display: flex;
  }

  nav {
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(10px);
    display: none;
    flex-direction: column;
    text-align: center;
    animation: slideDown 0.4s ease forwards;
  }

  nav.active {
    display: flex;
    padding: 20px;
  }

  .menu {
    flex-direction: column;
    gap: 20px;
  }

  .menu li {
    width: 100%;
  }

  .menu li a {
    padding: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .dropdown-menu {
    display: none;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .login-btn a {
    display: block;
    width: 80%;
    margin: 16px auto;
  }
}

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

/* =========================================================
   6) UTILITY EFFECT CLASSES
   ========================================================= */

.fade-in-right { animation: fadeRight 0.8s ease forwards; }
.fade-in-left  { animation: fadeLeft  0.8s ease forwards; }
.fade-out      { animation: fadeOut   0.4s ease forwards; }

/* =========================================================
   7) ANIMATIONS (single definitions, no duplicates)
   ========================================================= */

@keyframes glowPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(156, 64, 248, 0.5)); }
  50%      { filter: drop-shadow(0 0 40px rgba(144, 64, 248, 0.8)); }
}

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

@keyframes rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

@keyframes moveDots {
  from { background-position: 0 0; }
  to   { background-position: 100px 100px; }
}

@keyframes auroraShift {
  0% {
    transform: translateY(0) translateX(0) scale(1);
    opacity: 0.9;
    background-position:
      15% 30%,
      85% 20%,
      60% 80%;
  }
  100% {
    transform: translateY(-2%) translateX(1%) scale(1.02);
    opacity: 1;
    background-position:
      25% 40%,
      75% 25%,
      55% 70%;
  }
}

@keyframes dotsDrift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(100px, 100px, 0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeRight {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-80px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

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


.custom-container2 {
    max-width: 700px; /* adjust as needed */
}

.custom-container3 {
    max-width: 500px; /* adjust as needed */
}

/* Map Dark Style */
.map-container iframe {
  filter: invert(0.9) hue-rotate(180deg) brightness(0.9);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.05);
}

.logo img {
    height: 60px;           /* adjust as needed */
    width: auto;
    display: block;
}

@media (max-width: 768px) {
    .logo img {
        height: 40px;       /* smaller logo for mobile */
    }
}
