@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.2rem;
  --para-letter-spacing: 0.3px;
  --para-line-height: 20px;

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

  --lg-bg-color: rgba(255, 255, 255, 0.15);
  --lg-highlight: rgba(255, 255, 255, 0.85);
  --lg-hover-glow: rgba(255, 255, 255, 0.4);
  --lg-red: #fb4268;
  --lg-grey: #5b5b5b;

  --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);
}

.a-links a {
  color: #1f1f1f;
}

.a-links .inside-a-link::before {
  background-color: #ffffff;
}

.a-links .inside-a-link.scrolled::before {
  background-color: #f88c18; /* New color for ::before */
}

.roll-btn {
  color: #1f1f1f;
}

.logo a img {
  filter: invert(90%);
}

.but-container {
  border: 2px solid #1f1f1f;
}

.nav-buttons .but-container .no-back {
  border: 2px solid #1f1f1f;
}

.menu-logo-container {
  filter: invert(100%) brightness(0%);
}

/* Styles when scrolled past 100vh */
.scrolled .a-links a {
  color: #8d8d8d;
}

.scrolled .inside-a-link::before {
  background-color: #f88c18;
}

.scrolled .no-back,
.scrolled .lang-btn {
  color: #8d8d8d;
}
.scrolled .primary-btn {
  color: rgb(19, 19, 19);
}

.scrolled .logo a img {
  filter: invert(0%) brightness(50%);
  transition: all 0.9s ease;
}

.scrolled .logo a img:hover {
  filter: brightness(100%);
}

.scrolled .but-container,
.scrolled .nav-buttons .but-container .no-back {
  border: 2px solid #515151;
}

/* ============================== styling starts below ============================= */
.sec-1-body {
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url("../images/about_page/hero_section/ylo_back.png");
  background-size: cover;
  background-repeat: no-repeat;
  /* background: linear-gradient(to right, #ffbc12, #ff7d03); */
}

.glass-images {
  margin-top: 5%;
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10vw;
  z-index: 1;
  /* border: 1px solid red; */
}


.heading-text {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  left: 7%;
  z-index: 3;
  width: 30%;
  /* border: 1px solid blue; */
}

.heading-text h1 {
  color: white;
  font-family: var(--font-family-3);
  font-weight: 800;
  font-size: 10rem;
  /* font-size: clamp(2rem, 8vw, 10rem); */
  line-height: 0.8;
  letter-spacing: -12px;
}

.heading-text img {
  width: 25%;
  position: absolute;
  right: -5%;
  bottom: -2%;
  animation: glitch 2s infinite;
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

.gls-img-1,
.gls-img-2 {
  width: 550px;
}

.gls-img-1 img,
.gls-img-2 img {
  width: 100%;
}

.glass-container {
  position: absolute;
  display: flex;
  color: var(--lg-text);
  background: transparent;
  border-radius: 50%;
  overflow: hidden;

  transform: translate(-50%, -50%);
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.2), 0 0 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 2.2);
  /* Added min-width and height for visibility without content */
  min-width: 100px;
  min-height: 100px;
  align-items: center; /* Center content vertically */
  justify-content: center; /* Center content horizontally */
  z-index: 5;
  /* border: 1px solid red; */
}

.glass-container {
  opacity: 0;
  pointer-events: none; /* Prevent mouse events when hidden */
  transition: opacity 0.3s ease;
}

/* Modifier for larger glass containers (can be adjusted as needed) */
.glass-container--large {
  min-width: 12rem;
  min-height: 12rem;
}

/* ========== GLASS LAYERS ========== */
.glass-filter {
  position: absolute;
  inset: 0;
  z-index: 0;
  backdrop-filter: blur(0px);
  filter: url(#lg-dist);
  isolation: isolate;
}

.glass-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: var(--lg-bg-color);
}

.glass-specular {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  overflow: hidden;
  box-shadow: inset 1px 1px 0 var(--lg-highlight),
    inset 0 0 5px var(--lg-highlight);
}

