/* ------------------------------------------------------------------- */
/* ---------------------ENTIRE DOCUMENT STYLING----------------------- */
/* ------------------------------------------------------------------- */
* {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
  font-family: inter;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* ------------------------------------------------------------------- */
/* ----------------------FONT SIZES, COLOR, BOLD---------------------- */
/* ------------------------------------------------------------------- */

.text-biggest-size {
  font-size: clamp(1.8rem, 1.8vw + 1.6rem, 2.8rem);
}

.text-bigger-size {
  font-size: clamp(1.3rem, 1.2vw + 1rem, 1.75rem);
}

.text-big-size {
  font-size: clamp(1rem, 0.9vw + 0.9rem, 1.2rem);
}

.text-small-size {
  font-size: 0.8rem;
}

.text-color-dark-blue {
  color: #081456;
}

.text-color-light-blue {
  color: #536ebf;
}

.text-color-light-grey {
  color: #666666;
}

.text-color-dark-grey {
  color: #555555;
}

.text-color-white {
  color: rgb(248, 249, 250);
}

.text-bold {
  font-weight: 600;
}

.text-line-height-bigger {
  line-height: 33px;
}

.text-line-height-big {
  line-height: 25px;
}

.metric-size {
  font-size: clamp(2rem, 3vw + 2rem, 5rem);
}

.primary-btn {
  background: #041260;
  color: #e0e0e0;
  border: 2px solid #041260;
  border-radius: 24px;

  padding: 13px 30px;
  width: 180px;
  text-align: center;
  font-size: clamp(14px, 1vw + 0px, 17px);
  box-shadow: 0px 8px 10px rgba(255, 255, 255, 0.676);
  text-wrap: nowrap;
}

.secondary-btn {
  background: rgba(245, 245, 245, 0.776);
  color: #041260;
  border: 2px solid #041260;
  border-radius: 24px;
  padding: 13px 30px;
  width: 180px;
  text-align: center;
  font-size: clamp(14px, 1vw + 0px, 17px);
  box-shadow: 0px 8px 10px rgba(0, 0, 0, 0.15);
  text-wrap: nowrap;
}

button,
.services-grid-item,
.services-description-heading i {
  cursor: pointer;
}

a {
  text-decoration: none;
}

/* ------------------------------------------------------------------- */
/* ---------------------------NAVBAR STYLING-------------------------- */
/* ------------------------------------------------------------------- */

nav {
  background-color: rgba(255, 255, 255, 0.432);
  box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);

  padding: 0 clamp(1rem, 2vw + 0.5rem, 2.5rem);
  height: 4rem;
  display: flex;
  position: fixed;

  top: 0;
  z-index: 999;
  width: 100%;

  backdrop-filter: blur(10px);
}
.nav-container {
  display: flex;
  height: 100%;
  width: 100%;
}

.navbar-left a,
.navbar-center a,
.navbar-right a {
  text-wrap: nowrap;
}

