body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f7fafc;
  color: #2d3748;
  overflow-x: hidden;
}

/* Header Section */
header {
  background: #4caf50;
  color: white;
  padding: 20px;
  text-align: center;
}

header h1 {
  font-size: 2.5em;
}

header span {
  font-size: 1.2em;
}

/* Media Queries for Responsiveness */
@media (max-width: 768px) {
  header h1 {
    font-size: 2em;
  }

  header p {
    font-size: 1em;
  }
}

.logo {
  position: absolute;
  float: left;
  top: 7px;
  left: 5px;
  width: 200px;
}

@media only screen and (max-width: 775px) {
  .logo {
    top: 5px;
  }
}

nav {
  background: #2d3748;
  color: white;
  display: flex;
  align-items: center;
  padding: 10px 0px;
  flex-direction: row-reverse;
  flex-wrap: wrap;
  justify-content: center;
}

/* Mobile-specific styles */
@media (max-width: 700px) {
  .nav-1 {
    justify-content: flex-start;
  }
}

nav a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-weight: bold;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  text-decoration: none;
}

nav a:hover {
  text-decoration: underline;
}

.nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-2 {
  display: flex;
  color: #2d3748;
  background: #54809d;
  flex-direction: row;
  justify-content: flex-start;
}

.nav-2 {
  display: flex;
  color: #2d3748;
  background: #54809d;
  flex-direction: row;
  justify-content: flex-start;
}

.nav-2 .logo {
  top: 70px;
  width: 145px;
  border-right: solid white 3px;
  position: unset;
}

.nav-2 .nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: max-content;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  text-decoration: underline;
}

/* Mobile-specific styles */
@media (max-width: 525px) {

  .nav-2 {
    justify-content: space-between;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 100%;
    background: #2d3748;
    padding: 10px 0;
  }

  .nav-links.show {
    display: flex;
  }
}

.theme-selector {
  margin-left: auto;
}

select {
  padding: 5px;
  border-radius: 5px;
  border: none;
  font-size: 1rem;
}

.contact-us {
  min-height: calc(100vh - 175px);
  /* Distance above*/
}

.about-us {
  min-height: calc(100vh - 275px);
  /* Distance above*/
}

.hero {
  background-image: linear-gradient(to right, rgba(255, 255, 255, 0.8) 0 100%), url(../images/hero-section1.jpg);
  background-size: cover;
  background-color: #f0f0f0;
  color: #000000;
  font-weight: 600;
  background-position: center top;
  background-size: 100% auto;
  text-align: center;
  padding: 80px 20px;
  animation: fadeIn 2s ease-in;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* Mobile-specific styles */
@media (max-width: 1500px) {
  .hero {
    padding: 20px 20px;
  }
}

/* Mobile-specific styles */
@media (max-width: 900px) {
  .hero {
    padding: 10px 10px;
  }

  .hero h1 {
    font-size: 5vw;
  }

  .hero p {
    font-size: 3vw;
    margin-bottom: 20px;
  }

}

/* Mobile-specific styles */
@media (max-width: 450px) {

  .hero p {
    font-size: 4vw;
  }

}

.hero button {
  background: #2d3748;
  ;
  color: white;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.hero button:hover {
  background: #4299e1;
  color: white;
  transform: scale(1.1);
}

.features {
  background: #f7fafc;
  padding: 20px 20px;
  text-align: center;
}

.features h2 {
  font-size: 2rem;
  animation: slideIn 1.5s ease-out;
}

.features .card {
  background: white;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin: 20px;
  text-align: center;
  animation: zoomIn 1s ease;
}

.features .card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 15px;
}

.features .card:hover {
  transform: translateY(-10px);
  transition: transform 0.3s ease;
}

.features .card h3 {
  font-size: 1.5rem;
  margin: 10px 0;
}

.features .card p {
  font-size: 1rem;
  color: #4a5568;
}

.card-flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  gap: 20px;
}

.card-flex img {
  max-width: 50%;
  /* Image takes half width on larger screens */
  height: auto;
  border-radius: 8px;
}

.card-flex .card-content {
  max-width: 50%;
  max-width: 565px;
  text-align: left;
}

.card-flex .card-content h3 {
  padding-left: 20px;
}

/* Mobile-specific styles */
@media (max-width: 1360px) {
  .card-flex {
    display: grid;
    flex-direction: column;
    /* Stack items vertically */
    text-align: center;
    /* Center-align text on mobile */
  }

  .features {
    padding-left: 10px;
    padding-right: 10px;
  }

  .features .card {
    margin: 20px 0px;
  }

  .card-flex img {
    max-width: 100%;
    /* Image takes full width on mobile */
  }

  .card-flex .card-content {
    max-width: 100%;
  }

  .card-flex .card-content h3 {
    padding-left: 0;
  }

  .card-flex .card-content ul {
    list-style-position: inside;
    padding-left: 0;
  }
}

/* Mobile-specific styles */
@media (max-width: 768px) {
  .card-flex {
    flex-direction: column;
    /* Stack items vertically */
    text-align: center;
    /* Center-align text on mobile */
  }

  .card-flex img {
    max-width: 100%;
    /* Image takes full width on mobile */
  }

  .card-flex .card-content {
    max-width: 100%;
  }
}

.about-us {
  padding: 60px 20px;
  text-align: center;
}

.about-us h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  animation: fadeIn 2s ease-in;
}

.about-us p {
  margin-bottom: 30px;
}

.about-us form {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.about-us input {
  padding: 10px;
  border-radius: 5px;
  border: none;
  width: 300px;
}

.about-us button {
  background: #38b2ac;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.about-us button:hover {
  background: white;
  color: #38b2ac;
  transform: scale(1.1);
}

footer {
  background: #2d3748;
  color: white;
  text-align: center;
  padding: 20px;
}

.dark-theme {
  background: #1a202c;
  color: white;
}

.dark-theme nav {
  background: #1a202c;
}

.dark-theme .hero {
  background: linear-gradient(to right, #2c5282, #2d3748);
}

.dark-theme .features {
  background: #2d3748;
}

.dark-theme .about-us {
  background: #1a202c;
}

.dark-theme footer {
  background: #1a202c;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }

  to {
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  /* Primary font for body */
  margin: 0;
  color: #2d3748;
  background: #f7fafc;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: 'Poppins', sans-serif;
  /* Font for headings */
  font-weight: 600;
  /* Bold headings */
}

p,
li {
  font-family: 'Roboto', sans-serif;
  /* Clean font for paragraph text */
  line-height: 1.6;
  /* Better readability */
}

button,
input,
select {
  font-family: 'Roboto', sans-serif;
}

#contact {
  text-align: center;
}

/* Contact Form */
.contact-form-wrapper {
  background-color: #4caf50;
  color: white;
  padding: 30px;
  border-radius: 8px;
  max-width: 500px;
  margin: 20px auto;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
  border: none;
}

.contact-form-wrapper button {
  background-color: #333;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2em;
  width: 100%;
  cursor: pointer;
}

.contact-form-wrapper button:hover {
  background-color: #4caf50;
}