:root {
  --bg: #f0f4fa;
  --bg-soft: #f7f9fd;
  --surface: #ffffff;
  --surface-2: #eef4ff;
  --text: #15243b;
  --text-soft: #5b6a7d;
  --primary: #0f4dff;
  --primary-soft: #e7efff;
  --section-fade-brightness: 0.62;
  --card-fade-brightness: 0.8;
  --accent: #2a78ff;
  --ink: #091728;
  --shadow: 0 20px 50px rgba(16, 35, 70, 0.12);
  --max-width: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-weight: 700;
  overflow-x: hidden;
}

/* Global faded background image behind all sections */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(6,15,35,0.50), rgba(6,15,35,0.60)), url('assets/hero-banking-DhVX60bA.jpg');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  filter: saturate(0.98) contrast(0.96) brightness(0.92);
  opacity: 0.22;
  z-index: -1;
  pointer-events: none;
}
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; text-decoration: none; font-weight: 700; }
button, input, select, textarea { font: inherit; }
.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
h1, h2, h3, h4 { margin: 0; font-family: 'DM Serif Display', serif; font-weight: 700; line-height: 1.05; color: var(--ink); }
p { margin: 0; }
.eyebrow {
  margin-bottom: 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #ffffff 0%, #f7faff 100%);
  color: var(--primary);
  box-shadow: 0 18px 35px rgba(15, 77, 255, 0.14);
}
.btn-primary:hover { box-shadow: 0 24px 42px rgba(15, 77, 255, 0.2); }
.btn-outline {
  color: #ffffff;
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(6px);
}
.btn-xl { padding: 16px 32px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(15, 36, 59, 0.08);
}
.scroll-progress {
  position: absolute;
  inset: 0 auto auto 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #77a9ff, var(--primary));
  z-index: 31;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); font-weight: 700; }
.brand-logo { width: 44px; height: 44px; object-fit: contain; }
.main-nav { display: flex; gap: 8px; color: var(--text-soft); font-weight: 700; }
.main-nav a { padding: 8px 14px; border-radius: 999px; transition: color 0.2s ease, background-color 0.2s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--primary); background: rgba(15, 77, 255, 0.08); }
.header-btn { white-space: nowrap; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--primary-soft); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 4px; }
.nav-toggle span { display: block; width: 18px; height: 2px; border-radius: 999px; background: var(--primary); }
.mobile-menu { display: none; flex-direction: column; gap: 10px; padding: 0 24px 24px; background: rgba(255,255,255,0.96); }
.mobile-menu a { padding: 12px 16px; border-radius: 14px; background: var(--bg-soft); color: var(--ink); font-weight: 600; }
.site-header.nav-open .mobile-menu { display: flex; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  min-height: 620px;
  background: linear-gradient(120deg, #061a3d 0%, #0d2d64 44%, #091728 100%);
}
.hero-home { padding-bottom: 92px; }
.hero-inner { min-height: 480px; padding: 64px 0; }
.hero-backdrop {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(110deg, rgba(6, 26, 61, 0.92) 8%, rgba(15, 77, 255, 0.18) 55%, rgba(2, 14, 34, 0.9) 100%), url('assets/hero-banking-DhVX60bA.jpg');
  background-size: cover;
  background-position: center center;
  filter: brightness(0.8) saturate(1.05);
  transform: scale(1.03);
  z-index: 0;
}

/* Strong hero overlay that darkens the hero and fades to white at the bottom */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6,26,61,0.86) 0%, rgba(6,26,61,0.72) 60%, rgba(255,255,255,0.95) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Fade background imagery in hero and section cards for better readability */
.hero-backdrop {
  filter: brightness(var(--section-fade-brightness)) saturate(0.92) contrast(0.98);
}
.gallery-card img,
.people-card img,
.showcase-card img,
.hero-media img {
  filter: brightness(var(--card-fade-brightness)) saturate(0.96);
  transition: filter 220ms ease;
}

/* Slightly restore brightness on hover for interactive cards */
.gallery-card img:hover,
.people-card img:hover,
.showcase-card img:hover {
  filter: brightness(1) saturate(1);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(280px, 0.96fr);
  gap: 36px;
  align-items: center;
  min-height: 460px;
}

