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

body {
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(#fffbfa, #e6b6a0);
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #f77c1f;
  padding: 10px 40px;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 250px;
  margin-right: 10px;
}

nav a {
  margin-left: 30px;
  text-decoration: none;
  color: black;
  font-size: 16px;
  font-weight: 500;
  border: 2px solid transparent;
  border-radius: 20px;
  transition: background-color 0.3s;
}

nav a:hover {
  background-color: #ffffff;
}
.main-wrapper {
  display: flex;
  gap: 50px;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  flex-direction: row;
}

.about-container {
  max-width: 800px;
  margin-left: 30px;
  margin-top: 50px;
  margin-bottom: 50px;
  background: white;
  border-radius: 15px;
  padding: 70px;
  box-shadow: 0 0 20px rgba(0,0,0,0.1);
}

.main-wrapper .image {
  margin-right: 40px;
  margin-top: 50px;
  max-width: 400px;
  align-self: flex-start;

}

.image2 {
  margin-right: 40px;
  margin-top: 40px;
  max-width: 500px;
  align-self: center;
  padding: 20px;
  border: #ffffff 2px solid;
  border-radius: 20px;
  background-color: white;
}

.image img {
  width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

.about-container h1 {
  font-size: 50px;
  color: #dc7311;
  margin-bottom: 10px;
}

.about-container tagline {
  font-size: 35px;
  margin-bottom: 30px;
  color: #555;
}

.about-container section {
  margin-bottom: 30px;
}

.about-container h2 {
  font-size: 30px;
  color: #444;
  margin-bottom: 10px;
}

.about-container p,.about-container li {
  font-size: 25px;
  line-height: 1.7;
  color: #555;
}

.about-container ul {
  padding-left: 20px;
}

.about-container a {
  color: #a363aa;
  text-decoration: none;
  font-weight: 500;
}

.about-container a:hover {
  text-decoration: underline;
}

.about-container footer {
  margin-top: 40px;
  font-style: italic;
  text-align: center;
  color: #222;
}

/* Footer */
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 30px;
  background-color: #fefefe;
  box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.05);
  font-size: 14px;
  position: relative;
}

.footer-left {
  color: #333;
}

.footer-right a {
  margin-left: 20px;
  text-decoration: none;
  color: #2c3e50;
  transition: color 0.3s;
  font-weight: 500;
}

.footer-right a:hover {
  color: #00bfa5;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #25D366;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.whatsapp-float img {
  width: 24px;
  height: 24px;
}

.btn {
  display: inline-block;
  background-color: #ef2d1f;
  color: black;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 30px;
  font-weight: bold;
  font-size: 16px;
  transition: background-color 0.3s;
}

.btn:hover {
  background-color: #f7f7f7;
}

.btn:active {
  background-color: #7cd95f;
}

.nested {
  display: flex;
  flex-direction: column;
  align-items: flex-start; /* fixed typo */
  gap: 20px;
  margin-top: 150px;
  width: 100%;
  max-width: 400px; /* Matches image max-width */
}

.counseling-text {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
  text-align: left;
}


/* Tablets and below */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    height: auto;
    text-align: center;
  }

  .logo img {
    height: 120px;
    margin-bottom: 10px;
  }

  nav a {
    margin: 8px 0;
    display: block;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .footer-right a {
    margin: 8px 0;
    display: block;
  }

  .main-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px;
  }

  .image, .image2, .nested, .about-container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 20px !important;
  }

  .about-container {
    padding: 30px !important;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}

/* Phones and small screens */
@media (max-width: 480px) {
  .about-container h1 {
    font-size: 30px;
  }

  .about-container h2 {
    font-size: 20px;
  }

  .about-container p, .about-container li {
    font-size: 16px;
  }

  .btn {
    padding: 10px;
    font-size: 14px;
  }

  .logo img {
    height: 100px;
  }

  .whatsapp-float {
    width: 40px;
    height: 40px;
  }

  .whatsapp-float img {
    width: 20px;
    height: 20px;
  }
}

