* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background-color: #f5f5f5;
  color: white; 
}

.header {
  background: linear-gradient(to right, #1C2B45, #243b64);
  padding: 30px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  color: white;
  flex-wrap: wrap;
  position: relative;
  z-index: 100;
}

.photo img {
  max-height: 70px;
  max-width: 70px;
  background-color: white;
  border-radius: 50%;
  padding: 5px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.nav .menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

.menu a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  font-weight: 500;
  padding: 12px 18px;
  border-radius: 12px;
  transition: all 0.3s ease;
  position: relative;
}

.menu a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.language-switcher {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.language-switcher button {
  background-color: transparent;
  border: none;
  padding: 6px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.language-switcher button:hover {
  transform: scale(1.2);
}

.language-switcher img {
  width: 42px;
  height: 30px;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}



.nav .menu {
  list-style: none;
  display: flex;
  gap: 15px;
}

.menu > li {
  position: relative;
}

.menu a {
  text-decoration: none;
  color: white;
  padding: 10px 15px;
  border-radius: 12px;
  transition: background 0.3s;
}

.menu a:hover {
  background-color: #9D1828;
}

.submenu {
  position: absolute;
  top: 130%;
  left: 0;
  background-color: #1C2B45;
  border-radius: 12px;
  display: none;
  flex-direction: column;
  min-width: 180px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 10;
}

.submenu li a {
  padding: 10px 15px;
  color: white;
  display: block;
  white-space: nowrap;
}

.submenu li a:hover {
  background-color: #9D1828;
}

.has-submenu:hover .submenu {
  display: flex;
}

.slider {
  width: 90%;
  max-width: 800px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  position: relative;
}

.slider-slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  object-fit: cover;
}


.intro {
  text-align: center;
  padding: 30px 20px;
  background-color: #ffffff;
  color: #1C2B45;
}

.intro h2 {
  font-size: 48px;
  margin-bottom: 10px;
  color: #1C2B45;
}

.intro p {
  font-size: 28px;
  color: #555;
}

.slider {
  max-width: 930px;
  margin: 20px auto; 
  overflow: hidden;
  position: relative;
  display: flex; 
  justify-content: center; 
}

.slider-container {
  display: flex;
  width: 600%;
  animation: slide 30s infinite;
}

.slider-slide {
  width: 100%;
  flex: 0 0 100%;
  transition: transform 0.5s ease-in-out;
}

.slider-slide img {
  width: 100%;
  height: auto;
}



.language-switcher {
  text-align: center;
  margin-top: 20px;
}

.language-switcher button {
  padding: 10px;
  margin: 5px;
  background-color: #4CAF50;
  color: white;
  border: none;
  cursor: pointer;
}

.language-switcher button:hover {
  background-color: #45a049;
}

.search-bar {
  text-align: center;
  margin-top: 20px;
}

.search-bar input {
  padding: 10px;
  width: 80%;
  max-width: 400px;
}

.search-bar button {
  padding: 10px;
  margin-left: 5px;
  cursor: pointer;
}

.footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 70px 30px;
  margin-top: 40px;
  font-size: 14px;
}

.footer-content p {
  margin: 5px 0;
}
.language-switcher {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.language-switcher button {
  background-color: transparent;
  border: none;
  padding: 5px;
  cursor: pointer;
  transition: 0.3s;
}

.language-switcher button:hover {
  transform: scale(1.1);
}

.language-switcher img {
  width: 40px; 
  height: 30px;  
  border-radius: 4px;
}



.intro {
  padding: 80px 20px;
  text-align: center;

  background-color: #e9ecef;
  background-size: cover;
  background-position: center;
}

.intro h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #343a40;
}

.intro p {
  font-size: 1.1rem;
  color: #6c757d;
}


.person-info-wrapper {
  padding: 40px 20px;
  background-color: #f8f9fa; 
}

.person-info {
  flex-direction: row; 
  max-width: 900px; 
  margin: 0 auto; 
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  align-items: center; 
}

.person-photo {
  width: 150px;
  height: 150px;
  margin-right: 30px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease-in-out;
}

.person-photo:hover {
  transform: scale(1.05);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain; 
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
}  

.person-details {
  text-align: left;
}

.person-details h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #343a40;
}

.person-details p {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #495057;
}

.person-details a {
  color: #007bff; 
  font-weight: 500;
  transition: color 0.2s ease;
}

.person-details a:hover {
  color: #0056b3;
  text-decoration: underline;
}


@media (max-width: 768px) {
  .header {
      padding: 15px 20px;
      flex-direction: column;
      align-items: flex-start;
  }

  .nav {
      width: 100%;
      margin-top: 15px;
  }

  .nav .menu {
      flex-direction: column;
      gap: 10px;
  }

  .menu > li {
      width: 100%;
  }

  .submenu {
      position: static;
      display: none; 
      width: 100%;
      box-shadow: none;
      border-radius: 0;
      background-color: #495057;
  }

  .has-submenu:hover .submenu {
      display: flex;
  }

  .language-switcher {
      justify-content: flex-start;
      margin-top: 10px;
  }

  .person-info {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .person-photo {
      margin-right: 0;
      margin-bottom: 20px;
      width: 120px;
      height: 120px;
  }

  .person-details {
      text-align: center;
  }
}

.person-info-wrapper {
  padding: 40px 20px;
  background-color: #f8f9fa; 
}

.person-info {
  display: flex; 
  flex-direction: row; 
  max-width: 900px; 
  margin: 0 auto; 
  padding: 30px;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  align-items: center;
}

.person-photo {
  width: 150px;
  height: 150px;
  margin-right: 30px; 
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease-in-out;
  flex-shrink: 0;
}

.person-photo:hover {
  transform: scale(1.05);
}

.person-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transition: transform 0.2s ease-in-out;
}

.person-details {
  text-align: left;
  flex-grow: 1; 
}

.person-details h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #343a40;
}

.person-details p {
  font-size: 1rem;
  margin-bottom: 8px;
  color: #495057;
}

.person-details a {
  color: #007bff; 
  font-weight: 500;
  transition: color 0.2s ease;
}

.person-details a:hover {
  color: #0056b3;
  text-decoration: underline;
}


@media (max-width: 768px) {
  .person-info {
    flex-direction: column;
    align-items: center; 
    text-align: center; 
  }

  .person-photo {
    margin-right: 0;
    margin-bottom: 20px;
    width: 120px;
    height: 120px;
  }

  .person-details {
    text-align: center;
  }
}