:root {
  --navy: #0a1f44;
  --navy-mid: #0f2d5e;
  --blue-accent: #1a56db;
  --white: #ffffff;
  --off-white: #f7f9fc;
  --light-blue: #eef3fb;
  --text-dark: #0a1f44;
  --text-mid: #3d5278;
  --text-muted: #7a8aaa;
  --border: #dde6f5;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  overflow-x: hidden;
}

section[id],
.service-card[id] {
  scroll-margin-top: 88px;
}

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  width: 100%;
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.ap-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.ap-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-word.visible {
  opacity: 1;
  transform: translateY(0);
}

.ap-reveal.no-js-visible,
.hero-word.no-js-visible {
  opacity: 1;
  transform: translateY(0);
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 8px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  line-height: 1;
  user-select: none;
}

.nav-logo-text {
  display: block;
}

.nav .nav-logo-img {
  height: 92px;
  width: auto;
  object-fit: contain;
  transform: translateY(2px);
  /* This crops everything below the navbar height while maintaining the logo scale */
  -webkit-mask-image: linear-gradient(to bottom, black 70px, transparent 70px);
  mask-image: linear-gradient(to bottom, black 70px, transparent 70px);
}

.footer .nav-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  border-radius: 4px;
}

.nav-logo-anchor {
  font-weight: 500;
  color: var(--navy);
}

.nav-logo-point {
  font-weight: 300;
  color: var(--blue-accent);
}

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

.nav-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 15px;
  color: var(--text-mid);
  letter-spacing: 0.3px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-links a:hover {
  color: var(--navy);
  background: var(--off-white);
}

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 10px 22px;
  border-radius: 6px;
  border: none;
  transition: background 0.2s ease;
  display: inline-block;
}

.nav-cta:hover {
  background: var(--blue-accent);
}

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  padding: 4px;
  color: var(--navy);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: #ffffff;
  border: 1px solid #dde6f5;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(10, 31, 68, 0.08);
  padding: 8px 0;
  min-width: 240px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.18s ease;
  pointer-events: none;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
  opacity: 1;
  pointer-events: all;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 13px;
  color: #3d5278;
  transition: background 0.18s ease, color 0.18s ease;
}

.nav-dropdown-menu a:hover {
  background: #f7f9fc;
  color: #0a1f44;
}

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--navy);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}

.mobile-nav a:hover {
  color: var(--blue-accent);
}

.mobile-nav-close {
  position: absolute;
  top: 20px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
}

.mobile-nav-services {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: -12px;
}

.mobile-nav-services a {
  font-size: 14px !important;
  color: #6b9aee !important;
}

.hero {
  background-image: 
    linear-gradient(135deg, rgba(224, 242, 254, 0.95) 0%, rgba(224, 242, 254, 0.7) 40%, rgba(255, 255, 255, 0) 100%),
    url('./Background%20image.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  padding: clamp(120px, 15vh, 160px) 0 40px;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.hero .container {
  width: 100%;
  max-width: 1200px;
}

.hero-content {
  max-width: 50%;
  z-index: 2;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.hero-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hero-label-line {
  width: 32px;
  height: 2px;
  background: var(--blue-accent);
  flex-shrink: 0;
}

.hero-label-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--blue-accent);
  white-space: normal;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(3.2rem, 5vw, 5rem);
  color: var(--navy);
  line-height: 1.05;
}

.hero-subline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 520px;
  margin-top: 20px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 13px 28px;
  border-radius: 6px;
  border: none;
  letter-spacing: 0.5px;
  transition: background 0.2s ease;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover {
  background: var(--blue-accent);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 13px 28px;
  border-radius: 6px;
  border: 1px solid var(--navy);
  letter-spacing: 0.5px;
  transition: background 0.2s ease, color 0.2s ease;
  display: inline-block;
  text-align: center;
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}

.hero-image-placeholder {
  background: var(--light-blue);
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.hero-image-placeholder span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: var(--text-muted);
}

.services {
  background: var(--off-white);
  padding: 96px 0;
}

.section-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--blue-accent);
}

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 3rem;
  color: var(--navy);
  margin-top: 8px;
}

.section-subline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 48px;
  margin-top: 8px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  border-top: 3px solid transparent;
  transition: border-top-color 0.22s ease,
              box-shadow 0.22s ease,
              transform 0.22s ease;
}

.service-card:hover {
  border-top: 3px solid var(--blue-accent);
  box-shadow: 0 8px 32px rgba(10, 31, 68, 0.08);
  transform: translateY(-3px);
}

