@font-face {
  font-family: "Montserrat";
  src: url("./fonts/Montserrat/static/Montserrat-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Ubuntu Sans";
  src: url("./fonts/Ubuntu_Sans/static/UbuntuSans-Regular.ttf")
    format("truetype");
}

@font-face {
  font-family: "Questrial";
  src: url("./fonts/Questrial-Regular.ttf") format("truetype");
}

:root {
  --background-color: black;
  --font-family-1: "Questrial", sans-serif;
  --font-family-2: "Montserrat", sans-serif;
  --font-family-3: "Ubuntu Sans", sans-serif;

  --hero-heading-font: 6rem;
  --hero-line-height: 90px;
  --hero-letter-spacing: -7px;

  --heading-color: rgb(129, 129, 129);
  --heading-font-size: 4.5rem;
  --heading-font-weight: 100;
  --heading-letter-spacing: -3px;
  --heading-line-height: 70px;

  --para-font-color: #7c7c7c;
  --para-font-size: 1.4rem;
  --para-letter-spacing: 0.3px;
  --para-line-height: 22px;

  --joke-para-color: #414040;
  --joke-line-color: #1f1e1e;

  /* ---------------for the cards--------------- */
  --background-dark: #2d3548;
  --text-light: rgba(255, 255, 255, 0.6);
  --text-lighter: rgba(255, 255, 255, 0.9);
  --spacing-s: 8px;
  --spacing-m: 16px;
  --spacing-l: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 64px;
  --width-container: 1200px;

  --mob-main-heading: 2.75rem;
  --mob-sub-heading: 2.4rem;
}

section {
  height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: var(--font-family-3);
}

.indus-sec-1 {
  position: relative;
}

#background-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 1;
}

.sec-1-body {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 80%;
  height: 100vh;
  z-index: 3;
}

.sec-1-para h1 {
  margin-top: 200px;
  color: #b1b1b1;
  font-family: var(--font-family-3);
  font-weight: 400;
  font-size: var(--hero-heading-font);
  line-height: var(--hero-line-height);
  letter-spacing: var(--hero-letter-spacing);
  padding-right: 100px;
}

#sec-1-row2 {
  width: 100%;
}

.sec-1-btn-link {
  margin-top: 5%;
  width: 100%;
  height: 100px;
}

.animated-button {
  font-family: var(--font-family-3);
}

.button-el {
  --duration: 0.4s; /* smoother timing */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 16rem;
  height: 3.5rem;
  background: #fff;
  border: 1px solid transparent;
  border-radius: 3rem;
  overflow: hidden;
  text-decoration: none;
  position: relative;
  transition: background-color var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              color var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              border-color var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
  color: #000;
  font-size: 1.2rem;
  font-weight: bold;
}

.button-el:hover {
  background-color: #2b2b2b;
  color: #e7e7e7;
}

