.reval-line {
  overflow: hidden;
}

.reval-line .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(100%);
  will-change: transform, opacity;
}

/* =========================================
   MADE IN MADRAS LOADER
========================================= */

.mim-loader {
  position: fixed;
  inset: 0;
  z-index: 999999 !important;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f1eb;
  overflow: hidden;
}

/* =========================================
   INNER
========================================= */

.mim-loader-inner {
  width: min(85%, 700px);

  position: relative;
  z-index: 2;

  text-align: center;
}


/* =========================================
   TOP
========================================= */

.mim-loader-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;

  margin-bottom: 28px;

  opacity: 0;
  transform: translateY(15px);

  animation: loaderFadeUp 0.8s ease 0.2s forwards;
}

.mim-loader-top span {
  width: 55px;
  height: 1px;

  background: #c49c3e;
}

.mim-loader-top small {
  font-family: "Poppins", sans-serif;

  font-size: 9px;
  letter-spacing: 0.25em;

  color: #555;
}


/* =========================================
   MADE IN
========================================= */

.mim-made {
  font-family: "Poppins", sans-serif;

  font-size: clamp(13px, 1.5vw, 18px);
  font-weight: 500;

  letter-spacing: 0.55em;

  padding-left: 0.55em;

  color: #222;

  opacity: 0;
  transform: translateY(20px);

  animation:
    loaderFadeUp 0.8s cubic-bezier(.22, 1, .36, 1) 0.45s forwards;
}


/* =========================================
   MADRAS
========================================= */

.mim-madras-wrapper {
  display: flex;
  align-items: center;
  gap: 25px;

  margin-top: 8px;
}

.mim-madras {
  white-space: nowrap;

  font-family: "Valley sans", sans-serif;

  font-size: clamp(48px, 9vw, 105px);

  font-weight: 500;

  line-height: 0.95;

  letter-spacing: -0.04em;

  color: #000;

  clip-path: inset(100% 0 0 0);

  animation:
    loaderTextReveal 1.2s cubic-bezier(.77, 0, .18, 1) 0.7s forwards;
}


/* =========================================
   SIDE LINES
========================================= */

.mim-line {
  height: 1px;

  flex: 1;

  background: #000;

  transform: scaleX(0);

  animation:
    loaderLineReveal 1s cubic-bezier(.77, 0, .18, 1) 1s forwards;
}

.mim-line:first-child {
  transform-origin: right;
}

.mim-line:last-child {
  transform-origin: left;
}


/* =========================================
   BOTTOM
========================================= */

.mim-loader-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 45px;

  font-family: "Poppins", sans-serif;

  font-size: 9px;
  letter-spacing: 0.18em;

  color: #777;

  opacity: 0;

  animation:
    loaderFadeUp 0.8s ease 1.1s forwards;
}

.mim-loader-count {
  color: #c49c3e;

  font-size: 11px;
}


/* =========================================
   ANIMATIONS
========================================= */

@keyframes loaderFadeUp {

  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


@keyframes loaderTextReveal {

  from {
    clip-path: inset(100% 0 0 0);
  }

  to {
    clip-path: inset(0 0 0 0);
  }

}


@keyframes loaderLineReveal {

  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }

}


@keyframes loaderBgLine {

  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }

}


/* =========================================
   LOADER EXIT
========================================= */

.mim-loader.hide {

  animation:
    loaderExit 1s cubic-bezier(.77, 0, .18, 1) forwards;
}

