@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  overflow-x: none;
}

html {
  scroll-behavior: smooth;
  margin: 0 auto;
}

body {
  font-family: 'Montserrat', sans-serif;
  font-size: 100%;
  margin: 0;
  padding: 0;
  cursor: url('../images/Switzerland.Arrow.cur'), auto;
  overflow-x: hidden;
  background: #212121;
}


header {
  position: relative;
  width: 100%;
  z-index: 100;
  margin-bottom: 0;
}

.navbar {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 1rem;
  position: absolute;
  top: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
}

.nav-logo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.nav-logo img {
  width: auto;
  height: auto;
  min-width: 10%;
  max-width: 15%;
}

.hamburger {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
  z-index: 2001;
}


.hamburger i {
  font-size: 3rem;
  color: #FAFAFA;
}


.nav-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  /* Aligns PDF icon and hamburger side by side */
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* Vertically centers them */
}

.pdf-icon {
  margin-right: 15px;
  /* Remove margin to bring them closer */
  font-size: 2.5rem;
  /* Keep your icon size */
  display: flex;
  align-items: center;
}

.pdf-icon svg {
  width: 2.5rem;
  height: 2.5rem;
  stroke: #FAFAFA;
  transition: stroke 0.3s;
}

.pdf-icon a {
  color: #FAFAFA;
  /* Your light color */
  text-decoration: none;
  display: flex;
  align-items: center;
}

.pdf-icon a:hover svg {
  stroke: #DA291C;
  /* Your red hover color */
}


.nav-links {
  list-style: none;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: #DA291C;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 1rem;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  z-index: 2000;
}

.nav-links.active {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav-links li {
  margin: 0.5rem 0;
}

.nav-links li a {
  display: inline-block;
  padding: 5px 0;
  position: relative;
  transition: all 0.3s ease-in-out;
  color: #FAFAFA;
  font-family: "Lexend", sans-serif;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
}



.nav-links li a:hover {
  animation: buzz 0.4s linear infinite;
}




.vertical-nav {
  position: fixed;
  top: 230px;
  left: 30px;
  width: 190px;
  background: rgba(0, 0, 0, 0.4);
  padding: 15px;
  border-radius: 25px;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  border: 3px solid #DA291C;
  font-family: "Lexend", sans-serif;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease, visibility 0.3s ease;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


.vertical-nav-title {
  font-family: "Lexend", sans-serif;
  color: #FAFAFA;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}


.vertical-nav.visible {
  opacity: 1;
  visibility: visible;
}

.vertical-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.vertical-nav ul li {
  margin-bottom: 16px;
}

.vertical-nav ul li a {
  text-decoration: none;
  text-align: left;
  color: #FAFAFA;
  font-size: 0.9rem;
  font-weight: 600;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 10px;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 10px;
  border-radius: 25px;
}

.vertical-nav ul li a:hover {
  background: #DA291C;
  color: #FAFAFA;
  -webkit-transform: translateX(5px);
  transform: translateX(5px);
  -webkit-box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.vertical-nav ul li a::before {
  content: '\25B6';
  color: transparent;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.vertical-nav ul li a:hover::before {
  color: #FAFAFA;
}


.resize-handle {
  position: absolute;
  top: 10px;
  right: 0;
  width: 2px;
  height: 96%;
  background: #DA291C;
  cursor: ew-resize;
  border-radius: 25px;
}

.resize-handle:hover {
  background: #FAFAFA;
}


.top-image-container {
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #FAFAFA;
  border-radius: 20px;
  overflow: hidden;
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.top-image {
  width: 85%;
  height: auto;
  display: block;
  margin: 0 auto;
  -o-object-fit: cover;
  object-fit: cover;
}


.hero-img {
  position: relative;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
  overflow: hidden;
  background: #1a1a1a;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  transform: scale(3);
  transform-origin: center center;
  z-index: 1;
  will-change: transform;
  gap: 8px;
  padding: 8px;
  background: #000;
}

.grid-item {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

/* Hero image background (desktop by default) */
.hero-image {
  background-image: url('../images/hero-img-desktop.jpg');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero-heading {
  color: #fafafa;
  font-size: 3rem;
  line-height: 1.2;
  text-align: center;
  font-family: "Lexend", sans-serif;
  width: 55%;
  margin-top: 10rem;
  font-weight: 250;
  overflow: hidden;
}

.hero-heading .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
}

@-webkit-keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slide-in-bottom {
  0% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
  }

  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
  }
}



.hero-buttons {
  margin-top: 4rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 3rem;
}


.btn-1 {
  text-decoration: none;
  color: #FAFAFA;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 1rem;
  font-family: "Lexend", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 40px;
  border: solid 2px #fafafa;
  position: relative;
  overflow: hidden;
  -webkit-transition: color 0.7s ease, transform 0.7s ease;
  -webkit-transition: color 0.7s ease, -webkit-transform 0.7s ease;
  transition: color 0.7s ease, -webkit-transform 0.7s ease;
  transition: color 0.7s ease, transform 0.7s ease;
  transition: color 0.7s ease, transform 0.7s ease, -webkit-transform 0.7s ease;
  -webkit-animation: shake-horizontal 2.5s ease 3.5s 2;
  animation: shake-horizontal 2.5s ease 3.5s 2;
}

.btn-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #DA291C;
  -webkit-transition: -webkit-transform 0.7s ease;
  transition: -webkit-transform 0.7s ease;
  transition: transform 0.7s ease;
  transition: transform 0.7s ease, -webkit-transform 0.7s ease;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  z-index: -1;
}

.btn-1:hover {
  color: #FAFAFA;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.btn-1:hover::before {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}


@-webkit-keyframes shake-horizontal {

  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }

  20%,
  40%,
  60% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }

  80% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }

  90% {
    -webkit-transform: translateX(-8px);
    transform: translateX(-8px);
  }
}


@keyframes shake-horizontal {

  0%,
  100% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70% {
    -webkit-transform: translateX(-10px);
    transform: translateX(-10px);
  }

  20%,
  40%,
  60% {
    -webkit-transform: translateX(10px);
    transform: translateX(10px);
  }

  80% {
    -webkit-transform: translateX(8px);
    transform: translateX(8px);
  }

  90% {
    -webkit-transform: translateX(-8px);
    transform: translateX(-8px);
  }
}

@keyframes buzz {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }

  25% {
    transform: translate(-2px, 2px) rotate(-1deg);
  }

  50% {
    transform: translate(2px, -2px) rotate(1deg);
  }

  75% {
    transform: translate(-2px, -2px) rotate(-1deg);
  }

  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}



.btn-2 {
  text-decoration: none;
  color: #FAFAFA;
  background: rgba(0, 0, 0, 0.4);
  padding: 1rem 1rem;
  font-family: "Lexend", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  border-radius: 40px;
  border: solid 2px #fafafa;
  position: relative;
  overflow: hidden;
  -webkit-transition: color 0.7s ease, transform 0.7s ease;
  -webkit-transition: color 0.7s ease, -webkit-transform 0.7s ease;
  transition: color 0.7s ease, -webkit-transform 0.7s ease;
  transition: color 0.7s ease, transform 0.7s ease;
  transition: color 0.7s ease, transform 0.7s ease, -webkit-transform 0.7s ease;
}

.btn-2::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #DA291C;
  -webkit-transition: -webkit-transform 0.7s ease;
  transition: -webkit-transform 0.7s ease;
  transition: transform 0.7s ease;
  transition: transform 0.7s ease, -webkit-transform 0.7s ease;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  z-index: -1;
}

