﻿* {
  margin: 0;
  box-sizing: border-box;
  button {
    cursor: pointer;
  }
}

html {
  scroll-behavior: smooth;
}

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

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

@font-face {
  font-family: "Syne";
  src: url(./assets/fonts/Syne/Syne-VariableFont_wght.ttf);
}

@font-face {
  font-family: "Mea_Culpa";
  src: url(./assets/fonts/Mea_Culpa/MeaCulpa-Regular.ttf);
}

@font-face {
  font-family: "Great_Vipes";
  src: url(./assets/fonts/Great_Vibes/GreatVibes-Regular.ttf);
}

@font-face {
  font-family: "Imperial_Script";
  src: url(./assets/fonts/Imperial_Script/ImperialScript-Regular.ttf);
}

.hidden {
  display: none;
}

body {
  background-color: rgb(38, 46, 52);
  font-family: "Anta";
  display: flex;
  flex-direction: column;
  justify-content: center;
  overscroll-behavior-x: none;
}

#about,
#tech,
#work,
#reach-out {
  scroll-margin-top: 120px;
}

.wrapper {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  overflow-x: clip;
}

.wrapper-contact {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
}

.intro-section {
  display: flex;
  padding-top: 100px;
  height: calc(100vh - 100px);
}

.intro-img {
  flex: 1;
  height: 100%;
}

.intro-body {
  height: 100%;
  padding-top: 100px;
}

.shape-bg {
  background-image: url("./assets/img/bg-shape.png");
  object-fit: contain;
  background-repeat: no-repeat;
  height: 680px;
  width: 100%;
  margin-top: 70px;
  background-position: bottom;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shape-bg:hover {
  background-image: url("./assets/img/bg-shape-hover.png");
  z-index: 2;
}

.portrait-img {
  height: 100%;
  bottom: 0;
  left: 50px;
  object-fit: cover;
}

.social-bar {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 250px;
  color: white;
}

.social-bar span {
  color: rgb(112, 152, 175);
}

.social-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.gh-link:hover .gh-icon {
  content: url("./assets/img/icons/git-hover-hero.png");
}

.mail-link:hover .mail-icon {
  content: url("./assets/img/icons/mail-hover-hero.png");
}

.li-link:hover .li-icon {
  content: url("./assets/img/icons/linked-hover-hero.png");
}

.intro-title {
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.main-heading {
  font-size: 72px;
  font-weight: 100;
  margin-top: 70px;
}

.sub-heading {
  font-size: 36px;
  letter-spacing: 3px;
  font-weight: 300;
  margin-top: 16px;
}

.arrow-hint {
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  padding-top: 150px;
}

.arrow-icon {
  transition: opacity 0.2s ease;
}

.arrow-icon:hover {
  content: url("./assets/img/icons/arrow-down-hover.png");
  height: 100%;
}

.brand-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-family: Great_Vipes;
  color: rgb(137, 188, 217);
  font-size: 50px;
  font-weight: 100;
}

.brand-logo {
  max-height: 50px;
  width: auto;
  object-fit: contain;
}


.main-nav {
  background-color: rgb(137, 188, 217);
  height: 100px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 1;
}

nav a {
  color: rgb(38, 46, 52);
  text-decoration: none;
}

nav h2 {
  font-family: Great_Vipes;
  color: rgb(38, 46, 52);
  font-size: 40px;
  font-weight: 100;
}

.main-nav .brand-logo {
  filter: brightness(0);
}

.main-nav .brand-block p,
.main-nav .brand-block span {
  color: rgb(38, 46, 52);
}

.nav-svg-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-list {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 100px;
  font-size: 30px;
}

.lang-group {
  display: flex;
  gap: 30px;
}

.lang-option {
  color: rgb(38, 46, 52);
  text-decoration: none;
}

.nav-item.is-active {
  background-image: url("./assets/img/nav-bg-shape.png"); /* dein Figma-Export */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff; /* weiße Schrift */
}

.lang-option.is-active {
  background-image: url("./assets/img/nav-bg-shape.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #fff;
}

.about-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 0;
  color: white;
}

.title-about {
  font-family: "Anta";
  font-size: 30px;
  font-weight: 400;
  color: rgb(137, 188, 217);
  margin-bottom: 40px;
}

.about-heading {
  font-size: 64px;
  color: rgb(137, 188, 217);
  margin-bottom: 40px;
}

.about-layout {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 100px;
}

.why-me-wrapper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 60px;
  width: 100%;
}

