/* Cache cleared: 2025-08-07 16:40:59 */
/* Cache cleared: 2025-07-20 13:08:19 */
@import "../css-edit/header-footer-edit.css";

/* Base Styles */
body {
  margin: 0;
  font-family: var(--header-footer-font-family-main);
  font-size: var(--header-footer-font-size-medium);
  line-height: 1.5;
  /* color: #333; */
}

* {
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Layout */
html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background-color: var(--header-footer-color-background-dark);
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
}

/* Main Content */
.main-content {
  margin-top: 120px;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 0 15px;
}

/* Top Bar */
.top-bar {
  padding: 15px 20px;
  background-color: var(--header-footer-color-background-dark);
}

.top-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
}

.contact-details {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
  font-size: var(--header-footer-font-size-medium);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: var(--header-footer-font-size-medium);
  font-weight: 500;
  color: var(--header-footer-color-text-on-dark);
}

.contact-item .contact-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item .separator {
  height: 12px;
  width: 1px;
  background-color: var(--header-footer-color-border);
  display: inline-block;
}

.social-links {
  color: var(--header-footer-color-text-on-dark);
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-links img {
  display: block;
  width: 16px;
  height: 16px;
  transition: opacity 0.3s;
}

.social-links a:hover img {
  opacity: 0.8;
}

/* Main Navigation */
.main-navigation {
  padding: 15px 20px;
  background-color: var(--header-footer-color-background-light);
}

.main-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px;
  position: relative;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  transition: all 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  font-size: var(--header-footer-font-size-medium);
  font-weight: 600;
  color: var(--header-footer-color-text-on-light);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  transition: all 0.3s;
  text-decoration: none;
  position: relative;
}

.nav-link:hover {
  color: var(--header-footer-color-text-on-dark);
  background-color: var(--header-footer-color-background-hover);
  border-radius: 4px;
}

.nav-link .dropdown-arrow {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--header-footer-color-background-dark);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  min-width: 180px;
  border-radius: 4px;
  padding: 10px 0;
  list-style: none;
  margin-top: 2px;
  /* Reduced space between nav link and dropdown */
}

@media (min-width: 993px) {
  .dropdown:hover .dropdown-menu {
    display: block;
  }
}

.dropdown-link {
  display: block;
  padding: 10px 20px;
  color: var(--header-footer-color-text-on-dark);
  font-weight: 500;
  font-size: var(--header-footer-font-size-medium);
  white-space: nowrap;
  transition: background-color 0.3s, color 0.3s;
}

.dropdown-link:hover {
  background-color: var(--header-footer-color-background-light);
  color: var(--header-footer-color-text-on-light);
}

.donate-button-new {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--header-footer-color-background-button);
  color: var(--header-footer-color-text-on-dark);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: var(--header-footer-font-size-medium);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.donate-button-new:hover {
  background-color: var(--header-footer-color-background-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.donate-button-new img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

/* Mobile Menu Toggle */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--header-footer-color-text-on-light);
  transition: all 0.3s ease;
  border-radius: 3px;
}

/* Mobile Menu Styles */
/* Styles for mobile dropdown active state */
@media (max-width: 992px) {
  .dropdown .dropdown-menu {
    display: none;
    position: static;
    background-color: var(--header-footer-color-background-dark);
    box-shadow: none;
    padding: 5px 15px 5px 30px;
    /* Add more padding for better touch targets */
    margin: 5px 0;
    width: 100%;
  }

  .dropdown.active > .dropdown-menu {
    display: block;
  }

  .dropdown.active > .nav-link .arrow-icon {
    transform: rotate(180deg);
  }

  /* Make dropdown menu items more touch-friendly */
  .dropdown-menu li {
    margin: 5px 0;
  }

  .dropdown-menu a {
    display: block;
    padding: 10px 0;
    color: var(--header-footer-color-text-on-dark);
    text-decoration: none;
    transition: color 0.2s;
  }

  .dropdown-menu a:hover {
    color: var(--header-footer-color-text-on-dark);
    text-decoration: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: var(--header-footer-color-background-light);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 30px 30px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .nav-link {
    width: 100%;
    padding: 12px 0;
    border-bottom: 1px solid var(--header-footer-color-border);
  }

  .donate-button-new {
    width: 100%;
    margin-top: 15px;
    justify-content: center;
  }

  /* Overlay when menu is open */
  .menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .menu-overlay.active {
    display: block;
    opacity: 1;
  }
}

/* Tablet and Mobile Adjustments */
@media (max-width: 768px) {
  .top-bar {
    padding: 10px 15px;
  }

  .contact-details {
    flex-direction: column;
    gap: 8px;
    width: 100%;
    text-align: center;
  }

  .contact-item {
    justify-content: center;
    width: 100%;
  }

  .social-links {
    display: none;
  }

  .main-navigation {
    padding: 10px 15px;
  }

  .logo img {
    height: 40px;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .contact-item {
    font-size: var(--header-footer-font-size-medium);
  }

  .contact-item .separator {
    display: none;
  }

  .nav-menu {
    width: 280px;
  }
}
