@import url("reset.css");

@import url("https://fonts.googleapis.com/css?family=Inter:regular,500,600,700&display=swap");

/* ************COMMON************ */

.logo {
  font-weight: 700;
  font-size: 2.25rem;
  user-select: none;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  color: #303a4d;
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.wrapper {
  height: 100dvh;
  overflow-y: scroll;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  transition: all 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

/* ************HEADER************ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent;
  z-index: 1000;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Hide header when modal is open */
.modal.show ~ .header,
body:has(.modal.show) .header {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.header__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 5.75rem;
  padding: 0 3rem;
}

.header__logo {
  position: relative;
  z-index: 2;
  color: #fff;
}

.header__navigation {
  position: relative;
  z-index: 1000;
}

.menu__body {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.menu__list {
  display: flex;
  gap: 3rem;
  align-items: center;
}

.menu__item {
  list-style: none;
  min-width: 80px;
  text-align: center;
}

.menu__link {
  font-weight: 400;
  position: relative;
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 0;
  transition: all 0.3s ease;
  display: inline-block;
  user-select: none;
}

.menu__link::after {
  display: none;
}

.menu__link:hover {
  font-weight: 700;
  transform: scale(1.05);
  text-shadow: 0 0 .65px #fff, 0 0 .65px #fff;
}

/* Update burger menu styles */
.menu__burger {
  display: none;
  position: relative;
  z-index: 1002; /* Higher than menu__body */
}

.menu__burger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: #fff;
  position: absolute;
  left: 0;
  transition: all 0.3s ease;
}

.menu__burger span:first-child {
  top: 0;
}

.menu__burger span:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.menu__burger span:last-child {
  bottom: 0;
}

/* Active state for burger */
.menu__burger.active span:first-child {
  transform: rotate(45deg);
  top: 9px;
}

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

.menu__burger.active span:last-child {
  transform: rotate(-45deg);
  bottom: 9px;
}

/* ****************VIDEO SECTION**************** */
.main {
  position: relative;
  min-height: 100dvh;
}

.main__video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
  transition: opacity 0.3s ease;
}

.main__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translateX(-50%) translateY(-50%);
  object-fit: cover;
}

.main__video-controls {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  z-index: 10;
}

.main__video-unmute {
  position: relative;
  background: rgba(0, 0, 0, 0.5);
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.main__video-unmute:hover {
  background: rgba(0, 0, 0, 0.7);
  transform: scale(1.1);
}

.main__video-unmute svg {
  display: none;
}

.main__video-unmute.muted .icon-mute {
  display: block;
}

.main__video-unmute:not(.muted) .icon-unmute {
  display: block;
}

.volume-slider-container {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  padding: 0.5rem;
  border-radius: 20px;
  display: none;
  align-items: center;
  width: 100px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.main__video-unmute:not(.muted):hover + .volume-slider-container,
.volume-slider-container:hover {
  display: flex;
  opacity: 1;
}

.volume-slider {
  width: 100%;
  height: 4px;
  -webkit-appearance: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  outline: none;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.volume-slider::-moz-range-thumb {
  width: 12px;
  height: 12px;
  background: white;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.volume-slider::-moz-range-thumb:hover {
  transform: scale(1.2);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ****************GALLERY**************** */
.gallery__container {
  max-width: none;
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100dvh;
  background-color: #000;
  transition: opacity 0.3s ease;
  position: relative;
  overflow: hidden;
}

.gallery__grid {
  height: 100%;
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  user-select: none;
}

.grid-section {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  min-width: 100vw;
  height: 100%;
  flex-shrink: 0;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  user-select: none;
}

.gallery__item img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
}

.gallery__scroll-area {
  position: absolute;
  top: 0;
  height: 100%;
  width: 15%;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.15s ease-out;
  --hover-position: 0;
  will-change: opacity, background;
}

.gallery__scroll-area.is-hovering {
  opacity: 1;
  transition: opacity 0.1s ease-out;
}

.gallery__scroll-area.scroll-disabled {
  pointer-events: none;
  opacity: 0 !important;
}

.gallery__scroll-area--left {
  left: 0;
  cursor: w-resize;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, calc(0.25 * (1 - var(--hover-position)))), 
    rgba(255, 255, 255, 0) 85%
  );
  transition: background 0.1s ease-out;
}

.gallery__scroll-area--right {
  right: 0;
  cursor: e-resize;
  background: linear-gradient(to left, 
    rgba(255, 255, 255, calc(0.25 * var(--hover-position))), 
    rgba(255, 255, 255, 0) 85%
  );
  transition: background 0.1s ease-out;
}

/* Refined hover effects */
.gallery__item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.gallery__item:hover::after {
  background: rgba(0, 0, 0, 0.4);
}

.gallery__item:hover img {
  transform: scale(1.05);
  filter: blur(2px);
}

.gallery__title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateY(20px);
  color: white;
  font-size: 1.8rem;
  font-weight: 500;
  opacity: 0;
  z-index: 2;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  width: 100%;
  padding: 0 2rem;
  letter-spacing: 0.5px;
  pointer-events: none;
}

.gallery__item:hover .gallery__title {
  opacity: 1;
  transform: translate(-50%, -50%) translateY(0);
}

/* ****************ABOUT**************** */
.about {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  background-color: transparent;
  padding-top: 0;
  z-index: 1;
}

.about__container {
  position: relative;
  width: 100%;
  height: 100dvh;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 8rem;
  padding-top: 0;
  pointer-events: auto;
  transition: opacity 0.3s ease;
}

.about__columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1400px;
  margin: auto;
  margin-top: 4rem;
  padding: 0 4rem;
  flex: 1;
  height: calc(100dvh - 16rem);
}