@keyframes loaderExit {

  0% {
    clip-path: inset(0 0 0 0);
  }

  100% {
    clip-path: inset(0 0 100% 0);
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 575px) {

  .mim-loader-inner {
    width: 88%;
  }

  .mim-loader-top {
    gap: 10px;
  }

  .mim-loader-top span {
    width: 30px;
  }

  .mim-loader-top small {
    font-size: 7px;
  }

  .mim-madras-wrapper {
    gap: 10px;
  }

  .mim-madras {
    font-size: clamp(38px, 13vw, 65px);
  }

  .mim-loader-bottom {
    margin-top: 30px;

    font-size: 7px;
  }

}


/* =========================================
   MADE IN MADRAS — PROJECT INTRO
========================================= */

/* -----------------------------------------
   PRESENTS
----------------------------------------- */

.mim-presents {
  margin-top: 28px;

  font-family: "Poppins", sans-serif;

  font-size: 9px;
  font-weight: 500;

  letter-spacing: 0.45em;

  padding-left: 0.45em;

  color: #777;

  opacity: 0;
  transform: translateY(15px);

  animation:
    mimPresentsReveal 0.8s cubic-bezier(.22, 1, .36, 1) 1.25s forwards;
}


/* -----------------------------------------
   STELLAR 6
----------------------------------------- */

.mim-project {
  display: flex;

  justify-content: center;
  align-items: baseline;

  gap: 8px;

  margin-top: 8px;

  color: #222;

  opacity: 0;

  transform: translateY(25px) scale(0.96);

  animation:
    mimProjectReveal 1s cubic-bezier(.22, 1, .36, 1) 1.45s forwards;
}


/* STELLAR */

.mim-project span {
  font-family: "Poppins", sans-serif;

  font-size: clamp(22px, 3vw, 32px);

  font-weight: 500;

  letter-spacing: 0.16em;

  padding-left: 0.16em;
}


/* NUMBER 6 */

.mim-project strong {
  font-family: "Playfair Display", serif;

  font-size: clamp(32px, 4vw, 48px);

  font-weight: 500;

  line-height: 1;

  color: #ab7700;
}


/* -----------------------------------------
   PRESENTS ANIMATION
----------------------------------------- */

@keyframes mimPresentsReveal {

  from {
    opacity: 0;
    transform: translateY(15px);
    letter-spacing: 0.7em;
  }

  to {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.45em;
  }

}


/* -----------------------------------------
   PROJECT ANIMATION
----------------------------------------- */

@keyframes mimProjectReveal {

  from {
    opacity: 0;
    transform: translateY(25px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 575px) {

  .mim-presents {
    margin-top: 22px;

    font-size: 7px;

    letter-spacing: 0.35em;

    padding-left: 0.35em;
  }

  .mim-project {
    gap: 6px;

    margin-top: 7px;
  }

  .mim-project span {
    font-size: 20px;

    letter-spacing: 0.12em;

    padding-left: 0.12em;
  }

  .mim-project strong {
    font-size: 32px;
  }

}

/* =====================================================
   MOBILE CANVAS MENU
===================================================== */

.mobile-canvas-toggle {
  display: none;
}


/* =====================================================
   CANVAS
===================================================== */

.mobile-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  background: #000;
  color: #fff;
  z-index: 99999;
  visibility: hidden;
  overflow: hidden;
  clip-path: circle(0% at calc(100% - 35px) 35px);
  z-index: 999999 !important;
}


/* =====================================================
   OVERLAY
===================================================== */

.mobile-canvas-overlay {

  position: fixed;

  inset: 0;

  background: rgba(0, 0, 0, .35);

  z-index: 99990;

  opacity: 0;

  visibility: hidden;

  pointer-events: none;

}


/* =====================================================
   CANVAS TOP
===================================================== */

.canvas-top {

  position: relative;

  z-index: 5;

  padding:
    25px 22px 0;

  display: flex;

  align-items: center;

  justify-content: space-between;

}


.canvas-small-label {
  font-size: 10px;
  letter-spacing: .22em;
  font-weight: 600;
  color: rgb(255 255 255);
}


/* =====================================================
   CLOSE BUTTON
===================================================== */

.canvas-close {

  width: 45px;
  height: 45px;

  border: 1px solid rgba(255, 255, 255, .25);

  border-radius: 50%;

  background: rgba(255, 255, 255, .05);

  display: flex;

  align-items: center;

  justify-content: center;

  position: relative;

  cursor: pointer;

  backdrop-filter: blur(10px);

}


.canvas-close span {

  position: absolute;

  width: 18px;

  height: 1px;

  background: #fff;

}


.canvas-close span:first-child {

  transform: rotate(45deg);

}


.canvas-close span:last-child {

  transform: rotate(-45deg);

}


/* =====================================================
   NAVIGATION
===================================================== */

.canvas-navigation {

  position: relative;

  z-index: 5;

  margin-top: 70px;

  padding: 0 24px;

}


.canvas-nav-item {

  display: flex;

  align-items: center;

  gap: 15px;

  padding: 12px 0;

  overflow: hidden;

}


.canvas-nav-number {

  width: 28px;

  flex-shrink: 0;

  font-size: 9px;

  letter-spacing: .12em;

  color: #e2ad35;

}


.canvas-nav-item a {
  font-family: "Philosopher", sans-serif;

  position: relative;
  display: inline-block;
  color: #fff;
  /* text-transform: uppercase; */
  text-decoration: none;
  font-size: clamp(30px,
      6vw,
      42px);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -.035em;
  transition: color .4s ease;
}


/* Underline animation */

.canvas-nav-item a::after {

  content: "";

  position: absolute;

  left: 0;

  bottom: -7px;

  width: 0;

  height: 1px;

  background: #e2ad35;

  transition:
    width .5s cubic-bezier(.22, 1, .36, 1);

}


.canvas-nav-item a:hover {

  color: #e2ad35;

}


.canvas-nav-item a:hover::after {

  width: 100%;

}


/* =====================================================
   BACKGROUND BIG TEXT
===================================================== */

.canvas-bg-text {
  position: absolute;
  right: 0;
  left: 30px;
  bottom: 110px;
  font-size: 15vw;
  line-height: .7;
  font-weight: 800;
  color: rgb(255 255 255 / 34%);
  white-space: nowrap;
  pointer-events: none;
}


/* =====================================================
   DECORATIVE CIRCLE
===================================================== */

.canvas-circle {

  position: absolute;

  width: 280px;

  height: 280px;

  right: -140px;

  top: 120px;

  border: 1px solid rgba(255, 255, 255, .07);

  border-radius: 50%;

}


.canvas-circle::before {

  content: "";

  position: absolute;

  inset: 25px;

  border: 1px solid rgba(226, 173, 53, .08);

  border-radius: 50%;

}


/* =====================================================
   BOTTOM
===================================================== */

.canvas-bottom {

  position: absolute;

  left: 22px;
  right: 22px;
  bottom: 28px;

  z-index: 5;

  display: flex;

  align-items: flex-end;

  justify-content: space-between;

  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, .15);

}


.canvas-bottom span {
  display: block;
  font-size: 8px;
  letter-spacing: .2em;
  color: rgb(255 255 255);
}

.canvas-bottom strong {

  display: block;

  margin-top: 4px;

  font-size: 16px;

  font-weight: 500;

  letter-spacing: .08em;

  color: #e2ad35;

}


/* =====================================================
   GET QUOTE
===================================================== */

.canvas-enquire {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 17px;
  color: #ffffff;
  background: #e2ad35;
  text-decoration: none;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.canvas-enquire i {

  transition:
    transform .4s ease;

}


.canvas-enquire:hover i {

  transform:
    translateX(5px);

}


/* =====================================================
   MOBILE BREAKPOINT
===================================================== */

@media (max-width: 1080px) {

  .mobile-canvas-toggle {

    display: flex;

    width: 45px;
    height: 45px;

    border: 1px solid rgba(0, 0, 0, .15);

    background: #fff;

    border-radius: 50%;

    align-items: center;

    justify-content: center;

    cursor: pointer;

    margin-right: 15px;

    position: relative;

    z-index: 100000;

  }


  .canvas-menu-lines {

    width: 19px;

    height: 15px;

    display: flex;

    flex-direction: column;

    justify-content: space-between;

  }


  .canvas-menu-lines span {

    width: 100%;

    height: 1.5px;

    background: #071b45;

    display: block;

    transition:
      transform .4s ease,
      width .4s ease;

  }


  .canvas-menu-lines span:nth-child(2) {

    width: 70%;

    align-self: flex-end;

  }


  /* Hide normal Bootstrap mobile collapse */

  #headerNav {

    display: none !important;

  }

}


/* =====================================================
   VERY SMALL DEVICES
===================================================== */

@media (max-width: 380px) {

  .canvas-navigation {

    margin-top: 45px;

  }

  .canvas-nav-item a {

    font-size: 28px;

  }

  .canvas-nav-item {

    padding: 10px 0;

  }

}


.floating-menu-logo {
  position: relative;
  /* width: 300px; */
}

.floating-menu-logo .circle-shape {
  max-width: 95px;
  width: 100%;
  animation: rotateCircle 12s linear infinite;
}

.floating-menu-logo .central-shape {
  max-width: 40px;
  width: 100%;
  position: absolute;
  top: 0px;
  left: 20px;
  object-fit: contain;
}

/* ==========================================
         CONTINUOUS CIRCLE ROTATION
      ========================================== */

@keyframes rotateCircle {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


