@font-face {
  font-family: "Cygre";
  src: url("../Fonts/Cygre-Regular.woff2") format("woff2"),
    url("../Fonts/Cygre-Regular.woff") format("woff"),
    url("../Fonts/Cygre-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Host Grotesk";
  src: url("../Fonts/HostGrotesk-Regular.woff2") format("woff2"),
    url("../Fonts/HostGrotesk-Regular.woff") format("woff"),
    url("../Fonts/HostGrotesk-Regular.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Cygre SemiBold";
  src: url("../Fonts/Cygre-SemiBold.woff2") format("woff2"),
    url("../Fonts/Cygre-SemiBold.woff") format("woff"),
    url("../Fonts/Cygre-SemiBold.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Cygre Medium";
  src: url("../Fonts/Cygre-Medium.woff2") format("woff2"),
    url("../Fonts/Cygre-Medium.woff") format("woff"),
    url("../Fonts/Cygre-Medium.ttf") format("truetype");
  font-display: swap;
}

/* @media not all and (min-resolution:.001dpcm) {
  @supports (-webkit-appearance:none) {
      Safari-specific styles
      p, h1, h2, h3, h4, h5, h6 {
          line-height: 1; Adjust this value as needed
      }
  }
} */

* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --primary: #e2b745;
  --accent: #363cfd;
  --heading-font: "Cygre SemiBold";
  --text-font: "Host Grotesk";
  --gradient: linear-gradient(45deg, var(--primary) 0%, var(--accent) 100%);
}
/* Navigation */
/* Navigation */
.nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  z-index: 10;
  display: flex;
  height: 12vh;
  justify-content: space-between;
  align-items: center;
  transition: transform 0.3s ease-in-out;
  box-sizing: border-box;
}

.nav.hidden {
  transform: translateY(-100%);
}

.logo {
  width: 20%;
  margin-left: 120px; /* Added inward spacing from left */
  display: flex;
  align-items: center;
}

.logo img {
  height: auto;
  width: 100%;
  object-fit: contain;
  min-width: 150px;
  max-width: 200px;
}

.nav-options {
  width: 50%;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 40px;
  margin-right: 120px; /* Added inward spacing from right */
}

.nav-options a {
  text-decoration: none;
  color: white;
  font-family: "Host Grotesk", sans-serif;
  font-size: 16px;
  white-space: nowrap;
}

.link {
  display: flex;
  align-items: center;
  position: relative;
}

.dot {
  color: #153d80;
  padding-right: 10px;
  font-size: 20px;
  visibility: hidden;
  transition: visibility 0.3s ease, opacity 0.3s ease;
  opacity: 0;
}

.link:hover .dot {
  visibility: visible;
  opacity: 1;
}

.services-link {
  display: flex;
  align-items: center;
  gap: 5px;
}

.arrow {
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 20px;
  background: white;
  min-width: 200px;
  padding: 10px 0;
  border-radius: 0 10px 10px 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown a {
  display: block;
  padding: 10px 20px;
  color: #363cfd;
  transition: background-color 0.3s ease;
}

.dropdown a:hover {
  background-color: rgba(21, 61, 128, 0.3);
}

.hamburger {
  display: none;
  cursor: pointer;
  margin-right: 25px;
}

@media (min-width: 769px) {
  .link:hover .dropdown {
    display: block;
  }

  .link:hover .arrow {
    transform: rotate(180deg);
  }
}

@media (max-width: 1440px) {
  .logo {
    margin-left: 60px; /* Reduced inward spacing for smaller screens */
  }

  .nav-options {
    margin-right: 60px; /* Reduced inward spacing for smaller screens */
  }
}

@media (max-width: 1024px) {
  .logo {
    margin-left: 20px; /* Minimal spacing for mobile */
    width: auto;
  }

  .nav-options {
    margin-right: 0; /* Remove margin for mobile menu */
    display: none;
    position: absolute;
    top: 12vh;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    width: 100%;
    height: auto;
    padding: 20px 0;
    flex-direction: column;
    align-items: center;
  }

  .nav-options.show {
    display: flex;
  }

  .link {
    margin: 15px 0;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
  }

  .link a {
    font-size: 20px;
    text-align: center;
    padding: 10px 0;
    width: 100%;
  }

  .logo img {
    width: auto;
    height: 40px;
    min-width: unset;
  }

  .dropdown {
    position: static;
    width: 100%;
    background: transparent;
    margin-top: 10px;
  }

  .dropdown a {
    color: white;
    text-align: center;
    padding: 15px;
  }

  .hamburger {
    display: block;
  }

  .has-dropdown.active .dropdown {
    display: block;
  }

  .has-dropdown.active .arrow {
    transform: rotate(180deg);
  }

  .services-link {
    justify-content: center;
    width: 100%;
  }
}

/* Carousel */
.carousel-section {
  display: none;
  position: relative;
  width: 100%;
  height: 100vh;
}

.carousel-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1;
}

.carousel-section video {
  object-fit: cover;
  height: 100vh;
  width: 100%;
  position: relative;
  z-index: 0;
  user-select: none;
  pointer-events: none;
  -webkit-user-drag: none;
}

.carousel-overlay {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 60%;
  overflow: hidden;
  color: white;
  z-index: 2;

  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pre-title {
  font-family: "Cygre";
  color: #939393;
  font-size: 2rem;
  line-height: normal;
}

.title {
  font-size: 4rem;
  font-family: "Cygre SemiBold";
  line-height: 64px;
  margin-bottom: 5px;
}

.post-title {
  font-family: "Host Grotesk";
  color: #939393;
  font-size: 1.25rem;
  line-height: 32px;
  margin-bottom: 5px;
}

.explore-section {
  margin-top: 2%;
  display: flex;
  flex-direction: column;
  width: 30%;
  height: 150%;
  background-color: rgba(102, 99, 99, 0.2);
  backdrop-filter: blur(0.03125rem);
}

.services-btn {
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  font-family: "Host Grotesk";
  font-size: 1rem;
  padding: 6%;
}

.services-btn a {
  text-decoration: none;
  color: white;
}

#progress {
  width: 0%;
  height: 0.125rem;
  background-color: white;
  border: none;
  animation: progressBar 5s linear forwards;
}

@keyframes progressBar {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .carousel-overlay {
    width: 80%;
    left: 5%;
  }

  .pre-title {
    font-size: 1.125rem;
    line-height: 24px;
  }

  .title {
    font-size: 2.5rem;
    line-height: 48px;
  }

  .post-title {
    font-size: 1rem;
    line-height: 24px;
  }

  .explore-section {
    width: 90%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-overlay {
    width: 80%;
    left: 5%;
  }

  .pre-title {
    font-size: 1.5rem;
  }

  .title {
    font-size: 3.5rem;
  }

  .post-title {
    font-size: 1.125rem;
  }
  .services-btn {
    font-size: 1rem;
  }
}

@media (min-width: 1025px) {
  .carousel-overlay {
    width: 50%;
  }
}

/* new .carousel */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.new-carousel {
  text-align: center;
  /* padding: clamp(1rem, 3vw, 3rem); */
  padding-top: clamp(2rem, 5vw, 5rem);
  min-height: 80vh;
  background-color: black;
  overflow: hidden;
}

.carousel-header {
  margin-bottom: clamp(1rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  width: min(90%, 40rem);
  padding: clamp(0.5rem, 2vw, 1.5rem);
}

.heading-text {
  color: #e2b745;
  font-family: "Cygre Medium", sans-serif;
  margin: 0;
  font-size: clamp(1rem, 2vw, 1.5rem);
}

.heading-icon {
  display: flex;
  align-items: center;
  background: #e2b745;
  border-radius: 50%;
  padding: clamp(0.4rem, 1vw, 0.8rem);
}

.carousel-header p {
  font-family: "Host Grotesk", sans-serif;
  color: white;
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: bold;
  width: min(90%, 40rem);
  text-align: center;
  line-height: 1.3;
}

.carousel-container {
  position: relative;
  width: 100%;
  height: min(50vh, 40rem);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(3rem);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.carousel-container.revealed {
  opacity: 1;
  transform: translateY(0);
}

.carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item {
  position: absolute;
  width: min(90%, 50rem);
  opacity: 0;
  transition: all 0.5s ease-in-out;
  border-radius: 2rem;
  border: 1px solid #153d80;
  background: #061122;
  display: flex;
  padding: clamp(0.5rem, 2vw, 1.5rem);
  gap: clamp(0.5rem, 2vw, 1.5rem);
}

.carousel-item.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.carousel-item.prev {
  opacity: 0.5;
  transform: translateX(-100%) scale(0.7);
  z-index: 1;
}

.carousel-item.next {
  opacity: 0.5;
  transform: translateX(100%) scale(0.7);
  z-index: 1;
}

.carousel-item img {
  width: 50%;
  border-radius: 1.25rem;
  object-fit: cover;
}

.carousel-item-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  padding: clamp(0.5rem, 2vw, 1.5rem);
}

.carousel-item h3 {
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  margin-bottom: 1rem;
  color: white;
  text-align: start;
  font-family: "Cygre SemiBold", sans-serif;
  font-weight: 500;
  line-height: 1.3;
}

.carousel-item .description {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  color: #929292;
  text-align: start;
  font-family: "Host Grotesk", sans-serif;
  line-height: 1.5;
}

@media (max-width: 75em) {
  /* 1200px - adjust based on your needs */
  .carousel-item.prev {
    opacity: 0.5;
    transform: translateX(-90%) scale(0.7);
    z-index: 1;
  }

  .carousel-item.next {
    opacity: 0.5;
    transform: translateX(90%) scale(0.7);
    z-index: 1;
  }
}

@media (max-aspect-ratio: 1/1), (max-width: 48rem) {
  .new-carousel {
    min-height: 30svh;
  }

  .carousel-container {
    height: min(50vh, 50rem);
  }

  .carousel-item {
    flex-direction: column;
    width: min(70%, 25rem);
  }

  .carousel-item img {
    width: 100%;
    height: 45%;
  }

  .carousel-item-text {
    width: 100%;
    padding: clamp(0.5rem, 3vw, 1rem);
  }

  .heading-icon svg {
    width: 8px;
    height: 8px;
  }
  .heading-icon {
    padding: 5px;
  }
}

@media (max-height: 40rem) and (min-width: 48rem) {
  .new-carousel {
    padding-top: 1rem;
  }

  .carousel-container {
    height: min(50vh, 30rem);
  }

  .carousel-header {
    margin-bottom: 1rem;
  }
}

/* reveal animation - 1 */
.pillars-overview {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  color: white;
  font-family: "Host Grotesk";
  line-height: 1.5;
  padding: 5% 10%;
  background-image: url("../Assets/Images/BG.svg");
  background-size: cover;
}

.pillars-title {
  font-size: 3rem; /* 48px */
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
  width: 50%;
}

.desc {
  font-size: 1.5rem; /* 24px */
  line-height: 128%;
}

.grey {
  color: #929292;
}

.pillars {
  width: 40%;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 1s ease, transform 1s ease;
  border-radius: 0.625rem; /* 10px */
  position: relative;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(0.3125rem); /* 5px */
}

.pillars::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 1.25rem; /* 20px */
  padding: 0.125rem; /* 2px */
  background: linear-gradient(
    to bottom,
    #000 0%,
    #153d80 15%,
    #153d80 85%,
    #000 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.pillars-description {
  padding: 8% 8%;
  gap: 1rem; /* 16px */
}

.pillars-description h1 {
  font-family: "Cygre Medium";
  font-size: 2rem; /* 32px */
}

.pillars-description p {
  font-family: "Host Grotesk";
  font-size: 1.125rem; /* 18px */
  line-height: 1.78; /* 32px equivalent */
  color: #929292;
}

.pillars-title.in-view {
  transform: translateX(0);
  opacity: 1;
}

.pillars hr {
  border: none;
  height: 0.0625rem; /* 1px */
  background: rgba(7, 19, 39, 1);
}

.pillars.in-view {
  opacity: 1;
  transform: scale(1);
}

/* Responsive Design */
@media screen and (max-width: 64em) {
  /* 1024px */
  .pillars-overview {
    flex-direction: column;
    padding: 6% 8%;
    background-image: url("../Assets/Images/Desktop\ -\ 44.svg");
    background-size: cover;
    background-position: center center;
  }

  .pillars-title {
    width: 100%;
    font-size: 2rem; /* 32px */
    margin-bottom: 1.875rem; /* 30px */
  }

  .pillars {
    width: 100%;
  }

  .pillars-description {
    padding: 4% 8%;
  }
  .pillars-description h1 {
    font-size: 2rem; /* 24px */
  }

  .desc {
    font-size: 1rem; /* 16px */
    margin-top: 0.625rem; /* 10px */
  }
}

@media screen and (max-width: 48em) {
  /* 768px */
  .pillars-title {
    font-size: 1.5rem; /* 24px */
  }

  .pillars-description h1 {
    font-size: 1.125rem; /* 18px */
  }

  .pillars-description {
    padding: 1.5rem; /* 24px */
  }

  .desc {
    font-size: 0.875rem; /* 14px */
  }
}

@media screen and (max-width: 30em) {
  /* 480px */
  .pillars-overview {
    padding: 6% 5%;
  }

  .pillars-title {
    font-size: 1.25rem; /* 20px */
    margin-bottom: 1.25rem; /* 20px */
  }

  .pillars-description p {
    font-size: 0.875rem; /* 14px */
    line-height: 1.5;
  }
}

/* services animation0 */
/* body {
  background: #0a0a0a;
  overflow-x: hidden;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
} */

.slider-container {
  width: 100%;
  height: 100vh;
  position: relative;
  perspective: 1000px;
  overflow: hidden;
}

.slider-track {
  display: flex;
  height: 100%;
  will-change: transform;
  transform: translateZ(0); /* Enable GPU acceleration */
  backface-visibility: hidden;
}

.slide {
  min-width: 100%;
  padding: 4rem 10%;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
  transform-style: preserve-3d;
    will-change: transform, opacity;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 30%, transparent 100%);
  z-index: 1;
}

.slide-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 600px;
  opacity: 0;
  transform: translateY(50px);
  transition: all 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide h2 {
  font-family: "Cygre Medium";
  font-size: 4rem;
  margin-bottom: 1.5rem;
  /*background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
  text-shadow: 0 0 30px rgba(54, 60, 253, 0.3);*/
  color: #363cfd;
  line-height: 64px;
}

.slide p {
  font-family: "Host Grotesk";
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  padding: 1.5rem 0;
  position: relative;
}

.slide p::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary);
}