.btn-2:hover {
  color: #FAFAFA;
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.btn-2:hover::before {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.case-studies {
  background: #212121;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  padding-bottom: 6rem;
}


.section-heading {
  color: #fafafa;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  font-family: "Lexend", sans-serif;
  font-weight: bold;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 3rem;
  margin-top: 6rem;
  margin-bottom: 4rem;
  text-align: center;
}


.card-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 4rem;
  width: 100%;
  padding-bottom: 10vh;
}

.card {
  position: -webkit-sticky;
  position: sticky;
  top: 120px;
  color: #fafafa;
  padding: 0;
  border-radius: 40px;
  width: 90%;
  max-width: 1000px;
  height: auto;
  -webkit-box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background: #333;
  opacity: 0;
  -webkit-transform-origin: center top;
  transform-origin: center top;
  will-change: transform, opacity;
}

.card img {
  width: 100%;
  height: auto;
  max-height: 500px;
  aspect-ratio: 16 / 10;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 40px;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}

.card:hover img {
  opacity: 0.5;
}

.card:hover {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

.card-title {
  font-family: "Lexend", sans-serif;
  font-size: 2rem;
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
  z-index: 1;
}

.card:hover .card-title {
  opacity: 1;
}

.card-content {
  opacity: 1;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 1rem;
  background: rgba(218, 41, 28, 0.7);
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.card:hover .card-content {
  -webkit-transform: translateY(0);
  transform: translateY(0);
}


/* Bold labels for Problem: and Solution: */
.bold-label {
  font-weight: bold;
  font-family: "Lexend", sans-serif;
}

/* Ensure paragraph text is readable */
.card-content p {
  margin: 0.5rem 0;
  font-family: "Montserrat", sans-serif;
  font-size: 1rem;
  color: #fafafa;
  text-align: left;
}


.process-bg {
  background: #212121;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 2rem 0;
  padding-bottom: 6rem;
}

.process-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 80%;
  max-width: 1200px;
  gap: 2rem;
}

.process-step {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #333;
  padding: 1.5rem;
  border-radius: 20px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 100%;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.process-step {
  opacity: 0;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  -webkit-transition: opacity 0.7s ease-out, -webkit-transform 0.7s ease-out;
  transition: opacity 0.7s ease-out, -webkit-transform 0.7s ease-out;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  transition: opacity 0.7s ease-out, transform 0.7s ease-out, -webkit-transform 0.7s ease-out;
}

.process-step.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.process-step:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}

.step-content {
  text-align: left;
}

.step-content h2 {
  font-size: 1.2rem;
  margin-top: 0.8rem;
  margin-bottom: 0.8em;
  color: #FAFAFA;
  text-align: left;
}

.step-content p {
  font-size: 1.2rem;
  color: #FAFAFA;
  font-weight: 300;
  line-height: 1.5;
  text-align: left;
}


.step-image {
  width: 100%;
  height: auto;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 20px;
  max-height: 380px;
}


.service-cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 2rem;
  padding: 3rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}


.service-card {
  position: relative;
  width: 530px;
  height: 620px;
  border-radius: 20px;
  overflow: hidden;
  background-color: #333;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  cursor: pointer;
  opacity: 0;
  /* Initially hidden */
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  /* Slightly move the card down */
  -webkit-transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, -webkit-transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition: opacity 0.6s ease, transform 0.6s ease, -webkit-transform 0.6s ease;
  /* Smooth fade-in and transform */
}

/* The service card becomes visible once the class "visible" is added */
.service-card.visible {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  /* Move the card to its original position */
}

/* Service Card Anchor */
.service-card a {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

/* Service Card Image */
.service-card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.service-card:hover img {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  /* Zoom image on hover */
}

/* Service Content */
.service-content {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  padding: 1.5rem;
  color: #fafafa;
  font-family: 'Lexend', 'Montserrat', sans-serif;
  text-align: center;
  opacity: 0;
  /* Initially hidden */
  -webkit-transform: translate(-50%, -50%) scale(0.9);
  transform: translate(-50%, -50%) scale(0.9);
  /* Slightly scale down */
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
  /* Smooth transitions */
  z-index: 2;
}

/* Show content on hover */
.service-card:hover .service-content {
  opacity: 1;
  -webkit-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
  /* Scale up content on hover */
}

/* Overlay background */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Show overlay on hover */
.service-card:hover::before {
  opacity: 0.9;
}


.testimonial-carousel {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 700px;
  -webkit-perspective: 2000px;
  perspective: 2000px;
  margin-bottom: 3rem;
  overflow: visible;
}

.testimonial-card {
  position: absolute;
  width: 400px;
  height: 580px;
  background-color: #363737;
  border-radius: 20px;
  padding: 20px;
  -webkit-box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  text-align: center;
  will-change: transform, opacity, filter;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  -o-object-fit: cover;
  object-fit: cover;
  margin-bottom: 10px;
  -webkit-transition: border-color 0.5s ease-in-out, -webkit-box-shadow 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: border-color 0.5s ease-in-out, -webkit-box-shadow 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out, border-color 0.5s ease-in-out, transform 0.3s ease-in-out;
  transition: box-shadow 0.3s ease-in-out, border-color 0.5s ease-in-out, transform 0.3s ease-in-out, -webkit-box-shadow 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}

.person-name {
  font-size: 1.2rem;
  color: #fafafa;
  margin: 5px;
}

.testimonial-text {
  font-size: 1rem;
  color: #fafafa;
  width: 85%;
  line-height: 1.6;
  margin: 0 auto;
  padding-top: 1rem;
}

.profile-image:hover {
  border-color: #DA291C;
  /* Red neon color */
  -webkit-box-shadow: 0 0 15px #DA291C, 0 0 30px #DA291C;
  box-shadow: 0 0 15px #DA291C, 0 0 30px #DA291C;
  /* Neon glow */
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  /* Grow effect */
}

.carousel-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.carousel-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(218, 41, 28, 0.8);
  border: 2px solid #fafafa;
  color: #fafafa;
  font-size: 1.5rem;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
  background: #DA291C;
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-box-shadow: 0 0 20px rgba(218, 41, 28, 0.6);
  box-shadow: 0 0 20px rgba(218, 41, 28, 0.6);
}

.carousel-btn:active {
  -webkit-transform: scale(0.95);
  transform: scale(0.95);
}



.red-bg {
  background: #DA291C;
  max-width: 100%;
  height: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 2rem 0;
  padding-bottom: 6rem;
  border-radius: 20px;
}

.tech-stack-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 4rem 0 2rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-stack-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 4rem;
  width: fit-content;
  -webkit-animation: scroll 30s linear infinite;
  animation: scroll 30s linear infinite;
  will-change: transform;
}

