:root {
  --primary: #1e8489;
  --secondary: #f9f9f9;
  --text: #0f1d2e;
  --icon-bg: #1e8489;
}

body {
  margin: 40px;
  font-family: 'Inter', sans-serif;
  background: white;
  color: var(--text);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  border: 20px solid var(--primary);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}

header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background-color: white;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.logo-container {
  display: flex;
  align-items: center;
}
.logo-container img {
  height: 50px;
  margin-right: 15px;
  border-radius: 4px;
}
.logo {
  font-weight: 700;
  font-size: 1.4em;
  color: var(--primary);
  display: flex;
  flex-direction: column;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}
.cta {
  background-color: var(--primary);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
}

.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 60px 20px;
  background-color: var(--secondary);
}
.hero-text {
  flex: 1 1 300px;
  max-width: 500px;
}
.hero h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
}
.hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
}
.hero img {
  flex: 1 1 300px;
  max-width: 100%;
  border-radius: 8px;
}

.section {
  padding: 60px 20px;
}
.section h2 {
  font-size: 2em;
  margin-bottom: 40px;
  text-align: center;
}

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.service {
  background: white;
  padding: 0;
  border-radius: 12px;
  text-align: center;
  color: var(--text);
  border: 1px solid #ddd;
  overflow: hidden;
}
.service-icon {
  background-color: var(--icon-bg);
  padding: 30px 0;
}
.service-icon img {
  filter: brightness(0) invert(1);
  height: 50px;
}
.service-content {
  padding: 20px;
  background: white;
}
.service-content h3 {
  margin-bottom: 10px;
  font-weight: 700;
}

.contact-bar {
  background-color: var(--primary);
  color: white;
  text-align: center;
  padding: 20px 10px;
}

footer {
  background-color: #f1f1f1;
  color: var(--text);
  text-align: center;
  padding: 15px 10px;
  font-size: 0.9em;
  margin-top: auto;
}

/* Media Queries */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero img {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  nav {
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2em;
  }
  .hero p {
    font-size: 1em;
  }
}