/* (cinematic overlap removed - reverted to standard flow) */
.hero-grid-single {
  grid-template-columns: 1fr;
  max-width: none;
  justify-items: start;
  padding-left: 72px;
  padding-right: 48px;
}
.hero-copy { max-width: 560px; }
.hero .eyebrow, .hero h1, .hero .hero-text, .hero .hero-actions { position: relative; z-index: 1; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 24px;
}
.hero h1 {
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  color: #ffffff;
  text-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
  max-width: 42ch;
}
.hero-text {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 28px;
  max-width: 56ch;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-media { position: relative; display: flex; justify-content: flex-end; }
.hero-media img {
  width: min(100%, 480px);
  min-height: 420px;
  border-radius: 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.28);
  object-position: center;
}
.hero-media-badge {
  position: absolute;
  left: 16px;
  bottom: 24px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,0.12);
  color: #ffffff;
  backdrop-filter: blur(8px);
  font-size: 0.9rem;
}

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.section-glow {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #f3f7ff 0%, #eef4ff 100%);
}
.section-glow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 12%, rgba(15, 77, 255, 0.12), transparent 22%), radial-gradient(circle at 82% 15%, rgba(87, 138, 255, 0.12), transparent 20%);
  pointer-events: none;
}
.section-heading { max-width: 760px; margin: 0 auto 36px; text-align: center; }
.section-heading h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 12px; color: var(--ink); }
.section-heading p { color: var(--text-soft); line-height: 1.8; }

/* Cinematic overlays */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  background: radial-gradient(ellipse at center, rgba(0,0,0,0) 42%, rgba(0,0,0,0.28) 100%);
  mix-blend-mode: multiply;
  opacity: 0.6;
}

/* Subtle film grain overlay */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 51;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  opacity: 0.06;
  mix-blend-mode: overlay;
}

/* Snow canvas sits above the page background but below UI chrome */
.snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 49;
}

/* Strong lead text: black and bold across the site */
.lead-strong {
  color: #000000 !important;
  font-weight: 800 !important;
}

/* Cursor light effect */
.cursor-light {
  position: fixed;
  left: 0; top: 0;
  width: 220px; height: 220px;
  pointer-events: none;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,255,255,0.12) 0%, rgba(255,255,255,0.04) 20%, rgba(255,255,255,0) 60%);
  mix-blend-mode: overlay;
  z-index: 60;
  opacity: 0.0;
  transition: opacity 260ms ease, transform 120ms linear;
}

@media (prefers-reduced-motion: reduce) {
  .floating-object { animation: none !important; transform: none !important; }
  .cursor-light { display: none !important; }
}

/* Light theme baseline */
:root { transition: color 240ms ease, background 240ms ease; }
body { transition: background-color 260ms ease, color 260ms ease; }

/* Small responsive adjustment */
/* When placed inside the footer bottom area, make it sit inline to the right */
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

@media (max-width: 720px) {
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
}
.about, .people, .reasons, .testimonials-section, .service-section, .contact-page { padding: 84px 0; scroll-margin-top: 96px; }

/* Blur the site-wide background image for specific content sections
   by adding a translucent overlay with backdrop-filter. This keeps
   the global background visible but softened behind the content. */
.about, .people, .reasons, .testimonials, .contact-section, .gallery-section {
  position: relative;
}
.about::before,
.people::before,
.reasons::before,
.testimonials::before,
.contact-section::before,
.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(6, 15, 35, 0.28);
  backdrop-filter: blur(6px) saturate(0.95);
  -webkit-backdrop-filter: blur(6px) saturate(0.95);
  pointer-events: none;
  z-index: 0;
}

/* Strong fade for the About section: hide the site background image beneath it */
.about::before {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
/* Ensure the visible content sits above the blurred overlay */
.about > .wrap,
.people > .wrap,
.reasons > .wrap,
.testimonials > .wrap,
.contact-section > .wrap,
.gallery-section > .wrap {
  position: relative;
  z-index: 1;
}
.about-panel-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(280px, 0.98fr);
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.about-text-block h2 { font-size: clamp(2.2rem, 3.4vw, 3rem); margin-bottom: 16px; }
.about-text-block p { color: var(--text-soft); margin-bottom: 16px; line-height: 1.9; }
.about-cards-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.about-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 28px 20px;
  box-shadow: var(--shadow);
  text-align: center;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.about-card h3 { color: var(--ink); font-size: 1.7rem; margin-bottom: 8px; }
.about-card p { color: var(--text-soft); }

.people-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}
.people-card {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  box-shadow: var(--shadow);
  min-height: 260px;
}
.people-card img { width: 100%; height: 100%; object-fit: cover; }
.people-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  background: linear-gradient(180deg, transparent 30%, rgba(8, 22, 40, 0.82) 100%);
}
.people-overlay span { color: #ffffff; font-weight: 700; }

.reasons-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 28px;
  align-items: start;
  position: relative;
  z-index: 1;
}
.reasons-copy h2 { font-size: clamp(2rem, 3.2vw, 2.8rem); margin-bottom: 14px; }
.reasons-copy p { color: var(--text-soft); line-height: 1.9; }
.reason-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.reason-card {
  background: var(--surface);
  border-radius: 24px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.reason-icon {
  width: 50px;
  height: 50px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--primary-soft);
  color: var(--primary);
  margin-bottom: 16px;
}
.reason-icon svg { width: 22px; height: 22px; }
.reason-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--ink); }
.reason-card p { color: var(--text-soft); line-height: 1.75; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}
.service-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 28px 22px;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 28px 60px rgba(16, 35, 70, 0.18); }
.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: #ffffff;
  margin-bottom: 18px;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { font-size: 1.14rem; margin-bottom: 10px; color: var(--ink); }
