/* Define custom fonts */
@font-face {
  font-family: "SyneSemiBold";
  src: url("../Fonts/Syne/Syne-SemiBold.ttf") format("truetype");
}

@font-face {
  font-family: "SyneRegular";
  src: url("../Fonts/Syne/Syne-Regular.ttf") format("truetype");
}

@font-face {
  font-family: "SyneMedium";
  src: url("../Fonts/Syne/Syne-Medium.ttf") format("truetype");
}
@font-face {
  font-family: "SyneBold";
  src: url("../Fonts/Syne/Syne-Bold.ttf") format("truetype");
}

@font-face {
  font-family: "NohemiRegular";
  src: url("../Fonts/Nohemi/Nohemi-Regular-BF6438cc4d0e493.ttf")
    format("truetype");
}
@font-face {
  font-family: "RocMedium";
  src: url("../Fonts/Demo_Fonts/Fontspring-DEMO-rocgroteskwide-medium.otf")
    format("truetype");
}

/* Define root variables including font families */
:root {
  --main-color: #4ba69d;
  --light-blueBg: #d0dae6;
  --Rich-blueBg: #3545d6;
  --YelloBg: #c2f750;
  --DarkBlue-color: #0e1a27;
  --font-semi-bold: "SyneSemiBold", sans-serif;
  --font-bold: "SyneBold", sans-serif;

  --font-medium-bold: "SyneMedium", sans-serif;
  --font-regular: "SyneRegular", sans-serif;
  --font-Nohemiregular: "NohemiRegular", sans-serif;
  --opacity: 0.8;
}
a {
  text-decoration: none;
}

* {
  margin: 0;
  padding: 0;
}

img {
  width: 100%;
}

body {
  background-color: var(--main-color);
  font-family: var(--font-regular);
}

section {
  margin: 80px 110px; /* Simplified margin handling */
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.landing {
  background-image: url("../Images/Frame 126 (1).png");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh; /* ensures it fills full viewport height */
  width: 100%;
  display: block;
  overflow: hidden; /* hide rotated/decorative SVG overflow that creates extra page space */
}

/* Decorative SVG inside .landing should not affect layout or receive pointer events */
#mySVG {
  display: block;
  max-width: 100%;
  height: auto;
  pointer-events: none;
}
.navbar {
  padding: 31px 110px 0 110px; /* Simplified margin handling */
  background-color: rgba(14, 26, 39, 0.2);
  position: relative;
  z-index: 1000;
}

.navbar-brand h1 {
  font-size: 32.53px;
  font-family: "RocMedium";
  color: var(--main-color);
}

.nav-link {
  color: var(--main-color);
  font-size: 20px;
  font-family: var(--font-medium-bold);
  margin-right: 40px;
  opacity: 0.7;
  position: relative; /* For positioning the underline */
}
.nav-link:hover {
  opacity: 1 !important;
  color: var(--main-color) !important;
}
.nav-link::after {
  content: "";
  display: block;
  width: 0;
  height: 2px; /* Height of the underline */
  background-color: #ffffff; /* Hover underline color */
  position: absolute;
  bottom: -5px; /* Position the underline just below the text */
  left: 0;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%; /* Full width underline on hover */
}

.nav-link.active::after {
  width: 100%;
  background-color: var(--main-color); /* Active link underline color */
}

.nav-link.active {
  opacity: 1 !important;
  color: var(--main-color) !important;
}

.btn-outline-success {
  width: 274px;
  height: 46px;
  background-color: var(--YelloBg);
  border-radius: 85px;
  font-size: 21.33px;
  font-family: var(--font-semi-bold);
  color: #000000;
  border-color: var(--YelloBg);
}
.btn-outline-success a {
  text-emphasis: none;
}
.btn-outline-success:hover {
  background-color: transparent;
  border-color: var(--YelloBg);
  color: var(--YelloBg);
}
.headerr {
  margin-top: 105px;
  font-size: 81px;
  color: var(--light-blueBg);
  text-align: center;
  font-family: var(--font-bold);
}
.supheader {
  margin-top: 25px;
  font-size: 27px;
  color: var(--light-blueBg);
  text-align: center;
  font-family: var(--font-regular);
}
.commonTitle {
  color: var(--main-color);
  font-family: var(--font-semi-bold);
  font-size: 70px;
  text-align: center;
}

.commonSupTitle {
  color: var(--main-color);
  font-family: var(--font-regular);
  font-size: 27px;
  opacity: var(--opacity);
  margin-top: 40px; /* Reduced top margin for better spacing */
  text-align: center;
}