/* ---------------------------- industries page second third section -------------------- */
/* ==================================  section 3 style ========================= */
.indus-sec-3-body {
  width: 95%;
  height: 97%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50px;
  background: linear-gradient(45deg, #dfdfdf, #919191);
}

.third-body-wrapper {
  width: 98%;
  height: 95%;
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  border: 1px solid #1a1919;
  border-radius: 30px;
}

.sec-3-card1 {
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 2rem;
}

.card1-heading {
  color: #dadada;
  display: flex;
  flex-direction: column;
  width: 45%;
}

.card1-heading h2 {
  font-size: var(--heading-font-size);
  color: #1a1a1a;
  letter-spacing: var(--heading-letter-spacing);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
  margin-bottom: 20px;
}

.card1-heading p {
  color: #000000;
  font-weight: 100;
  font-size: var(--para-font-size);
  line-height: var(--para-line-height);
  letter-spacing: var(--para-letter-spacing);
  width: 95%;
}

.card1-img {
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.card1-img img {
  width: 400px;
  border-radius: 50px;
  border: 2px solid transparent;
  transition: border-color 0.3s ease;
}

.card1-img:hover {
  border-color: #fd9424;
}

/* =================== About us Section # 2  ======================= */
.sec-2-body {
  width: 100%;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-wrapper {
  margin-top: 50px;
  width: 100%;
  height: 50%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 30px;
}

.video {
  width: 390px !important;
  height: 550px !important;
  border-radius: 53px;
  border: 3px solid transparent;
  opacity: 0.5;
  transition: border-color 0.3s ease, opacity 0.3s ease, transform 0.5s ease;
}

.video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50px;
  filter: grayscale(100%);
}

.video:hover {
  border-color: #fd9424;
  opacity: 1;
  transform: scale(1.15);
}

/* -------------------------
   RESPONSIVE BREAKPOINTS
-------------------------- */
@media (max-width: 1440px) {
  .video { width: 340px !important; height: 480px !important; }
}
@media (max-width: 1366px) {
  .video { width: 320px !important; height: 460px !important; }
}
@media (max-width: 1024px) {
  .video { width: 280px !important; height: 420px !important; }
}
@media (max-width: 786px) {
  .video { width: 240px !important; height: 360px !important; }
}
@media (max-width: 600px) {
  .swiper-wrapper {padding-right: 50px;}
  .swiper { padding: 0 10px !important; }
  .swiper-pagination { bottom: -30px; }
  .swiper-pagination-bullet-active { background: orange !important; }
  .video { width: 300px !important; height: 400px !important; }
  .video:hover { border-color: transparent; transform: scale(1.05); }
}

/* =================== About us Section # 3  ======================= */

.about-sec-3 {
  padding: 10rem 0;
  min-height: 200vh;
}

.sec-3-body {
  display: flex;
  flex-direction: column;
  gap: 5rem;
  width: 95%;
  margin: 0 auto;
}

.aboutus-card {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 85vh;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transform: translateY(100px);
  opacity: 0;
}

.aboutus-card::before {
  content: "";
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  border-radius: 30px;
  border: 1px solid #1a1919;
  z-index: 1;
}

.card-1 {
  /* top: 5rem; */
  background: linear-gradient(45deg, #5a438dfd, #461ca0);
}
.card-2 {
  background: linear-gradient(45deg, #dfdfdf, #919191);
}

.card-heading {
  color: #dadada;
  display: flex;
  flex-direction: column;
  width: 50%;
}

.card-heading h2 {
  font-size: var(--heading-font-size);
  letter-spacing: var(--heading-letter-spacing);
  font-weight: var(--heading-font-weight);
  line-height: var(--heading-line-height);
  margin-bottom: 20px;
  z-index: 2;
}

.card-heading p {
  font-size: var(--para-font-size);
  line-height: var(--para-line-height);
  letter-spacing: var(--para-letter-spacing);
  width: 80%;
  font-weight: 100;
  z-index: 2;
}

.card-1 h2,
.card-1 p {
  color: #b4b4b4;
}
.card-2 h2,
.card-2 p {
  color: #000000;
}

.aboutus-card {
  position: sticky;
  top: 100px;
  z-index: calc(10 - var(--i));
}

.card-img {
  width: 400px;
  background: transparent;
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  z-index: 2;
  /* border: 1px solid green; */
}

.card-img:hover {
  transform: rotateY(15deg) rotateX(10deg) scale(1.05);
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: rotateY(0deg) rotateX(0deg) translateZ(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  will-change: transform;
}

.card-img:hover img {
  transform: rotateY(15deg) rotateX(10deg) translateZ(30px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

/* ============================   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);
}

.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;
}

.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::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);
}
.pressure-text span {
  font-size: 4rem;
}


@media (min-width: 1367px) and (max-width: 1440px) {
  .sec-1-body {
    padding-bottom: 50px;
  }
  .gls-img-1,
  .gls-img-2 {
    width: 450px;
  }
  .heading-text img {
    width: 27%;
    right: -16%;
    bottom: 0;
  }
/* ======================== second section ========================= */
  /* .video {
    width: 340px !important;
    height: 480px !important;
  } */
/* ---------------------------------------------------------- */

  .card-img {
    width: 270px;
  }
  
  .sec-6-row1,
  .sec-6-row2 {
    width: 100%;
  }
  .sec-6-row1 h2{
    font-size: 4.5rem;
    line-height: 0.8;
  }

  .about-sec-6 {
    padding-bottom: 50px;
  }

  /* -------------- new card ----------------- */
  .card1-heading {
    width: 50%;
  }

  .card1-heading p {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1;
  }
}
/* ------------------------------------ RESPONSIVENESS ------------------ */


/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Standard Laptops (up to 1366px) */
@media screen and (max-width: 1366px) {
  .gls-img-1,
  .gls-img-2 {
    width: 380px;
  }
  .heading-text h1 {
    font-size: 8rem;
  }
  .heading-text img {
    width: 27%;
    right: -10%;
    bottom: -2%;
  }
  .video {
    width: 300px;
    height: 400px;
  }

  .card-img {
    width: 270px;
  }
  .card-heading h2 {
    font-size: 3rem;
  }
  .card-heading p {
    font-size: 1rem;
    line-height: 1;
  }

  .about-sec-6 {
    padding-bottom: 150px;
  }

  .sec4-row-1,
  .sec-6-row1 {
    margin-top: 100px;
  }

  .sec6-row1-heading {
    font-size: 4rem;
    line-height: 0.8;
  }
  .round-container {
    width: 65%;
  }
  .container-row p {
    font-size: 0.9rem;
    line-height: 1;
  }
  
  .joke-para p {
    font-size: 0.9rem;
    width: 290px;
    line-height: 0.9;
  }

  .sec-6-joke img {
    width: 250px;
  }

  .glass-container--large {
    min-width: 9rem;
    min-height: 9rem;
  }

  /* --------------- new card ------------------ */
  /* .video {
    width: 320px !important;
    height: 460px !important;
  } */

  /* --------------------------------------- */
  .card1-img img{
    width: 300px;
    height: 90%;
  }

  .card1-heading h2{
    font-size: 3rem;
    width: 80%;
    line-height: 1;
  }

  .card1-heading p {
    font-weight: 300;
    font-size: 1.2rem;
    line-height: 1;
  }

}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Small Laptops & Large Tablets (up to 1000px) */
@media (max-width: 1024px) {
  .about-sec-2 {
    height: 100%;
  }
  .sec-2-body {
    height: auto;
  }

  .heading-text h1 {
    font-size: 7rem;
    /* letter-spacing: 1px; */
  }
  .heading-text img {
    width: 28%;
    right: -13%;
    bottom: -2%;
  }
  .gls-img-1,
  .gls-img-2 {
    width: 350px;
  }

  .card-img {
    width: 200px;
  }
  .card-heading {
    width: 60%;
  }
  .card-heading h2 {
    font-size: 3rem;
  }
  .card-heading p {
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 200;
  }

  .sec-4-body,
  .sec-6-body {
    width: 90%;
  }

  .sec-4-row1,
  .sec-4-row2,
  .sec-6-row1,
  .sec-6-row2 {
    width: 100%;
  }

  /* ------------- new card ---------------- */

  .card1-heading h2{
    font-size: 2.7rem;
    width: 100%;
    line-height: 0.8;
  }

  .card1-heading p {
    font-size: 1rem;
    line-height: 1;
  }
}

@media  screen and (max-width: 850px) {
  .joke{
    display: none;
  }

  .sec-4-row2 {
    margin-top: 50px;
    justify-content: center;
  }

  .sec-4-row2 .round-container {
    width: 80%;
  }
}

/* ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ */
/* Tablets (up to 786px) */
@media (max-width: 786px) {

  .heading-text h1 {
    font-size: 6rem;
  }

  .heading-text img {
    width: 30%;
    right: -25%;
    bottom: 1%;
  }

  .glass-container--large {
    min-width: 6rem;
    min-height: 6rem;
  }
  /* -------------------------------------------- */
  /* .video {
    width: 240px !important;
    height: 360px !important;
  } */
  /* -------------------------------------------- */

  .card-img {
    width: 180px;
  }
  .card-heading {
    width: 60%;
  }
  .card-heading h2 {
    width: 100%;
    text-align: center;
    font-size: 2.5rem;
    letter-spacing: normal;
  }
  .card-heading p {
    width: 100%;
    font-size: 0.9rem;
    line-height: 1;
    font-weight: 200;
  }

  /* ------------------- new card --------------- */
  .card1-img img{
    width: 250px;
  }
  .card1-heading h2{
    font-size: 2rem;
  }

  .card1-heading p {
    font-size: 1rem;
    line-height: 1;
  }
}

/* ------------------------- FOR MOBILES ------------------- */
@media (max-width: 600px) {
  .about-sec-1 {
    overflow: hidden !important;
  }

  .heading-text {
    right: 50%;
    left: 50%;
    width: 100%;
    padding-left: 30px;
    transform: translate(-50%, -50%);
    margin-top: 200px !important;
  }

  .heading-text h1 {
    letter-spacing: -3px;
    line-height: 1;
  }

  .heading-text img {
    right: 2.25rem;
    bottom: 0;
    width: 5rem;
  } 

  .glass-images{
    margin-top: -200px;
  }
  .gls-img-2 {
    width: 90%;
    display: none;
  }
  /* ---------------- section 2 ------------------ */
  .indus-sec-3 {
    height: 103vh !important;
  }
  .indus-sec-3-body {
    margin-top: 0;
    height: 95% !important;
    border-radius: 20px;
  }
  .third-body-wrapper {
    height: 99%;
    border-radius: 15px;
  }
  .sec-3-card1 {
    gap: 20px;
    height: 100%;
    justify-content: center;
    flex-direction: column;
  }
  .card1-img img {
    width: 300px;
    border-radius: 20px;
  }
  .card1-heading {
    width: 95%;
  }
  .card1-heading h2 {
    font-size: var(--mob-sub-heading);
  }
  /* ----------------------- section 3 which actually is about-sec-2---------------------- */
  /* .swiper-wrapper {
    gap: 50px;
  }
  .swiper {
    padding: 0 10px !important;
  }
  .swiper-pagination {
    bottom: -30px;
  }
  .swiper-pagination-bullet-active {
    background: orange !important;
  }
  .video {
    width: 330px !important;
    height: 500px !important;
  }
  .video:hover {
    border-color: transparent;
    transform: scale(1.05);
  } */
  /* ------------------------ section 4 which actually is about-section-3 ----------------------- */
  .about-sec-3 {
    height: auto;
  }
  .sec-3-body {
    justify-content: center;
    align-items: center;
    height: 100%;
  }
  .aboutus-card {
    border-radius: 20px;
    width: 98%;
    height: 102vh;
    flex-direction: column-reverse;
  }
  .aboutus-card::before {
    border-radius: 15px;
    top: 0.4rem;
    left: 0.4rem;
    right: 0.4rem;
    bottom: 0.4rem;
  }
  .card-heading {
    padding-left: 10px;
    width: 93%;
  }
  /* ------------------------ section 4 which actually is about-section-6 -------------*/
  .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;
  }
}