* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --light-bg: #eae7dc;
  --dark: #333;
  --dark-2: #444;
  --dark-gray: #666;
  --blue: #264de4;
  --red: #e34c26;
  --off-white: #f0f0f0;
  --body-text: "Nunito Sans", sans-serif;
  --header-text: "Inter", sans-serif;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-strong: rgba(255, 255, 255, 0.12);
  --glass-border: rgba(255, 255, 255, 0.16);
}

/* Lenis smooth scroll */
html.lenis,
html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

html {
  font-family: var(--body-text);
  font-weight: 300;
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Account for fixed header */
}

body {
  background-color: var(--light-bg);
  background: url(../images/bg-dark.jpg) no-repeat center center / cover;
  background-attachment: fixed;
  color: var(--off-white);
}

h2 {
  font-family: var(--header-text);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4.5rem);
  color: var(--red);
}

p {
  padding: 15px 0;
}

img {
  display: block;
  max-width: 100%;
}

.text-center {
  text-align: center;
}
.container {
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 50px);
}

.banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 100vh;
  padding: clamp(40px, 8vw, 100px);
  transition: 0.5s;
}

@media screen and (min-width: 768px) {
  .banner {
    flex-direction: row;
    text-align: left;
    justify-content: space-between;
    align-items: center;
  }
}

header {
  width: 100%;
  padding: 25px 0;
}

.header-top {
  padding: clamp(16px, 3vw, 20px) clamp(16px, 5vw, 100px);
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 20px;
  min-height: clamp(84px, 12vw, 120px);
  position: relative;
  background-color: rgba(102, 102, 102, 0.2);
}

.header--position {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  transition:
    transform 0.4s ease,
    background-color 0.3s ease,
    backdrop-filter 0.3s ease;
}

.header-top.scrolled {
  background-color: rgba(102, 102, 102, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

header .logo {
  color: var(--dark);
  width: clamp(72px, 9vw, 100px);
  height: clamp(72px, 9vw, 100px);
  position: absolute;
  top: 50%;
  left: clamp(16px, 5vw, 100px);
  transform: translate(0, -50%);
  z-index: 130;
  transition:
    width 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    left 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

header .logo img,
header .logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

body.menu-open .header-top .logo {
  width: clamp(108px, 14vw, 170px);
  height: clamp(108px, 14vw, 170px);
  left: 50%;
  transform: translate(-50%, -50%);
}

.menu-toggle {
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.08)
  );
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  z-index: 130;
  transition:
    border-color 0.3s ease,
    background 0.3s ease,
    transform 0.3s ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(255, 255, 255, 0.6);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.24),
    rgba(255, 255, 255, 0.12)
  );
  transform: translateY(-1px);
}

.menu-toggle:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.menu-toggle span {
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: var(--off-white);
  transform-origin: center;
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

body.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.fullscreen-menu {
  position: fixed;
  inset: 0;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: clamp(100px, 15vh, 150px) 20px 40px;
  isolation: isolate;
  background:
    radial-gradient(
      1200px 600px at 8% 0%,
      rgba(255, 204, 112, 0.16),
      transparent 60%
    ),
    radial-gradient(
      1200px 700px at 100% 0%,
      rgba(227, 76, 38, 0.22),
      transparent 58%
    ),
    rgba(9, 9, 12, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-100%);
  transition:
    opacity 0.45s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0.45s ease;
}

.fullscreen-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    165deg,
    rgba(10, 10, 14, 0.98),
    rgba(12, 12, 16, 0.95)
  );
}

body.menu-open .fullscreen-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.fullscreen-menu__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.4vh, 24px);
}

.fullscreen-menu__nav li {
  list-style: none;
}

.fullscreen-menu__nav a {
  text-decoration: none;
  font-family: var(--header-text);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--off-white);
  font-size: clamp(1.5rem, 5.4vw, 4.4rem);
  line-height: 1;
  text-shadow: 0 14px 45px rgba(0, 0, 0, 0.45);
  transition:
    color 0.25s ease,
    opacity 0.25s ease,
    transform 0.25s ease;
}

