.features9-wrapper {
  display: contents;
}

.features9-layout186 {
  width: 100%;
  height: auto;
  min-height: 343px;
  display: flex;
  overflow: hidden;
  position: relative;
  align-items: center;
  flex-shrink: 0;
  padding-top: 0px;
  flex-direction: column;
  padding-bottom: 0px;
  justify-content: center;
}

.features9-text1 {
  z-index: 2;
  text-align: center;
}

.features9-text2 {
  z-index: 2;
  text-align: center;
}

.home-fragment1 {
  display: contents;
}

.home-text24 {
  display: inline-block;
}

.home-fragment2 {
  display: contents;
}

.home-text27 {
  display: inline-block;
  font-size: 19px;
  line-height: 1.5;
}

.home-text29 {
  font-size: 19px;
  line-height: 1.5;
}

.home-text32 {
  font-size: 19px;
  line-height: 1.5;
}

.card-wrapper {
  display: contents;
}

.card-card,
.card-card1,
.card-card2,
.card-card3 {
  position: relative;
  display: flex;
  flex-direction: column;
}

.card-header {
  gap: var(--dl-layout-space-oneandhalfunits);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.card-icon {
  height: 50px;
  object-fit: cover;
}

.card-heading {
  color: rgb(18, 40, 33);
  font-size: 24px;
  max-width: 600px;
  font-style: normal;
  font-weight: 500;
}

.card-text {
  color: rgb(18, 40, 33);
  max-width: 600px;
  font-family: "Lato";
  line-height: 28px;
}

.card-wrapper-f7gq {
  display: contents;
}


.card-header1 {
  gap: var(--dl-layout-space-oneandhalfunits);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.card-icon1 {
  height: 50px;
  object-fit: cover;
}

.card-heading1 {
  color: rgb(18, 40, 33);
  font-size: 24px;
  max-width: 600px;
  font-style: normal;
  font-weight: 500;
}

.card-text1 {
  color: rgb(18, 40, 33);
  max-width: 600px;
  font-family: "Lato";
  line-height: 28px;
}

.card-wrapper-b85m {
  display: contents;
}


.card-header2 {
  gap: var(--dl-layout-space-oneandhalfunits);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.card-icon2 {
  height: 50px;
  object-fit: cover;
}

.card-heading2 {
  color: rgb(18, 40, 33);
  font-size: 24px;
  max-width: 600px;
  font-style: normal;
  font-weight: 500;
}

.card-text2 {
  color: rgb(18, 40, 33);
  max-width: 600px;
  font-family: "Lato";
  line-height: 28px;
}

.card-wrapper-friw {
  display: contents;
}


.card-header3 {
  gap: var(--dl-layout-space-oneandhalfunits);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.card-icon3 {
  height: 50px;
  object-fit: cover;
}

.card-heading3 {
  color: rgb(18, 40, 33);
  font-size: 24px;
  max-width: 600px;
  font-style: normal;
  font-weight: 500;
}

.card-text3 {
  color: rgb(18, 40, 33);
  max-width: 600px;
  font-family: "Lato";
  line-height: 28px;
}

.logos1-wrapper {
  display: contents;
}

.logos1-container1 {
  gap: var(--dl-layout-space-threeunits);
  width: 100%;
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: column;
}

.logos1-max-width {
  gap: var(--dl-layout-space-twounits);
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.logos1-text1 {
  text-align: center;
}

.logos1-logo1 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo2 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo3 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo4 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo5 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo6 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo7 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo8 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo9 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.logos1-logo10 {
  width: 120px;
  height: 60px;
  object-fit: contain;
}

.home-fragment3 {
  display: contents;
}

.home-text38 {
  display: inline-block;
}

@media(max-width: 767px) {
  .logos1-container1 {
    gap: var(--dl-layout-space-twounits);
  }

  .logos1-max-width {
    gap: var(--dl-layout-space-twounits);
  }
}

@media(max-width: 479px) {
  .logos1-text1 {
    width: 295px;
    height: 131px;
  }
}

.contact-form2-wrapper {
  display: contents;
}

.contact-form2-contact5 {
  height: 569px;
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: column;
}

.contact-form2-section-title {
  gap: var(--dl-layout-space-unit);
  display: flex;
  align-self: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.contact-form2-contact-info {
  gap: 16px;
  display: flex;
  padding: 8px 0;
  align-self: flex-start;
  align-items: flex-start;
  flex-direction: column;
}

.contact-form2-row1 {
  gap: 16px;
  display: flex;
  align-items: flex-start;
}

.contact-form2-row2 {
  gap: 16px;
  display: flex;
  align-items: flex-start;
}

.contact-form2-row3 {
  gap: var(--dl-layout-space-unit);
  border: 2px dashed rgba(120, 120, 120, 0.4);
  display: flex;
  align-items: flex-start;
}

.contact-form2-form {
  gap: var(--dl-layout-space-oneandhalfunits);
  flex: 1;
  width: auto;
  display: flex;
  align-items: flex-start;
  flex-shrink: 0;
  flex-direction: column;
}

.contact-form2-input1 {
  gap: 8px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
}

.contact-form2-text-input1 {
  width: 100%;
}

.contact-form2-input2 {
  gap: 8px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
}

.contact-form2-text-input2 {
  width: 100%;
}

.contact-form2-input3 {
  gap: 8px;
  display: flex;
  align-self: stretch;
  align-items: flex-start;
  flex-direction: column;
}

.contact-form2-textarea {
  width: 100%;
}

/* Creative "Learn more" button styles for service cards */
.card-footer,
.card-footer1,
.card-footer2,
.card-footer3 {
  margin-top: auto;
  padding-top: 14px;
}

.card-cta,
.card-cta1,
.card-cta2,
.card-cta3 {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 999px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(90deg, #06b6d4 0%, #2dd4bf 100%);
  box-shadow: 0 6px 18px rgba(3, 105, 161, 0.12), inset 0 -2px 6px rgba(255, 255, 255, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
  position: relative;
  overflow: hidden;
}

.card-cta::before,
.card-cta1::before,
.card-cta2::before,
.card-cta3::before {
  display: none;
  content: '→';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  opacity: 0.95;
  transition: right 180ms ease, transform 180ms ease;
}

.card-cta::after,
.card-cta1::after,
.card-cta2::after,
.card-cta3::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  right: -40px;
  top: -40px;
  transform: scale(0.8);
  transition: transform 350ms ease, right 220ms ease, top 220ms ease;
}

.card-cta:hover,
.card-cta1:hover,
.card-cta2:hover,
.card-cta3:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(3, 105, 161, 0.16);
}

.card-cta:hover::before,
.card-cta1:hover::before,
.card-cta2:hover::before,
.card-cta3:hover::before {
  right: 12px;
  transform: translateY(-50%) scale(1.05);
}

.card-cta:hover::after,
.card-cta1:hover::after,
.card-cta2:hover::after,
.card-cta3:hover::after {
  transform: scale(1.4);
  right: -10px;
  top: -10px;
}

@media (max-width: 560px) {

  .card-cta,
  .card-cta1,
  .card-cta2,
  .card-cta3 {
    padding: 9px 16px;
    font-size: 14px;
  }

  .card-cta::before,
  .card-cta1::before,
  .card-cta2::before,
  .card-cta3::before {
    right: 12px;
  }
}

.contact-form2-checkbox1 {
  gap: var(--dl-layout-space-unit);
  display: flex;
  align-items: center;
}

.home-fragment9 {
  display: contents;
}

.home-text49 {
  display: inline-block;
}

.home-fragment7 {
  display: contents;
}

.home-text47 {
  display: inline-block;
}

.home-fragment5 {
  display: contents;
}

.home-text45 {
  display: inline-block;
}

.home-fragment8 {
  display: contents;
}

.home-text48 {
  display: inline-block;
}

.home-fragment6 {
  display: contents;
}

.home-text46 {
  display: inline-block;
}

.home-fragment4 {
  display: contents;
}

.home-text44 {
  display: inline-block;
}

@media(max-width: 991px) {
  .contact-form2-max-width {
    flex-direction: column;
  }

  .contact-form2-content {
    width: 100%;
  }

  .contact-form2-form {
    width: 100%;
  }
}

/* Mobile menu: improved layout and touch targets on small screens */
@media (max-width: 991px) {

  /* make hamburger visible and easy to tap */
  #mobile-menu-open {
    display: block;
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 1600;
    background: transparent;
    border: none;
    padding: 10px;
    border-radius: 8px;
  }

  /* full-screen, top-down mobile menu with smooth slide */
  .home-mobile-menu {
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    position: fixed;
    transform: translateY(-100%);
    transition: transform 0.32s cubic-bezier(.2, .9, .3, 1);
    padding-top: 84px;
    /* leave space for header/hamburger */
    padding-left: var(--dl-layout-space-oneandhalfunits);
    padding-right: var(--dl-layout-space-oneandhalfunits);
    padding-bottom: var(--dl-layout-space-threeunits);
    overflow-y: auto;
    background-color: rgba(255, 255, 255, 0.92);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    z-index: 1550;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .home-mobile-menu.open {
    transform: translateY(0);
  }

  /* Top row: branding + close button */
  .home-top {
    padding: 12px 0 18px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .home-menu-close button {
    font-size: 22px;
    background: transparent;
    border: none;
    padding: 8px 10px;
    line-height: 1;
    cursor: pointer;
  }

  /* Stack links vertically and make each link a large, full-width touch target */
  .mobile-links {
    display: flex;
    flex-direction: column;
    gap: var(--dl-layout-space-unit);
    width: 100%;
    align-items: stretch;
  }

  .mobile-links .home-button1,
  .mobile-links .home-button2 {
    font-size: 18px;
    padding: 14px 18px;
    border-radius: 12px;
    text-align: center;
    display: block;
    width: 100%;
    background: transparent;
  }

  /* Emphasize primary action */
  .mobile-links .home-button2 {
    background: linear-gradient(90deg, #BF4408, #E65103);
    color: #fff;
    box-shadow: 0 6px 18px rgba(181, 84, 46, 0.14);
  }

  /* keep desktop nav hidden on small screens */
  .home-desktop-menu {
    display: none;
  }
}

.branding-wrapper {
  display: contents;
}

.branding-branding {
  gap: var(--dl-layout-space-unit);
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.branding-image {
  width: 200px;
  object-fit: cover;
}

.footer-wrapper {
  display: contents;
}

.footer-footer {
  width: 100%;
  display: flex;
  position: relative;
  max-width: var(--dl-layout-size-maxwidth);
  align-items: flex-start;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  margin-bottom: var(--dl-layout-space-fourunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: row;
  justify-content: space-between;
}

.footer-information {
  gap: var(--dl-layout-space-fiveunits);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-content {
  gap: var(--dl-layout-space-twounits);
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-header {
  gap: var(--dl-layout-space-twounits);
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-text1 {
  color: rgb(18, 40, 33);
  width: 100%;
  font-size: 18px;
  max-width: 600px;
  font-family: "Lato";
  line-height: 27px;
}

.footer-contact-list {
  gap: var(--dl-layout-space-oneandhalfunits);
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-contact1 {
  gap: 11px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.footer-image1 {
  width: 24px;
  height: 18px;
  object-fit: cover;
}

.footer-text2 {
  color: rgb(18, 40, 33);
  width: 100%;
  font-size: 18px;
  font-family: "Lato";
  line-height: 18px;
}

.footer-contact2 {
  gap: 11px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.footer-image2 {
  width: 18px;
  height: 24px;
  object-fit: cover;
  margin-left: 3px;
  margin-right: 3px;
}

.footer-text3 {
  color: rgb(18, 40, 33);
  width: 100%;
  font-size: 18px;
  font-family: "Lato";
  line-height: 18px;
}

.footer-copyright {
  color: rgb(18, 40, 33);
  width: 100%;
  font-size: 14px;
  font-family: "Lato";
  line-height: 21px;
}

/* Header Social Links */
.header-social-links {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-left: 20px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(18, 40, 33, 0.08);
  color: #122821;
  font-size: 16px;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.social-icon:hover {
  background: #122821;
  color: #fff;
  transform: translateY(-3px);
}

.footer-links {
  gap: 110px;
  display: flex;
  align-items: flex-start;
  padding-right: 135px;
  flex-direction: row;
}

.footer-column1 {
  width: 100%;
  border: 2px dashed rgba(120, 120, 120, 0.4);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.footer-column2 {
  width: 100%;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

@media(max-width: 991px) {
  .footer-footer {
    gap: var(--dl-layout-space-threeunits);
    align-items: flex-start;
    padding-left: var(--dl-layout-space-oneandhalfunits);
    padding-right: var(--dl-layout-space-oneandhalfunits);
    flex-direction: column;
    justify-content: flex-start;
  }

  .footer-content {
    gap: var(--dl-layout-space-oneandhalfunits);
  }

  .footer-header {
    gap: var(--dl-layout-space-unit);
  }

  .footer-copyright {
    display: none;
  }

  .footer-links {
    gap: var(--dl-layout-space-threeunits);
    padding-right: 0px;
    flex-direction: column;
  }
}

.home-container1 {
  width: 100%;
  display: flex;
  overflow: hidden;
  min-height: 100vh;
  align-items: center;
  flex-direction: column;
  padding-top: 80px;
  /* reduced offset so hero sits closer to top */
  background: linear-gradient(180deg, #E8F7EB 0%, #F6FBF2 45%, #FFF9F0 100%);
  background-attachment: fixed;
}

.home-button1 {
  color: rgb(18, 40, 33);
  font-size: 18px;
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  line-height: 27px;
  padding: 8px 18px;
  border-radius: 999px;
  background-color: transparent;
  display: inline-block;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
}

/* Creative pill container behind the links */
.home-links1 {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85));
  padding: 6px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(11, 22, 33, 0.06);
}

/* Hover + active styles for links */
.home-button1:hover,
.home-button1:focus {
  transform: translateY(-4px);
  background: linear-gradient(90deg, #BF4408, #E65103);
  color: #fff;
  box-shadow: 0 8px 20px rgba(181, 84, 46, 0.18);
}

/* Make sure the four main nav links use the same font on all breakpoints */
.home-desktop-menu .home-button1 {
  font-family: Lato, "Helvetica Neue", Arial, sans-serif;
}

/* Fixed header styling */
.home-header1 {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1100;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.home-navbar-interactive {
  width: 100%;
  display: flex;
  position: relative;
  max-width: 1324px;
  align-items: center;
  padding-top: var(--dl-layout-space-threeunits);
  padding-left: var(--dl-layout-space-oneandhalfunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: row;
  padding-bottom: var(--dl-layout-space-threeunits);
  justify-content: space-between;
  margin: 0 auto;
}

.home-branding1 {
  gap: var(--dl-layout-space-unit);
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.home-icon10 {
  width: 7px;
  height: 7px;
}

.home-text10 {
  font-size: 32px;
  font-family: 'Dancing Script', cursive;
  background: linear-gradient(90deg, #06b6d4, #2dd4bf);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #06b6d4;
  /* Fallback */
  text-decoration: none !important;
  font-weight: 700;
  line-height: 1.2;
}

.home-desktop-menu {
  display: flex;
}

.home-links1 {
  gap: 20px;
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.home-button1 {
  color: rgb(18, 40, 33);
  font-size: 18px;
  font-family: Lato;
  line-height: 27px;
  padding-top: var(--dl-layout-space-halfunit);
  padding-left: 0px;
  border-radius: 0px;
  padding-right: 0px;
  padding-bottom: var(--dl-layout-space-halfunit);
  background-color: transparent;
}

.home-button2 {
  color: rgb(18, 40, 33);
  font-size: 18px;
  font-weight: 700;
  font-family: Lato;
  line-height: 27px;
  padding-top: var(--dl-layout-space-halfunit);
  padding-left: 0px;
  border-radius: 0px;
  padding-right: 0px;
  padding-bottom: var(--dl-layout-space-halfunit);
  background-color: transparent;
  align-items: center;
}

.home-button3 {
  color: rgb(18, 40, 33);
  font-size: 18px;
  font-family: Lato;
  line-height: 27px;
  padding-top: var(--dl-layout-space-halfunit);
  border-color: rgba(18, 40, 33, 1);
  padding-left: var(--dl-layout-space-threeunits);
  border-radius: 0px;
  padding-right: 0px;
  padding-bottom: var(--dl-layout-space-halfunit);
  background-color: transparent;
  border-left-width: 1px;
}

.home-burger-menu {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
}

/* Position the hamburger in the header on small screens */
#mobile-menu-open {
  display: none;
  background: transparent;
  border: none;
  padding: 6px;
}

.home-mobile-menu {
  top: 0px;
  left: 0px;
  width: 100%;
  height: 100vh;
  display: flex;
  z-index: 1200;
  position: fixed;
  transform: translateX(100%);
  transition: 0.5s;
  padding-top: var(--dl-layout-space-threeunits);
  padding-left: var(--dl-layout-space-oneandhalfunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
  padding-bottom: var(--dl-layout-space-threeunits);
  justify-content: flex-start;
  background-color: #fff;
}

/* when open, slide into view */
.home-mobile-menu.open {
  transform: translateX(0);
}

.home-top {
  width: 100%;
  display: flex;
  align-items: center;
  margin-bottom: var(--dl-layout-space-threeunits);
  justify-content: space-between;
}

.home-branding2 {
  gap: var(--dl-layout-space-unit);
  display: flex;
  position: relative;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.home-text13 {
  color: rgba(18, 40, 33, 1);
  font-size: 24px;
  line-height: 36px;
}

.home-icon12 {
  width: 7px;
  height: 7px;
}

.home-text14 {
  color: rgba(18, 40, 33, 1);
  font-size: 18px;
  font-family: Lato;
  line-height: 27px;
}

.home-menu-close {
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-icon14 {
  width: 34px;
  height: 34px;
}

.home-links2 {
  gap: var(--dl-layout-space-unit);
  display: flex;
  position: relative;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.home-button4 {
  color: var(--dl-color-gray-white);
  font-size: 18px;
  font-family: Lato;
  line-height: 27px;
  border-radius: 28px;
  background-color: rgb(18, 40, 33);
}

.home-button5 {
  color: var(--dl-color-gray-white);
  font-size: 18px;
  font-family: Lato;
  line-height: 27px;
  border-radius: 28px;
  background-color: rgb(18, 40, 33);
}

.home-button6 {
  color: var(--dl-color-gray-white);
  font-size: 18px;
  font-family: Lato;
  line-height: 27px;
  border-radius: 28px;
  background-color: rgb(18, 40, 33);
}

.home-social-bar {
  width: 100%;
  display: flex;
  padding: var(--dl-layout-space-threeunits);
  margin-top: auto;
  justify-content: flex-start;
}

.home-icon16 {
  width: var(--dl-layout-size-xsmall);
  height: var(--dl-layout-size-xsmall);
  margin-right: var(--dl-layout-space-twounits);
}

.home-icon18 {
  width: var(--dl-layout-size-xsmall);
  height: var(--dl-layout-size-xsmall);
  margin-right: var(--dl-layout-space-twounits);
}

.home-icon20 {
  width: var(--dl-layout-size-xsmall);
  height: var(--dl-layout-size-xsmall);
  margin-right: var(--dl-layout-space-twounits);
}

.home-icon22 {
  width: var(--dl-layout-size-xsmall);
  height: var(--dl-layout-size-xsmall);
  margin-right: var(--dl-layout-space-twounits);
}

.home-icon24 {
  width: var(--dl-layout-size-xsmall);
  height: var(--dl-layout-size-xsmall);
}

.home-hero {
  width: 100%;
  display: flex;
  position: relative;
  max-width: var(--dl-layout-size-maxwidth);
  padding: 120px 48px 20px;
  /* Reduced bottom padding */
  overflow: hidden;
  align-items: center;
  margin: 0 auto;
  border-radius: 40px;
  flex-direction: row;
  justify-content: space-between;
  background: linear-gradient(135deg, rgba(244, 249, 255, 0.9) 0%, rgba(255, 255, 255, 1) 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow:
    0 20px 50px -10px rgba(0, 0, 0, 0.04),
    inset 0 0 80px rgba(255, 255, 255, 0.5);
  z-index: 10;
}

/* Premium Background Blobs */
.hero-bg-blobs {
  position: absolute;
  inset: 0;
  z-index: 0;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
}

.blob-1 {
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(45, 212, 191, 0.3) 0%, transparent 70%);
  top: -100px;
  left: -100px;
  animation: drift 20s ease-in-out infinite alternate;
}

.blob-2 {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.25) 0%, transparent 70%);
  bottom: -150px;
  right: -100px;
  animation: drift 25s ease-in-out infinite alternate-reverse;
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(120px, 80px) scale(1.15);
  }
}

.home-content1 {
  gap: 32px;
  width: 100%;
  display: flex;
  z-index: 20;
  max-width: 580px;
  align-items: flex-start;
  flex-direction: column;
}

.home-title1 {
  font-size: 5.4rem;
  background: linear-gradient(135deg, #132e2b 30%, #2dd4bf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #132e2b;
  margin-bottom: 0px;
  font-weight: 800;
  line-height: 1.1;
}

.home-description1 {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #4a5568;
  opacity: 0.95;
  max-width: 520px;
}

/* Feature Pills */
.feature-pill {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 12px 30px -5px rgba(0, 0, 0, 0.08);
  font-weight: 700;
  font-size: 15px;
  color: #132e2b;
  z-index: 30;
  white-space: nowrap;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Cursor Highlight Layer */
.feature-pill::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(45, 212, 191, 0.25) 0%,
      transparent 80%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: -1;
}

.feature-pill:hover::before {
  opacity: 1;
}

.feature-pill:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px -8px rgba(45, 212, 191, 0.2);
  border-color: rgba(45, 212, 191, 0.3);
}

.feature-pill i {
  color: #2dd4bf;
  font-size: 18px;
}

.floating-pills-left {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  flex-wrap: wrap;
  z-index: 30;
}

.pill-1,
.pill-2,
.pill-3,
.pill-4 {
  position: static;
}

@keyframes float-pill {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

.home-image2 {
  flex: 1;
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  padding-left: 60px;
  z-index: 20;
  margin-top: -100px;
  /* Shift image up as requested */
}

.home-image-inner {
  position: relative;
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 40px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 50px 100px -20px rgba(0, 0, 0, 0.15),
    inset 0 0 50px rgba(255, 255, 255, 0.4);
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.home-image3 {
  width: 100%;
  max-width: 540px;
  height: auto;
  display: block;
  border-radius: 24px;
  object-fit: cover;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.12));
}

.home-image-inner:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 60px 120px -25px rgba(0, 0, 0, 0.2);
}

/* Unified Mobile Responsiveness for Hero */
@media (max-width: 991px) {
  .home-hero {
    flex-direction: column;
    padding: 60px 24px;
    text-align: center;
    border-radius: 30px;
    margin: 0 12px;
    height: auto;
  }

  .home-content1 {
    max-width: 100%;
    align-items: center;
    gap: 24px;
    margin-bottom: 40px;
  }

  .home-title1 {
    font-size: 3.5rem;
    line-height: 1.1;
  }

  .home-description1 {
    font-size: 1.15rem;
    text-align: center;
    max-width: 90%;
  }

  .floating-pills-left,
  .pill-3,
  .pill-4 {
    display: none;
  }

  .home-image2 {
    width: 100%;
    padding-left: 0;
  }

  .home-image-inner {
    width: 100%;
    padding: 18px;
    border-radius: 32px;
    transform: none !important;
  }

  .home-image3 {
    max-width: 100%;
  }
}

.curved-connector {
  width: 100%;
  height: 80px;
  position: relative;
  margin-top: -60px;
  /* Pull into hero section */
  z-index: 5;
  display: flex;
}

.curved-connector svg {
  width: 100%;
  height: 100%;
}

@media (max-width: 480px) {
  .home-title1 {
    font-size: 2.4rem;
  }
}

.home-image1-hidden,
.home-image1 {
  display: none !important;
}

.home-image4 {
  right: 0px;
  bottom: 0px;
  height: 390px;
  position: absolute;
  object-fit: cover;
}

.home-mission1 {
  gap: var(--dl-layout-space-threeunits);
  width: 100%;
  display: flex;
  max-width: 1280px;
  align-items: center;
  padding-top: 40px;
  /* Reduced from 120px for tighter join */
  padding-left: var(--dl-layout-space-oneandhalfunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
  padding-bottom: 120px;
}

.home-text17 {
  color: rgb(18, 40, 33);
  font-size: 40px;
  max-width: 1000px;
  font-style: normal;
  text-align: center;
  font-weight: 500;
  line-height: 51px;
}

.home-improve {
  gap: var(--dl-layout-space-fiveunits);
  width: 100%;
  display: flex;
  max-width: var(--dl-layout-size-maxwidth);
  align-items: center;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  margin-bottom: 120px;
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
}

.home-heading {
  gap: var(--dl-layout-space-unit);
  display: flex;
  align-items: center;
  flex-direction: column;
}

.home-text18 {
  color: rgb(18, 40, 33);
  font-size: 30px;
  max-width: 600px;
  font-style: normal;
  text-align: center;
  font-weight: 500;
  line-height: 51px;
}

.home-tabs {
  gap: var(--dl-layout-space-fiveunits);
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.home-switches {
  gap: var(--dl-layout-space-fiveunits);
  display: flex;
  align-items: center;
  flex-direction: row;
}

.home-content2 {
  gap: var(--dl-layout-space-fourunits);
  width: 100%;
  height: 487px;
  display: flex;
  overflow-x: hidden;
  align-items: center;
  flex-direction: row;
  justify-content: center;
}

.home-details {
  gap: var(--dl-layout-space-threeunits);
  flex: 1;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.home-header2 {
  gap: var(--dl-layout-space-unit);
  width: 100%;
  max-width: 562px;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.home-text19 {
  color: rgb(18, 40, 33);
  max-width: 100%;
  font-size: 37px;
  font-style: normal;
  text-align: center;
  font-weight: 500;
}

.home-description2 {
  gap: var(--dl-layout-space-unit);
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.home-text20 {
  color: rgb(18, 40, 33);
  font-size: 18px;
  text-align: center;
  line-height: 24px;
  word-wrap: break-word;
}

.home-button7 {
  text-align: center;
  align-items: center;
  /* Center children horizontally */
}

.home-text21 {
  line-height: 21px;
}

.home-image5 {
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  position: relative;
  z-index: 10;
  background: white;
  /* Ensure opacity */
  border-radius: 8px;
  /* Smooth corners */
}

.home-image6 {
  flex: 1;
  width: 463px;
  height: 471px;
  object-fit: cover;
}

.home-fragment1 {
  display: contents;
}

.home-text24 {
  display: inline-block;
}

.home-fragment2 {
  display: contents;
}

.home-text27 {
  display: inline-block;
  font-size: 19px;
  line-height: 1.5;
}

.home-text29 {
  font-size: 19px;
  line-height: 1.5;
}

.home-text32 {
  font-size: 19px;
  line-height: 1.5;
}

.home-services {
  gap: var(--dl-layout-space-twounits);
  width: 100%;
  display: flex;
  max-width: var(--dl-layout-size-maxwidth);
  align-items: center;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  margin-bottom: 21px;
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
}

.home-text34 {
  color: rgb(18, 40, 33);
  width: 100%;
  font-size: 56px;
  max-width: 1000px;
  font-style: normal;
  text-align: center;
  font-weight: 500;
}

.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  width: 100%;
  margin-top: 40px;
}

/* Premium Image Service Cards */
.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(18, 40, 33, 0.12);
}

.card-image-wrapper {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.service-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card-img {
  transform: scale(1.05);
}

.card-icon-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 48px;
  height: 48px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(4px);
  z-index: 2;
}

.service-icon-small {
  width: 24px;
  height: 24px;
}

.card-content-box {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: #122821;
  margin-bottom: 12px;
  font-family: 'Lato', sans-serif;
}

.card-text {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.card-footer {
  margin-top: auto;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #122821;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.card-cta:hover {
  color: #408770;
}

.card-cta i {
  font-size: 12px;
  transition: transform 0.2s;
}

.card-cta:hover i {
  transform: translateX(4px);
}

/* Removed old row styles as we now use grid */

.home-testimonials {
  gap: var(--dl-layout-space-oneandhalfunits);
  width: 100%;
  display: flex;
  max-width: var(--dl-layout-size-maxwidth);
  align-items: center;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
}

.home-container3 {
  display: contents;
}

.home-text35 {
  color: rgb(18, 40, 33);
  font-size: 20px;
  max-width: 300px;
  font-family: "Lato";
  line-height: 30px;
}

.home-text37 {
  color: #122821;
  font-size: 20px;
  font-family: "Lato";
  line-height: 30px;
}

.home-fragment3 {
  display: contents;
}

.home-text38 {
  display: inline-block;
}

.home-banner {
  gap: var(--dl-layout-space-threeunits);
  width: 100%;
  display: flex;
  max-width: var(--dl-layout-size-maxwidth);
  align-items: center;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
  justify-content: center;
}

/* Premium Demo Section */
.home-container4 {
  gap: var(--dl-layout-space-twounits);
  width: 90%;
  max-width: 1200px;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  flex-direction: column;
  background: linear-gradient(135deg, #0f2e26 0%, #1a4d3f 100%);
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 30px 60px rgba(15, 46, 38, 0.4);
  margin: 60px auto;
  text-align: center;
}

/* Glassmorphism Circle Decorations */
.home-container4::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.home-container4::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -50px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(64, 135, 112, 0.2) 0%, rgba(64, 135, 112, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.home-header3 {
  gap: 24px;
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  z-index: 2;
  position: relative;
}

.home-title2 {
  color: #ffffff;
  font-size: 52px;
  max-width: 900px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  letter-spacing: -0.02em;
  background: linear-gradient(to right, #fff, #bcebc4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.home-description3 {
  color: #d1e8df;
  font-size: 20px;
  max-width: 600px;
  text-align: center;
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  font-weight: 300;
  margin-bottom: 32px;
}

.home-link1 {
  text-decoration: none;
  background: #ffffff;
  color: #0f2e26;
  font-size: 18px;
  font-weight: 700;
  padding: 18px 48px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.home-link1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0.1));
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.home-link1:hover::before {
  transform: translateX(100%);
}

.home-link1:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: #f0fff4;
}

.home-galleries {
  width: 100%;
  border: 2px dashed rgba(120, 120, 120, 0.4);
  display: flex;
  max-width: var(--dl-layout-size-maxwidth);
  align-items: center;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
}

.home-mission2 {
  width: 100%;
  border: 2px dashed rgba(120, 120, 120, 0.4);
  display: flex;
  max-width: var(--dl-layout-size-maxwidth);
  margin-top: var(--dl-layout-space-sixunits);
  align-items: flex-end;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  margin-bottom: 120px;
  padding-right: var(--dl-layout-space-oneandhalfunits);
  flex-direction: column;
}

.home-newsletter {
  gap: var(--dl-layout-space-oneandhalfunits);
  width: 100%;
  display: flex;
  max-width: var(--dl-layout-size-maxwidth);
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: var(--dl-layout-space-oneandhalfunits);
  padding-right: var(--dl-layout-space-oneandhalfunits);
  margin-bottom: 60px;
  flex-direction: column;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background: radial-gradient(circle at center, #fafff9 0%, #ffffff 100%);
}

.home-header4 {
  gap: var(--dl-layout-space-unit);
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.home-content4 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-text42 {
  color: rgb(18, 40, 33);
  width: 100%;
  font-size: 42px;
  max-width: 800px;
  font-style: normal;
  text-align: center;
  font-weight: 600;
  margin-bottom: 16px;
}

.home-text43 {
  color: rgb(18, 40, 33);
  width: 100%;
  font-size: 18px;
  text-align: center;
  line-height: 1.5;
  margin-bottom: 32px;
}

.home-content3 {
  gap: var(--dl-layout-space-unit);
  width: 100%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.home-email {
  width: 500px;
  max-width: 100%;
  display: flex;
  overflow: hidden;
  align-items: center;
  padding: 12px 16px;
  flex-direction: row;
  justify-content: center;
  background: linear-gradient(135deg, rgba(230, 249, 224, 0.3), rgba(255, 255, 255, 0.5));
  border: none;
  border-bottom: 3px solid #408770;
  border-radius: 12px 12px 0 0;
  transition: all 0.3s ease;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(64, 135, 112, 0.1);
}

.home-email:focus-within {
  border-bottom-color: #122821;
  box-shadow: 0 4px 16px rgba(64, 135, 112, 0.2);
  background: linear-gradient(135deg, rgba(230, 249, 224, 0.5), rgba(255, 255, 255, 0.7));
}

.home-textinput {
  flex: 1;
  color: #122821;
  outline: none;
  border: none;
  font-family: Lato;
  font-weight: 600;
  font-size: 16px;
  background-color: transparent;
  padding: 8px 4px;
}

.home-textinput::placeholder {
  color: rgba(18, 40, 33, 0.5);
  font-weight: 400;
}

.home-submit {
  width: 56px;
  cursor: pointer;
  height: 56px;
  display: flex;
  transition: all 0.3s ease;
  align-items: center;
  border-radius: var(--dl-layout-radius-round);
  flex-direction: row;
  justify-content: center;
  background: linear-gradient(135deg, #122821 0%, #408770 100%);
  border: none;
}

.home-submit:hover {
  background: linear-gradient(135deg, #408770 0%, #122821 100%);
  transform: scale(1.08);
  box-shadow: 0 4px 15px rgba(18, 40, 33, 0.3);
}

.home-image7 {
  width: 18px;
  filter: brightness(0) saturate(100%) invert(88%) sepia(8%) saturate(484%) hue-rotate(62deg) brightness(111%) contrast(95%);
  transform: rotate(-45deg);
  object-fit: cover;
}

.home-notice1 {
  width: 100%;
  display: flex;
  max-width: 450px;
  margin-top: 16px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
}

.home-notice2 {
  color: #64748b;
  width: 100%;
  font-size: 13px;
  text-align: center;
  font-family: "Lato";
  line-height: 1.4;
}

.home-fragment4 {
  display: contents;
}

.home-text44 {
  display: inline-block;
}

.home-fragment5 {
  display: contents;
}

.home-text45 {
  display: inline-block;
}

.home-fragment6 {
  display: contents;
}

.home-text46 {
  display: inline-block;
}

.home-fragment7 {
  display: contents;
}

.home-text47 {
  display: inline-block;
}

.home-fragment8 {
  display: contents;
}

.home-text48 {
  display: inline-block;
}

.home-fragment9 {
  display: contents;
}

.home-text49 {
  display: inline-block;
}

.home-container6 {
  display: contents;
}

.home-link2 {
  display: contents;
}

.home-container7 {
  right: 50px;
  border: 1px solid #ffffff5c;
  bottom: 30px;
  display: flex;
  z-index: 22;
  position: fixed;
  box-shadow: 5px 5px 10px 0px rgba(31, 31, 31, 0.4);
  min-height: auto;
  align-items: center;
  padding-top: 8px;
  padding-left: 12px;
  border-radius: 8px;
  padding-right: 12px;
  padding-bottom: 8px;
  backdrop-filter: blur(6px);
  background-color: rgba(41, 41, 41, 0.41);
}

.home-icon26 {
  width: 24px;
  margin-right: 4px;
}

.home-text50 {
  color: white;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
  line-height: 24px;
}

@media(max-width: 1200px) {
  .home-desktop-menu {
    display: none;
  }

  .home-burger-menu {
    display: flex;
  }

  #mobile-menu-open {
    display: flex;
    position: absolute;
    right: 18px;
    top: 14px;
    z-index: 1300;
    background: #E6F9E0;
    border-radius: 8px;
    padding: 8px;
  }

  .home-navbar-interactive {
    justify-content: center;
  }

  .home-mobile-quote {
    display: block;
  }

  .home-branding1 {
    display: flex;
    position: absolute;
    left: 18px;
    top: 10px;
  }
}

@media(max-width: 991px) {
  .home-navbar-interactive {
    width: 981px;
    height: 96px;
    padding-left: var(--dl-layout-space-oneandhalfunits);
    padding-right: var(--dl-layout-space-threeunits);
  }

  .home-icon10 {
    display: none;
  }

  .home-text10 {
    display: block;
    font-size: 24px; /* Slightly smaller for mobile */
    margin-top: 5px;
  }

  .home-icon12 {
    display: none;
  }

  .home-text14 {
    display: none;
  }


  .home-hero-legacy-removed {
    opacity: 0;
  }

  .home-image1 {
    display: none;
  }

  .home-image2 {
    width: 100%;
    height: auto;
    position: static;
    align-items: flex-end;
    aspect-ratio: 1;
    justify-content: flex-start;
  }

  .home-image4 {
    right: 23px;
    bottom: 0px;
    height: 430px;
    position: absolute;
  }

  .home-mission1 {
    gap: var(--dl-layout-space-unit);
    padding-top: var(--dl-layout-space-threeunits);
    padding-left: var(--dl-layout-space-oneandhalfunits);
    padding-right: var(--dl-layout-space-oneandhalfunits);
    padding-bottom: var(--dl-layout-space-fourunits);
  }

  .home-text17 {
    font-size: 18px;
    text-align: center;
    line-height: 23px;
  }

  .home-improve {
    gap: var(--dl-layout-space-fiveunits);
    padding-left: var(--dl-layout-space-oneandhalfunits);
    padding-right: var(--dl-layout-space-oneandhalfunits);
  }

  .home-content2 {
    height: 549px;
    flex-direction: column;
  }

  .home-image5 {
    width: 100%;
  }

  .home-image6 {
    width: 983px;
    height: 203px;
  }

  .home-services {
    align-items: center;
    padding-left: var(--dl-layout-space-oneandhalfunits);
    padding-right: var(--dl-layout-space-oneandhalfunits);
    justify-content: center;
  }

  .home-text34 {
    max-width: 500px;
    text-align: center;
  }

  .home-cards {
    flex-direction: column;
  }

  .home-testimonials {
    padding-left: var(--dl-layout-space-oneandhalfunits);
    padding-right: var(--dl-layout-space-oneandhalfunits);
  }

  .home-text35 {
    width: 326px;
    height: 94px;
    text-align: center;
    margin-left: 0px;
  }

  .home-banner {
    padding-left: var(--dl-layout-space-oneandhalfunits);
    padding-right: var(--dl-layout-space-oneandhalfunits);
  }

  .home-container4 {
    width: 927px;
    height: 341px;
  }

  .home-mission2 {
    margin-top: var(--dl-layout-space-threeunits);
    margin-bottom: var(--dl-layout-space-threeunits);
  }

  .home-newsletter {
    gap: var(--dl-layout-space-oneandhalfunits);
    padding-top: var(--dl-layout-space-threeunits);
    padding-left: var(--dl-layout-space-oneandhalfunits);
    margin-bottom: var(--dl-layout-space-threeunits);
    padding-right: var(--dl-layout-space-oneandhalfunits);
    padding-bottom: var(--dl-layout-space-threeunits);
  }

  .home-text42 {
    font-size: 32px;
  }

  .home-text43 {
    font-size: 16px;
    line-height: 24px;
  }

  .home-notice2 {
    font-size: 10px;
    line-height: 13px;
  }
}

@media(max-width: 767px) {
  .home-burger-menu {
    width: 40px;
    height: 40px;
    aspect-ratio: 1;
    border-radius: var(--dl-layout-radius-round);
    justify-content: center;
    background-color: #E6F9E0;
  }

  .home-button4 {
    color: rgb(18, 40, 33);
    padding-left: 0px;
    background-color: transparent;
  }

  .home-button5 {
    color: rgb(18, 40, 33);
    padding-left: 0px;
    background-color: transparent;
  }

  .home-button6 {
    color: rgb(18, 40, 33);
    padding-left: 0px;
    background-color: transparent;
  }

  .home-social-bar {
    padding-left: var(--dl-layout-space-twounits);
    padding-right: var(--dl-layout-space-twounits);
  }

  .home-title1 {
    font-size: 36px;
    line-height: 46px;
  }

  .home-description1 {
    font-size: 16px;
    line-height: 24px;
  }

  .home-image4 {
    height: 300px;
  }

  .home-mission1 {
    align-items: center;
  }

  .home-text18 {
    font-size: 32px;
    line-height: 41px;
  }

  .home-tabs {
    gap: var(--dl-layout-space-threeunits);
  }

  .home-switches {
    gap: var(--dl-layout-space-twounits);
    flex-direction: column;
  }

  .home-content2 {
    height: 541px;
    margin-top: 0px;
  }

  .home-details {
    gap: var(--dl-layout-space-threeunits);
  }

  .home-header2 {
    width: 100%;
  }

  .home-image6 {
    width: 706px;
    height: 190px;
  }

  .home-text35 {
    max-width: 100%;
    text-align: center;
  }

  .home-container4 {
    width: 100%;
    height: auto;
    padding: 60px 20px;
  }
}

@media(max-width: 479px) {
  .home-footer1 {
    padding-left: var(--dl-layout-space-unit);
    padding-right: var(--dl-layout-space-unit);
  }
}

/* --- UI/UX Improvements --- */

/* 1. Sticky Header Scrolled State */
.home-header1 {
  transition: padding 0.3s ease, background 0.3s ease, backdrop-filter 0.3s ease;
}
.home-header1.header-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 20px rgba(18, 40, 33, 0.08);
}

/* 2. Interactive Form Validation */
input.input-valid {
  border-color: #408770 !important;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23408770"><path d="M9 16.17l-4.17-4.17-1.42 1.41 5.59 5.59 12-12-1.41-1.41z"/></svg>');
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 20px;
  padding-right: 36px;
  box-shadow: 0 0 0 2px rgba(64, 135, 112, 0.1);
}
input.input-invalid {
  border-color: #E65103 !important;
  box-shadow: 0 0 0 2px rgba(230, 81, 3, 0.1);
}

/* 3. Enhanced Hover for Cards & Buttons */
.service-card {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(18, 40, 33, 0.12);
}
.ai-tech-card {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}
.ai-tech-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(18, 40, 33, 0.1);
}

/* 4. Unify Primary CTA (.home-button2) */
.home-button2 {
  background: linear-gradient(90deg, #06b6d4, #2dd4bf) !important;
  color: #ffffff !important;
  padding: 10px 24px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}
.home-button2:hover {
  transform: translateY(-3px) !important;
  background: linear-gradient(90deg, #05a0bb, #25bfae) !important;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.25) !important;
}

@media(max-width: 479px) {
  .home-social-bar {
    padding-top: var(--dl-layout-space-twounits);
    padding-left: var(--dl-layout-space-unit);
    padding-right: var(--dl-layout-space-unit);
    padding-bottom: var(--dl-layout-space-twounits);
  }

  .home-image4 {
    height: 170px;
  }

  .home-image6 {
    width: 371px;
    height: 140px;
  }

  .home-row1 {
    flex-direction: column;
  }

  .home-row2 {
    flex-direction: column;
  }

  .home-text35 {
    width: 421px;
    height: 49px;
  }

  .home-container4 {
    gap: 20px;
    width: 100%;
    height: auto;
    padding: 40px 20px;
    border-radius: 20px;
  }

  .home-title2 {
    font-size: 32px;
    line-height: 41px;
  }

  .home-description3 {
    font-size: 16px;
    line-height: 24px;
  }

  .home-email {
    width: 100%;
  }
}

/* Footer: mobile adjustments to stack contact under content */
@media (max-width: 767px) {
  .footer-footer {
    flex-direction: column;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;
    gap: 20px;
  }

  .footer-wrapper {
    display: block;
  }

  .footer-information,
  .footer-content,
  .footer-header {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  .footer-contact-list {
    align-items: center;
    width: 100%;
    margin-top: 6px;
  }

  .branding-image {
    width: 140px;
    margin: 0 auto 6px;
  }

  /* place contact list above the branding image on small screens */
  .footer-header {
    order: 2;
  }

  .footer-contact-list {
    order: 1;
  }
}

/* Hide footer contact form on small screens (mobile) */
@media (max-width: 767px) {
  #contact-modal {
    display: none !important;
  }

  .contact-form2-form {
    display: none !important;
  }
}

/* AI Consulting Section */
.home-ai-consulting {
  padding: var(--dl-layout-space-fiveunits) 0;
  text-align: center;
}

.home-text-ai-consulting {
  font-size: 32px;
  font-family: Lora;
  margin-bottom: var(--dl-layout-space-twounits);
}

/* AI Technology creative cards */
.home-ai-consulting {
  background: linear-gradient(180deg, rgba(230, 249, 224, 0.6), rgba(255, 255, 255, 0.6));
  padding: 48px 0 64px;
  /* offset anchor scrolling so fixed header doesn't cover content */
  scroll-margin-top: 140px;
}

/* Ensure About section anchors land below fixed header */
/* Ensure main section anchors land below fixed header */
#about,
.home-improve,
#services,
.home-services,
#ai-consulting,
.home-ai-consulting,
#contact,
.footer-footer {
  scroll-margin-top: 140px;
}

.ai-tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 24px auto 0;
  padding: 0 20px;
}

.ai-tech-card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(6px) saturate(120%);
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(11, 22, 33, 0.06);
  transition: transform 0.45s cubic-bezier(.2, .9, .2, 1), box-shadow 0.3s ease;
  text-align: left;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.ai-icon-wrapper {
  margin-bottom: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 140px;
  /* fixed height for alignment */
}

.ai-tech-img {
  width: 130px;
  height: auto;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  filter: drop-shadow(0 10px 15px rgba(20, 169, 255, 0.15));
}

.ai-tech-card:hover .ai-tech-img {
  transform: scale(1.1) translateY(-5px);
  filter: drop-shadow(0 15px 25px rgba(20, 169, 255, 0.25));
}

.ai-feature-list {
  margin-top: 18px;
  list-style: none;
  padding: 0;
  width: 100%;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  padding-top: 14px;
}

.ai-feature-list li {
  font-size: 15px;
  color: #555;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: Lato, sans-serif;
  line-height: 1.4;
}

.ai-feature-list li i {
  color: #1a9c33;
  /* success/growth green to match theme */
  font-size: 14px;
  min-width: 20px;
  text-align: center;
  background: rgba(26, 156, 51, 0.1);
  padding: 6px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-tech-card h3 {
  margin: 0 0 8px 0;
  font-size: 20px;
  color: #122821;
}

.ai-tech-card p {
  margin: 0;
  color: rgba(18, 40, 33, 0.85);
  line-height: 1.5;
  font-family: Lato, sans-serif;
}

.ai-tech-card:hover {
  transform: translateY(-10px) rotate(-0.5deg) scale(1.02);
  box-shadow: 0 24px 60px rgba(11, 22, 33, 0.12);
}

@media (max-width: 900px) {
  .ai-tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .home-ai-consulting {
    scroll-margin-top: 110px;
  }

  #about,
  .home-improve,
  #services,
  .home-services,
  #ai-consulting,
  .home-ai-consulting,
  #contact,
  .footer-footer {
    scroll-margin-top: 110px;
  }
}

@media (max-width: 600px) {
  .ai-tech-grid {
    grid-template-columns: 1fr;
  }

  .home-text-ai-consulting {
    font-size: 28px;
  }
}

/* AI Contact button */
.ai-contact-button {
  background: linear-gradient(90deg, #BF4408, #E65103);
  color: #fff;
  border: none;
  padding: 12px 26px;
  font-size: 18px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(181, 84, 46, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.ai-contact-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(181, 84, 46, 0.22);
}

/* Modal styles for AI contact */
.ai-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: 2200;
  padding: 20px;
}

.ai-modal-content {
  width: 520px;
  max-width: 100%;
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  box-shadow: 0 18px 60px rgba(11, 22, 33, 0.18);
  position: relative;
}

.ai-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.ai-modal-content h2 {
  margin-top: 0;
  margin-bottom: 12px;
}

.ai-modal-content label {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  color: #122821;
}

.ai-modal-content input,
.ai-modal-content textarea,
.ai-modal-content select {
  width: 100%;
  padding: 8px 10px;
  margin-top: 6px;
  border-radius: 6px;
  border: 1px solid #ddd;
  box-sizing: border-box;
}

.ai-modal-content textarea {
  resize: vertical;
}

.ai-modal-content .home-submit {
  background: #122821;
  color: #fff;
  border-radius: 6px;
}

.ai-modal-content .home-submit:hover {
  background: #0f6a56;
}

@media (max-width: 520px) {
  .ai-modal-content {
    padding: 16px;
  }
}


/* Horizontal scrolling animation for software logos */
.thq-grid-6 {
  display: flex;
  flex-wrap: nowrap;
  animation: scrollLogos 60s linear infinite;
}

@media (max-width: 768px) {
  .thq-grid-6 {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 32px !important;
    animation: scrollLogos 20s linear infinite !important;
    overflow: visible !important;
    margin: 20px 0 !important;
    width: max-content !important;
  }

  .logos1-container1 {
    overflow: hidden !important;
  }
}

@keyframes scrollLogos {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

.curved-connector {
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.curved-connector svg {
  width: 100%;
  height: 100%;
}

@media(min-width: 1201px) {
  .home-desktop-menu {
    display: flex;
  }

  .home-burger-menu {
    display: none;
  }
}

/* Force-visible hamburger and mobile menu behavior for mobile devices */
@media (max-width: 1200px) {
  .home-desktop-menu {
    display: none !important;
  }

  .home-burger-menu {
    display: flex !important;
  }

  #mobile-menu-open {
    display: flex !important;
    position: fixed !important;
    top: 14px !important;
    right: 14px !important;
    z-index: 9999 !important;
    background: #E6F9E0 !important;
    border-radius: 8px !important;
    padding: 8px !important;
    pointer-events: auto !important;
  }

  .home-mobile-menu {
    transform: translateY(-100%) !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    z-index: 1400 !important;
    display: flex !important;
  }

  .home-mobile-menu.open {
    transform: translateY(0) !important;
  }
}

.home-mobile-quote {
  display: none;
  color: rgb(18, 40, 33);
  font-size: 18px;
  font-family: Lato;
  line-height: 27px;
  padding-top: var(--dl-layout-space-halfunit);
  padding-left: 0px;
  border-radius: 0px;
  padding-right: 0px;
  padding-bottom: var(--dl-layout-space-halfunit);
  background-color: transparent;
  align-items: center;
}

/* Specialties Grid */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  width: 100%;
  max-width: 1000px;
}

.specialty-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.specialty-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.specialty-item i {
  font-size: 2rem;
  color: #28a745;
  margin-bottom: 10px;
}

.specialty-item span {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

/* Specialty Grid Improvements */
.specialties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 40px;
  width: 100%;
}

.specialty-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #eef2ef;
}

@media (max-width: 768px) {
  .specialties-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .specialty-item {
    padding: 20px 12px;
  }
}

@media (max-width: 480px) {
  .specialties-grid {
    gap: 12px;
  }

  .specialty-item {
    padding: 16px 8px;
  }

  .specialty-item i {
    font-size: 1.4rem;
  }

  .specialty-item span {
    font-size: 13px;
  }
}

/* Dropdown Menu */
.dropdown {
  position: relative;
  display: inline-block;
}

.dropbtn {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  padding: 0;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  border-radius: 4px;
  top: 100%;
  left: 0;
}

.dropdown-content a {
  color: #333;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  font-size: 18px;
  font-family: Lato;
  line-height: 27px;
  font-weight: 400;
}

.dropdown-content a:hover {
  background-color: #28a745;
  color: white;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  color: #28a745;
}

/* Contact Box */
.modal {
  display: block;
  position: absolute;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.modal-content {
  background-color: #fff;
  padding: 20px;
  border: 1px solid #888;
  width: 300px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
}

#contact-form {
  display: flex;
  flex-direction: column;
}

#contact-form input,
#contact-form textarea {
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

#contact-form button {
  padding: 10px;
  background-color: #28a745;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

#contact-form button:hover {
  background-color: #218838;
}

.contact-btn {
  margin-top: 10px;
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.contact-btn:hover {
  background-color: #0056b3;
}

/* Standardized Menu Button (from RCM Training) */
.title-button,
.home-button1 {
  background: none;
  border: none;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--forest);
  cursor: pointer;
  text-decoration: none;
  transition: 0.3s;
}

/* Ensure hover effect is consistent */
.title-button:hover,
.home-button1:hover {
  background-color: rgba(230, 249, 224, 0.5);
  opacity: 1;
}

/* Fix dropdown display globally */
.dropdown.open .dropdown-content,
.dropdown:hover .dropdown-content {
  display: block;
}

/* Critical Header Styles (Restored) */
.home-header1 {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.85));
  backdrop-filter: blur(6px);
}

.home-navbar-interactive {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 24px;
}

/* Default: Hide Mobile Menu Elements on Desktop */
.home-burger-menu,
.home-mobile-menu {
  display: none;
}

@media (max-width: 991px) {
  /* Rules for showing them are already handled by IDs in existing media queries */
}

/* Mobile Menu Refinements */
.home-mobile-menu {
  background-color: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 9999 !important;
  width: 100% !important;
  top: 0 !important;
  left: 0 !important;
}

.home-text13 {
  font-size: 32px !important;
  font-family: 'Dancing Script', cursive !important;
  background: linear-gradient(90deg, #06b6d4, #2dd4bf) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: #06b6d4 !important;
  /* Fallback */
  text-decoration: none !important;
  font-weight: 700 !important;
  line-height: normal !important;
}

/* Enhanced Mobile Menu Buttons (Full Opacity) */
.mobile-links {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

.mobile-links .home-button1,
.mobile-links .home-button2 {
  background-color: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  margin-bottom: 12px !important;
  color: #122821 !important;
  opacity: 1 !important;
  text-decoration: none !important;
  width: 80% !important;
  max-width: 300px !important;
  text-align: center !important;
  display: flex !important;
  justify-content: center !important;
}

/* Fix for nested dropdown button width and style matching */
.mobile-links .dropdown {
  width: 80% !important;
  max-width: 300px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  margin-bottom: 12px !important;
  /* Match margin of adjacent buttons */
}

/* Ensure the button inside dropdown looks EXACTLY like the others */
.mobile-links .dropdown .home-button1 {
  width: 100% !important;
  max-width: none !important;
  margin-bottom: 0 !important;
  /* Margin handled by wrapper */
  background-color: #ffffff !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1) !important;
  color: #122821 !important;
  font-size: 18px !important;
  /* Explicitly match others */
  font-family: inherit !important;
  padding: 14px 18px !important;
  /* Explicit match */
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  border-radius: 50px !important;
  /* Should match .home-button1 usually */
}



.mobile-links .home-button2 {
  background: linear-gradient(90deg, #06b6d4, #2dd4bf) !important;
  color: #ffffff !important;
}

/* Mobile Dropdown Fix */
.mobile-links .dropdown-content {
  display: none !important;
  background-color: #f9f9f9 !important;
  border-radius: 12px !important;
  padding: 8px !important;
  margin-top: -8px !important;
  margin-bottom: 16px !important;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.06) !important;
  width: 100% !important;
}

.mobile-links .dropdown.open .dropdown-content {
  display: flex !important;
  flex-direction: column !important;
}

/* Center Mobile Menu Logo */
@media (max-width: 991px) {
  .home-top {
    justify-content: center !important;
    position: relative !important;
    width: 100% !important;
  }

  .home-menu-close {
    position: absolute !important;
    right: 0 !important;
  }
}

/* Fix Demo CTA Section on Mobile */
@media (max-width: 991px) {
  .home-container4 {
    height: auto !important;
    min-height: 400px !important;
    padding: 60px 20px !important;
    justify-content: center !important;
  }

  .home-header3 {
    gap: 30px !important;
  }
}

/* =========================================
   GLOBAL CREATIVE FALLING LEAVES ANIMATION
   ========================================= */
.falling-leaves-container {
  position: absolute;
  /* Changed from fixed to absolute to scroll with page */
  top: 0;
  left: 0;
  width: 100%;
  height: 2500px;
  /* Limits animation to top sections only */
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  display: block;
  perspective: 1000px;
  /* Mask at the bottom for smooth fade out */
  mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 90%, transparent 100%);
}

.leaf {
  position: absolute;
  top: -100px;
  font-size: 28px;
  opacity: 0.8;
  user-select: none;
  will-change: transform, top, opacity;
  text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Depth variations */
.leaf:nth-child(2n) {
  filter: blur(1px);
  opacity: 0.6;
  transform: scale(0.8);
  z-index: 0;
}

.leaf:nth-child(3n) {
  filter: blur(2px) hue-rotate(15deg);
  opacity: 0.4;
  transform: scale(0.6);
  z-index: 0;
}

.leaf:nth-child(5n) {
  filter: none;
  opacity: 0.9;
  transform: scale(1.2);
  z-index: 2;
  text-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* Animation Keyframes */
@keyframes leaf-fall {
  0% {
    top: -10%;
    transform: translateX(0) rotateX(0) rotateY(0) rotateZ(0);
  }

  100% {
    top: 110%;
    transform: translateX(20px) rotateX(180deg) rotateY(360deg) rotateZ(180deg);
  }
}

@keyframes leaf-sway {
  0% {
    top: -10%;
    transform: translateX(0) rotateZ(0);
  }

  25% {
    transform: translateX(60px) rotateZ(45deg) rotateX(45deg);
  }

  50% {
    transform: translateX(10px) rotateZ(90deg) rotateY(45deg);
  }

  75% {
    transform: translateX(-60px) rotateZ(135deg) rotateX(90deg);
  }

  100% {
    top: 110%;
    transform: translateX(0) rotateZ(360deg) rotateY(360deg);
  }
}

@keyframes leaf-windy {
  0% {
    top: -10%;
    transform: translateX(0) translateZ(0) rotate(0);
  }

  30% {
    transform: translateX(120px) translateZ(50px) rotateZ(90deg) rotateX(60deg);
  }

  60% {
    transform: translateX(-40px) translateZ(-50px) rotateZ(180deg) rotateY(60deg);
  }

  100% {
    top: 110%;
    transform: translateX(60px) translateZ(0) rotateZ(360deg) rotateX(360deg);
  }
}

/* --- Advanced UI/UX Improvements --- */

/* 1. Custom Brand Accents */
::selection {
  background-color: rgba(64, 135, 112, 0.3);
  color: #122821;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f4f9f7;
}
::-webkit-scrollbar-thumb {
  background: #408770;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #122821;
}

/* 2. Interactive Cursor */
body {
  cursor: none; /* Hide default cursor */
}
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 12px;
  height: 12px;
  background-color: #408770;
  border-radius: 50%;
  pointer-events: none;
  z-index: 999999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease, opacity 0.2s ease;
}
#custom-cursor.cursor-hover {
  width: 40px;
  height: 40px;
  background-color: rgba(64, 135, 112, 0.2);
  border: 1px solid #408770;
}
/* Fallback for touch devices */
@media (pointer: coarse) {
  body { cursor: auto; }
  #custom-cursor { display: none; }
}

/* 3. Advanced Text Reveal Animation */
.text-reveal-container {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 12px;
  overflow: hidden;
  padding-bottom: 5px; /* Prevent clipping */
}
.reveal-word {
  display: inline-block;
  transform: translateY(120%);
  opacity: 0;
  animation: revealUp 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: var(--delay, 0s);
}
@keyframes revealUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* 4. Tree Growth Animation */
.growing-tree-svg {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
.growing-tree-path {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  transition: stroke-dashoffset 2s ease-out;
}
.growing-tree-path.grown {
  stroke-dashoffset: 0;
}

/* Ensure about section can position relative elements */
.home-improve {
  position: relative;
  overflow: hidden;
}

@media (max-width: 768px) {
  .service-card .card-content-box {
    text-align: center;
    align-items: center;
  }
  .service-card .card-image-wrapper {
    margin: 0 auto;
    width: 90%;
    border-radius: 12px;
    margin-top: 24px;
  }
}