/* ===== Google Fonts Import ===== */
@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@600;700&family=Inter:wght@400;500&display=swap');

/* ===== Design tokens ===== */
:root {
  --navy: #0e355a;
  --navy-dark: #071f33;
  --navy-deep: #05121f;
  --gold: #e0a516;
  --gold-soft: #f6c754;
  --gold-bright: #ffc850;
  --cream: #f6f2e9;
  --ink: #1c2b38;
  --muted: #4c5762;
  --white: #ffffff;
  --border: rgba(14, 53, 90, 0.12);
  --shadow-sm: 0 6px 18px rgba(7, 31, 51, 0.08);
  --shadow-md: 0 18px 40px rgba(7, 31, 51, 0.14);
  --radius: 16px;
  --radius-lg: 22px;
  --header-h: 76px;
  --wa-green: #25d366;

  /* Typography Variables */
  --font-heading: 'Archivo', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --line-height-tight: 1.2;
  --line-height-base: 1.6;
  --line-height-relaxed: 1.75;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  /* Support safe areas on iOS */
  height: -webkit-fill-available;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  /* Ensure full viewport height on iOS Safari */
  min-height: 100vh;
  min-height: -webkit-fill-available;
  line-height: var(--line-height-base);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-weight: var(--weight-regular);
}

img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

a {
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: var(--line-height-tight);
  color: var(--navy);
  font-weight: var(--weight-bold);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 4vw + 1rem, 3.5rem);
}

h2 {
  font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem);
}

h3 {
  font-size: clamp(1.5rem, 2vw + 0.5rem, 2rem);
  font-weight: var(--weight-semibold);
}

h4 {
  font-size: clamp(1.25rem, 1.5vw + 0.5rem, 1.5rem);
  font-weight: var(--weight-semibold);
}

p {
  font-size: 1rem;
  line-height: var(--line-height-base);
  font-weight: var(--weight-regular);
}

strong, b {
  font-weight: var(--weight-medium);
}

ul, ol {
  font-family: var(--font-body);
  line-height: var(--line-height-base);
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.78rem;
  font-weight: var(--weight-bold);
  color: var(--gold);
  margin-bottom: 0.7rem;
  font-family: var(--font-heading);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  font-weight: var(--weight-semibold);
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  font-family: var(--font-heading);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: var(--navy-dark);
  box-shadow: 0 10px 24px rgba(224, 165, 22, 0.35);
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(224, 165, 22, 0.45);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

/* Outline button for light backgrounds (secondary action) */
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* Button row: consistent spacing between adjacent buttons */
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 31, 51, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header .nav {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 4vw;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand-logo {
  height: 75px;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text strong {
  color: var(--white);
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  font-size: 1.02rem;
  letter-spacing: 0.01em;
}

.brand-text small {
  color: var(--white);
  font-size: 0.72rem;
  font-weight: var(--weight-medium);
  letter-spacing: 0.04em;
  font-family: var(--font-body);
}

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

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-weight: var(--weight-semibold);
  font-size: 0.95rem;
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.18s ease;
  font-family: var(--font-heading);
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.22s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* WhatsApp button in header */
.wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--wa-green);
  color: var(--white);
  text-decoration: none;
  font-weight: var(--weight-bold);
  font-size: 0.9rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  font-family: var(--font-heading);
}

.wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(37, 211, 102, 0.5);
}

/* Burger */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #12456f);
  color: var(--white);
  overflow: hidden;
  padding: 4rem 0;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, rgba(5, 18, 31, 0.55), rgba(14, 53, 90, 0.42) 55%, rgba(18, 69, 111, 0.45)),
    radial-gradient(circle at 15% 90%, rgba(5, 18, 31, 0.35), transparent 55%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  margin-bottom: 1.2rem;
}

.hero-sub {
  font-size: 1.12rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold-bright);
  font-weight: var(--weight-bold);
}

