/* General Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background-color: #f9f9f9;
  color: #333;
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* Ensures the body takes up at least the full viewport height */
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

header {
  background: #004d99;
  color: #fff;
  padding: 1rem 0;
  text-align: center;
}

header h1 {
  font-size: 2rem;
}

#lang-toggle {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin-top: 1rem;
}

/* Sticky Footer */
main {
  flex: 1; /* Pushes the footer to the bottom */
  display: flex;
  flex-direction: column;
}

footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 1rem 0;
}

/* Hero Section */
.hero {
  background: #0073e6;
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #ff6600;
  color: #fff;
  padding: 0.8rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  display: inline-block;
}

.btn:hover {
  background: #e65c00;
}

/* Features Section */
.features {
  padding: 4rem 0;
  background: #fff;
}

.features h3 {
  text-align: center;
  margin-bottom: 2rem;
}

.feature-list {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

.feature-item {
  background: #f4f4f4;
  padding: 1.5rem;
  border-radius: 5px;
  flex: 1 1 calc(33.333% - 2rem); /* Responsive grid layout */
  text-align: center;
}

.feature-item h4 {
  margin-bottom: 1rem;
}

/* Contact Section */
.contact {
  padding: 4rem 0;
  background: #004d99;
  color: #fff;
  text-align: center;
  margin: 0; /* Explicitly remove any margin */
  flex: 1; /* Ensure it stretches to fill available space */
}

.contact form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.contact input,
.contact textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  .hero h2 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .feature-item {
    flex: 1 1 100%; /* Stack items vertically on small screens */
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}