* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.about-page .main {
  background: url('images/background2.png') no-repeat center center/cover; /* feel free to change the image */
  background-attachment: fixed;
}

.home-page .main {
  background: url('images/background.png') no-repeat center center/cover; /* feel free to change the image */
  background-attachment: fixed;
}

body, html {
  height: 100%;
  font-family: 'Schibsted Grotesk', sans-serif;
  margin: 0;
  padding: 0;
}

.main {
  min-height: 100vh;
  color: #000;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 28px;
  background: #fff;
}

.logo-img {
  height: 50px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  font-weight: bold;
}

.nav-links li {
  cursor: pointer;
  display: flex;
  align-items: center; 
  padding: 5px 0;       
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.nav-links li:hover:not(.active) {
  color: #002c5f;
  border-radius: 5px;
  transform: translateY(-2px) scale(1.04);
}

.nav-links .active {
  background-color: #002c5f;
  color: white;
  padding: 5px 12px;
  border-radius: 5px;
}

.content {
  padding-left: 40px;
  max-width: 700px;
  transform: translateY(-500px); 
}

.content h1 {
  font-size: 3rem;
  color: #002c5f;
}

.content p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.buttons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.btn {
  display: flex;
  align-items: center;
  background-color: #002c5f;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  gap: 10px;
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s; 
}

.btn:hover {
  background-color: #0051a8;
  color: #fff;
  box-shadow: 0 2px 12px rgba(0,44,95,0.15);
  transform: translateY(-2px) scale(1.03);
}

.btn img {
  height: 24px;
  width: auto;
}

.footer-logos {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 20px;
  background: rgba(0, 0, 0, 0.85);
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  z-index: 1000;
}

.footer-logo {
  height: 40px;
}

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

.about-content {
  max-width: 900px;
  margin: 100px auto;
  padding: 40px;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.6;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}
.about-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.gallery-section {
  max-width: 1000px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.6;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.gallery-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 20px;
  width: 100%; 
}

.gallery-item {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 0 8px rgba(0,0,0,0.2);
  background: #222;
  display: flex;
  align-items: center;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  transition: transform 0.3s ease;
  cursor: pointer;
  border-radius: 12px;
  display: block;
}

.gallery-item img:hover {
  transform: scale(1.02);
}

.staff-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 40px;
  justify-items: center;
}

.staff-member {
  background: rgba(0, 21, 59, 0.9);;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0,44,95,0.07);
  padding: 32px 24px 24px 24px;
  width: 420px;
  min-width: 420px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}

.staff-member:hover {
  box-shadow: 0 4px 24px rgba(0,44,95,0.18);
  transform: translateY(-4px) scale(1.03);
}

.staff-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #002c5f;
  margin-bottom: 18px;
  background: #ffffff;
}

.staff-member h2 {
  font-size: 1.3rem;
  color: #cecece;
  margin-bottom: 4px;
  margin-top: 0;
}

.staff-member h3 {
  font-size: 1rem;
  color: #74b9ff;
  margin-bottom: 10px;
  font-weight: 400;
}

.staff-member p {
  font-size: 1rem;
  color: #ffffff;
  text-align: center;
  margin: 0;
  background: #003366;
  border-radius: 30px;
  padding: 8px 16px;
  width: 100%;
  box-sizing: border-box;
  word-break: break-all;
  display: block;
}

.staff-content {
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.staff-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  color: #dbdbdb;
  border-radius: 18px;
  background: rgba(0, 21, 59, 0.9);
  padding: 14px 0;
  width: 420px;
  max-width: 420px;
  min-width: 420px;
}


