/* --- FORM INPUT VISIBILITY FIX FOR LIGHT MODE --- */
body.light input,
body.light textarea {
  color: #222 !important;
  background: #fff !important;
  border: 1.5px solid #b3c6e6 !important;
  font-weight: 500;
}
body.light input::placeholder,
body.light textarea::placeholder {
  color: #888 !important;
  opacity: 1 !important;
}
/* --- LANGUAGE SWITCH BUTTONS --- */
.lang-btn {
  padding: 4px 12px;
  border-radius: 6px;
  border: 1.5px solid #b3c6e6;
  background: #fff;
  color: #2563eb;
  font-weight: 700;
  font-size: 0.95em;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.lang-btn.active,
.lang-btn:focus {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
  outline: none;
}
body.dark .lang-btn {
  background: #222e3a;
  color: #90b4fa;
  border-color: #3a4a6b;
}
body.dark .lang-btn.active,
body.dark .lang-btn:focus {
  background: #90b4fa;
  color: #222e3a;
  border-color: #90b4fa;
}
/* --- BUTTON VISIBILITY FIX FOR LIGHT MODE --- */
body.light .btn,
body.light .btn.primary,
body.light .btn.outline {
  color: #222 !important;
  background: #fff !important;
  border: 1.5px solid #b3c6e6 !important;
  font-weight: 700 !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  background-image: none !important;
  transition: none !important;
}
body.light .btn.primary {
  color: #2563eb !important;
  border-color: #2563eb !important;
}
body.light .btn.outline {
  color: #2563eb !important;
  border-color: #2563eb !important;
}
body.light .btn:disabled,
body.light .btn.primary:disabled,
body.light .btn.outline:disabled {
  color: #b3c6e6 !important;
  background: #fff !important;
  border: 1.5px solid #b3c6e6 !important;
  opacity: 1 !important;
}
body.light button[type="submit"].btn.primary:disabled {
  color: #222 !important;
  background: #fff !important;
  border: 1.5px solid #b3c6e6 !important;
  font-weight: 700 !important;
}
body.light button[type="submit"].btn.primary:disabled {
  background: #fff !important;
  color: #222 !important;
  border: 1.5px solid #b3c6e6 !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  background-image: none !important;
  transition: none !important;
}
/* ================= Base / Theming ================= */
html {
  color-scheme: dark light;
}
:root {
  --bg: #0f1115;
  --bg-alt: #161a21;
  --layer: #141a23;
  --layer-soft: #1a222d;
  --text: #e6ebf1;
  --text-dim: #97a4b9;
  --text-faint: #607089;
  --accent: #4f8cff;
  --accent-rgb: 79 140 255;
  --radius: 16px;
  --border: #263041;
  --border-soft: #1e2733;
  --danger: #ff4d61;
  --success: #38c172;
  --shadow-color: 210deg 37% 6%;
  --easing: cubic-bezier(0.4, 0, 0.2, 1);
  --fadein: 0.75s var(--easing);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen;
}
body.light {
  --bg: #f5f9ff;
  --bg-alt: #ecf3fb;
  --layer: #ffffff;
  --layer-soft: #f1f6fc;
  --text: #1c2434;
  --text-dim: #566784;
  --text-faint: #8594a8;
  --accent: #2563eb;
  --accent-rgb: 37 99 235;
  --border: #c2d4ea;
  --border-soft: #d8e5f3;
  --shadow-color: 214deg 35% 55%;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.photo-profile {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #8594a8;
  background: transparent;
  box-shadow: none;
  display: block;
  margin: 0 0 24px 0;
  opacity: 1;
}

.hero-inner {
  display: flex;
  align-items: center;
  gap: 48px;
}
.hero-image {
  flex: 0 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}
.hero-text {
  flex: 1 1 0%;
}

img {
  max-width: 100%;
  display: block;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
.container {
  width: min(1160px, 92%);
  margin: 0 auto;
}

/* Responsive Google Form embed */
.pre-booking-form {
  max-width: 680px;
  margin: 0 auto 2.5rem;
  background: var(--layer);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: clamp(8px, 1.8vw, 16px);
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
}
.pre-booking-form .gform-iframe {
  width: 100%;
  height: min(80vh, 1100px);
  min-height: 520px;
  border: 0;
  display: block;
  background: transparent;
}
@media (max-width: 600px) {
  .pre-booking-form {
    padding: 8px;
    border-radius: 12px;
  }
  .pre-booking-form .gform-iframe {
    min-height: 620px; /* Google Form cenderung tinggi di mobile */
  }
}

/* Scrollbar (WebKit) */
body::-webkit-scrollbar {
  width: 10px;
}
body::-webkit-scrollbar-track {
  background: var(--bg);
}
body::-webkit-scrollbar-thumb {
  background: linear-gradient(var(--bg-alt), rgba(var(--accent-rgb) / 0.6));
  border-radius: 20px;
}

/* ================= Header / Nav ================= */
.site-header {
  position: sticky;
  top: 0;
  display: block;
  backdrop-filter: blur(14px);
  background: rgba(17, 22, 30, 0.72);
  border-bottom: 1px solid var(--border-soft);
  z-index: 80;
  transition: background 0.4s var(--easing), border-color 0.4s var(--easing);
}
body.light .site-header {
  background: rgba(255, 255, 255, 0.82);
}
.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 0.85rem 0;
}
.brand {
  display: flex;
  align-items: center;
  font-weight: 600;
  letter-spacing: 0.5px;
  font-size: 1rem;
  position: relative;
}
.brand-title {
  margin-left: 10px;
}
.brand:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 24px;
  height: 3px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0.8;
}
.nav {
  display: flex;
  align-items: center;
}
.nav a {
  margin-left: 2rem;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  position: relative;
  color: var(--text-dim);
  transition: color 0.3s;
}
body.light .nav a {
  color: var(--text-faint);
}
body.light .nav a:hover,
body.light .nav a:focus {
  color: var(--text);
}
.nav a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.35s var(--easing);
  border-radius: 2px;
}
.nav a:hover,
.nav a:focus {
  color: var(--text);
}
.nav a:hover:after,
.nav a:focus:after {
  width: 100%;
}
.nav-toggle,
.mode-toggle {
  background: var(--layer-soft);
  border: 1px solid var(--border);
  color: var(--text-dim);
  padding: 0.5rem 0.75rem;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: 0.3s background, 0.3s color, 0.3s border-color, 0.3s transform;
}
.nav-toggle:hover,
.mode-toggle:hover {
  background: var(--layer);
  color: var(--text);
}
.nav-toggle:active,
.mode-toggle:active {
  transform: translateY(2px);
}
.nav-toggle {
  display: none;
  background: var(--layer-soft);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 6px 8px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column; /* stack bars vertically */
  gap: 4px;
  height: 36px;
  min-width: 36px;
  transition: box-shadow 0.2s, background 0.2s, border-color 0.2s;
}
.nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0; /* gap handles spacing */
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.2s ease, width 0.2s ease;
}
/* Hamburger -> X animation */
.nav-toggle.active .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle.active .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}
.nav-toggle.active .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}
@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
    z-index: 250;
  }
  /* Header layout tweaks for mobile/tablet */
  .nav-wrapper {
    justify-content: space-between;
    gap: 1rem;
  }
  .nav-toggle {
    margin-left: auto;
    margin-right: 6px;
  }
  .lang-toggle {
    margin: 0;
    gap: 6px;
  }
  .lang-toggle .lang-btn {
    padding: 4px 10px;
    font-size: 0.85rem;
  }
}
.mode-toggle {
  margin-left: 1rem;
}
body.light .mode-toggle {
  background: var(--layer-soft);
}