.WhyUsCard {
  background-color: var(--light-blueBg);
  width: 100%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  padding: 20px; /* Unified padding */
  box-sizing: border-box;
  height: auto; /* Adjusted height to fit content */
  margin-top: 20px; /* Consistent margin between cards */
}

.number {
  margin-top: 102px;
  margin-bottom: 114px;
  font-family: var(--font-Nohemiregular);
  font-size: 100px;
  color: var(--DarkBlue-color);
  margin-right: 20px;
  position: relative;
  overflow: hidden;
}

/* .SecondCard .number::before {
    content: "";
    position: absolute;
    bottom: 60px;
    left: 0;
    width: 100%;
    height: 27%;
    background-color: var(--YelloBg); 
    z-index: 1;
} */
/*   */

/* Additional styles for .number */
.number {
  position: relative;
  display: flex;
  align-items: center;
}

/* Ensure text sits above the clipping */
.number span {
  position: relative;
  z-index: 2;
}

.CardTexts {
  display: flex;
  flex-direction: column;
}

.CardHeader {
  font-family: var(--font-semi-bold);
  font-size: 18px; /* Adjusted for better readability */
  color: var(--DarkBlue-color);
  margin-bottom: 10px;
}

.text {
  font-family: var(--font-regular);
  font-size: 13px; /* Adjusted for better readability */
  color: var(--DarkBlue-color);
}

.SecondCard {
  background-color: var(--YelloBg);
}
.SliderTtile {
  text-align: left !important;
}
.Logos {
  background-color: var(--light-blueBg);
  padding: 80px 0 80px 0;
}
@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-250px * 7));
  }
}

.slider {
  height: auto;
  margin: auto;
  overflow: hidden;
  position: relative;
  width: 100%;
}

.slider .slide-track {
  animation: scroll 40s linear infinite;
  display: flex;
  width: calc(405px * 14); /* Adjust this if needed */
}

.slider .slide {
  height: auto;
  width: 100%;
}
.ValuesTitle {
  text-align: left;
  font-family: var(--font-medium-bold);
}
.Grid {
  border-radius: 15px;
}
.FirstGrid {
  background-color: var(--Rich-blueBg);
  padding: 73px 0 0 67px;
}
.GridTitle {
  font-size: 47px;
  color: var(--main-color);
  font-family: var(--font-semi-bold);
}
.GridP {
  margin-top: 65px;
  margin-bottom: 72px;
  font-size: 23px;
  color: var(--main-color);
  font-family: var(--font-regular);
}
.SecondGrid {
  background-color: var(--light-blueBg);
  padding: 73px 0 0 67px;
}
.SecondGrid .GridTitle {
  color: var(--DarkBlue-color);
}
.SecondGrid .GridP {
  color: var(--DarkBlue-color);
}
.custom-col-1 {
  background-color: var(--light-blueBg);
  padding: 23px 0 0 20px;
}

.custom-col-2 {
  padding: 0;
}

.custom-col-3 {
  background-color: var(--light-blueBg);
  padding: 23px 0 0 20px;
}

.custom-col-4 {
  background-color: var(--YelloBg);
  padding: 23px 0 0 20px;
}

/* Ensure there is a small gap between columns without wrapping */
.custom-col-1,
.custom-col-2,
.custom-col-3,
.custom-col-4 {
  margin-bottom: 12px; /* Space between rows on smaller screens */
}

/* Grid Titles and Paragraphs */
.custom-col-1 .GridTitle,
.custom-col-3 .GridTitle,
.custom-col-4 .GridTitle {
  color: var(--DarkBlue-color);
}

.custom-col-1 .GridP,
.custom-col-3 .GridP,
.custom-col-4 .GridP {
  color: var(--DarkBlue-color);
}
.faq {
  background-color: var(--light-blueBg);
}
.faq-title {
  font-size: 52px;
  font-family: var(--font-semi-bold);
  color: #000000;
}

.accordion-item {
  background-color: transparent !important;
}
.faqP {
  font-size: 22px;
  font-family: var(--font-semi-bold);
  color: #000000;
  padding-bottom: 35px;
}
.accordion-body {
  font-size: 22px;
  font-family: var(--font-regular);
  color: #000000;
}
footer h2 {
  text-align: left;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 1) 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 60px;
  font-family: var(--font-regular);
}
.navg {
  color: #ffffff;
  font-size: 21.33px;
  font-family: var(--font-regular);
  margin-bottom: 32px;
}
footer ul li {
  list-style: none;
  color: #ffffff;
  font-size: 21.33px;
  opacity: 0.7;
  font-family: var(--font-regular);
  margin-top: 11px;
}
.btn-light {
  background-color: #dcf247;
  border-color: #dcf247;
  width: 100%;
  height: 70px;
  border-radius: 85px;
  font-family: var(--font-regular);
  font-size: 21.33px;
  color: #000000;
}
.end {
  color: #ffffff;
  font-size: 30px;
  font-family: var(--font-regular);
  margin-bottom: 32px;
}
.customer-review-wrapper {
  position: relative;
  overflow: hidden;
  height: 1080px; /* You may adjust the height as needed */
}