.about__text {
  order: 2;
  font-size: 1.5rem;
  line-height: 1.6;
  color: #fff;
  max-width: 600px;
  margin: 0;
  margin-left: auto;
  padding-right: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  user-select: none;
}

.about__image {
  position: relative;
  width: min(400px, 35vw);
  height: min(400px, 35vw);
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  user-select: none;
}

.about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  transform: scale(1);
}

.about__social {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  gap: 5rem;
  margin: 0;
}

.social__button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #000;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  user-select: none;
}

.social__button svg {
  stroke: #fff;
}

.social__button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.about__email {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  margin-top: 10px;
}

.email__text {
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  user-select: none;
}

/* Replace the ::after with a wrapper for both text and icon */
.email__content {
  position: relative;
  display: inline-block;
}

.email__text-content {
  opacity: 1;
  transition: opacity 0.3s ease;
}

.email__icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  width: 100%;
  text-align: center;
}

.email__text:hover .email__text-content {
  opacity: 0;
}

.email__text:hover .email__icon {
  opacity: 1;
}

/* Add back tooltip styles */
.email__tooltip {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #fff;
  color: #000;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.9rem;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
  bottom: -40px;
  visibility: hidden; /* Hide by default */
}

.email__tooltip.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  visibility: visible; /* Show when active */
}

/* ****************RESPONSIVE**************** */
@media (max-width: 1200px) {
  .about__columns {
    gap: 3rem;
    padding: 0 1rem;
  }
  
  .about__text {
    font-size: 1.25rem;
  }
  
  .about__image {
    width: min(400px, 40vw);
    height: min(400px, 40vw);
  }
}

@media (max-width: 1024px) { /* Adjust for tablet mode */
  .about__columns {
    grid-template-columns: 1fr; /* Stack columns on smaller screens */
    gap: 2rem; /* Maintain some gap between elements */
    margin-top: 2rem; /* Add margin to prevent text from going too high */
  }

  .about__text {
    font-size: 1.2rem; /* Adjust font size for better readability */
    max-height: 60%; /* Prevent text from going too high */
    overflow: hidden; /* Hide overflow if text exceeds */
  }

  .about__image {
    width: 80%; /* Reduce image size progressively */
    height: auto; /* Maintain aspect ratio */
    max-width: 400px; /* Set a maximum width for the image */
    margin: 0 auto; /* Center the image */
  }

  .about__email {
    display: flex; /* Ensure it uses flexbox for alignment */
    justify-content: center; /* Center the email */
    margin-top: 2rem; /* Add some margin for spacing */
    opacity: 1; /* Ensure it's fully visible */
  }

  .email__text {
    font-size: 1.2rem; /* Adjust font size for better visibility */
  }

  .about__social {
    margin-top: 1rem; /* Adjust spacing above social icons */
  }
}