.explore-btn {
  position: relative;
  background: transparent;
  color: black;
  padding: 1rem 3rem;
  border: 4px solid #917830;
  border-radius: 900px;
  background-color: #e2b745;
  font-family: "Host Grotesk";
  font-size: 1.1rem;
  cursor: pointer;
  white-space: nowrap;

  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10%;
}

.explore-btn svg {
  display: flex;
  align-items: center;
}

/*.explore-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient);
  transition: all 0.5s ease;
  z-index: -1;
}

.explore-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(54, 60, 253, 0.4);
}

.explore-btn:hover::before {
  left: 0;
}*/

.slider-nav {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 1.5rem;
  z-index: 3;
}

.nav-dot {
  width: 20px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.5s ease;
  box-shadow: 0 0 10px rgba(54, 60, 253, 0.3);
}

.nav-dot.active {
  background: var(--primary);
  transform: scale(1.5);
  box-shadow: 0 0 20px var(--primary);
}

.arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.5s ease;
  display: grid;
  place-items: center;
  opacity: 0;
  animation: fadeInControls 1s forwards 1s;
}

.arrow-btn:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.2);
  box-shadow: 0 0 30px var(--accent);
}

.prev-btn {
  left: 2rem;
}

.next-btn {
  right: 2rem;
}

