#about,
#staff {
  background-color: #f9f9f9;
}
.bio,
body {
  line-height: 1.6;
}
.social-links a,
a {
  text-decoration: none;
}
#contact,
header {
  background-color: #2c3e50;
}
#hero,
.section-title,
footer {
  text-align: center;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}
html {
  scroll-behavior: smooth;
}
body {
  color: #333;
}
a {
  color: inherit;
}
ul {
  list-style: none;
}
img {
  max-width: 100%;
  height: auto;
}
.section-title {
  padding-bottom: 1rem;
}
.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: #c0392b;
}
section {
  padding: 5rem 0;
}
.btn {
  display: inline-block;
  padding: 12px 30px;
  background-color: #c0392b;
  color: #fff;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: 0.3s;
}
.btn:hover {
  background-color: #a63326;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}
header {
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
}
.logo {
  font-size: 1.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
}
#hero,
.nav-links {
  align-items: center;
  display: flex;
}
.footer-links a:hover,
.logo span,
.nav-links a:hover {
  color: #c0392b;
}
.nav-links li {
  margin-left: 2.5rem;
  position: relative;
}
.nav-links a {
  font-weight: 500;
  transition: color 0.3s;
}
.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: #c0392b;
}
.flag-icon {
  width: 24px;
  height: 24px;
  border-radius: 0;
  object-fit: contain;
  background: 0 0;
}
.lang-btn {
  background: 0 0;
  border: none;
  padding: 0;
  margin: 0 5px;
  opacity: 0.7;
}
.lang-btn.active {
  opacity: 1;
}
#hero {
  height: 90vh;
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("Images/library.webp") center/cover no-repeat;
  color: #fff;
}
.hero-content {
  max-width: 800px;
  margin: 0 auto;
}
.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}
.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}
.about-content {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.about-text {
  flex: 1;
}
.about-text h3 {
  font-size: 1.8rem;
  color: #c0392b;
  margin-bottom: 1rem;
}
.about-text p,
.contact-form .form-group {
  margin-bottom: 1.5rem;
}
.about-img {
  flex: 1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 30px rgba(0, 0, 0, 0.1);
}
.service-card,
.team-member {
  background-color: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.team-member.normal {
  flex-direction: row;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}
.service-icon img.custom-svg-icon {
  display: block;
  margin-top: 30px;
  margin-left: auto;
  margin-right: auto;
  height: 60px;
  width: 60px;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-icon img.custom-svg-icon {
  filter: brightness(0) saturate(100%) invert(20%) sepia(83%) saturate(2404%)
    hue-rotate(341deg) brightness(87%) contrast(79%);
}
.service-card:hover .service-img img {
  transform: scale(1.1);
}
.service-content {
  padding: 1.5rem;
}
.service-content h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
  color: #2c3e50;
}
.service-content p {
  color: #666;
  margin-bottom: 1.5rem;
}
#staff {
  padding: 60px 0;
}
.section-title {
  margin-bottom: 40px;
  color: #2c3e50;
  position: relative;
  font-size: 32px;
}
.section-title:after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: #c0392b;
  margin: 15px auto;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.team-member {
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  margin-bottom: 30px;
}
.member-content {
  padding: 30px;
  flex: 1;
}
.member-image {
  width: 300px;
  height: auto;
  flex-shrink: 0;
}
.member-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}
.member-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #2c3e50;
}
.position {
  color: #c0392b;
  font-weight: 600;
  margin-bottom: 1rem;
}
.bio {
  color: #666;
  margin-bottom: 1.5rem;
}
.contact-details,
.contact-info h3 {
  margin-bottom: 2rem;
}
.social-links {
  display: flex;
  gap: 1rem;
}
.contact-wrapper,
.form-group.inline {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.social-links a {
  width: 40px;
  height: 40px;
  background-color: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  transition: 0.3s;
}
.social-links a:hover {
  background-color: #c0392b;
  color: #fff;
}
#contact {
  color: #fff;
}
.contact-wrapper {
  gap: 4rem;
}
.contact-info h3 {
  font-size: 1.8rem;
  color: #f1f1f1;
}
.contact-details div {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-details i {
  margin-right: 1rem;
  font-size: 1.2rem;
  color: #c0392b;
}
.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  border-radius: 4px;
  border: none;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  outline: 0;
  transition: 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.2);
}
.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}
.contact-form ::placeholder {
  color: rgba(255, 255, 255, 0.6);
}
.form-group.inline {
  gap: 1rem;
}
footer {
  background-color: #1a252f;
  color: #fff;
  padding: 2rem 0;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.footer-links {
  display: flex;
  gap: 2rem;
}
.copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  opacity: 0.8;
}
@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    gap: 2rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-content h1 {
    font-size: 3rem;
  }
}
@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    padding: 1rem 0;
  }
  .nav-links {
    margin-top: 1rem;
  }
  .nav-links li {
    margin: 0 1rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}
@media (max-width: 576px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }
  .nav-links li {
    margin: 0.5rem;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .form-group.inline {
    grid-template-columns: 1fr;
  }
}