@media (max-width: 880px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip; /* stronger for some webviews (incl. Instagram) */
    overscroll-behavior-x: none; /* prevent horizontal overscroll */
    touch-action: pan-y; /* restrict to vertical panning */
  }
  .nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 80vw;
    max-width: 320px;
    min-width: 240px;
    flex-direction: column;
    background: var(--layer);
    border-left: 1px solid var(--border);
    padding: 6rem 1.75rem 2rem;
    box-shadow: -8px 0 24px -12px rgba(0, 0, 0, 0.4);
    transform: translate3d(100%, 0, 0); /* keep fully off-screen */
    transition: transform 0.45s var(--easing), visibility 0s linear 0.45s;
    overflow-y: auto;
    z-index: 200;
    will-change: transform, clip-path;
    visibility: hidden;
    pointer-events: none;
    contain: layout paint size; /* isolate paint to avoid peek */
    /* Extra guard for stubborn webviews (Instagram, FB): fully clip when closed */
    clip-path: inset(0 0 0 100%);
  }
  body.light .nav {
    box-shadow: -6px 0 18px -10px rgba(0, 0, 0, 0.15);
  }
  .nav.open {
    transform: translate3d(0, 0, 0);
    visibility: visible;
    pointer-events: auto;
    transition: transform 0.45s var(--easing), visibility 0s;
    clip-path: inset(0 0 0 0);
  }
  .nav a {
    margin: 0 0 1.2rem;
    width: 100%;
    text-align: left;
    font-size: 1.05rem;
    padding: 0.6rem 0;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  }
  .nav-toggle {
    display: inline-flex;
    z-index: 250;
  }
  .nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 150;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  body.nav-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* ================= Hero ================= */