.tech-stack-wrapper:hover .tech-stack-track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

.tech-logo {
  -ms-flex-negative: 0;
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 1.5rem;
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  position: relative;
}

.tech-logo:hover {
  -webkit-transform: translateY(-10px);
  transform: translateY(-10px);
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Tooltip label */
.tech-logo::after {
  content: attr(data-label);
  position: absolute;
  bottom: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-10px);
  transform: translateX(-50%) translateY(-10px);
  background: rgba(0, 0, 0, 0.9);
  color: #fafafa;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: "Lexend", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  -webkit-transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, -webkit-transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease;
  transition: opacity 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
  z-index: 10;
  margin-bottom: 0.5rem;
}

.tech-logo:hover::after {
  opacity: 1;
  -webkit-transform: translateX(-50%) translateY(0);
  transform: translateX(-50%) translateY(0);
}

.tech-logo img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
}

.tech-logo a {
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

@-webkit-keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@keyframes scroll {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }

  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

/* Legacy circle styles for backward compatibility */
.circle-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 5rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.circle {
  width: 15rem;
  height: 15rem;
  border-radius: 50%;
  overflow: hidden;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.circle img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}


.footer {
  background-color: #212121;
  width: 100%;
  padding: 1rem 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  margin-top: 8rem;
}

.footer-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  width: 100%;
}

.footer-contact {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  color: #FAFAFA;
  font-size: 1rem;
}

.contact-info {
  margin: 0.5rem 0;
}


.copyright {
  font-size: 0.9rem;
  color: #FAFAFA;
  margin-top: 0.5rem;
  opacity: 0.8;
}

.footer-logo img {
  width: 10rem;
  height: auto;
}

.footer-email {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-left: auto;
  margin-right: 2rem;
}

.email-input {
  padding: 1rem;
  border: none;
  border-radius: 40px;
  margin-right: 1rem;
  font-size: 1rem;
}


.footer-icons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1.5rem;
}

.linkedin-icon,
.call-icon,
.email-icon,
.instagram-icon {
  font-size: 3rem;
  color: #fafafa;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}

.email-icon:hover,
.linkedin-icon:hover,
.call-icon:hover,
.instagram-icon:hover {
  color: #DA291C;
}

/* Scroll to top btn */

.scroll-to-top {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background-color: #DA291C;
  color: #FAFAFA;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-size: 1.5rem;
  -webkit-box-shadow: 0 2px 5px rgba(218, 41, 28, 0.5);
  box-shadow: 0 2px 5px rgba(218, 41, 28, 0.5);
  z-index: 1000;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}



/* About Me Page */

.about-section {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 40px;
  max-width: 85%;
  margin: 0 auto;
  padding: 5rem 5rem;
}

.about-img-container {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  max-width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 40px;
  -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.about-img-container img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  -o-object-position: 50% 25%;
  object-position: 50% 25%;
}

.about-text-container {
  -webkit-box-flex: 2;
  -ms-flex: 2;
  flex: 2;
  text-align: left;
}

.about-text-container h2 {
  font-family: "Lexend", sans-serif;
  font-size: 2.5rem;
  font-weight: 200;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: #fafafa;
}

.about-text-container p {
  font-family: "montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 200;
  line-height: 1.6;
  color: #fafafa;
  margin-bottom: 1rem;
}

.about-divider-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

.about-divider {
  width: 140px;
  height: auto;
}

.divider-line {
  width: 4px;
  height: 90px;
  background-color: #fafafa;
}


.experience-section {
  padding: 3rem 1rem;
  background-color: #DA291C;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 2rem;
}

.experience-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  max-width: 1200px;
  width: 100%;
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.experience-column,
.side-projects-column {
  -webkit-box-flex: 1;
  -ms-flex: 1;
  flex: 1;
  min-width: 300px;
}

.experience-headings {
  font-family: "Lexend", sans-serif;
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
  color: #fafafa;
}

ul {
  list-style: none;
  padding: 0;
}

li {
  font-family: "montserrat", sans-serif;
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  color: #fafafa;
}

strong {
  font-weight: bold;
  display: block;
}




.hero-img2 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/about/hero-2.png');
  background-size: cover;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.hero-img2 .hero-heading {
  overflow: hidden;
}

.hero-img2 .hero-heading .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(50px);
}

body.no-scroll {
  overflow-x: hidden;
}

#timeline {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  background-color: #212121;
  overflow-x: none;
}

.tl-item {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  position: relative;
  width: 25%;
  height: 100vh;
  min-height: 600px;
  color: #fafafa;
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.5s ease;
  transition: -webkit-transform 0.5s ease;
  transition: transform 0.5s ease;
  transition: transform 0.5s ease, -webkit-transform 0.5s ease;
  /* Changed from width to transform */
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.tl-item::before,
.tl-item::after {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.tl-item::after {
  background: rgba(0, 0, 0, 0);
  opacity: 1;
  -webkit-transition: opacity 0.5s ease;
  transition: opacity 0.5s ease;
}

.tl-item::before {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), color-stop(75%, rgba(0, 0, 0, 1)));
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 75%);
  z-index: 1;
  opacity: 0;
  -webkit-transform: translate3d(0, 0, 0) translateY(50%);
  transform: translate3d(0, 0, 0) translateY(50%);
  -webkit-transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, -webkit-transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transition: opacity 0.5s ease, transform 0.5s ease, -webkit-transform 0.5s ease;
}

/* Remove width change on hover */
.tl-item:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.tl-item:hover::after {
  opacity: 0;
}

.tl-item:hover::before {
  opacity: 1;
  -webkit-transform: translate3d(0, 0, 0) translateY(0);
  transform: translate3d(0, 0, 0) translateY(0);
  -webkit-transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
  transition: opacity 1s ease, -webkit-transform 1s ease 0.25s;
  transition: opacity 1s ease, transform 1s ease 0.25s;
  transition: opacity 1s ease, transform 1s ease 0.25s, -webkit-transform 1s ease 0.25s;
}

.tl-item:hover .tl-content {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -webkit-transition: all 0.75s ease 0.5s;
  transition: all 0.75s ease 0.5s;
}

.tl-item:hover .tl-bg {
  -webkit-filter: grayscale(0);
  filter: grayscale(0);
}

.tl-content {
  -webkit-transform: translate3d(0, 0, 0) translateY(25px);
  transform: translate3d(0, 0, 0) translateY(25px);
  position: relative;
  z-index: 1;
  text-align: center;
  margin: 0 2rem;
  top: 55%;
  opacity: 0;
}

.tl-content h1 {
  font-family: "Lexend", sans-serif;
  text-transform: uppercase;
  color: #DA291C;
  font-size: 1.5rem;
  font-weight: normal;
}

.tl-year {
  font-family: "Lexend", sans-serif;
  font-weight: bolder;
  font-size: 2rem;
  color: #fafafa;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  z-index: 1;
}

