@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&display=swap");
@font-face {
  font-family: 'RAIKRISHFONT';
  src: url('FONT/RAIKRISHFONT.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  
  background: #000;
  color: #fff;
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html,
body {
  font-family: "Orbitron", sans-serif;
}

::selection {
  background: #ffffff;
  color: #000;
}

img {
  max-width: 100%;
  display: block;
}

video {
  display: block;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

#loader {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  transition: 0.8s ease;
}

.loader-logo {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 12px;
  text-transform: uppercase;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 70px;
  z-index: 999;
  transition: 0.5s;
}

.logo {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 6px;
}

.navbar ul {
  display: flex;
  gap: 55px;
}

.navbar a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  transition: 0.35s;
}

.navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 1px;
  background: #fff;
  transition: 0.4s;
}

.navbar a:hover::after {
  width: 100%;
}

.heroSwiper {
  width: 100%;
  height: 100vh;
}

.swiper-wrapper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  width: 100%;
  height: 100vh;
  overflow: hidden;
  position: relative;
}

.slide-progress {
  position: fixed;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
}

.slide-progress span {
  opacity: 0.35;
  font-size: 15px;
  font-weight: 600;
  transition: 0.4s;
  cursor: pointer;
  font-family: "Oxanium", sans-serif;
}

.slide-progress span.active {
  opacity: 1;
  transform: translateX(-8px);
}

.scroll-indicator {
  position: fixed;
  left: 50%;
  bottom: 45px;
  transform: translateX(-50%);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  z-index: 999;
  opacity: 0.8;
  animation: float 2.2s infinite;
}

@keyframes float {
  0% {
    transform: translate(-50%, 0);
  }

  50% {
    transform: translate(-50%, 10px);
  }

  100% {
    transform: translate(-50%, 0);
  }
}

.hero-buttons {
  display: flex;
  gap: 18px;
  margin-top: 45px;
}

.btn-primary {
  padding: 18px 42px;
  background: #fff;
  color: #000;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.4s;
}

.btn-primary:hover {
  transform: translateY(-4px);
}

.btn-outline {
  padding: 18px 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: 0.4s;
}

.btn-outline:hover {
  background: #fff;
  color: #000;
}

.hide {
  opacity: 0;
  visibility: hidden;
}

.show {
  opacity: 1;
  visibility: visible;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;

  transform: scale(1.12);

  transition: transform 7s ease;

  z-index: 1;
}

.swiper-slide-active video {
  transform: scale(1);
}

.overlay {
  position: absolute;

  inset: 0;

  z-index: 2;

  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.55) 35%,
    rgba(0, 0, 0, 0.18) 65%,
    rgba(0, 0, 0, 0.45) 100%
  );
}

.hero-content {
  position: relative;

  z-index: 5;

  width: 650px;

  margin-left: 8%;
}

.hero-content span {
  display: inline-block;

  color: #ffffff;

  font-size: 14px;

  letter-spacing: 6px;

  text-transform: uppercase;

  margin-bottom: 28px;

  opacity: 0.8;
}

.hero-content :is(h1, h2) {
  font-size: clamp(55px, 2vw, 150px);

  line-height: 1;

  font-weight: 800;

  text-transform: uppercase;

  margin-bottom: 30px;
}

.hero-content p {
  width: 520px;

  max-width: 100%;

  font-size: 18px;
  font-family: "Oxanium", sans-serif;
  line-height: 1.8;

  color: rgba(255, 255, 255, 0.82);
}

.hero-buttons {
  display: flex;

  gap: 20px;

  margin-top: 45px;
}

.btn-primary {
  background: #fff;

  color: #000;

  padding: 18px 42px;

  border-radius: 60px;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 2px;

  transition: 0.4s;
}

.btn-primary:hover {
  background: transparent;

  color: #fff;

  border: 1px solid #fff;
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);

  padding: 18px 42px;

  border-radius: 60px;

  transition: 0.4s;
}

.btn-outline:hover {
  background: #fff;

  color: #000;
}

.hero-content span,
.hero-content :is(h1, h2),
.hero-content p,
.hero-buttons {
  opacity: 0;

  transform: translateY(80px);
}

.swiper-slide-active .hero-content span {
  animation: fadeUp 0.8s ease forwards;

  animation-delay: 0.2s;
}

.swiper-slide-active .hero-content :is(h1, h2) {
  animation: fadeUp 1s ease forwards;

  animation-delay: 0.4s;
}

.swiper-slide-active .hero-content p {
  animation: fadeUp 1s ease forwards;

  animation-delay: 0.7s;
}

.swiper-slide-active .hero-buttons {
  animation: fadeUp 1s ease forwards;

  animation-delay: 1s;
}

