/* Base styles */
body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f9f9f9;
  color: #333;
}

.language-selector {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.language-selector label {
  font-weight: 500;
  color: #555;
}

.language-selector select {
  padding: 6px 10px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #f8f8f8;
  cursor: pointer;
}

header.hero-section {
  background: linear-gradient(to right, #ffffff, #000000);
  color: white;
  padding: 60px 20px;
  text-align: center;
  position: relative;
}

.logo {
  position: absolute;
  top: 20px;
  left: 20px;
  height: 50px;
}

.hero-content h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: bold;
}

.hero-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background 0.3s ease;
}

.btn-primary {
  background-color: #22c55e;
  color: white;
}

.btn-primary:hover {
  background-color: #16a34a;
}

.btn-secondary {
  background-color: rgba(255, 255, 255, 0.3);
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.about {
  padding: 40px 20px;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about {
  padding: 4rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #222;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

.about-content .text {
  max-width: 600px;
  text-align: left;
}

.about-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #444;
}

.about-content p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.about-content .highlight {
  font-weight: 500;
  color: #222;
}

.about-content .btn-primary {
  display: inline-block;
  margin-top: 1rem;
  background-color: #003366;
  color: white;
  padding: 0.75rem 1.25rem;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.about-content .btn-primary:hover {
  background-color: #0052a5;
}

.about-content .image img {
  border-radius: 8px;
  max-width: 100%;
  height: auto;
}

/* Responsive layout */
@media (min-width: 768px) {
  .about-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
  }

  .about-content .text {
    flex: 1;
    padding-right: 2rem;
  }

  .about-content .image {
    flex: 1;
  }
}

.services {
  padding: 4rem 1rem;
  background-color: #f9f9f9;
  text-align: center;
}

.services h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.services .subheading {
  font-size: 1rem;
  color: #666;
  margin-bottom: 2rem;
}

.service-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0;
}

.service-cards .card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 2rem;
  flex: 1 1 calc(100% - 2rem);
  max-width: 320px;
  text-align: center;
  transition: box-shadow 0.3s ease;
}

.service-cards .card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive layout for cards */
@media (min-width: 500px) {
  .service-cards .card {
    flex: 1 1 calc(50% - 2rem); /* 2 cards per row on small screens */
  }
}

@media (min-width: 768px) {
  .service-cards .card {
    flex: 1 1 calc(33.333% - 2rem); /* 3 cards per row on tablets/desktops */
  }
}

.service-cards .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.service-cards h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.service-cards p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.4;
}

.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: #e0e0e0;
  color: #333;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  transition: background 0.3s ease;
}

.btn-secondary:hover {
  background-color: #ccc;
}

/* Responsive layout */
@media (min-width: 768px) {
  .service-cards {
    flex-direction: row;
    justify-content: center;
  }
}

.lang-wrapper {
  position: absolute;
  top: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-wrapper label {
  font-size: 0.85rem;
  color: #eee; /* or #333 if on light background */
  font-weight: 500;
}

.lang-wrapper select {
  padding: 6px 10px;
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  background-color: #fff;
  color: #333;
  cursor: pointer;
}

.hidden {
  display: none !important;
}