/* Move inner content */
.button-el > * {
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.button-el:hover > * {
  transform: translateX(-1rem);
}

/* ----- Text flip effect ----- */
.button-label-wrap {
  position: relative;
  display: inline-block;
  perspective: 800px;
  overflow: hidden;
  transform: translateX(10px);
  height: 1.3em; /* matches text size */
  line-height: 1.3em;
}

.inside-label {
  display: block;
  transform-origin: 50% 100%;
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.inside-label:nth-child(1) {
  transform: translateY(0) rotateX(0deg);
}

.inside-label:nth-child(2) {
  position: absolute;
  top: 0;
  left: 0;
  transform: translateY(100%) rotateX(-90deg);
}

.button-el:hover .inside-label:nth-child(1) {
  transform: translateY(-100%) rotateX(90deg);
}

.button-el:hover .inside-label:nth-child(2) {
  transform: translateY(0) rotateX(0deg);
}

/* ----- Arrow movement with circle background ----- */
.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  z-index: 1;
  transform: translateX(1.5rem);
  opacity: 0;
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              opacity var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              background-color var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              color var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.button-arrow::before {
  content: "";
  position: absolute;
  left: 100%;
  top: 0;
  width: 0;
  height: 100%;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  z-index: -1;
  transition: left var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              opacity var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              width var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.button-el:hover .button-arrow {
  transform: translateX(0);
  opacity: 1;
  color: #000000;
}

.button-el:hover .button-arrow::before {
  left: 0;
  opacity: 1;
  width: 100%;
}

/* Icon */
.icon {
  display: inline-flex;
  transition: transform var(--duration) cubic-bezier(0.4, 0, 0.2, 1),
              opacity var(--duration) cubic-bezier(0.4, 0, 0.2, 1);
}

.button-el:hover .icon {
  transform: translateX(-2.5rem);
  opacity: 0;
}

/* Reset */
.--pos-l svg,
.--pos-r svg {
  width: 1.2em;
  height: 1.2em;
  stroke: currentColor;
}

.indus-card {
  position: absolute;
  left: 20px;
  bottom: 20px;
}

.indus-card-btn {
  font-size: 1rem;
  letter-spacing: -1px;
  width: 13rem !important;
  height: 3rem !important;
}

.sec-1-row2 {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.different {
  background-color: #fff;
}

/* ========================================== SECOND SECTION STYLE =============================== */
.indus-sec-2 {
  background: linear-gradient(45deg, #5a438dfd, #461ca0);
}

.sec-2-body {
  width: 95%;
  height: 95vh;
  display: flex;
  flex-direction: column;
}

.sec-2-row1 {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.sec2-row1-heading {
  margin-top: 5%;
  align-self: center;
  color: #dadada;
  font-size: var(--heading-font-size);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: var(--heading-line-height);
  width: 50%;
}

.sec-2-row2 {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.industry-card {
  width: 20vw !important;
  height: 60vh;
  list-style: none;
  position: relative;
}

.industry-card:before {
  content: "";
  display: block;
  padding-bottom: 150%;
  width: 100%;
}

.card__background {
  background-size: cover;
  background-position: center;
  border-radius: var(--spacing-l);
  bottom: 0;
  filter: brightness(0.75) saturate(1.2) contrast(0.85);
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transform-origin: center;
  transform: scale(1) translateZ(0);
  transition: filter 200ms linear, transform 200ms linear;
}

.industry-card:hover .card__background {
  transform: scale(1.05) translateZ(0);
}

.sec-2-row2:hover > .industry-card:not(:hover) .card__background {
  filter: brightness(0.5) saturate(0) contrast(1.2) blur(20px);
}

.card__content {
  left: 0;
  padding: var(--spacing-l);
  position: absolute;
  top: 8%;
  height: 80%;
}

.card__heading {
  color: var(--text-lighter);
  font-family: var(--font-family-3);
  font-size: 2rem;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.2);
  line-height: 0.9;
}

.card__category {
  margin-top: 3%;
  font-family: var(--font-family-3);
  line-height: 0.9;
  color: var(--text-light);
  font-size: 1rem;
  text-transform: uppercase;
}

.card__content ul {
  margin-top: 5%;
  list-style-type: none;
  color: var(--text-lighter);
}

.card__content ul li {
  font-size: 1.5rem;
  position: relative;
  display: inline-block;
}

.card__content ul li::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 0;
  background-color: var(--text-lighter);
}

.card__content ul li:hover::after {
  width: 100%; /* This will make the underline appear */
}
/* ==================================  section 5 style ========================= */

.sec-5-body {
  width: 95%;
  height: 95vh;
  display: flex;
  align-items: center;
  border-radius: 50px;
  justify-content: center;
  background: linear-gradient(45deg, #fcaf08, #fc7c04);
}

.fifth-body-wrapper {
  width: 98%;
  height: 95%;
  border: 1px solid #1a1919;
  border-radius: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

#dot-grid-container {
  width: 100%;
  height: 100vh;
  position: relative;
}
#dot-grid-canvas {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

#pressure-text {
  font-size: clamp(2rem, 4.5vw, 6rem);
  color: #2c2c2c;
  text-transform: uppercase;
  white-space: nowrap;
  letter-spacing: -3px;
  position: absolute;
  z-index: 1;
  text-align: center;
}
#pressure-text span {
  display: inline-block;
  transition: font-variation-settings 0.1s ease;
  font-weight: 1000;
}
/* --------------------------- */
.project-modern-btn {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 250px;
  padding: 13px 20px;
  border: 4px solid;
  border-color: transparent;
  background-color: white;
  border-radius: 100px;
  color: #2c2c2c;
  box-shadow: 0 0 0 2px #ffffff;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modern-btn svg {
  position: absolute;
  width: 24px;
  fill: #303030;
  z-index: 9;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modern-btn .modern-arr-1 {
  right: 16px;
}

.project-modern-btn .modern-arr-2 {
  left: -25%;
}

.project-modern-btn .modern-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background-color: #ffffff;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modern-btn .modern-text {
  position: relative;
  font-size: 1rem;
  z-index: 1;
  transform: translateX(-12px);
  transition: all 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

.project-modern-btn:hover {
  box-shadow: 0 0 0 12px transparent;
  color: #1e1e1e;
}

.project-modern-btn:hover .modern-arr-1 {
  right: -25%;
}

.project-modern-btn:hover .modern-arr-2 {
  left: 16px;
}

.project-modern-btn:hover .modern-text {
  transform: translateX(12px);
}

.project-modern-btn:hover svg {
  fill: #424242;
}

.project-modern-btn:active {
  scale: 0.95;
  box-shadow: 0 0 0 4px #ffffff;
}

.project-modern-btn:hover .modern-circle {
  width: 220px;
  height: 220px;
  opacity: 1;
}
/* ============================   Section Sixth Style ============================ */

.sec-6-body {
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 80%;
  height: 100vh;
}

.sec-6-row1 {
  margin-top: 150px;
  width: 90%;
}

.sec6-row1-heading {
  color: var(--heading-color);
  font-size: var(--heading-font-size);
  font-weight: var(--heading-font-weight);
  letter-spacing: var(--heading-letter-spacing);
  line-height: var(--heading-line-height);
}

.button-container {
  display: flex;
}

.sec-6-btn-link {
  width: 100%;
  height: 100px;
}


.sec-6-row2 {
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sec-6-joke {
  margin-top: 30px;
}
.sec-6-joke img {
  width: 300px;
  margin-bottom: 15px;
  mix-blend-mode: exclusion;
  filter: grayscale(100%);
  opacity: 0.5;
}
.joke-para p {
  color: var(--joke-para-color);
  letter-spacing: -1px;
  line-height: 15px;
  font-size: 1rem;
  position: relative;
  width: 300px;
}

.joke-para p {
  position: relative;
}

.joke-para p::before {
  content: "";
  position: absolute;
  left: -20px;
  top: 20px;
  width: 1px;
  height: 70%;
  background-color: var(--joke-line-color);
}

.joke-para p::after {
  content: "";
  position: absolute;
  left: 10px;
  bottom: -20px;
  width: 60%;
  height: 1px;
  background-color: var(--joke-line-color);
}

/* ------------------------------------ RESPONSIVENESS ------------------ */
@media (min-width: 1367px) and (max-width: 1440px) {
  .sec-1-para h1 {
    margin-top: 15%;
    font-size: 4rem;
    letter-spacing: -3px;
    line-height: 1;
  }

  .sec-2-row1 h2 {
    margin-top: 3% !important;
    line-height: 0.9;
    width: 60%;
  }

  .indus-card {
    left: 20px;
    bottom: -20px;
  }
  .card__content ul {
    line-height: 0.9;
  }
  .card__heading {
    font-size: 1.6rem;
  }
  .card__category {
    font-size: 0.8rem;
  }

  .about-sec-6{
    padding-bottom: 50px;
  }
  .sec-6-row1,
  .sec-6-row2 {
    width: 100%;
  }
  .sec-6-row1 h2 {
    line-height: 0.8;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Standard Laptops (up to 1366px) */
@media screen and (max-width: 1366px) {
  .sec-1-para h1 {
    margin-top: 15%;
    font-size: 4rem;
    letter-spacing: -3px;
    line-height: 1;
  }
  .sec-3-body {
    margin: 50px 0;
  }
  .indus-sec-2 {
    height: 110vh;
  }
  .sec-2-row1 {
    width: 100%;
  }

  .sec2-row1-heading {
    font-size: 4rem;
    width: 70%;
    line-height: 1;
  }

  .sec-2-row2 {
    margin-top: 30px;
    flex-wrap: wrap !important;
  }

  .industry-card {
    height: 100%;
  }

  .indus-card {
    left: 20px;
    bottom: -20px;
  }
  .card__content ul {
    line-height: 0.9;
  }

  .card__content ul li {
    font-size: 1.2rem;
  }

  .card__heading {
    font-size: 1.4rem;
  }
  .card__category {
    font-size: 0.8rem;
  }

  .sec6-row1-heading {
    font-size: 3rem;
    line-height: 0.8;
  }

  .joke-para p {
    font-size: 0.9rem;
    width: 290px;
    line-height: 0.9;
  }

  .sec-6-joke img {
    width: 250px;
  }
  .sec-6-row1 {
    margin-top: 100px;
  }
  .sec-6-row1 h2 {
    font-size: 4rem;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Small Laptops & Large Tablets (up to 1000px) */
@media (max-width: 1024px) {
  .sec-1-para h1 {
    margin-top: 20%;
    font-size: 3rem;
    letter-spacing: -3px;
    line-height: 1;
    width: 100%;
  }
  .sec-6-body {
    width: 90%;
  }
  .sec-6-row1,
  .sec-6-row2 {
    width: 100%;
  }
}

@media screen and (max-width: 760px) {

}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Tablets (up to 786px) */
@media (max-width: 786px) {
  .sec-1-body {
    width: 90%;
  }

  .sec-1-para h1 {
    font-size: 2.6rem;
    letter-spacing: -3px;
    line-height: 1;
  }
}

/* ----------------------- form mobile screens ------------------- */
@media (max-width: 600px){
  .indus-sec-1 {
    justify-content: flex-start;
  }
  .sec-1-body {
    width: 100%;
    justify-content: flex-start;

    height: 100% !important;
  }
  .sec-1-para {
    margin-top: 200px;
    padding: 0 20px;
  }
  .sec-1-para h1 {
    margin-top: -70px;
    letter-spacing: -2px;
    font-size: var(--mob-main-heading);
    padding-right: 0;
    line-height: 1;
  }
  .sec-1-btn-link {
    margin-top: 3.8rem;
    margin-left: 20px;
  }
  /* ------------------------ section 2 --------------------- */
  .indus-sec-2 {
    height: 100% !important;
  }
  .sec-2-body {
    height: 100% !important;
  }
  .sec-2-row1 {
    text-align: left;
  }
  .sec-2-row1 h2 {
    width: 100%;
    line-height: 0.9;
    letter-spacing: -2px;
    font-size: var(--mob-sub-heading);
  }
  .sec-2-row2 {
    justify-content: center;
    gap: 30px;
    height: 100% !important;
  }

  .industry-card {
    width: 330px !important;
    height: 500px !important;
  }

  /* ------------------ section 3 ------------------ */
  .serv-sec-3 {
    height: 28vh;
  }
  /* ------------------- section 4 -------------------------- */
  .about-sec-6 {
    padding-bottom: 0;
    justify-content: center;
    align-items: center;
  }

  .sec-6-body {
    width: 97% !important;
    height: 100% !important;
    justify-content: space-evenly;
  }
  .sec-6-row1 {
    width: 90%;
    padding: 0.4rem;
    margin-top: 0;
  }
  .sec-6-row2 {
    flex-direction: column-reverse;
    gap: 100px;
  }
  .sec-6-row1 h2 {
    font-size: 2rem;
    letter-spacing: normal;
    line-height: 0.9;
  }
  .project-modern-btn {
    margin-left: -30px;
  }
}