.hero {
  min-height: 86vh;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
}
.hero:before,
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero:before {
  background: radial-gradient(
      circle at 70% 30%,
      rgba(var(--accent-rgb) / 0.18),
      transparent 55%
    ),
    radial-gradient(
      circle at 10% 80%,
      rgba(var(--accent-rgb) / 0.15),
      transparent 60%
    );
  opacity: 0.9;
}
.hero:after {
  background: linear-gradient(
    to bottom,
    rgba(15, 17, 21, 0) 0%,
    var(--bg) 100%
  );
  mix-blend-mode: overlay;
  opacity: 0.6;
}
.hero-inner {
  padding: 4.5rem 0 2rem;
}
.hero-text h1 {
  margin: 0 0 1.2rem;
  font-size: clamp(2.35rem, 5.6vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: 0.5px;
}
.accent {
  background: linear-gradient(
    92deg,
    var(--accent) 0%,
    rgba(var(--accent-rgb) / 0.55) 65%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: 1.1rem;
  max-width: 58ch;
  color: var(--text-dim);
}
.hero-cta {
  margin: 2.1rem 0 1.4rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.badge {
  background: var(--layer-soft);
  border: 1px solid var(--border);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  color: var(--text-dim);
  backdrop-filter: blur(4px);
}
.scroll-indicator {
  position: absolute;
  bottom: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  letter-spacing: 0.4px;
  color: #2563eb;
  animation: floatY 3.5s ease-in-out infinite;
}
@keyframes floatY {
  0%,
  100% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -10px);
  }
}

/* ================= Sections & Reveal ================= */
.section {
  padding: 5rem 0;
  position: relative;
}
.section.alt {
  background: var(--bg-alt);
}
.section-title {
  margin: 0 0 1rem;
  font-size: 2.15rem;
  letter-spacing: 0.4px;
}
.section-intro {
  margin: 0 0 2.6rem;
  color: var(--text-dim);
  max-width: 72ch;
}
.note {
  font-size: 0.78rem;
  opacity: 0.65;
  margin-top: 2rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(46px) scale(0.985);
  transition: opacity 0.8s var(--easing), transform 0.8s var(--easing);
  will-change: opacity, transform;
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}
[data-reveal="up"] {
  transform: translateY(56px);
}

/* ================= Projects ================= */
.projects-grid {
  display: grid;
  gap: 2.1rem;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.project-card {
  background: var(--layer);
  border: 1px solid var(--border);
  padding: 1.5rem 1.4rem 1.8rem;
  border-radius: calc(var(--radius) + 2px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.4s var(--easing), transform 0.5s var(--easing),
    box-shadow 0.5s var(--easing);
}
.project-card:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 120% -10%,
    rgba(var(--accent-rgb) / 0.35),
    transparent 55%
  );
  opacity: 0;
  transition: opacity 0.6s var(--easing);
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(var(--accent-rgb) / 0.6);
  box-shadow: 0 8px 28px -10px rgba(var(--accent-rgb) / 0.35);
}
.project-card:hover:before {
  opacity: 1;
}
.project-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.05rem;
  letter-spacing: 0.4px;
  color: var(--text);
}
.project-card p {
  margin: 0 0 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.45;
}
.project-card .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 1rem;
}
.project-card .tags span {
  background: var(--layer-soft);
  border: 1px solid var(--border);
  padding: 0.3rem 0.6rem;
  border-radius: 7px;
  font-size: 0.62rem;
  letter-spacing: 0.6px;
  color: var(--text-dim);
}
.project-card .actions {
  display: flex;
  gap: 0.55rem;
  flex-wrap: wrap;
}
.project-card .details {
  margin-top: 1rem;
  font-size: 0.78rem;
  color: var(--text-faint);
  animation: fadeIn 0.45s var(--easing);
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= Timeline ================= */
.timeline {
  position: relative;
  margin: 2.2rem 0;
}
.timeline:before {
  content: "";
  position: absolute;
  left: 10px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(
    var(--accent),
    var(--accent) 40%,
    var(--border) 40%,
    var(--border)
  );
  background-size: 100% 26px;
}
.timeline-item {
  position: relative;
  padding: 0 0 2.3rem 2.55rem;
}
.timeline-item:last-child {
  padding-bottom: 0;
}
.timeline-item:before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--bg-alt),
    0 2px 8px -2px rgba(var(--accent-rgb) / 0.8);
}
.timeline-item .time {
  font-size: 0.67rem;
  text-transform: uppercase;
  letter-spacing: 1.1px;
  color: var(--text-faint);
  margin-bottom: 0.25rem;
}
.timeline-item h3 {
  margin: 0.25rem 0 0.55rem;
  font-size: 1rem;
}
.timeline-item ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}
.timeline-item li {
  margin: 0.32rem 0;
  font-size: 0.83rem;
  line-height: 1.45;
  color: var(--text-dim);
}

