/* Font faces */
@font-face {
  font-family: "monument_extendedregular";
  src: url("https://www.yudiz.com/codepen/photography-banner/monumentextended-regular.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "Extenda Trial 20 Micro";
  src: url("https://www.yudiz.com/codepen/photography-banner/Extenda-20Micro.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Extenda Trial 30 Deca";
  src: url("https://www.yudiz.com/codepen/photography-banner/Extenda-30Deca.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Reset styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* Global title styles to ensure proper text rendering */
h1, h2, h3, h4, h5, h6 {
  color: #fff;
  background: none;
  -webkit-text-fill-color: #fff;
  -webkit-text-stroke: none;
  text-shadow: none;
}

/* Highlight text color - defined early to override global styles */
.highlight {
  color: #864EDD !important;
  -webkit-text-fill-color: #864EDD !important;
  background: none !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
}

/* Preserve highlighted text color */
.left-part h1 .text {
  color: #864EDD !important;
  -webkit-text-fill-color: #864EDD !important;
}

/* Highlight text color - maximum specificity to override global styles */
.highlight,
* .highlight,
h1 .highlight,
h2 .highlight,
h3 .highlight,
h4 .highlight,
h5 .highlight,
h6 .highlight,
.features-content h2 .highlight,
section h2 .highlight {
  color: #864EDD !important;
  -webkit-text-fill-color: #864EDD !important;
  background: none !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
}

/* Ensure portfolio text is properly rendered */
.portfolio-main,
.portfolio-sub {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-display: swap;
}

/* Component styles */
.photography-banner,
.photography-banner * {
  box-sizing: border-box;
}

/* Font rendering improvements */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.photography-banner {
  margin: 0;
  background-color: #212121;
  background-image: url("https://www.yudiz.com/codepen/photography-banner/frame.png");
  overflow-x: hidden;
  min-height: 100vh;
  width: 100%;
}

.photography-banner *::selection {
  background-color: rgba(134, 78, 221, 0.2);
  color: #ffffff;
}

.info-section {
  height: 100vh;
  min-height: 780px;
  padding: 0 0 0 30px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  z-index: 1;
  user-select: none;
  overflow: hidden;
}

.info-section::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.4;
  background: #864EDD;
  filter: blur(162px);
  height: 35%;
  width: 55%;
  position: absolute;
  top: -40%;
  left: -66%;
  transform: translate(50%, 50%);
  z-index: -1;
}

/* Left part */
.left-part {
  padding: 20px 0 0;
  overflow: hidden;
}

.left-part h1 {
  margin: 0;
  color: #fff;
  font-family: "Extenda Trial 30 Deca";
  font-size: clamp(100px, 18.5vw, 282px);
  line-height: 0.75;
  font-weight: normal;
  font-style: normal;
  text-transform: uppercase;
}

.left-part h1 .text {
  color: #864EDD;
  display: block;
  height: 200px;
  text-align: left;
}

.left-part h1 .d-flex {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  flex-direction: column;
}

.left-part h1 .char {
  transform: translateY(0);
  transition: transform 0.5s;
  animation: slideUp 0.3s ease-out forwards;
  text-align: left;
  width: 100%;
}

.typed-cursor {
  display: none !important;
}

@keyframes slideUp {
  from {
    transform: translateY(-515px);
  }
  to {
    transform: translateY(0);
  }
}

.left-part p {
  width: 72%;
  margin: 20px 0 0;
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: normal;
  line-height: 2;
  font-family: "monument_extendedregular";
  opacity: 0.8;
  text-align: left;
}

/* Button */
.book-link {
  margin: 40px 0 0;
  padding: 0;
  border: 0;
  font-size: 56px;
  line-height: 1;
  color: #f1f1f1;
  letter-spacing: 0.25px;
  text-transform: uppercase;
  font-family: "Extenda Trial 20 Micro";
  font-weight: 300;
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  position: relative;
  text-decoration: none;
  cursor: pointer;
}

.book-link .linktext {
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.book-link .linktext::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 6px;
  width: 100%;
  height: 3px;
  background-color: #ffffff;
  transform: scaleX(1);
  transition: transform 250ms ease-in-out;
  transform-origin: 0 0;
}

.book-link:hover .linktext:before {
  transform: scaleX(0);
  transform-origin: 100% 100%;
}

.book-link .arrow {
  height: 36px;
  width: 36px;
  top: -5px;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.book-link .arrow::before,
.book-link .arrow::after {
  position: absolute;
  content: "";
  background-color: #864EDD;
  transition: all ease-in-out 0.35s;
  transform-origin: 0 0;
  border-radius: 30px;
}

.book-link .arrow::before {
  height: 2px;
  width: 100%;
  top: 0;
  right: 0;
}

.book-link .arrow::after {
  width: 2px;
  height: 100%;
  top: 0;
  right: 0;
}

.book-link:hover .arrow::before {
  width: 65%;
}

.book-link:hover .arrow::after {
  height: 65%;
}

.book-link .arrow span {
  background-color: #864EDD;
  height: 2px;
  width: 100%;
  display: inline-block;
  transform: rotate(-45deg) translate(-3px, -1px);
  transform-origin: right top;
  border-radius: 30px;
  position: relative;
  transition: all ease-in-out 0.35s;
  position: absolute;
  top: 0;
  left: 0;
}

.book-link .arrow span::before {
  background-color: #864EDD;
  content: "";
  height: 100%;
  width: 15px;
  left: -15px;
  top: 0;
  position: absolute;
}

/* Right part */
.right-part {
  background-color: transparent;
  height: 588px;
  width: 588px;
  margin: 0 0 0 auto;
  margin-right: -14px;
  display: block;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.right-part::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.4;
  background: #864EDD;
  filter: blur(112px);
  height: 35%;
  width: 55%;
  position: absolute;
  top: 50%;
  right: 33%;
  transform: translate(50%, -50%);
  z-index: -1;
}

.right-part .d-flex {
  height: 100%;
  gap: 24px;
  display: flex;
  flex-wrap: wrap;
  align-content: space-between;
  position: relative;
}

.main-grid {
  position: relative;
}

.box {
  width: calc((100% / 3) - 16px);
  height: calc((100% / 3) - 16px);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #555555;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 32px;
  color: #ffffff;
  font-family: "monument_extendedregular";
  border-radius: 120px;
  position: absolute;
  animation: 30s infinite;
}

/* Box animations */
.box:nth-child(1) {
  left: 0;
  top: 0;
  animation-name: box-1;
}

.box:nth-child(2) {
  left: calc(100% / 3);
  top: 0;
  animation-name: box-2;
}

.box:nth-child(3) {
  left: calc((100% / 3) * 2);
  top: 0;
  animation-name: box-3;
}

.box:nth-child(4) {
  left: 0;
  top: calc(100% / 3);
  animation-name: box-4;
}

.box:nth-child(5) {
  left: calc((100% / 3) * 2);
  top: calc(100% / 3);
  animation-name: box-5;
}

.box:nth-child(6) {
  left: 0;
  top: calc((100% / 3) * 2);
  animation-name: box-6;
}

.box:nth-child(7) {
  left: calc(100% / 3);
  top: calc((100% / 3) * 2);
  animation-name: box-7;
}

.box:nth-child(8) {
  left: calc((100% / 3) * 2);
  top: calc((100% / 3) * 2);
  animation-name: box-8;
}

/* Keyframes for box animations */
@keyframes box-1 {
  0%, 90%, 100% {
    left: 0;
    top: 0;
  }
  2.5%, 12.5% {
    left: calc(100% / 3);
  }
  15%, 25% {
    left: calc((100% / 3) * 2);
    top: 0;
  }
  27.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }
  29.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  31.5%, 33.5% {
    left: calc(100% / 3);
    width: 100%;
  }
  35.5%, 37.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  40%, 50% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
  52.5%, 62.5% {
    left: calc(100% / 3);
  }
  65%, 75% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
  77.5%, 87.5% {
    top: calc(100% / 3);
  }
}

@keyframes box-2 {
  0%, 90%, 100% {
    left: calc(100% / 3);
  }
  2.5%, 12.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }
  15%, 17% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  19%, 21% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
  23%, 25% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  27.5%, 37.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
  40%, 50% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
  52.5%, 62.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
  65%, 75% {
    left: 0;
    top: calc(100% / 3);
  }
  77.5%, 87.5% {
    left: 0;
    top: 0;
  }
}

@keyframes box-3 {
  0%, 90%, 100% {
    left: calc((100% / 3) * 2);
  }
  2.5%, 12.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
  }
  4.5%, 10.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  6.5%, 8.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
  15%, 25% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
  27.5%, 37.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
  40%, 50% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
  52.5%, 62.5% {
    left: 0;
    top: calc(100% / 3);
  }
  65%, 75% {
    left: 0;
    top: 0;
  }
  77.5%, 87.5% {
    left: calc(100% / 3);
    top: 0;
  }
}

@keyframes box-4 {
  0%, 90%, 100% {
    top: calc(100% / 3);
  }
  2.5%, 12.5% {
    left: 0;
    top: 0;
  }
  15%, 25% {
    left: calc(100% / 3);
    top: 0;
  }
  27.5%, 37.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }
  40%, 42%, 48%, 50% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  44%, 46% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
  52.5%, 62.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
  65%, 75% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
  77.5%, 87.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-5 {
  0%, 90%, 92%, 98%, 100% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  2.5%, 12.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
  15%, 25% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
  27.5%, 37.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
  40%, 50% {
    left: 0;
    top: calc(100% / 3);
  }
  52.5%, 62.5% {
    left: 0;
    top: 0;
  }
  65%, 75% {
    left: calc(100% / 3);
    top: 0;
  }
  77.5%, 87.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }
  94%, 96% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

@keyframes box-6 {
  0%, 90%, 100% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
  2.5%, 12.5% {
    left: 0;
    top: calc(100% / 3);
  }
  15%, 25% {
    left: 0;
    top: 0;
  }
  27.5%, 37.5% {
    left: calc(100% / 3);
    top: 0;
  }
  40%, 50% {
    left: calc((100% / 3) * 2);
    top: 0;
  }
  52.5%, 54.5%, 60.5%, 62.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  56.5%, 58.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
  65%, 75% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
  77.5%, 87.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-7 {
  0%, 90%, 100% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
  2.5%, 12.5% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
  15%, 25% {
    left: 0;
    top: calc(100% / 3);
  }
  27.5%, 37.5% {
    left: 0;
    top: 0;
  }
  40%, 50% {
    left: calc(100% / 3);
    top: 0;
  }
  52.5%, 62.5% {
    left: calc((100% / 3) * 2);
    top: 0;
  }
  65%, 67%, 73%, 75% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
  }
  69%, 71% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
  77.5%, 87.5% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
}

@keyframes box-8 {
  0%, 90%, 100% {
    left: calc((100% / 3) * 2);
    top: calc((100% / 3) * 2);
  }
  2.5%, 12.5% {
    left: calc(100% / 3);
    top: calc((100% / 3) * 2);
  }
  15%, 25% {
    left: 0;
    top: calc((100% / 3) * 2);
  }
  27.5%, 37.5% {
    left: 0;
    top: calc(100% / 3);
  }
  40%, 50% {
    left: 0;
    top: 0;
  }
  52.5%, 62.5% {
    left: calc(100% / 3);
    top: 0;
  }
  65%, 75% {
    left: calc((100% / 3) * 2);
    top: 0;
  }
  77.5%, 79.5%, 85.5%, 87.5% {
    left: calc((100% / 3) * 2);
    top: calc(100% / 3);
    width: calc((100% / 3) - 16px);
    border-radius: 100%;
  }
  81.5%, 83.5% {
    left: calc(100% / 3);
    top: calc(100% / 3);
    width: 100%;
  }
}

/* Box Text */
.box span {
  position: absolute;
  display: block;
  opacity: 0.8;
  z-index: 5;
}

.box:nth-child(1) span {
  top: 43%;
  left: -27px;
  transform: translateY(-50%);
}

.box:nth-child(3) span {
  left: -10px;
  bottom: 2px;
}

.box:nth-child(4) span {
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}

.box:nth-child(8) span {
  top: 50%;
  transform: translate(-50%, -50%);
  left: 15%;
}

/* Box Background-Image */
.box .bg-img {
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 120px;
  overflow: hidden;
}

.box .bg-img,
.box .bg-img img {
  height: 100%;
  width: 100%;
}

.box .bg-img img {
  max-width: 100%;
  object-fit: cover;
  object-position: center center;
}

/* Curve Line */
.bg-line {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 85px;
  z-index: -1;
  overflow: hidden;
  display: flex;
  display: -webkit-flex;
  white-space: nowrap;
}

.bg-line img {
  position: relative;
  flex-shrink: 0;
  -webkit-flex-shrink: 0;
  animation: 26s linear infinite;
}

.bg-line img:nth-child(1) {
  animation-name: first-text;
}

.bg-line img:nth-child(2) {
  animation-name: second-text;
}

@keyframes first-text {
  50% {
    transform: translateX(-100%);
    opacity: 1;
  }
  50.05% {
    opacity: 0;
  }
  50.1% {
    transform: translateX(100%);
    opacity: 1;
  }
  100% {
    transform: translateX(0%);
  }
}

@keyframes second-text {
  50% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(-200%);
  }
  0% {
    transform: translateX(0%);
  }
}