.service-card i {
  width: 28px;
  height: 28px;
  color: var(--blue-accent);
  stroke-width: 1.5;
}

.service-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.2rem;
  color: var(--navy);
  margin-top: 16px;
}

.service-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-top: 6px;
}

.services-buttons {
  display: flex;
  gap: 12px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.partners {
  background: var(--white);
  padding: 72px 0;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partners .section-heading {
  margin-bottom: 36px;
}

.partners-track-wrapper {
  position: relative;
}

.partners-track-wrapper::before,
.partners-track-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 60px;
  z-index: 2;
  pointer-events: none;
}

.partners-track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}

.partners-track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}

.partners-track {
  display: flex;
  gap: 32px;
  animation: scroll-logos 30s linear infinite;
  width: max-content;
}

.partners-track:hover {
  animation-play-state: paused;
}

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

.partner-item {
  flex-shrink: 0;
  width: 340px;
  height: 200px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}

.partner-item img {
  max-width: 200px;
  max-height: 120px;
  object-fit: contain;
}

.why {
  background: var(--navy);
  padding: 96px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 80px;
  align-items: start;
}

.why-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: #6b9aee;
}

.why-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 2.6rem;
  color: var(--white);
  line-height: 1.3;
  margin-top: 16px;
}

.why-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin: 28px 0;
}

.why-body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #8a9cc0;
  line-height: 1.8;
}

.why-features {
  display: flex;
  flex-direction: column;
}

.why-feature {
  border-left: 3px solid var(--blue-accent);
  padding-left: 20px;
  padding-top: 4px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 4px;
}

.why-feature:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.why-feature-title {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--white);
}

.why-feature-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: #8a9cc0;
  line-height: 1.6;
  margin-top: 4px;
}

.about {
  background: var(--white);
  padding: 64px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image-placeholder {
  background: var(--light-blue);
  border-radius: 14px;
  width: 100%;
  aspect-ratio: 5 / 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.about-image-placeholder span {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-mid);
}

.about-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--blue-accent);
}

.about-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  color: var(--navy);
  margin-top: 12px;
}

.about-body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-top: 20px;
}

.contact {
  background: var(--off-white);
  padding: 48px 0 24px;
}

.contact-grid {
  display: flex;
  align-items: stretch;
  gap: 40px;
}

.contact-grid > div:first-child {
  flex: 0 0 38%;
  display: flex;
  flex-direction: column;
}

.contact-grid > div:last-child {
  flex: 1;
}

.contact-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 3.5px;
  color: var(--blue-accent);
}

.contact-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2.8rem;
  color: var(--navy);
  margin-top: 12px;
}

.contact-subline {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 10px;
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
  background: var(--white);
  border: 1px solid transparent;
  box-shadow: 0 4px 15px rgba(10, 31, 68, 0.02);
  border-radius: 8px;
  padding: 12px 14px;
}

.contact-detail i {
  width: 18px;
  height: 18px;
  color: var(--navy);
  background: #eef3fb;
  padding: 10px;
  border-radius: 50%;
  box-sizing: content-box;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.contact-detail-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  display: block;
  margin-bottom: 2px;
}

.contact-detail-value {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  box-shadow: 0 8px 40px rgba(10, 31, 68, 0.05);
}

.contact-whatsapp-btn {
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: white !important;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.contact-whatsapp-btn:hover {
  background: #128c7e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.contact-form-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-muted);
  font-size: 10px;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 1px;
}

.contact-form-divider::before,
.contact-form-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid var(--border);
}

.contact-form-divider span {
  padding: 0 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 12px;
}

.form-group:last-of-type {
  margin-bottom: 16px;
}

.form-group label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  display: block;
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 11px 14px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--navy);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(26, 86, 219, 0.08);
}

.form-group textarea {
  height: 72px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 12px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.form-submit:hover:not(:disabled) {
  background: var(--blue-accent);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-submit .spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-group input.input-error,
.form-group textarea.input-error {
  border-color: #dc3545;
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.08);
}

.field-error {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.78rem;
  color: #dc3545;
  margin-top: 4px;
  display: none;
}

.form-error-banner {
  display: none;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 20px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  color: #991b1b;
  line-height: 1.5;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25d366;
  color: #fff;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 13px;
  padding: 13px 28px;
  border-radius: 6px;
  border: none;
  letter-spacing: 0.5px;
  margin-top: 20px;
  transition: background 0.2s ease;
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: #1da851;
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: #fff;
}

.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  gap: 12px;
}