.tl-year p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  line-height: 0;
}

.tl-bg {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  -o-object-fit: cover;
  object-fit: cover;
  -webkit-transition: -webkit-filter 0.5s ease;
  transition: -webkit-filter 0.5s ease;
  transition: filter 0.5s ease;
  transition: filter 0.5s ease, -webkit-filter 0.5s ease;
  -webkit-filter: grayscale(100%);
  filter: grayscale(100%);
}


/* Contact Page */

.contact-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/contact-hero.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}




.contact-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px 100px;
  margin: 5rem;
}

.contact-container:after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background: url('../images/about/hero-2.png') no-repeat center;
  background-size: cover;
  -webkit-filter: blur(50px);
  filter: blur(50px);
  z-index: -1;
}

.contact-box {
  max-width: 85%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  background-color: #fafafa;
  border-radius: 20px;
  -webkit-box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.19);
  box-shadow: 0px 0px 19px 5px rgba(0, 0, 0, 0.19);
}

.left {
  background: url('../images/about/hero-2.png') no-repeat center;
  background-size: cover;
  height: 100%;
  min-height: 100%;
  border-radius: 20px 0px 0px 20px;
}

.right {
  padding: 25px 40px;
}

.form-title {
  font-family: "Lexend", sans-serif;
  font-weight: bold;
  position: relative;
  padding: 0 0 10px;
  margin-bottom: 10px;
}

.form-title:after {
  content: '';
  font-family: "Lexend", sans-serif;
  position: absolute;
  left: 50%;
  bottom: 0;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  height: 4px;
  width: 20%;
  border-radius: 2px;
  background-color: #DA291C;
}

.field {
  font-family: 'Montserrat', sans-serif;
  width: 100%;
  border: 2px solid rgba(0, 0, 0, 0);
  outline: none;
  background-color: rgba(230, 230, 230, 0.6);
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  margin-bottom: 22px;
  -webkit-transition: .3s;
  transition: .3s;
  border-radius: 20px;
  border: 1px solid #212121;
}

.field:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

textarea {
  min-height: 150px;
  resize: none;
}

.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: bold;
  width: 20%;
  padding: 1rem;
  background-color: #212121;
  color: #fafafa;
  font-size: 1rem;
  border: none;
  outline: none;
  cursor: pointer;
  -webkit-transition: .3s;
  transition: .3s;
  border-radius: 20px;
  margin-top: 1rem;
}

.btn:hover {
  background-color: #DA291C;
}

.field:focus {
  border: 1px solid #DA291C;
  background-color: #fafafa;
}


/* Memory Maker Case Study */


.hero-img3 {
  position: relative;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}


.header-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  margin-top: 2rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.info-item {
  margin: 1rem 1rem;
  font-size: 2rem;
  color: #fafafa;
}

.info-item span {
  font-weight: bold;
  margin-right: 5px;
}

/* Disclaimer Section */
.disclaimer-section {
  background: #1a1a1a;
  padding: 2rem 2rem;
  margin: 2rem auto;
  max-width: 1200px;
  border-radius: 10px;
  border: 2px solid #444;
}

.disclaimer-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(218, 41, 28, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #DA291C;
}

.disclaimer-icon {
  color: #DA291C;
  font-size: 1.5rem;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.disclaimer-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #d4d4d4;
  margin: 0;
}

.disclaimer-text strong {
  color: #DA291C;
  font-weight: 600;
}

/* Simplified Disclaimer - No dark container, just the red box */
.disclaimer-simple {
  margin: 2rem auto;
  max-width: 1200px;
}

.disclaimer-simple .disclaimer-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  gap: 1rem;
  background: rgba(218, 41, 28, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #DA291C;
}


.study-bg {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background: #212121;
  background-size: cover;
  width: 100%;
  height: 100%;
  max-width: 1500px;
  margin: 0 auto;
  margin-top: 6rem;
}


.interface {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 1rem;
  text-align: center;
  padding: 10px;
}

.interface h2 {
  font-size: 2rem;
  margin-top: 4rem;
  margin-bottom: 1rem;
  color: #fafafa;
}

.bullet-list {
  margin-top: 0.625rem;
  margin-bottom: 1.5rem;
  padding-left: 2rem;
  list-style: disc;
  color: #fafafa;
}

.bullet-list li {
  margin-bottom: 1rem;
  color: #fafafa;
  font-size: 1.5rem;
  text-align: left;
}

.bullet-list li:before {
  color: #fafafa;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}



.case-study-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: #fafafa;
  font-size: 1.5rem;
  line-height: 1.5;
  max-width: 50%;
  height: 100%;
  margin: 0 auto;
}


.responsive-image {
  width: 100%;
  height: auto;
  display: block;
  margin: 3rem auto;
  border-radius: 20px;
}



.circle-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 2rem;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-top: 4rem;
}


.circle {
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background-color: #DA291C;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  color: #fafafa;
  font-weight: bold;
  padding: 10px;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}


.circle:hover {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
}


.study-buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-line-pack: center;
  align-content: center;
  text-align: center;
  width: 100%;
  margin-top: 3rem;
  gap: 25px;
}



.image-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: space-evenly;
  -ms-flex-pack: space-evenly;
  justify-content: space-evenly;
  margin: 3rem 2rem;
}

.persona-item {
  width: calc(25% - 1rem);
  margin-bottom: 1rem;
  text-align: center;
}

.persona-item img {
  max-width: 100%;
  height: auto;
  -webkit-transition: -webkit-transform 0.3s ease-in-out;
  transition: -webkit-transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out;
  transition: transform 0.3s ease-in-out, -webkit-transform 0.3s ease-in-out;
}


.persona-item img:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 30px;
  margin: 4rem 2rem;
  max-width: 100%;
}

.grid-item {
  border-radius: 10px;
  overflow: hidden;
  -webkit-transition: -webkit-transform 0.5s ease-in-out;
  transition: -webkit-transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out;
  transition: transform 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
}

.grid-item img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
}

.grid-item:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
}



.responsive-iframe {
  width: 80%;
  height: 100%;
  padding-bottom: 56.25%;
  position: relative;
}

.responsive-iframe iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}


.content-text {
  text-align: left;
  font-family: 'Montserrat', sans-serif;
  color: #fafafa;
  font-size: 1.5rem;
  line-height: 1.5;
}


.content-text p {
  font-weight: 300;
}


.content-subheading {
  text-align: left;
  font-family: 'lexend', sans-serif;
  color: #fafafa;
  font-size: 2rem;
}


.content-image {
  -webkit-box-flex: 0;
  -ms-flex: 0 1 auto;
  flex: 0 1 auto;
  width: 100%;
  height: auto;
  max-width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  display: block;
  border-radius: 20px;
}


@supports (-webkit-touch-callout: none) {
  .content-image {
    width: 100% !important;
    height: auto !important;
    -o-object-fit: contain !important;
    object-fit: contain !important;
    max-width: 100% !important;
    display: block !important;
    max-height: 100vh !important;
  }
}