@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes fadeInControls {
  to {
    opacity: 1;
  }
}

@media screen and (width: 1024px) and (height: 640px) {
  .slider-container {
    height: 100vh;
  }
  .slide h2 {
    font-size: 2.5rem;
  }
}

/* Responsive Fixes */
@media (max-width: 820px) {
  .slider-container {
    height: 80vh;
  }
  .slide {
    padding: 2rem 1.5rem;
    justify-content: flex-end;
    text-align: center;
    justify-content: center;
  }

  .slide h2 {
    font-size: 2.5rem;
    line-height: 40px;
    margin-bottom: 1rem;
  }

  .slide p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .explore-btn {
    width: 100%;
    max-width: 200px;
    padding: 1rem 1.5rem;
    margin: 0 auto;
    white-space: nowrap;
  }

  .arrow-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    top: auto;
    bottom: 1rem;
  }

  .prev-btn {
    left: 1rem;
  }

  .next-btn {
    right: 1rem;
  }

  .slider-nav {
    bottom: 5rem;
  }

  .slide-content {
    padding-bottom: 80px;
    /* Add space for buttons */
  }
}

@media screen and (max-width: 480px) and (max-height: 700px) {
  .slider-container {
    height: 120vh;
  }
}
@media (max-width: 480px) {
  .slider-container {
    height: 100vh;
  }
  .slide h2 {
    font-size: 2rem;
  }

  .slide p {
    font-size: 0.9rem;
  }

  .slider-nav {
    bottom: 4rem;
  }

  .slide-content {
    padding-bottom: 100px;
    /* More space for buttons */
  }

  .explore-btn {
    font-size: 1rem;
    padding: 0.8rem 2rem;
  }
}

