:root {
  --primary: #ffda31;
  --bglight: #f6f6f6;
  --bgdark: #333333;
}

/* Text utilities */
.text-primary {
  color: var(--primary);
}

/* Background utilities */
.bg-primary {
  background-color: var(--primary);
}

.bg-bglight {
  background-color: var(--bglight);
}
.bg-bgdark {
  background-color: var(--bgdark);
}

/* Global styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  font-family: "Aktiv Grotesk", sans-serif;
  color: #000000;
  background-color: white;
}

.Abhaya {
  font-family: "Abhaya Libre", serif;
}

/* my contain sizes */
@media (min-width: 100px) {
  .contain {
    max-width: 1920px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
  .paddingy {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .marginy {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .paddingx {
    padding-left: 20px;
    padding-right: 20px;
  }
  .define-text-manually {
    font-size: 45px !important;
    line-height: 1 !important;
  }
  .define-text-manually-hero,
  .define-text-manually-footer {
    font-size: 45px !important;
    line-height: 1 !important;
  }
}

@media (min-width: 768px) {
  .contain {
    max-width: 1920px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
  }
  .paddingy {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .marginy {
    margin-top: 35px;
    margin-bottom: 35px;
  }
  .paddingx {
    padding-left: 30px;
    padding-right: 30px;
  }
  .define-text-manually {
    font-size: 50px !important;
    line-height: 1 !important;
  }
  .define-text-manually-hero,
  .define-text-manually-footer {
    font-size: 45px !important;
    line-height: 1 !important;
  }
}

@media (min-width: 1024px) {
  .contain {
    max-width: 1920px;
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    align-items: center;
    padding-left: 0px;
    padding-right: 0px;
  }
  .paddingy {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  .marginy {
    margin-top: 50px;
    margin-bottom: 50px;
  }
  .paddingx {
    padding-left: 40px;
    padding-right: 40px;
  }
  .define-text-manually {
    font-size: 55px !important;
    line-height: 1 !important;
  }
  .define-text-manually-hero,
  .define-text-manually-footer {
    font-size: 50px !important;
    line-height: 1 !important;
  }
}

.contain2 {
  max-width: 1920px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  align-items: center;
}

/* Reset Swiper default arrow styles */
.swiper-button-prev,
.swiper-button-next {
  position: static !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  color: inherit !important;
}

/* Hide the default pseudo arrows */
.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important;
  content: "" !important;
}

/* hero section heading */
@media (min-width: 1350px) {
  .define-text-manually {
    font-size: 60px !important;
    line-height: 1 !important;
  }
  .define-text-manually-hero,
  .define-text-manually-footer {
    font-size: 62px !important;
    line-height: 1 !important;
  }
}

@media (min-width: 1650px) {
  .define-text-manually {
    font-size: 70px !important;
    line-height: 1 !important;
  }
  .paddingy {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .marginy {
    margin-top: 60px;
    margin-bottom: 60px;
  }
  .define-text-manually-hero,
  .define-text-manually-footer {
    font-size: 72px !important;
    line-height: 1 !important;
  }
}

@media (min-width: 1800px) {
  .define-text-manually {
    font-size: 100px !important;
    line-height: 1 !important;
  }
  .define-text-manually-hero {
    font-size: 82px !important;
    line-height: 1 !important;
  }
  .define-text-manually-footer {
    font-size: 110px !important;
    line-height: 1 !important;
  }
}

/* Custom short divider utility */
.divide-x-short > :not([hidden]) ~ :not([hidden]) {
  position: relative;
}

.divide-x-short > :not([hidden]) ~ :not([hidden])::before {
  content: "";
  position: absolute;
  top: 25%; /* adjust to move line vertically */
  bottom: 25%; /* controls line height */
  left: 0;
  width: 1px;
  background-color: rgb(209 213 219); /* gray-300 */
}

/* header underline dropdown */
.link-underline {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.link-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
  color: #ffda31;
}

.link-underline:hover::after {
  width: 100%;
}

.link-underline:hover {
  transform: scale();
  font-weight: 500;
}

/* footer underline dropdown */
.link-funderline {
  position: relative;
  display: inline-block;
  transition: transform 0.3s ease-in-out;
}

.link-funderline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  background-color: currentColor;
  transition: width 0.3s ease-in-out;
  color: #000000;
}

.link-funderline:hover::after {
  width: 100%;
}

.link-funderline:hover {
  transform: scale();
  font-weight: 500;
}

/* button arrow hover */
.arrow-move {
  transition: transform 0.3s ease-in-out;
}
.group:hover .arrow-move {
  transform: translate(8px, -8px) scale(1.05);
}

/* dropdown animation */
/* Container fade + 3D lift */
.dropdown-anim {
  animation: dropFade 0.25s ease-out forwards;
}

@keyframes dropFade {
  0% { opacity: 0; transform: translateY(-10px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Card flip animation */
.dropdown-item {
  opacity: 0;
  transform: rotateX(-90deg);
  transform-origin: top;
  animation: flipIn 1s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes flipIn {
  0% {
    opacity: 0;
    transform: rotateX(-90deg);
  }
  100% {
    opacity: 1;
    transform: rotateX(0deg);
  }
}
