@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700;800&display=swap");
@import url("https://cdn-uicons.flaticon.com/2.6.0/uicons-regular-rounded/css/uicons-regular-rounded.css");

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse-Intl/fonnts.com-Suisse_Intl_Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse-Intl/fonnts.com-Suisse_Intl_Book.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse-Intl/fonnts.com-Suisse_Intl_Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse-Intl/fonnts.com-Suisse_Intl_Mono.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse-Intl/fonnts.com-Suisse_Intl_Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Suisse Intl";
  src: url("../fonts/Suisse-Intl/fonnts.com-SuisseIntl-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

:root {
  --font-family-montserrat: "DM Sans", system-ui, sans-serif;
  --font-family-suisse: "DM Sans", system-ui, sans-serif;
  --fontSize-navMenu: 18px;
  --orange-color: #ff7f50;
  --yellow-color: #ffd369;
  --gray-color: #5f6368;
  --lightGray-color: #f1f1f1;
  --black-color: #374151;
  --white-color: #ffffff;
  --google-color1: #feefe3;
  --google-color2: #fda085;
  --google-color3: #202124;
  --google-color4: #5f6368;
  --shadow-lightgray:
    rgba(14, 30, 37, 0.12) 0 2px 4px 0, rgba(14, 30, 37, 0.32) 0 2px 16px 0;
  --shadow-orange:
    rgba(237, 86, 28, 0.12) 0 2px 4px 0, rgba(237, 86, 28, 0.32) 0 2px 16px 0;
}

h1,
h2,
h3,
span,
a {
  font-family: var(--font-family-montserrat);
}

body {
  font-family: var(--font-family-montserrat);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  /* background: 
                radial-gradient(circle at top left, rgba(255, 127, 80, .10), transparent 24%),
                linear-gradient(180deg, #ffffff 0%, #fff7f2 100%); */
}

h1 {
  font-size: clamp(42px, 4.9vw, 58px) !important;
  color: var(--black-color);
  line-height: 0.98 !important;
  letter-spacing: -0.035em;
  font-weight: 700 !important;
  word-wrap: break-word;
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 4.2vw, 52px) !important;
  color: var(--black-color) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.03em;
  font-weight: 700 !important;
  text-wrap: balance;
}

h3 {
  font-size: clamp(28px, 3.6vw, 44px) !important;
  color: var(--black-color) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.025em;
  font-weight: 700 !important;
  text-wrap: balance;
}

p {
  font-family: var(--font-family-suisse);
  font-size: clamp(15px, 1.35vw, 18px);
  color: var(--gray-color);
  line-height: 1.7;
  font-weight: 400;
  margin-bottom: 1rem;
  text-wrap: pretty;
}

a {
  text-decoration: none !important;
}

button {
  font-family: var(--font-family-montserrat);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.primary-button {
  color: var(--white-color);
  background-color: var(--orange-color);
  box-shadow: var(--shadow-orange);
  padding: 12px 22px;
  border-radius: 10px;
  transition: all 0.5s linear;
  cursor: pointer;
  border: none;
}

.primary-button:hover {
  color: var(--black-color);
  background-color: var(--white-color);
  box-shadow: var(--shadow-lightgray);
}

.secondary-button {
  color: var(--black-color);
  background-color: var(--white-color);
  box-shadow: var(--shadow-lightgray);
  padding: 12px 22px;
  border-radius: 10px;
  transition: background-color 0.5s linear;
  cursor: pointer;
  border: none;
}

.secondary-button:hover {
  background-color: var(--orange-color);
  color: var(--white-color);
  box-shadow: var(--shadow-orange);
}

#scrollToTopBtn {
  position: fixed;
  bottom: 10px;
  right: 15px;
  z-index: 100;
  display: inline-block;
  font-size: 24px;
  color: var(--white-color);
  background-color: var(--black-color);
  height: 50px;
  width: 50px;
  text-align: center;
  line-height: 50px;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 0 12px 0 rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease-in-out;
}

#scrollToTopBtn:hover {
  color: var(--orange-color);
}

#scrollToTopBtn.hidden-btn {
  opacity: 0;
  visibility: hidden;
}

.hero-bg {
  height: 100vh;
  background: url(../img/common-img/bg-hero_section.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.main-bg {
  background: url(../img/common-img/bg-hero_section.png);
  background-position: -300px 0;
  background-repeat: no-repeat;
  background-size: cover;
}

.section-gap {
  padding: clamp(40px, 6vw, 72px) 0;
}

.section-gap-top {
  padding-top: clamp(40px, 6vw, 72px);
}

.section-gap-bottom {
  padding-bottom: clamp(40px, 6vw, 72px);
}

.text-highlight {
  color: var(--orange-color);
}

.preloader,
.preloader-portfolio {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background-color: #fff;
}

.preloader-animation {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate3d(-50%, -50%, 0);
}

.preloader-spinner {
  width: 52px;
  height: 52px;
  background-color: var(--orange-color);
  border-radius: 100%;
  animation: sk-scaleout 1s infinite ease-in-out;
}

@keyframes sk-scaleout {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1.1);
    opacity: 0;
  }
}
/* ============================================
   NAVBAR & ACTIVE STATE
============================================ */
:root {
  --fontSize-navMenu: 16px;
}

