/* Base reset for predictable sizing */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ScrollSmoother wrappers */
#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

#smooth-content {
  overflow: visible;
  width: 100%;
}

/* Core page styles */
body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: #050a08;
  color: #e6f0eb;
  line-height: 1.5;
}

/* Wrapper to control layout width */
.page {
  max-width: 100%;
  margin: 0 auto;
  padding: 110px 32px 80px; /* Added top padding to account for fixed header */
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 32px;
  background: rgba(5, 10, 8, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}


.logo {
  display: flex;
  align-items: center;
  height: 38px;
  gap: 10px;
  color: #7be0a8;
  font-weight: 700;
  flex: 1;
}

/* Spacer to balance the logo and keep nav centered */
.header-spacer {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.logo a {
  text-decoration: none;
  display: block;
  background: transparent;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
  background: transparent;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 16px;
  color: #c5d4cd;
}

.nav-link {
  display: flex;
  align-items: center;
  height: 38px;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #7be0a8;
}

/* Hamburger menu button - hidden on desktop, visible on mobile */
.hamburger {
  display: none; /* Hidden by default (desktop) */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.hamburger-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #c5d4cd;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
}

/* Hamburger animation when menu is open */
.hamburger.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hamburger:hover .hamburger-line {
  background-color: #7be0a8;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-outline {
  background: #0e1b15;
  color: #c5d4cd;
  border-color: #244031;
}

.btn-primary {
  background: #2f7d5b;
  color: #e9fff3;
  border-color: #2f7d5b;
  box-shadow: 0 8px 20px rgba(23, 56, 40, 0.35);
}

/* Hero */
.hero-card {
  position: relative;
  background: #0f1a15;
  border-radius: 28px;
  overflow: hidden;
  padding: 60px 56px;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
}

.hero-image {
  position: absolute;
  inset: 0;
  background-image: url("assets/hero-image.png");
  background-size: cover;
  background-position: center center;
  z-index: 1;
  pointer-events: none;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 9, 9, 0.15), rgba(7, 9, 9, 0.55));
  z-index: 2;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 520px;
  margin-left: auto;
  text-align: left;
}

.eyebrow {
  font-size: 22px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: #7be0a8;
  margin-bottom: 12px;
  font-weight: 600;
}

.hero-title {
  font-size: 32px;
  color: #dff4ea;
  font-weight: 600;
  margin-bottom: 18px;
}

/* Section */
.section {
  padding: 70px 0 90px;
  text-align: center;
  position: relative;
}

.section-title {
  font-size: 32px;
  margin-bottom: 36px;
  color: #e6f0eb;
}

/* Contact page */
.contact-page {
  min-height: 100vh;
}

.contact {
  padding-top: 40px;
}

.contact-hero {
  max-width: 720px;
  margin: 0 auto 40px;
}

.contact-subtitle {
  color: #b5c7be;
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: #0f1a15;
  border-radius: 20px;
  border: 1px solid rgba(220, 232, 226, 0.15);
  padding: 28px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  text-align: left;
}

.contact-card h2 {
  font-size: 20px;
  color: #e6f0eb;
  margin-bottom: 20px;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form-field label {
  font-size: 13px;
  color: #c5d4cd;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(220, 232, 226, 0.15);
  background: rgba(9, 16, 13, 0.8);
  color: #e6f0eb;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
}

.form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #2f7d5b;
  box-shadow: 0 0 0 3px rgba(47, 125, 91, 0.25);
}

.form-feedback {
  font-size: 14px;
  margin-top: 12px;
  min-height: 1.2em;
}
.form-feedback[data-status="success"] {
  color: #7be0a8;
}
.form-feedback[data-status="error"] {
  color: #e88;
}

.contact-details {
  display: grid;
  gap: 20px;
}

.contact-detail h3 {
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #7be0a8;
  margin-bottom: 8px;
}

.contact-detail a,
.contact-detail p {
  color: #c5d4cd;
  font-size: 15px;
  text-decoration: none;
}

.contact-detail a:hover {
  color: #7be0a8;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items: stretch;
}

.services {
  overflow: visible;
}

/* Soft green glow behind the cards */
.services::before {
  content: "";
  position: absolute;
  inset: -40% -10% -10% -10%;
  background: radial-gradient(
    circle at 50% 65%,
    rgba(25, 113, 78, 0.5),
    rgba(5, 10, 8, 0.05) 60%,
    rgba(5, 10, 8, 0) 70%
  );
  z-index: 0;
}

