/* General styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  color: #333;
}

a {
  color: #005f99;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: #1e3d58;
  color: #ffffff;
  padding: 20px 0;
}

header h1 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
}

nav ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

nav ul li {
  margin-right: 20px;
}

nav ul li a {
  color: #ffffff;
  font-weight: 500;
}

.lang-select {
  margin-left: auto;
  font-size: 14px;
}

.lang-select a {
  color: #ffd700;
  margin-left: 5px;
}

/* Hero section */
.hero {
  background-image: url('../images/books.jpg');
  background-size: cover;
  background-position: center;
  color: #ffffff;
  text-align: center;
  padding: 120px 20px;
  position: relative;
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

.hero h2,
.hero p {
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 48px;
  margin: 0 0 15px;
  font-weight: 700;
}

.hero p {
  font-size: 22px;
  line-height: 1.4;
  max-width: 800px;
  margin: 0 auto;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #1e3d58;
  text-align: center;
}

.section p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 20px;
  text-align: justify;
}

/* Services grid */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.service {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  max-width: 360px;
  text-align: left;
}

.service img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 20px;
}

.service-content h3 {
  margin: 0 0 10px;
  font-size: 24px;
  color: #1e3d58;
}

.service-content p {
  font-size: 16px;
  line-height: 1.5;
}

/* Contact page */
.contact-info {
  max-width: 600px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.6;
}

/* Footer */
footer {
  background-color: #1e3d58;
  color: #ffffff;
  padding: 20px 0;
  position: relative;
}

footer p {
  margin: 0;
  font-size: 14px;
}

footer .qr {
  width: 80px;
  position: absolute;
  right: 20px;
  bottom: 20px;
}