/* 
 * Akhlaq Capital - Premium Brand Design System
 * Modern Vanilla CSS
 */

/* ==========================================================================
   1. Typography & Google Fonts
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   2. Design Tokens (CSS Variables)
   ========================================================================== */
:root {
  /* Color Palette - Strictly matching the visual identity of image.png */
  --bg-slate-green: #5C6B64;
  /* Premium Slate Green (from image.png) */
  --bg-slate-green-rgb: 92, 107, 100;
  --bg-cream: #FEF4E7;
  /* Clean Warm Cream */
  --bg-cream-rgb: 254, 244, 231;
  --brand-charcoal: #0B2024;
  /* Deep Charcoal for typography/brand text */
  --brand-charcoal-rgb: 11, 32, 36;
  --brand-sage: #6A6F4F;
  /* Muted Olive Accent */
  --brand-sage-rgb: 106, 111, 79;
  --accent-gold-sand: #6A6F4F;
  --accent-gold-sand-light: rgba(106, 111, 79, 0.15);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Inter', 'Calibri', 'Helvetica Neue', system-ui, sans-serif;

  /* Transitions */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-premium-light: 0 30px 60px rgba(11, 32, 36, 0.05);
  --shadow-premium-dark: 0 40px 80px rgba(0, 0, 0, 0.25);
  --shadow-card-hover: 0 50px 90px rgba(11, 32, 36, 0.1);

  /* Layout Constants */
  --container-width: 1200px;
  --header-height: 80px;

  /* Seamless geometric watermark texture */
  --cream-texture: url("test_pattern1.svg");
}

/* ==========================================================================
   3. Document Resets & Global Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-slate-green);
  color: var(--bg-cream);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--brand-charcoal);
}

::-webkit-scrollbar-thumb {
  background: var(--brand-sage);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-gold-sand);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-quick);
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.2;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 40px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 24px;
  }
}

/* ==========================================================================
   4. Sticky Glassmorphic Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(11, 32, 36, 0.08);
  background-color: rgba(254, 244, 231, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: var(--transition-smooth);
}

.site-header.scrolled {
  height: 70px;
  background-color: rgba(254, 244, 231, 0.97);
  border-bottom: 1px solid rgba(11, 32, 36, 0.12);
  box-shadow: 0 4px 20px rgba(11, 32, 36, 0.05);
}

.header-container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-small {
  width: 32px;
  height: 32px;
  transition: var(--transition-smooth);
}

.logo-link:hover .logo-icon-small {
  transform: rotate(45deg);
}

.brand-text {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brand-charcoal);
  margin-top: 2px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(11, 32, 36, 0.65);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--brand-charcoal);
  transition: var(--transition-quick);
}

.nav-link:hover {
  color: var(--brand-charcoal);
}

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

.nav-link.active {
  color: var(--brand-charcoal);
  font-weight: 600;
}

/* Mobile Nav Toggle Button */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1100;
}

.mobile-nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--brand-charcoal);
  margin: 6px 0;
  transition: var(--transition-quick);
}

@media (max-width: 768px) {
  .mobile-nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background-color: var(--bg-cream);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    transition: var(--transition-smooth);
    box-shadow: -10px 0 30px rgba(11, 32, 36, 0.15);
    border-left: 1px solid rgba(11, 32, 36, 0.08);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu.active~.mobile-nav-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-menu.active~.mobile-nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-menu.active~.mobile-nav-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* ==========================================================================
   5. Hero Section (Home)
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 0 80px 0;
  position: relative;
  background-color: var(--bg-cream);
  /* Cream background with subtle geometric vector watermark texture */
  background-image: var(--cream-texture);
  overflow: hidden;
}

/* Ambient dynamic background grids - architectural abstract geometry */
.hero-bg-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(11, 32, 36, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 32, 36, 0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  background-position: center center;
  pointer-events: none;
}

