* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Montserrat', sans-serif;
  line-height: 1.6;
  background-color: #ffffff;
}

header {
  padding: 20px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #E17163;
} /* Will replace with image */

.hero {
  min-height: 80vh; /* Reduced height for mobile */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  color: #2D3142;
  font-size: 32px; /* Smaller base size for mobile */
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h2 {
  color: #277A7D;
  font-size: 16px; /* Adjusted for mobile */
  font-weight: 400;
  margin-bottom: 20px;
}

.highlight {
  color: #E17163;
}

.hero p {
  max-width: 45ch;
  margin: 0 auto 30px auto;
  color: #4a5568;
  font-size: 16px;
  line-height: 1.6;
}

.hero .subscribe-form {
  width: 425px;
  max-width: 100%;
}

.subscribe-form {
  display: flex;
  justify-content: center;
}

.trust-text {
  margin: 0 auto;
  color: #B1B1B1;
  text-align: center;
  font-family: Montserrat;
  font-size: 12px;
  font-style: normal;
  font-weight: 100;
  line-height: normal;
  margin-bottom: 20px;
  margin-top: 10px;
}

.subscribe-container {
  display: flex;
  flex-direction: column; /* Stack vertically */
  gap: 0.5rem;;
  padding: 1rem;
  max-width: 480px;
  width: 100%;
}

.subscribe-container input[type="email"],
.subscribe-container input[type="text"] {
  border: none;
  background: #edf1f0;
  padding: 12px;
  font-size: 14px;
  outline: none;
  border-radius: 9999px;
  margin-bottom: 0;
  width: 100%;
  box-sizing: border-box;
}

.subscribe-container button {
  background-color: #E17163;
  border: none;
  color: white;
  padding: 12px;
  font-size: 16px;
  border-radius: 9999px;
  cursor: pointer;
  width: 100%; /* Full width */
  transition: all 0.2s ease;
  animation: pulse 10s infinite;
  animation-delay: 2s;
  --pulse-color: #E1716360;
  margin-top: 0.25rem;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 var(--pulse-color); }
  20% { box-shadow: 0 0 0 10px #E1716300; }
  100% { box-shadow: 0 0 0 0 #E1716300; }
}

.subscribe-container button:hover {
  background-color: #277A7D;
  transform: scale(1.05);
  --pulse-color: #277A7D80;
}

.features {
  background-color: #ebf5f6;
  padding: 40px 10px; /* Reduced padding */
  text-align: center;
}

.features h2 {
  color: #2D3142;
  font-size: 24px; /* Smaller for mobile */
  margin-bottom: 30px;
  font-weight: 700;
}

.feature-grid {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.feature {
  background-color: transparent;
  color: #277A7D;
  padding: 15px;
  border-radius: 30px;
  width: 100%; /* Full width on mobile */
  max-width: 280px; /* Limit width on larger screens */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.feature:hover {
  transform: scale(1.05);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0px 4px 8px #00000040;
}

.circle {
  width: 60px; /* Smaller circle for mobile */
  height: 60px;
  background-color: #F7D4A7;
  box-shadow: 0px 4px 8px #00000040;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 15px;
}

.circle-text {
  font-size: 30px; /* Smaller emoji/text */
}

.feature h3 {
  font-size: 14px; /* Smaller for mobile */
  font-weight: 600;
}

.feature p {
  font-size: 14px; /* Smaller for mobile */
  font-weight: 400;
}

.mission {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.mission-card {
  background-color: #F7D4A7;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  max-width: 650px;
}

.mission h1 {
  color: #2D3142;
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 700;
}

.mission p {
  font-size: 17px;
  line-height: 1.6;
  color: #4a5568;
  margin: 0;
}

.about {
  background-color: #ebf5f6;
  padding: 60px 20px;
}

.about-container {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 50px;
  align-items: center;
}

.about-content {
  text-align: left;
}

.about h1 {
  color: #2D3142;
  font-size: 28px;
  margin-bottom: 24px;
  font-weight: 700;
}

.about p {
  font-size: 16px;
  line-height: 1.6;
  color: #4a5568;
  margin-bottom: 20px;
}

.about p:last-of-type {
  margin-bottom: 0;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-decoration {
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #277A7D 0%, #E17163 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(39, 122, 125, 0.2);
}

.about-decoration::before {
  content: '👋';
  font-size: 60px;
}

.about .trust-text p {
  all: unset;
}


.padding {
  padding-bottom: 80px;
}

.site-footer {
  text-align: center;
  font-size: 12px; /* Smaller for mobile */
  color: #777;
  padding: 30px 10px 15px;
  opacity: 0.8;
}

.gray-link {
  color: gray;
  text-decoration: none;
}

.gray-link:hover {
  text-decoration: underline;
}

/* Mobile-Specific Media Query */
@media (max-width: 768px) {
  .hero {
    min-height: 60vh; /* Reduced height for mobile */
  }
  .hero h1 {
    font-size: 28px; /* Further reduced for small screens */
  }

  .hero h2 {
    font-size: 14px;
  }

  .hero p {
    max-width: 90%;
    font-size: 15px;
  }

  .subscribe-container {
    padding: 0.5rem;
    gap: 0.25rem;
    max-width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  
  .subscribe-container input[type="email"],
  .subscribe-container input[type="text"] {
    padding: 10px 16px;
    font-size: 14px;
    border-radius: 9999px;
    margin-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  .subscribe-container button {
    width: 100%;
    border-radius: 9999px;
    margin-top: 0.25rem;
    font-size: 15px;
    padding: 10px 0;
    min-width: unset;
  }

  .feature-grid {
    flex-direction: column; /* Stack features vertically */
    align-items: center;
  }

  .feature {
    width: 90%; /* Slightly less than full width for padding */
  }

  .mission {
    padding: 50px 15px;
  }

  .mission-card {
    padding: 30px 20px;
    max-width: 95%;
  }

  .mission h1 {
    font-size: 24px;
  }

  .mission p {
    font-size: 16px;
  }

  .about {
    padding: 50px 15px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .about-content {
    text-align: center;
  }

  .about h1 {
    font-size: 24px;
  }

  .about p {
    font-size: 16px;
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .about-decoration {
    width: 160px;
    height: 160px;
  }

  .about-decoration::before {
    font-size: 50px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 22px;
  }

  .hero h2 {
    font-size: 11px;
  }

  .hero p {
    max-width: 95%;
    font-size: 14px;
  }

  .subscribe-container {
    padding: 0.3rem;
    gap: 0.2rem;
    max-width: 100vw;
  }
  
  .subscribe-container {
    padding: 0.3rem 1rem;
    gap: 0.2rem;
    max-width: calc(100vw - 2rem);
  }

  .subscribe-container input[type="email"],
  .subscribe-container input[type="text"] {
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 9999px;
    margin-bottom: 0.4rem;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .subscribe-container button {
    font-size: 13px;
    padding: 8px 0;
    border-radius: 9999px;
    width: 100%;
    min-width: 0;
    margin-top: 0.2rem;
    box-sizing: border-box;
  }

  .mission {
    padding: 40px 10px;
  }

  .mission-card {
    padding: 25px 15px;
  }

  .mission h1 {
    font-size: 22px;
  }

  .mission p {
    font-size: 15px;
  }

  .about {
    padding: 40px 10px;
  }

  .about h1 {
    font-size: 22px;
  }

  .about p {
    font-size: 15px;
  }

  .about-decoration {
    width: 140px;
    height: 140px;
  }

  .about-decoration::before {
    font-size: 45px;
  }

  .features h2, .mission h1, .about h1 {
    font-size: 18px;
  }
}