/* Header Styles */
.header {
  background-color: #002556;
  color: white;
  position: relative;
  z-index: 1000;
}
.menu-toggle {
  display: none;
}
.top-bar {
  background-color: #ffffff;
  color: #262626;
  padding: 10px 0;
}

.header .top-bar {
  padding: 40px 0;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: end;
  padding: 0 20px;
}

.logo-section,
.logo-section a {
  display: flex;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  cursor: pointer;
}

.logo {
  width: 55px;
  height: 54px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Right side */
.header-right-column {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 15px;
}

.language-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.language-flags {
  display: flex;
  gap: 8px;
}

.flag-item {
  width: 24px;
  height: 16px;
  background-color: #f0f0f0;
  border-radius: 2px;
}

.flag-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 2px;
}

/* Foundation Name */
.foundation-names {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.foundation-names p {
  margin: 0;
  line-height: 1.1;
}

.foundation-names .foundation-name {
  font-size: 22px;
  font-weight: 700;
  color: #002556;
  line-height: 1;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 21px;
}

/* language selector */
.language-selector {
  position: relative;
  font-size: 14px;
  font-weight: 500;
  color: #002556;
}

.language-toggle {
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 1px solid #828282;
  border-radius: 4px;
  padding: 0 2px;
}

.language-toggle svg {
  margin-left: 5px;
  margin-top: 3px;
  transition: 0.3s ease;
}

.language-menu {
  position: absolute;
  top: 120%;
  right: 0;
  background: #ffffff;
  min-width: 150px;
  padding: 8px 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.25s ease;
  z-index: 999;
}

.language-selector.active .language-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language-selector.active svg {
  transform: rotate(180deg);
}


.language-menu li {
  list-style: none;
  padding: 10px 15px;
  cursor: pointer;
  white-space: nowrap;
}

.language-menu li:hover {
  background: #f3f3f3;
}

#language-selector {
  background-color: white;
  border: 1px solid #ada6a6;
  color: #666363;
  padding: 0 4px;
  border-radius: 4px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 2px 3px;
  border: 1px solid #828282;
  border-radius: 4px;
  background: white;
  font-size: 12px;
  text-align: center;
  color: #363636;
  cursor: pointer;
  box-shadow: 0px 2px 0px 0px rgba(0, 0, 0, 0.02);
}

.action-buttons {
  display: flex;
  gap: 10px;
}

.btn-primary,
.btn-secondary {
  padding: 5px;
  border-radius: 4px;
  font-size: 18px;
  font-weight: 400;
  text-align: center;
  cursor: pointer;
  border: none;
  text-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.12);
  text-decoration: none;
}

.btn-primary {
  background-color: #3d82cf;
  color: white;
  width: 95px;
  height: 40px;
}

.btn-secondary {
  background-color: #3d82cf;
  color: white;
  width: 131px;
  height: 40px;
}

.btn-primary:hover,
.btn-secondary:hover {
  background-color: #2a6db8;
}

/* Navigation */
.navigation {
  background-color: #002556;
  padding: 0;
}

.navigation a {
  text-decoration: none;
}

.navigation .logo-section,
.navigation span,
.navigation hr {
  display: none;
}

.nav-menu {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  list-style: none;
}

/* Dropdown Styles */
.nav-item {
  position: relative;
  list-style: none;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 220px;
  padding: 10px 0;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  z-index: 1000;
}

.dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a:hover {
  background: #f3f3f3;
}

.dropdown svg {
  transition: 0.3s ease;
}

.dropdown.active svg {
  transform: rotate(180deg);
  margin-bottom: 4px;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 10px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.nav-item a {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #02b4f0;
}

li.nav-item.dropdown {
  display: flex;
  align-items: center;
  gap: 5px;
}
.nav-item.dropdown svg {
  margin-left: 5px;
  margin-top: 3px;
}

/* Footer Section */
.footer {
  color: white;
  position: relative;
  height: auto;
}

.footer-main {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: flex-start;
}

.footer-logo {
  width: 30%;
  gap: 20px;
  background-color: #ffffff;
  padding: 60px 40px;
}

.footer-logo .logo img {
  transform: scale(1.4);
}

.footer-logo .footer-foundation-names {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.footer-logo .footer-foundation-names p {
  margin: 0;
  line-height: 1.1;
}

.footer-logo .footer-foundation-name {
  font-size: 20px;
  font-weight: 700;
  color: #002556;
  line-height: 1;
}

.footer-logo h3 {
  font-size: 16px;
  font-weight: 700;
  color: #184a86;
  margin-bottom: 20px;
  line-height: 1.25;
}

.footer-logo .logo-section {
  margin-bottom: 20px;
}

.footer-logo p {
  font-size: 14px;
  font-weight: 500;
  color: #404040;
  line-height: 1.5;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  width: 30px;
  height: 30px;
  background: rgba(24, 74, 134, 0.2);
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.social-links a img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1.1);
}

.footer-columns {
  display: flex;
  gap: 20px;
  width: 70%;
  padding: 60px 40px;
  background-color: #093471;
}

.footer-column {
  flex: 1;
}

.footer-column h4 {
  font-size: 19px;
  font-weight: bold;
  color: #f5f5f5;
  margin-bottom: 23px;
  text-transform: uppercase;
  line-height: 1.25;
  font-family: inter;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-column li a {
  color: #f5f5f5;
  text-decoration: none;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.55;
  font-family: Pridi;
  font-style: Light;
}

.footer-columns .footer-column-parent {
  display: flex;
  justify-content: center;
  align-items: start;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 23px;
}

.contact-item span {
  font-size: 14px;
  font-weight: 300;
  color: #f5f5f5;
  line-height: 1.6;
}

.btn-donate-footer {
  background-color: white;
  color: #000000;
  border: 1px solid #ffffff;
  border-radius: 5px;
  width: 91px;
  height: 39px;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  text-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.12);
  margin-top: 20px;
}

.footer-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #093471;
  padding: 10px;
  text-align: center;
}

.footer-bottom p {
  font-size: 16px;
  font-weight: 400;
  color: white;
  line-height: 1.5;
}