@keyframes fadeUp {
  from {
    opacity: 0;

    transform: translateY(80px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.hero-slide::after {
  content: "";

  position: absolute;

  left: 0;

  bottom: 0;

  width: 100%;

  height: 220px;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);

  z-index: 3;
}

@media (max-width: 991px) {
  .hero-content {
    margin-left: 35px;

    width: calc(100% - 70px);
  }

  .hero-content :is(h1, h2) {
    font-size: 62px;

    letter-spacing: -2px;
  }

  .hero-content p {
    width: 100%;

    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .hero-content {
    margin-left: 24px;

    width: calc(100% - 48px);
  }

  .hero-content span {
    font-size: 11px;

    letter-spacing: 4px;
  }

  .hero-content :is(h1, h2) {
    font-size: 42px;
  }

  .hero-content p {
    font-size: 15px;

    line-height: 1.7;
  }

  .hero-buttons {
    flex-direction: column;

    align-items: flex-start;
  }
}

.swiper-slide {
  overflow: hidden;

  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-slide video {
  transition:
    transform 2.4s cubic-bezier(0.22, 1, 0.36, 1),
    filter 2.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.swiper-slide-active video {
  transform: scale(1);
}

.swiper-slide-prev video {
  transform: scale(0.92);

  filter: brightness(0.6);
}

.swiper-slide-next video {
  transform: scale(1.15);
}

.hero-slide video {
  transform: scale(1.15);

  transition: transform 2.4s cubic-bezier(0.22, 1, 0.36, 1);

  will-change: transform;
}

.hero-content {
  will-change: transform, opacity;
}

.overlay {
  transition: opacity 1.5s ease;
}

#loader {
  position: fixed;

  inset: 0;

  background: #000;

  display: flex;

  justify-content: center;

  align-items: center;

  z-index: 999999;

  will-change: opacity, filter;
}

#raikrish-logo {
  width: 500px;

  max-width: 80vw;
}

#raikrish-logo path {
  fill: transparent;

  stroke: #fff;

  stroke-width: 1.5;

  stroke-linecap: round;

  stroke-linejoin: round;
}

.hero {
  opacity: 0;

  transform: scale(1.05);

  will-change: transform, opacity;
}


.wordmark-name{
  font-family: 'RAIKRISHFONT', Arial, sans-serif !important;
}



/* RAIKRISH HEADER LOGO */

.raikrish-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.header-logo {
  display: block;
  width: 220px;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

/* TABLET */
@media (max-width: 991px) {
  .header-logo {
    width: 180px;
  }
}

/* MOBILE */
@media (max-width: 600px) {
  .header-logo {
    width: 150px;
  }
}

/* Four-second brand introduction */
#loader { overflow: hidden; }
.loader-brand { position: relative; text-align: center; }
#loader #raikrish-logo {
  display: block;
  width: min(500px, 44vw);
  max-width: none;
  height: auto;
  margin: 0 auto;
  transform-origin: center center;
}
.loader-subtitle {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  margin-top: 4px;
  font-family: Arial, sans-serif;
  font-size: clamp(10px, 1.75vw, 20px);
  font-weight: 500;
  letter-spacing: .22em;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  visibility: hidden;
}

/* Stationary subtitle with a soft left-to-right reveal, like the reference. */
.loader-subtitle {
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 50%, transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 40%, transparent 50%, transparent 100%);
  -webkit-mask-size: 250% 100%;
  mask-size: 250% 100%;
  -webkit-mask-position: 100% 0%;
  mask-position: 100% 0%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* Distribute subtitle letters across the visible SVG wordmark width. */
.loader-subtitle {
  left: 2.1%;
  width: 95.6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  line-height: 1.4;
  letter-spacing: 0;
}
.loader-subtitle > span { display: block; flex: 0 0 auto; }
.loader-subtitle .subtitle-space { width: .8em; }




/* Vertical swipe inside the hero */
.heroSwiper {
  touch-action: pan-x !important;
}

/* Decorative layers must not intercept touch */
.heroSwiper .overlay,
.heroSwiper .hero-slide video,
.heroSwiper .hero-slide::after,
.heroSwiper [class*="swiper-slide-shadow"],
.heroSwiper .swiper-cube-shadow {
  pointer-events: none !important;
}

/* Swipe over text */
.heroSwiper .hero-content,
.heroSwiper .hero-content * {
  pointer-events: none !important;
  user-select: none;
  -webkit-user-select: none;
}

/* Keep links and buttons clickable */
.heroSwiper .hero-content a,
.heroSwiper .hero-content a *,
.heroSwiper .hero-content button,
.heroSwiper .hero-content button * {
  pointer-events: auto !important;
}

/* Let the existing GSAP code animate the text */
.heroSwiper .hero-content > span,
.heroSwiper .hero-content :is(h1, h2),
.heroSwiper .hero-content p,
.heroSwiper .hero-buttons {
  animation: none !important;
}

/* Empty spaces around navigation should pass touch through */
.slide-progress {
  pointer-events: none;
}

.slide-progress span {
  pointer-events: auto;
}

/* Move mobile navigation away from the centre text */
@media (max-width: 767px) {
  .heroSwiper {
    height: 100svh;
  }

  .heroSwiper .hero-slide {
    height: 100%;
  }

  .slide-progress {
    top: auto;
    right: 16px;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    left: 16px;
    transform: none;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .slide-progress span {
    padding: 6px 4px;
    font-size: 10px;
    line-height: 1.3;
    text-align: center;
  }

  .slide-progress span.active {
    transform: none;
  }
}


.services-menu-heading .services-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.services-toggle .services-arrow {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.25s ease;
}

/* Menu খুললে arrow উপরের দিকে ঘুরবে */
.services-toggle[aria-expanded="true"] .services-arrow {
  transform: translateY(2px) rotate(225deg);
}


.services-menu-heading > .services-toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.services-toggle > svg.services-chevron {
  display: inline-block !important;
  width: 14px !important;
  height: 14px !important;
  flex: 0 0 14px;
  opacity: 1 !important;
  visibility: visible !important;
  position: static !important;
  color: inherit;
  pointer-events: none;
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}

.services-toggle[aria-expanded="true"] > svg.services-chevron {
  transform: rotate(180deg);
}

.navbar #navigation>ul>li>a, .navbar #navigation .services-menu-heading>.services-toggle {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: 13px;
    gap: 5px;
    padding: 10px 8px;
}