.loc-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 32px;
  flex-shrink: 0;
  white-space: nowrap;
}

.text-about-wrap {
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.loc-icon-bg {
  background-image: url("./assets/img/icons/bg-location-icon.png");
  width: 60px;
  height: 60px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-size: contain;
  background-repeat: no-repeat;
}

.about-text-wrap {
  max-width: 500px;
}

.about-question {
  margin-bottom: 10px;
  font-size: 28px;
}

.about-answer {
  line-height: 1.5;
  color: white;
}

.about-cta {
  margin-top: 40px;
  padding: 12px 32px;
  background-color: rgb(36, 46, 52);
  color: rgb(137, 188, 217);
  border: 1px solid rgb(137, 188, 217);
  text-decoration: none;
  font-weight: bold;
  border-radius: 50px;
  align-self: flex-end;
}

.skills-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 80px 20px;
}

.skills-heading {
  font-size: clamp(32px, 5vw, 64px);
  color: rgb(137, 188, 217);
  margin-bottom: 40px;
}

.skills-wrapper {
  display: flex;
  width: 100%;
  gap: 100px;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  width: 70%;
  justify-items: center;
}

.skills-grid img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.learning-aside {
  background-image: url(./assets/img/icons/bg-skills.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  transition: background-image 0.3s ease;
  flex: 0 0 320px;
  aspect-ratio: 1;
}

.learning-aside:hover {
  background-image: url(./assets/img/icons/bg-hover-skills.png);
}

.learning-title {
  color: white;
}

.learning-text {
  color: white;
}

.work-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.work-heading {
  font-size: clamp(32px, 5vw, 64px);
  color: rgb(137, 188, 217);
  margin-bottom: 40px;
  text-align: center;
}

.work-layout {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 20px;
}

.work-tabs {
  display: flex;
  gap: 20px;
}

.work-tab {
  background-color: rgb(38, 46, 52);
  color: rgb(137, 188, 217);
  border: none;
  height: 80px;
  font-size: 28px;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 8px;
  transition: background-color 0.2s ease;
}

.work-tab:hover {
  color: white;
}

.work-stage-bg {
  background-color: rgb(45, 56, 63);
  width: 100%;
}

.work-stage {
  background-color: rgb(45, 56, 63);
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  width: 100%;
  overflow: hidden;
}

.work-stage.fade-transition,
.work-mob-section.fade-transition {
  animation: projectFadeIn 0.7s ease-out;
}

@keyframes projectFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.work-info {
  flex: 2;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.info-section {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.info-section:has([data-i18n="empty"]) {
  display: none;
}

.info-dot {
  width: 32px;
  height: 32px;
}

.info-text {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.info-title {
  font-size: 24px;
  color: white;
}

.info-desc {
  color: rgb(200, 220, 230);
  line-height: 1.5;
}

.work-preview {
  flex: 1.2;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

.stack-label {
  color: white;
}

.stack-icon {
  width: 50px;
  height: 50px;
}

.screenshot-1 {
  width: 500px;
  height: auto;
  border-radius: 30px;
}

.work-tab.is-active {
  background-color: rgb(45, 56, 63);
  color: white;
  border-radius: 20px 20px 0 0;
}

.work-btns {
  display: flex;
  gap: 20px;
}

.stack-row {
  display: flex;
  gap: 20px;
  align-items: center;
}

.btn-demo {
  background-color: rgb(137, 188, 217);
  color: rgb(45, 56, 63);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 100px;
  border-radius: 30px;
  text-decoration: none;
}

.btn-demo:hover {
  background-color: white;
}

.btn-repo {
  background-color: rgb(45, 56, 63);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 100px;
  border-radius: 30px;
  border: 1px solid rgb(137, 188, 217);
  text-decoration: none;
}

.btn-repo:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

.reviews-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 50px;
  padding-bottom: 50px;
}

.reviews-heading {
  font-size: 32px;
  color: rgb(137, 188, 217);
  margin-bottom: 40px;
}

.reviews-wrapper {
  display: flex;
  gap: 20px;
}

.review-card {
  background-image: url(./assets/img/icons/bg-reference.png);
  background-repeat: no-repeat;
  background-size: contain;
  width: 100%;
  max-width: 400px;
  aspect-ratio: 4 / 5;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;

  color: white;
}

.review-card:hover {
  background-image: url(./assets/img/icons/bg-hover-reference.png);
}

.review-card a {
  color: rgb(137, 188, 217);
  text-decoration: underline;
}

.reviewer-text {
  padding: 0 30px;
  text-align: center;
  line-height: 1.5;
}

.contact-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.contact-section p {
  color: white;
}

.contact-layout {
  display: flex;
  gap: 40px;
}

.contact-desc {
  width: 50%;
}

.contact-details {
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.detail-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #f8f5ec;
  text-decoration: none;
  transition: color 0.3s ease;
}

.svg-path.svg-outer {
  stroke: #f8f5ec;
  fill: none;
  transition:
    stroke 0.3s ease,
    fill 0.3s ease;
}

.svg-path.svg-inner {
  stroke: #f8f5ec;
  fill: none;
  transition: stroke 0.3s ease;
}

.detail-link svg path {
  transition:
    stroke 0.3s ease,
    fill 0.3s ease;
}

.detail-link:hover {
  color: rgb(127, 174, 200);
}

.detail-link:hover .svg-path.svg-outer {
  stroke: rgb(127, 174, 200);
  fill: rgb(127, 174, 200);
}

.detail-link:hover .svg-path.svg-inner {
  stroke: rgb(38, 46, 52);
  fill: none;
}

.detail-link:hover svg path {
  stroke: rgb(127, 174, 200);
  fill: rgb(127, 174, 200);
}

.contact-title {
  font-size: 64px;
  color: rgb(137, 188, 217);
  margin-bottom: 40px;
}

.reach-form {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding-top: 60px;
  gap: 20px;
}

.reach-form label {
  color: rgb(137, 188, 217);
}

.form-row {
  display: flex;
  gap: 20px;
}

.field-wrap {
  display: flex;
  flex-direction: column;
  width: 50%;
  min-height: 110px;
}

.field-wrap-msg {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 210px;
}

.field-ctrl {
  height: 50px;
  border-radius: 30px;
  background-color: rgb(38, 46, 52);
  border: 1px solid rgb(137, 188, 217);
  color: white;
  padding-left: 10px;
}

.field-ctrl:focus {
  background-color: rgb(49, 63, 72);
  color: white;
}

.textarea-ctrl {
  height: 150px;
  border-radius: 30px;
  background-color: rgb(38, 46, 52);
  border: 1px solid rgb(137, 188, 217);
  color: white;
  padding-left: 10px;
  padding-top: 10px;
  resize: none;
}

.textarea-ctrl:focus {
  background-color: rgb(49, 63, 72);
  color: white;
}

.field-hint {
  min-height: 20px;
  visibility: hidden;
  opacity: 0;
  color: rgb(255, 120, 120) !important;
  font-size: 16px;
  margin-top: 5px;
  transition: opacity 0.2s ease;
}

.field-hint.is-visible {
  visibility: visible;
  opacity: 1;
}

.field-ctrl.error,
.textarea-ctrl.error {
  border-color: rgb(255, 120, 120);
}

.privacy-row {
  display: flex;
  gap: 10px;
}

.check-ctrl {
  opacity: 0;
  pointer-events: none;

  background-image: url(./assets/img/icons/checkbox-icon.png);
}

.check-ctrl:hover {
  background-image: url(./assets/img/icons/checkbox-hover-icon.png);
}

.check-wrap {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.check-ctrl {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check-visual {
  width: 22px;
  height: 22px;
  background-image: url(./assets/img/icons/checkbox-icon.png);
  background-size: cover;
  background-position: center;
  transition: 0.2s ease;
}

.check-wrap:hover .check-visual {
  background-image: url(./assets/img/icons/checkbox-hover-icon.png);
}

.check-ctrl:checked + .check-visual {
  background-image: url(./assets/img/icons/checked-icon.png);
}

.privacy-text {
  color: white;
    font-size: 16px;
}

.submit-btn {
  align-self: flex-end;
  background-color: rgb(38, 46, 52);
  color: grey;
  height: 50px;
  width: 100px;
  border-radius: 50px;
  border: 1px grey solid;
}

.form-notice {
  margin-top: 10px;
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
}

.form-notice.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.form-notice.error {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.pp-link {
  color: rgb(137, 188, 217);
  text-decoration: none;
  cursor: pointer;
}

.scroll-up {
  padding-top: 30px;
}

.scroll-up:hover {
  content: url(./assets/img/icons/arrow-up-hover.png);
}

.legal {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 80px 0;
  color: white;
}

.legal h1 {
  font-size: 64px;
  color: rgb(137, 188, 217);
  margin-bottom: 40px;
}

.legal-body {
  max-width: 800px;
  line-height: 1.8;
}

.legal-body h2 {
  font-size: 32px;
  color: rgb(137, 188, 217);
  margin-top: 40px;
  margin-bottom: 20px;
}

.legal-body h3 {
  font-size: 20px;
  color: rgb(137, 188, 217);
  margin-top: 30px;
  margin-bottom: 15px;
}

.legal-body p {
  font-size: 16px;
  margin-bottom: 15px;
}

.legal-body a {
  color: rgb(137, 188, 217);
  text-decoration: none;
}

.legal-body a:hover {
  text-decoration: underline;
}

footer {
  margin-top: 150px;
  padding-bottom: 50px;
  padding-top: 50px;
  background-color: rgb(137, 188, 217);
  width: 100%;
  height: 150px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer a {
  text-decoration: none;
}

footer h2 {
  font-family: Great_Vipes;
  color: rgb(38, 46, 52);
  font-size: 40px;
  font-weight: 100;
}

footer .brand-logo {
  filter: brightness(0);
}

footer .brand-block p,
footer .brand-block span {
  color: rgb(38, 46, 52);
}

.footer-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-info a {
  color: rgb(45, 56, 63);
}

.footer-info a:hover {
  color: white;
}

.footer-git-icon:hover {
  fill: white;
  fill-rule: white;
}

.footer-gh:hover .footer-gh-icon {
  content: url("./assets/img/icons/git-hover-footer.png");
}

.footer-mail:hover .footer-mail-icon {
  content: url("./assets/img/icons/mail-hover-footer.png");
}

.footer-li:hover .footer-li-icon {
  content: url("./assets/img/icons/linked-hover-footer.png");
}

.mobile-overlay {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transform-origin: center;
  max-width: 600px;
  max-height: 600px;
  width: 100%;
  height: 100%;
  background-image: url("./assets/img/bg-shape.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.4s ease;
  padding: 60px 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

.mobile-overlay.is-open {
  transform: translate(-50%, -50%) scale(1);
}

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

.overlay-links li {
  margin: 20px 0;
}

.overlay-links a {
  font-size: 24px;
  font-weight: 600;
  color: white;
  text-decoration: none;
}

.overlay-lang {
  margin-top: 40px;
  font-size: 18px;
  color: white;
}

.work-mob-section {
  display: none;
}

.work-heading-mob {
  display: none;
}

.work-tabs-mob {
  display: none;
}

.work-mob-title {
  font-size: clamp(24px, 5vw, 36px);
  color: rgb(137, 188, 217);
  text-align: center;
  margin-bottom: 20px;
}

.work-mob-stack {
  display: flex;
  justify-content: center;
  gap: 20px;
  color: white;
  font-size: clamp(16px, 3vw, 20px);
  margin-bottom: 20px;
}

.work-mob-img {
  width: 100%;
  max-width: 500px;
  border-radius: 30px;
  display: block;
  margin: 0 auto 30px auto;
}

.work-mob-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.work-mob-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

@media (min-width: 1440px) {
  .intro-section {
    height: auto;  }
}

@media (max-width: 1120px) {
  .intro-title .brand-block {
    display: none;
  }

  .intro-section {
    flex-direction: column;
    text-align: center;
    padding-top: 20px;
  }

  .intro-body {
    padding-top: 0px;
   
  }

  .social-bar {
    display: none;
  }

  .main-nav {
    display: none;
  }

  body {
    padding-left: 0;
  }

  .brand-title {
    font-size: 36px;
  }

  .nav-mobile p {
    font-size: 16px;
  }

  .nav-mobile span {
    font-size: 16px;
  }

  .shape-bg {
    display: none;
  }

  .arrow-hint {
    padding-top: 20px;
  }

  .intro-img {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .portrait-mobile {
    display: flex;
    max-height: 500px;
    max-width: 500px;
    object-fit: cover;
    align-self: center;
  }

  .nav-mobile {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
  }

  .nav-mobile img {
    cursor: pointer;
  }

  .nav-mobile p {
    color: rgb(248, 245, 236);
  }

  .nav-mobile span {
    color: rgb(137, 188, 217);
  }

  .about-layout {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .why-me-wrapper {
    flex-direction: column;
    align-items: center;
  }

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

  .about-cta {
    display: none;
  }

  .loc-icon-bg img:nth-child(2) {
    display: none;
  }

  .skills-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .skills-section {
    justify-content: center;
  }

  .skills-grid {
    width: 100%;
  }

  .skills-grid img {
    width: 80px;
    height: 80px;
  }

  .learning-aside {
    display: none;
  }


  .learning-aside-mob {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 40px 20px;
  }

  .learning-text-mob {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    color: white;
    gap: 20px;
  }

  .learning-text-mob span {
    font-size: clamp(16px, 2.2vw, 18px);
    line-height: clamp(1.25, 2vw, 1.4);
    display: block;
  }

  .learning-text-mob img {
    width: 112px;
    height: 112px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .learning-title-mob {
    font-size: clamp(18px, 3vw, 28px);
    color: rgb(137, 188, 217);
    line-height: clamp(1.2, 2vw, 1.3);
    margin-bottom: clamp(12px, 3vw, 20px);
    display: block;
    text-align: center;
  }

  .learning-cta {
    display: block;
    padding: 12px 32px;
    background-color: rgb(137, 188, 217);
    color: rgb(38, 46, 52);
    border: 1px solid rgb(137, 188, 217);
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    align-self: center;
  }

  .work-section {
    display: none;
  }

  .work-mob-section {
    display: block;
    width: 100%;
    padding: 40px 20px;
    background-color: rgb(45, 56, 63);
  }

  .work-heading-mob {
    display: block;
  }

  .work-tabs-mob {
    display: flex;
    justify-content: flex-start;
    gap: 12px;
  }

  .work-tab-mob {
    background-color: rgb(38, 46, 52);
    color: rgb(137, 188, 217);
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
  }

  .work-tab-mob.is-active {
    background-color: rgb(45, 56, 63);
    color: white;
  }

  .work-mob-title {
    font-size: clamp(24px, 5vw, 36px);
    color: rgb(137, 188, 217);
    text-align: center;
    margin-bottom: 20px;
  }

  .work-mob-stack-title {
    color: white;
    text-align: center;
    font-size: clamp(16px, 3vw, 22px);
    margin-bottom: 10px;
  }

  .work-mob-stack {
    display: flex;
    justify-content: center;
    gap: 16px;
    color: white;
    font-size: clamp(16px, 3vw, 20px);
    margin-bottom: 30px;
  }

  .work-mob-img {
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    display: block;
    margin: 0 auto 30px auto;
  }

  .work-mob-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .info-section {
    display: flex;
    gap: 16px;
  }

  .info-dot {
    width: 24px;
    height: 24px;
  }

  .info-title {
    font-size: clamp(16px, 3vw, 22px);
  }

  .info-desc {
    font-size: clamp(16px, 3vw, 18px);
    line-height: 1.5;
  }

  .work-mob-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
  }

  .contact-layout {
    flex-direction: column-reverse;
  }

  .contact-details {
    width: 100%;
  }

  .contact-desc {
    width: 100%;
    display: flex;
    flex-direction: column;
  }

  .contact-accent {
    display: block;
    align-self: center;
    font-size: 20px;
    padding-top: 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .field-wrap {
    width: 100%;
  }

  .check-visual {
    flex-shrink: 0;
  }

  .scroll-up-mob {
    display: flex;
    padding-top: 30px;
  }

  .arrow-icon {
    content: url(./assets/img/icons/arrow-down-hover.png);
  }

  .scroll-up {
    display: none;
  }
}

@media (max-width: 960px) {
  .reviews-heading {
    display: none;
  }

  .reviews-heading-mob {
    color: rgb(137, 188, 217);
    font-size: 28px;
    display: block;
  }
  .reviews-subtext {
    color: white;
    font-size: 16px;
    display: block;
  }
}

@media (max-width: 900px) {
  .wrapper,
  .wrapper-contact,
  .work-mob-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  section {
    margin: 0 auto 60px;
  }

  .intro-section {
    padding-top: 70px;
    height: auto;
  }

  .about-heading {
    font-size: 48px;
    text-align: center;
  }

  .about-layout {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
  }

  .loc-block {
    gap: 10px;
    font-size: 24px;
  }

  .loc-icon-bg {
    width: 50px;
    height: 50px;
  }

  .about-text-wrap {
    max-width: 90%;
  }

  .about-cta {
    align-self: center;
  }

  .reviews-section {
    display: block;
  }

  .review-card {
    flex: 0 0 356px;
    width: auto;
    max-width: none;
    scroll-snap-align: center;
    background-size: clamp(90%, 50%, 140%);
    background-position: center;
  }

  .reviews-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    -webkit-scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 40px;
    scroll-behavior: smooth;
  }

  .reviews-wrapper::-webkit-scrollbar {
    display: none;
  }

  .reviewer-name {
    font-size: 18px;
  }

  .reviewer-project {
    font-size: 16px;
  }

  .reviewer-text {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (max-width: 600px) {
  .portrait-mobile {
    max-width: 70%;
  }

  .main-heading {
    font-size: 36px;
  }

  .sub-heading {
    font-size: 18px;
    letter-spacing: 2px;
    padding-top: 10px;
  }

  .legal h1 {
    font-size: 42px;
  }

  .legal-body h2 {
    font-size: 24px;
  }

  .legal-body h3 {
    font-size: 18px;
  }

  .legal-body p {
    font-size: 16px;
  }

  .arrow-icon {
    width: 28px;
  }

  .about-heading {
    font-size: 38px;
  }

  .loc-block {
    font-size: 16px;
  }

  section {
    margin-bottom: 50px;
  }

  .loc-icon-bg {
    width: 40px;
    height: 40px;
  }

  .about-answer {
    font-size: 16px;
    line-height: 1.4;
  }
}

@media (max-width: 510px) {
  .skills-grid {
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    text-align: center;
  }

  .brand-block-mob {
    order: 1;
  }

  .footer-socials {
    order: 2;
  }

  .footer-info {
    order: 3;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    font-size: 16px;
    justify-content: space-between;
  }

  footer {
    height: auto;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .brand-block h2 {
    font-size: 32px;
  }

  .footer-socials img {
    width: 35px;
  }

  .footer-gh .footer-gh-icon {
    content: url("./assets/img/icons/git-hover-footer.png");
  }

  .footer-mail .footer-mail-icon {
    content: url("./assets/img/icons/mail-hover-footer.png");
  }

  .footer-li .footer-li-icon {
    content: url("./assets/img/icons/linked-hover-footer.png");
  }

  .mobile-overlay {
    justify-content: center;
  }
}

@media (max-width: 400px) {
  .contact-title {
    font-size: 32px;
  }
}





