/* Responsive Navbar Styles */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: 10px;
}
.menu-icon {
  display: block;
  width: 28px;
  height: 4px;
  background: #055948;
  position: relative;
  border-radius: 2px;
}
.menu-icon::before,
.menu-icon::after {
  content: '';
  position: absolute;
  left: 0;
  width: 28px;
  height: 4px;
  background: #055948;
  border-radius: 2px;
  transition: 0.3s;
}
.menu-icon::before {
  top: -9px;
}
.menu-icon::after {
  top: 9px;
}

@media (max-width: 900px), (orientation: portrait) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    border-radius: 0 0 8px 8px;
    flex-direction: column;
    gap: 0;
    width: 80vw;
    max-width: 260px;
    display: none;
    z-index: 1000;
    padding: 24px 0 16px 0;
    margin: 0;
    border-top: 0;
    border-bottom: 1px solid #eee;
    height: auto;
  }
  .nav-links {
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.3s cubic-bezier(.4,0,.2,1);
    transform: translateY(-30px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .nav-links a {
    margin: 0;
    padding: 16px 32px;
    border-bottom: 1px solid #eee;
    color: #055948;
    font-size: 1.1em;
    border-radius: 0;
    background: none;
    text-align: left;
  }
  .nav-links a:last-child {
    border-bottom: none;
  }
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
}
/* About Page Specific Styles */
.about-section {
  max-width: 900px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  padding: 32px 24px;
}

.about-section h1,
.about-section h2 {
  color: var(--primary-color, #180591);
  margin-bottom: 16px;
}

.about-section p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 12px;
}

@media (max-width: 600px) {
  .about-section {
    padding: 16px 8px;
  }
  .about-section h1,
  .about-section h2 {
    font-size: 1.3em;
  }
}

/* Top Bar and Navbar styles to match index.html */
.top-bar {
  background-color: #f0f0f0;
  text-align: right;
  padding: 8px 20px;
  font-size: 14px;
}
.top-bar a {
  margin-left: 15px;
  color: #007bff;
  text-decoration: none;
}
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #fff;
  border-bottom: 1px solid #ccc;
}

/* Logo and title alignment for top bar */
.logo-title {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-title .logo {
  width: 80px;
}
.logo-title .site-title {
  color: #180591;
  font-weight: bold;
  font-size: 1.3em;
  text-decoration: none !important;
}

.nav-links {
  display: flex;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  color: #333;
}

/* Top bar beautiful buttons */
.top-btn {
  display: inline-block;
  background: #055948;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  margin-left: 10px;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  border: none;
}
.top-btn:hover {
  background: #007bff;
  color: #fff !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Join dialog styles (copied from main.css) */
.app-dialog-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.app-dialog-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  padding: 32px 24px;
  max-width: 350px;
  text-align: center;
}
.app-dialog-box h3 {
  margin-bottom: 12px;
  font-size: 1.2em;
  color: #180591;
}
.app-dialog-box p {
  font-size: 1em;
  color: #444;
  margin-bottom: 18px;
}
.app-dialog-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.app-dialog-actions .app-btn {
  min-width: 90px;
}

/* Header Box - Deep Green for all main sections */
.header-box {
  background-color: #055948 !important;
  color: white !important;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 20px;
}

/*About Us Section */
.info-sections {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.info-box {
  background-color: #f9f9f9;
  border-left: 6px solid #3b82f6; 
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.info-box h2 {
  font-size: 20px;
  font-weight: bold;
  color: #1f2937;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.section-icon {
  width: 24px;
  height: 24px;
  margin-right: 10px;
}

.info-box p {
  font-size: 16px;
  color: #333;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box li {
  margin-bottom: 10px;
  font-size: 16px;
  color: #333;
  display: flex;
  align-items: center;
}

.info-box li input[type="checkbox"] {
  margin-right: 10px;
}
/* Info Layout for about us page */
.info-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  padding: 40px;
  background-color: #f9f9f9;
}

/* Left Image Styling for about*/
.info-image {
  flex: 2;
  max-width: 60%;
}

.info-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Sidebar Styling for about */
.info-sidebar {
  flex: 1;
  max-width: 35%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Box Styling for about  */
.info-box {
  background-color: #ffffff;
  padding: 20px 25px;
  border-left: 5px solid #0073e6;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.info-box h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.info-box .section-icon {
  width: 24px;
  height: 24px;
}

.info-box p,
.info-box li {
  font-size: 15px;
  line-height: 1.6;
}

.info-box ul {
  list-style: none;
  padding-left: 0;
}

.info-box li {
  margin-bottom: 8px;
}

/* Responsive Layout for about us page */
@media (max-width: 768px) {
  .info-layout {
    flex-direction: column;
  }

  .info-image,
  .info-sidebar {
    max-width: 100%;
  }
}

/* Responsive improvements for about page */
@media (max-width: 1200px) {
  .container {
    max-width: 98vw;
    padding: 8px;
  }
  .main-icons {
    gap: 24px;
  }
}
@media (max-width: 900px) {
  .main-wrapper {
    padding: 8px;
  }
  .main-icons {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px;
  }
  .sidebar {
    max-width: 100%;
    min-width: 0;
    margin-top: 16px;
  }
}
@media (max-width: 600px) {
  .main-wrapper {
    padding: 2px;
  }
  .container {
    padding: 2px;
  }
  .header-box {
    padding: 16px;
  }
  .main-icons {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }
  .sidebar {
    padding: 8px 2px;
    max-width: 100%;
    min-width: 0;
  }
}

/* Footer */
.footer {
  background-color: #f8f9fa;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.social-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.social-links {
  display: flex;
  list-style: none;
  gap: 15px;
  padding: 0;
  margin: 0;
}

.social-links li a img {
  width: 24px;
  height: 24px;
}