/* testimonial */
.testimonial-carousel {
  background-color: #d1a238;
  color: black;
  text-align: center;
  padding: 5% 10%;
  position: relative;
}

.testimonial-carousel h2 {
  font-size: 1.5rem; /* 24px */
  text-align: start;
  color: blue;
  /* margin-bottom: 3%; */
  font-family: "Cygre Medium";
}

.heading-container1 {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 0.9375rem; /* 15px */
  width: 50%;
  padding-bottom: 1.25rem; /* 20px */
}

.heading-icon1 {
  display: flex;
  align-items: center;
  background: #363cfd;
  border-radius: 50%;
  padding: 10px; /* 5px */
}

.testimonial-carousel .testimonial-slide {
  text-align: start;
  display: none;
  font-size: 1.5rem; /* 24px */
  margin-bottom: 1rem;
  font-family: "Host Grotesk";
}

.testimonial-slide hr {
  margin: 2% 0;
  border: none;
  border-top: 0.0625rem solid black; /* 1px */
}

.testimonial-carousel .testimonial-slide.active {
  display: block;
}

.testimonial-carousel .author {
  margin-top: 1rem;
  font-size: 1rem;
}

.testimonial-carousel .author .name {
  margin-top: 2%;
  font-weight: bold;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  color: #000000;
}

