.site-header {
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
}

.logo-container {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.logo {
  position: static;
  left: unset;
  transform: none;
  text-align: left;
  width: auto;
  margin: 0;
  padding: 0.5rem 0;
  color: white;
  font-size: 1.5rem;
  font-weight: bold;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.site-header.scrolled .logo {
  opacity: 0;
}

.logo a {
  color: white !important;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
  display: inline-block;
  white-space: nowrap;
}

/* Responsive font sizes */
.logo a {
  font-size: 2rem; /* Default size */
}
.logo h1 {
  color: white;
}

@media (max-width: 768px) {
  .logo a {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .logo a {
    font-size: 1.2rem;
  }
}

.nav-list {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  justify-content: flex-end;
  align-items: center;
  flex: 1 1 auto;
}

.site-header.scrolled .nav-list {
  opacity: 1;
}

.nav-list a {
  color: #333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.site-header.scrolled .nav-list a {
  color: #333;
}

.nav-list a:hover {
  color: #007bff;
}

/* Responsive navigation */
@media (max-width: 900px) and (min-width: 767px) {
  .nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    background: none;
    position: static;
    top: unset;
    width: auto;
    box-shadow: none;
    padding: 0;
    margin: 0;
    opacity: 1 !important;
    transition: none;
  }
  .nav-list li {
    width: auto;
    margin: 0 0.5rem;
  }
  .nav-list a {
    width: auto;
    padding: 0.75rem 1rem;
    color: #223a5e;
    font-weight: 500;
    border-radius: 6px;
    transition: background 0.2s;
  }
  .nav-list a:hover {
    background: #f0f4fa;
  }
}

/* Tablet view: nav-list in same row as logo */
@media (min-width: 767px) and (max-width: 900px) {
  .site-header .container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .logo-container {
    display: flex;
    align-items: center;
    flex-shrink: 0;
  }
  nav {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .nav-list {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-end;
    gap: 2rem;
    background: none;
    position: static;
    /* top: unset; */
    width: auto;
    box-shadow: none;
    padding: 0;
    margin: 0;
    opacity: 1 !important;
    transition: none;
  }
}

@media (min-width: 767px) and (max-width: 900px) {
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }
}

@media (min-width: 767px) {
  .menu-toggle {
    display: none !important;
  }
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
  margin-left: 1rem;
}

.menu-toggle .bar {
  width: 28px;
  height: 3px;
  background: #223a5e;
  margin: 4px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 900px) and (min-width: 767px) {
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .menu-toggle {
    display: flex;
  }
}

@media (min-width: 767px) {
  .menu-toggle {
    display: none !important;
  }
}

@media (max-width: 426px) {
  .site-header .container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .menu-toggle {
    display: flex !important;
    margin-left: auto;
    margin-right: 0;
  }
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    z-index: 1200;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .nav-list.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #fff;
    gap: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 1.5rem 0;
    width: 100%;
    border-radius: 0 0 8px 8px;
  }
  .nav-list.active li {
    width: 100%;
    text-align: center;
    display: block;
  }
  .nav-list.active a {
    display: block;
    width: 100%;
    color: #223a5e;
    font-size: 1.1rem;
    padding: 0.75rem 0;
    background: transparent;
    border-radius: 0;
    transition: background 0.2s;
  }
  .nav-list.active a:hover {
    background: #f0f4fa;
  }
}

/* Diaspora Carousel Styles */
.diaspora-carousel-section {
  width: 100%;
  margin: 2rem 0;
  display: flex;
  justify-content: center;
}
.diaspora-carousel {
  position: relative;
  width: 100%;
  height: 700px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  background: #fff;
}
.diaspora-carousel-inner {
  display: flex;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}
.diaspora-carousel-item {
  min-width: 100%;
  transition: opacity 0.5s;
  opacity: 0;
  display: none;
  justify-content: center;
  align-items: center;
}
.diaspora-carousel-item.active {
  opacity: 1;
  display: flex;
}
.diaspora-carousel img {
  width: 100%;
  height: 700px;
  object-fit: contain;
  border-radius: 10px;
}
.diaspora-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34,58,94,0.7);
  color: #fff;
  border: none;
  font-size: 2rem;
  padding: 0 0.7rem;
  cursor: pointer;
  z-index: 2;
  border-radius: 50%;
  transition: background 0.2s;
}
.diaspora-carousel-control.prev {
  left: 10px;
}
.diaspora-carousel-control.next {
  right: 10px;
}
.diaspora-carousel-control:hover {
  background: #223a5e;
}
@media (max-width: 600px) {
  .diaspora-carousel {
    width: 100%;
    height: 300px;
    border-radius: 0;
  }
  .diaspora-carousel img {
    height: 100%;
    border-radius: 0;
    object-fit: contain;
  }
}
