/* Global Styles */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #127780;
  color: white;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
}

h1, h2, h3 {
  margin: 0.5em 0;
}

a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}

button {
  background: #44f1b6;
  color: black;
  border: none;
  padding: 0.8em 1.2em;
  font-size: 1rem;
  border-radius: 5px;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s;
  font-family: 'Poppins', sans-serif;

}
button:hover {
  background: #0fc083;
  color: white;
}

/* Header */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em 1.5em;
  background: #127780;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-actions {
  display: flex;
  align-items: center;
}

.logo-small {
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.logo-small img {
  height: 60px;
}

.logo-small p {
    color: #44f1b6;
    font-size: 1.3rem;
}

.logo-full {
  align-items: center;
  gap: 0.5em;
}

.logo-full img {
  width: 100%;
  max-width: 625px;
  max-height: 180px;
  height: auto;
}

.nav {
  display: flex;
  float: right;
  padding-right: 4em;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
  margin: 0;
  padding: 0;
  float: right;
}
.nav a:hover {
  color: #44f1b6;
}

#theme-toggle {
  font-size: 1.2rem;
  padding: 0.4em 0.6em;
}
.menu-toggle {
  font-size: 1.5rem;
  background: none;
  color: white;
  display: none;
}

/* Hero */
.hero {
  text-align: center;
  padding: 2em 0em 2em 0em;
  background: #127780;
}
.hero h2 {
  font-size: 1.7rem;
  padding: 0em;
}
.hero p {
  max-width: 600px;
  margin: 1em auto;
  font-size: 1.2rem;
}

/* About */
.about {
  text-align: center;
  padding: 6em 2em;
  background: linear-gradient(135deg, #127780,#18a1ad, #0fc083);
}
.about h2 {
  font-size: 1.7rem;
}
.about p {
  max-width: 700px;
  margin: 1em auto;
  font-size: 1.2rem;
}

/* Section */
.section {
  padding: 2em 2em;
  text-align: center;
  background: #127780;
}
.section:nth-of-type(even) {
  background: #0c4d53;
}

/* Features */

/* Base grid for desktop */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin-top: 2em;
}


/* Mobile (small screens) */
@media (max-width: 600px) {
  .features-grid {
    grid-template-columns: 1fr; /* single column */
    gap: 1rem;
  }
}

.feature-card {
  background: #18a1ad;
  padding: 2em;
  border-radius: 8px;
  color: black;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}
.feature-card:hover {
  transform: scale(1.05);
  background: #44f1b6;
}

/* Contact Form */
form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 1em;
}
form input, form textarea {
  padding: 0.8em;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
}
form button {
  align-self: flex-start;
}

/* Footer */
footer {
  background: #0c4d53;
  text-align: center;
  padding: 1.5em;
  font-size: 0.9rem;
}

/* Dark Mode */
body.dark {
  background: black;
  color: white;
}
body.dark .about {
  background: #111;
}
body.dark .logo h1 {
  color: #0fc083;
}
body.dark .nav a {
  color: white;
}
body.dark .nav a:hover {
  color: #44f1b6;
}
body.dark .section:nth-of-type(even) {
  background: #111;
}
body.dark .feature-card {
  background: #333;
  color: white;
}
body.dark footer {
  background: #111;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #0c4d53;
    flex-direction: column;
    width: 200px;
    padding: 1em;
  }
  .nav.show {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}