.carousel-controls button {
  background-color: #ebce81;
  border: none;
  padding: 1rem;
  cursor: pointer;
  border-radius: 50%;
  aspect-ratio: 1; /* Maintain circle shape */
}

.carousel-controls button:hover {
  background-color: #555555;
}

/* Animations */
@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes fadeSlideOut {
  from {
    opacity: 1;
    transform: scale(1);
  }
  to {
    opacity: 0;
    transform: scale(0.9);
  }
}

.testimonial-slide.active {
  animation: fadeSlideIn 0.5s ease forwards;
}

.testimonial-slide:not(.active) {
  animation: fadeSlideOut 0.5s ease forwards;
}

@media (max-width: 64em) {
  /* 1024px */
  .testimonial-carousel {
    padding: 2.5rem 5%; /* 40px */
  }

  .testimonial-carousel h2 {
    font-size: 1.125rem; /* 18px */
  }

  .heading-container1 {
    width: 100%;
    align-items: center;
    /* justify-content: center; */
  }
}

@media (max-width: 48em) {
  /* 768px */
  .testimonial-carousel h2 {
    font-size: 1rem; /* 14px */
    text-align: center;
    padding: 0;
    margin: 0%;
  }

  .heading-container1 {
    align-items: center;
    gap: 0.625rem; /* 10px */
    padding-bottom: 1rem; /* 16px */
  }
  .heading-icon1 {
    padding: 0.3em;
  }
  .heading-icon1 svg {
    width: 15px;
    height: 15px;
  }
  .heading-icon1 {
    display: flex;
    align-items: center;
    background: #363cfd;
    border-radius: 50%;
    padding: 6px; /* 5px */
  }

  .testimonial-carousel .testimonial-slide {
    font-size: 1rem; /* 16px */
    line-height: 1.25; /* Improved readability */
  }

  .carousel-controls button {
    padding: 0.75rem;
  }
}

@media (max-width: 30em) {
  /* 480px */
  .testimonial-carousel {
    padding: 1.5rem 5%;
  }

  .testimonial-carousel h2 {
    font-size: 0.75rem; /* 12px */
  }

  .testimonial-carousel .testimonial-slide {
    font-size: 0.875rem; /* 14px */
    line-height: 1.4;
  }

  .carousel-controls {
    justify-content: center;
  }
}

/* case studies */
.case-studies {
  padding: 2% 12%;
}

.case-studies-title {
  text-align: center;
}

.case-studies-title p:nth-child(1) {
  color: #363cfd;
  font-family: "Cygre Medium";
  font-size: 2rem; /* 32px */
  margin-bottom: 0.625rem; /* 10px */
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem; /* 20px */
}

.case-studies-title p:nth-child(1) svg {
  background-color: #363cfd;
  padding: 10px;
  border-radius: 50%;
  width: 2.5rem; /* Increased size */
  height: 2.5rem; /* Increased size */
  display: block; /* Ensure proper display */
}

