:root {
  --cream: #e7eaed;
  --navy: #112c49;
  --yellow: #fed071;
  --yellow-light: #f6ca5b;
  --green-light: #2d7a58;
  --green: #1f553e;
  --rose: #d85a66;
}

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

body, button, input, textarea, select {
  -webkit-font-smoothing: antialiased;
}

.scroll-hidden {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

body {
  font-family: 'Poppins', sans-serif;
  background: white;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.5;
}

p {
  font-size: 20px;
  margin-bottom: 1rem;
}

ul {
  font-size: 20px;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.logo-image {
  height: 150px;
  width: auto;
}

.link {
  color: var(--navy);
  transition: color 0.2s ease;
  overflow-wrap: break-word;
  word-break: break-word;
}

.link:hover {
  color: var(--green);
}

a {
  color: inherit;
  text-decoration: underline;
}

h1 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2.5rem, 6.4vw, 56px);
  line-height: 1.2;
  color: var(--green);
  font-weight: 600;
  margin-bottom: 2rem;
}

h2 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(2rem, 3.5vw, 40px);
  line-height: 1;
  color: var(--green);
  font-weight: 700;
  margin-bottom: 1rem;
}

h3 {
  font-family: 'Nunito', sans-serif;
  font-size: clamp(1.25em, 2.5vw, 28px);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
}

header {
  font-family: 'Poppins', sans-serif;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 6rem;
  background: white;
  gap: 2.5rem;
}

nav {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
}


.hamburger {
  display: none;
  flex-direction: column;
  gap: 0.3125rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 0.125rem;
  background: var(--navy);
  transition: all 0.3s ease;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.btn {
  background: var(--green);
  color: white;
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  display: inline-block;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}

.btn-white {
  background: var(--cream);
  color: var(--green);
  padding: 0.75rem 1.75rem;
  border-radius: 0.5rem;
  display: inline-block;
  font-weight: 600;
  font-size: 20px;
  text-decoration: none;
}


.btn.header-app-btn {
  display: none;
}

.hero-image {
  display: grid;
  grid-template-columns: 0.4fr 0.6fr;
}

.hero-text-col {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 1.5rem;
  padding-left: 6rem;
  padding-right: 3rem;
}

.hero-text-col h1 {
  color: white;
  text-align: left;
}

.hero-text-col .btn {
  width: 100%;
  text-align: left;
}

.hero-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.hero-image img {
  height: 800px;
  object-position: top;
}

section {
  padding: 3rem 6rem;
}

.about {
  padding-top: 5rem;
}

.section-title {
  font-weight: 900;
}


.card {
  background: var(--cream);
  padding: 2.5rem;
  min-height: 7.5rem;
  border-radius: 0.5rem;
}

.programs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 2rem;
  padding-bottom: 0;
}

.programs h3 {
  grid-column: 1 / -1;
}

.programs-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
}

.programs-box {
  background: var(--green-light);
  padding: 2.5rem;
  min-height: 22rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0.5rem;
  flex: 1;
}

.programs-box h2,
.programs-box p {
  color: white;
}

.programs-box h2 {
  max-width: 26rem;
}

.programs-img img {
  height: 22rem;
  border-radius: 0.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.about-item {
  border-top: 1px solid var(--rose);
  padding-top: 1.5rem;
  gap: 1rem;
}

.about-title {
  border-top: none;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}


.app-cta-phone {
  width: auto;
  height: 350px;
}

.contact {
  padding-top: 2rem;
  padding-bottom: 6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.contact-photo,
.contact-call,
.contact-email {
  grid-column: span 2;
}

.contact-location,
.contact-form {
  grid-column: span 3;
}

.contact-info {
  background: var(--yellow-light);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  min-width: 0;
}

.contact-photo {
  padding: 0;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  align-self: start;
}

.contact-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.contact-info-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex-shrink: 0;
}

.contact-info-details {
  display: flex;
  flex-direction: column;
}

.contact-info-details p {
  margin-bottom: 0;
}

.contact-info-details a {
  text-decoration: none;
}

.contact-icon {
  color: var(--green);
  margin-bottom: 1rem;
}

  .contact-form {
  background: white;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form h2 {
  margin-bottom: 0;
}

.contact-form input,
.contact-form textarea {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 0.5rem;
  background: var(--cream);
  color: var(--navy);
  resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--navy);
  opacity: 0.6;
}

.contact-form .btn {
  align-self: flex-start;
  border: none;
  cursor: pointer;
}

footer {
  background: var(--green-light);
  display: grid;
  grid-template-columns: 0.5fr 0.5fr;
  line-height: 1;
}

.footer-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  padding: 4rem 6rem;
}

.footer-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.footer-bottom {
  background: var(--navy);
  padding: 2rem 6rem 0 6rem;
  display: grid;
  grid-template-columns: 0.9fr 0.1fr;
  gap: 2rem;
  align-items: center;
}

.footer-bottom-social {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: flex-end;
  align-self: start;
}

.footer-bottom-social img {
  width: 30px;
  height: 30px;
  object-fit: contain;
  display: block;
}

.footer-app h1 {
  color: white;
  margin-top: -4rem;
  margin-bottom: 0;
}

.footer-app p {
  font-size: 18px;
  max-width: 40rem;
}

footer p,
.footer-bottom p {
  color: white;
  font-size: 16px;
}

footer a,
footer .link,
.footer-bottom a,
.footer-bottom .link {
  color: white;
  font-size: 16px;
  transition: color 0.2s ease;
}

footer a:hover,
footer .link:hover,
.footer-bottom a:hover,
.footer-bottom .link:hover {
  color: var(--yellow);
  font-size: inherit;
}

/* ---------- iPad / tablet ---------- */
@media (max-width: 1024px) {
  header,
  section,
  footer,
  .footer-bottom {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hero-text-col {
    padding-left: 3rem;
    padding-right: 2rem;
  }

  .about-grid {
    gap: 3rem;
  }

  .programs {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-app {
    padding: 3rem;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-bottom: 1.5rem;
  }

  .footer-bottom-social {
    justify-content: flex-start;
  }

  .btn.header-app-btn {
    display: inline-block;
  }

  nav .btn {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  header {
    position: relative;
  }

  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--cream);
    padding: 1.5rem 5%;
    gap: 1.5rem;
    border-top: 0.0625rem solid #ddd;
    z-index: 100;
  }

  nav.open {
    display: flex;
  }
}

/* ---------- Phone ---------- */
@media (max-width: 600px) {
  header,
  section,
  footer,
  .footer-bottom {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .logo-image {
    height: 4rem;
  }

  .hero-image {
    grid-template-columns: 1fr;
  }

  .hero-text-col {
    padding: 2rem 1.25rem;
  }

  .hero-image img {
    height: 400px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .programs {
    grid-template-columns: 1fr;
  }

  .programs-box {
    min-height: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-photo,
  .contact-call,
  .contact-email,
  .contact-location,
  .contact-form {
    grid-column: 1 / -1;
  }

  .contact-form {
    width: 100%;
  }

  footer {
    grid-template-columns: 1fr;
  }

  .footer-app {
    padding: 2rem 1.25rem;
  }

  .footer-app h1 {
    margin-top: 0;
  }

  .footer-bottom {
    grid-template-columns: 1fr;
    padding: 1.5rem 1.25rem;
  }

  p,
  ul {
    font-size: 16px;
  }
}