/* ================= Contact ================= */
.pre-booking-form {
  max-width: 580px;
  background: var(--layer);
  padding: 2rem 1.7rem 2.2rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 4px 18px -8px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
}
.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.05rem;
}
.form-row label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 0.4rem;
  color: var(--text-faint);
  font-weight: 600;
}
input,
textarea {
  background: var(--layer-soft);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.75rem 0.85rem;
  font: inherit;
  border-radius: 12px;
  resize: vertical;
  transition: 0.25s background, 0.25s border-color;
}
input:focus,
textarea:focus {
  outline: 2px solid rgba(var(--accent-rgb) / 0.55);
  border-color: rgba(var(--accent-rgb) / 0.9);
}
.error {
  color: var(--danger);
  font-size: 0.63rem;
  min-height: 14px;
  padding-top: 0.25rem;
}
.booking-wrapper {
  margin-top: 3.2rem;
}
.embed-ratio {
  position: relative;
  width: 100%;
  padding-bottom: 66vh;
  min-height: 500px;
}
.embed-ratio iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-alt);
}
.smaller {
  font-size: 0.72rem;
  opacity: 0.7;
  margin: -0.3rem 0 1.2rem;
}

/* ================= Buttons ================= */
.btn {
  --btn-bg: var(--layer-soft);
  --btn-color: var(--text);
  --btn-border: var(--border);
  background: var(--btn-bg);
  color: var(--btn-color);
  border: 1px solid var(--btn-border);
  padding: 0.7rem 1.05rem;
  border-radius: 14px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.35px;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  cursor: pointer;
  text-decoration: none;
  transition: 0.35s background, 0.35s color, 0.35s border-color, 0.4s box-shadow,
    0.3s transform;
  position: relative;
}
.btn.primary {
  --btn-bg: linear-gradient(
    94deg,
    var(--accent),
    rgba(var(--accent-rgb) / 0.8)
  );
  --btn-color: #fff;
  border: 1px solid rgba(var(--accent-rgb) / 0.7);
  box-shadow: 0 4px 18px -6px rgba(var(--accent-rgb) / 0.55);
}
.btn.primary:hover {
  filter: brightness(1.08);
  box-shadow: 0 6px 26px -6px rgba(var(--accent-rgb) / 0.7);
}
.btn.outline {
  background: rgba(var(--accent-rgb) / 0.08);
  color: var(--accent);
  border: 1px solid rgba(var(--accent-rgb) / 0.45);
}
.btn.outline:hover {
  background: rgba(var(--accent-rgb) / 0.14);
  border-color: rgba(var(--accent-rgb) / 0.6);
}
.btn.ghost {
  background: var(--layer-soft);
}
.btn.ghost:hover {
  background: var(--layer);
}
.btn.small {
  padding: 0.55rem 0.75rem;
  font-size: 0.68rem;
}
.btn:active {
  transform: translateY(2px);
}
.btn:focus-visible {
  outline: 3px solid rgba(var(--accent-rgb) / 0.55);
  outline-offset: 2px;
}
body.light .btn {
  --btn-bg: var(--layer-soft);
}
body.light .btn.outline {
  background: #fff;
  color: var(--accent);
  border: 1.5px solid var(--accent);
  font-weight: 600;
}
body.light .btn.outline:disabled,
body.light .btn.primary:disabled {
  background: #fff !important;
  color: #2563eb !important;
  border: 1.5px solid #2563eb !important;
  font-weight: 700 !important;
  opacity: 1 !important;
  box-shadow: none !important;
  filter: none !important;
  text-shadow: none !important;
  background-image: none !important;
}
/* Disabled states */
.btn:disabled,
.btn[disabled] {
  cursor: not-allowed;
  opacity: 1;
  filter: none;
  box-shadow: none;
}
.btn.primary:disabled {
  background: var(--layer-soft);
  color: var(--text-dim);
  border: 1px solid var(--border);
}
.btn.outline:disabled {
  background: var(--layer-soft);
  color: var(--text-faint);
  border: 1px solid var(--border);
}
.btn.ghost:disabled {
  background: var(--layer-soft);
  color: var(--text-faint);
}