.fullscreen-menu__nav a:hover,
.fullscreen-menu__nav a:focus-visible {
  background: linear-gradient(135deg, #e34c26, #ff7a59, #ffcc70);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 1;
  transform: translateX(3px);
  text-shadow:
    0 0 28px rgba(227, 76, 38, 0.72),
    0 0 56px rgba(255, 122, 89, 0.52),
    0 0 96px rgba(255, 204, 112, 0.42),
    0 0 140px rgba(227, 76, 38, 0.3);
  filter: drop-shadow(0 0 24px rgba(227, 76, 38, 0.68))
    drop-shadow(0 0 52px rgba(255, 122, 89, 0.52))
    drop-shadow(0 0 96px rgba(255, 204, 112, 0.36));
}

.fullscreen-menu__nav a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 6px;
}

.fullscreen-menu__nav li {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

body.menu-open .fullscreen-menu__nav li {
  opacity: 1;
  transform: translateY(0);
}

body.menu-open .fullscreen-menu__nav li:nth-child(1) {
  transition-delay: 0.08s;
}
body.menu-open .fullscreen-menu__nav li:nth-child(2) {
  transition-delay: 0.14s;
}
body.menu-open .fullscreen-menu__nav li:nth-child(3) {
  transition-delay: 0.2s;
}
body.menu-open .fullscreen-menu__nav li:nth-child(4) {
  transition-delay: 0.26s;
}
body.menu-open .fullscreen-menu__nav li:nth-child(5) {
  transition-delay: 0.32s;
}

body.menu-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  .menu-toggle span,
  .fullscreen-menu,
  .fullscreen-menu__nav li,
  header .logo {
    transition: none !important;
  }
}

.header-top > nav ul {
  display: flex;
  gap: 40px;
}

.header-top > nav ul li {
  list-style: none;
}

.header-top > nav ul li a {
  text-decoration: none;
  font-weight: 700;
  font-size: clamp(0.9em, 2vw, 1.5em);
  color: var(--red);
}

.content {
  position: relative;
  max-width: 700px;
  z-index: 10;
  width: 100%;
}

.content .starter {
  font-size: clamp(1.2em, 3vw, 2em);
  color: var(--dark);
  font-weight: 400;
  transition: 0.5s;
}

.content h1 {
  font-family: var(--header-text);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 4.5em);
  color: var(--off-white);
  transition: 0.5s;
}

.content h1 span {
  color: var(--red);
}

.content h1 .intro-line {
  display: inline;
  margin-right: 0.2em;
}

.content h1 .typed-line {
  display: inline;
}

#text {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), #ff7a59, #ffcc70);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 10px 28px rgba(227, 76, 38, 0.22);
}

.content h1 + .typed-cursor,
.content h1 .typed-cursor {
  color: rgba(255, 204, 112, 0.9);
  font-weight: 700;
  margin-left: 0.08em;
}

.content p {
  font-size: clamp(1em, 2.5vw, 1.2em);
  margin: 10px 0;
  padding: 0;
  transition: 0.5s;
  text-align: left;
}

.content .hero-hire {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: white;
  border: none;
  outline: none;
  padding: clamp(10px, 2vw, 14px) clamp(16px, 4vw, 32px);
  font-size: clamp(0.9em, 2vw, 1.15em);
  letter-spacing: 0.05em;
  margin-top: clamp(14px, 2.6vw, 24px);
  margin-bottom: clamp(20px, 3.6vw, 34px);
  margin-right: clamp(8px, 2vw, 20px);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  opacity: 1;
  box-shadow: 0 6px 18px rgba(255, 81, 30, 0.2);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    opacity 0.2s ease;
}

.content .hero-hire:hover,
.content .hero-hire:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(255, 80, 38, 0.4);
  opacity: 0.98;
}

.hero-process {
  margin-top: 0;
  max-width: 680px;
}

