/* Reset & Base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  padding: 0;
}

html, body {
  width: 100%;
  overflow-x: hidden;
}

.container {
  max-width: 100%;
  width: 90%;
  margin: auto;
  background: #f5f5f5;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
}

@media (max-width: 600px) {
  h1 {
    font-size: 1.5rem;
  }

  p {
    font-size: 0.95rem;
  }
}

 .navbar {
    display: flex;
  align-items: center;
  justify-content: space-between; /* or use flex-end if needed */
  padding: 10px 20px;
  position: relative;
  z-index: 1000;
  }
  
  .nav-logo img {
    height: 35px; /* reduced size */
    width: auto;
    max-width: 100%;
    display: block;
  }
  
  .nav-links {
    display: flex;
    list-style: none;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
  }
  
  
  .nav-links li a {
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: color 0.3s ease;
  }
  
  .nav-links li a.active {
    color: #250047; /* Orange for active link - customize */
  font-weight: bold;
  }
  
  .nav-links li a:hover {

     color: #250047; /* Blue on hover - you can change this */
  transition: color 0.3s ease;

  }
  
  .wallet {
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  /* Wallet image alignment */
.wallet img {
  width: 16px;
  vertical-align: middle;
  margin-right: 5px;
}

/* Menu toggle hidden by default */
.menu-toggle {
  font-size: 24px;
  cursor: pointer;
  user-select: none;
}
.popup-menu {
  position: absolute;
  top: 60px;
  right: 10px;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  border-radius: 8px;
  z-index: 9999;
  padding: 10px ;
}

.popup-menu ul {
  list-style: none;
}

.popup-menu ul li {
  margin: 10px 0;
}

.popup-menu ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.popup-menu ul li a:hover {
  color: #3400f0;
}


/* hide hamburger on desktop, show only on mobile */
.menu-toggle,
.menu-icon {
  display: none; /* default: hidden on larger screens */
  cursor: pointer;
  font-size: 1.4rem;
  user-select: none;
}

/* Desktop: display nav horizontally */
.nav-links {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Mobile: show hamburger, hide nav by default */
@media (max-width: 768px) {
  .menu-toggle,
  .menu-icon {
    display: block;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 12px;
    top: 60px;
    background: #fff;
    padding: 12px;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    z-index: 999;
    width: 220px;
  }
  .nav-links.active { display: flex; }
}

/* Header styles */
header {
  text-align: center;
  background-color: #004080;
  color: #fff;
  padding: 40px 20px;
}


header h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  margin-bottom: 10px;
}

/* Hero section */
.hero {
  text-align: center;
  padding: 40px 20px;
  background-color: #e6f0ff;
}

.hero h2 {
  font-size: 2rem;
  color: #004080;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1rem;
  color: #333;
}

/* Contact Info */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 40px 20px;
}

.contact-box {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  transition: transform 0.2s ease-in-out;
}

.contact-box:hover {
  transform: translateY(-5px);
}

.contact-box h3 {
  font-size: 1.2rem;
  color: #004080;
  margin-bottom: 10px;
}

.contact-box a {
  color: #004080;
  text-decoration: none;
}

.contact-box a:hover {
  text-decoration: underline;
}

/* Form section */
.form-section {
  padding: 40px 20px;
  background-color: #f0f8ff;
  text-align: center;
}

.form-section h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #004080;
}

form {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
}

button[type="submit"] {
  background-color: #004080;
  color: white;
  padding: 10px 25px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
}

button[type="submit"]:hover {
  background-color: #003060;
}

button[type="submit"]:disabled {
  background-color: #999;
  cursor: not-allowed;
}

/* Form message styles */
.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 5px;
  font-weight: 500;
  display: none;
}

.form-message.visible {
  display: block;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Footer */
.footer {
  background-color: #0a0a23;
  color: #f0f0f0;
  padding: 40px 20px 20px;
  font-family: 'Poppins', sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: auto;
}

.footer-section h3, .footer-section h2 {
  color: #4aa3df;
  margin-bottom: 10px;
}

.footer-section p {
  color: #dcdcdc;
  font-size: 0.95rem;
}

.footer-section a {
  color: #dcdcdc;
  font-size: 0.95rem;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #4aa3df;
  text-decoration: none;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  padding-top: 10px;
  border-top: 1px solid #333;
  font-size: 0.85rem;
}