/* Ensure video poster images display correctly */
video.content-image[poster],
video.hero-video[poster] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.content-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  gap: 2rem;
  max-width: 1200px;
  margin: 4rem auto;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  overflow: hidden;
}


.hidden {
  opacity: 0;
  -webkit-transform: translateY(50px);
  transform: translateY(50px);
  /* Starts below its final position */
  -webkit-transition: opacity 0.6s ease-out, -webkit-transform 0.6s ease-out;
  transition: opacity 0.6s ease-out, -webkit-transform 0.6s ease-out;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, -webkit-transform 0.6s ease-out;
}

.fade-in {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.slide-in-left {
  opacity: 0;
  -webkit-transform: translateX(-50px);
  transform: translateX(-50px);
  /* Starts left of its final position */
  -webkit-transition: opacity 0.6s ease-out, -webkit-transform 0.6s ease-out;
  transition: opacity 0.6s ease-out, -webkit-transform 0.6s ease-out;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out, -webkit-transform 0.6s ease-out;
}

.slide-in-left.active {
  opacity: 1;
  -webkit-transform: translateX(0);
  transform: translateX(0);
}

.pop-up {
  opacity: 0;
  -webkit-transform: scale(0.8);
  transform: scale(0.8);
  /* Starts smaller */
  -webkit-transition: opacity 0.4s ease-out, -webkit-transform 0.4s ease-out;
  transition: opacity 0.4s ease-out, -webkit-transform 0.4s ease-out;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, -webkit-transform 0.4s ease-out;
}

.pop-up.active {
  opacity: 1;
  -webkit-transform: scale(1);
  transform: scale(1);
}



/* VoteSource Casestudy */


.bento-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-top: 6rem;
}

.bento-box {
  background-color: #363737;
  padding: 20px;
  border-radius: 20px;
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  -webkit-transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: transform 0.3s ease, background-color 0.3s ease;
  transition: transform 0.3s ease, background-color 0.3s ease, -webkit-transform 0.3s ease;
}

.bento-box:hover {
  -webkit-transform: scale(1.05);
  transform: scale(1.05);
  background-color: #DA291C;
  /* Slightly lighter on hover */
}


.bento-box h2 {
  color: #fafafa;
  margin-bottom: 1rem;
}

.title-box {
  grid-column: span 2;
  background-color: #363737;
  color: #212121;
  margin-top: 1rem;
}

.stats-box {
  background-color: #363737;
  color: #fafafa;
}

.challenge-box {
  grid-row: span 2;
}

.heading-primary {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.heading-secondary {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fafafa;
}

.text-content {
  margin-bottom: 1.5rem;
}

.list-content {
  padding-left: 20px;
  color: #212121;
}


.hero-img4 {
  position: relative;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}


.votesource-wireframe-img {
  width: 40%;
  height: auto;
  margin-top: 4rem;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}


.votesource-wireframe-img:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}


/* Reality AI Casestudy */


.hero-img5 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/reality-ai-hackathon/hackathon-hero-img.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

.custom-video {
  width: 95%;
  max-height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
}


.custom-video:-webkit-full-screen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}


.custom-video:-moz-full-screen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}


.custom-video:-ms-fullscreen {
  width: 100vw;
  height: 100vh;
  object-fit: contain;
}


.custom-video:fullscreen {
  width: 100vw;
  height: 100vh;
  -o-object-fit: contain;
  object-fit: contain;
}

/* Caffeineclicks Case Study */

.hero-img10 {
  position: relative;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  z-index: -1;
}


/* Revival Clinical Research Casestudy */

.hero-img6 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/home/flyer-mockup.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}


.sketch-img {
  width: 70%;
  height: auto;
  margin-top: 4rem;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  border-radius: 10px;
}


.sketch-img:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}


.revival-flyer-img {
  width: 70%;
  height: auto;
  margin-top: 4rem;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  border-radius: 40px;
}


.revival-flyer-img:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}

/* Exodia Detailing */

.hero-img7 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/home/exodia-detailing-mockup.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}


.image-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
  margin-top: 4rem;
}

.side-by-side-img {
  max-width: 50%;
  height: auto;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 10px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}

.side-by-side-img:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}


/* Roweb CaseStudy */

.hero-img8 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/home/roweb-business-card-mockup.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}

/* Fabs CaseStudy */

.hero-img9 {
  position: relative;
  width: 100%;
  height: 100vh;
  background-image: url('../images/home/fabs-mockup.jpg');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
}


/* Reality AI Assistants CaseStudy */

.hero-img11 {
  position: relative;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}


/* Reality AI Presentation Generator CaseStudy */

.hero-img12 {
  position: relative;
  width: 100%;
  height: 100vh;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  overflow: hidden;
}

/* More Work */

.ux-cards-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding: 20px;
  max-width: 100%;
  scrollbar-width: thin;
  /* Firefox */
  scrollbar-color: #DA291C transparent;
  /* Firefox */
}

/* Webkit-specific scrollbar styling */
.ux-cards-container::-webkit-scrollbar {
  height: 8px;
  /* Height of horizontal scrollbar */
}

.ux-cards-container::-webkit-scrollbar-track {
  background: transparent;
  /* Track color */
  border-radius: 20px;
}

.ux-cards-container::-webkit-scrollbar-thumb {
  background: #DA291C;
  /* Scrollbar thumb color (matches your button) */
  border-radius: 20px;
}

.ux-cards-container::-webkit-scrollbar-thumb:hover {
  background: #b52217;
  /* Darker shade on hover */
}

