:root {
  --primary: #1b9c73;
  --secondary: #588367;
  --accent: #a4b476;
  --light: #f8f9fa;
  --dark: #212529;
}

/* GLOBAL STYLES */
body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding-top: 120px;
  color: #333;
}

/* HEADER */
.main-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 97%;
  z-index: 1000;
  border-bottom-left-radius: 25px;
  border-bottom-right-radius: 25px;
  padding: 10px 30px;
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu .btn {
  color: white;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  transition: all 0.3s ease;
}

.nav-menu .btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.nav-menu .dropdown-toggle {
  background: none;
  border: none;
  color: white;
  font-weight: 500;
  font-size: 1rem;
}

.nav-menu .dropdown-toggle:focus {
  box-shadow: none;
}

.nav-menu .dropdown-menu {
  background-color: var(--secondary);
  border: none;
  border-radius: 8px;
  overflow: hidden;
}

.nav-menu .dropdown-item {
  color: white;
  transition: all 0.2s ease;
}

.nav-menu .dropdown-item:hover {
  background-color: var(--accent);
  color: #000;
  padding-left: 25px;
}

/* TOGGLER */
/* Navbar Toggler */
.navbar-toggler {
    width: 40px;           /* ensures enough space for the icon */
    height: 40px;
    background-color: rgba(255, 255, 255, 0.25);
    border-radius: 8px;
    padding: 6px 4px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
}

.navbar-toggler-icon {
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;  /* match width & height */
}

/* FOOTER */
.footer {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 60px 20px 30px;
  text-align: center;
}

.footer h5 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background-color: var(--accent);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #e0e0e0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.social-links a {
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  margin: 5px;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--accent);
  color: #333;
  transform: translateY(-3px);
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 40px;
  font-size: 0.9rem;
}

/* CONTACT SECTION */
#contact {
  background-color: #f9fafb;
  border-radius: 20px;
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  transition: all 0.3s ease;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.contact-link {
  text-decoration: none;
  color: var(--primary);
  font-weight: 500;
  transition: color 0.3s;
}

.contact-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

/* FORM STYLES */
.form-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 30px;
  padding: 50px 20px;
  flex-wrap: wrap;
  background: #fff;
}

.form-box {
  flex: 1;
  min-width: 340px;
  max-width: 420px;
  background: linear-gradient(135deg, #1b9c73, #6fbf73);
  color: #fff;
  padding: 30px 25px;
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.form-box::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15), transparent 60%);
  transform: rotate(45deg);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.form-box:hover::before {
  opacity: 1;
}

.form-box h2 {
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: #fff;
}

label {
  font-weight: 600;
  margin-top: 10px;
  font-size: 15px;
  color: #fff;
}

input,
select,
textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  margin-top: 5px;
  margin-bottom: 14px;
  font-size: 15px;
  outline: none;
  background-color: rgba(255, 255, 255, 0.9);
  color: #333;
  transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.7);
  background-color: #fff;
}

textarea {
  resize: vertical;
  height: 90px;
}

button {
  display: block;
  /* margin: 25px auto 0; */
  background: linear-gradient(135deg, #1b9c73, #25d366);
  color: #fff;
  border: none;
  padding: 14px 28px;
  border-radius: 30px;
  width: 60%;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.4s ease;
  /* box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); */
}

button:hover {
  background: linear-gradient(135deg, #14805e, #1fad59);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* UPDATE SECTION */
.update-section {
  background: url("assets/SBVFLAGGGGG123.jpg") no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  position: relative;
  height: 100%;
  width: 100%;
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.update-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 90%;
  max-width: 1100px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 40px;
}

.update-side {
  flex: 1;
  min-width: 300px;
  margin: 10px;
  text-align: left;
}

.update-side h2 {
  color: var(--light);
  margin-bottom: 15px;
  font-weight: 600;
}

.update-side p {
  color: #eee;
  margin-bottom: 20px;
}

.btn-custom {
  background-color: var(--primary);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  transition: 0.3s;
}

.btn-custom:hover {
  background-color: #157c5d;
}

/* MODAL */
.modal-content {
  border-radius: 15px;
  border: none;
  color: #000 !important;
}

.modal-header h5,
.modal-content label {
  color: #000;
}

input::placeholder,
textarea::placeholder {
  color: #ffffff !important;
}

/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
  .main-header {
    padding: 10px 20px;
    width: 95%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
  }

  .footer {
    padding: 40px 20px 20px;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 100px;
  }

  .main-header {
    width: 95%;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .contact-card {
    margin-bottom: 20px;
  }

  .update-container {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .update-side {
    text-align: center;
  }
}

@media (max-width: 576px) {
  .footer {
    padding: 30px 15px 15px;
  }

  .contact-card {
    padding: 15px;
  }

  .icon-circle {
    width: 60px;
    height: 60px;
  }
}

.close-btn {
  position: absolute;
  top: 20px;
  /* left: 220px; */
  width: 90%;
  background: none;
  border: none;
  color: black;
  font-size: 1.5rem;
  font-weight: bold;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

.close-btn:hover,
.close-btn:focus {
  color: black; /* stays black */
  background: none;
  outline: none;
  box-shadow: none;
}
.modal-header {
  position: relative;
  justify-content: center; /* centers title nicely */
}


