@import url('https://api.fontshare.com/v2/css?f[]=satoshi@1&display=swap');

/* Base global styles */
html {
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Satoshi', sans-serif;
  background-color: #f8f3eb;
  color: #0f172a;
  transition: opacity 0.4s ease, transform 0.4s ease;
  animation: fadeIn 0.5s ease-in;
  overflow-x: hidden;
}

/* Fade-in animation for smooth load */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Make links transition smoothly */
a {
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* Consistent section padding */
section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Ensure images never overflow */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

nav a.active {
  background-color: #111827;
  color: #fff;
  border-color: #111827;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
}

/* Footer layout fix */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#footer {
  margin-top: auto;
  background-color: #f8f3eb;
  padding: 2rem 0;
}

/* Smooth header scroll-hide */
header {
  transition: opacity .4s ease, transform .4s ease;
  will-change: opacity, transform;
}
header.header-hidden {
  opacity: 0;
  transform: translateY(-40px); 
  pointer-events: none;
}

.site-header {
  background: rgba(248, 243, 235, 0.92);
  border-bottom: 1px solid #e7ddce;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px);
}

.site-header__inner {
  width: 100%;
  box-sizing: border-box;
}

.site-header__menu {
  width: calc(100% - 32px);
}

.nav-link {
  color: #4b5563;
  font-weight: 600;
  padding-bottom: 6px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:hover {
  color: #0f172a;
  border-color: rgba(15, 23, 42, 0.18);
}

.menu-toggle .bar {
  width: 24px;
  height: 2px;
  background: #0f172a;
  border-radius: 999px;
  display: block;
  transition: transform 0.22s ease, opacity 0.18s ease, width 0.22s ease;
}

.menu-toggle.is-open .bar:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open .bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.menu-toggle.is-open .bar:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: linear-gradient(140deg, #f8f3eb 0%, #f4ebde 30%, #f8f3eb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
  z-index: 9998;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-menu-overlay--open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.mobile-menu__inner {
  width: min(1080px, 100%);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  font-family: 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  line-height: 1.1;
}

.mobile-menu__nav a {
  display: inline-block;
  color: #0f172a;
  text-decoration: none;
  position: relative;
  padding-left: 0;
  transition: color 0.2s ease;
}

.mobile-menu__nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1.8px;
  background: #0f172a;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.22s ease;
}

.mobile-menu__nav a:hover {
  color: #0b1326;
}

.mobile-menu__meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #4b5563;
  font-size: 0.98rem;
}

.mobile-menu__links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-weight: 600;
}

.mobile-menu__links a {
  color: #0f172a;
  text-decoration: none;
}

.mobile-menu__links a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.mobile-menu__tagline {
  margin: 0;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

body.menu-open {
  overflow: hidden;
}

@media (min-width: 768px) {
  .mobile-menu__inner {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
  }

  .mobile-menu__meta {
    align-items: flex-end;
    text-align: right;
    max-width: 320px;
  }
}

.header-cta {
  padding: 10px 16px;
  border: 1px solid #0f172a;
  border-radius: 999px;
  font-weight: 700;
  color: #0f172a;
  background: #f8f3eb;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  transform: translateY(-1px);
  background: #0f172a;
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

@media (min-width: 640px) {
  .site-header__menu {
    width: 320px;
    left: auto;
    right: 24px;
  }
}

.hero-title {
  font-family: 'Times New Roman', serif;
  font-size: 9rem; /* adjust as needed */
  line-height: 1.1;
}

/* Redesigned hero */
.hero-section {
  position: relative;
  background: #f8f3eb;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 23, 42, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 23, 42, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.8;
  pointer-events: none;
}

.hero-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #6b7280;
}

.hero-heading {
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  font-weight: 700;
  color: #0f172a;
}

.hero-divider {
  width: 120px;
  height: 2px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.65), rgba(15, 23, 42, 0));
  border-radius: 999px;
}

.hero-subtext {
  max-width: 720px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #414c5b;
  letter-spacing: 0.005em;
}