.hero-process__label {
  margin: 0 0 10px 0;
  padding: 0;
  font-size: clamp(0.72em, 1.4vw, 0.82em);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.7);
}

.hero-process__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.8vw, 16px);
}

.hero-process__card {
  padding: clamp(12px, 2vw, 16px);
  border-radius: 12px;
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  text-align: left;
}

.hero-process__card h3 {
  margin: 0 0 8px 0;
  font-family: var(--header-text);
  font-size: clamp(1em, 2vw, 1.15em);
  line-height: 1.2;
  color: var(--off-white);
}

.hero-process__card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-process__card li {
  position: relative;
  margin: 0;
  padding: 0 0 0 16px;
  font-size: clamp(0.88em, 1.8vw, 0.96em);
  line-height: 1.65;
  color: rgba(240, 240, 240, 0.86);
}

.hero-process__card li + li {
  margin-top: 4px;
}

.hero-process__card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e34c26, #ff7a59, #ffcc70);
  box-shadow: 0 0 10px rgba(227, 76, 38, 0.45);
}

.banner.night header .logo,
.banner.night .content h2,
.banner.night .content p,
.banner.night header ul li a {
  color: white;
}

[class$="-logo"] {
  position: absolute;
  opacity: 0.4;
  filter: grayscale(50%) blur(1px);
  box-shadow: 0 0 4px 5px rgba(0, 0, 0, 0.2);
}

.css-logo {
  right: 0;
  width: 115px;
  animation: animateCSSLogo 8s ease-in-out infinite;
  z-index: 10;
}

.scss-logo {
  right: -1%;
  top: 49%;
  width: 30px;
  animation: animateCSSLogo 8s ease-in-out infinite;
}

.less-logo {
  right: -1%;
  top: 45%;
  width: 30px;
  animation: animateCSSLogo 8s ease-in-out infinite;
}

.bootstrap-logo {
  right: 0%;
  top: 52%;
  width: 30px;
  animation: animateCSSLogo 8s ease-in-out infinite;
}

.tailwind-logo {
  right: 2%;
  top: 54%;
  opacity: 0.7;
  width: 30px;
  animation: animateCSSLogo 8s ease-in-out infinite;
}

.js-logo {
  right: 7%;
  bottom: 50%;
  width: 100px;
  animation: animateJsLogo 8s ease-in-out infinite;
  z-index: 50;
}

.react-logo {
  right: 12%;
  top: 41%;
  width: 30px;
  animation: animateJsLogo 8s ease-in-out infinite;
  z-index: 100;
}

.vue-logo {
  right: 7%;
  top: 41%;
  width: 30px;
  animation: animateJsLogo 8s ease-in-out infinite;
  z-index: 100;
}

.nodejs-logo {
  right: 9%;
  bottom: 37%;
  width: 45px;
  animation: animateCSSLogo 8s 1s ease-in-out infinite;
  z-index: 30;
}

.lit-logo {
  right: 12%;
  top: 49.5%;
  width: 36px;
  animation: animateJsLogo 8s ease-in-out infinite;
  z-index: 100;
}

.html-logo {
  right: 6.5%;
  bottom: 40%;
  width: 80px;
  animation: animateJsLogo 8s 1s ease-in-out infinite;
  z-index: 50;
}

.github-logo {
  right: 4%;
  bottom: 37%;
  width: 50px;
  animation: animateJsLogo 8s 1s ease-in-out infinite;
}

@keyframes animateCSSLogo {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(15px);
  }
}

@keyframes animateJsLogo {
  0%,
  100% {
    transform: translateX(0px);
  }

  50% {
    transform: translateX(15px);
  }
}

/********** About **********/
/********** Sections (About + Services) **********/
.section {
  position: relative;
  padding: clamp(60px, 7vw, 120px) 0;
  overflow: hidden;
}