.ux-cards-card {
  position: relative;
  width: 450px;
  height: 500px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.ux-cards-image {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

.ux-cards-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(50, 50, 50, 0.5);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(50, 50, 50, 0.5);
  opacity: 0;
  -webkit-transform: translateY(100%);
  transform: translateY(100%);
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  padding: 20px;
  text-align: center;
  border-radius: 20px;
}

/* Hover effect for desktop (above 1024px) */
@media (min-width: 1025px) {
  .ux-cards-card:hover .ux-cards-content {
    opacity: 1;
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
}

/* Active state for click/tap */
.ux-cards-card.active .ux-cards-content {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
}

.ux-cards-title {
  color: #FAFAFA;
  font-size: 1.3rem;
  margin-bottom: 15px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ux-cards-text {
  color: #FAFAFA;
  font-size: 1rem;
  margin-bottom: 20px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
  line-height: 1.6;
}

.ux-cards-button {
  padding: 10px 20px;
  background: #DA291C;
  border: none;
  border-radius: 20px;
  cursor: pointer;
  font-weight: bold;
  -webkit-transition: -webkit-transform 0.7s ease;
  transition: -webkit-transform 0.7s ease;
  transition: transform 0.7s ease;
  transition: transform 0.7s ease, -webkit-transform 0.7s ease;
  text-decoration: none;
  color: #FAFAFA;
  display: inline-block;
}

.ux-cards-button:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}


/* All Media Queries */

@media (max-width: 1024px) {

  /* Hide grid mosaic on mobile, show simple background */
  .hero-grid {
    display: none;
  }

  .hero-img {
    background-image: url('../images/hero-img-mobile.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .vertical-nav {
    display: none;
  }

  .nav-links {
    padding: 0.5rem;
  }

  .hero-heading {
    font-size: 2.5rem;
  }

  .hero-buttons {
    margin-top: 2rem;
  }

  .btn-1,
  .btn-2 {
    padding: 1.3rem;
    font-size: 1.3rem;
  }

  .section-heading {
    font-size: 2.5rem;
  }

  .case-studies {
    overflow-x: hidden;
  }

  .card {
    width: 45%;
  }

  .service-cards {
    padding: 2rem;
    -webkit-box-pack: space-evenly;
    -ms-flex-pack: space-evenly;
    justify-content: space-evenly;
    /* Centers and spaces the cards evenly */
  }

  .service-card {
    width: 100%;
    /* Full width on smaller screens */
    height: auto;
    /* Allow the height to adjust according to content */
    max-width: 650px;
    /* Limit the card width */
  }

  .service-card img {
    height: 300px;
    /* Adjust image height for smaller screens */
  }

  .service-content {
    padding: 1rem;
    /* Reduce padding for better spacing on smaller screens */
    opacity: 1;
  }

  .service-card::before {
    opacity: 0.9;
    /* Always visible dark overlay on mobile */
  }

  .circle {
    width: 12rem;
    height: 12rem;
  }

  .bullet-list li {
    font-size: 1.5rem;
    margin-left: 1.5rem;
    width: 90%;
    list-style-type: none;
  }

  .timeline-bg {
    background: #212121;
  }

  .study-buttons {
    padding-top: 2rem;
    width: 80%;
    margin: 0 auto;
  }

  .persona-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .persona-item {
    width: 80%;
    margin-bottom: 1rem;
  }

  .responsive-iframe {
    padding-top: 160%;
    width: 80%;
  }


  .responsive-iframe iframe {
    height: 100%;
  }

  .content-image {
    max-width: 80%;
    margin: 0 auto 1rem;
  }

  .content-text {
    font-size: 1.4rem;
    padding: 0 1rem;
    text-align: center;
  }

  .content-subheading {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  #timeline {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    height: auto;
  }

  .tl-bg {
    background-position: 0 30%;
  }

  .tl-item {
    width: 100%;
    height: 50vh;
    min-height: 400px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .tl-content {
    top: 60%;
  }

  .tl-year {
    font-size: 2rem;
  }

  .tl-content h1 {
    font-size: 1.5rem;
  }

  .tl-content p {
    font-size: 1rem;
    width: 85%;
    text-align: center;
    margin: 0 auto;
  }

  .content-image {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
  }

  .about-section {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 20px;
  }

  .about-img-container {
    max-width: 80%;
    margin: 0 auto;
  }

  .about-text-container {
    text-align: center;
  }

  .about-text-container h2 {
    font-size: 2rem;
  }

  .about-text-container p {
    font-size: 1.2rem;
  }

  .about-divider-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 2rem;
    margin-top: 2rem;
  }

  .about-divider {
    width: 120px;
    height: auto;
  }

  .divider-line {
    width: 4px;
    height: 75px;
    background-color: #fafafa;
  }

  .experience-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .experience-column,
  .side-projects-column {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 100%;
    flex: 1 1 100%;
    max-width: 600px;
  }

  .contact-hero {
    background-image: url('../images/contact-hero-mobile.jpg');
  }


  .contact-container {
    padding: 20px 80px;
    margin: 4rem;
  }

  .contact-box {
    max-width: 90%;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .left {
    height: auto;
    border-radius: 20px 0 0 20px;
  }

  .right {
    padding: 20px 30px;
  }

  .form-title {
    font-size: 1.8rem;
  }

  .field,
  .btn {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .btn {
    width: 40%;
    padding: 1rem;
  }

  .responsive-image {
    border-radius: 0px;
  }

  .bento-container {
    grid-template-columns: 1fr;
    margin-top: 4rem;
    max-width: 85%;
  }

  .title-box {
    grid-column: span 1;
  }

  .challenge-box {
    grid-row: auto;
  }

  .heading-primary {
    font-size: 1.5rem;
  }

  .heading-secondary {
    font-size: 1.2rem;
  }

  .bento-box {
    padding: 1rem;
  }

  .list-content {
    font-size: 1rem;
  }

  .testimonial-carousel {
    height: 600px;
    -webkit-perspective: 1500px;
    perspective: 1500px;
    margin-bottom: 2rem;
    overflow: hidden;
  }

  .testimonial-card {
    width: 320px;
    height: 500px;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .person-name {
    font-size: 1.1rem;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .carousel-btn {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }

  .red-bg {
    border-radius: 0;
  }

  .tech-logo {
    width: 100px;
    height: 100px;
    padding: 1rem;
  }

  .tech-stack-track {
    gap: 2rem;
  }

  .ux-cards-card {
    width: 350px;
    height: 400px;
  }

  .ux-cards-title {
    font-size: 1.4rem;
  }

  .ux-cards-text {
    font-size: 1rem;
  }

  .card.active .card-content {
    opacity: 1;
    /* Show content */
    -webkit-transform: translateY(0);
    transform: translateY(0);
    /* Move to position */
  }

  .card.active img {
    opacity: 0.5;
    /* Dim image */
  }

  .card.active .card-title {
    opacity: 0;
    /* Hide title instantly */
    -webkit-transition: none;
    transition: none;
    /* No transition to prevent flash */
  }

  .scroll-to-top {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

}

@media (max-width: 768px) {

  .vertical-nav {
    display: none;
  }

  .nav-links {
    background-color: #DA291C;
  }

  .hamburger {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }

  .nav-links.active {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    max-height: 100vh;
    overflow-y: auto;
    padding: 1rem;
    width: 100%;
    background: #DA291C;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .nav-links li {
    margin: 1rem 0;
  }

  .hero-heading {
    font-size: 2rem;
    width: 90%;
  }

  .hero-buttons {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
  }

  .btn-1,
  .btn-2 {
    width: 100%;
    padding: 1.3rem;
    font-size: 1.3rem;
  }

  .case-studies {
    padding: 2rem 0;
  }


  .process-step {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    width: 80%;
  }

  .step-number {
    margin-bottom: 1rem;
  }

  /* Tablet Only: Hide card title, show content (Tablets) */
  @media (min-width: 481px) {
    .card .card-title {
      display: none;
    }

    .card .card-content {
      -webkit-transform: translateY(0);
      transform: translateY(0);
    }

    .card img {
      opacity: 0.4;
      /* Dim image slightly so text is readable */
    }
  }

  .step-content {
    text-align: center;
  }

  @media (min-width: 481px) {
    .card {
      width: 80%;
    }
  }

  .circle {
    width: 10rem;
    height: 10rem;
    margin-bottom: 2rem;
  }


  .service-cards {
    padding: 2rem;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    /* Center the cards */
  }

  .service-card {
    width: 100%;
    /* Full width on smaller screens */
    max-width: 600px;
    /* Set a max width to maintain proportions */
    height: auto;
    /* Allow the height to adjust according to content */
  }

  .service-card img {
    height: 250px;
    /* Adjust image height for smaller screens */
  }

  .service-content {
    padding: 1rem;
    /* Reduce padding for better spacing on smaller screens */
    opacity: 1;
  }

  .service-card::before {
    opacity: 0.9;
    /* Always visible dark overlay on mobile */
  }

  .footer-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
  }

  .footer-icons {
    margin-top: 1rem;
  }

  .email-input {
    margin-right: 0;
  }

  .email-icon,
  .call-icon,
  .linkedin-icon {
    font-size: 2rem;
  }

  .case-study-body {
    max-width: 85%
  }


  .bullet-list li {
    font-size: 1.5rem;
    margin-left: 1.5rem;
    width: 90%;
    list-style: disc;
  }


  .info-item {
    margin: 1rem 1rem;
    font-size: 1.2rem;
  }

  .study-buttons {
    padding-top: 2rem;
    width: 80%;
    margin: 0 auto;
  }

  .persona-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .persona-item {
    width: 80%;
    margin-bottom: 1rem;
  }


  .responsive-iframe {
    padding-top: 180%;
  }

  .responsive-iframe iframe {
    height: 100vh;
  }

  .content-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .content-image {
    max-width: 80%;
    margin: 0 auto 1rem;
  }

  /* Ensure poster images display correctly on mobile/tablet */
  video.content-image[poster],
  video.hero-video[poster] {
    object-fit: contain;
    width: 100%;
    height: auto;
  }


  .content-text {
    font-size: 1rem;
    padding: 0 1rem;
    text-align: center;
  }

  .content-subheading {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    text-align: center;
  }

  .tl-item {
    height: 40vh;
    min-height: 450px;
  }

  .tl-content {
    top: 55%;
    margin: 0 1em;
  }

  .tl-content h1 {
    font-size: 1.5rem;
  }

  .tl-year {
    font-size: 2rem;
  }

  .tl-content p {
    font-size: 1rem;
    width: 85%;
    text-align: center;
    margin: 0 auto;
  }

  .tl-bg {
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
    -o-object-fit: cover;
    object-fit: cover;
  }

  .content-image {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
    object-fit: contain;
  }

  .about-section {
    padding: 2rem 1.5rem;
    gap: 15px;
  }

  .about-img-container {
    max-width: 85%;
    aspect-ratio: 4 / 3;
  }

  .about-text-container {
    text-align: center;
  }

  .about-text-container h2 {
    font-size: 1.8rem;
  }

  .about-text-container p {
    font-size: 1rem;
  }

  .experience-section {
    padding: 2rem 1rem;
  }

  .experience-headings {
    font-size: 1.25rem;
    text-align: left;
  }

  .experience-container {
    gap: 1.5rem;
  }

  li {
    font-size: 0.95rem;
  }

  .contact-hero {
    background-image: url('../images/contact-hero-mobile.jpg');
  }

  .contact-container {
    padding: 20px 50px;
    margin: 2rem;
  }

  .contact-box {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .left {
    height: 200px;
    border-radius: 20px 20px 0 0;
  }

  .right {
    padding: 20px;
  }

  .form-title {
    font-size: 1.5rem;
  }

  .field,
  .btn {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }

  .btn {
    width: 100%;
    padding: 1rem;
  }

  .testimonial-carousel {
    height: 550px;
    -webkit-perspective: 1200px;
    perspective: 1200px;
    margin-bottom: 1.5rem;
    overflow: hidden;
  }

  .testimonial-card {
    width: 280px;
    height: 450px;
  }

  .profile-image {
    width: 120px;
    height: 120px;
  }

  .person-name {
    font-size: 1rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .carousel-btn {
    width: 45px;
    height: 45px;
    font-size: 1.1rem;
  }

  .ux-cards-card {
    width: 300px;
    height: 350px;
  }

  .ux-cards-title {
    font-size: 1.1rem;
  }

  .ux-cards-text {
    font-size: 0.85rem;
  }

  .ux-cards-button {
    padding: 8px 16px;
  }

  .top-image-container {
    width: 100%;
    border-radius: 0px;
  }

  .top-image {
    width: 85%;
  }

  /* Disclaimer responsive styles */
  .disclaimer-section {
    padding: 1rem;
    margin: 1rem auto;
  }

  .disclaimer-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }

  .disclaimer-icon {
    font-size: 1.25rem;
    margin-top: 0;
  }

  .disclaimer-text {
    font-size: 0.9rem;
  }

  /* Simplified disclaimer responsive */
  .disclaimer-simple {
    margin: 1rem auto;
  }

  .disclaimer-simple .disclaimer-content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 1rem;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {

  .vertical-nav {
    display: none;
  }


  .nav-logo img {
    min-width: 15%;
    max-width: 25%;
  }

  body {
    overflow-x: none;
  }

  .nav-links {
    background-color: #DA291C;
  }

  .hero-heading {
    font-size: 1.5rem;
    width: 80%;
  }

  .hero-buttons {
    margin-top: 2.5rem;
    gap: 1.5rem;
  }

  .btn-1,
  .btn-2 {
    padding: 0.8rem;
    font-size: 1.2rem;
  }

  .section-heading {
    font-size: 1.6rem;
  }


  .process-container {
    width: 100%;
  }


  .card {
    width: 85%;
  }

  .service-cards {
    padding: 1.5rem;
    /* Smaller padding for mobile */
  }

  .service-card {
    width: 100%;
    /* Full width */
    max-width: 320px;
    /* Set a max width for better visual fit */
    height: auto;
    /* Allow for responsive height */
  }

  .service-card img {
    height: 300px;
    /* Smaller image height for mobile */
  }

  .service-content {
    padding: 1rem;
    /* Keep padding consistent */
    font-size: 0.9rem;
    /* Adjust font size for mobile */
    opacity: 1;
  }

  .service-card::before {
    opacity: 0.9;
    /* Always visible dark overlay on mobile */
  }

  .circle {
    width: 8rem;
    height: 8rem;
    margin-bottom: 1.5rem;
    font-size: 0.8rem;
  }

  .footer {
    padding: 1.5rem 0.5rem;
  }

  .email-input {
    padding: 0.8rem;
    font-size: 0.9rem;
  }


  .email-icon,
  .call-icon,
  .linkedin-icon {
    font-size: 2.5rem;
  }

  .case-study-body {
    font-size: 1rem;
    max-width: 85%
  }

  .info-item {
    margin: 1rem 1rem;
    font-size: 1.2rem;
  }


  .bullet-list li {
    font-size: 1.2rem;
    margin-left: 1.5rem;
    width: 90%;
    list-style: disc;
  }


  .study-buttons {
    padding-top: 2rem;
    width: 80%;
    margin: 0 auto;
  }

  .persona-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .persona-item {
    width: 80%;
    margin-bottom: 1rem;
  }

  .interface h2 {
    font-size: 1.2rem;
  }

  .responsive-iframe {
    padding-top: 160%;
    width: 80%;
  }


  .responsive-iframe iframe {
    height: 100vh;
  }

  .image-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .side-by-side-img {
    max-width: 80%;
  }

  .sketch-img {
    width: 80%;
  }


  .votesource-wireframe-img {
    width: 80%;
  }

  .content-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .content-image {
    max-width: 90%;
    margin: 0 auto 1rem;
  }

  .content-text {
    font-size: 1rem;
    text-align: center;
  }

  .content-subheading {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    text-align: center;
  }

  .image-row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .side-by-side-img {
    width: 80%;
    margin-bottom: 1rem;
  }

  .tl-item {
    height: 30vh;
    min-height: 450px;
    -ms-flex-negative: 0;
    flex-shrink: 0;
  }

  .tl-year {
    font-size: 1.5rem;
  }

  .tl-content h1 {
    font-size: 1rem;
  }

  .tl-content p {
    font-size: 0.9rem;
    width: 85%;
    text-align: center;
    margin: 0 auto;
  }

  .tl-bg {
    -webkit-filter: grayscale(50%);
    filter: grayscale(50%);
    -o-object-fit: cover;
    object-fit: cover;
  }

  .tl-content {
    top: 55%;
    margin: 0 0.5em;
  }

  .content-image {
    -webkit-box-flex: 0 !important;
    -ms-flex: 0 1 auto !important;
    flex: 0 1 auto !important;
    width: 85% !important;
    margin: 0 auto !important;
    display: block !important;
    max-height: 100vh !important;
  }

  .about-section {
    padding: 2rem 1.5rem;
    gap: 10px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .about-img-container {
    max-width: 100%;
    aspect-ratio: 4 / 5;
    margin: 0 auto;
  }

  .about-img-container img {
    -o-object-position: top;
    object-position: top;
  }

  .about-text-container {
    text-align: center;
  }

  .about-text-container h2 {
    margin-top: 1rem;
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .about-text-container p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .experience-section {
    padding: 1.5rem 0.5rem;
  }

  .experience-container {
    gap: 1rem;
  }

  .experience-headings {
    font-size: 1rem;
    text-align: left;
  }

  li {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .contact-hero {
    background-image: url('../images/contact-hero-mobile.jpg');
  }

  .contact-container {
    padding: 10px 20px;
    margin: 1rem;
  }

  .contact-box {
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .left {
    height: 150px;
  }

  .right {
    padding: 15px;
  }

  .form-title {
    font-size: 1.2rem;
  }

  .field,
  .btn {
    font-size: 0.9rem;
    padding: 0.6rem;
  }

  .testimonial-card {
    width: 85%;
    height: auto;
    padding: 15px;
  }

  .profile-image {
    width: 110px;
    height: 110px;
  }

  .person-name {
    font-size: 1.1rem;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .testimonial-carousel {
    gap: 35px;
    /* Slightly reduced gap */
    padding: 15px 0;
  }

  .ux-cards-card {
    width: 280px;
    height: 320px;
  }

  .ux-cards-title {
    font-size: 1rem;
  }

  .ux-cards-text {
    font-size: 0.8rem;
  }

  .ux-cards-button {
    padding: 7px 14px;
  }

}



@media (max-width: 390px) {

  .left {
    display: none;
  }

  .field,
  .btn {
    font-size: 0.9rem;
    padding: 0.6rem;
    width: 90%;
  }

}





@media (max-width: 375px) {
  .contact-container {
    padding: 15px;
    margin: 4rem 10px;
  }

  .contact-box {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 20px;
  }

  .left {
    display: none;
  }

  .right {
    padding: 20px;
  }

  .form-title {
    font-size: 1.7rem;
    margin-bottom: 1rem;
  }

  .field {
    font-size: 1rem;
    padding: 0.5rem;
    margin-bottom: 18px;
  }

  .btn {
    width: 60%;
    padding: 0.8rem;
    font-size: 0.9rem;
  }
}




@media (max-width: 360px) {
  .contact-container {
    padding: 10px;
    margin: 3rem 10px;
  }

  .contact-box {
    grid-template-columns: 1fr;
    max-width: 100%;
    padding: 15px;
  }

  .left {
    display: none;
  }

  .right {
    padding: 20px;
  }

  .form-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .field {
    font-size: 0.9rem;
    padding: 0.5rem;
    margin-bottom: 16px;
  }

  .btn {
    width: 60%;
    padding: 0.8rem;
    font-size: 0.9rem;
  }

  .testimonial-card {
    width: 80%;
    height: auto;
    padding: 20px;
  }

  .profile-image {
    width: 100px;
    height: 100px;
  }

  .person-name {
    font-size: 0.9rem;
  }

  .testimonial-text {
    font-size: 0.85rem;
  }

  .testimonial-carousel {
    gap: 15px;
    /* Smaller gap */
    padding: 10px 0;
  }

  .ux-cards-card {
    width: 240px;
    height: 280px;
  }

  .ux-cards-title {
    font-size: 0.9rem;
  }

  .ux-cards-text {
    font-size: 0.75rem;
  }

  .ux-cards-button {
    padding: 6px 12px;
  }
}


@media (max-width: 344px) {

  .left {
    display: none;
  }



}



/* Horizontal Mobile View */


@media (max-width: 667px) {

  .vertical-nav {
    display: none;
  }

  .hero-heading {
    font-size: 1.8rem;
    width: 85%;
    text-align: center;
  }

  .hero-buttons {
    margin-top: 2rem;
    gap: 1.2rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .btn-1,
  .btn-2 {
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

}


@media (max-width: 896px) {

  .vertical-nav {
    display: none;
  }

  .hero-heading {
    font-size: 1.8rem;
    width: 85%;
    text-align: center;
  }

  .hero-buttons {
    margin-top: 2rem;
    gap: 1.2rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .btn-1,
  .btn-2 {
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}


@media (max-width: 932px) {

  .vertical-nav {
    display: none;
  }

  .hero-heading {
    font-size: 1.8rem;
    width: 85%;
    text-align: center;
  }

  .hero-buttons {
    margin-top: 2rem;
    gap: 1.2rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .btn-1,
  .btn-2 {
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}


@media (max-width: 912px) {

  .vertical-nav {
    display: none;
  }

  .hero-heading {
    font-size: 1.8rem;
    width: 85%;
    text-align: center;
  }

  .hero-buttons {
    margin-top: 2rem;
    gap: 1.2rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .btn-1,
  .btn-2 {
    padding: 0.8rem 1rem;
    font-size: 1.2rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}


@media (min-width: 768px) {
  .scroll-to-top {
    display: none;
  }
}

/* Discovery Section Layout */
.discovery-layout {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto;
  width: 90%;
}

.discovery-layout img {
  width: 45%;
  height: auto;
  border-radius: 20px;
  -o-object-fit: contain;
  object-fit: contain;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.discovery-layout .content-text {
  width: 45%;
}

@media (max-width: 768px) {
  .discovery-layout {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    padding: 0 1.5rem;
  }

  .discovery-layout img {
    width: 100%;
    max-width: 400px;
  }

  .discovery-layout .content-text {
    width: 100%;
    text-align: center;
  }
}