/* public/css/styles.css */
body {
  font-family: Arial, sans-serif;
}

/* public/css/styles.css */

/* Add Poppins font if needed */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

:root {
  --site-content-width: 1200px;
  --site-gutter: 16px;
}

@media (min-width: 640px) {
  :root {
    --site-gutter: 24px;
  }
}

@media (min-width: 1024px) {
  :root {
    --site-gutter: 32px;
  }

  /* Keep the decorative plane inside the same max-width grid as the hero. */
  .home-hero .hero-left-plane {
    left: max(
      var(--site-gutter),
      calc((100vw - var(--site-content-width)) / 2)
    );
  }
}

/* Contact page */
.contact-page {
  color: #17211f;
  background:
    radial-gradient(
      circle at 8% 20%,
      rgba(205, 153, 50, 0.12),
      transparent 30%
    ),
    radial-gradient(circle at 92% 75%, rgba(6, 89, 71, 0.1), transparent 28%),
    #f7faf8;
}

.contact-page .contact-main {
  position: relative;
  align-items: stretch;
  gap: clamp(40px, 6vw, 88px);
  padding-top: 176px;
  padding-bottom: 96px;
}

.contact-page .contact-intro {
  position: relative;
  padding: clamp(16px, 2vw, 28px) 0;
}

.contact-page .contact-eyebrow,
.contact-page .contact-form-heading > span {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  color: #9a6e10;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-page .contact-eyebrow::before {
  width: 28px;
  height: 2px;
  content: "";
  background: #cd9932;
}

.contact-page .contact-intro h1 {
  max-width: 520px;
  margin: 14px 0 16px;
  color: #102d27;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.contact-page .contact-intro > p {
  max-width: 570px;
  margin: 0 0 32px;
  color: #65706d;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.contact-page .contact-details {
  display: grid;
  gap: 12px;
  max-width: 540px;
}

.contact-page .contact-details > div {
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(6, 89, 71, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
  box-shadow: 0 6px 20px rgba(6, 89, 71, 0.05);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.contact-page .contact-details > div:hover {
  transform: translateX(4px);
  border-color: rgba(6, 89, 71, 0.35);
  box-shadow: 0 10px 24px rgba(6, 89, 71, 0.09);
}

.contact-page .contact-details a {
  width: 100%;
  color: #065947;
  font-weight: 500;
}

.contact-page .contact-form-card {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid rgba(6, 89, 71, 0.12);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 24px 60px rgba(19, 59, 49, 0.12);
}

.contact-page .contact-form-heading {
  margin-bottom: 28px;
}

.contact-page .contact-form-heading h2 {
  margin: 8px 0 6px;
  color: #102d27;
  font-size: clamp(1.6rem, 3vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.contact-page .contact-form-heading p {
  max-width: 48ch;
  color: #6b7471;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-page #contactForm {
  display: grid;
  gap: 20px;
}

.contact-page #contactForm label {
  margin-bottom: 8px;
  color: #23332f;
  font-size: 0.875rem;
  font-weight: 600;
}

.contact-page #contactForm input,
.contact-page #contactForm textarea {
  padding: 14px 16px;
  border: 1px solid #d6dfdc;
  border-radius: 12px;
  color: #17211f;
  background: #fbfdfc;
  outline: none;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.contact-page #contactForm input::placeholder,
.contact-page #contactForm textarea::placeholder {
  color: #a0aaa6;
}

.contact-page #contactForm input:focus,
.contact-page #contactForm textarea:focus {
  border-color: #187864;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(6, 89, 71, 0.1);
}

.contact-page #contactForm textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-page .contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 12px;
  background: linear-gradient(100deg, #a87406, #e7ae0c);
  box-shadow: 0 10px 22px rgba(166, 116, 6, 0.2);
  transition:
    transform 180ms ease,
    box-shadow 180ms ease;
}

.contact-page .contact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(166, 116, 6, 0.28);
}

.contact-page footer {
  border-top-color: rgba(6, 89, 71, 0.1);
}

@media (max-width: 1023px) {
  .contact-page .contact-main {
    gap: 36px;
    padding-top: 144px;
    padding-bottom: 64px;
  }

  .contact-page .contact-intro,
  .contact-page .contact-form-card {
    width: min(100%, 680px);
    margin-inline: auto;
  }
}

@media (max-width: 639px) {
  .contact-page .contact-main {
    padding: 128px 18px 48px;
  }

  .contact-page .contact-intro h1 {
    font-size: 2.5rem;
  }

  .contact-page .contact-form-card {
    padding: 26px 20px;
    border-radius: 18px;
  }

  .contact-page .contact-details > div {
    padding: 14px;
  }
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

img,
svg,
video,
canvas {
  max-width: 100%;
}

/* Feather the hero artwork into the surrounding white canvas. */
.hero-section .main-image-container > img {
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 12%,
    #000 88%,
    transparent 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media (min-width: 1024px) {
  .hero-section .main-image-container > img {
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 8%,
      #000 92%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      #000 8%,
      #000 92%,
      transparent 100%
    );
  }
}

/* Layered hero copy transitions */
#text-slides {
  display: grid;
}

#text-slides .text-slide {
  display: block !important;
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(64px, 0, 0);
}

#text-slides .text-slide.is-active,
#text-slides .text-slide.is-exiting {
  visibility: visible;
}

#text-slides .text-slide.is-active {
  z-index: 2;
  pointer-events: auto;
  animation: hero-panel-in 800ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#text-slides .text-slide.is-exiting {
  z-index: 1;
  animation: hero-panel-out 700ms cubic-bezier(0.4, 0, 0.2, 1) both;
}

