@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Syne:wght@700;800&display=swap");

:root {
  --fill-dark-1: #0a0a0a;
  --fill-dark-2: #00000000;

  --fill-light-1: #ffffff;
  --fill-light-2: #e0e7ee;

  --text-light-1: #1a1a1a;
  --text-light-2: #1a1a1ab2;
  --text-light-3: #0d1b2a;
  --text-light-4: #415a77;
  --text-light-5: #778da9;

  --text-dark-1: #d9d9d9;
  --text-dark-2: #d9d9d9cc;
  --text-dark-3: #d9d9d9;
  --text-dark-4: #d9d9d9b2;

  --accent-1: #36cec2;
  --accent-1-20-opactity: #36cec233;
  --accent-2: #36cec233;
  --accent-3: #0f766e33;
  --accent-4: #36cec299;

  --font-main: "Inter", sans-serif;
  --font-display: "Syne", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--text-light-1);
  background-color: var(--fill-light-1);
  overflow-x: hidden;
}

button {
  border-color: transparent;
  border-width: 0;
  background-color: transparent;
  cursor: pointer;
  display: inline-block;
}

section,
footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/* ─── Common styles ─── */

.margin-top-medium {
  margin-top: 48px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

.section-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--text-light-1);
}

.section-header p {
  margin-top: 0.9rem;
  color: var(--text-light-4);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  max-width: 60ch;
}

.font-weight-600 {
  font-weight: 600;
}

/* ─── Navbar ─── */

.app-navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 0 5%;
  height: 68px;
  display: flex;
  align-items: center;
  flex-direction: row;
  justify-content: space-between;
  z-index: 1000;
  transition:
    background-color 0.4s,
    box-shadow 0.4s;
}

.app-navbar--scrolled {
  background-color: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.app-navbar__logo {
  width: 160px;
  height: 36px;
  display: inline-block;
  flex-shrink: 0;
}

.app-navbar__links-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-direction: row;
}

.app-navbar__links-list--footer {
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  font-weight: 500;
}

.app-navbar__links-list--footer a {
  color: var(--text-light-4);
}

.app-navbar__links-list a {
  text-decoration: none;
  font-size: 15px;
  color: var(--text-light-3);
  transition: color 0.3s;
}

.app-navbar__links-list a:hover {
  color: var(--accent-1);
}

.app-navbar__theme-button {
  background-color: #36cec20d;
  padding: 10px;
  border-radius: 12px;
  cursor: pointer;
  transition: scale 0.3s;
  flex-shrink: 0;
}

.app-navbar__theme-button:hover {
  scale: 1.1;
}

.app-navbar__theme-button:active {
  scale: 0.9;
}

/* Hamburger */
.app-navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.app-navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-light-3);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s,
    width 0.3s;
  transform-origin: left center;
}

.app-navbar__hamburger.open span:nth-child(1) {
  transform: rotate(40deg) translateY(-1px);
}
.app-navbar__hamburger.open span:nth-child(2) {
  opacity: 0;
  width: 0;
}
.app-navbar__hamburger.open span:nth-child(3) {
  transform: rotate(-40deg) translateY(1px);
}

/* Mobile drawer */
.app-navbar__drawer {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: min(320px, 85vw);
  height: 100vh;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(20px);
  z-index: 1050;
  padding: 90px 2rem 2rem;
  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: -8px 0 40px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  gap: 2.5rem;
}

.app-navbar__drawer.open {
  transform: translateX(0);
}

.app-navbar__drawer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.app-navbar__drawer ul li a {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text-light-3);
  text-decoration: none;
  border-bottom: 1px solid #f0f0f0;
  transition:
    color 0.2s,
    padding-left 0.2s;
}

.app-navbar__drawer ul li a:hover {
  color: var(--accent-1);
  padding-left: 8px;
}

.app-navbar__overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1040;
  opacity: 0;
  transition: opacity 0.3s;
}

.app-navbar__overlay.open {
  opacity: 1;
}

/* ─── Header ─── */

.app-header {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 7rem 1.5rem 4rem;
}

.app-header__description {
  color: var(--text-light-2);
  font-size: clamp(1rem, 3vw, 1.4rem);
  max-width: 50ch;
}

.app-header h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 10vw, 6rem);
  line-height: 1.05;
  background: linear-gradient(
    135deg,
    var(--text-light-3) 0%,
    var(--accent-1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.app-header__buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 48px;
}

.app-header__button {
  background-color: var(--accent-1);
  font-size: clamp(15px, 2.5vw, 18px);
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 16px;
  transition: all 0.4s;
  color: var(--text-light-3);
  white-space: nowrap;
}

.app-header__button:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(54, 206, 194, 0.35);
}