.Nav-Menu {
  position: relative;
  z-index: 1000;
}

#logo {
  font-weight: 700;
  color: #949494;
  font-size: 35px;
  text-decoration: none;
}

#logo img {
  margin-right: 5px;
}

.nav-link {
  font-size: var(--fontSize-navMenu) !important;
  color: var(--gray-color) !important;
  padding: 5px 30px;
  position: relative;
  transition: color 0.3s ease;
  cursor: pointer;
}

/* HIGH-LIGHT ACTIVE PAGE */
.nav-link.active {
  color: var(--orange-color) !important;
  font-weight: 700;
}

.nav-link:hover {
  color: var(--orange-color) !important;
}

/* arrow */
.nav-link .arrow {
  margin-left: 6px;
  transition: transform 0.3s ease;
}

@media (min-width: 992px) {
  .mega-dropdown:hover .arrow,
  .mega-dropdown.open .arrow {
    transform: rotate(180deg);
  }
}

/* ============================================
   MEGA MENU — RESPONSIVE + CENTERED
============================================ */
.mega-dropdown {
  position: relative;
}

/* Desktop mega menu */
.mega-menu {
  position: absolute;
  top: 100%;
  left: 150%; /* Changed from 150% to 50% to center it */
  transform: translateX(-50%) translateY(12px);
  width: min(90vw, 850px);
  background: #fff;
  border-radius: 14px;
  padding: 25px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.35s ease;
  z-index: 999;
}

/* SHOW mega menu on hover or when .open is added (Safari Fix) */
@media (min-width: 992px) {
  .mega-dropdown:hover .mega-menu,
  .mega-dropdown.open .mega-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }
}

/* ============================================
   MEGA MENU HEADERS / LISTS
============================================ */
.mega-header {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 6px;
  margin-bottom: 12px;
  border-bottom: 1px solid #e2e2e2;
  color: #333;
}

.mega-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mega-list li {
  margin-bottom: 10px;
  opacity: 0;
  transform: translateX(-10px);
}

/* Animation triggered by hover or .open class */
.mega-dropdown:hover .mega-list li,
.mega-dropdown.open .mega-list li {
  animation: fadeSlide 0.4s forwards ease;
}

.mega-list li a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  color: var(--gray-color);
  text-decoration: none;
  transition: 0.3s ease;
}

.mega-list li a i {
  width: 18px;
  font-size: 16px;
  color: var(--orange-color);
  opacity: 0.7;
  transition: 0.3s ease;
}

.mega-list li a:hover {
  color: var(--orange-color);
  transform: translateX(6px);
}

.mega-list li a:hover i {
  opacity: 1;
}

/* stagger animation delays */
.mega-dropdown:hover .mega-list li:nth-child(1),
.mega-dropdown.open .mega-list li:nth-child(1) {
  animation-delay: 0.05s;
}
.mega-dropdown:hover .mega-list li:nth-child(2),
.mega-dropdown.open .mega-list li:nth-child(2) {
  animation-delay: 0.1s;
}
.mega-dropdown:hover .mega-list li:nth-child(3),
.mega-dropdown.open .mega-list li:nth-child(3) {
  animation-delay: 0.15s;
}
.mega-dropdown:hover .mega-list li:nth-child(4),
.mega-dropdown.open .mega-list li:nth-child(4) {
  animation-delay: 0.2s;
}
.mega-dropdown:hover .mega-list li:nth-child(5),
.mega-dropdown.open .mega-list li:nth-child(5) {
  animation-delay: 0.25s;
}
.mega-dropdown:hover .mega-list li:nth-child(6),
.mega-dropdown.open .mega-list li:nth-child(6) {
  animation-delay: 0.3s;
}

/* Fade slide animation */
@keyframes fadeSlide {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================
   MOBILE + TABLET FIX
============================================ */
@media (max-width: 991px) {
  .mega-menu {
    position: static !important;
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 10px;
    margin-top: 10px;
    box-shadow: none !important;
    display: none; /* JS toggles display: block */
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  .mega-dropdown.open .mega-menu {
    display: block !important;
  }

  .nav-link .arrow {
    display: inline-block;
    float: right;
  }
}
/* ====================================================== */

.footer {
  position: relative;
  background-color: var(--white-color);
  padding: 40px 0;
  border-top: 1px solid rgba(55, 55, 55, 0.08);
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 300px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 127, 80, 0.25) 20%,
    rgba(255, 127, 80, 0.9) 50%,
    rgba(255, 127, 80, 0.25) 80%,
    transparent 100%
  );
}

.footer .footer-logo img {
  width: 50px;
}

.footer p {
  font-size: 16px;
  font-weight: 400;
  color: var(--gray-color);
  margin-bottom: 0;
}

.footer a {
  text-decoration: none;
}

.footer h5 {
  font-size: 22px;
  font-family: var(--font-family-montserrat);
  color: var(--black-color);
  font-weight: 500;
  margin-bottom: 15px;
}