.hero-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 1.75px solid #0f172a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.hero-button--primary {
  background: #0f172a;
  color: #fff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.hero-button--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(15, 23, 42, 0.2);
  background: #111a30;
}

.hero-button--ghost {
  background: transparent;
  color: #0f172a;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.hero-button--ghost:hover {
  transform: translateY(-1px);
  background: #0f172a;
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.hero-footnote {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #6b7280;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.hero-footnote__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f172a;
  display: inline-flex;
}

/* New homepage layout */
.hero-shell {
  background: #f8f3eb;
}

.hero-eyebrow {
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #7b8493;
}

.hero-title-main {
  font-family: 'Times New Roman', serif;
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #0f172a;
}

.hero-title-accent {
  color: #6b6f76;
  display: inline-block;
}

.hero-lede {
  max-width: 760px;
  margin: 0 auto;
  font-size: 1.08rem;
  line-height: 1.8;
  color: #485160;
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.04);
  color: #4b5563;
  font-weight: 600;
}

.hero-meta__dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0f172a;
  display: inline-flex;
}

.feature-marquee {
  background: #f8f3eb;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.marquee-shell {
  overflow: hidden;
  border-radius: 0;
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 10px 0 8px;
  position: relative;
}

.marquee-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee-slide var(--duration, 28s) linear infinite;
}

.marquee-group {
  display: flex;
  gap: 12px;
  padding: 14px 10px;
}

.marquee-item {
  min-width: 240px;
  padding: 16px 16px 14px;
  border-radius: 12px;
  background: #f8f3eb;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: none;
  display: grid;
  gap: 8px;
}


.marquee-item__title {
  font-weight: 700;
  color: #0f172a;
}

.marquee-item__desc {
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.5;
}

@keyframes marquee-slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.primary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1.8px solid #0f172a;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 20px 34px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.primary-cta:hover {
  transform: translateY(-2px);
  background: #111a30;
  box-shadow: 0 22px 38px rgba(15, 23, 42, 0.2);
}

.secondary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 21px;
  border-radius: 999px;
  border: 1.6px solid #0f172a;
  background: transparent;
  color: #0f172a;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.secondary-cta:hover {
  transform: translateY(-2px);
  background: #0f172a;
  color: #fff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.project-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fffaf2;
  border: 1px solid #e7ddce;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(15, 23, 42, 0.14);
}

.project-card__media {
  padding: 14px 14px 12px;
  background: linear-gradient(145deg, #fffdf8 0%, #f3e7d8 100%);
  border-bottom: 1px solid #e7ddce;
}

.project-card__image {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
  border-radius: 12px;
}

.project-card__body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.project-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
}

.project-card__text {
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

.project-card__link {
  margin-top: auto;
  font-weight: 700;
  color: #0f172a;
  text-decoration: none;
}

.project-card__link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}

@media (min-width: 1024px) {
  .project-card__image {
    aspect-ratio: 16 / 9;
  }
}

.hero-panel {
  background: linear-gradient(140deg, #fbf7f0 0%, #f4ebde 100%);
  border: 1px solid #e7ddce;
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  box-sizing: border-box;
}

.home-grid {
  align-items: flex-start;
}

.hero-actions {
  width: 100%;
}

.hero-panel__top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
}

.hero-panel__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
  color: #7b8493;
  margin: 0 0 6px;
}

.hero-panel__title {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #0f172a;
}

.hero-chip {
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid rgba(15, 23, 42, 0.12);
  white-space: nowrap;
}

.hero-panel__list {
  list-style: none;
  padding: 0;
  margin: 4px 0 0;
  display: grid;
  gap: 12px;
}

.hero-panel__list li {
  position: relative;
  padding-left: 22px;
  color: #2f3a49;
  line-height: 1.55;
  letter-spacing: 0.005em;
}

.hero-panel__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0f172a;
}

.hero-panel__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid #e6ddcf;
}

.hero-panel__metric {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
}

