html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Figtree', sans-serif;
  background-color: #F6F7F9;
}

section {
  padding: 100px 0px;
}

/* --- header --- */
header {
  background: linear-gradient(154deg, #A9D3E1 5%, #66666600 60%);
}

nav>div {
  padding: 5px 24px !important;
  border-radius: 30px;
  /*background-color: #002587!important;*/
}

.bg-scrolled {
  background-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.navbar-collapsed {
  background-color: #ffffff !important;
  box-shadow: none;
}

.navbar-toggler-icon {
  width: 1em;
  height: 1em;
}

.navbar-toggler {
  border-color: white;
}

.nav-item {
  padding-right: 20px;
}

.nav-link {
  font-weight: 500;
  font-style: Medium;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0%;
  vertical-align: middle;
  color: black;
}

/*---- hero ----*/
.hero h2 {
  font-weight: 600;
  font-size: 82px;
  line-height: 90.2px;
  letter-spacing: -3px;
  margin-bottom: 40px;
}

.hero p {
  font-size: 18px;
  line-height: 30.6px;
  letter-spacing: 0%;
  border-left: 2px solid gray;
  padding-left: 10px;
  width: 60%;
  margin-bottom: 40px;
}

.card-container {
  position: relative;
}

/* Background layer (shadow card) */
.card-container::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -18px;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 0;
  transform: rotate(357deg);
}

/* Main Card */
.card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.card img {
  width: 100%;
  display: block;
  border-radius: 15px;
}

.card-info {
  position: absolute;
  width: 100%;
  bottom: 0px;
  left: 0px;
  color: #ffffff;
  background: linear-gradient(180deg, rgba(93, 128, 142, 0) 40%, rgba(124, 163, 174, 0.6) 74%);
  padding: 10px;
  border-radius: 30px;
  font-family: 'Inter', sans-serif;
}

.card-info h3 {
  margin: 2px 0 0;
  font-weight: 500;
  font-size: 37.52px;
  line-height: 52.68px;
  letter-spacing: -1.42px;
  vertical-align: middle;
}

.card-info p {
  margin: 0;
  font-size: 13px;
  border: none;
  font-weight: 500;
  font-size: 22px;
  line-height: 39.08px;
  vertical-align: middle;
  padding: 0px;
  width: 100%;

}

/* Circle Dot */
.dot {
  position: absolute;
  bottom: 15px;
  right: 15px;
  width: 12px;
  height: 12px;
  background: #a0c4d7;
  border-radius: 50%;
}

/*--- about ---*/
.about {
  padding: 60px 15px;
  /* fixed invalid 'auto' and added proper spacing */
  align-content: center;
  border-radius: 40px;
}

.about h2 {
  font-weight: 600;
  font-size: 4rem;
  /* changed from fixed 56px to relative unit */
  line-height: 1.2;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

.about p {
  font-weight: 400;
  font-size: 1.2rem;
  line-height: 1.7;
  color: #3B3B3B;
  text-align: justify;
}


.section-heading {
  font-size: 1.3rem;
  color: #4490a7;
  border-left: 4px solid #4490a7;
  padding-left: 10px;
  margin: 30px 0 10px;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.info-list li {
  margin: 10px 0;
  position: relative;
  padding-left: 25px;
  color: #444;
  font-size: 1.1rem;
}

.info-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: #4490a7;
  font-weight: bold;
}

.sticky-image {
  position: sticky;
  top: 100px;
  /* Adjust this value as needed for spacing */
  height: fit-content;
}

/*--- services ---*/
.flip-card {
  background-color: transparent;
  width: 100%;
  aspect-ratio: 1/1;
  /* Keeps it square and responsive */
  perspective: 1000px;
  cursor: pointer;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  border-radius: 20px;
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.flip-card-front {
  background-color: #AAD2DE;
  color: white;
}

.flip-card-back {
  background-color: #2980b9;
  color: white;
  transform: rotateY(180deg);
}

.flip-card-back p,
.flip-card-front p {
  font-size: 1.1rem;
  text-align: center;
  margin: 0;
}


/*---result---*/

.result {
  border-radius: 20px;
  border: 4px solid white;
}

#result {
  background-color: #AAD2DE;
}

/*----- client------*/

.testmonial {
  background-color: #F6F7F9;
  color: black;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 30px;
}

.client {
  padding: 0 25px;
  height: 50px;
  border-radius: 25px;
}

.client p {
  font-weight: 600;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: uppercase;
  margin-bottom: 0px !important;
}

.client img {
  float: left;
  margin: 0 10px 0 -25px;
  height: 50px;
  width: 50px;
  border-radius: 50%;
}

.description {
  font-weight: 400;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0%;
  vertical-align: middle;
  padding-top: 20px;
}

.description::after {
  content: '"';
}

.description::before {
  content: '"';
}

/*--------- contact ---------*/
#contact {
  background-image: url(../img/cont.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  align-content: center;
}

#contact>div {
  border-radius: 30px;
}

#contact h2 {
  font-weight: 600;
  font-size: 56px;
  line-height: 67.2px;
  letter-spacing: -2px;
  vertical-align: middle;
  margin-bottom: 20px;
}