.hero-card-wrapper {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-card {
  background-color: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  text-align: center;
  border: none;
  position: relative;
}

.hero-card::before {
  display: none;
}

.hero-logo-container {
  width: 110px;
  height: 110px;
  margin: 0 auto 36px auto;
  opacity: 0.95;
}

.hero-title-main {
  font-family: var(--font-serif);
  color: var(--brand-charcoal);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.25;
  letter-spacing: 0.01em;
  text-transform: none;
  /* Editorial serif style */
  margin-bottom: 24px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.hero-divider {
  width: 60px;
  height: 1px;
  background-color: var(--brand-sage);
  /* Olive #6A6F4F */
  margin: 24px auto;
  opacity: 0.6;
}

.hero-subtitle {
  font-family: var(--font-sans);
  color: rgba(11, 32, 36, 0.7);
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.7;
  max-width: 660px;
  margin: 0 auto 40px auto;
}

.hero-cta {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg-cream);
  /* Cream text on light-green button */
  background-color: var(--brand-sage);
  /* Light green / sage fill */
  padding: 18px 40px;
  border-radius: 2px;
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, transform 260ms ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.hero-cta:hover {
  background-color: transparent;
  color: var(--brand-sage);
  border-color: var(--brand-sage);
  transform: translateY(-2px);
}

.hero-cta:focus-visible {
  outline: none;
  box-shadow: 0 6px 20px rgba(var(--brand-sage-rgb), 0.12);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--brand-charcoal);
  opacity: 0.7;
  transition: var(--transition-quick);
}

.scroll-indicator:hover {
  opacity: 1;
}

.scroll-text {
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
}

.scroll-mouse {
  width: 20px;
  height: 32px;
  border: 1.5px solid var(--brand-charcoal);
  border-radius: 10px;
  position: relative;
}

.scroll-wheel {
  width: 2px;
  height: 6px;
  background-color: var(--brand-charcoal);
  border-radius: 1px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollMouseWheel 2s infinite ease-in-out;
}

@keyframes scrollMouseWheel {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  75% {
    transform: translate(-50%, 8px);
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@media (max-width: 600px) {
  .hero-card {
    padding: 40px 24px;
  }

  .hero-logo-container {
    width: 120px;
    height: 120px;
  }

  .hero-title-main {
    font-size: 20px;
  }

  .hero-subtitle {
    font-size: 18px;
  }
}

/* ==========================================================================
   6. General Section Styling
   ========================================================================== */
.section {
  padding: 160px 0;
  position: relative;
}

.section.alt-bg {
  background-color: var(--bg-cream);
  background-image: var(--cream-texture);
  color: var(--brand-charcoal);
}

.section-tag {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brand-sage);
  margin-bottom: 16px;
  display: block;
}

.alt-bg .section-tag {
  color: var(--brand-sage);
}

.section-header {
  margin-bottom: 80px;
  max-width: 700px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 46px;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .section {
    padding: 100px 0;
  }

  .section-header {
    margin-bottom: 56px;
  }

  .section-title {
    font-size: 34px;
    line-height: 1.3;
  }
}

/* ==========================================================================
   7. About Us Section
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  align-items: flex-start;
}

.about-intro-text {
  font-family: var(--font-serif);
  font-size: 26px;
  line-height: 1.45;
  font-weight: 300;
  color: var(--brand-charcoal);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.about-body-text {
  font-family: var(--font-sans);
  font-size: 14.5px;
  line-height: 1.75;
  color: rgba(11, 32, 36, 0.75);
}

.about-pillars-container {
  display: flex;
  flex-direction: column;
}

/* Premium Corporate Horizontal Grid Rows */
.brief-rows-container {
  display: flex;
  flex-direction: column;
  margin-top: 75px;
}

.brief-row {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1.5px solid rgba(106, 111, 79, 0.15);
  /* Delicate muted olive rule */
  transition: var(--transition-smooth);
}

.brief-row:first-child {
  padding-top: 0;
}

.brief-row:last-child {
  border-bottom: none;
}

.brief-row-num {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: var(--brand-sage);
  opacity: 0.85;
  margin-top: 3px;
}

.brief-row-content {
  flex-grow: 1;
}

.brief-row-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-charcoal);
  margin-bottom: 8px;
}

.brief-row-desc {
  font-family: var(--font-sans);
  font-size: 13.5px;
  line-height: 1.65;
  color: rgba(11, 32, 36, 0.65);
}

/* ==========================================================================
   7.a About Us - cream background + charcoal-green text
   ========================================================================== */
#about {
  background-color: var(--bg-cream);
  background-image: var(--cream-texture);
  color: #274e47; /* charcoal green */
}

#about .about-grid > div:first-child {
  padding-left: 70px;
}

.half-logo-decorative {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 300px;
  height: 600px;
  background-image: url("half_log.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  opacity: 0.25;
  pointer-events: none;
  z-index: 1;
}

#about .container {
  position: relative;
  z-index: 2;
}