.section-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bg-word {
  position: absolute;
  top: -0.25em;
  left: -0.1em;
  font-family: var(--header-text);
  font-weight: 900;
  font-size: clamp(4rem, 14vw, 13rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(240, 240, 240, 0.06);
  user-select: none;
  transform: translateZ(0);
}

.section--services .bg-word {
  left: auto;
  right: -0.1em;
  top: -0.22em;
  text-align: right;
}

.section-header {
  position: relative;
  z-index: 2;
  max-width: 980px;
  margin: 0 auto 40px auto;
  padding: 0;
}

.section-kicker {
  padding: 0;
  margin: 0 0 12px 0;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(240, 240, 240, 0.75);
  font-size: clamp(0.75em, 1.5vw, 1em);
}

.section-title {
  margin: 0;
  color: var(--off-white);
  font-size: clamp(2.4rem, 4.6vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.3em;
  white-space: nowrap;
}

.section-title .reveal-word {
  display: inline-flex;
  align-items: baseline;
  will-change: transform, opacity;
}

.section-title .accent {
  background: linear-gradient(
    135deg,
    rgba(227, 76, 38, 0.7),
    rgba(255, 122, 89, 0.7),
    rgba(255, 204, 112, 0.7)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.ship-underline,
.about-underline {
  width: min(220px, 40vw);
  height: 3px;
  border-radius: 999px;
  margin-top: 14px;
  background: linear-gradient(
    90deg,
    rgba(227, 76, 38, 1),
    rgba(255, 122, 89, 1),
    rgba(255, 204, 112, 1)
  );
  box-shadow: 0 12px 40px rgba(227, 76, 38, 0.22);
  transform-origin: left center;
}

.projects-underline {
  width: min(260px, 46vw);
  height: 3px;
  border-radius: 999px;
  margin-top: 14px;
  background: linear-gradient(
    90deg,
    rgba(227, 76, 38, 1),
    rgba(255, 122, 89, 1),
    rgba(255, 204, 112, 1)
  );
  box-shadow: 0 12px 40px rgba(227, 76, 38, 0.22);
  transform-origin: left center;
}

.section--contact .section-title {
  margin-bottom: 8px;
}

.contact-underline,
.ship-underline,
.about-underline,
.projects-underline {
  width: min(220px, 40vw);
}

.section--contact .contact-grid {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 3vw, 18px);
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: clamp(8px, 2vw, 16px);
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

@media screen and (max-width: 480px) {
  .contact-links {
    flex-wrap: nowrap;
  }
}

.contact-links li {
  list-style: none;
}

.section--contact .contact-grid {
  overflow-x: auto;
}

.contact-icon {
  width: clamp(56px, 12vw, 76px);
  height: clamp(56px, 12vw, 76px);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.06)
  );
  color: #fff;
  text-decoration: none;
  box-shadow:
    inset 1px 1px 4px rgba(0, 0, 0, 0.15),
    inset -1px -1px 6px rgba(255, 255, 255, 0.08),
    0 16px 28px rgba(0, 0, 0, 0.25);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-icon ion-icon {
  font-size: clamp(1.2rem, 3vw, 1.9rem);
}

.contact-icon:hover,
.contact-icon:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    inset 1px 1px 4px rgba(0, 0, 0, 0.15),
    inset -1px -1px 6px rgba(255, 255, 255, 0.12),
    0 22px 30px rgba(0, 0, 0, 0.32);
}

.contact-icon:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 4px;
}

.section-header .typed-cursor {
  color: rgba(240, 240, 240, 0.85);
  font-weight: 800;
  margin-left: 0.1em;
}

.section-subtitle {
  margin: 14px 0 0 0;
  padding: 0;
  max-width: 70ch;
  font-size: clamp(0.95em, 2.2vw, 1.15em);
  color: rgba(240, 240, 240, 0.78);
  line-height: 1.6;
}

.about-grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
  align-items: start;
}