.hero-panel__sub {
  margin: 2px 0 0;
  color: #55606f;
  font-size: 0.95rem;
}

.hero-panel__link {
  color: #0f172a;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #0f172a;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.hero-panel__link:hover {
  background: #0f172a;
  color: #fff;
  transform: translateY(-1px);
}

.motif-line {
  width: 120px;
  height: 1.5px;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0));
  border-radius: 999px;
  margin: 16px auto;
}

.inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.12), rgba(15, 23, 42, 0.05));
  font-weight: 700;
  color: #0f172a;
  letter-spacing: 0.04em;
}

.card-shadow {
  box-shadow: 0 18px 32px rgba(15, 23, 42, 0.08);
}

.soft-border {
  border: 1px solid #e5dcc9;
}

/* Hero offer block */
.hero-offer {
  background: linear-gradient(135deg, #fbf7f0 0%, #f6eee3 100%);
  border: 1px solid #e3d8c7;
  border-radius: 18px;
  padding: 26px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.hero-offer__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: #7b8493;
  margin: 0 0 10px;
}

.hero-offer__title {
  font-size: 1.5rem;
  line-height: 1.45;
  font-weight: 700;
  margin: 0 0 16px;
  color: #0f172a;
}

.hero-offer__list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: grid;
  gap: 10px;
}

.hero-offer__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1rem;
  color: #2f3a49;
}

.hero-offer__list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #0f172a;
  color: #fff;
  font-size: 0.8rem;
  line-height: 1;
}

.hero-offer__cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid #e8e0d2;
  margin-top: 12px;
}

.hero-offer__metric {
  margin: 0;
  font-weight: 700;
  color: #0f172a;
}

.hero-offer__sub {
  margin: 4px 0 0;
  color: #55606f;
  font-size: 0.95rem;
}

.hero-offer__button {
  padding: 12px 16px;
  border-radius: 12px;
  background: #0f172a;
  color: #fff;
  font-weight: 700;
  border: 1px solid #0f172a;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.16);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-offer__button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.18);
  background: #1a2642;
}

.featured-grid {
  width: 100%;
}

.featured-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.featured-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: auto !important;
    padding: 120px 18px 80px;
    overflow: visible !important;
    align-items: flex-start;
  }
  .home-grid {
    grid-template-columns: 1fr !important;
    gap: 22px;
  }
  .hero-heading {
    font-size: clamp(2.2rem, 7vw, 2.6rem);
    line-height: 1.08;
  }
  .hero-subtext {
    font-size: 1rem;
    line-height: 1.55;
    max-width: 100%;
  }
  .hero-button {
    width: 100%;
    justify-content: center;
  }
  .hero-footnote {
    align-items: flex-start;
  }
  .hero-panel {
    max-width: 100%;
    width: 100%;
    margin: 6px 0 0;
    align-self: stretch;
  }
  .hero-panel__top,
  .hero-panel__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-panel__link {
    width: 100%;
    text-align: center;
  }
  .hero-panel__list li {
    padding-left: 18px;
  }
  .hero-panel__list li::before {
    top: 10px;
  }
  .hero-grid {
    background-size: 90px 90px;
    inset: 0;
    height: 100%;
  }
  .hero-tagline {
    position: static;
    text-align: left;
    padding: 0;
    margin-top: 24px;
    display: none;
  }

  .site-header {
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  }
  .hero-offer {
    max-width: 100%;
    margin: 0 auto;
    padding: 22px;
  }
  .hero-offer__cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .page-header-spacer {
    margin-top: 2rem;
    padding-top: 5rem;
  }
}

@media (max-width: 640px) {
  .hero-section {
    padding: 120px 16px 72px;
  }
  .hero-heading {
    font-size: clamp(1.9rem, 7vw, 2.3rem);
  }
  .hero-subtext {
    font-size: 0.98rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .hero-tagline {
    font-size: 0.95rem;
  }
  #featured-works {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .featured-card img {
    height: 190px;
    object-fit: cover;
  }

  .page-header-spacer {
    margin-top: 1.75rem;
    padding-top: 4.5rem;
  }
}