.app-header__button--secondary {
  background-color: transparent;
  border: 2px solid var(--accent-1);
  color: var(--accent-1);
}

.app-header__triangle {
  width: 0;
  height: 0;
  border: solid 5px;
  border-color: transparent transparent var(--accent-1) transparent;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -999;
  transform-origin: 50% 90%;
  pointer-events: none;
}

/* ─── Services ─── */

#services {
  padding-bottom: 5rem;
  padding-left: 5%;
  padding-right: 5%;
}

#services header {
  text-align: center;
  padding: 0 1rem;
}

#services header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-light-3);
}

#services header p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  color: var(--text-light-4);
  margin-top: 14px;
  max-width: 55ch;
  margin-left: auto;
  margin-right: auto;
}

.services-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 1.5rem;
  margin-top: 3.5rem;
}

.services-section__card {
  border-width: 1px;
  border-style: solid;
  border-radius: 16px;
  padding: 2rem;
  border-color: var(--fill-light-2);
  transition:
    box-shadow 0.3s,
    transform 0.3s;
}

.services-section__card:hover {
  box-shadow: 0 8px 40px rgba(54, 206, 194, 0.12);
  transform: translateY(-4px);
}

.services-section__card h1 {
  color: var(--text-light-3);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.services-section__card p {
  color: var(--text-light-4);
  font-size: 0.95rem;
  line-height: 1.6;
}

.services-section__card-image {
  background: linear-gradient(135deg, var(--accent-2) 0%, var(--accent-3) 100%);
  width: min-content;
  padding: 14px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
}

/* Card animation */
.services-section__card {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.3s,
    background-color 0.3s;
}

.services-section__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Why Us ─── */

#why-us {
  padding: 5rem 5%;
  display: flex;
  flex-direction: row;
  gap: 5rem;
  align-items: center;
}

.why-us__description {
  display: flex;
  flex-direction: row;
  gap: 1rem;
  flex: 1;
  min-width: 0;
}

.why-us__header-description {
  flex: 1;
}

.why-us__header-description h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
}

.why-us__header-description p {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  margin-top: 1.5rem;
  color: var(--text-light-4);
  line-height: 1.7;
}

.why-us__line {
  background: linear-gradient(180deg, #36cec2 0%, #0f766e 100%);
  width: 4px;
  flex-shrink: 0;
  height: 4rem;
}

.why-us__description ul {
  margin-top: 2rem;
  list-style: none;
}

.why-us__description li {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 0.875rem;
  gap: 0.5rem;
}

.why-us__description li div {
  background-color: var(--accent-1-20-opactity);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 1000000px;
  flex-shrink: 0;
}

.why-us__description li span {
  font-size: 1.05rem;
  font-weight: 500;
}

.why-us__visual {
  flex: 1;
  min-width: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(210, 235, 233, 0.2) 100%
  );
  border-top: 0.8px solid #e0e7ee;
  border-radius: 1.5rem;
  backdrop-filter: blur(48px);
  position: relative;
  overflow: hidden;
}