.about-copy p {
  margin: 0;
  padding: 0 0 16px 0;
  font-size: 1.15em;
  line-height: 1.7;
  color: rgba(240, 240, 240, 0.86);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat-card {
  padding: 18px 18px;
  border-radius: 14px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}

.stat-number {
  font-family: var(--header-text);
  font-weight: 900;
  font-size: clamp(1.6em, 4vw, 2.2em);
  letter-spacing: -0.03em;
  color: var(--off-white);
}

.stat-label {
  margin-top: 6px;
  color: rgba(240, 240, 240, 0.75);
  font-size: 1em;
  line-height: 1.4;
}

.services-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.projects-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.project-card {
  padding: 18px 18px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.08)
  );
}

.project-thumb {
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(
      1200px 400px at 10% 10%,
      rgba(255, 204, 112, 0.18),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 0%,
      rgba(227, 76, 38, 0.22),
      transparent 55%
    ),
    rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  aspect-ratio: 16 / 9;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-info {
  margin-top: 14px;
}

.project-title {
  font-family: var(--header-text);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--off-white);
  font-size: clamp(1.1em, 3vw, 1.35em);
}

.project-meta {
  margin-top: 6px;
  color: rgba(240, 240, 240, 0.72);
  font-size: clamp(0.9em, 1.8vw, 0.98em);
}

.tech-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
  align-items: center;
}

.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(240, 240, 240, 0.78);
  font-size: 0.92em;
  line-height: 1;
}

.tech-pill img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.25));
}

/* Load More Button */
.load-more-container {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--off-white);
  font-size: 1em;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.load-more-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.16),
    rgba(255, 255, 255, 0.1)
  );
}

.load-more-btn ion-icon {
  font-size: 1.2em;
  transition: transform 0.25s ease;
}

.load-more-btn:hover ion-icon {
  transform: translateY(2px);
}

.load-more-btn.hidden {
  display: none;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: block;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  will-change: opacity;
}

.modal-dialog {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  margin: 90px auto 40px auto;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14),
    rgba(255, 255, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  transform-origin: center top;
  transform: translateY(12px);
  opacity: 0;
  will-change: transform, opacity;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(240, 240, 240, 0.9);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.modal-close ion-icon {
  font-size: 1.6em;
}

.modal-hero {
  background: rgba(0, 0, 0, 0.25);
  aspect-ratio: 16 / 9;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Carousel styles */
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.carousel-images {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  transition: transform 0.3s ease;
}

.carousel-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
}

.carousel-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: white;
  padding: 20px;
  font-size: 1.2em;
  font-weight: 600;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.carousel-title.show {
  opacity: 1;
  transform: translateY(0);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.carousel-arrow:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: rgba(255, 255, 255, 0.4);
}

.carousel-prev {
  left: 20px;
}

.carousel-next {
  right: 20px;
}

.carousel-arrow ion-icon {
  font-size: 1.5em;
}

.carousel-arrow:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.modal-body {
  padding: 18px 18px 22px 18px;
}

.modal-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
}

.modal-title {
  font-family: var(--header-text);
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0;
  font-size: 1.8em;
  color: var(--off-white);
}

.modal-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 204, 112, 0.95);
  font-weight: 800;
}

.modal-meta {
  margin: 10px 0 0 0;
  padding: 0;
  color: rgba(240, 240, 240, 0.78);
}