.customer-review-wrapper::before,
.customer-review-wrapper::after {
  content: "";
  position: absolute;
  left: 0;
  height: 300px; /* Increased height for a more noticeable fade */
  width: 100%;
  z-index: 10;
}

.customer-review-wrapper::before {
  top: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 60%
  );
}

.customer-review-wrapper::after {
  bottom: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.9) 0%,
    rgba(0, 0, 0, 0) 60%
  );
}

.review-item-wrap {
  animation: friskTestimonialScroll 30s linear infinite;
  transition: all 0.5s ease-in;
  animation-duration: 16s;
}

.review-item-wrap:hover {
  animation-play-state: paused;
}

@keyframes friskTestimonialScroll {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-50%);
  }
}

.review-item {
  background: #f5f4f9 !important;
  padding: 40px 35px 25px;
  margin-bottom: 25px;
  border-radius: 26.67px;
}

.review-item .rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 18px;
}

.review-item .title span {
  font-size: 26px;
  font-family: var(--font-semi-bold);
  margin-bottom: 20px;
  color: #000;
}

.review-item p {
  color: #000000;
  margin-bottom: 40px;
  font-size: 25px;
  font-family: var(--font-regular);
}

.review-item > span {
  color: rgba(10, 12, 0, 0.6);
  display: block;
  font-size: 18px;
  border-top: 1px solid #cececc;
  padding-top: 10px;
  font-family: var(--font-regular);
}

.card {
  width: 100%; /* Default: Let Bootstrap handle width */
  max-width: 559px; /* Constrain width to 559px max */
  margin: 0 auto; /* Center cards within columns */
  background-color: transparent;
  height: 500px;
}

.custom-card {
  border: 2px solid #c2f750; /* Card border */
  border-radius: 8px; /* Optional: Add some border-radius */
}

.card-img-wrapper {
  position: relative;
  overflow: hidden; /* Ensures fade effect stays within the image bounds */
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(14, 26, 39, 0.1); /* Overlay color with 10% opacity */
}

.image-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 75%;
  background: linear-gradient(
    to bottom,
    rgba(14, 26, 39, 0) 10%,
    /* Start with transparent 0E1A27 */ rgba(14, 26, 39, 1) 100%
      /* Fade to solid 0E1A27 */
  );
}

.card-title {
  position: absolute;
  bottom: 60px; /* Adjusted to allow space for the text and gap */
  left: 70px; /* 70px padding from the left */
  right: 70px; /* 70px padding from the right */
  margin: 0;
  padding: 5px 10px; /* Optional: Add some padding to the title */
  color: #ffffff; /* White text to stand out against the image */
  font-size: 38px; /* Adjust font size as needed */
  z-index: 10; /* Ensure the title is above the overlay and fade effect */
  font-family: var(--font-semi-bold);
  text-align: left; /* Align the text to the left */
}

.card-text {
  position: absolute; /* Position it absolutely within the card */
  bottom: 120px; /* 20px gap between the text and the title */
  left: 70px; /* 70px padding from the left */
  right: 70px; /* 70px padding from the right */
  margin: 0;
  color: #ffffff; /* White text to stand out against the background */
  font-size: 16px; /* Adjust font size as needed */
  z-index: 10; /* Ensure the text is above the overlay and fade effect */
  font-family: var(--font-regular); /* Adjust font family as needed */
  line-height: 1.2; /* Adjust line height for spacing between lines */
  text-align: left; /* Align the text to the left */
}

.card-btn-wrapper {
  position: absolute;
  bottom: 30px; /* Adjust the vertical position of the button */
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10;
  width: 100%; /* Ensure the wrapper takes the full width of the card */
}

.card-btn {
  width: 210px;
  height: 55px;
  background-color: transparent; /* Button background color */
  color: var(--YelloBg); /* Button text color */
  border: 1px solid var(--YelloBg);
  border-radius: 98px;
  font-size: 25px;
  font-family: var(--font-semi-bold);
  cursor: pointer;
  text-align: center;
  line-height: 55px; /* Vertically center the text */
  display: inline-block;
  text-decoration: none;
}

.card-btn:hover {
  background-color: #a3e020; /* Hover background color */
  color: #000000;
  transition: 0.6s;
}

.btn-light:hover {
  background-color: transparent;
  border-color: var(--YelloBg);
  color: var(--YelloBg);
}