.why-us__card-overlay {
  width: 100%;
  height: 100%;
  top: -1.2px;
  left: -1.2px;
  background: linear-gradient(180deg, #36cec2 0%, #0f766e 100%);
  opacity: 0.2;
  position: absolute;
  z-index: -1;
}

.why-us__header {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

.why-us__header p {
  color: var(--text-light-5);
  font-size: 0.875rem;
}

.why-us__balls {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
}

.why-us__ball {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 1000000px;
  background-color: var(--accent-4);
}

.why-us__ball:nth-child(2) {
  background-color: #0f766e99;
}

.why-us__ball:nth-child(3) {
  background-color: var(--text-dark-4);
}

.why-us__card-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 1.5rem;
}

.why-us__card-row {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.why-us__card-row div {
  flex: 1;
  background: linear-gradient(
    180deg,
    rgba(248, 250, 251, 0.9) 0%,
    rgba(255, 255, 255, 0.9) 100%
  );
  border-top: 0.8px solid #e0e7ee;
  border-radius: 1em;
  padding: 0.875rem;
  box-shadow: 0px 1px 3px 0px #0000001a;
}

.why-us__card-row h1 {
  color: var(--accent-1);
  font-size: 1.4rem;
  font-weight: 700;
}

.why-us__card-row p {
  color: var(--text-light-5);
  font-size: 0.875rem;
  font-weight: 500;
  margin-top: 0.2rem;
}

.why-us__code-section {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.why-us__code-section div {
  height: 0.65rem;
  border-radius: 1rem;
  background: linear-gradient(180deg, #36cec2 0%, #0f766e 100%);
  box-shadow: 0px 1px 3px 0px #0000001a;
  width: 0;
}

/* Why Us animations */
.why-us__line {
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us__header-description h1 {
  opacity: 0;
  transform: translateX(-32px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us__header-description p {
  opacity: 0;
  transform: translateX(-24px);
  transition:
    opacity 0.7s ease 0.15s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.why-us__header-description ul li {
  opacity: 0;
  transform: translateX(-20px);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.why-us__visual {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity 0.8s ease 0.3s,
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.3s;
}

.why-us__card-row div {
  opacity: 0;
  transform: scale(0.88);
  transition:
    opacity 0.5s ease,
    transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.why-us__card-row div h1 {
  display: inline-block;
}

.why-us__code-section div {
  transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  overflow: hidden;
}

#why-us.is-visible .why-us__line {
  transform: scaleY(1);
}

#why-us.is-visible .why-us__header-description h1,
#why-us.is-visible .why-us__header-description p {
  opacity: 1;
  transform: translateX(0);
}

#why-us.is-visible .why-us__header-description ul li {
  opacity: 1;
  transform: translateX(0);
}

#why-us.is-visible .why-us__visual {
  opacity: 1;
  transform: translateY(0);
}

#why-us.is-visible .why-us__card-row div {
  opacity: 1;
  transform: scale(1);
}

/* ─── Our Process ─── */

#our-process {
  padding: 5rem 5%;
}

#our-process header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 1rem;
}

#our-process header h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  color: var(--text-light-1);
}

#our-process header p {
  margin-top: 0.9rem;
  color: var(--text-light-4);
  font-size: clamp(1rem, 2.5vw, 1.125rem);
}

#our-process main {
  margin-top: 4rem;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.our-process__card {
  padding: 1.5rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 1.5rem;
  box-shadow: 0px 1px 3px 0px #0000001a;
  z-index: 10;
  text-align: center;
}

.our-process__card > div {
  position: relative;
  padding: 0.5rem;
  border-radius: 0.5rem;
}

.our-process__card__number {
  border: 2px solid var(--accent-1);
  border-radius: 2000px;
  height: 2rem;
  width: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: -1rem;
  top: -1rem;
  font-weight: 700;
  color: var(--accent-1);
  background-color: var(--fill-light-1);
  font-size: 0.875rem;
}

.our-process__card h1 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-top: 1.2rem;
}

.our-process__card p {
  font-size: 0.85rem;
  margin-top: 0.5rem;
  text-align: center;
  color: var(--text-light-4);
  line-height: 1.5;
}

.our-process__line {
  align-self: center;
  height: 0.2rem;
  width: 2rem;
  flex-shrink: 0;
  background-color: var(--accent-1);
}

/* Process animations */
#our-process header h1 {
  opacity: 0;
  transform: translateY(-20px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

#our-process header p {
  opacity: 0;
  transform: translateY(-12px);
  transition:
    opacity 0.7s ease 0.15s,
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

#our-process.is-visible header h1,
#our-process.is-visible header p {
  opacity: 1;
  transform: translateY(0);
}

.our-process__card {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.6s ease,
    transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.our-process__card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.our-process__card__number {
  opacity: 0;
  transform: scale(0);
  transition:
    opacity 0.4s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.our-process__card.is-visible .our-process__card__number {
  opacity: 1;
  transform: scale(1);
}

.our-process__line {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition:
    opacity 0.4s ease,
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.our-process__line.is-visible {
  opacity: 1;
  transform: scaleX(1);
}

/* ─── CTA ─── */

#cta {
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.15) 0%,
    #fefeff 50%,
    rgba(54, 206, 194, 0.15) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.cta__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.75rem);
  font-weight: 800;
  max-width: 20ch;
  line-height: 1.1;
}

.cta__button {
  margin-top: 2.5rem;
  color: var(--fill-light-1);
  background-color: rgb(15, 118, 110);
  font-size: 1rem;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 2rem;
  transition:
    background-color 0.2s,
    transform 0.2s,
    box-shadow 0.2s;
}

.cta__button:hover {
  background-color: rgba(54, 206, 194, 1);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(54, 206, 194, 0.3);
}

/* ─── Footer ─── */

#footer {
  margin: 0 5%;
}