.footer li,
.footer li a {
  font-size: 16px;
  color: var(--gray-color);
  text-decoration: none;
  position: relative;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.footer li:hover,
.footer li a:hover {
  color: var(--orange-color);
}

.footer li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--orange-color);
  transform: translateX(-50%);
  transition: width 0.3s ease-in-out;
}

.footer li a:hover::after {
  width: 100%;
}

.footer .social i {
  font-size: 18px;
  margin-right: 10px;
  color: var(--gray-color);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.footer .social i:hover {
  transform: scale(1.2);
  color: var(--orange-color);
  transition:
    transform 0.3s ease,
    color 0.3s ease;
}

.Copyrights {
  background-color: transparent;
  color: var(--gray-color);
  padding: 10px 0;
  text-align: center;
  border-top: 1px solid rgba(55, 55, 55, 0.06);
}

.Copyrights p {
  font-size: 16px;
  color: var(--gray-color);
  margin-bottom: 0;
}

.Copyrights br {
  display: none;
}

/* .footer-custom-padding {
  padding-left: 3rem !important;
} */

.counter-container {
  background-color: var(--white-color);
  box-shadow: var(--shadow-lightgray);
  padding: 20px 20px 15px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.counter span {
  font-size: 50px;
  font-weight: bold;
  color: var(--black-color);
}

.counter p {
  margin-top: 10px;
  color: var(--gray-color);
}

:root {
  --color-bg-accent: var(--lightGray-color);
  --size: clamp(10rem, 1rem + 40vmin, 30rem);
  --gap: calc(var(--size) / 14);
  --duration: 60s;
}

.wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  margin: 0 auto;
  max-width: 100%;
  padding: 20px 0;
}

.wrapper--vertical {
  flex-direction: row;
  justify-content: center;
  height: 100%;
}

.marquee {
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  justify-content: flex-start;
  width: 100%;
}

.marquee__group {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: var(--gap);
  animation: scroll-x var(--duration) linear infinite;
}

.marquee--reverse .marquee__group {
  animation-direction: reverse;
  animation-delay: -3s;
}

.marquee__group {
  min-width: 100%;
}

.marquee--vertical .marquee__group {
  min-width: auto;
  min-height: 100%;
  flex-direction: column;
  animation-name: scroll-y;
}

@keyframes scroll-x {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes scroll-y {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-100%);
  }
}

.paused .marquee__group {
  animation-play-state: paused !important;
}

.marquee__group img {
  width: var(--size);
  border: 2px solid var(--lightGray-color);
  aspect-ratio: 16/9;
  padding: calc(var(--size) / 10);
  border-radius: 0.5rem;
  object-fit: contain;
}

.marquee--vertical .marquee__group img {
  aspect-ratio: 1;
  width: calc(var(--size) / 1.5);
  padding: calc(var(--size) / 6);
}

#faq {
  padding-top: 50px;
}

.faq-item .title {
  font-size: 17px;
  font-family: var(--font-family-montserrat);
  color: #333;
  line-height: 1.6;
  font-weight: 500;
}

.faq-item h4 {
  font-size: 15px;
  font-family: var(--font-family-suisse);
  color: var(--gray-color);
  background-color: var(--white-color);
  font-weight: 400;
  line-height: 1.7;
  padding: 15px;
  margin: 0;
}

.faq-accordion {
  width: 100%;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding-right: 3%;
}

.faq-header {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
}

.faq-header:hover {
  background-color: rgb(166, 124, 211, 0.2);
}

.faq-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.faq-arrow {
  font-size: 24px;
  line-height: normal;
  transition: transform 0.3s ease;
  display: inline-block;
}

.faq-header.active .faq-arrow {
  transform: rotate(180deg);
}

.testimonial-container {
  background-color: #393e46;
  color: #fff;
  border-radius: 5px;
  margin: 20px auto;
  padding: 50px 80px;
  max-width: 90%;
  position: relative;
}

.fa-quote {
  color: var(--yellow-color);
  font-size: 28px;
  position: absolute;
  top: 70px;
}

.fa-quote-right {
  left: 40px;
}

.fa-quote-left {
  right: 40px;
}

.testimonial {
  color: var(--white-color);
  line-height: 1.7;
  text-align: left;
  margin-bottom: 30px;
}

.user {
  display: flex;
  align-items: center;
  justify-content: center;
}

.user .user-image {
  border-radius: 50%;
  border: 3px solid var(--yellow-color);
  height: 75px;
  width: 75px;
  object-fit: cover;
}

.user .user-details {
  margin-left: 10px;
}

.user .username {
  margin: 0;
}

.user .role {
  color: var(--yellow-color);
  font-weight: normal;
  margin: 10px 0;
}

.progress-bar {
  background-color: var(--yellow-color);
  height: 4px;
  width: 100%;
  margin-bottom: 40px;
  animation: grow 10s linear infinite;
  transform-origin: left;
}

@keyframes grow {
  0% {
    transform: scaleX(0);
  }
}

@media (max-width: 768px) {
  .testimonial-container {
    padding: 20px 30px;
  }

  .fa-quote {
    display: none;
  }
}
