@import url("https://fonts.cdnfonts.com/css/lufga");

:root {
  --primary-color: #171d21;
  --secondary-color: #ff00ff;
  --primary-color-second: #232520;
  --secondary-color-opacity: #546b2e10;
  --text-secondary: #767676;
  --color-hover: #ff00ff;
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
}
.text-secondary-color {
  color: #ff00ff;
}
* {
  box-sizing: border-box;
  text-decoration: none !important;
  color: rgb(255, 255, 255);
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 !important;
  padding: 0 !important;
}

body {
  background: var(--primary-color);
  font-family: monument extended !important;
  letter-spacing: 2px;
}
.fmt {
  margin-top: calc(2rem + 2vw);
}

@media (max-width: 768px) {
  .fmt {
    margin-top: calc(7rem + 6vw);
  }
}
.container {
  max-width: 3840px;
  padding: 0 calc(0.7rem + 2vw);
}

/* ///////////// header ///////////////////// */

/* Navigation styles */
.nav-desktop {
  display: none;
  margin: 2rem auto;
  z-index: 11150;
  width: 100%;
  max-width: calc(40rem + 30vw);
  padding: 0 1rem;
  position: relative;
  z-index: 10; /* always above moon */
}

.nav-mobile {
  display: block;
  position: absolute;
  top: 32px;
  left: 16px;
  right: 16px;
  z-index: 1150;
}