.service-card p { color: var(--text-soft); line-height: 1.8; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}
.testimonial-card {
  background: var(--surface);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.testimonial-card-large { grid-column: span 2; }
.testimonial-tag { color: var(--primary); font-weight: 700; letter-spacing: 0.12em; margin-bottom: 16px; }
.testimonial-card p { color: var(--text-soft); line-height: 1.85; }
.testimonial-meta { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-weight: 700;
}
.testimonial-meta strong { color: var(--ink); display: block; margin-bottom: 2px; }
.testimonial-meta p { margin: 0; color: var(--text-soft); }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

/* Contact page: left column groups hero copy and contact cards */
.contact-hero-grid {
  /* vertically center the two columns so the form lines up with the hero title */
  align-items: center;
}
.hero-left {
  display: grid;
  gap: 20px;
  align-items: start;
}

/* Push the contact form lower so the name/email box sits further down */
.contact-hero-grid > div:last-child { margin-top: 48px; }

/* Ensure the right column (form) centers itself within the grid row */
.contact-hero-grid > div:last-child { align-self: center; }

@media (max-width: 1100px) {
  .contact-hero-grid > div:last-child { margin-top: 20px; }
}

@media (max-width: 760px) {
  .contact-hero-grid > div:last-child { margin-top: 12px; }
}
.contact-info { display: grid; gap: 16px; }
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.contact-card.highlight { background: #eaf2ff; }
.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  font-size: 1.1rem;
}
.contact-card h3 { font-size: 1.05rem; color: var(--ink); margin-bottom: 6px; }
.contact-card p { color: var(--text-soft); line-height: 1.75; }
.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-group { display: grid; gap: 8px; }
.form-group label { color: var(--text-soft); font-weight: 600; }
.form-group input, .form-group textarea {
  width: 100%;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--bg-soft);
  color: var(--ink);
}
.form-group input:focus, .form-group textarea:focus { outline: 2px solid rgba(15, 77, 255, 0.18); border-color: rgba(15, 77, 255, 0.2); }
.contact-form button { width: fit-content; }

.gallery-section { padding: 84px 0; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  position: relative;
  z-index: 1;
}
.gallery-section .gallery-card { min-height: 220px; }

.site-footer {
  background: linear-gradient(180deg, #0b1730 0%, #0a1529 100%);
  color: rgba(255,255,255,0.78);
  padding: 54px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1fr;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand p { margin-top: 14px; color: rgba(255,255,255,0.72); max-width: 38ch; line-height: 1.8; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h4 { color: #f1d687; font-size: 0.95rem; margin-bottom: 6px; }
.footer-col a, .footer-col p { color: rgba(255,255,255,0.76); line-height: 1.75; }
.footer-bottom { padding-top: 18px; color: rgba(255,255,255,0.56); font-size: 0.92rem; }

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 120;
  background: rgba(6, 15, 35, 0.82);
}
.lightbox.is-open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(6, 15, 35, 0.86); backdrop-filter: blur(8px); }
.lightbox-image { position: relative; z-index: 2; max-width: 92vw; max-height: 80vh; border-radius: 24px; object-fit: contain; box-shadow: 0 30px 90px rgba(0, 0, 0, 0.4); }
.lightbox-caption { position: relative; z-index: 2; margin-top: 16px; color: #f5f7fb; text-align: center; }
.lightbox-close { position: absolute; top: 22px; right: 22px; z-index: 3; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255,255,255,0.1); color: #ffffff; font-size: 1.8rem; cursor: pointer; }

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { justify-content: flex-start; }
  .about-panel-grid, .reasons-grid, .contact-grid { grid-template-columns: 1fr; }
  .people-grid, .service-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card-large { grid-column: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav, .header-btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .wrap { padding: 0 18px; }
  .hero { min-height: auto; padding: 56px 0 48px; }
  .hero h1 { max-width: none; }
  .hero-media img { min-height: 280px; }
  .about-cards-grid, .reason-cards, .people-grid, .service-grid, .gallery-grid, .footer-grid { grid-template-columns: 1fr; }
  .about, .people, .reasons, .testimonials-section, .contact-page, .gallery-section { padding: 68px 0; }
  .contact-form, .contact-card, .testimonial-card, .service-card, .reason-card, .about-card { border-radius: 22px; }
}