html, body, section, footer {
  background-color: #f8f3eb;
}

section, footer {
  margin: 0;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

/* Consistent paragraph rhythm on About */
.about-page p {
  margin-bottom: 0.9rem;
}
.about-page p:last-child {
  margin-bottom: 0;
}

/* ===== CONTACT PAGE REFINEMENTS FOR CONSISTENCY ===== */

.contact-intro {
  background-color: #f8f3eb;
  text-align: center;
  padding: 70px 20px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.page-header-spacer {
  margin-top: 2.5rem;
  padding-top: 6rem;
}

.page-title {
  font-family: 'Times New Roman', serif;
  font-size: 3.2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #0f172a;
  scroll-margin-top: 120px;
}

.subtitle {
  color: #555;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 36px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

/* New split layout for contact */
.contact-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  max-width: 1050px;
  margin: 0 auto;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 10px;
}

.contact-cards .card {
  height: 100%;
}

.contact-cards .card a {
  word-break: break-word;
}

.contact-form {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-form:hover {
  transform: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.contact-form .form-title {
  margin: 0 0 6px;
  font-size: 1.4rem;
  color: #0f172a;
}

.contact-form .form-subtitle {
  margin: 0 0 20px;
  color: #555;
  line-height: 1.6;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-weight: 600;
  color: #0f172a;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9d1c5;
  border-radius: 12px;
  font-family: 'Satoshi', sans-serif;
  font-size: 1rem;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0f172a;
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.08);
}

.btn-primary {
  align-self: flex-start;
  background: #0f172a;
  color: #fff;
  border: 1px solid #0f172a;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.15);
  background: #1a2642;
}

.form-footnote {
  margin: 6px 0 0;
  color: #666;
  font-size: 0.95rem;
}

.card {
  background: #fff;
  border: 1px solid #e5dcc9;
  border-radius: 14px;
  padding: 24px;
  text-align: left;
  transition: all 0.3s ease;
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
  color: #0f172a;
}

.card p {
  color: #555;
  margin-bottom: 12px;
  line-height: 1.6;
  font-size: 1rem;
}

.card a {
  color: #0f172a;
  font-weight: 600;
  text-decoration: underline;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.08);
}

.card.contact-form {
  transition: box-shadow 0.2s ease;
}

.card.contact-form:hover {
  transform: none;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-intro {
    padding: 130px 16px 42px;
  }
  .page-title {
    font-size: 2.4rem;
    margin-bottom: 12px;
  }
  .subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
  .card {
    width: 100%;
    padding: 22px;
  }
  .contact-grid {
    gap: 16px;
    padding: 0 2px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 980px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .contact-cards {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  }
}

/* FAQ section refinement */
.faq {
  background-color: #f8f3eb;
  padding: 70px 20px 60px;
  display: flex;
  justify-content: center;
}

.faq-list {
  max-width: 800px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.section-title {
  text-align: center;
  font-family: 'Times New Roman', serif;
  font-size: 2.5rem;
  color: #0f172a;
  font-weight: 600;
  margin-bottom: 60px;
}

.faq-item {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  margin-bottom: 20px;
  padding: 30px;
}

.faq-item h4 {
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 12px;
  color: #0f172a;
}

.faq-item p {
  color: #555;
  margin: 0;
  font-size: 1rem;
  line-height: 1.7;
}

/* Ensure nav underline is visible and styled properly */
nav a.underline {
  text-decoration: none;
}

.mobile-menu__nav a:hover::after,
.mobile-menu__nav a.underline::after {
  transform: scaleX(1);
}

.nav-link.underline {
  color: #0f172a;
  border-color: #0f172a;
}

/* Custom Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f8f3eb; /* same as site background */
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #cfc7b8; /* subtle beige-gray accent */
  border-radius: 10px;
  border: 2px solid #f8f3eb; /* soft spacing around thumb */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #b7afa1; /* darker tone when hovered */
}