.nav-container {
  background: rgba(102, 14, 124, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid magenta;
  border-radius: 9999px;
  padding: 7px 32px;

  /* Glow effect */
  box-shadow:
    0 0 4px magenta,
    0 0 4px magenta,
    0 0 4px magenta;
}

.nav-mobile .nav-container {
  padding: 10px 24px;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-desktop .nav-content {
  gap: 48px;
}

.logo {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: 0.2s ease;
}
.logo:hover {
  color: magenta;
}
.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  color: magenta;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: rgb(255, 180, 255);
}

/* Hamburger menu */
.hamburger {
  position: relative;
  width: 32px;
  height: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition:
    transform 0.4s ease,
    opacity 0.3s ease,
    width 0.3s ease;
}

/* Animation to X */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
  width: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile dropdown */
.mobile-dropdown {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  margin-top: 16px;
  background: rgba(31, 41, 55, 0.5);
  backdrop-filter: blur(12px);
  border: 2px solid magenta;
  /* Glow effect */
  box-shadow:
    0 0 4px magenta,
    0 0 4px magenta,
    0 0 4px magenta;
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.3s ease-in-out;
  opacity: 0;
  transform: translateY(-16px);
  max-height: 0;
  width: 100%;
  margin: auto;
  z-index: -100;
}

.mobile-dropdown.active {
  opacity: 1;
  transform: translateY(0);
  max-height: 384px;
}

.mobile-dropdown.inactive {
  border-color: transparent;
}

.dropdown-content {
  padding: 70px 0 24px 0;
}

.dropdown-link {
  display: block;
  text-align: center;
  color: magenta;
  text-decoration: none;
  font-size: 14px;
  padding: 16px 0;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
}

.dropdown-link.animate {
  opacity: 1;
  transform: translateY(0);
}

.dropdown-link:hover {
  color: white;
}

.nav-link.active,
.dropdown-link.active {
  color: white;
}

/* Mobile overlay */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  z-index: 40;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Main content */
.main-content {
  position: relative;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 55rem;
  padding: 0 25px;
  text-align: center;
  margin-top: 0rem;
  width: 100%;
  overflow-x: hidden !important;
}

.content-container {
  max-width: 1024px;
  margin: 0 auto;
}

.main-title {
  font-weight: bold;
  /* Change 'to right' to 'to bottom' for a vertical gradient */
  background: linear-gradient(to bottom, magenta, black);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
  margin-bottom: 32px;
  margin-top: 10rem;
}

.main-description {
  color: rgb(142, 134, 162);
  font-size: 1.1rem;
  max-width: 512px;
  margin: auto !important;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .dec2 {
    max-width: 700px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.cta-button {
  background: linear-gradient(45deg, #9e2185, #5d1e99);
  color: white;
  padding: 10px 20px;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  margin-top: 2rem;
}

.cta-button:hover {
  transform: scale(1.1) !important;
  color: white;
}

/* Responsive design */
@media (min-width: 768px) {
  .nav-desktop {
    display: block;
  }

  .nav-mobile {
    display: none;
  }
  .main-content {
    margin-top: -7rem;
  }
}

.deskmoon {
  width: 70vw;
  z-index: -1000;
  position: absolute;
  padding-bottom: 70px;

  z-index: -1; /* behind nav, but not behind body */
  pointer-events: none; /* avoid blocking clicks */
}
.mobmoon {
  width: 110vw;
  position: absolute;
  z-index: -1000;
  padding-bottom: 250px;
}

/* Fullscreen preloader */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transform-origin: center center;
}

#preloader.zoom-out {
  animation: preloaderZoomOut 0.35s cubic-bezier(0.9, 0, 1, 1) forwards;
}

@keyframes preloaderZoomOut {
  0% {
    transform: scale(1);
    opacity: 1;
    filter: blur(0px);
  }
  60% {
    opacity: 1;
    filter: blur(6px);
  }
  100% {
    transform: scale(15);
    opacity: 0;
    filter: blur(40px);
  }
}

/* Opacity wave animation */
.fade-loader span {
  display: inline-block;
  font-size: 32px;
  color: #ffffff;
  opacity: 0.3;
  animation: fadeWave 2.4s ease-in-out 1 forwards;
}

.fade-loader span:nth-child(1) {
  animation-delay: 0s;
}
.fade-loader span:nth-child(2) {
  animation-delay: 0.1s;
}
.fade-loader span:nth-child(3) {
  animation-delay: 0.2s;
}
.fade-loader span:nth-child(4) {
  animation-delay: 0.3s;
}
.fade-loader span:nth-child(5) {
  animation-delay: 0.4s;
}
.fade-loader span:nth-child(6) {
  animation-delay: 0.5s;
}
.fade-loader span:nth-child(7) {
  animation-delay: 0.6s;
}

@keyframes fadeWave {
  0% {
    opacity: 0.3;
  }
  25% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
  75% {
    opacity: 1;
  }
  100% {
    opacity: 1;
  }
}

/* br simo animation */
.branimation span {
  font-size: calc(1.5rem + 3.5vw);
  margin-top: calc(6rem + 10vw);
  margin-bottom: 1rem;
  opacity: 0;
  transition: all 0.5s ease;
  transform: translateY(50px);
  display: inline-block;

  background: linear-gradient(to bottom, magenta 25%, var(--primary-color) 75%);

  -webkit-background-clip: text;
  background-clip: text;

  -webkit-text-fill-color: transparent;
}

.branimation span.transform {
  opacity: 1;
  transform: translateY(0px);
}

/* Custom Card */

.card a,
p {
  z-index: 10; /* Ensures the link is clickable */
}
.card a {
  color: var(--secondary-color);
}
.custom-card {
  position: relative;
  border-radius: 20 !important;
}

.custom-card .card-img,
.custom-card .card-img-overlay {
  border-radius: 20 !important;
}

.card-image-wrapper {
  position: relative;
  overflow: hidden;
}

.card-image-wrapper .gradient-overlay {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, #161f09c9, #ffffff00);
}

@media (min-width: 1500px) {
  .cards-row .card-col {
    flex: 0 0 25%;
    max-width: 25%;
  }
}

.agencycard::before {
  content: "";
  width: 102%;
  height: 102%;
  border-radius: 8px;
  background-image: linear-gradient(var(--rotate), #1b1721 43%, #ff00ff);
  position: absolute;
  z-index: -1;
  top: -1%;
  left: -1%;
  animation: spin 7.5s linear infinite;
}

.groupcard::before {
  content: "";
  width: 102%;
  height: 102%;
  border-radius: 8px;
  background-image: linear-gradient(var(--rotate), #1b1721 43%, #ffffff);
  position: absolute;
  z-index: -1;
  top: -1%;
  left: -1%;
  animation: spin 7.5s linear infinite;
}

.Architecturecard::before {
  content: "";
  width: 102%;
  height: 102%;
  border-radius: 8px;
  background-image: linear-gradient(var(--rotate), #1b1721 43%, #c4ad8f);
  position: absolute;
  z-index: -1;
  top: -1%;
  left: -1%;
  animation: spin 7.5s linear infinite;
}

.techcard::before {
  content: "";
  width: 102%;
  height: 102%;
  border-radius: 8px;
  background-image: linear-gradient(var(--rotate), #1b1721 43%, #ff6f00);
  position: absolute;
  z-index: -1;
  top: -1%;
  left: -1%;
  animation: spin 7.5s linear infinite;
}

@property --rotate {
  syntax: "<angle>";
  initial-value: 132deg;
  inherits: false;
}
@keyframes spin {
  0% {
    --rotate: 0deg;
  }
  100% {
    --rotate: 360deg;
  }
}

/* .footer-section {
} */

.footer-border {
  border-top: 1px solid #aa00aa !important;
  border-bottom: 1px solid #aa00aa !important;
}

.footer-section i,
.footer-section h4,
.footer-section h6 {
  color: var(--secondary-color);
}

.footer-section i {
  margin-right: 6px;
}
.footer-section a {
  color: #ffffff;
  transition: 0.3s;
}
.footer-section a:hover {
  color: #ff00ff !important;
}
.FooterFont {
  font-family: monument extended !important;
  font-size: 0.8rem;
}
/* Transition Onload //////////////////////////////////////////// */
.transition-fade-right,
.transition-fade-up {
  opacity: 0;
  transition: all 1s ease-out;
}

/* Base styles for the transition */
.transition-fade-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease-out;
}

/* Custom delay for each word */
.transition-fade-left:nth-child(1) {
  transition-delay: 0s; /* Creative */
}

.transition-fade-left:nth-child(2) {
  transition-delay: 0.3s; /* Digital */
}

.transition-fade-left:nth-child(3) {
  transition-delay: 0.5s; /* Agency */
}

/* Transition effects */
.transition-fade-left {
  transform: translateX(-50px);
}

.transition-fade-right {
  transform: translateX(50px);
}

.transition-fade-up {
  transform: translateY(50px);
}
/* CSS transition fade-down */
.transition-fade-down {
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 1s ease-out,
    transform 1s ease-out;
}

.transition-fade-down.show {
  opacity: 1;
  transform: translateY(0);
}
/* Active state (after animation) */
.active {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* ////////////////////////// */
.flex {
  display: flex;
}
.font-size-404 {
  font-size: 70px;
}

.map-container {
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.row > * {
  padding-right: calc(var(--bs-gutter-x) * 1);
  padding-left: calc(var(--bs-gutter-x) * 1);
}

@media (max-width: 700px) {
  .row > * {
    padding: 0 calc(var(--bs-gutter-x) * 0.5) calc(var(--bs-gutter-x) * 0.5)
      calc(var(--bs-gutter-x) * 0.5);
  }
}

/* //////////////////////////clients page//////////////////////// */
.row.custom-row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}

.custom-col {
  padding-left: 8px;
  padding-right: 8px;
  width: 20%; /* 5 columns on small and medium */
}

@media (min-width: 992px) {
  .custom-col {
    width: 14.2857%; /* 7 columns on large and up */
  }
}

/* //////////////////////////about page//////////////////////// */

.paragraph {
  padding: 0 10vw;
  line-height: 2.3rem;
  font-size: 1.3rem;
}

.lufgaF {
  font-family: "Lufga", sans-serif !important;
  letter-spacing: 1px;
  color: rgb(142, 134, 162) !important;
}

@media (max-width: 992px) {
  .paragraph {
    padding: 0 5vw;
    line-height: 2rem;
    font-size: 1rem;
  }
}

@media (min-width: 1400px) {
  .plr {
    padding: 0 15vw;
  }
}

/* text color animation */
.anim-text-flow span,
.anim-text-flow-hover:hover span {
  animation-name: anim-text-flow-keys;
  animation-duration: 3s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-fill-mode: forwards;
}

@keyframes anim-text-flow-keys {
  0% {
    color: hsl(296, 100%, 88%);
  }
  50% {
    color: hsl(288, 100%, 66%);
  }

  100% {
    color: hsl(311, 100%, 55%);
  }
}

/* Delays: You can copy this block up to 100 spans */
.anim-text-flow span:nth-of-type(1) {
  animation-delay: -19.8s;
}
.anim-text-flow span:nth-of-type(2) {
  animation-delay: -19.6s;
}
.anim-text-flow span:nth-of-type(3) {
  animation-delay: -19.4s;
}
.anim-text-flow span:nth-of-type(4) {
  animation-delay: -19.2s;
}
.anim-text-flow span:nth-of-type(5) {
  animation-delay: -19s;
}
.anim-text-flow span:nth-of-type(6) {
  animation-delay: -18.8s;
}
.anim-text-flow span:nth-of-type(7) {
  animation-delay: -18.6s;
}
.anim-text-flow span:nth-of-type(8) {
  animation-delay: -18.4s;
}
.anim-text-flow span:nth-of-type(9) {
  animation-delay: -18.2s;
}
.anim-text-flow span:nth-of-type(10) {
  animation-delay: -18s;
}
.anim-text-flow span:nth-of-type(11) {
  animation-delay: -17.8s;
}
.anim-text-flow span:nth-of-type(12) {
  animation-delay: -17.6s;
}
.anim-text-flow span:nth-of-type(13) {
  animation-delay: -17.4s;
}
.anim-text-flow span:nth-of-type(14) {
  animation-delay: -17.2s;
}
.anim-text-flow span:nth-of-type(15) {
  animation-delay: -17s;
}
.anim-text-flow span:nth-of-type(16) {
  animation-delay: -16.8s;
}
.anim-text-flow span:nth-of-type(17) {
  animation-delay: -16.6s;
}
.anim-text-flow span:nth-of-type(18) {
  animation-delay: -16.4s;
}
.anim-text-flow span:nth-of-type(19) {
  animation-delay: -16.2s;
}
.anim-text-flow span:nth-of-type(20) {
  animation-delay: -16s;
}

.anim-text-flow span:nth-of-type(100) {
  animation-delay: 0s;
}

/* /////////////////////////////////////////////////// contact button */
.button-wrapper {
  position: relative;
  display: inline-block;
  width: calc(5vw + 10rem);
  height: calc(2vw + 4rem);
}

.button {
  display: block;
  font-size: calc(1rem + 0.7vw);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  line-height: 32px;
  text-transform: uppercase;
  letter-spacing: 2px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 1150px;
  border: 0px;
  cursor: pointer;
  width: calc(4.7vw + 9.8rem);
  height: calc(1.8vw + 3.8rem);
}

.button-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(5vw + 10rem);
  height: calc(2vw + 4rem);
  background: linear-gradient(
    90deg,
    #ff8038 0%,
    #ff0099 30.43%,
    #00ebeb 68.23%,
    #db00ff 100%
  );
  background-size: 600% 600%;
  border-radius: 1150px;
  animation: AnimateBorder 4s ease infinite;
  -webkit-animation: AnimateBorder 4s ease infinite;
  -moz-animation: AnimateBorder 4s ease infinite;
  z-index: -1;
  transition: filter 1s ease-in;
}

.button-wrapper:hover .button-bg {
  filter: blur(10px);
  transition: filter 0.4s ease-in;
}

@-webkit-keyframes AnimateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@-moz-keyframes AnimateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
@keyframes AnimateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* /////////////////////////////////////////////////// line */

.marquee__part {
  flex-shrink: 0;
  padding: 0 4px;
  font-smooth: always;
}

.marquee {
  background: #810081;
  color: #eee;
  text-transform: uppercase;
  font-size: calc(1rem + 1vw);
  padding: 1rem 0;
  margin-top: calc(2rem + 4vw) !important;
  margin-bottom: calc(2rem + 4vw) !important;
  position: relative;
  overflow: hidden;
}

.marquee__inner {
  -webkit-font-smoothing: antialiased;
  width: fit-content;
  display: flex;
  flex: auto;
  gap: calc(2vw + 2rem);
}

.spacer {
  height: 100px;
}

/* ////////////////////////////////////////// */

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: calc(9rem + 20vw) !important;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: calc(15rem + 25vw); /* or any fixed height you want */
  object-fit: cover;
  -webkit-box-reflect: below 1px
    linear-gradient(transparent, transparent, #0002, #0004);
}

/* //////////////////////////////////////////// */
.gradient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -101;
}

.circle-1 {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.1), transparent 70%);
}

.circle-2 {
  position: absolute;
  top: 0%;
  left: 70%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.1), transparent 70%);
}