#text-slides .text-slide.is-active > h2,
#text-slides .text-slide.is-active > h1,
#text-slides .text-slide.is-active > p {
  animation: hero-copy-reveal 700ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

#text-slides .text-slide.is-active > h2 {
  animation-delay: 90ms;
}

#text-slides .text-slide.is-active > div {
  transform-origin: left center;
  animation: hero-line-draw 700ms cubic-bezier(0.16, 1, 0.3, 1) 180ms both;
}

#text-slides .text-slide.is-active > h1 {
  animation-delay: 260ms;
}
#text-slides .text-slide.is-active > p {
  animation-delay: 380ms;
}

@keyframes hero-panel-in {
  from {
    opacity: 0;
    transform: translate3d(64px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes hero-panel-out {
  from {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  to {
    opacity: 0;
    transform: translate3d(-64px, 0, 0);
  }
}

@keyframes hero-copy-reveal {
  from {
    opacity: 0;
    transform: translateX(24px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes hero-line-draw {
  from {
    opacity: 0;
    transform: scaleX(0);
  }
  to {
    opacity: 1;
    transform: scaleX(1);
  }
}

@media (max-width: 1023px) {
  #text-slides .text-slide.is-active > div {
    transform-origin: center;
  }
}

/* Homepage section palette */
body > .home-hero {
  background-color: #fffdf8;
}
body > .home-stats {
  background-color: #065947;
}
body > .home-about-heading {
  background-color: #f3f7f2;
}
body > .home-about {
  background-color: #fcfdfb;
}
body > .home-services-heading {
  background-color: #f4f8f6;
}
body > .home-services-overview {
  background-color: #f4f8f6;
}
body > .home-flight {
  background-color: #eef7f4;
}
body > .home-proof-funds {
  background-color: #fff8ea;
}
body > .home-travel-services {
  background-color: #f2f6ec;
}
body > .home-pricing-heading {
  background-color: #fffaed;
}
body > .home-pricing-overview {
  background-color: #fffaed;
}

body.home-page > section.home-stats {
  height: auto !important;
  min-height: 150px;
  padding-block: 28px !important;
}

.home-page .home-stats > div {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.home-page .home-stats > div > div {
  min-width: 0;
  gap: 8px;
}

.home-page .home-stats .counter {
  min-width: 4ch;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.home-page .home-stats .counter + span {
  color: #f5d66f;
  background: none;
  -webkit-text-fill-color: currentColor;
  line-height: 1.35;
}

@media (max-width: 767px) {
  body.home-page > section.home-stats {
    min-height: 240px;
    padding-block: 24px !important;
  }

  .home-page .home-stats > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }
}

.home-pricing-overview .pricing-details-button {
  border-radius: 12px;
}
body > .home-insights {
  background-color: #f4f8f6;
}
body > .home-blogs {
  background-color: #fff7e3;
}

/* Homepage typography system */
.home-page {
  font-size: 1rem;
  line-height: 1.6;
  color: #181635;
}

.home-page .home-hero h1 {
  font-size: clamp(2.375rem, 5vw, 3.75rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.home-page .home-hero h2 {
  font-size: clamp(1.25rem, 2.25vw, 1.75rem);
  line-height: 1.25;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.home-page .home-hero p {
  max-width: 36rem;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.65;
  font-weight: 500;
}

.home-page
  :is(.home-services-overview, .home-travel-services, .home-pricing-overview)
  > h2,
.home-page :is(.home-flight, .home-proof-funds) h2 {
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.2;
  letter-spacing: -0.025em;
  font-weight: 600;
}

.home-page
  :is(.home-services-overview, .home-travel-services, .home-pricing-overview)
  > p {
  max-width: 65ch;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.7;
  font-weight: 400;
}

.home-page :is(.home-flight, .home-proof-funds) p[class~="text-lg"] {
  max-width: 62ch;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.home-page :is(.home-flight, .home-proof-funds) li {
  font-size: 1rem;
  line-height: 1.6;
}

.home-page .home-proof-funds p[class~="text-sm"] {
  font-size: 0.875rem;
  line-height: 1.65;
}

.home-page .proof-funds-media {
  display: flex;
  justify-content: center;
}

.home-page .proof-funds-image {
  display: block;
  width: min(100%, 460px);
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
  border: 1px solid rgba(6, 89, 71, 0.2);
  border-radius: 28px;
  clip-path: inset(0 round 28px);
  box-shadow:
    0 16px 34px rgba(6, 89, 71, 0.12),
    0 3px 10px rgba(205, 153, 50, 0.12);
}

.home-page .home-about > div > p {
  max-width: 62ch;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.75;
}

.home-page .home-about h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  font-weight: 600;
}

.home-page .home-about h3 + div p {
  font-size: 1rem;
  line-height: 1.65;
}

.home-page :is(.service-card-grid, .pricing-card-grid) h3 {
  font-size: 1.125rem;
  line-height: 1.35;
  font-weight: 600;
}

.home-page :is(.service-card-grid, .pricing-card-grid) p {
  font-size: 0.875rem;
  line-height: 1.6;
}

.home-page .service-card-grid > div {
  border-width: 2.5px;
}

.home-page .pricing-card-grid {
  align-items: stretch;
  max-width: 1120px;
  padding-top: 14px;
}

.home-page .pricing-card {
  position: relative;
  display: flex;
  width: 100%;
  min-height: 450px;
  flex-direction: column;
  align-items: stretch;
  padding: 28px;
  border: 1px solid #d7dfda;
  border-radius: 20px;
  color: #181635;
  text-align: left;
  background: linear-gradient(
    145deg,
    rgba(6, 89, 71, 0.07) 0%,
    #fff 46%,
    rgba(205, 153, 50, 0.1) 100%
  );
  box-shadow: 0 10px 24px rgba(24, 22, 53, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.home-page .pricing-card:hover {
  transform: translateY(-7px);
  border-color: rgba(6, 89, 71, 0.55);
  box-shadow: 0 18px 34px rgba(6, 89, 71, 0.15);
}

.home-page .pricing-card-featured {
  border: 2px solid #065947;
  background: linear-gradient(
    145deg,
    rgba(6, 89, 71, 0.14) 0%,
    #fff 48%,
    rgba(205, 153, 50, 0.16) 100%
  );
}

.home-page .pricing-card-badge {
  position: absolute;
  top: -15px;
  right: 24px;
  padding: 6px 14px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  background: #065947;
}

.home-page .pricing-card-label {
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 10px;
  border-radius: 8px;
  color: #065947;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #e7f1ec;
}

.home-page .pricing-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.home-page .pricing-card .pricing-card-summary {
  min-height: 60px;
  margin-bottom: 16px;
  color: #62616d;
}

.home-page .pricing-card-price {
  display: flex;
  align-items: baseline;
  color: #065947;
}

.home-page .pricing-card-price strong {
  font-size: 1.8rem;
  line-height: 1.1;
}

.home-page .pricing-card-price span {
  margin-left: 4px;
  color: #74737c;
  font-size: 0.9rem;
}

.home-page .pricing-card-divider {
  height: 1px;
  margin: 20px 0 16px;
  background: #e3e7e4;
}

.home-page .pricing-card .pricing-card-includes {
  margin-bottom: 12px;
  font-weight: 600;
}

.home-page .pricing-card ul {
  display: grid;
  gap: 9px;
  margin-bottom: 24px;
  color: #454451;
  font-size: 0.9rem;
}

.home-page .pricing-card li {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.home-page .pricing-card li span {
  color: #065947;
  font-weight: 700;
}

.home-page .pricing-card > a {
  display: block;
  margin-top: auto;
  padding: 12px 18px;
  border: 1px solid #065947;
  border-radius: 12px;
  color: #065947;
  font-weight: 600;
  text-align: center;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.home-page .pricing-card > a:hover,
.home-page .pricing-card-featured > a {
  color: #fff;
  background: #065947;
}

.home-page .pricing-card-featured > a:hover {
  background: #04483a;
}

@media (max-width: 767px) {
  .home-page .pricing-card-grid {
    width: calc(100% - 48px) !important;
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    gap: 18px;
    padding-top: 8px;
  }

  .home-page .pricing-card {
    min-height: 0;
    padding: 22px 20px;
    border-radius: 16px;
  }

  .home-page .pricing-card-badge {
    top: -11px;
    right: 16px;
    padding: 4px 10px;
    font-size: 0.6875rem;
  }

  .home-page .pricing-card-label {
    margin-bottom: 12px;
    padding: 4px 8px;
    font-size: 0.6875rem;
  }

  .home-page .pricing-card h3 {
    margin-bottom: 6px;
    font-size: 1.125rem;
  }

  .home-page .pricing-card .pricing-card-summary {
    min-height: 0;
    margin-bottom: 12px;
    font-size: 0.8125rem;
  }

  .home-page .pricing-card-price strong {
    font-size: 1.625rem;
  }

  .home-page .pricing-card-divider {
    margin: 16px 0 12px;
  }

  .home-page .pricing-card .pricing-card-includes {
    margin-bottom: 8px;
  }

  .home-page .pricing-card ul {
    gap: 7px;
    margin-bottom: 18px;
    font-size: 0.8125rem;
  }

  .home-page .pricing-card > a {
    padding: 10px 14px;
    font-size: 0.875rem;
  }
}

.home-page .home-travel-services .lg\:w-1\/2 > div > p {
  font-size: 0.9375rem;
  line-height: 1.55;
}

.home-page .travel-service-list > div {
  overflow: hidden;
  border: 1px solid transparent;
  border-image: none !important;
  border-radius: 18px;
  background:
    linear-gradient(#f3f3f3, #f3f3f3) padding-box,
    linear-gradient(92.37deg, #00534e 2.53%, #2c7c17 61.5%, #bcbd51 113.69%)
      border-box;
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background 220ms ease;
}

.home-page .travel-service-list > div > div,
.home-page .travel-service-list > div img {
  transition:
    transform 220ms ease,
    border-color 220ms ease;
}

.home-page .travel-service-list > div:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(6, 89, 71, 0.16);
  background:
    linear-gradient(#f7fbf8, #f7fbf8) padding-box,
    linear-gradient(92.37deg, #00534e 2.53%, #2c7c17 61.5%, #bcbd51 113.69%)
      border-box;
}

.home-page .travel-service-list > div:hover > div {
  border-color: #065947;
  transform: scale(1.05);
}

.home-page .travel-service-list > div:hover img {
  transform: scale(1.08);
}

.home-page
  :is(
    .home-about-heading,
    .home-services-heading,
    .home-pricing-heading,
    .home-insights,
    .home-blogs
  )
  h2 {
  font-size: clamp(1.375rem, 2.2vw, 1.75rem);
  line-height: 1.25;
  font-weight: 600;
}

.home-page .home-insights > p {
  font-size: 1.0625rem;
  line-height: 1.65;
}

.home-page .testimonial-heading {
  border: 1px solid rgba(205, 153, 50, 0.35);
  color: #064f40;
  background: #fff8e8;
  box-shadow: 0 6px 18px rgba(24, 22, 53, 0.07);
}

.home-page .testimonial-heading h2 {
  color: #064f40;
}

.home-page .testimonial-subheading {
  color: #59635e;
}

.home-page .testimonial-grid {
  align-items: stretch;
}

.home-page .testimonial-scroll-arrow {
  display: none;
}

.home-page .testimonial-card {
  height: auto;
  min-height: 320px;
  border: 1px solid #d4e2da;
  border-top: 5px solid #cd9932;
  color: #202329;
  background: #fff;
  box-shadow: 0 12px 28px rgba(6, 89, 71, 0.1);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    border-color 220ms ease;
}

.home-page .testimonial-card:hover {
  transform: translateY(-6px);
  border-color: #cd9932;
  box-shadow: 0 18px 34px rgba(6, 89, 71, 0.16);
}

.home-page .testimonial-card > img {
  box-sizing: content-box;
  padding: 10px;
  border-radius: 50%;
  background: #edf5f1;
}

.home-page .testimonial-card > p:not(.testimonial-author) {
  color: #292d31;
  font-size: 1rem;
  line-height: 1.75;
}

.home-page .testimonial-card .testimonial-author {
  color: #065947;
}

@keyframes testimonial-nudge-left {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-5px);
  }
}

@keyframes testimonial-nudge-right {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.home-page .home-insights h3,
.home-page .home-blogs h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  font-weight: 600;
}

.home-page .home-blogs p {
  font-size: 1rem;
  line-height: 1.65;
}

.home-page .blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 24px;
}

.home-page .blog-card {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 420px;
  padding: 20px;
  border-radius: 18px;
}

.home-page .blog-card > div:first-child {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
}

.home-page .blog-card {
  justify-content: flex-start;
}

.home-page .blog-card h3 {
  margin-bottom: 12px;
  color: #16233d;
  font-size: clamp(1.125rem, 1.35vw, 1.25rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.home-page .blog-card h3 + p {
  margin-bottom: 14px;
  color: #596273;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.7;
}

.home-page .blog-card-media {
  height: 180px;
  margin-top: 0;
  margin-bottom: 0;
  overflow: hidden;
  border-radius: 12px;
}

.home-page .blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

.home-page .blog-card-link {
  display: inline-flex;
  width: max-content;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  color: #065947;
  font-weight: 600;
  text-decoration: none;
  transition: color 180ms ease;
}

.home-page .blog-card-link span {
  transition: transform 180ms ease;
}

.home-page .blog-card-link:hover,
.home-page .blog-card-link:focus-visible {
  color: #9a6e10;
}

.home-page .blog-card-link:hover span,
.home-page .blog-card-link:focus-visible span {
  transform: translateX(4px);
}

@media (max-width: 1023px) {
  .home-page .blog-grid {
    grid-template-columns: 1fr;
  }

  .home-page .blog-card {
    max-width: 520px;
    min-height: 410px;
    margin-inline: auto;
  }
}

.home-page footer,
.home-page footer p,
.home-page footer a {
  font-size: 0.875rem;
  line-height: 1.6;
}

.home-page a,
.home-page button {
  font-size: 1rem;
  line-height: 1.5;
}

body > section.home-pricing-heading[class*="py-"] {
  padding-block: clamp(28px, 3.5vw, 48px) !important;
}

body > .home-pricing-heading > div {
  margin-block: 20px !important;
}

/* Full-bleed homepage colors with content constrained to the site grid. */
body > section[class*="home-"] {
  width: 100% !important;
  max-width: none;
  margin-inline: 0;
  padding-inline: max(
    var(--site-gutter),
    calc((100vw - var(--site-content-width)) / 2)
  ) !important;
}

@media (max-width: 767px) {
  .home-page .footer-links-column {
    display: none;
  }

  .home-page .proof-funds-image {
    width: min(100%, 230px);
    height: auto;
    max-height: none;
    object-fit: contain;
    border-radius: 16px;
    clip-path: inset(0 round 16px);
  }

  .home-page .home-services-overview a[href="educational.html"] {
    padding: 10px 16px;
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .home-page .home-about a[href="contact.html"] button {
    padding: 9px 18px;
    font-size: 0.8125rem;
  }

  .home-page .service-card-grid {
    width: 75% !important;
    max-width: 320px;
    margin-right: auto;
    margin-left: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .home-page .service-card-grid > div {
    width: 100%;
    height: auto;
    min-height: 340px;
    padding: 22px 16px;
  }

  .home-page .travel-service-list > div {
    height: auto !important;
    min-height: 82px;
    gap: 12px;
    padding: 12px 14px;
  }

  .home-page .travel-service-list > div > div {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px;
    flex: 0 0 48px;
    aspect-ratio: 1;
  }

  .home-page .travel-service-list > div img {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain;
  }

  .home-page .travel-service-list > div > p {
    flex: 1;
    margin: 0;
  }

  .home-page .testimonial-grid {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
    width: 100%;
    gap: 14px;
    padding: 8px 16px 58px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .home-page .testimonial-scroll-shell {
    position: relative;
    width: 100%;
  }

  .home-page .testimonial-scroll-arrow {
    position: absolute;
    top: auto;
    bottom: 8px;
    z-index: 5;
    display: flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0;
    color: #065947;
    font-size: 2.25rem;
    line-height: 1;
    background: transparent;
    box-shadow: none;
    transform: none;
    transition:
      opacity 180ms ease,
      visibility 180ms ease,
      background-color 180ms ease;
  }

  .home-page .testimonial-scroll-left {
    left: calc(50% - 40px);
  }

  .home-page .testimonial-scroll-right {
    right: calc(50% - 40px);
  }

  .home-page .testimonial-scroll-shell.arrows-in-view .testimonial-scroll-left {
    animation: testimonial-nudge-left 1.1s ease-in-out 3;
  }

  .home-page
    .testimonial-scroll-shell.arrows-in-view
    .testimonial-scroll-right {
    animation: testimonial-nudge-right 1.1s ease-in-out 3;
  }

  .home-page .testimonial-scroll-arrow:disabled {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    animation: none;
  }

  .home-page .testimonial-grid::-webkit-scrollbar {
    display: none;
  }

  .home-page .testimonial-card {
    width: 70% !important;
    max-width: 280px;
    min-width: 0;
    min-height: 280px;
    flex: 0 0 70%;
    padding: 24px 18px;
    scroll-snap-align: start;
  }

  .home-hero .hero-left-plane {
    top: 330px;
    right: 24px;
    bottom: auto;
    left: auto !important;
  }

  .home-hero .main-image-container > img {
    margin-top: 12px;
  }

  body > .home-hero {
    justify-content: flex-start;
    height: 680px;
    min-height: 680px;
    padding-top: 104px !important;
  }

  .home-hero .hero-copy {
    margin-top: 0 !important;
    padding-top: 16px;
  }

  .home-about .mission-vision-card {
    width: 100%;
    padding: 24px 20px;
    gap: 28px;
    text-align: left;
  }

  .home-about .mission-vision-card h3 {
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 1.125rem;
    line-height: 1.35;
  }

  .home-about .mission-vision-card h3 img {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
  }

  .home-about .mission-vision-card > div > div {
    display: block;
  }

  .home-page .home-about .mission-vision-card > div > div > p {
    max-width: none;
    margin: 0;
    text-align: left;
    font-size: 0.9375rem;
    line-height: 1.65;
  }
}

main,
section,
header,
footer,
nav,
form,
.grid,
.flex {
  min-width: 0;
}

/* Keep every root page region on a consistent responsive reading frame. */
body > main,
body > section {
  width: min(
    calc(100% - var(--site-gutter) - var(--site-gutter)),
    var(--site-content-width)
  ) !important;
  max-width: var(--site-content-width);
  margin-inline: auto;
}

main > section,
main > div,
main > form {
  width: min(100%, var(--site-content-width));
  max-width: var(--site-content-width);
  margin-inline: auto;
}

body > header,
body > nav {
  width: 100%;
  max-width: none;
}

/* Full-width bars retain their backgrounds while their content stays readable. */
body > header > div,
body > nav > div {
  width: min(
    calc(100% - var(--site-gutter) - var(--site-gutter)),
    var(--site-content-width)
  );
  max-width: var(--site-content-width);
  margin-inline: auto;
}

.max-w-7xl,
.max-w-\[1200px\] {
  max-width: var(--site-content-width) !important;
}

section:not(.hero-section) {
  padding-block: clamp(48px, 7vw, 96px);
}

section:not(.hero-section)[class*="py-"] {
  padding-block: clamp(48px, 7vw, 96px) !important;
}

body > section#about,
body > section#services {
  padding-block: clamp(24px, 3.5vw, 48px) !important;
}

body > section#services {
  padding-block: clamp(12px, 1.75vw, 24px) !important;
}

body > section#services .services-heading {
  margin-block: 20px !important;
}

body > section#services + section {
  padding-top: clamp(24px, 3.5vw, 48px) !important;
}

body > section.about-heading-section {
  padding-block: clamp(12px, 1.75vw, 24px) !important;
}

body > section.about-heading-section .about-heading {
  margin-block: 20px !important;
}

body > section.about-heading-section + section#about {
  padding-top: clamp(24px, 3.5vw, 48px) !important;
}

@media (max-width: 1023px) {
  .lg\:hidden > .group {
    display: none;
  }
}

@media (max-width: 767px) {
  section:not(.hero-section)[class*="py-"] {
    padding-block: 56px !important;
  }

  body > section#about,
  body > section#services {
    padding-block: 28px !important;
  }

  body > section#services {
    padding-block: 14px !important;
  }

  body > section#services + section {
    padding-top: 28px !important;
  }

  body > section.about-heading-section {
    padding-block: 14px !important;
  }

  body > section.about-heading-section + section#about {
    padding-top: 28px !important;
  }
}

@media (min-width: 1024px) {
  header nav.hidden.lg\:flex {
    width: min(786px, 58vw);
  }

  body > header nav.hidden.lg\:flex > a {
    margin-inline: 4px;
    padding-inline: 12px;
    font-size: 1.25rem;
    line-height: 1.2;
  }
}

/* Optional minimalist navigation variant */
.minimal-navbar > header {
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid rgba(24, 22, 53, 0.08);
  box-shadow: 0 6px 24px rgba(24, 22, 53, 0.06);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.minimal-navbar > header > div {
  min-height: 68px;
  padding-block: 10px;
}

.minimal-navbar > header nav.hidden {
  width: auto;
  height: auto;
  padding: 4px;
  gap: 2px;
  border: 1px solid rgba(24, 22, 53, 0.07);
  border-radius: 14px;
  background: rgba(248, 250, 248, 0.78);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.minimal-navbar > header nav.hidden a {
  margin-inline: 0;
  padding: 8px 13px;
  border: 0;
  border-radius: 10px;
  color: #3f4250;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  transition:
    color 180ms ease,
    background-color 180ms ease;
}

.minimal-navbar > header nav.hidden a:hover,
.minimal-navbar > header nav.hidden a:focus-visible {
  color: #065947;
  background-color: rgba(6, 89, 71, 0.08);
  outline: none;
}

.minimal-navbar > header nav.hidden a[href="index.html"] {
  color: #065947;
  background-color: rgba(6, 89, 71, 0.08);
}

.minimal-navbar > header > div > div.hidden > .group > button {
  padding: 9px 14px;
  border: 1px solid rgba(6, 89, 71, 0.22);
  border-radius: 10px;
  color: #065947;
  background: transparent;
  box-shadow: none;
  font-size: 0.9375rem;
  line-height: 1.5;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.minimal-navbar > header > div > div.hidden > .group > button:hover,
.minimal-navbar > header > div > div.hidden > .group > button:focus-visible {
  color: #fff;
  border-color: #065947;
  background: #065947;
  outline: none;
}

.minimal-navbar #mobile-menu {
  position: fixed;
  top: 68px;
  right: 16px;
  left: 16px;
  width: auto;
  height: auto;
  padding: 12px;
  border: 1px solid rgba(24, 22, 53, 0.08);
  border-radius: 0 0 16px 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 36px rgba(24, 22, 53, 0.12);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.minimal-navbar #mobile-menu > a {
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  color: #30333f;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
}

.minimal-navbar #mobile-menu > a:hover,
.minimal-navbar #mobile-menu > a:focus-visible {
  color: #065947;
  background: rgba(6, 89, 71, 0.07);
  outline: none;
}

.minimal-navbar #mobile-menu > a[href="index.html"] {
  color: #065947;
  background: rgba(6, 89, 71, 0.07);
}

.minimal-navbar #mobile-menu > div {
  gap: 2px;
  margin-top: 6px;
  padding-top: 8px;
}

.minimal-navbar #mobile-menu > div a {
  padding: 10px 12px;
  border-radius: 9px;
  color: #065947;
  font-size: 0.9375rem;
  font-weight: 500;
}

.minimal-navbar #mobile-menu > div a:hover {
  background: rgba(6, 89, 71, 0.07);
}

.nav-link:hover {
  border-color: purple;
}
.nav-link.active {
  border-color: purple;
}

/* Service card interactions */
:is(.service-card-grid, .pricing-card-grid) > div {
  position: relative;
  transition:
    transform 350ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 350ms ease,
    border-color 250ms ease,
    filter 350ms ease;
  will-change: transform;
}

:is(.service-card-grid, .pricing-card-grid) > div img,
:is(.service-card-grid, .pricing-card-grid) > div h3 {
  transition:
    transform 350ms cubic-bezier(0.22, 1, 0.36, 1),
    color 250ms ease,
    filter 350ms ease;
}

@media (hover: hover) {
  :is(.service-card-grid, .pricing-card-grid) > div:is(:hover, :active) {
    transform: translateY(-10px) scale(1.015);
    border-color: transparent;
    background:
      linear-gradient(#f5f5f5, #f5f5f5) padding-box,
      linear-gradient(272.3deg, #065947 6.6%, #7ca037 87.81%) border-box;
    box-shadow:
      0 24px 45px -18px rgba(6, 89, 71, 0.45),
      0 10px 22px -14px rgba(24, 22, 53, 0.3);
    filter: saturate(1.08);
    z-index: 2;
  }

  :is(.service-card-grid, .pricing-card-grid) > div:is(:hover, :active) img {
    transform: translateY(-4px) scale(1.12) rotate(4deg);
    filter: drop-shadow(0 8px 8px rgba(6, 89, 71, 0.2));
  }

  :is(.service-card-grid, .pricing-card-grid) > div:is(:hover, :active) h3 {
    color: #065947;
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  #text-slides .text-slide,
  #text-slides .text-slide > * {
    animation: none !important;
    transition: none !important;
    filter: none;
    transform: none;
  }

  #text-slides .text-slide.is-active {
    opacity: 1;
  }

  :is(.service-card-grid, .pricing-card-grid) > div,
  :is(.service-card-grid, .pricing-card-grid) > div img,
  :is(.service-card-grid, .pricing-card-grid) > div h3 {
    transition: none;
  }
}

/* Base Animation Setup */
.animate-up,
.animate-right,
.animate-left {
  opacity: 0;
  transform: translateY(50px); /* default for animate-up */
  transition: all 0.6s ease-out;
}

/* When in view, animate in */
.in-view {
  opacity: 1;
  transform: translate(0, 0);
}

/* Specific Directional Transforms */
.animate-right {
  transform: translateX(100px);
}

.animate-left {
  transform: translateX(-100px);
}

/* Target screens >= 1024px and <= 1280px (just small laptops) */
@media (min-width: 1024px) and (max-width: 1279px) {
  .main-image-container {
    padding-right: 50px; /* 👈 whatever px you want */
  }
}

/* Shared shell sizing stays identical regardless of the current page. */
body > .site-header,
body > .site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  font-family: "Poppins", sans-serif;
  box-sizing: border-box;
}

body > .site-footer {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

body > .site-header > div,
body > .site-footer > div:first-child {
  width: min(calc(100% - 32px), var(--site-content-width));
  max-width: var(--site-content-width) !important;
  margin-inline: auto;
}

body > .site-footer .footer-links-column {
  display: block;
}

@media (min-width: 1024px) {
  body > .site-footer > div:first-child {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: clamp(32px, 4vw, 64px);
  }
}

/* Services page — shares the homepage's visual system. */
.services-page {
  color: #181635;
  background: #fcfdfb;
}

/* Forms hub — reuses the homepage's restrained card language. */
.forms-page {
  color: #181635;
  background:
    radial-gradient(
      circle at 12% 22%,
      rgba(205, 153, 50, 0.12),
      transparent 26%
    ),
    radial-gradient(circle at 88% 68%, rgba(6, 89, 71, 0.09), transparent 25%),
    #f5f8f6;
}

.forms-page .forms-main {
  width: min(100%, var(--site-content-width));
  min-height: 720px;
  padding-top: 164px;
  padding-bottom: 96px;
}

.forms-page .forms-heading {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.forms-page .forms-heading > span {
  display: inline-block;
  margin-bottom: 12px;
  color: #9a6e10;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.forms-page .forms-heading h1 {
  margin-bottom: 14px;
  color: #102d27;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.forms-page .forms-heading p {
  color: #65706d;
  font-size: 1.0625rem;
  line-height: 1.7;
}

.forms-page .forms-hub-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.forms-page .forms-hub-card {
  position: relative;
  min-height: 310px;
  align-items: flex-start;
  padding: 28px;
  overflow: hidden;
  border: 1px solid #dbe4df;
  border-radius: 18px;
  color: #181635;
  text-align: left;
  background: linear-gradient(
    145deg,
    #fff 0%,
    #f9fbfa 70%,
    rgba(205, 153, 50, 0.08) 100%
  );
  box-shadow: 0 12px 28px rgba(6, 89, 71, 0.08);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.forms-page .forms-hub-card::after {
  position: absolute;
  right: 24px;
  bottom: 22px;
  color: #065947;
  font-size: 1.35rem;
  content: "→";
  transition: transform 180ms ease;
}

.forms-page .forms-hub-card:hover {
  transform: translateY(-7px);
  border-color: rgba(6, 89, 71, 0.38);
  box-shadow: 0 20px 38px rgba(6, 89, 71, 0.14);
}

.forms-page .forms-hub-card:hover::after {
  transform: translateX(5px);
}

.forms-page .forms-hub-icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 28px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(6, 89, 71, 0.14);
  color: #065947;
  background: #eaf4ef;
}

.forms-page .forms-hub-icon i {
  font-size: 1.45rem;
}

.forms-page .forms-hub-card h2 {
  margin-bottom: 10px;
  color: #172d28;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.forms-page .forms-hub-card p {
  max-width: 26ch;
  color: #68726f;
  font-size: 0.9rem;
  line-height: 1.65;
}

@media (max-width: 1023px) {
  .forms-page .forms-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .forms-page .forms-main {
    min-height: auto;
    padding: 138px 20px 64px;
  }

  .forms-page .forms-heading {
    margin-bottom: 36px;
  }

  .forms-page .forms-heading h1 {
    font-size: 2.35rem;
  }

  .forms-page .forms-heading p {
    font-size: 0.95rem;
  }

  .forms-page .forms-hub-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .forms-page .forms-hub-card {
    min-height: 235px;
    padding: 24px;
  }

  .forms-page .forms-hub-icon {
    margin-bottom: 22px;
  }
}

.services-page .services-hero {
  min-height: 720px;
  padding: 152px var(--site-gutter) 64px;
  background:
    radial-gradient(
      circle at 82% 24%,
      rgba(205, 153, 50, 0.13),
      transparent 27%
    ),
    linear-gradient(135deg, #fffdf8 0%, #f6faf7 100%);
}

.services-page .services-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
  width: min(100%, var(--site-content-width));
  min-height: 500px;
  margin-inline: auto;
}

.services-page .services-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: #8c650e;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.services-page .services-eyebrow::before {
  width: 32px;
  height: 2px;
  content: "";
  background: #cd9932;
}

.services-page .services-hero h1 {
  max-width: 680px;
  margin-bottom: 22px;
  color: #191919;
  font-size: clamp(2.6rem, 5vw, 4.65rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.052em;
}

.services-page .services-hero h1 span {
  display: block;
  margin-top: 12px;
  color: #a8750b;
  font-size: 0.76em;
  line-height: 1.08;
}

.services-page .services-hero-copy > p {
  max-width: 610px;
  color: #56615e;
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.75;
}

.services-page .services-hero-copy strong {
  color: #065947;
}

.services-page .services-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 30px;
}

.services-page .services-hero-actions a:first-child {
  padding: 13px 20px;
  border-radius: 12px;
  color: #fff;
  font-weight: 600;
  background: linear-gradient(100deg, #a87406, #efb90b);
  box-shadow: 0 10px 22px rgba(166, 116, 6, 0.2);
}

.services-page .services-hero-actions a:last-child {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #065947;
  font-weight: 600;
}

.services-page .services-hero-actions a:last-child span {
  transition: transform 180ms ease;
}

.services-page .services-hero-actions a:last-child:hover span {
  transform: translateX(4px);
}

.services-page .services-hero-visual {
  display: flex;
  justify-content: center;
  min-width: 0;
}

.services-page .services-hero-visual img {
  width: min(100%, 620px);
  max-height: 560px;
  object-fit: contain;
  filter: drop-shadow(0 22px 34px rgba(6, 89, 71, 0.1));
}

.services-page .services-philosophy {
  max-width: none;
  background: #f3f7f2;
}

.services-page .services-philosophy > * {
  width: min(100%, 1100px);
  margin-inline: auto;
}

.services-page .services-philosophy h2,
.services-page .services-catalog > h2,
.services-page .services-travel > h2 {
  color: #102d27;
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.services-page .services-philosophy > p,
.services-page .services-catalog > p,
.services-page .services-travel > p {
  color: #66706d;
  font-size: 1rem;
  line-height: 1.7;
}

.services-page .philosophy-card {
  position: relative;
  overflow: hidden;
  border: 1px solid #dce5df;
  background: linear-gradient(145deg, #fff, #f6faf7);
  box-shadow: 0 12px 28px rgba(6, 89, 71, 0.08);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.services-page .philosophy-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 34px rgba(6, 89, 71, 0.13);
}

.services-page .services-catalog {
  background: #fcfdfb;
}

.services-page .education-feature {
  width: min(100%, 760px);
  margin-top: 44px;
  padding: 36px;
  border: 1px solid rgba(205, 153, 50, 0.28);
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(6, 89, 71, 0.07),
    #fff 55%,
    rgba(205, 153, 50, 0.12)
  );
  box-shadow: 0 16px 34px rgba(6, 89, 71, 0.1);
}

.services-page .education-feature a {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9375rem;
}

.services-page .service-card-grid {
  width: min(100%, var(--site-content-width));
}

.services-page .service-card-grid > div {
  max-width: none;
  height: auto;
  min-height: 300px;
  padding: 26px;
  border-width: 2px;
  border-color: #d4ddda;
  background: linear-gradient(145deg, #f8fbf9, #f2f5f3);
  box-shadow: 0 12px 26px rgba(6, 89, 71, 0.09);
}

.services-page .services-travel {
  margin-top: 72px;
  padding-inline: var(--site-gutter);
  border-radius: 28px;
  background: #f2f6ec;
}

.services-page .services-travel > div {
  width: min(100%, var(--site-content-width));
}

.services-page .services-travel > div > div:first-child img {
  max-height: 560px;
  object-fit: contain;
}

@media (max-width: 1023px) {
  .services-page .services-hero {
    min-height: auto;
    padding-top: 138px;
  }

  .services-page .services-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .services-page .services-eyebrow,
  .services-page .services-hero-actions {
    justify-content: center;
  }

  .services-page .services-hero-copy > p,
  .services-page .services-hero h1 {
    margin-inline: auto;
  }

  .services-page .services-hero-visual img {
    width: min(100%, 520px);
  }
}

@media (max-width: 767px) {
  .services-page .services-hero {
    padding: 126px 20px 48px;
  }

  .services-page .services-hero h1 {
    font-size: 2.5rem;
  }

  .services-page .services-hero-visual img {
    width: min(100%, 340px);
  }

  .services-page .education-feature {
    padding: 26px 20px;
  }

  .services-page .services-travel {
    margin-top: 48px;
    border-radius: 20px;
  }
}

/* Keep the transition between Testimonies and Blogs intentionally compact. */
body.home-page > section.home-insights {
  padding-bottom: 48px !important;
}

body.home-page > section.home-blogs {
  padding-top: 56px !important;
}

/* Shared heading treatment for primary homepage sections. */
.home-page .section-title-row {
  min-height: 58px;
}

.home-page .section-title-row > div:first-child {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(6, 89, 71, 0.22) 18%,
    rgba(205, 153, 50, 0.4) 50%,
    rgba(6, 89, 71, 0.22) 82%,
    transparent 100%
  );
}

.home-page .section-title-label {
  padding: 13px 24px;
  border: 1px solid rgba(205, 153, 50, 0.38);
  border-radius: 12px;
  color: #065947;
  background: #fffdf8;
  box-shadow: 0 7px 18px rgba(6, 89, 71, 0.09);
  backdrop-filter: blur(12px);
}

.home-page .section-title-label h2 {
  margin: 0;
  color: #065947;
  font-size: 1.75rem !important;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.015em;
}

@media (max-width: 767px) {
  .home-page .section-title-row {
    min-height: 50px;
  }

  .home-page .section-title-label {
    padding: 11px 18px;
  }

  .home-page .section-title-label h2 {
    font-size: 1.25rem !important;
  }

  .home-page #mobile-menu {
    top: 112px;
    right: 14px;
    left: 14px;
    width: auto;
    height: auto;
    max-height: calc(100dvh - 126px);
    padding: 12px;
    border: 1px solid rgba(6, 89, 71, 0.14);
    border-radius: 0 0 16px 16px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 18px 38px rgba(24, 22, 53, 0.16);
    backdrop-filter: blur(16px);
  }

  .home-page #mobile-menu.flex {
    animation: mobile-menu-in 220ms cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .home-page #mobile-menu > a {
    padding: 12px 14px;
    border: 0;
    border-radius: 10px;
    color: #30333f;
    font-size: 0.9375rem;
    font-weight: 500;
    text-align: left;
  }

  .home-page #mobile-menu > a:hover,
  .home-page #mobile-menu > a:focus-visible,
  .home-page #mobile-menu > a[href="index.html"] {
    color: #065947;
    background: rgba(6, 89, 71, 0.08);
    outline: none;
  }

  .home-page #mobile-menu > div {
    gap: 4px;
    margin-top: 8px;
    padding-top: 10px;
    border-top: 1px solid rgba(6, 89, 71, 0.12);
  }

  .home-page #mobile-menu > div a {
    padding: 10px 14px;
    border-radius: 10px;
    color: #065947;
    font-size: 0.875rem;
  }
}

@keyframes mobile-menu-in {
  from {
    opacity: 0;
    transform: translateY(-10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
