/* Box sizing and resets */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Base typography */
body {
  font-family: 'Host Grotesk', sans-serif;
  line-height: 1.7;
  font-size: 19px;
  color: #2c2c2c;
  background: #f4f6f8;
}

/* Text helpers */
.text-base {
  font-size: 19px;
}

/* Buttons */
.btn {
  font-size: 17.6px;
  font-weight: 500;
}

/* Banner */
.banner {
  width: 100%;
  height: 304px;
  background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/images/banner.webp') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.banner h1 {
  font-size: 3.6rem;
  color: white;
  margin-bottom: 10px;
}

.banner h2 {
  font-size: 2.4rem;
  color: white;
}

/* Navigation */
.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  padding: 25px 15px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.nav a {
  text-decoration: none;
  padding: 9.6px 17.6px;
  border-radius: 30px;
  background: #eef1f4;
  color: #333;
  font-weight: 500;
  transition: all 0.25s ease;
}

.nav a:hover {
  background: #4CAF50;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* Main content */
.content {
  max-width: 1100px;
  margin: 60px auto;
  padding: 40px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
}

/* About sections */
.about {
  display: flex;
  gap: 35px;
  flex-wrap: wrap;
  align-items: flex-start; /* Fix for stretching issue */
}

/* When about has only text */
.about-text-only {
  flex-direction: column;
}

/* About image */
.about img {
  width: 320px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* About text */
.about-text {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.about-text p {
  margin-bottom: 18px;
}

/* Extra section */
.extra {
  margin-top: 30px;
}

.extra p {
  margin-bottom: 16px;
}

/* Footer */
.footer {
  text-align: center;
  padding: 18px;
  font-size: 16px;
  color: #777;
  background: #e9ecef;
  margin-top: 40px;
}

/* Links */
a {
  color: #4CAF50;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Headings spacing */
h1, h2, h3, h4 {
  margin-top: 25px;
  margin-bottom: 15px;
}

/* Content headings */
.content h1, .content h2, .content h3, .content h4 {
  margin-top: 30px;
  margin-bottom: 20px;
}

/* Lists */
ul, ol {
  margin-left: 20px;
  padding-left: 10px;
  margin-bottom: 18px;
}

.content ul, .content ol {
  margin-left: 30px;
  padding-left: 15px;
}

/* Responsive */
@media (max-width: 768px) {
  .banner {
    height: 243px;
  }

  .banner h1 {
    font-size: 1.92rem;
  }

  .banner h2 {
    font-size: 1.44rem;
  }

  .content {
    padding: 25px;
  }

  .about {
    flex-direction: column;
    align-items: center;
  }

  .about img {
    width: 100%;
    max-width: 420px;
  }
}