.services-grid {
  position: relative;
  z-index: 1;
  padding: 20px 10px;
}

.card {
  background: linear-gradient(165deg, #0a241b, #0a1a14);
  border: 2px solid rgba(220, 232, 226, 0.8);
  border-radius: 18px;
  padding: 36px 28px;
  text-align: left;
  color: #cfe0d7;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.service-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 18px;
  cursor: pointer;
  will-change: transform, box-shadow;
}

.service-card .btn-ghost {
  margin-top: auto;
}

.card-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(26, 109, 76, 0.2);
  display: grid;
  place-items: center;
  color: #1f8b60;
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card h3 {
  color: #e6f0eb;
  font-size: 20px;
}

.card p,
.card-text {
  font-size: 14px;
  color: #b5c7be;
  max-width: 230px;
}

.card-list {
  list-style: none;
  display: grid;
  gap: 10px;
  color: #c7d7cf;
  font-size: 14px;
}

.card-list li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-list li::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d7e6df;
  opacity: 0.85;
}

/* 2x2 grid layout for "Other" card list */
.card-list-grid {
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

.btn-ghost {
  background: transparent;
  border-color: #dfe9e4;
  color: #e6f0eb;
  padding: 10px 22px;
}

/* Who we are section */
.about {
  overflow: hidden;
}

.about .section-title {
  margin-top: 80px;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  text-align: left;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-photo-left {
  margin-top: 20px;
}

.about-lead {
  font-size: 26px;
  font-weight: 600;
  color: #e6f0eb;
  line-height: 1.4;
}

.about-body {
  font-size: 16px;
  color: #b5c7be;
  line-height: 1.7;
}

.about-photos-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: start;
}

.about-photo {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(220, 232, 226, 0.15);
}

.about-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-photo:hover img {
  transform: scale(1.03);
}

/* Left column bottom photo - matches bottom-right photo height */
.about-text .about-photo-left img {
  height: 380px !important;
  object-fit: cover;
  object-position: center;
}

/* Full-width bottom row photos */
.about-photos-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 24px;
}

.about-photos-bottom .about-photo img {
  height: 380px;
  object-position: center 35%;
}

/* Single photo in bottom row spans both columns for visual impact */
.about-photos-bottom .about-photo:only-child {
  grid-column: 1 / -1;
}

/* Portfolio section */
.portfolio {
  overflow: hidden;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 160px;
  gap: 22px;
  margin-bottom: 28px;
}

.portfolio-item {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(220, 232, 226, 0.2);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  background: #0a1511;
}

.portfolio-item img,
.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-grid .item-1 {
  grid-column: 1 / 2;
  grid-row: span 2;
}

.portfolio-grid .item-2 {
  grid-column: 2 / 3;
}

.portfolio-grid .item-3 {
  grid-column: 3 / 4;
  grid-row: span 2;
}

.portfolio-grid .item-4 {
  grid-column: 2 / 3;
  grid-row: span 2;
}

.portfolio-grid .item-5 {
  grid-column: 1 / 2;
}

.portfolio-grid .item-6 {
  grid-column: 3 / 4;
}

.portfolio-cta {
  display: flex;
  justify-content: center;
}

/* Portfolio full page (portfolio.html) */
.portfolio-page {
  min-height: 100vh;
  background: #0a0f0c;
  padding: 100px 32px 80px;
}