.footer__main {
  padding: 0 1rem;
  display: flex;
  flex-direction: row;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer__company-description {
  flex: 2;
  min-width: 200px;
}

.footer__company-description img {
  height: 3.5rem;
  width: auto;
  max-width: 180px;
}

.footer__company-description p {
  color: var(--text-light-4);
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.6;
  max-width: 32ch;
}

.footer__quick-links {
  flex: 1;
  min-width: 120px;
}

.footer__quick-links h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light-3);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__contact-us {
  flex: 1.5;
  min-width: 200px;
}

.footer__contact-us ul {
  list-style: none;
}

.footer__contact-us li {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  margin: 0.875rem 0;
  color: #415a77;
  font-size: 0.9rem;
}

.footer__contact-us li img {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}

.footer__contact-us h3 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light-3);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__footer {
  margin-top: 2.5rem;
  border-top: 0.8px solid #e0e7ee;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__footer h4 {
  color: #778da9;
  font-weight: 400;
  font-size: 0.875rem;
}

.footer__icons {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
}

.footer__icons div {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border-top: 0.8px solid #e0e7ee;
  box-shadow: 0px 1px 3px 0px #0000001a;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  cursor: pointer;
}

.footer__icons div:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ─── Keyframes ─── */

@keyframes rotate-right {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes fadeSlideDown {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ════════════════════════════════════════
   RESPONSIVE BREAKPOINTS
   ════════════════════════════════════════ */

/* ─── Large tablets / small laptops (≤ 1024px) ─── */
@media (max-width: 1024px) {
  #why-us {
    gap: 3rem;
  }

  .why-us__card-row h1 {
    font-size: 1.2rem;
  }
}

/* ─── Tablets (≤ 768px) ─── */
@media (max-width: 768px) {
  section,
  footer {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  /* Navbar: show hamburger, hide links */
  .app-navbar__links-list {
    display: none;
  }

  .app-navbar__hamburger {
    display: flex;
  }

  .app-navbar__drawer {
    display: flex;
  }

  .app-navbar__overlay {
    display: block;
  }

  /* Why Us: stack vertically */
  #why-us {
    flex-direction: column;
    gap: 3rem;
    padding: 4rem 5%;
  }

  .why-us__description {
    width: 100%;
  }

  .why-us__visual {
    width: 100%;
  }

  /* Process: scroll horizontally on tablet */
  #our-process main {
    overflow-x: auto;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--accent-1) transparent;
  }

  .our-process__card {
    min-width: 160px;
    max-width: 180px;
  }
}

/* ─── Mobile (≤ 640px) ─── */
@media (max-width: 640px) {
  .app-navbar {
    padding: 0 4%;
    height: 60px;
  }

  .app-navbar__logo {
    width: 130px;
    height: 30px;
  }

  /* Header */
  .app-header {
    padding: 5rem 1.25rem 3rem;
  }

  .margin-top-medium {
    margin-top: 32px;
  }

  .app-header__buttons {
    gap: 0.6rem;
    margin-top: 32px;
  }

  .app-header__button {
    padding: 12px 22px;
    font-size: 15px;
    border-radius: 14px;
  }

  /* Services */
  #services {
    padding-left: 4%;
    padding-right: 4%;
  }

  .services-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 2.5rem;
  }

  /* Why Us */
  #why-us {
    padding: 4rem 4%;
  }

  .why-us__header-description h1 {
    font-size: 2rem;
  }

  .why-us__card-grid {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .why-us__code-section {
    padding: 0.75rem 1rem 1.25rem;
  }

  /* Process: vertical stack on mobile */
  #our-process {
    padding: 4rem 4%;
  }

  #our-process main {
    flex-direction: column;
    overflow-x: visible;
    gap: 0;
    margin: 0;
    margin-top: 2.5rem;
    align-items: stretch;
  }

  .our-process__card {
    max-width: 100%;
    min-width: unset;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    border-radius: 1rem;
    padding: 1.25rem;
    gap: 1rem;
  }

  .our-process__card > div {
    flex-shrink: 0;
  }

  .our-process__card h1 {
    margin-top: 0;
    font-size: 1.05rem;
  }

  .our-process__card p {
    text-align: left;
    font-size: 0.85rem;
    width: 100%;
  }

  .our-process__card .our-process__card-text {
    display: flex;
    flex: 1;
    flex-direction: column;
  }

  /* Vertical connector line between cards */
  .our-process__line {
    width: 2px;
    height: 1.5rem;
    align-self: flex-start;
    margin-left: calc(1.25rem + 22px); /* aligns under icon */
    transform-origin: top;
    transform: scaleY(0);
  }

  .our-process__line.is-visible {
    transform: scaleY(1);
  }

  /* CTA */
  #cta {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .cta__button {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  /* Footer */
  #footer {
    margin: 0 4%;
  }

  .footer__main {
    flex-direction: column;
    gap: 2rem;
    padding: 0;
  }

  .footer__company-description,
  .footer__quick-links,
  .footer__contact-us {
    min-width: 0;
    width: 100%;
  }

  .footer__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem 0;
  }
}