#about a {
  color: #274e47;
}

#about .section-tag,
#about .section-title,
#about .about-intro-text,
#about .about-body-text,
#about .brief-row-num,
#about .brief-row-title,
#about .brief-row-desc,
#about .regulatory-seal,
#about .regulatory-seal *,
#about .team-name,
#about .team-bio {
  color: #274e47 !important;
}

#about .brief-row {
  border-bottom-color: rgba(39, 78, 71, 0.12);
}

#about .regulatory-seal {
  border-top-color: rgba(39, 78, 71, 0.12) !important;
}

@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  #about .about-grid > div:first-child {
    padding-left: 0;
  }

  .half-logo-decorative,
  .section.dark-bg::before,
  .section.dark-bg::after {
    display: none;
  }

  .brief-rows-container {
    margin-top: 0;
  }

  .brief-row {
    padding: 24px 0;
  }
}

/* ==========================================================================
   8. Our Team Section
   ========================================================================== */
.team-intro {
  margin-bottom: 60px;
  font-size: 15px;
  line-height: 1.8;
  color: rgba(253, 243, 230, 0.7);
  max-width: 700px;
}

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

.team-grid-2-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 840px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .team-grid-2-col {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.team-card {
  position: relative;
  background: var(--brand-charcoal);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-premium-dark);
  border: 1px solid rgba(253, 243, 230, 0.05);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(253, 243, 230, 0.15);
}

.team-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  /* Highly elegant professional portrait ratio */
  overflow: hidden;
  background: #0B2024;
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  /* Shifts focal point up to center on faces in landscape photos */
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: grayscale(8%) contrast(102%);
}

.team-card:hover .team-image {
  transform: scale(1.03);
}

.team-info {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.team-info-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(254, 244, 231, 0.08);
  padding-bottom: 12px;
}

.team-role-name-wrapper {
  display: flex;
  flex-direction: column;
}

.team-role {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--brand-sage);
  /* Olive Accent */
  margin-bottom: 8px;
  display: block;
}

.team-name {
  font-size: 24px;
  color: var(--bg-cream);
  margin-bottom: 12px;
}

.team-info-header .team-name {
  margin-bottom: 0;
}

.team-linkedin-link {
  color: var(--brand-sage);
  transition: var(--transition-quick);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(254, 244, 231, 0.03);
  border: 1px solid rgba(254, 244, 231, 0.08);
  flex-shrink: 0;
}

.team-linkedin-link:hover {
  color: var(--bg-cream);
  transform: translateY(-2px);
  background: rgba(254, 244, 231, 0.08);
  border-color: rgba(254, 244, 231, 0.25);
}

.team-bio {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(253, 243, 230, 0.7);
  margin-bottom: 0;
  flex-grow: 1;
  /* Pushes the card base symmetrically */
}

.team-contact-link {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--bg-cream);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(244, 241, 228, 0.2);
  padding-bottom: 2px;
}

.team-contact-link:hover {
  border-color: var(--bg-cream);
}

@media (max-width: 992px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 600px) {
  .team-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* ==========================================================================
   9. Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-intro {
  font-size: 16px;
  line-height: 1.8;
  color: var(--brand-sage);
  margin-bottom: 40px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.contact-icon-link {
  text-decoration: none;
  display: inline-block;
  transition: transform 0.25s ease;
}

.contact-icon-link:hover {
  transform: scale(1.08);
}

.contact-icon-link:hover .contact-icon {
  border-color: var(--brand-charcoal);
  background-color: var(--accent-gold-sand-light);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--accent-gold-sand);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-charcoal);
  font-size: 14px;
  transition: var(--transition-quick);
}

.contact-label {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-sage);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 16px;
  font-weight: 400;
  color: var(--brand-charcoal);
}

.contact-text-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(11, 32, 36, 0.15);
  transition: border-color 0.25s ease, color 0.25s ease;
}

.contact-text-link:hover {
  border-bottom-color: var(--brand-charcoal);
  color: var(--brand-sage);
}

/* Modern Form Elements styling - Premium padded Cream container with texture */
.contact-form-panel {
  background-color: var(--bg-cream);
  background-image: var(--cream-texture);
  padding: 48px;
  border-radius: 6px;
  border: 1px solid rgba(11, 32, 36, 0.08);
  box-shadow: var(--shadow-premium-light);
}