.portfolio-page-section {
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-page-title {
  text-align: center;
  margin-bottom: 8px;
  color: #e8eeeb;
}

.portfolio-page-subtitle {
  text-align: center;
  color: #7a8a82;
  font-size: 16px;
  margin-bottom: 48px;
}

.portfolio-page-grid {
  margin-bottom: 32px;
}

.portfolio-page-grid:last-of-type {
  margin-bottom: 0;
}

.portfolio-page .portfolio-item {
  border: 1px solid rgba(123, 224, 168, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

/* Client Portfolio Sections */
.client-portfolio-section {
  margin-bottom: 80px;
}

.client-portfolio-section:last-child {
  margin-bottom: 0;
}

.client-portfolio-header {
  margin-bottom: 32px;
  padding-top: 0;
}

.client-portfolio-logo {
  width: 180px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.client-portfolio-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.3s ease;
}

.client-portfolio-logo:hover img {
  opacity: 0.95;
}

/* Horizontal scrolling container for client assets */
.client-assets-scroll {
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 16px;
  margin-bottom: -16px;
  scrollbar-width: thin;
  scrollbar-color: rgba(123, 224, 168, 0.4) rgba(0, 0, 0, 0.2);
}

.client-assets-scroll::-webkit-scrollbar {
  height: 8px;
}

.client-assets-scroll::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.client-assets-scroll::-webkit-scrollbar-thumb {
  background: rgba(123, 224, 168, 0.4);
  border-radius: 4px;
}

.client-assets-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(123, 224, 168, 0.6);
}

.client-assets-container {
  display: flex;
  gap: 24px;
  padding: 4px;
}

/* Full-size portfolio items for client assets */
.portfolio-item-full {
  width: 600px;
  min-width: 600px;
  height: 400px;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(123, 224, 168, 0.25);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  background: #0a0f0c;
  flex-shrink: 0;
}

.portfolio-item-full img,
.portfolio-item-full video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Vertical images - sized to match horizontal image height */
.portfolio-item-full.vertical {
  width: 267px;
  min-width: 267px;
  height: 400px;
  min-height: 400px;
}

.portfolio-item-full.vertical img {
  object-fit: contain;
}

.portfolio-page-section {
  padding: 0;
}

/* Portfolio video items */
.portfolio-video {
  position: relative;
  cursor: pointer;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 1;
  transition: background 0.3s ease;
}

.portfolio-video:hover .play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.play-icon {
  width: 60px;
  height: 60px;
  color: white;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
  transition: transform 0.2s ease;
}

.portfolio-video:hover .play-icon {
  transform: scale(1.1);
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.video-modal.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 8, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.video-modal-content {
  position: relative;
  max-width: 800px;
  max-height: 85vh;
  width: 85%;
  z-index: 1;
  transform: scale(0.9);
  transition: transform 0.3s ease;
  padding: 20px;
}

.video-modal.active .video-modal-content {
  transform: scale(1);
}

.video-modal-content video {
  width: 100%;
  height: auto;
  max-height: calc(85vh - 40px);
  border-radius: 16px;
  background: #0a1511;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
  object-fit: contain;
}

.video-modal-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #e6f0eb;
  font-size: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Clients section */
.clients {
  padding-bottom: 120px;
}

.clients-subtitle {
  color: #b5c7be;
  font-size: 16px;
  margin-top: -20px;
  margin-bottom: 40px;
}

.clients-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px 0;
}

.clients-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  margin-bottom: 50px;
}

.clients-row:last-child {
  margin-bottom: 0;
}

.client-logo {
  width: 360px;
  height: 180px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(0.3) brightness(1.4) contrast(1.1) opacity(0.85);
}

.client-logo:hover {
  filter: grayscale(0) brightness(1.2) contrast(1.15) opacity(1);
  transform: scale(1.08);
}

.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Footer */
.footer {
  margin-top: 60px;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(220, 232, 226, 0.15);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  margin-bottom: 50px;
}

.footer-brand {
  flex-shrink: 0;
  background: transparent;
}

.footer-brand a {
  background: transparent;
}

.footer-logo {
  height: 50px;
  width: auto;
  display: block;
  background: transparent;
}

.footer-info {
  display: flex;
  gap: 80px;
}

.footer-contact,
.footer-location,
.footer-social {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact h4,
.footer-location h4,
.footer-social h4 {
  font-size: 14px;
  font-weight: 600;
  color: #7be0a8;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.footer-contact a,
.footer-location p {
  font-size: 15px;
  color: #c5d4cd;
  text-decoration: none;
  margin: 0;
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: #7be0a8;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(26, 109, 76, 0.2);
  color: #7be0a8;
  transition: background 0.3s ease, transform 0.3s ease;
}

.social-link:hover {
  background: rgba(26, 109, 76, 0.4);
  transform: scale(1.1);
}

.social-link svg {
  width: 22px;
  height: 22px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(220, 232, 226, 0.1);
}

.footer-bottom p {
  font-size: 13px;
  color: #7a8a82;
  margin: 0;
}

/* Responsive layout */
@media (max-width: 900px) {
  .header {
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 16px 20px;
    position: fixed;
  }

  /* Show hamburger button on mobile */
  .hamburger {
    display: flex;
  }

  /* Hide header spacer on mobile */
  .header-spacer {
    display: none;
  }

  /* Mobile navigation - hidden by default */
  .nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: #000000 !important;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    padding-top: max(44px, env(safe-area-inset-top, 44px));
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 99999;
    overflow-y: auto;
  }

  /* Mobile navigation - visible when open */
  .nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  /* Make body and all wrappers black when menu is open */
  body.menu-open {
    background: #000000 !important;
    overflow: hidden;
  }

  body.menu-open #smooth-wrapper,
  body.menu-open #smooth-content {
    background: #000000 !important;
  }

  /* Keep header visible but make it black and above menu */
  body.menu-open .header {
    background: #000000 !important;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 100000;
  }

  .nav .nav-link {
    font-size: 22px;
    height: auto;
    padding: 6px 0;
  }

  .page {
    padding-top: 80px; /* Less space needed with compact header */
  }

  .portfolio-page {
    padding: 90px 20px 60px;
  }

  /* Tablet: Client Portfolio Sections */
  .client-portfolio-section {
    margin-bottom: 60px;
  }

  .client-portfolio-header {
    margin-bottom: 28px;
  }

  .client-portfolio-logo {
    width: 160px;
    height: 70px;
  }

  .client-assets-container {
    gap: 20px;
  }

  .portfolio-item-full {
    width: 450px;
    min-width: 450px;
    height: 300px;
    min-height: 300px;
  }

  .portfolio-item-full.vertical {
    width: 200px;
    min-width: 200px;
    height: 300px;
    min-height: 300px;
  }

  .portfolio-page-subtitle {
    margin-bottom: 32px;
  }

  .hero-card {
    padding: 32px 28px;
  }

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

  .contact {
    padding-top: 20px;
  }

  .hero-content {
    margin-left: 0;
    max-width: 100%;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* About section: smaller top padding on mobile to reduce green gap, more compact feel */
  .about {
    padding-top: 40px;
  }

  /* Who We Are title: place fully in the black content area below the header on mobile */
  .about .section-title {
    margin-top: 180px;
  }

  .about-photos-top {
    order: -1;
  }

  .about-photos-bottom {
    grid-template-columns: 1fr;
  }

  .about-photos-bottom .about-photo img {
    height: 300px;
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 180px;
  }

  .portfolio-grid .item-1,
  .portfolio-grid .item-2,
  .portfolio-grid .item-3,
  .portfolio-grid .item-4,
  .portfolio-grid .item-5,
  .portfolio-grid .item-6 {
    grid-column: auto;
    grid-row: auto;
  }

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

  .footer-info {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
  }

  .footer-contact,
  .footer-location,
  .footer-social {
    align-items: center;
  }
}

@media (max-width: 680px) {
  .page {
    padding: 100px 16px 60px;
  }

  .header {
    padding: 12px 16px;
  }

  .hero-card {
    min-height: calc(100vh - 160px);
  }

  .hero-title {
    font-size: 24px;
  }

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

  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .clients-row {
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
  }

  .client-logo {
    width: 200px;
    height: 100px;
  }

  /* Mobile: Client Portfolio Sections */
  .portfolio-page {
    padding: 100px 16px 60px;
  }

  .client-portfolio-section {
    margin-bottom: 60px;
  }

  .client-portfolio-header {
    margin-bottom: 24px;
  }

  .client-portfolio-logo {
    width: 140px;
    height: 60px;
  }

  .client-assets-container {
    gap: 16px;
  }

  .portfolio-item-full {
    width: 80vw;
    min-width: 80vw;
    height: 53vw;
    min-height: 53vw;
    border-radius: 12px;
  }

  .portfolio-item-full.vertical {
    width: 40vw;
    min-width: 40vw;
    height: 60vw;
    min-height: 60vw;
  }
}

/* ============================================
   SERVICE PAGES (Social Media, etc.)
   ============================================ */

/* Hero Section */
.service-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.service-hero-bg {
  position: absolute;
  inset: 0;
  background: url("assets/hero-image.png") center center / cover no-repeat;
  z-index: 0;
}

/* Digital Marketing / Social Media page hero background */
.service-hero-social {
  background-image: url("assets/social-media-hero.png");
}

/* Web Development page hero background */
.service-hero-webdev {
  background-image: url("assets/web-dev-hero.png");
}

/* Video Production page hero background */
.service-hero-video {
  background-image: url("assets/video-production-hero.png");
}

/* Other Services page hero background */
.service-hero-other {
  background-image: url("assets/other-services-hero.png");
}

/* Service note styling (for freelancer/extra services note) */
.service-note {
  background: rgba(123, 224, 168, 0.1);
  border-left: 3px solid #7be0a8;
  padding: 16px 20px;
  margin-top: 20px;
  border-radius: 0 8px 8px 0;
  font-size: 15px;
  line-height: 1.7;
}

.service-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5, 10, 8, 0.4) 0%,
    rgba(5, 10, 8, 0.6) 50%,
    rgba(5, 10, 8, 0.85) 100%
  );
}