/* ─── Tiny phones (≤ 380px) ─── */
@media (max-width: 380px) {
  .app-header h1 {
    font-size: 2.4rem;
  }

  .app-header__buttons {
    flex-direction: column;
    align-items: center;
  }

  .app-header__button {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .why-us__card-row h1 {
    font-size: 1.1rem;
  }
}

/* ════════════════════════════════════════
   DARK THEME
   ════════════════════════════════════════ */

body.dark {
  --fill-light-1: #0f1117;
  --fill-light-2: #1e2330;

  --text-light-1: #e8eaf0;
  --text-light-2: #e8eaf0b3;
  --text-light-3: #c8d0e0;
  --text-light-4: #8899b4;
  --text-light-5: #5a6e8a;

  --accent-2: #36cec21a;
  --accent-3: #0f766e1a;

  background-color: var(--fill-light-1);
  color: var(--text-light-1);
}

/* Navbar */
body.dark .app-navbar--scrolled {
  background-color: rgba(15, 17, 23, 0.92);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

body.dark .app-navbar__hamburger span {
  background: var(--text-light-3);
}

/* Mobile drawer */
body.dark .app-navbar__drawer {
  background: rgba(15, 17, 23, 0.97);
}

body.dark .app-navbar__drawer ul li a {
  color: var(--text-light-3);
  border-bottom-color: #1e2330;
}

/* Header */
body.dark .app-header h1 {
  background: linear-gradient(135deg, #c8d0e0 0%, var(--accent-1) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Services cards */
body.dark .services-section__card {
  background-color: #131720;
  border-color: #1e2330;
}

body.dark .services-section__card:hover {
  box-shadow: 0 8px 40px rgba(54, 206, 194, 0.08);
  border-color: #36cec240;
}

/* Why Us */
body.dark #why-us {
  background-color: var(--fill-light-1);
}

body.dark .why-us__visual {
  background: linear-gradient(
    135deg,
    rgba(20, 25, 38, 0.95) 0%,
    rgba(15, 118, 110, 0.08) 100%
  );
  border-top-color: #1e2330;
}

body.dark .why-us__card-row div {
  background: linear-gradient(
    180deg,
    rgba(20, 25, 38, 0.95) 0%,
    rgba(25, 30, 46, 0.95) 100%
  );
  border-top-color: #1e2330;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.4);
}

/* Process cards */
body.dark .our-process__card {
  background-color: #131720;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.4);
}

body.dark .our-process__card__number {
  background-color: var(--fill-light-1);
}

/* CTA */
body.dark #cta {
  background: linear-gradient(
    135deg,
    rgba(15, 118, 110, 0.12) 0%,
    rgba(15, 17, 23, 1) 50%,
    rgba(54, 206, 194, 0.1) 100%
  );
}

/* Footer */
body.dark .footer__footer {
  border-top-color: #1e2330;
}

body.dark .footer__icons div {
  background-color: #131720;
  border-top-color: #1e2330;
  box-shadow: 0px 1px 3px 0px rgba(0, 0, 0, 0.4);
}

body.dark .footer__footer h4 {
  color: var(--text-light-5);
}

body.dark .footer__contact-us li {
  color: var(--text-light-4);
}

/* Theme button glow in dark */
body.dark .app-navbar__theme-button {
  background-color: #36cec21a;
}

/* Smooth theme transition on everything */
body,
body *,
body *::before,
body *::after {
  transition-property: background-color, border-color, color, box-shadow;
  transition-duration: 0.3s;
  transition-timing-function: ease;
}

/* But don't override animation transitions — scope only to theme-sensitive props */
body .app-header__triangle,
body .services-section__card,
body .why-us__line,
body .why-us__header-description h1,
body .why-us__header-description p,
body .why-us__header-description ul li,
body .why-us__visual,
body .why-us__card-row div,
body .why-us__code-section div,
body .our-process__card,
body .our-process__card__number,
body .our-process__line {
  transition-property:
    opacity, transform, width, background-color, border-color, color, box-shadow;
}

/* ─── Reduced motion ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