@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: 1fr;
  }
  
  .gallery__item {
    height: 25dvh !important;
  }

  .gallery__container {
    height: 100dvh !important;
  }

  .grid-section {
    height: 100dvh !important;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 25dvh) !important;
  }

  .about__columns {
    grid-template-columns: 1fr;
    gap: 0.5rem;
    margin-top: 0;
    height: auto;
    flex: 1;
  }
  
  .about__text {
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    order: 2;
    text-align: left;
    padding: 0 2rem;
    margin-top: 2rem;
    margin-bottom: max(6rem, 15vh);
    min-height: 300px;
    max-height: calc(100vh - 450px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .about__text .get-in-touch {
    align-self: center;
    margin-top: auto;
    padding: clamp(0.75rem, 2vw, 0.875rem) clamp(1.5rem, 4vw, 1.75rem);
    font-size: clamp(0.875rem, 2.5vw, 1rem);
  }
  
  .about__image {
    width: min(250px, 50vw);
    height: min(250px, 50vw);
    order: 1;
    margin: 0 auto;
    margin-top: clamp(4rem, 10vh, 6rem);
  }

  .about__image img {
    transform: scale(1);
  }

  .about__social {
    bottom: clamp(60px, 10vh, 80px);
    gap: clamp(1rem, 4vw, 2rem);
  }
  
  .social__button {
    width: clamp(28px, 8vw, 32px);
    height: clamp(28px, 8vw, 32px);
  }

  .about__container {
    padding-bottom: 1rem;
    padding-top: 0;
    gap: 0;
  }

  .about__email {
    bottom: clamp(20px, 5vh, 35px);
  }

  .email__text {
    font-size: clamp(1rem, 3vw, 1.2rem);
  }

  .about {
    padding-top: 0;
  }

  .header__container {
    padding: 0 1rem;
    min-height: 4rem;
  }

  .header__logo {
    font-size: 1.5rem;
    top: 0.25rem;
    position: relative;
  }

  .menu__burger, .menu__body {
    display: none;
  }

  .header__navigation {
    display: none;
  }

  .grid-section {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 1fr);
  }
}