.form-success i {
  width: 40px;
  height: 40px;
  color: var(--blue-accent);
}

.form-success-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--navy);
}

.form-success-msg {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer {
  background: var(--navy);
  padding: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-top: 12px;
}

.footer-col-brand {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.footer-logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  line-height: 1;
}

.footer-logo-img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.footer-socials-inline {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.footer-socials-inline a {
  color: #6a80a8;
  transition: color 0.18s ease;
}

.footer-socials-inline a:hover {
  color: #ffffff;
}

.footer-socials-inline i {
  width: 14px;
  height: 14px;
}

.footer-brand-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: #6a80a8;
  line-height: 1.4;
  margin-top: 8px;
  max-width: 220px;
}

.footer-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-col-heading {
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #8a9cc0;
  margin-bottom: 0;
}

.footer-chevron {
  display: none;
  width: 14px;
  height: 14px;
  color: #8a9cc0;
  transition: transform 0.3s ease;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 2px;
}

.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: #6a80a8;
  transition: color 0.18s ease;
}

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

.footer-contact-text {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: #6a80a8;
  line-height: 1.3;
  margin-bottom: 3px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 12px;
  padding: 8px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.8rem;
  color: #4a5e82;
}

.page-hero {
  background: #0a1f44;
  padding: 80px 0 60px;
  margin-top: 72px;
}

.page-hero-breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 12px;
  color: #6b9aee;
  margin-bottom: 12px;
}

.page-hero-breadcrumb a {
  color: #6b9aee;
  transition: color 0.2s ease;
}

.page-hero-breadcrumb a:hover {
  color: #ffffff;
}

.page-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  color: #ffffff;
  line-height: 1.1;
}

.page-hero-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #8a9cc0;
  margin-top: 12px;
}

.service-content {
  background: #ffffff;
  padding: 80px 0;
}

.service-block {
  padding: 48px 0;
  border-bottom: 1px solid #dde6f5;
}

.service-block:first-child {
  padding-top: 0;
}

.service-block:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-block-grid {
  display: grid;
  grid-template-columns: 60% 40%;
  gap: 56px;
  align-items: start;
}

.service-block-grid.reverse {
  grid-template-columns: 40% 60%;
}

.service-block-grid.reverse .service-block-image {
  order: -1;
}

.service-block-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.8rem;
  color: #0a1f44;
  margin-bottom: 16px;
}

.service-block-intro {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #3d5278;
  line-height: 1.85;
  margin-bottom: 16px;
}

.service-block-body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  color: #3d5278;
  line-height: 1.85;
  margin-top: 16px;
}

.service-block-list {
  list-style: none;
  border-left: 2px solid #1a56db;
  padding-left: 20px;
  margin: 0;
}

.service-block-list li {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #3d5278;
  padding: 4px 0;
  line-height: 1.6;
}

.service-block-list li::before {
  content: '\00B7';
  color: #1a56db;
  font-weight: 700;
  font-size: 1.2em;
  margin-right: 10px;
}

.service-block-image {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.service-block-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-block-image.is-logo {
  padding: 32px;
  background: #ffffff;
  border: 1px solid #dde6f5;
  border-radius: 12px;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 15px rgba(10, 31, 68, 0.03);
}

.service-block-image.is-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.service-block-image i {
  color: #1a56db;
}

.service-block-image span {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 11px;
  color: #7a8aaa;
}

.cta-strip {
  background: #f7f9fc;
  padding: 56px 24px;
  text-align: center;
}

.cta-strip-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 2rem;
  color: #0a1f44;
}

.cta-strip-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #7a8aaa;
  margin-top: 8px;
}

.cta-strip .btn-primary {
  margin-top: 24px;
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  padding: 80px 0;
}

.reason-card {
  background: #ffffff;
  border: 1px solid #dde6f5;
  border-radius: 8px;
  padding: 24px;
  border-top: 3px solid #1a56db;
}

.reason-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.1rem;
  color: #0a1f44;
  margin-bottom: 8px;
}

.reason-card-desc {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.88rem;
  color: #7a8aaa;
  line-height: 1.6;
}

.our-promise {
  background: #0a1f44;
  padding: 64px 0;
}

.our-promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.our-promise-quote {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-style: italic;
  font-size: 2.2rem;
  color: #ffffff;
  line-height: 1.3;
}

.our-promise-body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #8a9cc0;
  line-height: 1.8;
}