#contact span b {
  font-weight: 600;
  font-size: 16px;
  line-height: 27.2px;
  vertical-align: middle;
}

#contact span a {
  text-decoration: none;
  color: black;
}

.follow {
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid rgb(197, 197, 197);
}

.follow h6 {
  font-weight: 600;
  font-size: 16px;
  line-height: 27.2px;
  letter-spacing: 0%;
  vertical-align: middle;
  text-transform: uppercase;
}

.follow i {
  width: 40px;
  height: 40px;
  background-color: #c0c0c0;
  color: #fff;
  text-align: center;
  align-content: center;
  margin-right: 10px;
  border-radius: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.follow i:hover {
  transform: scale(1.2);
}

.form {
  margin: auto;
}

.form-control {
  background-color: #F6F7F9;
  border-radius: 10px;
  border: 1px solid rgb(221, 221, 221);
  margin-bottom: 20px;
  padding: 20px;
}

/*---- footer -----*/
.fa {
  width: 40px;
  height: 40px;
  background-color: #AAD2DE;
  color: #fff;
  text-align: center;
  align-content: center;
  margin-right: 10px;
  border-radius: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.fa:hover {
  transform: scale(1.2);
}

.bb {
  border-bottom: 3px solid gray;
}

footer h2 {
  font-weight: 600;
  font-size: 28px;
  line-height: 39.2px;
  letter-spacing: -0.5px;
  vertical-align: middle;
}

footer p {
  font-weight: 400;
  font-size: 16px;
  line-height: 27.2px;
  vertical-align: middle;
  width: 70%;
}

.right {
  align-content: center;
  border-left: 3px solid gray;
  padding-left: 100px;
}

.footer_link {
  display: inline;
  color: black;
  text-decoration: none;
  padding-right: 10px;
}

/*---- common -----*/
.head h6 {
  text-transform: uppercase;
}

.head h2 {
  font-weight: 600;
  font-size: 56px;
  line-height: 67.2px;
  letter-spacing: -2px;
  vertical-align: middle;
}

.callback-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background-color: #AAD2DE;
  color: white;
  font-family: Arial, sans-serif;
  font-weight: bold;
  padding: 0px 30px;
  border: none;
  border-radius: 999px;
  position: relative;
  width: 300px;
  height: 70px;
  cursor: pointer;
}

.callback-button a {
  color: white;
  text-decoration: none;
}

.callback-button a:hover {
  color: #1f87a1;
  text-decoration: none;
}

.callback-button--alt {
  background-color: white !important;
  color: black;
}

.callback-button--alt>a>div {
  background-color: #AAD2DE !important;
  color: #fff !important;
}

.callback-button--alt>a {
  color: black;
  text-decoration: none;
}

.callback-button--alt>a:hover {
  color: #1f87a1;
  text-decoration: none;
}

.cutout {
  background-color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  align-content: center;
  color: #AAD2DE;
}

.callback-button:hover {
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}


#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #AAD2DE;
  color: white;
  border: none;
  border-radius: 50%;
  padding: 9px 21px;
  font-size: 28px;
  cursor: pointer;
  display: none;
  /* Hidden by default */
  box-shadow: 0 5px 11px rgb(18 18 18 / 36%);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

#backToTop:hover {
  background-color: #AAD2DE;
  transform: translateY(-10px);
  cursor: pointer;
}

/*---- carousel testimonials -----*/
.carousel-inner {
  margin: auto;
  width: 70%;
}

.carousel-dark .carousel-indicators [data-bs-target] {
  margin-top: 20px;
  background-color: #7ccbe3;
}

.carousel-indicators {
  margin-bottom: 0px !important;
}

.test_carou {
  display: none;
}

@media (max-width: 990px) {
  .test_caro {
    display: none;
  }

  .test_carou {
    display: block;
  }
}