@media screen and (min-width: 900px) {
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media screen and (min-width: 1200px) {
  .projects-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Mobile responsive utilities */
@media screen and (max-width: 480px) {
  .banner {
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    padding: calc(clamp(68px, 16vw, 90px) + 24px) clamp(20px, 6vw, 28px)
      clamp(28px, 7vw, 44px);
  }

  .content h1 {
    line-height: 1.1;
    margin-block: 15px;
  }

  .content .hero-hire {
    display: block;
    width: 100%;
    margin-top: clamp(14px, 4vw, 18px);
    margin-bottom: clamp(18px, 5vw, 24px);
    margin-right: 0;
  }

  .content {
    margin-top: 0;
  }

  .section-header {
    max-width: 100%;
    padding: 0 clamp(16px, 3vw, 20px);
  }

  .about-grid {
    gap: 20px;
  }

  .about-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 14px 12px;
  }

  .service-card,
  .project-card {
    padding: 12px 12px;
  }

  .project-info,
  .service-desc {
    margin-top: 10px;
  }

  .modal-dialog {
    width: calc(100vw - 16px);
    margin: 20px auto;
    border-radius: 12px;
  }

  .modal-hero {
    aspect-ratio: 4 / 3;
  }

  .carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .carousel-prev {
    left: 8px;
  }

  .carousel-next {
    right: 8px;
  }
}

@media screen and (max-width: 767px) {
  .banner {
    min-height: 100vh;
    min-height: 100dvh;
    justify-content: center;
    padding-top: calc(clamp(68px, 14vw, 88px) + 28px);
    padding-bottom: clamp(28px, 7vw, 44px);
  }

  .content {
    width: 100%;
    max-width: 760px;
  }

  .header-top {
    min-height: 68px;
    padding: 10px 16px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    gap: 5px;
  }

  .menu-toggle span {
    width: 18px;
  }

  body.menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  body.menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  header .logo {
    width: clamp(62px, 8vw, 82px);
    height: clamp(62px, 8vw, 82px);
  }

  body.menu-open .header-top .logo {
    width: clamp(86px, 12vw, 120px);
    height: clamp(86px, 12vw, 120px);
  }

  .content h1 .intro-line,
  .content h1 .typed-line {
    display: block;
    margin-right: 0;
  }

  .content h1 .typed-line {
    margin-top: 0.1em;
  }

  .hero-process__grid {
    grid-template-columns: 1fr;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.1em;
    white-space: normal;
  }

  .section-title .reveal-word {
    display: block;
    width: 100%;
  }

  .header-top button:not(.menu-toggle) {
    padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 20px);
    font-size: clamp(0.85em, 1.8vw, 1em);
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .section-header {
    margin-bottom: 28px;
  }

  .load-more-btn {
    padding: clamp(12px, 2vw, 16px) clamp(20px, 4vw, 32px);
    font-size: clamp(0.9em, 1.8vw, 1em);
  }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
  .header-top {
    min-height: 76px;
    padding: 12px 20px;
  }

  .menu-toggle {
    width: 46px;
    height: 46px;
  }

  header .logo {
    width: clamp(66px, 8vw, 88px);
    height: clamp(66px, 8vw, 88px);
  }

  body.menu-open .header-top .logo {
    width: clamp(94px, 12vw, 132px);
    height: clamp(94px, 12vw, 132px);
  }
}
.service-card {
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--glass-strong), var(--glass));
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card .service-bg-icon {
  position: absolute;
  top: -16px;
  right: -16px;
  z-index: 0;
  font-size: 9rem;
  line-height: 1;
  opacity: 0.08;
  pointer-events: none;
  transform: rotate(14deg);
  color: var(--off-white);
}

.service-card .service-title,
.service-card .service-desc,
.service-card .service-points {
  z-index: 1;
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.14),
    rgba(180, 87, 87, 0.08)
  );
}

.service-title {
  font-family: var(--header-text);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--off-white);
  font-size: clamp(1.1em, 3vw, 1.4em);
}

.service-desc {
  margin: 10px 0 0 0;
  padding: 0;
  color: rgba(240, 240, 240, 0.82);
  line-height: 1.6;
}

.service-points {
  margin: 14px 0 0 0;
  padding-left: 18px;
  color: rgba(240, 240, 240, 0.75);
  line-height: 1.7;
  flex: 1;
}

@media screen and (min-width: 900px) {
  .about-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 34px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media screen and (min-width: 1200px) {
  .services-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/********** Themes **********/
body.night {
  background-color: var(--dark);
  color: var(--off-white);
}
body.night .content h2 {
  color: var(--off-white);
}

/********** Site Footer **********/
#site-footer {
  padding: 25px;
}

@media screen and (min-width: 650px) {
  #site-footer {
    padding: 50px;
  }
}

/***********Animation*************/
@keyframes spiral {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