/* ========================================
   Tablet (768px – 1023px)
   ======================================== */
@media (max-width: 1023px) {
  .nav-hamburger {
    display: none;
  }

  .mobile-nav {
    display: none;
  }

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

  .hero-image-placeholder {
    max-width: 480px;
  }

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

  .why-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .contact-grid {
    gap: 24px;
  }

  .footer {
    padding: 0 !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  .footer-col-brand {
    position: relative !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: transparent !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 12px 0 !important; 
    box-sizing: border-box !important;
    z-index: 1 !important;
  }

  .footer-col-brand::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: -50vw !important;
    right: -50vw !important;
    bottom: 0 !important;
    background: #ffffff !important;
    z-index: -1 !important;
  }

  .footer-logo-text {
    display: block !important;
    color: var(--navy) !important;
  }

  .footer-logo-text span {
    color: var(--navy) !important;
  }

  .footer-socials-inline a {
    color: #4a5568 !important; /* Darker gray for white background */
  }

  .footer-grid > div:first-child {
    grid-column: span 1;
    padding: 0 !important;
    margin: 0 !important;
  }

  .footer-col {
    border-top: 1px solid rgba(255, 255, 255, 0.07);
  }

  .footer-col:last-of-type {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 12px;
  }

  .footer-brand-desc {
    display: none;
  }

  .footer-socials-inline {
    margin-top: 0;
  }

  .footer-logo-text {
    display: block !important;
  }

  .footer-logo-img {
    height: 24px;
  }

  .footer-col-header {
    padding: 6px 0;
    margin-bottom: 0;
    border-bottom: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .footer-chevron {
    display: block;
    width: 14px;
    height: 14px;
    color: #8a9cc0;
    transition: transform 0.3s ease;
  }

  .footer-col.active .footer-chevron {
    transform: rotate(180deg);
  }

  .footer-links {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0;
    list-style: none;
  }

  .footer-col.active .footer-links {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 24px;
    margin-top: -8px;
  }

  .footer .footer-socials {
    justify-content: flex-start;
  }

  .service-block-grid,
  .service-block-grid.reverse {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-block-grid.reverse .service-block-image {
    order: 0;
  }



  .our-promise-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

/* ========================================
   Mobile (below 768px)
   ======================================== */
@media (max-width: 767px) {
  html {
    -webkit-text-size-adjust: 100%;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 16px;
  }

  /* --- Nav --- */
  .nav {
    height: auto;
    padding: 16px 0;
  }

  .nav-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    height: 72px;
  }
  
  .nav-links {
    display: flex !important;
    gap: 6px; /* Ultra-tight gap */
    margin: 0;
    padding: 0;
    flex: 1;
    justify-content: flex-end;
  }

  .nav-links::-webkit-scrollbar {
    display: none;
  }

  .nav-links li a {
    font-size: 9px; /* Micro-scale to fit full names */
    padding: 4px 1px;
    text-transform: uppercase;
    letter-spacing: -0.2px;
    font-weight: 500;
  }
  
  .nav-hamburger {
    display: block !important;
  }

  .nav-logo {
    font-size: 20px;
    gap: 8px;
  }

  .nav-logo-text {
    display: none !important;
  }

  .nav-logo {
    min-width: 44px;
    padding-right: 12px;
  }

  .nav .nav-logo-img {
    height: 32px; /* Even smaller for more link space */
    margin-right: 0;
  }

  .footer .nav-logo-img {
    height: 48px;
  }

  .nav-hamburger,
  .mobile-nav {
    display: none !important;
  }
  
  .nav-cta {
    display: inline-block !important;
    background: var(--navy);
    padding: 4px 8px !important;
    font-size: 9px !important;
    border-radius: 4px;
    margin-left: 2px;
  }

  /* --- Hero --- */
  .hero {
    padding: 92px 0 40px; /* Tighter hero top padding */
  }

  .hero-headline {
    font-size: clamp(2rem, 8vw, 2.6rem);
    margin: 8px 0;
  }

  .hero-subline {
    font-size: 0.9rem;
    margin-top: 12px;
  }

  .hero-buttons {
    margin-top: 20px;
    gap: 8px;
  }

  .btn-primary,
  .btn-ghost {
    padding: 10px 20px;
  }

  .hero-image-placeholder {
    display: none;
  }

  /* --- Sections --- */
  .services,
  .why,
  .about,
  .contact {
    padding: 24px 0; /* Ultra-tight vertical spacing */
  }

  .section-heading {
    font-size: 1.75rem;
    margin-bottom: 8px;
  }

  .section-subline {
    margin-bottom: 20px;
    font-size: 0.85rem;
  }

  .services-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .service-card {
    padding: 16px;
  }

  .service-card-title {
    font-size: 1rem;
    margin-top: 12px;
  }

  .service-card-desc {
    font-size: 0.75rem;
  }

  /* --- Partners --- */
  .partners {
    padding: 24px 0;
  }

  .partners .section-heading {
    margin-bottom: 24px;
    font-size: 1.8rem;
  }

  .partner-item {
    width: 200px;
    height: 120px;
    padding: 20px;
  }

  .partner-item img {
    max-width: 140px;
    max-height: 80px;
  }

  .partners-track {
    gap: 16px;
  }

  /* --- Why Choose Us --- */
  .why-grid {
    gap: 24px;
  }

  .why-quote {
    font-size: 1.6rem;
  }

  .why-body {
    font-size: 0.9rem;
    margin-bottom: 0;
  }
  
  .why-feature {
    padding-bottom: 12px;
  }

  /* --- About --- */
  .about-grid {
    gap: 32px;
  }

  .about-heading {
    font-size: 2rem;
  }

  .about-image-placeholder {
    aspect-ratio: 16 / 9;
  }

  /* --- Contact --- */
  .contact-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 32px !important;
  }

  .contact-heading {
    font-size: 2rem;
  }

  .contact-detail {
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    min-height: 120px;
  }

  .contact-detail i {
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
  }

  .contact-detail-label {
    font-size: 10px;
  }

  .contact-detail-value {
    font-size: 11px;
    line-height: 1.3;
  }
  
  /* --- Info Cards Grid on Mobile --- */
  .ap-reveal[style*="margin-top:28px"], 
  .ap-reveal > div:nth-child(3) {
      display: grid !important;
      grid-template-columns: repeat(2, 1fr) !important;
      gap: 12px;
  }

  .contact-form-card {
    padding: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-row .form-group {
    margin-bottom: 16px !important;
  }

  .form-group input,
  .form-group textarea {
    font-size: 16px;
    padding: 12px 14px;
  }

  .form-submit {
    padding: 16px;
    font-size: 14px;
  }

  /* --- Footer --- */
  .footer {
    padding: 32px 0 16px;
  }

  /* --- Footer accordion already handled in tablet query --- */

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    font-size: 9px;
    margin-top: 8px;
    padding-top: 8px;
    gap: 0;
  }

  .footer-bottom span {
    font-size: 9px;
  }


  /* --- Page Hero (service pages) --- */
  .page-hero {
    padding: 48px 0 36px;
    margin-top: 64px;
  }

  .page-hero-title {
    font-size: clamp(1.8rem, 6vw, 2.4rem);
  }

  .page-hero-desc {
    font-size: 0.9rem;
  }

  /* --- Service Content Blocks --- */
  .service-content {
    padding: 40px 0;
  }

  .service-block {
    padding: 32px 0;
  }

  .service-block-grid,
  .service-block-grid.reverse {
    display: flex !important;
    flex-direction: column !important; /* Stack: Text then Image */
    gap: 20px;
  }

  /* Reset ordering if reverse class is present */
  .service-block-grid.reverse div:first-child { order: 1; }
  .service-block-grid.reverse div:last-child { order: 2; }

  .service-block-title {
    font-size: 1.5rem;
  }

  .service-block-intro,
  .service-block-body {
    font-size: 0.92rem;
  }

  .service-block-list li {
    font-size: 0.88rem;
  }



  /* --- CTA Strip --- */
  .cta-strip {
    padding: 40px 16px;
  }

  .cta-strip-title {
    font-size: 1.6rem;
  }

  .cta-strip .btn-primary {
    width: 100%;
  }

  /* --- Why Choose Us Page --- */
  .reasons-grid {
    grid-template-columns: 1fr;
    padding: 40px 0;
    gap: 16px;
  }

  .reason-card {
    padding: 20px;
  }

  .our-promise {
    padding: 48px 0;
  }

  .our-promise-quote {
    font-size: 1.6rem;
  }

  .our-promise-body {
    font-size: 0.9rem;
  }

  /* --- Touch-friendly tap targets --- */
  .footer-links a,
  .contact-detail {
    padding-top: 4px;
    padding-bottom: 4px;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .footer-links li {
    margin-bottom: 4px;
  }
}