.hero-stats span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ===== Page hero (subpages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--navy-deep), var(--navy) 55%, #12456f);
  color: var(--white);
  padding: 4rem 0 3.5rem;
}

.page-hero .eyebrow {
  color: var(--gold-bright);
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 4vw, 3rem);
  margin-bottom: 1rem;
}

.page-hero-sub {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.86);
  max-width: 620px;
}

/* ===== Values ===== */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: -3.5rem;
  position: relative;
  z-index: 5;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--gold);
}

.value-icon {
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
}

.value-card h3 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* ===== Sections ===== */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 2.5rem;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}

.about-copy .eyebrow {
  font-size: 1.15rem;
  color: var(--navy);
}

.about-copy h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1.2rem;
}

.about-copy p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  margin-top: 1.4rem;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.9rem;
  font-weight: var(--weight-semibold);
  color: var(--ink);
  font-family: var(--font-body);
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 1.3rem;
  height: 1.3rem;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.8rem;
  font-weight: 800;
}

.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  height: 100%;
  max-height: 460px;
}

/* Services */
/* Vision & Mission */
.vision {
  background: var(--cream);
}

.vision .eyebrow {
  font-size: 1.15rem;
  color: var(--navy);
}

.vision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.vision-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--gold);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.vision-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.vision-icon {
  font-size: 2rem;
  margin-bottom: 0.8rem;
}

.vision-card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.3rem;
}

.vision-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.services {
  background: var(--white);
}

.services .eyebrow {
  font-size: 1.15rem;
  color: var(--navy);
}