/* ================= Footer ================= */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--bg-alt);
  padding: 2.4rem 0;
  margin-top: 3rem;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.74rem;
  color: var(--text-faint);
}
.socials {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}
.socials a {
  font-size: 0.74rem;
  color: var(--text-faint);
}
.socials a:hover {
  color: var(--accent);
}
body.light .site-footer {
  background: var(--bg-alt);
}

/* ================= Utilities ================= */
.hidden {
  display: none !important;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ================= Responsive ================= */
@media (max-width: 640px) {
  .hero {
    min-height: 74vh;
  }
  .hero-text h1 {
    font-size: clamp(2.1rem, 7vw, 3rem);
  }
  .projects-grid {
    gap: 1.5rem;
  }
  .section {
    padding: 4.2rem 0;
  }
}

/* Cleaned duplicate invalid nested CSS removed at end of file */

/* Responsive for tablet */
@media (max-width: 900px) {
  .hero-inner {
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 2.5rem 0 1.5rem;
  }
  .hero-image {
    justify-content: center;
    width: 100%;
  }
  .hero-text {
    text-align: center;
  }
  .container {
    width: 98%;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* Responsive for mobile */
@media (max-width: 480px) {
  .hero-inner {
    gap: 18px;
    padding: 1.2rem 0 0.8rem;
  }
  .hero-text h1 {
    font-size: 1.5rem;
  }
  .container {
    width: 100%;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
  }
  .photo-profile {
    width: 120px;
    height: 120px;
    margin-bottom: 16px;
  }
  body {
    overflow-x: hidden;
  }
}
