body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: #333;
  background: #fff;
  line-height: 1.6;
}
h1, h2, h3 {
  color: #003049;
}

.hero {
  position: relative;
  height: 70vh;
  background: url('../images/heartly-bg.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 0;
}
.content {
  position: relative;
  z-index: 1;
  padding: 0 20px;
  max-width: 600px;
}
.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}
.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background-color: #0098a1;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.section {
  padding: 60px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}
.features-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 2rem;
}
.feature {
  max-width: 200px;
  text-align: center;
}
.feature img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  margin-bottom: 1rem;
}

textarea {
  width: 60%;
  max-width: 400px;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin-top: 10px;
  resize: vertical;
}
button {
  padding: 0.6rem 1rem;
  margin-top: 10px;
  background-color: #003049;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
footer {
  text-align: center;
  padding: 30px;
  font-size: 0.9rem;
  color: #666;
  background: #f2f2f2;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
  align-items: center;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  max-width: 500px;
  padding: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}

.contact-form textarea {
  resize: vertical;
}

/* Collage styling */
.collage {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 1rem;
    justify-content: center;
    align-items: center;
    padding-top: 1rem;
}
.collage img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}
.collage img:hover {
    transform: scale(1.04);
}
/* Team section */
.team-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding-top: 1rem;
}
.team-member {
  text-align: center;
  max-width: 200px;
}
.team-member img {
  width: 100%;
  max-width: 200px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  display: block;
  margin: 0 auto 0.5rem;
  object-fit: cover;
}
.team-member h3 {
  margin: 0.5rem 0 0.25rem;
  font-size: 1rem;
  line-height: 1.2;
  word-break: break-word;
}

.team-member p {
  font-size: 0.9rem;
  margin: 0;
}

/* Force vertical stacking on iPhones specifically using WebKit hack */
@media screen and (max-width: 768px) {
  .team-container {
    display: block;
    text-align: center;
  }
  .team-member {
    margin: 0 auto 1.5rem;
    max-width: 90%;
  }