.services .section-head h2 {
  font-size: clamp(2rem, 3.4vw, 2.9rem);
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.card-media {
  height: 200px;
  overflow: hidden;
}

.card-media img {
  height: 100%;
  transition: transform 0.4s ease;
}

.card:hover .card-media img {
  transform: scale(1.06);
}

.card-body {
  padding: 1.5rem;
}

.card-body h3 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.card-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Projects */
.projects {
  background: linear-gradient(180deg, var(--cream), #eee6d5);
  overflow: hidden;
}

.projects .eyebrow {
  font-size: 1.15rem;
  color: var(--navy);
}

/* ===== Infinite Carousel (inside projects section) ===== */
.infinite-slider {
  background: transparent;
  margin: 2rem 0;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.infinite-slider::before,
.infinite-slider::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.infinite-slider::before {
  left: 0;
  top: 0;
  background: linear-gradient(to right, rgba(238, 230, 213, 1) 0%, rgba(238, 230, 213, 0) 100%);
}

.infinite-slider::after {
  right: 0;
  top: 0;
  background: linear-gradient(to left, rgba(238, 230, 213, 1) 0%, rgba(238, 230, 213, 0) 100%);
}

@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.infinite-slide-track {
  animation: infinite-scroll 25s linear infinite;
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.infinite-slide {
  flex-shrink: 0;
  height: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.infinite-slide:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(7, 31, 51, 0.2);
}

.infinite-slide img {
  height: 350px;
  width: auto;
  object-fit: cover;
  display: block;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16 / 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* 2-image layout (portrait-friendly, e.g. homepage Dokumentasi) */
.gallery-2 {
  grid-template-columns: repeat(2, 1fr);
  max-width: 720px;
  margin: 0 auto;
}

.gallery-2 .gallery-item {
  aspect-ratio: 3 / 4;
}

/* 3-column layout (e.g. gallery page) */
.gallery-4 {
  grid-template-columns: repeat(3, 1fr);
}

.gallery-4 .gallery-item {
  aspect-ratio: 4 / 3;
}

/* Contact */
.contact {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

/* ===== Infinite Carousel ===== */
.infinite-carousel-section {
  background: var(--cream);
  overflow: hidden;
}

.infinite-slider {
  background: var(--white);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.125);
  margin: 2rem auto;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 2rem 0;
}

.infinite-slider::before,
.infinite-slider::after {
  content: "";
  height: 100%;
  position: absolute;
  width: 200px;
  z-index: 2;
  pointer-events: none;
}

.infinite-slider::before {
  left: 0;
  top: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

.infinite-slider::after {
  right: 0;
  top: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
}

@keyframes infinite-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.infinite-slide-track {
  animation: infinite-scroll 40s linear infinite;
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.infinite-slide {
  flex-shrink: 0;
  height: auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.infinite-slide img {
  height: 350px;
  width: auto;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .infinite-slide img {
    height: 280px;
  }

  .infinite-slider::before,
  .infinite-slider::after {
    width: 100px;
  }
}

@media (max-width: 620px) {
  .infinite-slide img {
    height: 220px;
  }

  .infinite-slider::before,
  .infinite-slider::after {
    width: 50px;
  }

  .infinite-slide-track {
    gap: 1rem;
  }
}

.contact {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: var(--white);
}

.contact-copy .eyebrow {
  font-size: 1.15rem;
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.contact-copy h2 {
  color: var(--white);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  margin-bottom: 1rem;
}

.contact-copy p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.8rem;
  max-width: 460px;
}

.contact-list {
  list-style: none;
  display: grid;
  gap: 1.1rem;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
}

.contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--gold-bright);
  font-weight: 700;
}

.contact-list a,
.contact-list span:not(.contact-label) {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 500;
}

.contact-list a:hover {
  color: var(--gold-bright);
}

/* ===== Footer ===== */
.footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.82);
}

.footer .container {
  width: min(1400px, 96vw);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 0.8fr;
  gap: 3rem;
  padding: 3.5rem 0 2.5rem;
}

.footer-logo {
  height: 64px;
  width: auto;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 14px;
  border-radius: 8px;
}

.footer-brand p {
  max-width: 320px;
  font-size: 0.95rem;
}

.footer-links p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer h4 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.footer-contact p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.footer-contact a:hover {
  color: var(--gold-bright);
}

.social-icons {
  display: flex;
  gap: 0.8rem;
}

.social-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: var(--white);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.social-icon.ig {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon.wa {
  background: var(--wa-green);
}

.social-icon:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.3rem 0;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

/* ===== Reveal animation ===== */
.section,
.values {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .vision-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-links {
    order: -1;
  }
}

@media (max-width: 1100px) {
  .wa-btn span {
    display: none;
  }

  .wa-btn {
    padding: 0.6rem;
  }

  .brand-logo {
    height: 40px;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-dark);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open {
    max-height: 500px;
    padding: 1rem 0;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-link {
    display: block;
    width: 100%;
    padding: 0.9rem 4vw;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .nav-link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 620px) {
  .values {
    grid-template-columns: 1fr;
    margin-top: -2rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  /* Portfolio carousel slider for mobile */
  .portfolio-carousel-wrapper {
    max-width: 100%;
    margin: 0 auto;
  }

  .portfolio-swiper {
    width: 100%;
    padding-bottom: 3rem;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .portfolio-swiper .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .portfolio-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
  }

  /* Navigation arrows */
  .portfolio-swiper .swiper-button-prev,
  .portfolio-swiper .swiper-button-next {
    color: var(--gold);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    box-shadow: var(--shadow-sm);
  }

  .portfolio-swiper .swiper-button-prev:after,
  .portfolio-swiper .swiper-button-next:after {
    font-size: 18px;
    font-weight: bold;
  }

  /* Pagination dots */
  .portfolio-swiper .swiper-pagination {
    bottom: 0;
  }

  .portfolio-swiper .swiper-pagination-bullet {
    background: var(--gold);
    opacity: 0.4;
    width: 10px;
    height: 10px;
    margin: 0 4px;
  }

  .portfolio-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--gold);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .hero-stats {
    gap: 1.6rem;
  }
}

/* Hide carousel on desktop, show original gallery */
@media (min-width: 768px) {
  .portfolio-carousel-wrapper {
    display: none;
  }
}

/* Show carousel only on mobile */
@media (max-width: 767px) {
  .gallery-2 {
    display: none;
  }
}