@media screen and (max-width: 768px) and (orientation: landscape) {
  .about__container {
    padding: 0.5rem !important;
    height: 100dvh !important;
  }

  .about__columns {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem !important;
    padding: 0 2rem !important;
    margin-top: 3rem !important;
    height: calc(100dvh - 6rem) !important;
    align-items: center !important;
  }

  .about__text {
    order: 2 !important;
    font-size: 0.875rem !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: unset !important;
    max-height: none !important;
    gap: 1rem !important;
  }

  .about__image {
    width: min(180px, 30vh) !important;
    height: min(180px, 30vh) !important;
    order: 1 !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .about__social {
    bottom: 20px !important;
    gap: 1.5rem !important;
  }

  .social__button {
    width: 28px !important;
    height: 28px !important;
  }

  .about__email {
    bottom: 8px !important;
  }

  .email__text {
    font-size: 0.875rem !important;
  }

  .get-in-touch {
    padding: 0.5rem 1.25rem !important;
    font-size: 0.875rem !important;
    margin-top: 0.75rem !important;
  }

  .grid-section {
    grid-template-columns: repeat(2, 1fr) !important;
    grid-template-rows: repeat(2, 50dvh) !important;
    height: 100dvh !important;
  }

  .gallery__item {
    height: 50dvh !important;
  }
}

/* ****************SCROLL BEHAVIOR**************** */
html {
  scroll-behavior: smooth;
  overflow: hidden;
}

section {
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transition: transform 0.5s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

/* Hide scrollbars */
html, body, .wrapper {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
.wrapper::-webkit-scrollbar {
  display: none;
}

.particle-container {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: none !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  overflow: hidden;
  pointer-events: auto;
}

.particle-container canvas {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  background-color: #000 !important;
  pointer-events: auto;
}

/* Add smooth transition to section content */
.main__video-container,
.gallery__container,
.about__container {
  transition: opacity 0.3s ease;
}

/* Optional: Add a small delay to content appearance */
section {
  opacity: 0.95;
  transition: opacity 0.3s ease;
}

section:target {
  opacity: 1;
}

.modal {
  position: fixed;
  z-index: 2000; /* Increased z-index to be above header */
  left: 0;
  top: 0;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0);
  opacity: 0;
  pointer-events: none;
  display: flex;
  visibility: hidden;
  transition: opacity 0.3s ease, background-color 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
  background-color: rgba(0, 0, 0, 0.95);
  visibility: visible;
}

.modal-content {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow-y: auto;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.modal-overlay {
  width: 100%;
  min-height: 100dvh;
  color: white;
  background: #000;
}

.modal-inner {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  padding-top: 2rem;
}

.modal-vimeo-wrapper {
  margin: 0;
  background: #000;
  width: 100%;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 5%;
}

.modal-vimeo-wrapper figure {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 1600px;
}

.modal-vimeo-wrapper .relative {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

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

.modal-text-content {
  max-width: 1800px;
  margin: 0 auto;
  padding: 1rem;
  width: 100%;
}

.modal-content-text {
  margin: 0 auto;
  width: 90%;
  max-width: 1800px;
  padding: 1rem;
  color: white;
}

.modal-content-text p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.modal-content-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  line-height: 1.2;
}

.modal-content-text h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  color: white;
  line-height: 1.3;
}

.modal-content-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
  line-height: 1.4;
}

.modal-image-item {
  margin: 2rem 0;
}

.modal-image-item img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 0.5rem;
}

.close-button {
  position: fixed;
  top: 2rem;
  right: 2rem;
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 1002;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-bottom: 4px; /* Adjust for better vertical centering of × symbol */
}

.close-button:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.modal-technologies {
  margin-top: 2rem;
  color: white;
}

.modal-technologies h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.modal-technologies ul {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-start;
}

.modal-technologies li {
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  color: white;
}

.modal-link {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 2rem;
  background: white;
  color: black;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.modal-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Add responsive styles for mobile */
@media (max-width: 768px) {
  .modal-content-text {
    width: 95%;
    padding: 0.5rem;
  }
  
  .modal-image-item {
    margin: 1rem 0;
  }

  .modal-vimeo-wrapper {
    min-height: auto;
    padding: 4.5rem 2% 0.5rem 2%;
  }

  .modal-inner {
    padding-top: 0;
  }

  .modal-text-content {
    padding: 0.5rem;
  }

  .modal-content-text {
    width: 100%;
    padding: 0.5rem;
  }

  .close-button {
    top: 0.75rem;
    right: 0.75rem;
  }
}

.modal-image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin: 1rem auto;
  width: 90%;
  max-width: 1600px;
}

.modal-image-item {
  width: 100%;
  aspect-ratio: 16/9;
  margin: 0;
}

.modal-image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.5rem;
}

.modal-text-blocks {
  color: white;
  max-width: 90%;
  margin: 0 auto;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .modal-image-grid {
    width: 95%;
    gap: 0.5rem;
    grid-template-columns: 1fr;
  }
  
  .modal-text-blocks {
    max-width: 95%;
  }
}

.get-in-touch {
  display: inline-block;
  padding: 1rem 2rem;
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
  align-self: center;
  user-select: none;
}

.get-in-touch:hover {
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .get-in-touch {
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
  }
}

@media (max-aspect-ratio: 1/1) {
  .about__image {
    width: min(350px, 45vw);
    height: min(350px, 45vw);
  }
}