.service-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 32px;
  max-width: 900px;
}

.service-hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.service-hero-subtitle {
  font-size: clamp(18px, 3vw, 26px);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  margin-bottom: 60px;
}

.service-hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
}

/* Content Section */
.service-content {
  background: #050a08;
  padding: 100px 32px 120px;
}

.service-content-inner {
  max-width: 800px;
  margin: 0 auto;
}

.service-lead {
  font-size: clamp(18px, 2.5vw, 24px);
  color: #e6f0eb;
  line-height: 1.6;
  margin-bottom: 60px;
  font-weight: 400;
}

.service-text h2 {
  font-size: 22px;
  color: #7be0a8;
  margin: 48px 0 16px;
  font-weight: 600;
}

.service-text h2:first-child {
  margin-top: 0;
}

.service-text h3 {
  font-size: 20px;
  color: #7be0a8;
  margin: 36px 0 8px;
  font-weight: 600;
}

.service-text p {
  font-size: 17px;
  color: #b5c7be;
  line-height: 1.75;
  margin-bottom: 20px;
}

.video-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 24px;
}

.video-service-item {
  display: flex;
  flex-direction: column;
}

.video-service-item h3 {
  margin-top: 0;
}

.video-service-item p {
  margin-bottom: 12px;
}

.video-service-item .service-list {
  margin-top: 0;
}