.navbar-left {
  padding: 0 clamp(0.75rem, 1vw + 0.5rem, 2rem);
  flex: 1;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.navbar-center {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 clamp(5rem, 8vw + 2rem, 13rem);
  flex: 2;
  gap: 2rem;
}

.navbar-right {
  padding: 0 clamp(0.75rem, 1vw + 0.5rem, 2rem);
  flex: 1;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

nav a.active {
  border-bottom: 0.1875rem solid #536ebf;
  font-weight: bold;
  color: #536ebf;
}

.navbar-toggle {
  display: none;
  background: transparent;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  border-radius: 10px;
  background: #5e5a96;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 1300px) {
  .nav {
    backdrop-filter: none;
  }

  .navbar-right {
    display: none;
  }
  .navbar-center {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 250px;
    padding: 5rem 1.5rem;
    background-color: white;
    box-shadow: -0.125rem 0 0.3125rem rgba(0, 0, 0, 0.1);
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.5rem !important;
    transform: translateX(100%);
    transition: transform 0.4s ease;
    z-index: 998;
  }

  .navbar-center.active {
    transform: translateX(0);
  }

  .navbar-toggle {
    display: block;
    z-index: 999;
  }
  .navbar-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }
  .navbar-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ------------------------------------------------------------------- */
/* --------------------------- HERO STYLING--------------------------- */
/* ------------------------------------------------------------------- */

.home {
  height: 50rem;

  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: min(6.25rem, 8%) min(9.375rem, 8%) min(4.375rem, 8%)
    min(9.375rem, 8%);

  background-image: url(images/hero.webp);
  background-size: cover;
}

.cta-section-hero {
  padding: clamp(5rem, 2vw + 0.5rem, 2.5rem) 0 0 0;

  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;

  height: 100%;
  width: 100%;
}

.cta-heading {
  width: 100%;
}

.cta-body {
  margin-top: clamp(0.6rem, 0.8vw + 0.3rem, 1.2rem);
  width: 100%;
}

.cta-body p {
  font-size: clamp(0.9rem, 0.6vw + 0.8rem, 1.2rem);
}

.cta-button {
  margin-top: clamp(1.2rem, 1.5vw + 0.7rem, 2.4rem);

  display: flex;

  justify-content: flex-start;
  align-items: center;
  gap: clamp(0.75rem, 1vw + 0.45rem, 1.5rem);

  width: 100%;
}

.cta-button i {
  padding-left: 0.5rem;
}

.cta-metrics {
  margin-top: auto;
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.cta-metrics i {
  color: #081456;
}

.nav-scrolled {
  background-color: white;
  box-shadow: 0 0.125rem 0.3125rem rgba(0, 0, 0, 0.1);
}

@media (max-width: 780px) {
  .home {
    max-height: 90vh;
  }
}
@media (max-width: 435px) {
  .cta-button {
    flex-direction: column;
    justify-content: space-between;

    gap: clamp(0.9rem, 1.2vw + 0.5rem, 1.8rem);

    margin-top: clamp(3rem, 3vw + 2.2rem, 6rem);
  }
  .home {
    max-height: 90vh;
  }

  .cta-metrics {
    text-align: center;
    flex-direction: column;
    gap: 0;
  }
  .cta-metrics span {
    padding-top: 0.7rem;
  }
  .vertical-bar {
    display: none;
  }
}
@media (width>780px) {
  .home {
    background-position: center;
  }
}
@media (width<720px) {
  .cta-heading h1,
  .cta-body span {
    text-align: center;
    display: block;
    width: 100%;
  }
  .cta-button {
    justify-content: center;
  }
  .cta-section-hero {
    margin-top: clamp(2rem, 3vw + 2rem, 5.5rem);

    padding-bottom: clamp(1.2rem, 1.4vw + 0.8rem, 2.4rem);
  }
}
@media (width>1600px) {
  .home {
    max-height: 90vh;
  }
}

/* ------------------------------------------------------------------- */
/* -------------------ABOUT US SECTION STYLING------------------------ */
/* ------------------------------------------------------------------- */

.about-us {
  padding: min(4.375rem, 8%) min(9.375rem, 8%);

  height: fit-content;

  background-color: rgb(248, 249, 250);
}

.aboutus-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(1rem, 2vw + 0.5rem, 2.5rem);
}

.aboutus-content {
  padding: min(1.25rem, 4%);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 2vw + 1rem, 3rem);

  flex: 1;
}

.about-us .cta-button {
  margin-top: 0;
  justify-content: right;
}

.aboutus-picture {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}

.aboutus-picture img {
  margin: 10px;
  width: 100%;
  height: 100%;
  min-height: 15rem;
  object-fit: cover;
  border-radius: clamp(1rem, 1vw + 1rem, 2.5rem);
  box-shadow: 0 0.25rem 0.9375rem rgba(0, 0, 0, 0.15);
}

.aboutus-metrics {
  margin-top: clamp(1.5rem, 2vw + 1rem, 3.5rem);
  height: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: 1fr;
  grid-column-gap: clamp(1rem, 0.9vw + 0.5rem, 2.5rem);
  grid-row-gap: 1rem;
  text-align: center;
}

.aboutus-metric1,
.aboutus-metric2,
.aboutus-metric3,
.aboutus-metric4 {
  background-color: #e9edf2;
  padding: clamp(0.5rem, 1vw + 0.2rem, 1.2rem) 0rem;
  border-radius: 1.5rem;
}

@media (max-width: 970px) {
  .aboutus-top {
    flex-direction: column-reverse;
  }
  .aboutus-picture img {
    aspect-ratio: 16/8;
  }
  .about-us .cta-button {
    justify-content: left;
  }
  .aboutus-metrics {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }
  .aboutus-content {
    padding: 0;
  }
}

@media (max-width: 600px) {
  .aboutus-metrics {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

/* ------------------------------------------------------------------- */
/* -------------------------- WHY CHOOSE US -------------------------- */
/* ------------------------------------------------------------------- */

.core-values {
  padding: min(4.375rem, 8%) min(9.375rem, 8%);
  background-color: rgb(248, 249, 250);
  text-align: center;
}

.core-values-parent {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 0.9375rem;
  height: 28rem;
  margin-top: 1.25rem;
  list-style: none;
}

.core-value-1 {
  grid-row: span 2 / span 2;
  background-image: url(images/why-us-1.webp);
  background-size: cover;
}

.core-value-2 {
  background: #8f9fc9;
  background: linear-gradient(
    143deg,
    rgba(143, 159, 201, 1) 0%,
    rgba(227, 235, 250, 1) 100%
  );
}

.core-value-3 {
  grid-row: span 2 / span 2;
  background-image: url(images/why-us-2.webp);
  background-size: cover;
}

.core-value-4 {
  grid-column-start: 2;
  grid-row-start: 2;
  background: #8f9fc9;
  background: linear-gradient(
    335deg,
    rgba(143, 159, 201, 1) 0%,
    rgba(227, 235, 250, 1) 100%
  );
}

.core-values-child {
  border-radius: 0.9375rem;
  padding: clamp(1rem, 1.8vw + 1rem, 3rem);
  text-align: center;
  transition: box-shadow 0.4s ease-in-out 0s, transform 0.4s ease-in-out 0s;
}

.core-value-1 h4,
.core-value-1 p,
.core-value-3 h4,
.core-value-3 p {
  color: rgb(204, 215, 245);
}

.core-values-child:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
  transform: scale(1.029);
}

@media (max-width: 1100px) {
  .core-values-parent {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
    height: 41rem;
  }
  .core-values-child {
    grid-row: unset;
  }
  .core-value-1 {
    grid-row: span 3;
  }
  .core-value-2 {
    grid-column-start: 1;
    grid-row-start: 4;
  }
  .core-value-4 {
    grid-column-start: 2;
    grid-row-start: 1;
  }
  .core-value-3 {
    grid-row: span 3;
  }
  .core-values-child {
    padding: clamp(2rem, 2.5vw + 1rem, 5rem);
  }
}

@media (max-width: 1000px) {
  .core-values-parent {
    height: 38rem;
  }
}

@media (max-width: 890px) {
  .core-values-parent {
    height: 35rem;
  }
}

@media (max-width: 880px) {
  .core-values-parent {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(4, 1fr);
    height: fit-content;
  }
  .core-value-1 {
    grid-row-start: 1;
    background-image: linear-gradient(
      to right bottom,
      #23569c,
      #2c5ca3,
      #3463aa,
      #3c69b1,
      #4470b8,
      #4b76bd,
      #527dc3,
      #5983c8,
      #618acd,
      #6992d1,
      #7299d6,
      #7aa1da
    );
  }
  .core-value-2 {
    grid-row-start: 2;
  }
  .core-value-4 {
    grid-row-start: 3;
    grid-column-start: auto;
  }
  .core-value-3 {
    grid-row-start: 4;
    background: #294888;
    background: linear-gradient(
      14deg,
      rgba(41, 72, 136, 1) 11%,
      rgba(91, 128, 198, 1) 51%
    );
  }
}

/* ------------------------------------------------------------------- */
/* ------------------------------ SERVICES --------------------------- */
/* ------------------------------------------------------------------- */

.services {
  text-align: center;
  height: fit-content;
  padding: min(4.375rem, 8%) min(9.375rem, 8%);
  background-color: rgb(251, 252, 253);
}

.services h4 {
  padding-top: clamp(0.75rem, 0.8vw + 0.5rem, 1.5rem);
  text-align: left;
}

.services-grid {
  height: 38rem;
  display: grid;
  grid-template-columns: 0.7fr 0.5fr 1fr;
  grid-template-rows: repeat(4, 1fr);
  gap: clamp(1.1rem, 1.4vw + 0.7rem, 2.3rem);
  padding-top: clamp(1.2rem, 1.2vw + 0.8rem, 2.4rem);
}

.service-heading {
  padding-right: clamp(3rem, 4vw + 1.5rem, 6rem);
  grid-row: 1/5;
  grid-column: 1/2;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}
.service-heading h3,
.service-heading p {
  padding-bottom: clamp(1.5rem, 1.6vw + 0.5rem, 3rem);
  text-align: left;
  width: 100%;
}

.service-1 {
  grid-column: 2/3;
  grid-row: 1/2;
}
.service-2 {
  grid-column: 2/3;
  grid-row: 2/3;
}
.service-3 {
  grid-column: 2/3;
  grid-row: 3/4;
}
.service-4 {
  grid-column: 2/3;
  grid-row: 4/5;
}
.service-description {
  grid-column: 3/4;
  grid-row: 1/5;
  border-radius: clamp(0.95rem, 0.8vw + 0.5rem, 1.75rem);
  height: 100%;
  overflow: hidden;
  background: #f5f5fb;
  background: linear-gradient(
    0deg,
    rgba(245, 245, 251, 1) 13%,
    rgba(172, 197, 242, 1) 64%
  );
}

.service-description-mobile {
  display: none;
}

@media (max-width: 1200px) {
  .service-heading h3,
  .service-heading p {
    text-align: center;
  }
  .services-grid {
    height: 50rem;
    grid-template-columns: 1fr 1.5fr;
    grid-template-rows: repeat(5, 1fr);
  }
  .service-heading {
    grid-row: 1/2;
    grid-column: 1/3;
  }

  .service-1 {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .service-2 {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .service-3 {
    grid-column: 1/2;
    grid-row: 4/5;
  }
  .service-4 {
    grid-column: 1/2;
    grid-row: 5/6;
  }
  .service-description {
    grid-column: 2/3;
    grid-row: 2/6;
  }
}

@media (max-width: 890px) {
  .services-grid {
    height: 60rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 0.6fr 0.6fr repeat(4, 1fr);
    column-gap: 5rem;
  }
  .service-heading {
    grid-row: 1/2;
    grid-column: 1/3;
  }

  .service-1 {
    grid-column: 1/2;
    grid-row: 2/3;
  }
  .service-2 {
    grid-column: 2/3;
    grid-row: 2/3;
  }
  .service-3 {
    grid-column: 1/2;
    grid-row: 3/4;
  }
  .service-4 {
    grid-column: 2/3;
    grid-row: 3/4;
  }
  .service-description {
    grid-column: 1/3;
    grid-row: 4/8;
  }
}

.services-grid-item {
  all: unset;
  display: block;
  width: 100%;
  cursor: pointer;

  border-radius: clamp(0.8rem, 0.7vw + 0.4rem, 1.6rem);
  background-color: #f5f5fb;
  transition: box-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
  align-self: center;
  align-content: center;
  text-align: start;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.services-grid-item:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 4px;
}

.services-grid-item p {
  padding: clamp(0.7rem, 1vw + 0.4rem, 1.6rem) 0;
}

.services-grid-item .number {
  font-size: clamp(1rem, 0.9vw + 0.6rem, 1.45rem);
  height: clamp(2rem, 1.8vw + 1rem, 3.4rem);
  width: clamp(2rem, 1.8vw + 1rem, 3.4rem);
  color: #dee1f8;
  background-color: #081456;
  border: 1rem solid #081456;

  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  left: clamp(-2rem, -1vw - 0.5rem, -1.1rem);
  top: clamp(-2.8rem, -1.4vw - 0.8rem, -1.6rem);
}

.services-grid-item:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
}

.services-grid-item.active {
  background: #acc5f2;
  background: radial-gradient(
    circle,
    rgba(245, 245, 251, 1) 0%,
    rgba(172, 197, 242, 1) 100%
  );
  transform: scale(1.045);
  transition: all 0.3s ease-in-out;
}

.services-description-picture {
  height: 55%;
  border-top-left-radius: clamp(0.35rem, 0.6vw + 0.25rem, 0.8rem);
  border-top-right-radius: clamp(0.35rem, 0.6vw + 0.25rem, 0.8rem);

  position: relative;
}

.services-description-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.services-description-bottom {
  padding: clamp(0.6rem, 0.8vw + 0.3rem, 1.2rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 45%;
}

.services-description-heading {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.services-description-heading i {
  color: #536ebf;
  position: relative;
}

.services-description-heading p {
  min-width: 400px;
}

.fa-caret-left {
  left: 2%;
}
.fa-caret-right {
  right: 2%;
}

.fa-caret-left.disabled,
.fa-caret-right.disabled {
  opacity: 0.3;
  pointer-events: none;
  cursor: default;
}

.services-description-bottom p {
  padding: clamp(0.3rem, 0.6vw + 0.15rem, 0.65rem) 0;
}

.services-description-bottom a {
  display: inline-block;
  margin-top: auto;
}

/* Top animation */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-0.75rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Bottom animation */
@keyframes fadeLeft {
  from {
    opacity: 0;
    transform: translateX(0.75rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.services-description-picture,
.services-description-heading p,
.services-description-bottom p {
  opacity: 0;
}

.services-description-picture.fade-in {
  animation: fadeDown 0.7s ease-in-out forwards;
}

.services-description-heading p.fade-in,
.services-description-bottom p.fade-in {
  animation: fadeLeft 1s ease-in-out 0.45s forwards;
}

@media (max-width: 680px) {
  .services-grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: fit-content;
    gap: clamp(1.8rem, 1.3vw + 0.9rem, 2.6rem);
  }

  .service-heading {
    padding-right: 0;
  }

  .service-heading h3,
  .service-heading p {
    width: 100%;
  }

  .service-description {
    display: none !important;
  }

  .services-grid-item {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
  }

  .services-grid-item > p {
    padding: 0 clamp(0.9rem, 1vw + 0.6rem, 1.8rem)
      clamp(1.2rem, 1.3vw + 1.5rem, 2.4rem) clamp(0.9rem, 1vw + 0.6rem, 1.8rem);

    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .services-grid-item .number {
    left: clamp(-1.4rem, -1vw - 0.4rem, -1rem);
    top: clamp(-1.4rem, -1vw - 0.4rem, -1rem);
  }

  /* Chevron icon */
  .services-grid-item > p:first-of-type::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #536ebf;

    margin-left: auto;
  }

  .services-grid-item.active::after {
    transform: rotate(180deg);
  }

  .service-description-mobile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }

  .services-grid-item.active .service-description-mobile {
    max-height: fit-content;
    opacity: 1;
    padding: 0 clamp(0.9rem, 1vw + 0.6rem, 1.8rem)
      clamp(1.2rem, 1.3vw + 1.5rem, 2.4rem) clamp(0.9rem, 1vw + 0.6rem, 1.8rem);
  }

  .service-description-mobile-img {
    width: 100%;
    height: 180px;
    border-radius: clamp(0.5rem, 0.6vw + 0.25rem, 0.95rem);
    background-size: cover;
    background-position: center;
  }

  .service-description-mobile-text {
    margin-bottom: clamp(0.75rem, 1vw + 0.4rem, 1.6rem);
  }

  .services-grid-item.active {
    transform: scale(1);
  }

  .services-grid-item:hover {
    box-shadow: none;
  }

  @keyframes slideDown {
    from {
      opacity: 0;
      transform: translateY(-10px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .services-grid-item.active .service-description-mobile {
    animation: slideDown 0.4s ease-out;
  }
}

/* ------------------------------------------------------------------- */
/* ------------------------------ CALL US ---------------------------- */
/* ------------------------------------------------------------------- */

.call-us-section {
  background-color: rgb(251, 252, 253);
  padding-bottom: min(4.375rem, 8%);
}

.call-us {
  text-align: center;
  margin: 0 min(9.375rem, 8%);
  padding-left: clamp(1.2rem, 1.2vw + 0.8rem, 2.4rem);

  background-color: #d7e2f9;
  background: #3b5ca2;
  background: linear-gradient(
    90deg,
    rgba(59, 92, 162, 1) 11%,
    rgba(98, 129, 196, 1) 49%
  );

  border-radius: clamp(0.8rem, 0.6vw + 0.6rem, 1.6rem);
  display: flex;
  height: fit-content;
  box-shadow: 0 0.5rem 0.625rem rgba(0, 0, 0, 0.15);
}

.call-us-image1 {
  background-image: url(images/call-us.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex: 1;
}
.call-us-bottom p {
  padding-bottom: clamp(1rem, 1.1vw + 0.5rem, 1.9rem);
}

.call-us-content {
  flex: 1.5;
  padding: 0 clamp(0.8rem, 1vw + 0.6rem, 2rem);
}
@media (max-width: 1100px) {
  .call-us-content {
    flex: 1;
  }
}
@media (max-width: 1000px) {
  .call-us-image1 {
    display: none;
  }
  .call-us {
    padding-left: 0;
  }
}

@media (max-width: 500px) {
  .call-us-image1 {
    display: block;
  }
  .call-us {
    flex-direction: column-reverse;
    height: 30rem;
  }
}

.call-us-top {
  padding-top: clamp(2.5rem, 4vw + 1rem, 5.5rem);
}
.call-us-top h1,
.call-us-top span {
  color: rgb(243, 245, 251);
}

.call-us-bottom {
  padding-top: clamp(0.75rem, 0.8vw + 0.5rem, 1.5rem);
  color: #e6e7ee;
}

.call-us-bottom a {
  display: inline-block;
  margin-top: clamp(0.75rem, 0.8vw + 0.5rem, 1.5rem);
  margin-bottom: clamp(1.8rem, 2.2vw + 1rem, 3.6rem);

  box-shadow: 0 0 3.125rem #9b9eb7;
}

.call-us-bottom i {
  font-size: clamp(0.9rem, 0.6vw + 0.6rem, 1.25rem);
  color: #dee1f8;
  margin-right: 0.5rem;
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;

  padding: clamp(1.2rem, 1.4vw + 0.6rem, 2.4rem);

  border-radius: clamp(0.45rem, 0.5vw + 0.3rem, 1rem);
  max-width: 25rem;
  width: 90%;
  text-align: center;
  box-shadow: 0 0.3125rem 1.25rem rgba(0, 0, 0, 0.2);
}

.modal-box h2 {
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
  color: #1a3d7c;
}

.modal-box .phone-number {
  font-size: clamp(1.05rem, 0.8vw + 0.7rem, 1.55rem);
  font-weight: bold;
  color: #0077b6;
  margin: clamp(0.6rem, 0.8vw + 0.3rem, 1.2rem) 0
    clamp(0.9rem, 1vw + 0.5rem, 1.8rem);
}

.modal-box p {
  margin-bottom: 1.2rem;
  color: #333;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* ------------------------------------------------------------------- */
/* --------------------------- HOW IT WORKS -------------------------- */
/* ------------------------------------------------------------------- */

.how-it-works-section {
  background-color: rgb(248, 249, 250);
  padding-top: min(4.375rem, 8%);
  height: fit-content;
}

.how-it-works {
  margin: 0 min(9.375rem, 8%);
  text-align: center;
}

.how-it-works-process {
  padding-top: clamp(2.5rem, 4vw + 1rem, 5.5rem);
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: clamp(1.5rem, 2vw + 1rem, 3rem);
}

.step {
  background: #acc5f2;
  background: linear-gradient(
    180deg,
    rgba(172, 197, 242, 1) 0%,
    rgba(245, 245, 251, 1) 100%
  );

  border-radius: clamp(0.8rem, 0.7vw + 0.4rem, 1.6rem);
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.4s ease-in-out 0s, transform 0.4s ease-in-out 0s;
}
.step1,
.step2,
.step3 {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.how-it-works-content {
  flex: 1.9;
}
.how-it-works-img {
  flex: 1;
  margin-top: clamp(0.7rem, 1vw + 1rem, 1.6rem);
}

.step-heading {
  padding: 0 clamp(0.7rem, 1vw + 0.4rem, 1.6rem)
    clamp(0.7rem, 1vw + 0.4rem, 1.6rem) clamp(0.7rem, 1vw + 0.4rem, 1.6rem);
}

.step-description {
  padding: clamp(0.75rem, 1vw + 0.4rem, 1.6rem);
}

.step .number {
  font-size: clamp(1.4rem, 1.6vw + 0.8rem, 2.4rem);

  height: clamp(2.5rem, 3vw + 1.5rem, 4.8rem);
  width: clamp(2.5rem, 3vw + 1.5rem, 4.8rem);
  color: #dee1f8;
  background-color: #081456;
  border: 1rem solid #081456;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;

  left: clamp(-1.3rem, -1.4vw - 2.5rem, -2.6rem);
  top: clamp(-1.3rem, -1.4vw - 2.5rem, -2.6rem);
}

.how-it-works img {
  width: 80%;
  height: auto;
}

.step:hover {
  box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.2);
}
@media (width <= 1000px) {
  .how-it-works-process {
    flex-direction: column;
  }
  .step {
    min-height: 15rem;
  }
  .step1,
  .step2,
  .step3 {
    flex-direction: row;
  }
  .how-it-works-img {
    margin-top: 0;
    flex: 1;
  }
  .how-it-works-content {
    flex: 1;
    text-align: right;
  }
}

@media (max-width: 600px) {
  .step1,
  .step2,
  .step3 {
    flex-direction: column;
  }
  .how-it-works-content {
    text-align: center;
  }
  .how-it-works-img {
    margin-top: 2rem;
    width: 90%;
    align-self: center;
  }
  .step .number {
    left: -1rem;
    top: -1rem;
  }
}

@media (max-width: 490px) {
  .cta-left .cta-button {
    flex-direction: column;
    gap: 0.8rem;
  }
  .cta-left .cta-button a {
    align-self: center;
  }
}
/* ------------------------------------------------------------------- */
/* --------------------------- cta section -------------------------- */
/* ------------------------------------------------------------------- */

.cta-section-body {
  background-color: rgb(248, 249, 250);
  padding: min(4.375rem, 8%) 0;
}

.cta {
  height: 21.875rem;
  margin: 0 min(9.375rem, 8%);
  border-radius: clamp(0.8rem, 0.7vw + 0.4rem, 1.6rem);

  background: #6281c4;
  background: radial-gradient(
    circle,
    rgba(98, 129, 196, 1) 0%,
    rgba(59, 92, 162, 1) 100%
  );
  display: flex;
  justify-content: center;
  align-items: center;
}

.cta-left {
  flex: 1;
  height: 100%;
  padding: clamp(1.8rem, 2.2vw + 0.7rem, 3.6rem) 0
    clamp(1.8rem, 2.2vw + 0.7rem, 3.6rem) clamp(1.8rem, 2.2vw + 0.7rem, 3.6rem);
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: flex-start;
}

.cta-left h1,
.cta-left-body,
.cta-button {
  color: rgb(243, 245, 251);
  width: 100%;
}

.cta-left-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 1vw + 0.4rem, 1.6rem);
  margin-top: 1rem;
}

.point-1,
.point-2,
.point-3 {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: clamp(0.4rem, 0.6vw + 0.25rem, 0.9rem);
}

.cta-right {
  flex: 2;
  height: 100%;
  width: 100%;
  background-image: url(images/cta.webp);
  background-size: cover;
  transform: scaleX(-1);
  mask-image: linear-gradient(90deg, black 40%, transparent 100%);

  border-top-left-radius: clamp(0.8rem, 0.7vw + 0.4rem, 1.6rem);

  border-bottom-left-radius: clamp(0.8rem, 0.7vw + 0.4rem, 1.6rem);
}

.cta-left .cta-button {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.cta-left .primary-btn {
  background-color: rgb(235, 238, 244);
  color: rgb(72, 97, 152);
  border-color: rgb(235, 238, 244);
  box-shadow: 0 0 3.125rem rgb(72, 97, 152);
}

.cta-left .secondary-btn {
  background-color: rgba(255, 255, 255, 0.112);
  color: whitesmoke;
  border-color: whitesmoke;
  box-shadow: none;
}

.cta-left .cta-button .secondary-btn i {
  margin-right: 0.5rem;
  padding-left: 0;
}

@media (max-width: 1000px) {
  .cta {
    flex-direction: column;
    height: 40rem;
  }
  .cta-left {
    padding: clamp(1.8rem, 2.2vw + 0.7rem, 3.6rem);
    width: 100%;
  }
  .cta-right {
    mask-image: linear-gradient(0deg, black 0%, transparent 100%);
    border-bottom-right-radius: clamp(0.8rem, 0.7vw + 0.4rem, 1.6rem);
  }
  .point-1,
  .point-2,
  .point-3 {
    justify-content: center;
  }
  .cta-left h1 {
    text-align: center;
  }
}

/* ------------------------------------------------------------------- */
/* ---------------------- CONTACT US + FORM -------------------------- */
/* ------------------------------------------------------------------- */

input:focus,
select:focus,
textarea:focus {
  box-shadow: 0 0 7px 5px rgba(84, 109, 224, 0.1);
}

.contact-us {
  padding: clamp(2.5rem, 3vw + 1rem, 5rem) clamp(5rem, 7vw + 3rem, 11rem);
  padding: min(4.375rem, 8%) min(9.375rem, 8%);
  background-color: rgb(251, 252, 253);
}

.contact-us h3,
.contact-us p {
  text-align: center;
  padding-top: clamp(0.75rem, 0.8vw + 0.5rem, 1.5rem);
}

.contact-us-card {
  margin-top: clamp(0.35rem, 0.6vw + 0.25rem, 0.8rem);
  padding: clamp(1.1rem, 1.4vw + 0.7rem, 2.3rem);
  display: flex;
  justify-content: center;
  align-items: stretch;
  border-radius: clamp(1rem, 0.8vw + 0.6rem, 1.9rem);
  gap: clamp(0.75rem, 1vw + 0.4rem, 1.6rem);
  height: fit-content;
  background: #5f7ab0;
  background: linear-gradient(
    90deg,
    rgba(95, 122, 176, 1) 11%,
    rgba(169, 189, 232, 1) 71%
  );
}

.enquiry {
  text-align: center;
  background-color: #f8f9fa;
  box-shadow: 0 -0.5rem 1.25rem rgba(0, 0, 0, 0.15);

  border-radius: clamp(0.35rem, 0.5vw + 0.25rem, 0.8rem);
  flex: 1.5;
  height: fit-content;
}

.enquiry-section {
  height: 100%;
}

.enquiry-form {
  background-color: #f8f9fa;
  padding: clamp(1.1rem, 1.4vw + 0.7rem, 2.3rem);
  border-radius: clamp(0.35rem, 0.5vw + 0.25rem, 0.8rem);
}

.enquiry-form h3 span {
  display: block;
  margin-bottom: clamp(0.9rem, 1.2vw + 1.5rem, 3rem);
}

.form-group {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  margin: clamp(0.15rem, 0.5vw + 0.1rem, 0.4rem) 0
    clamp(0.9rem, 1.2vw + 0.5rem, 1.9rem) 0;
}

input,
select {
  width: 100%;
  height: clamp(2.5rem, 1.8vw + 1rem, 3rem);
  border: 0.0625rem solid #e0e0e0;

  border-radius: clamp(0.18rem, 0.4vw + 0.1rem, 0.45rem);

  padding-left: clamp(0.35rem, 0.6vw + 0.25rem, 0.8rem);

  padding-right: clamp(0.35rem, 0.6vw + 0.25rem, 0.8rem);
}

textarea {
  width: 100%;
  border: 0.0625rem solid #e0e0e0;

  border-radius: clamp(0.18rem, 0.4vw + 0.1rem, 0.45rem);

  padding-left: clamp(0.35rem, 0.6vw + 0.25rem, 0.8rem);

  padding-top: clamp(0.35rem, 0.6vw + 0.25rem, 0.8rem);
}

input::placeholder,
select,
textarea::placeholder {
  font-size: clamp(0.8rem, 0.6vw + 0.55rem, 1.05rem);
}

.button-section {
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-section .primary-btn {
  width: 75%;
  min-width: 180px;
}

.locate-us {
  padding: clamp(1.1rem, 1.4vw + 0.7rem, 2.3rem) 0
    clamp(1.1rem, 1.4vw + 0.7rem, 2.3rem) clamp(1.1rem, 1.4vw + 0.7rem, 2.3rem);
  border-radius: clamp(1rem, 0.8vw + 0.6rem, 1.9rem);
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex: 1;
}

.address {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.address h1 {
  margin-bottom: clamp(0.9rem, 1.2vw + 1.9rem, 3rem);
  padding-top: clamp(0.75rem, 0.8vw + 0.5rem, 1.5rem);
}

.address span {
  display: inline-block;
}

.address-desc span,
.timings span,
.email span,
.phone span {
  color: rgb(22, 34, 87);
}

.address span,
.company-name {
  display: inline-block;
  margin-bottom: clamp(0.3rem, 0.5vw + 0.15rem, 0.65rem);
}

.timings,
.email,
.phone,
.social-media {
  margin-bottom: clamp(0.3rem, 0.1vw + 0.1rem, 0.65rem);
}

.timings,
.social-media {
  margin-top: clamp(0.6rem, 0.8vw + 0.5rem, 1.2rem);
}

.address i {
  color: #081456;
  padding-right: clamp(0.3rem, 0.5vw + 0.15rem, 0.65rem);
  font-size: clamp(0.85rem, 0.6vw + 0.55rem, 1.15rem);
}

.social-and-direction {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: auto;
}

.get-direction {
  width: 100%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  white-space: nowrap;
  align-self: flex-end;
}

input.error,
textarea.error,
select.error {
  background-color: rgb(249, 228, 228);
}

input.success,
textarea.success,
select.success {
  background-color: #d6f9d7;
}

@media (max-width: 1080px) {
  .form-group {
    flex-direction: column;
  }
  .form-group:nth-child(3) {
    flex-direction: row;
  }
}

@media (max-width: 900px) {
  .contact-us-card {
    flex-direction: column;
    background: #5f7ab0;
    background: linear-gradient(
      180deg,
      rgba(95, 122, 176, 1) 11%,
      rgba(169, 189, 232, 1) 71%
    );
  }
  .locate-us {
    padding-right: clamp(1.1rem, 1.4vw + 0.7rem, 2.3rem);
  }
}
@media (max-width: 500px) {
  .timings,
  .email,
  .phone {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .timings i,
  .email i,
  .phone i {
    padding-top: 0.3rem;
  }
  .get-direction a {
    margin-top: 2rem;
  }
  .form-group:nth-child(3) {
    flex-direction: column;
  }
  .form-group:nth-child(3) i {
    display: none;
  }
  .get-direction {
    justify-content: center;
  }
  .button-section .primary-btn {
    width: 100%;
  }
}

/* ------------------------------------------------------------------- */
/* ------------------------------- FAQ ------------------------------- */
/* ------------------------------------------------------------------- */

.faq {
  padding: min(4.375rem, 8%) min(9.375rem, 8%);

  text-align: center;
  background-color: rgb(248, 249, 250);
}

.faq-content {
  padding-top: clamp(2.5rem, 3vw + 1.5rem, 5.2rem);

  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.6rem, 2vw + 1rem, 3rem);
  height: fit-content;
}

.column {
  display: flex;
  flex-direction: column;
  text-align: start;
  gap: clamp(1.6rem, 2vw + 1rem, 3rem);
}

.qna {
  background-color: #f0f1f3;
  padding: clamp(0.75rem, 1vw + 0.4rem, 1.6rem);
  border-radius: clamp(0.7rem, 0.8vw + 0.3rem, 1.25rem);
  transition: box-shadow 0.4s ease-in-out 0s, transform 0.4s ease-in-out 0s;
}

.qna:hover {
  cursor: pointer;
  box-shadow: 0 0.5rem 0.625rem rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}

.question {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question i {
  color: #081456;
  border-radius: clamp(0.18rem, 0.4vw + 0.1rem, 0.42rem);

  transition: transform 0.3s ease-out 0s;
  margin-left: clamp(0.9rem, 1vw + 0.6rem, 1.85rem);
}

.answer {
  max-height: 0;
  opacity: 0;
  transition: opacity 0.2s ease-in-out, max-height 0.4s ease-in-out,
    padding-top 0.4s ease-in-out;
}

.open {
  padding-top: clamp(0.6rem, 0.8vw + 0.3rem, 1.2rem);
  max-height: 15rem;
  opacity: 1;
  transition: opacity 0.7s ease-out 0s, max-height 0.4s ease-out 0s,
    padding-top 0.4s ease-out 0s;
}

.rotate {
  transform: rotate(-180deg);
  transition: transform 0.3s ease-out 0s;
}

@media (max-width: 1030px) {
  .faq-content {
    grid-template-columns: repeat(1, 1fr);
  }
}

/* ------------------------------------------------------------------- */
/* ------------------------------- FINAL CTA ------------------------------- */
/* ------------------------------------------------------------------- */

.final-cta-section {
  background-color: #f8f9fa;
  padding: min(4.375rem, 8%) min(9.375rem, 8%);
}

.final-cta {
  height: fit-content;
  min-height: 27rem;
  padding: clamp(2rem, 2.3vw + 1.2rem, 4rem) clamp(0.5rem, 2vw + 1rem, 3.4rem)
    clamp(0.5rem, 2vw + 1rem, 3.4rem) clamp(0.5rem, 2vw + 1rem, 3.4rem);

  background-image: url(images/ask-question.webp);
  background-size: cover;

  border-radius: clamp(1rem, 0.8vw + 0.6rem, 1.9rem);
  box-shadow: 0 -0.5rem 12.5rem rgba(128, 126, 126, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: clamp(1.9rem, 2.6vw + 1.2rem, 3.8rem);
}

.final-cta-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 1vw + 0.4rem, 1.6rem);
  flex: 2;
  width: 100%;
}

.final-cta-right {
  width: 100%;
  flex: 1.5;
  background-color: #ffffff5b;
  padding: clamp(0.75rem, 1vw + 0.4rem, 1.6rem);
  border-radius: clamp(1rem, 0.8vw + 0.6rem, 1.9rem);
}

.button-section {
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .final-cta {
    flex-direction: column;
  }
  .final-cta-right {
    width: 55%;
    align-self: flex-end;
  }
}

@media (max-width: 1015px) {
  .final-cta-left {
    align-items: center;
  }
  .final-cta-left p {
    width: 100%;
    text-align: center;
  }
  .final-cta-right {
    align-self: center;
    width: 70%;
  }
}

@media (max-width: 822px) {
  .final-cta-right {
    width: 90%;
  }
}

@media (max-width: 500px) {
  .final-cta-right {
    width: 100%;
  }
}

/* ------------------------------------------------------------------- */
/* ------------------------------- FOOTER ------------------------------- */
/* ------------------------------------------------------------------- */

footer {
  padding: 2rem;

  background-color: #020b41;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.footer-left {
  width: 20%;
  padding: 0 clamp(0.75rem, 0.9vw + 0.45rem, 1.5rem);
  height: fit-content;
  text-wrap: nowrap;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.footer-center {
  height: fit-content;
  width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 clamp(6.5rem, 5vw + 5rem, 12.5rem);
  text-wrap: nowrap;
  column-gap: clamp(2.4rem, 2.2vw + 1.8rem, 4.6rem);
  row-gap: clamp(0.6rem, 0.8vw + 0.3rem, 1.2rem);
}

.footer-center a,
.footer-bottom a {
  color: #8f9fc9;
}

.footer-right {
  width: 20%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 0 clamp(0.75rem, 0.9vw + 0.45rem, 1.5rem);
  height: fit-content;
  text-wrap: nowrap;
  gap: clamp(1.2rem, 1.2vw + 0.8rem, 2.4rem);
}

.footer-right i {
  color: #8f9fc9;
  font-size: large;
}

.footer-bottom {
  margin-top: clamp(0.75rem, 1vw + 0.4rem, 1.6rem);
  color: #8f9fc9;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: fit-content;
  gap: 0.5rem;
}

@media (max-width: 1285px) {
  .footer-top {
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  .footer-left,
  .footer-center,
  .footer-right {
    width: 100%;
    margin-bottom: 2rem;
    padding: 0px;
    flex-wrap: wrap;
    align-self: center;
    justify-content: center;
  }
  .footer-center {
    margin-bottom: 1rem;
  }
  .footer-left a,
  .footer-center a,
  .footer-right i {
    align-self: center;
  }
}

@media (max-width: 600px) {
  .footer-center {
    margin-bottom: 1.5rem;
  }
}

/* ----------form pop up modal--------- */
.success-icon i {
  color: #28a745;
  font-size: 3rem;
  margin-bottom: 0.625rem;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@media (width>=1660px) {
  .cta-section-hero,
  .aboutus-top,
  .aboutus-bottom,
  .core-values h3,
  .core-values-parent,
  .services h4,
  .services-grid,
  .call-us,
  .how-it-works,
  .cta-section-body .cta,
  .contact-us h3,
  .contact-us p,
  .contact-us .contact-us-card,
  .faq h3,
  .faq .faq-content,
  .final-cta-section .final-cta {
    max-width: 1400px;
    margin: 0 auto;
  }
  .nav-container,
  .footer-bottom,
  .footer-top {
    max-width: 1600px;
    margin: 0 auto;
  }
  .home {
    height: 90vh;
  }
  .core-values-parent {
    height: 35rem;
  }
  .cta {
    height: 30rem;
  }
}

/* ------------------------------------------------------------------- */
/* -------------------- FLOATING LABEL STYLES ------------------------ */
/* ------------------------------------------------------------------- */

.form-group {
  position: relative;
}

.form-group.with-icon {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}

.form-group.with-icon .input-wrapper {
  position: relative;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper label {
  position: absolute;
  left: clamp(0.35rem, 0.6vw + 0.25rem, 0.8rem);
  top: 50%;
  transform: translateY(-50%);
  color: #666666;
  font-size: clamp(0.8rem, 0.6vw + 0.55rem, 1.05rem);
  pointer-events: none;
  transition: all 0.3s ease;
  background-color: transparent;
  padding: 0 0.25rem;
}

.input-wrapper.textarea-wrapper label {
  top: clamp(0.8rem, 1vw + 0.5rem, 1.5rem);
  transform: none;
}

/* Floating state */
.input-wrapper input:focus + label,
.input-wrapper input:not(:placeholder-shown) + label,
.input-wrapper select:focus + label,
.input-wrapper select:not([value=""]):valid + label,
.input-wrapper textarea:focus + label,
.input-wrapper textarea:not(:placeholder-shown) + label,
.input-wrapper input.has-value + label,
.input-wrapper select.has-value + label {
  top: 0;
  transform: translateY(-50%);
  font-size: clamp(0.65rem, 0.5vw + 0.45rem, 0.85rem);
  color: #536ebf;
  background-color: #f8f9fa;
  padding: 0 0.25rem;
}

.input-wrapper.textarea-wrapper textarea:focus + label,
.input-wrapper.textarea-wrapper textarea:not(:placeholder-shown) + label {
  top: 0;
  transform: translateY(-50%);
}

/* Error state */
.input-wrapper input.error + label,
.input-wrapper select.error + label,
.input-wrapper textarea.error + label {
  color: #dc3545;
}

/* Success state */
.input-wrapper input.success + label,
.input-wrapper select.success + label,
.input-wrapper textarea.success + label {
  color: #28a745;
}

/* Remove placeholder initially */
input::placeholder,
select::placeholder,
textarea::placeholder {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* Show placeholder on focus */
input:focus::placeholder,
select:focus::placeholder,
textarea:focus::placeholder {
  opacity: 0.5;
}

/* Adjust select appearance */
select {
  color: #666666;
}

select:invalid,
select[value=""] {
  color: transparent;
}

select.has-value {
  color: #666666;
}

/* Media query adjustments */
@media (max-width: 500px) {
  .form-group.with-icon {
    grid-template-columns: 1fr;
  }

  .form-group.with-icon i {
    display: none;
  }
}

/* Keyframes for autofill detection */
@keyframes onAutoFillStart {
  from {
    opacity: 0.99;
  }
  to {
    opacity: 1;
  }
}

@keyframes onAutoFillCancel {
  from {
    opacity: 0.99;
  }
  to {
    opacity: 1;
  }
}

/* Apply animation to autofilled inputs */
input:-webkit-autofill {
  animation-name: onAutoFillStart;
  animation-duration: 0.001s;
}

input:not(:-webkit-autofill) {
  animation-name: onAutoFillCancel;
  animation-duration: 0.001s;
}

/* Style autofilled inputs to match your validation states */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus {
  /* Override Chrome's yellow background while maintaining validation colors */
  -webkit-box-shadow: 0 0 0 1000px #d6f9d7 inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Error state for autofilled inputs */
input.error:-webkit-autofill,
input.error:-webkit-autofill:hover,
input.error:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px rgb(249, 228, 228) inset !important;
}

/* Success state for autofilled inputs */
input.success:-webkit-autofill,
input.success:-webkit-autofill:hover,
input.success:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px #d6f9d7 inset !important;
}

/* mobile-srollling-height */
@media (max-width: 768px) {
  section[id],
  div[id],
  #home,
  #about-us,
  #services,
  #contact-us,
  #faq {
    scroll-margin-top: 3rem;
  }
}