.form-group {
  position: relative;
  margin-bottom: 40px;
}

.form-input {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 14.5px;
  padding: 16px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(106, 111, 79, 0.25);
  /* Soft olive hairline */
  color: var(--brand-charcoal);
  outline: none;
  transition: var(--transition-quick);
}

.form-label {
  position: absolute;
  top: 16px;
  left: 0;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-sage);
  pointer-events: none;
  transition: var(--transition-quick);
}

/* Animated focus and populated states */
.form-input:focus~.form-label,
.form-input:not(:placeholder-shown)~.form-label {
  top: -14px;
  font-size: 9px;
  font-weight: 600;
  color: var(--brand-charcoal);
}

.form-input:focus {
  border-color: var(--brand-charcoal);
}

textarea.form-input {
  min-height: 100px;
  resize: vertical;
}

/* Beautiful Interactive Button - Olive theme matching brief */
.submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--bg-cream);
  /* Cream text on light-green button */
  background-color: var(--brand-sage);
  /* Light green / sage fill */
  padding: 20px 30px;
  border: 2px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 260ms ease, color 260ms ease, border-color 260ms ease, transform 260ms ease;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: transparent;
  color: var(--brand-sage);
  border-color: var(--brand-sage);
  transform: translateY(-2px);
}

.submit-btn:focus-visible {
  outline: none;
  box-shadow: 0 6px 20px rgba(var(--brand-sage-rgb), 0.12);
}

.submit-btn svg {
  transition: var(--transition-quick);
}

.submit-btn:hover svg {
  transform: translateX(6px);
}

/* Form success message */
.form-status {
  margin-top: 20px;
  font-size: 13px;
  font-family: var(--font-sans);
  letter-spacing: 0.05em;
  text-align: center;
  padding: 12px;
  border-radius: 2px;
  display: none;
  animation: fadeInStatus 0.4s ease;
}

.form-status.success {
  display: block;
  background: rgba(89, 102, 95, 0.1);
  color: var(--brand-sage);
  border: 1px solid rgba(86, 98, 92, 0.2);
}