.circle-3 {
  position: absolute;
  top: -40%;
  left: 30%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.1), transparent 70%);
}

.circle-4 {
  position: absolute;
  top: 70%;
  left: 50%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.1), transparent 70%);
}

.circle-5 {
  position: absolute;
  top: 60%;
  left: 0%;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 0, 255, 0.1), transparent 70%);
}

/* Tablet Responsive */
@media (max-width: 1024px) {
  .circle-1,
  .circle-2,
  .circle-3,
  .circle-4,
  .circle-5 {
    width: 600px;
    height: 600px;
  }

  .circle-1 {
    top: 0%;
    left: -15%;
  }

  .circle-2 {
    top: 15%;
    left: 70%;
  }

  .circle-4 {
    top: 80%;
    left: 50%;
  }

  .circle-5 {
    top: 60%;
    left: -10%;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .circle-1,
  .circle-2,
  .circle-3,
  .circle-4,
  .circle-5 {
    width: 400px;
    height: 400px;
  }

  .circle-1 {
    top: 15%;
    left: -30%;
  }

  .circle-3 {
    top: -20%;
    left: 15%;
  }

  .circle-4 {
    top: 70%;
    left: 60%;
  }
}

/* Small Mobile Responsive */
@media (max-width: 550px) {
  .circle-1 {
    top: 25%;
    left: -50%;
  }

  .circle-3 {
    top: -20%;
    left: 10%;
  }

  .circle-5 {
    top: 70%;
    left: -50%;
  }
}