.case-studies-title p:nth-child(2) {
  font-family: "Host Grotesk";
  font-size: 3rem; /* 48px */
  line-height: 1.167; /* 56px/48px */
}

.card-container {
  display: flex;
  gap: 15px;
  padding: 20px;
  width: 100%;
  cursor: grab;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  user-select: none;

  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;

  

  justify-content: center;
  padding-left: calc(
    (100% - (25rem * 3 + 1.875rem)) / 2
  ); /* Centers 3 cards, accounts for gap */
}

.card-container::-webkit-scrollbar {
  display: none;
}

.card-container-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  /* padding-bottom: 5%; */
  display: flex;
  flex-direction: column;
  align-items: center;
  /* justify-content: center; */
}

.card {
  flex: 0 0 min(25rem, 90vw); /* 400px */
  height: min(21.875rem, 70vw); /* 350px */
  background-color: #8e5c5c;
  border-radius: 0.625rem; /* 10px */
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
  display: flex;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
}

.card-container:active {
  cursor: grabbing;
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0) 40%,
    rgba(0, 0, 0, 0.6) 80%,
    rgba(0, 0, 0, 0.8) 100%
  );
  border-radius: 0.625rem; /* 10px */
}

.tag {
  position: absolute;
  top: 5%;
  left: 5%;
  padding: 0.5rem 1rem;
  background-color: rgba(125, 120, 120, 0.5);
  backdrop-filter: blur(0.125rem); /* 2px */
  color: white;
  border: 0.03125rem solid white; /* 0.5px */
  border-radius: 3.125rem; /* 50px */
  font-family: "Host Grotesk";
  font-size: clamp(0.5rem, 0.8vw, 0.75rem); /* Responsive clamp */
}

.text1 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 1.25rem; /* 20px */
}
.text1 a {
  text-decoration: none;
}
.text1 p:nth-child(1) {
  color: #bebebe;
  font-family: "Cygre";
  font-weight: 500;
}

.text1 p:nth-child(2) {
  color: white;
  font-family: "Host Grotesk";
  font-size: clamp(1rem, 1.2vw, 1.5rem);
}

.button-container1 {
  display: inline-flex;
  background-color: #7d80fc;
  margin: 0.625rem; /* 10px */
  margin-top: 1.25rem; /* 20px */
  padding: 0.3125rem; /* 5px */
  border-radius: 999px;
  box-shadow: 0 0.25rem 0.625rem rgba(0, 0, 0, 0.2);
}

.responsive-button1 {
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.9375rem; /* 15px */
  padding: 0.9375rem 1.875rem; /* 15px 30px */
  border-radius: 999px;
  background-color: #363cfd;
  color: white;
  font-size: clamp(1rem, 1.25vw, 1.125rem); /* 16-18px */
  font-family: "Cygre Medium";
}

.button-arrow {
  font-size: 1.25rem; /* 20px */
  transition: transform 0.2s;
}
@media (max-width: 90em) {
  /* 1200px - adjust based on your needs */
  .card-container {
    padding-left: 1.25rem;
    justify-content: flex-start;
  }
}
@media (max-width: 48em) {
  /* 768px */
  .case-studies {
    padding: 6% 5%;
  }

  .case-studies-title p:nth-child(1) {
    font-size: 1.25rem; /* 20px */
    gap: 0.625rem; /* 10px */
  }

  .case-studies-title p:nth-child(2) {
    font-size: 1.75rem; /* 28px */
    line-height: 1.2;
  }

  .card-container {
    padding-left: 1rem;
    justify-content: start;
  }

  .tag {
    font-size: 0.75rem; /* 12px */
    padding: 0.25rem 0.5rem;
  }

  .case-studies-title p:nth-child(1) svg {
    background-color: #363cfd;
    padding: 6px;
    border-radius: 50%;
    width: 1.5rem; /* Increased size */
    height: 1.5rem; /* Increased size */
    display: block; /* Ensure proper display */
  }
}

@media (max-width: 30em) {
  /* 480px */
  .case-studies-title p:nth-child(1) {
    font-size: 1rem; /* 16px */
  }

  .case-studies-title p:nth-child(2) {
    font-size: 1.5rem; /* 24px */
  }

  .responsive-button1 {
    padding: 0.625rem 1.25rem; /* 10px 20px */
  }
}