/* Dash Circle */
.bg-dash-circle {
  position: absolute;
  bottom: -35px;
  right: -13px;
  z-index: -1;
  width: 180px;
  aspect-ratio: 1/1;
}

.bg-dash-circle img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center center;
  animation: circle-rotate 18s linear infinite;
}

@keyframes circle-rotate {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Circle Line */
.bg-circle-h-line {
  bottom: 42px;
  left: -68px;
  z-index: 1;
  width: 181px;
  height: 111px;
  position: relative;
}

.bg-circle-h-line img {
  width: 100%;
  max-width: 100%;
  height: auto;
  position: absolute;
  left: 0;
}

.bg-circle-h-line img:nth-child(1) {
  top: 0;
  animation: top-ring-move 2.5s linear infinite;
}

.bg-circle-h-line img:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.bg-circle-h-line img:nth-child(3) {
  bottom: 0;
  animation: bottom-ring-move 2.5s linear infinite;
}

@keyframes top-ring-move {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(5px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes bottom-ring-move {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Responsive */
@media screen and (min-width: 1500px) {
  .info-section {
    padding-left: 120px;
  }
}

@media screen and (min-width: 1400px) {
  .info-section {
    padding-left: 100px;
  }
}

@media screen and (max-width: 1199px) {
  .bg-line {
    height: 68px;
  }
  .right-part {
    height: 400px;
    width: 400px;
  }
  .right-part .d-flex {
    gap: 20px;
  }
  .box {
    height: 118px;
    width: 118px;
    font-size: 12px;
  }
  .left-part p {
    font-size: 14px;
    line-height: 1.8;
    width: 85%;
  }
  .left-part h1 .text {
    height: 132px;
  }
  .bg-dash-circle {
    width: 130px;
  }
  .bg-circle-h-line {
    width: 156px;
    height: 92px;
  }
  .book-link {
    font-size: 48px;
    gap: 24px;
  }
  .book-link .arrow {
    height: 28px;
    width: 28px;
  }
}

@media screen and (max-width: 767px) {
  .photography-banner {
    overflow-x: hidden;
  }

  .info-section {
    display: block;
    padding: 0;
    overflow: visible;
    min-height: auto;
    height: auto;
  }

  .bg-line {
    height: 52px;
  }

  .left-part {
    padding: 80px 16px 60px;
    overflow: visible;
    text-align: center;
  }

  .left-part h1 {
    font-size: clamp(120px, 30vw, 240px);
  }

  .right-part {
    height: 334px;
    width: 334px;
    margin: 0 auto;
    margin-right: auto;
  }

  .left-part h1 .text {
    height: 176px;
    text-align: center !important;
  }

  .left-part h1 .d-flex {
    justify-content: center !important;
    align-items: center !important;
  }

  .left-part h1 .char {
    text-align: center !important;
  }

  .left-part p {
    font-size: 14px;
    width: 96%;
    margin: 20px auto 0;
    text-align: center;
  }

  .box {
    height: 96px;
    width: 96px;
    font-size: 10px;
  }

  .book-link .arrow {
    height: 24px;
    width: 24px;
  }

  .book-link {
    font-size: 63px;
    gap: 30px;
    margin-top: 24px;
    text-align: center;
  }

  .bg-dash-circle {
    width: 80px;
  }

  .bg-circle-h-line {
    width: 126px;
    height: 65px;
  }
}

/* Portfolio Section */
.portfolio-section {
  padding: 120px 30px;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.portfolio-section::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.4;
  background: #864EDD;
  filter: blur(140px);
  height: 40%;
  width: 60%;
  position: absolute;
  top: 50%;
  left: -30%;
  transform: translateY(-50%);
  z-index: -1;
}

.portfolio-container {
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-title {
  text-align: center;
  margin-bottom: 80px;
}

.portfolio-title h2 {
  color: #fff !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(60px, 8vw, 120px);
  line-height: 0.9;
  margin: 0 0 20px;
  text-transform: uppercase;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
}

.portfolio-title p {
  color: #aaa;
  font-family: "monument_extendedregular";
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

.portfolio-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  overflow: hidden;
  width: 100%;
  height: 450px;
  border-radius: 40px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  min-width: 80px;
  margin: 0 10px;
  background-size: auto 120%;
  background-position: center;
  cursor: pointer;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  border-radius: 30px;
  flex-grow: 1;
  background-color: #333;
}

.portfolio-item.active {
  flex-grow: 10000;
  transform: scale(1);
  max-width: 800px;
  margin: 0px;
  border-radius: 40px;
  background-size: auto 100%;
}

.portfolio-item.active .portfolio-shadow {
  box-shadow: inset 0 -120px 120px -120px black, inset 0 -120px 120px -100px black;
}

.portfolio-item:not(.active) .portfolio-shadow {
  bottom: -40px;
  box-shadow: inset 0 -120px 0px -120px black, inset 0 -120px 0px -100px black;
}

.portfolio-item.active .portfolio-label {
  bottom: 30px;
  left: 30px;
}

.portfolio-item:not(.active) .portfolio-label {
  bottom: 15px;
  left: 15px;
}

.portfolio-item.active .portfolio-info > div {
  left: 0px;
  opacity: 1;
}

.portfolio-item:not(.active) .portfolio-info > div {
  left: 20px;
  opacity: 0;
}

.portfolio-shadow {
  position: absolute;
  bottom: 0px;
  left: 0px;
  right: 0px;
  height: 120px;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
}

.portfolio-label {
  display: flex;
  position: absolute;
  right: 0px;
  height: 50px;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95);
  align-items: center;
}

.portfolio-icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  min-width: 50px;
  max-width: 50px;
  height: 50px;
  border-radius: 100%;
  background-color: #864EDD;
  color: #212121;
  font-size: 18px;
}

.portfolio-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 15px;
  color: white;
  white-space: pre;
}

.portfolio-info > div {
  position: relative;
  transition: 0.5s cubic-bezier(0.05, 0.61, 0.41, 0.95), opacity 0.5s ease-out;
}

.portfolio-main {
  color: #fff !important;
  font-size: 4rem;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  text-transform: uppercase;
  margin-bottom: 0;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  margin-bottom: -0.8rem;
}

.portfolio-sub {
  color: #fff !important;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  opacity: 0.8;
  transition-delay: 0.1s;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
}

/* Tablet and Mobile Responsive Styles */
@media screen and (max-width: 1024px) {
  .portfolio-section {
    padding: 80px 20px;
  }

  .portfolio-wrapper {
    display: flex;
    flex-direction: column;
    height: auto;
    border-radius: 25px;
    align-items: center;
  }

  .portfolio-item.active {
    display: block;
    width: 100%;
    max-width: 600px;
    height: 300px;
    margin: 0 0 20px 0;
    border-radius: 25px;
    background-size: cover;
    flex-grow: 0;
    transform: none;
  }

  .portfolio-item.active .portfolio-label {
    bottom: 25px;
    left: 25px;
    right: auto;
    height: 50px;
  }

  .portfolio-item.active .portfolio-info > div {
    left: 0px;
    opacity: 1;
  }

  .portfolio-item:not(.active) {
    display: block;
  }

  .portfolio-title h2 {
    font-size: clamp(50px, 6vw, 100px);
  }

  .portfolio-title p {
    font-size: 16px;
  }
}

@media screen and (max-width: 768px) {
  .portfolio-section {
    padding: 60px 16px;
  }

  .portfolio-title h2 {
    font-size: clamp(60px, 8vw, 100px);
  }

  .features-content h2 {
    font-size: clamp(60px, 8vw, 100px);
    text-align: center;
    white-space: nowrap;
  }

  .services-portfolio-title h2 {
    font-size: clamp(60px, 8vw, 100px);
    text-align: center;
  }

  .portfolio-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .portfolio-item {
    width: 100%;
    height: 80px;
    border-radius: 20px;
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: height 0.4s ease;
    margin-bottom: 15px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .portfolio-item.active {
    height: 250px;
    border-radius: 20px;
    margin-bottom: 20px;
  }

  .portfolio-item.active .portfolio-label {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .portfolio-item.active .portfolio-icon {
    display: none;
  }

  .portfolio-item:not(.active) .portfolio-label {
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .portfolio-item:not(.active) .portfolio-main {
    font-family: "Extenda Trial 30 Deca", sans-serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .portfolio-item:not(.active) .portfolio-icon {
    display: none;
  }

  .portfolio-item:not(.active) .portfolio-info > div {
    opacity: 1;
  }

  .portfolio-item:not(.active)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
    z-index: 1;
  }

  .portfolio-item:not(.active) .portfolio-label {
    z-index: 2;
    position: relative;
  }

  .portfolio-main {
    font-size: 1.3rem;
  }

  .portfolio-sub {
    font-size: 13px;
  }

  .portfolio-icon {
    min-width: 45px;
    max-width: 45px;
    height: 45px;
    font-size: 16px;
  }
}

@media screen and (max-width: 480px) {
  .portfolio-item {
    width: 100%;
    height: 70px;
    transition: height 0.4s ease;
    margin-bottom: 12px;
  }

  .portfolio-item.active {
    height: 220px;
    border-radius: 18px;
    margin-bottom: 15px;
  }

  .portfolio-item:not(.active) .portfolio-label {
    top: 50%;
    left: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    text-align: center;
  }

  .portfolio-item:not(.active) .portfolio-main {
    font-family: "Extenda Trial 30 Deca", sans-serif;
    font-size: 2rem;
    font-weight: 100;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .portfolio-item:not(.active) .portfolio-icon {
    display: none;
  }

  .portfolio-item:not(.active)::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 18px;
    z-index: 1;
  }

  .portfolio-item:not(.active) .portfolio-label {
    z-index: 2;
    position: relative;
  }

  .portfolio-item.active .portfolio-label {
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
  }

  .portfolio-item.active .portfolio-icon {
    display: none;
  }

  .portfolio-main {
    font-size: 2.5rem;
  }

  .portfolio-sub {
    font-size: 12px;
  }

  .portfolio-icon {
    min-width: 40px;
    max-width: 40px;
    height: 40px;
    font-size: 14px;
  }
}

/* Portfolio Modal */
.portfolio-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.portfolio-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.modal-content {
  position: relative;
  background: #212121;
  border: 1px solid #333;
  border-radius: 20px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 10002;
  margin: 20px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 30px 40px 20px;
  border-bottom: 1px solid #333;
}

.modal-header h2 {
  color: #fff !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(30px, 4vw, 50px);
  margin: 0;
  text-transform: uppercase;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
}

.modal-close {
  background: none;
  border: none;
  color: #864EDD;
  font-size: 40px;
  cursor: pointer;
  padding: 0;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(134, 78, 221, 0.1);
  transform: rotate(90deg);
}

.modal-body {
  padding: 30px 40px;
}

.modal-image {
  margin-bottom: 30px;
  border-radius: 15px;
  overflow: hidden;
}

.modal-image img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}

.modal-description {
  color: #fff;
}

.modal-description p {
  font-family: "monument_extendedregular";
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: #ccc;
  text-align: center;
}

.modal-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

.detail-item {
  background: rgba(255, 255, 255, 0.05);
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #333;
}

.detail-item h4 {
  color: #864EDD !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: 14px;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: none !important;
  -webkit-text-fill-color: #864EDD !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
}

.detail-item p {
  color: #fff;
  font-family: "monument_extendedregular";
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Modal Responsive */
@media screen and (max-width: 768px) {
  .modal-content {
    width: 95%;
    margin: 10px;
  }

  .modal-header {
    padding: 20px 20px 15px;
  }

  .modal-header h2 {
    font-size: clamp(24px, 6vw, 40px);
  }

  .modal-close {
    font-size: 30px;
    width: 40px;
    height: 40px;
  }

  .modal-body {
    padding: 20px;
  }

  .modal-image img {
    height: 200px;
  }

  .modal-details {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .detail-item {
    padding: 15px;
  }
}

/* Services Portfolio Section */
.services-portfolio-section {
  padding: 120px 30px;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.services-portfolio-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1a1a;
  z-index: 0;
}

.services-portfolio-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.services-portfolio-title {
  text-align: center;
  margin-bottom: 80px;
}

.services-portfolio-title h2 {
  color: #fff !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(60px, 8vw, 120px);
  line-height: 0.9;
  margin: 0 0 20px;
  text-align: center;
  text-transform: uppercase;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
}

.services-portfolio-title p {
  color: #aaa;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 40px;
  position: relative;
  z-index: 2;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(134, 78, 221, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.service-card::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(134, 78, 221, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.6s ease;
  transform: rotate(0deg);
  z-index: -1;
}

.service-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: rgba(134, 78, 221, 0.3);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    0 0 40px rgba(134, 78, 221, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 1;
  animation: serviceRotate 8s linear infinite;
}

@keyframes serviceRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.service-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.service-image {
  font-size: 60px;
  margin-bottom: 25px;
  color: #864EDD;
  transition: all 0.4s ease;
  filter: drop-shadow(0 4px 12px rgba(134, 78, 221, 0.3));
}

.service-card:hover .service-image {
  transform: scale(1.1) rotateY(180deg);
  color: #fff;
}

  .service-content h3 {
    color: #fff;
    font-family: "monument_extendedregular";
    font-size: 18px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }

.service-card:hover .service-content h3 {
  color: #864EDD;
}

.service-content p {
  color: #aaa;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 25px 0;
  transition: color 0.3s ease;
}

.service-card:hover .service-content p {
  color: #ccc;
}

.service-tech-stack {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

  .service-tech-stack i {
    font-size: 24px;
    color: #666;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
  }

  .service-card:hover .service-tech-stack i {
    color: #864EDD;
    background: rgba(134, 78, 221, 0.1);
    border-color: rgba(134, 78, 221, 0.3);
    transform: scale(1.1);
  }

  /* Hidden services */
  .service-card.hidden {
    display: none;
  }

  .service-card.showing {
    animation: fadeInUp 0.6s ease forwards;
  }

  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* View All Services Button */
  .view-all-services-container {
    text-align: center;
    margin: 20px 0;
    grid-column: 1 / -1;
  }

  .view-all-services-btn {
    background: linear-gradient(135deg, rgba(134, 78, 221, 0.1) 0%, rgba(134, 78, 221, 0.2) 100%);
    border: 2px solid #864EDD;
    color: #864EDD;
    padding: 16px 32px;
    font-size: 18px;
    font-family: "monument_extendedregular", sans-serif;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
  }

  .view-all-services-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(134, 78, 221, 0.2), transparent);
    transition: left 0.6s ease;
  }

  .view-all-services-btn:hover {
    background: linear-gradient(135deg, rgba(134, 78, 221, 0.2) 0%, rgba(134, 78, 221, 0.3) 100%);
    transform: translateY(-3px);
    box-shadow:
      0 10px 30px rgba(134, 78, 221, 0.3),
      0 0 40px rgba(134, 78, 221, 0.2);
  }

  .view-all-services-btn:hover::before {
    left: 100%;
  }

  .view-all-services-btn:hover i {
    transform: translateY(3px);
  }

  .view-all-services-btn.expanded {
    background: linear-gradient(135deg, rgba(134, 78, 221, 0.8) 0%, #864EDD 100%);
    color: #000;
  }

  .view-all-services-btn.expanded i {
    transform: rotate(180deg);
  }

/* Services Portfolio Responsive */
@media screen and (max-width: 1024px) {
  .services-portfolio-section {
    padding: 80px 20px;
  }

  .services-portfolio-title h2 {
    font-size: clamp(60px, 8vw, 100px);
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }
}

@media screen and (max-width: 768px) {
  .services-portfolio-section {
    padding: 60px 16px 0px;
  }

  .services-portfolio-title {
    margin-bottom: 50px;
  }

  .services-portfolio-title h2 {
    font-size: clamp(60px, 8vw, 100px);
  }

  .services-portfolio-title p {
    font-size: 16px;
  }

  .services-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-image {
    font-size: 50px;
    margin-bottom: 20px;
  }

  .service-content h3 {
    font-size: 20px;
  }

  .service-content p {
    font-size: 14px;
  }

  .service-tech-stack i {
    font-size: 20px;
    padding: 6px;
  }

  .view-all-services-btn {
    font-size: 16px;
    padding: 14px 28px;
    margin-top: 40px;
  }
}

@media screen and (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px 15px;
  }

  .service-image {
    font-size: 45px;
    margin-bottom: 15px;
  }

  .service-content h3 {
    font-size: 18px;
  }

  .service-content p {
    font-size: 13px;
  }

  .service-tech-stack {
    gap: 8px;
  }

  .service-tech-stack i {
    font-size: 18px;
    padding: 5px;
  }

  .view-all-services-btn {
    font-size: 14px;
    padding: 12px 24px;
  }
}

/* Tech Stacks Section */
.tech-stacks-section {
  padding: 0px 30px 120px;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.tech-stacks-section::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.4;
  background: #864EDD;
  filter: blur(140px);
  height: 40%;
  width: 60%;
  position: absolute;
  top: 50%;
  right: -30%;
  transform: translateY(-50%);
  z-index: -1;
}

.tech-stacks-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 20% 80%;
  gap: 60px;
  align-items: center;
}

.tech-stacks-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100%;
  min-height: 250px;
  width: 100%;
}

.tech-stacks-title h2 {
  color: #fff !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 0.9;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
  text-align: center;
  width: 100%;
}

.tech-stacks-title p {
  color: #aaa;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  text-align: center;
  width: 100%;
}

.tech-stacks-content {
  position: relative;
  z-index: 2;
}

/* Tech Stack Selector - Modified from original color picker */
.container-items {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  transform-style: preserve-3d;
  transform: perspective(1000px);
  justify-content: center;
  align-items: center;
  min-height: 200px;
}

.item-tech {
  position: relative;
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border: none;
  outline: none;
  transition: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;

  i {
    transition: all 300ms ease;
    color: #fff;
  }

  &::after {
    position: absolute;
    content: "";
    inset: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(134, 78, 221, 0.15) 0%, transparent 50%);
    border-radius: 12px;
    transform: scale(1.2);
    pointer-events: none;
    opacity: 0;
    transition: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
  }

  &::before {
    position: absolute;
    content: attr(data-tooltip);
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 12px;
    line-height: 14px;
    padding: 8px 12px;
    background-color: rgba(33, 33, 33, 0.95);
    color: #fff;
    border-radius: 8px;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transition: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.1);
    white-space: nowrap;
    border: 1px solid rgba(134, 78, 221, 0.3);
    font-family: "monument_extendedregular", sans-serif;
    font-size: 11px;
    z-index: 1000;
  }

  &:hover {
    transform: scale(1.3);
    z-index: 99999;
    background: rgba(134, 78, 221, 0.15);
    border-color: rgba(134, 78, 221, 0.6);
    box-shadow: 0 8px 25px rgba(134, 78, 221, 0.4);

    i {
      color: #864EDD;
      transform: scale(1.1);
    }

    &::before {
      opacity: 1;
      visibility: visible;
    }

    &::after {
      opacity: 1;
      transform: scale(1.4);
    }
  }

  &:active::after {
    transform: scale(1.2);
  }
}

.item-tech:hover + * {
  transform: scale(1.15);
  z-index: 9999;
}

.item-tech:hover + * + * {
  transform: scale(1.1);
  z-index: 999;
}

.item-tech:has(+ *:hover) {
  transform: scale(1.15);
  z-index: 9999;
}

.item-tech:has(+ * + *:hover) {
  transform: scale(1.1);
  z-index: 999;
}

/* Tech Stacks Responsive */
@media screen and (max-width: 1199px) {
  .tech-stacks-container {
    grid-template-columns: 25% 75%;
    gap: 40px;
  }

  .tech-stacks-title h2 {
    font-size: clamp(35px, 5vw, 70px);
  }
}

@media screen and (max-width: 1024px) {
  .tech-stacks-section {
    padding: 40px 20px;
  }

  .tech-stacks-container {
    grid-template-columns: 30% 70%;
    gap: 30px;
  }

  .tech-stacks-title h2 {
    font-size: clamp(30px, 4vw, 60px);
  }

  .tech-stacks-title p {
    font-size: 15px;
  }

  .container-items {
    gap: 12px;
  }

  .item-tech {
    width: 50px;
    height: 50px;
    font-size: 18px;

    &::after {
      width: 50px;
      height: 50px;
    }
  }
}

@media screen and (max-width: 768px) {
  .tech-stacks-section {
    padding: 30px 16px;
  }

  .tech-stacks-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .tech-stacks-title {
    text-align: center;
    margin-bottom: 50px;
    min-height: auto;
  }

  .tech-stacks-title h2 {
    font-size: clamp(60px, 8vw, 100px);
    font-family: "Extenda Trial 30 Deca", sans-serif;
  }

  .container-items {
    gap: 15px;
    justify-content: center;
  }

  .item-tech {
    width: 55px;
    height: 55px;
    font-size: 20px;

    &::after {
      width: 55px;
      height: 55px;
    }
  }
}

@media screen and (max-width: 480px) {
  .tech-stacks-container {
    gap: 30px;
  }

  .container-items {
    gap: 12px;
  }

  .item-tech {
    width: 45px;
    height: 45px;
    font-size: 16px;

    &::after {
      width: 45px;
      height: 45px;
    }
  }
}

/* Features Section */
.features-section {
  padding: 100px 30px;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.features-section::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.3;
  background: #864EDD;
  filter: blur(140px);
  height: 40%;
  width: 40%;
  position: absolute;
  top: 20%;
  right: -20%;
  z-index: -1;
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 60px;
  align-items: center;
}

.features-content h2 {
  color: #fff !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(60px, 8vw, 120px);
  line-height: 0.9;
  margin: 0 0 30px;
  text-transform: uppercase;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
  text-align: center;
}

.highlight,
h1 .highlight,
h2 .highlight,
h3 .highlight,
h4 .highlight,
h5 .highlight,
h6 .highlight {
  color: #864EDD !important;
}

.features-content h2 .highlight {
  color: #864EDD;
}

.features-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-item {
  padding: 25px 0;
  border-bottom: 1px solid #333;
  display: flex;
  align-items: center;
  gap: 20px;
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: #864EDD;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  color: #212121;
  flex-shrink: 0;
}

.feature-text h3 {
  color: #fff;
  font-family: "monument_extendedregular";
  font-size: 18px;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.feature-text p {
  color: #aaa;
  font-family: "monument_extendedregular";
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}

/* This Is Us - Founders Section */
.founders-section {
  padding: 120px 30px 10px 30px;
  background: #1a1a1a;
  position: relative;
  overflow: hidden;
}

.founders-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1a1a1a;
  z-index: 0;
}

.founders-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}


.founders-showcase {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  padding-top: 40px;
}

.founder-card {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.founder-card:hover {
  transform: translateY(-20px) scale(1.05);
}

.founder-image-wrapper {
  position: relative;
  border-radius: 30px;
  aspect-ratio: 3/4;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-image {
  max-width: 100%;
  max-height: 100%;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  filter: grayscale(20%) contrast(1.1);
}

.founder-card:hover .founder-image {
  filter: grayscale(0%) contrast(1.2) brightness(1.1);
  transform: scale(1.1);
}

.founder-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(134, 78, 221, 0.95) 0%,
    rgba(134, 78, 221, 0.85) 50%,
    rgba(134, 78, 221, 0.95) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  padding: 30px;
}

.founder-card:hover .founder-overlay {
  opacity: 1;
  transform: translateY(0);
}

.founder-details {
  text-align: center;
  color: #000;
  transform: translateY(30px);
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.founder-card:hover .founder-details {
  transform: translateY(0);
}

  .founder-details h3 {
    color: #000 !important;
    background: none !important;
    -webkit-text-fill-color: #000 !important;
    text-shadow: none !important;
    font-family: "monument_extendedregular";
    font-size: 30px;
    margin: 0 0 8px 0;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }

.founder-role {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 16px;
  margin: 0 0 15px 0;
  opacity: 0.9;
  font-weight: 600;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

.founder-social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #000;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 16px;
}

.social-link:hover {
  background: rgba(134, 78, 221, 0.9);
  border-color: rgba(134, 78, 221, 1);
  color: #000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(134, 78, 221, 0.3);
}

.founder-specialties {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.founder-specialties span {
  background: rgba(0, 0, 0, 0.2);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-family: "monument_extendedregular", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.founder-bio {
  font-size: 14px;
  line-height: 1.6;
  opacity: 0.8;
}

.founder-bio p {
  margin: 0;
  font-family: "monument_extendedregular", sans-serif;
  color: #000 !important;
  -webkit-text-fill-color: #000 !important;
}

/* Center Content */
.founders-center {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
}

.founders-content {
  text-align: center;
  color: #fff;
}

.founders-content h2 {
  color: #fff !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(80px, 8vw, 120px);
  line-height: 0.9;
  margin: 0 0 20px 0;
  text-transform: uppercase;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
}

.founders-description {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 40px 0;
  color: #ccc;
  max-width: 500px;
}

.founders-stats {
  display: flex;
  justify-content: space-around;
  gap: 30px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 20px;
  color: #864EDD;
  font-weight: bold;
  line-height: 1;
  margin-bottom: 8px;
  text-shadow: 0 0 20px rgba(134, 78, 221, 0.5);
}

.stat-label {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Founders Responsive */
@media screen and (max-width: 1024px) {
  .founders-showcase {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .founders-center {
    order: -1;
    padding: 0 20px;
  }

  .founder-card {
    max-width: 300px;
    margin: 0 auto;
  }

    .founders-content h2 {
      font-size: clamp(60px, 6vw, 100px);
    }

  .founders-stats {
    flex-direction: column;
    gap: 20px;
  }

  .stat-number {
    font-size: 48px;
  }
}

@media screen and (max-width: 768px) {
  .founders-section {
    padding: 80px 20px 10px 20px;
  }

  .founders-showcase {
    display: flex !important;
    flex-direction: column !important;
    gap: 60px;
  }

  .founder-card {
    display: flex !important;
    flex-direction: column !important;
    max-width: none !important;
    width: 100% !important;
    flex-shrink: 0;
    margin: 0 !important;
  }

  .founder-details {
    color: #fff !important;
  }

  .founder-details h3 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
  }

  /* Hide everything except name in mobile */
  .founder-role,
  .founder-social-links,
  .founder-specialties,
  .founder-bio {
    display: none !important;
  }

  .founder-image-wrapper {
    aspect-ratio: 4/5;
    order: 1;
  }

  .founder-overlay {
    position: static !important;
    opacity: 1 !important;
    background: transparent !important;
    order: 2;
    margin-top: 20px;
    padding: 0;
    transform: none !important;
  }

  .founder-details {
    transform: none !important;
  }

  /* Desactivar hover effects en mobile */
  .founder-card:hover {
    transform: none;
  }

  .founder-card:hover .founder-image {
    filter: none;
    transform: none;
  }

  .founder-card:hover .founder-overlay {
    opacity: 1;
    transform: none;
  }

  .founder-card:hover .founder-details {
    transform: none;
  }

  .founder-details h3 {
    font-size: 24px;
  }

  .social-link {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }

  .founder-role {
    font-size: 14px;
  }

    .founders-content h2 {
      font-size: clamp(60px, 8vw, 100px);
    }

  .founders-description {
    font-size: 15px;
  }

  .stat-number {
    font-size: 32px;
  }
}

@media screen and (max-width: 480px) {
  .founders-section {
    padding: 60px 16px 10px 16px;
  }

  .founder-card {
    max-width: 250px;
  }

  .founder-details h3 {
    font-size: 20px;
  }

  .founder-specialties {
    gap: 6px;
  }

  .founder-specialties span {
    font-size: 11px;
    padding: 4px 8px;
  }

  .founder-bio {
    font-size: 13px;
  }

  .social-link {
    width: 28px;
    height: 28px;
    font-size: 12px;
  }

  .founders-stats {
    gap: 15px;
  }

  .stat-number {
    font-size: 36px;
  }

  .stat-label {
    font-size: 12px;
  }
}

/* Featured On Media Section */
.featured-media-section {
  background: #1a1a1a;
  position: relative;
}

.featured-media-container {
  max-width: 1200px;
  margin: 0 auto;
}

.featured-media-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.featured-media-text {
  flex: 0 0 200px;
}

.featured-media-title {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 24px;
  color: #aaa;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  line-height: 1.2;
}

.featured-media-images {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.media-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 15px;
  transition: all 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}

.media-item:hover {
  transform: translateY(-5px);
  border-color: rgba(134, 78, 221, 0.3);
  box-shadow: 0 10px 30px rgba(134, 78, 221, 0.1);
}

.media-image {
  width: 100%;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.media-item:hover .media-image {
  transform: scale(1.05);
}

/* Clients Section */
.clients-section {
  padding: 80px 30px;
  background: #1a1a1a;
  position: relative;
}

.clients-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.clients-title {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 24px;
  color: #aaa;
  margin: 0 0 40px 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.client-logo {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.3s ease;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo:hover {
  transform: translateY(-3px);
  border-color: rgba(134, 78, 221, 0.2);
  background: rgba(134, 78, 221, 0.05);
}

.client-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.6);
  transition: all 0.3s ease;
}

.client-logo:hover .client-image {
  filter: grayscale(0%) opacity(1);
}

/* Media Modal */
.media-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.media-modal-content {
  background-color: #1a1a1a;
  margin: 10% auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  width: 90%;
  max-width: 600px;
  position: relative;
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(-50px); }
  to { opacity: 1; transform: translateY(0); }
}

.media-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
  z-index: 10001;
}

.media-modal-close:hover {
  color: #864EDD;
}

.media-modal-body {
  padding: 40px;
  text-align: center;
}

.media-modal-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 20px;
}

.media-modal-body h3 {
  color: #864EDD;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: 28px;
  margin: 0 0 15px 0;
  text-transform: uppercase;
}

.media-modal-body p {
  color: #ccc;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media screen and (max-width: 768px) {
  .featured-media-section,
  .clients-section {
    padding: 60px 20px;
  }

  .featured-media-content {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }

  .featured-media-text {
    flex: none;
  }

  .featured-media-title,
  .clients-title {
    font-size: 20px;
    margin-bottom: 30px;
  }

  .featured-media-images {
    justify-content: center;
    flex-wrap: wrap;
  }

  .clients-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 800px;
  }

  .client-logo {
    height: 60px;
    padding: 15px;
  }

  .media-modal-content {
    margin: 20% auto;
    width: 95%;
  }

  .media-modal-body {
    padding: 30px 20px;
  }

  .media-modal-body h3 {
    font-size: 24px;
  }
}

@media screen and (max-width: 480px) {
  .featured-media-images {
    gap: 15px;
  }

  .media-item {
    flex: 0 0 calc(50% - 7.5px);
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 400px;
  }

  .client-logo {
    height: 60px;
    padding: 12px;
  }
}

/* Testimonials Section */
.testimonials-section {
  padding: 100px 30px;
  background-color: #212121;
  position: relative;
}

.testimonials-section::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.4;
  background: #864EDD;
  filter: blur(120px);
  height: 50%;
  width: 30%;
  position: absolute;
  top: 50%;
  left: -15%;
  transform: translateY(-50%);
  z-index: -1;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.testimonials-title {
  color: #fff !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(60px, 8vw, 100px);
  line-height: 0.9;
  margin: 0 0 80px;
  text-transform: uppercase;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #333;
  border-radius: 20px;
  padding: 40px 30px;
  position: relative;
  backdrop-filter: blur(10px);
}

.testimonial-quote {
  color: #fff;
  font-family: "monument_extendedregular";
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 30px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #864EDD;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #212121;
}

.author-info h4 {
  color: #fff;
  font-family: "monument_extendedregular";
  font-size: 14px;
  margin: 0;
  text-transform: uppercase;
}

.author-info p {
  color: #aaa;
  font-family: "monument_extendedregular";
  font-size: 12px;
  margin: 5px 0 0;
}

/* CTA Section */
.cta-section {
  padding: 120px 30px;
  background-color: #1a1a1a;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-section::before {
  content: "";
  border-radius: 197.5px 0px;
  opacity: 0.6;
  background: #864EDD;
  filter: blur(180px);
  height: 60%;
  width: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
}

.cta-title {
  color: #fff !important;
  font-family: "Extenda Trial 30 Deca", sans-serif;
  font-size: clamp(80px, 12vw, 160px);
  line-height: 0.8;
  margin: 0 0 30px;
  text-transform: uppercase;
  background: none !important;
  -webkit-text-fill-color: #fff !important;
  -webkit-text-stroke: none !important;
  text-shadow: none !important;
  font-weight: normal;
}

.cta-subtitle {
  color: #aaa;
  font-family: "monument_extendedregular";
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 50px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.telegram-link {
  text-align: center;
  margin-top: 20px;
  color: #ffffff;
  font-family: "monument_extendedregular", sans-serif;
  font-size: 14px;
  font-weight: 300;
  opacity: 0.9;
  text-transform: lowercase;
}

.telegram-link a {
  color: #864EDD;
  text-decoration: none;
  font-family: "monument_extendedregular", sans-serif;
  font-weight: 400;
  transition: all 0.3s ease;
}

.telegram-link a:hover {
  color: #a070f0;
  text-decoration: underline;
}

.cta-button {
  padding: 18px 40px;
  background: #864EDD;
  color: #212121;
  text-decoration: none;
  font-family: "monument_extendedregular";
  font-size: 16px;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 50px;
  transition: all 0.3s ease;
  border: 2px solid #864EDD;
}

.cta-button:hover {
  background: transparent;
  color: #864EDD;
}

.cta-button.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-button.secondary:hover {
  background: #fff;
  color: #212121;
}

/* Responsive adjustments for new sections */
@media screen and (max-width: 1199px) {
  .features-section,
  .testimonials-section,
  .cta-section {
    padding: 80px 20px;
  }

  .features-container {
    gap: 40px;
  }

  .testimonials-grid {
    gap: 30px;
  }

  .cta-buttons {
    gap: 20px;
  }
}

@media screen and (max-width: 767px) {
  .features-section,
  .testimonials-section,
  .cta-section {
    padding: 60px 16px;
  }

  .telegram-link {
    margin-top: 15px;
    font-size: 12px;
  }

  .features-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .cta-button {
    width: 100%;
    max-width: 300px;
  }

  /* Technology Icons Mobile */
  .tech-icons-grid {
    gap: 15px;
    padding: 15px 0;
  }

  .tech-icon-item {
    padding: 12px;
  }

  .tech-icon-item i {
    font-size: 20px;
    margin-bottom: 6px;
  }

  .tech-tooltip {
    font-family: "monument_extendedregular";
    font-size: 11px;
    font-weight: normal;
  }

  .modal-tech-stack h4 {
    font-size: 14px;
  }
}

/* Technology Icons in Modal */
.tech-icons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding: 20px 0;
  justify-content: center;
  align-items: center;
}

.tech-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  cursor: pointer;
}

.tech-icon-item:hover {
  background: rgba(136, 77, 221, 0.1);
  border-color: #864EDD;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(136, 77, 221, 0.2);
}

.tech-icon-item i {
  font-size: 24px;
  color: #fff;
  margin-bottom: 8px;
}

.tech-tooltip {
  font-family: "monument_extendedregular";
  font-size: 12px;
  color: #ccc;
  text-align: center;
  opacity: 0.8;
  font-weight: normal;
}

/* Modal Tech Stack */
.modal-tech-stack {
  text-align: center;
}

.modal-tech-stack h4 {
  font-family: "monument_extendedregular";
  color: #864EDD;
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
  font-weight: normal;
  text-align: center;
}

/* Main Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26, 26, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.main-nav {
  padding: 0 30px;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
}


.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 40px;
}

.nav-menu li a {
  font-family: "monument_extendedregular", sans-serif;
  font-size: 16px;
  color: #ccc;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu li a:hover,
.nav-menu li a.active {
  color: #864EDD;
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #864EDD;
  transition: width 0.3s ease;
}

.nav-menu li a:hover::after,
.nav-menu li a.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #fff;
  transition: all 0.3s ease;
  transform-origin: center;
}

/* Header Scroll Effect */
.main-header.scrolled {
  background: rgba(26, 26, 26, 0.98);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Mobile Navigation */
@media screen and (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 50px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 50px);
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    transition: left 0.3s ease;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .main-nav {
    padding: 0 20px;
  }
}

@media screen and (max-width: 480px) {
  .nav-menu li a {
    font-size: 18px;
    letter-spacing: 2px;
  }

  .nav-container {
    padding: 10px 0;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Offset for fixed header */
section[id] {
  scroll-margin-top: 60px;
}