@keyframes fadeInStatus {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   9b. Alternating Rhythm Visual Overrides
   ========================================================================== */

/* A. About Us (Now Dark Green) Overrides */
.section:not(.alt-bg) .about-intro-text {
  color: var(--bg-cream);
}

.section:not(.alt-bg) .about-body-text {
  color: rgba(254, 244, 231, 0.75);
}

.section:not(.alt-bg) .brief-row-title {
  color: var(--bg-cream);
}

.section:not(.alt-bg) .brief-row-desc {
  color: rgba(254, 244, 231, 0.65);
}

.section:not(.alt-bg) .brief-row {
  border-bottom-color: rgba(254, 244, 231, 0.15);
}

.section.dark-bg .regulatory-seal p {
  color: rgba(254, 244, 231, 0.85) !important;
}

.section.dark-bg .regulatory-seal span {
  color: var(--bg-cream) !important;
  opacity: 0.9;
}

/* B. Leadership / Our Team (Now Dark Green) Overrides */
.section.dark-bg {
  background-color: var(--brand-charcoal);
  color: var(--bg-cream);
  position: relative;
  overflow: hidden;
}

.section.dark-bg .container {
  position: relative;
  z-index: 2;
}

.section.dark-bg::before {
  content: "";
  position: absolute;
  top: 5%;
  right: -100px;
  width: 400px;
  height: 400px;
  background-image: url("logo1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  transform: rotate(15deg);
  z-index: 0;
}

.section.dark-bg::after {
  content: "";
  position: absolute;
  bottom: 5%;
  left: -150px;
  width: 450px;
  height: 450px;
  background-image: url("logo1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.07;
  pointer-events: none;
  transform: rotate(-25deg);
  z-index: 0;
}

.section.dark-bg .section-title {
  color: var(--bg-cream);
}

.section.dark-bg .team-intro {
  color: rgba(254, 244, 231, 0.7);
}

.section.dark-bg .team-card {
  background: #152E32;
  /* Rich dark-green/charcoal card variant */
  border: 1px solid rgba(254, 244, 231, 0.08);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.section.dark-bg .team-card:hover {
  border-color: rgba(254, 244, 231, 0.2);
  box-shadow: 0 45px 90px rgba(0, 0, 0, 0.45);
}

/* C. Contact Section (Now Cream) Overrides */
.section.alt-bg .contact-intro {
  color: rgba(11, 32, 36, 0.7);
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

@media (max-width: 600px) {
  .contact-form-panel {
    padding: 30px 20px;
  }
}

/* ==========================================================================
   10. Footer Section
   ========================================================================== */
.site-footer {
  background-color: var(--bg-cream);
  color: rgba(11, 32, 36, 0.65);
  padding: 80px 0 40px 0;
  border-top: 1px solid rgba(11, 32, 36, 0.08);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  border-bottom: 1px solid rgba(11, 32, 36, 0.08);
  padding-bottom: 40px;
}

.footer-logo-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo-icon-footer {
  width: 48px;
  height: 48px;
  opacity: 0.9;
}

.footer-brand-text {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--brand-charcoal);
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(11, 32, 36, 0.55);
  margin-top: 4px;
}

.footer-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.footer-link-item a {
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(11, 32, 36, 0.65);
}

.footer-link-item a:hover {
  color: var(--brand-charcoal);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.05em;
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a:hover {
  color: var(--brand-charcoal);
}

@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
    padding-bottom: 30px;
    margin-bottom: 30px;
  }

  .footer-links {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   11. Viewport Reveal Scroll Animations
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom stagged delays for child columns */
.delay-100 {
  transition-delay: 100ms;
}

.delay-200 {
  transition-delay: 200ms;
}

.delay-300 {
  transition-delay: 300ms;
}

.delay-400 {
  transition-delay: 400ms;
}

.delay-500 {
  transition-delay: 500ms;
}

/* ==========================================================================
   12. Horizontal Logo Sizing & Custom Alignments
   ========================================================================== */
.logo-img-horizontal {
  height: 26px;
  /* Elegant sovereign-fund grade height */
  width: auto;
  display: block;
  transition: var(--transition-smooth);
}

.logo-link:hover .logo-img-horizontal {
  opacity: 0.85;
}

.logo-img-horizontal-footer {
  height: 32px;
  /* Slightly larger in the footer */
  width: auto;
  display: block;
  opacity: 0.95;
}

/* ==========================================================================
   13. Institutional Regulatory Compliance Gate (Pop-up Modal)
   ========================================================================== */
.compliance-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 32, 36, 0.94);
  /* Deep Charcoal backdrop */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  /* Ensure it stays above everything, including navbar */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.compliance-overlay.active {
  opacity: 1;
  visibility: visible;
}

.compliance-modal {
  background-color: var(--bg-slate-green);
  width: 90%;
  max-width: 620px;
  padding: 50px 40px;
  border-radius: 4px;
  border: 1px solid rgba(254, 244, 231, 0.25);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
  text-align: center;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.compliance-overlay.active .compliance-modal {
  transform: translateY(0);
}

.compliance-modal::before {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  bottom: 12px;
  border: 1px solid rgba(254, 244, 231, 0.12);
  /* Soft inner decorative cream line */
  pointer-events: none;
}

.compliance-logo-container {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px auto;
}

.compliance-title {
  font-family: var(--font-serif);
  color: var(--bg-cream);
  font-size: 26px;
  font-weight: 400;
  letter-spacing: 0.02em;
  margin-bottom: 20px;
  line-height: 1.3;
}

.compliance-text {
  font-family: var(--font-sans);
  color: rgba(253, 243, 230, 0.7);
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 36px;
  text-align: justify;
  text-justify: inter-word;
}

.compliance-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.compliance-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 16px 28px;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition-quick);
  display: inline-block;
  min-width: 160px;
}

.compliance-btn-confirm {
  background-color: var(--bg-cream);
  color: var(--brand-charcoal);
  border: 1px solid var(--bg-cream);
}

.compliance-btn-confirm:hover {
  background-color: transparent;
  color: var(--bg-cream);
}

.compliance-btn-decline {
  background-color: transparent;
  color: rgba(254, 244, 231, 0.65);
  border: 1px solid rgba(254, 244, 231, 0.25);
}

.compliance-btn-decline:hover {
  color: var(--bg-cream);
  border-color: var(--bg-cream);
}

.body-lock {
  overflow: hidden !important;
}

@media (max-width: 600px) {
  .compliance-modal {
    padding: 40px 24px;
  }

  .compliance-title {
    font-size: 22px;
  }

  .compliance-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .compliance-btn {
    width: 100%;
  }
}