/* footer */
.immersive-footer {
  position: relative;
  background: linear-gradient(to bottom, #000510, #000);
  color: #fff;
  padding: 6rem 2rem 2rem;
  overflow: hidden;
}

/* Animated Background */
.footer-background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
      to right,
      rgba(54, 60, 253, 0.1) 1px,
      transparent 1px
    ),
    linear-gradient(to bottom, rgba(54, 60, 253, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  transform: perspective(500px) rotateX(60deg);
  transform-origin: top;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 30px 30px;
  }
}

.footer-content {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
}

/* Hero Section */
.footer-hero {
  text-align: center;
  margin-bottom: 5rem;
}

.glowing-text {
  font-family: "Cygre";
  font-size: 3rem;
  background: linear-gradient(90deg, #363cfd, #e2b745);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 2rem;
  animation: textGlow 3s ease-in-out infinite;
}

@keyframes textGlow {
  0%,
  100% {
    filter: drop-shadow(0 0 10px rgba(54, 60, 253, 0.5));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(226, 183, 69, 0.7));
  }
}

.cta-button a {
  display: inline-block;
  padding: 1rem 2.5rem;
  font-family: "Cygre";
  font-size: 1.125rem;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(90deg, #363cfd, #4b50fd);
  border-radius: 50px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.button-highlight {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.cta-button a:hover {
  transform: translateY(-2px);
}

.cta-button a:hover .button-highlight {
  left: 100%;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 4rem;
  /* margin-bottom: 4rem; */
}

/* Company Section */
.logo-container {
  position: relative;
  margin-bottom: 2rem;
}

.footer-logo {
  height: 40px;
  position: relative;
  z-index: 1;
}

.logo-glow {
  position: absolute;
  inset: -10px;
  background: radial-gradient(circle, rgba(54, 60, 253, 0.2), transparent);
  filter: blur(10px);
  animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoGlow {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

.company-tagline {
  font-family: "Host Grotesk";
  color: #888;
  margin-bottom: 2rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-icon {
  color: #fff;
  transition: transform 0.3s ease, color 0.3s ease;
}

.hover-float:hover {
  transform: translateY(-5px);
  color: #e2b745;
}

/* Section Styles */
.section-title {
  font-family: "Cygre", sans-serif;
  font-size: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, #363cfd, #e2b745);
}

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

.animated-list li {
  margin-bottom: 1rem;
  transform: translateX(0);
  transition: transform 0.3s ease;
}

.animated-list a {
  font-family: "Host Grotesk", sans-serif;
  color: #888;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
}

.animated-list a:hover {
  color: #fff;
  /* transform: translateX(10px); */
}

/* Contact Cards */
.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card {
  background: rgba(54, 60, 253, 0.1);
  border: 1px solid rgba(54, 60, 253, 0.2);
  border-radius: 10px;
  padding: 1rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.contact-card:hover {
  transform: translateX(3px);
  background: rgba(54, 60, 253, 0.15);
}

.card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: "Host Grotesk", sans-serif;
  color: #888;
}
.card-content a {
  text-decoration: none;
  color: #888;
}
.contact-icon {
  color: #363cfd;
  flex-shrink: 0;
}

/* Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(54, 60, 253, 0.2);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.legal-links {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.legal-links a {
  color: #888;
  text-decoration: none;
  font-family: "Host Grotesk", sans-serif;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.legal-links a:hover {
  color: #fff;
}

.separator {
  color: #363cfd;
  font-size: 0.5rem;
}

.copyright {
  color: #888;
  font-family: "Host Grotesk", sans-serif;
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .company-section {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .immersive-footer {
    padding: 4rem 1.5rem 1.5rem;
  }

  .glowing-text {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .legal-links {
    flex-direction: column;
    gap: 1rem;
  }

  .separator {
    display: none;
  }
}

@media (max-width: 480px) {
  .glowing-text {
    font-size: 1.5rem;
  }

  .cta-button a {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.125rem;
  }

  .contact-card {
    padding: 0.875rem;
  }
}

/* Hover Effects */
@media (hover: hover) {
  /* .animated-list li:hover {
    transform: translateX(5px);
  } */

  .social-icon:hover {
    transform: translateY(-5px) scale(1.1);
  }

  /* .contact-card:hover {
    transform: translateX(5px) translateY(-2px);
    box-shadow: 0 5px 15px rgba(54, 60, 253, 0.15);
  } */
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.footer-section {
  animation: fadeIn 0.6s ease-out forwards;
}