.service-text strong {
  color: #e6f0eb;
  font-weight: 600;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 48px;
  display: grid;
  gap: 16px;
}

.service-list li {
  font-size: 16px;
  color: #b5c7be;
  padding-left: 28px;
  position: relative;
  line-height: 1.6;
}

.service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: #1f8b60;
  border-radius: 50%;
}

.service-list li strong {
  color: #7be0a8;
}

/* Additional Services CTA Card */
.services-cta-card {
  margin-top: 60px;
  padding: 48px;
  background: linear-gradient(165deg, #0a241b, #0a1a14);
  border-radius: 20px;
  border: 1px solid rgba(220, 232, 226, 0.15);
  text-align: center;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.services-cta-card h2 {
  color: #7be0a8;
  font-size: 28px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 20px;
}

.services-cta-card p {
  color: #b5c7be;
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 24px;
}

.freelancer-services-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 32px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  max-width: 600px;
}

.freelancer-services-list li {
  color: #e6f0eb;
  font-size: 15px;
  padding: 8px 20px;
  background: rgba(26, 109, 76, 0.2);
  border-radius: 999px;
  border: 1px solid rgba(123, 224, 168, 0.3);
}

.services-cta-card .btn-primary {
  display: inline-block;
}

/* CTA Section */
.service-cta {
  margin-top: 80px;
  padding: 48px;
  background: linear-gradient(165deg, #0a241b, #0a1a14);
  border-radius: 20px;
  border: 1px solid rgba(220, 232, 226, 0.15);
  text-align: center;
}

.service-cta h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.service-cta p {
  max-width: 600px;
  margin: 0 auto 28px;
}

.service-cta .btn-primary {
  display: inline-block;
}

/* Photography page — Concept gallery */
.photography-gallery {
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid rgba(220, 232, 226, 0.08);
}

.photography-gallery-title {
  font-size: 22px;
  color: #7be0a8;
  margin: 0 0 32px;
  font-weight: 600;
  text-align: center;
}

.photography-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.photography-gallery-item {
  background: transparent;
  border-radius: 28px;
  overflow: hidden;
  border: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  aspect-ratio: 3 / 4;
}

.photography-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  border-radius: 28px;
}

@media (max-width: 768px) {
  .photography-gallery {
    margin-top: 48px;
    padding-top: 32px;
  }

  .photography-gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .photography-gallery-item {
    min-height: 320px;
    aspect-ratio: 4 / 5;
  }
}

/* Service page footer adjustments */
.service-footer {
  background: #050a08;
  border-top: 1px solid rgba(220, 232, 226, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
  .video-services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-hero-content {
    padding: 0 20px;
  }

  .service-content {
    padding: 60px 20px 80px;
  }

  .service-cta {
    padding: 32px 24px;
  }

  .service-list {
    gap: 12px;
  }
}
