/* =============================================
   AIMS ASSOCIATES — GLOBAL CORPORATE DESIGN SYSTEM
   Editorial Financial & Legal Advisory Theme
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ===== CSS CUSTOM PROPERTIES ===== */
:root {
  /* Corporate Palette (Aligned with AIMS Logo & Executive Advisory Theme) */
  --primary: #0A1124;
  /* Deep Executive Navy / Charcoal */
  --primary-light: #16223B;
  --primary-mid: #2C3E5D;
  --brand-red: #C5221F;
  /* AIMS Logo Crimson Red */
  --brand-red-hover: #A31815;
  --brand-red-light: #FDE8E8;
  --brand-gold: #D97706;
  /* AIMS Logo Amber Gold */
  --brand-gold-light: #FEF3C7;
  --brand-gold-hover: #B45309;
  --brand-blue: #1B3A8F;
  /* AIMS Logo Royal Navy Blue */
  --brand-blue-light: #E0E7FF;

  --accent: var(--brand-red);
  /* Primary Action color */
  --accent-light: #E03131;
  --accent-hover: var(--brand-red-hover);
  --trust-blue: var(--brand-blue);
  --trust-blue-light: #3B82F6;

  /* Backgrounds */
  --bg: #FAF8F5;
  /* Warm Executive Cream / Ivory */
  --bg-white: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-section: #F3EFE8;
  /* Subtle warm contrast */
  --bg-dark: #0A1124;

  /* Text */
  --text-dark: #111827;
  --text-mid: #374151;
  --text-light: #6B7280;
  --text-lighter: #9CA3AF;

  /* Borders & Shadows */
  --border: #E5E0D6;
  --border-light: #EFECE5;
  --border-dark: #22304A;
  --shadow-sm: 0 1px 3px rgba(10, 17, 36, 0.06), 0 1px 2px rgba(10, 17, 36, 0.04);
  --shadow-md: 0 4px 20px rgba(10, 17, 36, 0.08), 0 2px 6px rgba(10, 17, 36, 0.04);
  --shadow-lg: 0 12px 36px rgba(10, 17, 36, 0.10), 0 4px 12px rgba(10, 17, 36, 0.06);
  --shadow-xl: 0 24px 60px rgba(10, 17, 36, 0.14);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-pill: 50px;

  --nav-height: 84px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.15s ease;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

ul {
  list-style: none;
}

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

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.font-sans {
  font-family: 'Plus Jakarta Sans', sans-serif;
}

.text-crimson {
  color: var(--brand-red);
  font-style: italic;
}

.text-gold {
  color: var(--brand-gold);
}

.text-blue {
  color: var(--brand-blue);
}

h1 {
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.3rem, 2.2vw, 1.8rem);
  font-weight: 600;
}

h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  color: var(--text-mid);
  line-height: 1.75;
}

/* ===== CONTAINER ===== */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 28px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
}

/* ===== TOP BAR ===== */
.top-bar {
  background: #060B18;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.03em;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-badge {
  color: var(--brand-gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-link {
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-fast);
}

.top-bar-link:hover {
  color: #fff;
}

/* ===== NAVIGATION ===== */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 14px rgba(10, 17, 36, 0.04);
  z-index: 9999;
  transition: var(--transition);
}

.navbar.scrolled {
  height: 72px;
  box-shadow: 0 4px 20px rgba(10, 17, 36, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-fast);
  position: relative;
  letter-spacing: 0.01em;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--brand-red);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

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

.nav-link:hover::after {
  transform: scaleX(1);
}

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

.nav-link.active::after {
  transform: scaleX(1);
}

.nav-cta {
  margin-left: 12px;
  background: var(--primary) !important;
  color: #fff !important;
  border: 1px solid var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

.nav-cta:hover {
  background: var(--brand-red) !important;
  border-color: var(--brand-red) !important;
  box-shadow: 0 4px 16px rgba(197, 34, 31, 0.3) !important;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-hamburger.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
  border: 1px solid var(--brand-red);
  box-shadow: 0 3px 14px rgba(197, 34, 31, 0.25);
}

.btn-primary:hover {
  background: var(--brand-red-hover);
  border-color: var(--brand-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 34, 31, 0.35);
  color: #fff;
}

.btn-dark {
  background: var(--primary);
  color: #fff;
  border: 1px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(10, 17, 36, 0.03);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--primary);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 0.95rem;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.8rem;
}

/* ===== SECTION LAYOUT ===== */
.section {
  padding: 96px 0;
}

.section-sm {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-section);
  position: relative;
  overflow: hidden;
}

.section-white {
  background: #FFFFFF;
  position: relative;
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

/* ===== HANDSHAKE BACKGROUND WATERMARK ON CREAM/ALT CONTAINERS ===== */
.section-alt::before,
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/handshake.png');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
  transition: opacity 0.3s ease;
}

.page-header {
  position: relative;
  overflow: hidden;
}

/* Ensure container content sits crisp and interactive above watermark */
.section-alt>*,
.page-header>* {
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {

  .section-alt::before,
  .page-header::before {
    background-size: cover;
    background-position: center top;
    opacity: 0.14;
  }
}

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

.section-header h2 {
  margin-bottom: 16px;
}

.section-header p {
  font-size: 1.05rem;
  max-width: 680px;
  margin: 0 auto;
  color: var(--text-mid);
}

.section-header.text-left {
  text-align: left;
}

.section-header.text-left p {
  margin-left: 0;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 14px;
}

.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--brand-red);
}

/* ===== HERO SECTION ===== */
.hero-editorial {
  background: var(--bg);
  padding: 80px 0 90px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-editorial .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 20px;
}

.hero-editorial h1 {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--primary);
  margin-bottom: 24px;
}

.hero-editorial .hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 580px;
}

.hero-editorial .hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-editorial .hero-stats {
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
}

.hero-stat-item .stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.hero-stat-item .stat-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.hero-media-wrapper {
  position: relative !important;
  margin-top: 16px;
  margin-bottom: 60px !important;
  display: block !important;
}

.hero-main-img {
  width: 100% !important;
  height: 480px !important;
  object-fit: cover !important;
  border-radius: 20px !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.15) !important;
  border: 1px solid var(--border) !important;
  display: block !important;
}

.hero-floating-quote {
  position: absolute !important;
  bottom: -40px !important;
  left: -24px !important;
  right: 24px !important;
  background: #FFFFFF !important;
  padding: 24px 28px !important;
  border-radius: 18px !important;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.18), 0 4px 16px rgba(0, 0, 0, 0.06) !important;
  border: 1px solid rgba(0, 0, 0, 0.05) !important;
  z-index: 10 !important;
  display: block !important;
}

.floating-quote-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 8px;
  display: block;
}

.floating-quote-text {
  font-size: 0.88rem !important;
  color: #1E293B !important;
  line-height: 1.6 !important;
  font-style: italic !important;
  margin: 0 !important;
}

.floating-quote-author {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-top: 8px;
}

/* ===== PILLARS / SERVICES CARDS (01, 02, 03, 04) ===== */
.pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px 28px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(197, 34, 31, 0.12), 0 4px 12px rgba(10, 17, 36, 0.06);
  border-color: var(--brand-red);
}

.pillar-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.pillar-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
  transition: color var(--transition-fast);
}

.pillar-icon-symbol {
  color: var(--text-lighter);
  font-size: 1.2rem;
}

.pillar-category {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
  display: block;
}

.pillar-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
  line-height: 1.35;
  transition: color var(--transition-fast);
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 20px;
}

.pillar-bullets {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 24px;
}

.pillar-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  transition: color var(--transition-fast);
  cursor: default;
}

.pillar-bullet-item:hover {
  color: var(--brand-red);
}

.pillar-bullet-dot {
  width: 5px;
  height: 5px;
  background: var(--brand-red);
  flex-shrink: 0;
  transition: transform var(--transition-fast), background-color var(--transition-fast);
}

.pillar-bullet-item:hover .pillar-bullet-dot {
  background-color: var(--brand-red-hover);
  transform: scale(1.3);
}

.pillar-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.pillar-card:hover .pillar-link {
  color: var(--brand-red);
}

.pillar-link:hover {
  color: var(--brand-red);
  gap: 10px;
}

/* ===== VISION & MISSION CIRCULAR CARDS ===== */
.vision-mission-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  max-width: 980px;
  margin: 0 auto;
  justify-items: center;
  align-items: center;
}

.vision-mission-circle-card {
  background: #FFFFFF;
  border: 1px solid rgba(13, 27, 42, 0.08);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 44px 38px 36px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.05), 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.45s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* Decorative top-right curved accent blush matching reference */
.circle-card-accent {
  position: absolute;
  top: -15px;
  right: -15px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(192, 57, 43, 0.09) 0%, rgba(192, 57, 43, 0) 70%);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.vision-card .circle-card-accent {
  background: radial-gradient(circle, rgba(184, 134, 11, 0.12) 0%, rgba(184, 134, 11, 0) 70%);
}

/* Circular Icon Badge */
.circle-card-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(66, 133, 244, 0.15);
}

.circle-card-img-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.4s ease;
}

.vision-card .circle-card-icon-wrap {
  background: transparent;
}

/* Eyebrow / Tag */
.circle-card-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 8px;
}

.circle-card-tag.tag-gold {
  color: var(--brand-gold);
}

/* Title */
.circle-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.28;
  margin-bottom: 10px;
  max-width: 280px;
}

/* Description */
.circle-card-desc {
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--text-mid);
  max-width: 310px;
  margin-bottom: 16px;
}

/* Bottom status pill / divider */
.circle-card-footer {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mid);
  padding-top: 10px;
  border-top: 1px solid rgba(13, 27, 42, 0.08);
  width: 75%;
  justify-content: center;
}

.circle-card-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10B981;
  display: inline-block;
}

.circle-card-status-dot.dot-gold {
  background: #F59E0B;
}

/* ===== HOVER AND TOUCH/MOBILE ACTIVE STATES (IMAGE 2 ACTIVE STATE) ===== */
.vision-mission-circle-card:hover,
.vision-mission-circle-card:active,
.vision-mission-circle-card:focus,
.vision-mission-circle-card.is-touched {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 50px rgba(192, 57, 43, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(192, 57, 43, 0.35);
}

.vision-card:hover,
.vision-card:active,
.vision-card:focus,
.vision-card.is-touched {
  box-shadow: 0 24px 50px rgba(184, 134, 11, 0.14), 0 8px 24px rgba(0, 0, 0, 0.06);
  border-color: rgba(184, 134, 11, 0.4);
}

.vision-mission-circle-card:hover .circle-card-icon-wrap,
.vision-mission-circle-card:active .circle-card-icon-wrap,
.vision-mission-circle-card:focus .circle-card-icon-wrap,
.vision-mission-circle-card.is-touched .circle-card-icon-wrap {
  transform: scale(1.1);
  box-shadow: 0 8px 22px rgba(66, 133, 244, 0.28);
}

.vision-card:hover .circle-card-icon-wrap,
.vision-card:active .circle-card-icon-wrap,
.vision-card:focus .circle-card-icon-wrap,
.vision-card.is-touched .circle-card-icon-wrap {
  box-shadow: 0 8px 22px rgba(66, 133, 244, 0.28);
}

.vision-mission-circle-card:hover .circle-card-accent,
.vision-mission-circle-card.is-touched .circle-card-accent {
  opacity: 1;
  transform: scale(1.15);
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .vision-mission-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .vision-mission-circle-card {
    max-width: 380px;
    padding: 36px 28px 30px;
  }

  .circle-card-title {
    font-size: 1.15rem;
  }

  .circle-card-desc {
    font-size: 0.78rem;
    line-height: 1.5;
  }
}

@media (max-width: 440px) {
  .vision-mission-circle-card {
    max-width: 320px;
    padding: 26px 18px 22px;
  }

  .circle-card-icon-wrap {
    width: 48px;
    height: 48px;
    margin-bottom: 8px;
  }

  .circle-card-icon {
    font-size: 1.2rem;
  }

  .circle-card-title {
    font-size: 1.05rem;
    margin-bottom: 6px;
  }

  .circle-card-desc {
    font-size: 0.72rem;
    line-height: 1.4;
    margin-bottom: 10px;
  }

  .circle-card-footer {
    font-size: 0.66rem;
    padding-top: 6px;
  }
}

/* ===== LEGACY & CANDOR SECTION ===== */
.legacy-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 64px;
  align-items: center;
}

.legacy-img-wrap {
  position: relative;
}

.legacy-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.legacy-badge-overlay {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--primary);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  max-width: 280px;
  box-shadow: var(--shadow-xl);
}

.legacy-badge-overlay .sub {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 4px;
}

.legacy-badge-overlay .title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: #fff;
}

.legacy-badge-overlay .desc {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
}

.legacy-content h2 {
  margin-bottom: 20px;
}

.legacy-content .lead {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 32px;
}

.legacy-feature-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.legacy-feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding: 16px;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.legacy-feature-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brand-red);
  color: #FFFFFF;
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.legacy-feature-text h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.legacy-feature-text p {
  font-size: 0.825rem;
  color: var(--text-light);
  line-height: 1.5;
}

.legacy-signatures {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.signature-block {
  display: flex;
  flex-direction: column;
}

.signature-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--primary);
}

.signature-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-light);
  margin-top: 2px;
}

/* ===== TESTIMONIALS / ENDORSEMENTS ===== */
.endorsement-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  position: relative;
}

.endorsement-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-gold);
}

.endorsement-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.star-rating {
  color: var(--brand-gold);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.endorsement-tag {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.tag-red {
  background: var(--brand-red-light);
  color: var(--brand-red);
}

.tag-navy {
  background: #E5E7EB;
  color: var(--primary);
}

.tag-gold {
  background: var(--brand-gold-light);
  color: var(--brand-gold-hover);
}

.endorsement-quote {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 24px;
}

.endorsement-author {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.author-info h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 0.95rem;
  color: var(--primary);
}

.author-info span {
  font-size: 0.75rem;
  color: var(--text-light);
}

.author-code {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  color: var(--text-lighter);
  font-weight: 600;
}

/* ===== PRIVILEGED CONTACT SECTION (Lead Section) ===== */
.privileged-section {
  background: #080E1C;
  color: #fff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.privileged-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.privileged-info .section-eyebrow {
  color: var(--brand-gold);
}

.privileged-info .section-eyebrow::before {
  background: var(--brand-gold);
}

.privileged-info h2 {
  color: #fff;
  margin-bottom: 20px;
}

.privileged-info p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
  margin-bottom: 36px;
}

.confidential-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 20px;
  margin-bottom: 28px;
}

.confidential-card h5 {
  color: #fff;
  font-size: 0.85rem;
  margin-bottom: 6px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

.confidential-card p {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
  line-height: 1.5;
}

.board-hotline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(197, 34, 31, 0.12);
  border: 1px solid rgba(197, 34, 31, 0.3);
  border-radius: var(--radius-sm);
}

.hotline-icon {
  color: var(--brand-red);
  font-size: 1.25rem;
}

.hotline-text .label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.6);
  display: block;
}

.hotline-text .number {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.privileged-form-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 44px 36px;
  box-shadow: var(--shadow-xl);
  color: var(--text-dark);
}

/* ===== MODERN CONTACT SPLIT SECTION ===== */
.contact-split-section {
  padding: 80px 0 100px;
  background: var(--bg);
}

.contact-split-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 0;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(10, 17, 36, 0.08);
  max-width: 1080px;
  margin: 0 auto;
}

.contact-info-panel {
  padding: 64px 48px;
  background: #060B18; /* Deep executive navy matching footer */
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.contact-panel-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  margin-bottom: 8px;
  display: block;
}

.contact-info-block {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.contact-info-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: var(--brand-red);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--transition-fast);
}

.contact-info-icon-wrap svg {
  color: var(--brand-red);
  transition: color var(--transition-fast);
}

.contact-info-block:hover .contact-info-icon-wrap {
  background: var(--brand-red);
  border-color: var(--brand-red);
  transform: scale(1.06);
}

.contact-info-block:hover .contact-info-icon-wrap svg {
  color: #FFFFFF;
}

.contact-info-content h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.contact-info-content p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin: 0;
}

.contact-info-content p a {
  color: #FFFFFF;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.contact-info-content p a:hover {
  color: var(--brand-red);
}

.contact-info-content .contact-info-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 4px;
}

/* Right Form Card (Grey / Tinted Background) */
.contact-form-card {
  padding: 64px 48px;
  background: #ECE8E1; /* Soft tinted light grey / warm cream matching reference */
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-form-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--primary);
  text-align: center;
  margin-bottom: 28px;
}

.contact-form-card .form-group {
  margin-bottom: 18px;
}

.contact-form-card .form-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 6px;
}

.contact-form-card .form-control {
  background: #FFFFFF !important;
  border: 1px solid #D5CEBF !important;
  border-radius: var(--radius-sm) !important;
  padding: 13px 16px !important;
  font-size: 0.9rem !important;
  color: var(--text-dark) !important;
  transition: all var(--transition-fast) !important;
}

.contact-form-card .form-control:focus {
  border-color: var(--brand-red) !important;
  box-shadow: 0 0 0 3px rgba(197, 34, 31, 0.12) !important;
}

.contact-submit-btn {
  width: 100% !important;
  justify-content: center !important;
  padding: 15px 32px !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: 8px !important;
  margin-top: 8px !important;
}

.form-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.form-card-header h3 {
  font-size: 1.35rem;
  color: var(--primary);
}

.form-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-red);
  border: 1px solid var(--brand-red);
  padding: 3px 8px;
  border-radius: 3px;
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  color: var(--text-dark);
  background: var(--bg);
  transition: var(--transition-fast);
  outline: none;
}

.form-control:focus {
  border-color: var(--primary);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(10, 17, 36, 0.08);
}

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

select.form-control {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%236B7280' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

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

.form-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.72rem;
  color: var(--text-light);
  line-height: 1.4;
  margin-bottom: 20px;
}

.form-disclaimer input {
  margin-top: 2px;
}

/* ===== FOOTER ===== */
.footer {
  background: #060B18;
  color: rgba(255, 255, 255, 0.7);
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 36px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

.footer-brand p {
  font-size: 0.825rem;
  line-height: 1.75;
  margin-top: 16px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.65);
}

.footer-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.footer-badge {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.06);
  padding: 4px 8px;
  border-radius: 3px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-timing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.73rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  width: fit-content;
}

.footer-timing-badge svg {
  color: var(--brand-gold);
  flex-shrink: 0;
}

.footer-social-strip {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #060B18;
  color: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-social-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.footer-social-btn:hover {
  background: var(--brand-red);
  color: #FFFFFF;
  border-color: var(--brand-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(197, 34, 31, 0.35);
}

.footer-social-btn:hover svg {
  transform: scale(1.1);
}

.footer-col h4 {
  color: #fff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 0.835rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

/* Footer Map Column */
.footer-map-col {
  display: flex;
  flex-direction: column;
}

.footer-map-subtitle {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: -12px;
  margin-bottom: 12px;
}

.footer-map-container {
  position: relative;
  width: 100%;
  height: 180px;
  min-height: 170px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  background: #0A1124;
}

.footer-map-container iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
}

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

.footer-bottom-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== INNER PAGE HERO / PAGE HEADER ===== */
.page-header {
  background: var(--bg);
  padding: 72px 0 56px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  position: relative;
}

.page-header h1 {
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: var(--primary);
  margin-bottom: 14px;
}

.page-header p {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto;
}

/* ===== LEADERSHIP TEAM CARDS ===== */
.leader-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.leader-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-gold);
}

.leader-img-wrap {
  height: 320px;
  background: #E5E7EB;
  position: relative;
  overflow: hidden;
}

.leader-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.4s ease;
}

.leader-card:hover .leader-img-wrap img {
  transform: scale(1.04);
}

.leader-body {
  padding: 28px;
}

.leader-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  margin-bottom: 4px;
  color: var(--primary);
}

.leader-role {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-red);
  margin-bottom: 16px;
}

.leader-bio {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.leader-bio li {
  font-size: 0.825rem;
  color: var(--text-mid);
  line-height: 1.55;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.leader-bio li::before {
  content: '▪';
  color: var(--brand-gold);
  font-size: 0.9rem;
  flex-shrink: 0;
}

/* ===== SERVICES & PROCESS GRID ===== */
.service-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--brand-red);
}

.service-icon {
  width: 68px;
  height: 68px;
  background: transparent;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 16px;
  transition: var(--transition);
}

.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .service-icon-img {
  transform: scale(1.12);
}

.service-card:hover .service-icon {
  background: transparent;
}

.service-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--brand-red);
  text-align: center;
}

.service-card p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  text-align: center;
  margin: 0;
}

/* ===== WHY CHOOSE AIMS CARDS ===== */
.why-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 32px 24px;
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-gold);
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-gold-light);
  color: var(--brand-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 20px;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  transform: scale(1.08);
}

.why-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--primary);
}

.why-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== PARTNER LOGOS SHOWCASE ===== */
/* White section background set via .section-white on the HTML element */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  align-items: center;
  justify-items: center;
  margin-top: 40px;
  border-top: 1px solid rgba(15, 23, 42, 0.07);
  border-left: 1px solid rgba(15, 23, 42, 0.07);
}

@media (max-width: 900px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 580px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 110px;
  padding: 20px 32px;
  box-sizing: border-box;
  background: #ffffff;
  border-right: 1px solid rgba(15, 23, 42, 0.07);
  border-bottom: 1px solid rgba(15, 23, 42, 0.07);
  transition: background 0.2s ease, transform 0.2s ease;
  position: relative;
}

.partner-logo-item img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.2s ease;
  opacity: 1;
  filter: saturate(1.05);
}

.partner-logo-item:hover {
  background: #f9f8f6;
  z-index: 1;
}

.partner-logo-item:hover img {
  transform: scale(1.08);
}

/* ===== PARTNERS CAPSULE DOCK SLIDER (SERVICES PAGE) ===== */
.partners-dock-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  max-width: 1060px;
  margin: 44px auto 0;
  position: relative;
}

.partners-dock-capsule {
  background: linear-gradient(135deg, #C0392B 0%, #A93226 50%, #922B21 100%);
  border-radius: 32px;
  padding: 22px 24px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 20px 48px rgba(192, 57, 43, 0.32), 0 6px 16px rgba(0, 0, 0, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  max-width: 830px; /* Perfectly frames exactly 4 large tiles */
}

.partners-dock-capsule::-webkit-scrollbar {
  display: none;
}

.partners-dock-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
}

.dock-tile {
  width: 180px;
  height: 125px;
  flex: 0 0 180px;
  background: #FFFFFF;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 24px;
  box-sizing: border-box;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.6);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease;
  cursor: pointer;
  user-select: none;
}

.dock-tile:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.dock-tile img {
  max-width: 100%;
  max-height: 58px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.dock-tile:hover img {
  transform: scale(1.06);
}

/* Sliding Navigation Buttons — Matching Red Theme */
.dock-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #C0392B 0%, #922B21 100%);
  border: 2px solid #FFFFFF;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(192, 57, 43, 0.35), 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
  font-size: 1.25rem;
  font-weight: bold;
  z-index: 5;
  user-select: none;
}

.dock-nav-btn:hover {
  background: linear-gradient(135deg, #922B21 0%, #78281F 100%);
  transform: scale(1.12);
  box-shadow: 0 10px 28px rgba(192, 57, 43, 0.55);
}

.dock-nav-btn:active {
  transform: scale(0.95);
}

@media (max-width: 992px) {
  .partners-dock-capsule {
    max-width: 630px;
    padding: 18px 20px;
  }

  .dock-tile {
    width: 160px;
    height: 115px;
    flex: 0 0 160px;
  }
}

@media (max-width: 768px) {
  .partners-dock-container {
    gap: 10px;
  }

  .partners-dock-capsule {
    padding: 14px 16px;
    border-radius: 24px;
    max-width: 380px;
  }

  .dock-tile {
    width: 140px;
    height: 100px;
    flex: 0 0 140px;
    border-radius: 16px;
    padding: 12px 16px;
  }

  .dock-tile img {
    max-height: 44px;
  }

  .dock-nav-btn {
    width: 42px;
    height: 42px;
    font-size: 1.05rem;
  }
}

@media (max-width: 480px) {
  .partners-dock-capsule {
    max-width: 290px;
  }

  .dock-tile {
    width: 120px;
    height: 90px;
    flex: 0 0 120px;
    border-radius: 14px;
    padding: 10px 12px;
  }

  .dock-tile img {
    max-height: 38px;
  }

  .dock-nav-btn {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
}

.partner-badge {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--primary);
  min-height: 68px;
  transition: var(--transition-fast);
}

.partner-badge img {
  max-width: 85%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.partner-badge:hover {
  border-color: var(--brand-red);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 17, 36, 0.7);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition);
}

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

.modal-icon {
  width: 68px;
  height: 68px;
  background: var(--brand-red-light);
  color: var(--brand-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
}

.modal h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.modal p {
  color: var(--text-light);
  margin-bottom: 28px;
  font-size: 0.9rem;
}

.modal-close {
  display: inline-block;
  padding: 11px 28px;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--brand-red);
}

/* ===== CAREERS & PRACTICE OPPORTUNITIES ===== */
.career-culture-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: var(--transition);
  height: 100%;
}

.career-culture-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-red);
  box-shadow: 0 10px 28px rgba(197, 34, 31, 0.12), var(--shadow-md);
}

.career-culture-icon {
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10, 17, 36, 0.05);
  transition: var(--transition);
}

.career-culture-card:hover .career-culture-icon {
  border-color: var(--brand-red);
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(197, 34, 31, 0.22);
}

.career-culture-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform var(--transition);
}

.career-culture-card:hover .career-culture-icon img {
  transform: scale(1.05);
}

.career-culture-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.career-culture-card p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* Job Cards */
.jobs-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.job-card {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  transition: var(--transition);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.job-card:hover {
  border-color: var(--brand-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.job-info {
  flex: 1;
  min-width: 280px;
}

.job-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.job-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-light);
  font-family: 'Plus Jakarta Sans', sans-serif;
  margin-bottom: 12px;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.job-description {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 14px;
  max-width: 720px;
}

.job-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.job-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  background: var(--bg-section);
  color: var(--primary);
  border: 1px solid var(--border);
}

.job-tag-highlight {
  background: var(--brand-gold-light);
  color: var(--brand-gold);
  border-color: rgba(217, 119, 6, 0.2);
}

.job-apply-btn {
  flex-shrink: 0;
}

/* Custom File Upload Container */
.file-upload-wrapper {
  margin-top: 6px;
}

.file-upload-zone {
  border: 2px dashed rgba(10, 17, 36, 0.2);
  background: #FAF8F5;
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.file-upload-zone:hover,
.file-upload-zone.dragover {
  border-color: var(--brand-red);
  background: rgba(197, 34, 31, 0.03);
}

.file-upload-zone input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-upload-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--brand-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 1.3rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.file-upload-text {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 4px;
}

.file-upload-text span {
  color: var(--brand-red);
  text-decoration: underline;
}

.file-upload-hint {
  font-size: 0.75rem;
  color: var(--text-light);
}

.file-preview-card {
  display: none;
  align-items: center;
  justify-content: space-between;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 10px;
}

.file-preview-left {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: hidden;
}

.file-preview-icon {
  font-size: 1.4rem;
  color: var(--brand-red);
  flex-shrink: 0;
}

.file-preview-details {
  overflow: hidden;
  text-align: left;
}

.file-preview-name {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.file-preview-size {
  font-size: 0.72rem;
  color: var(--text-light);
}

.file-remove-btn {
  background: none;
  border: none;
  color: #94A3B8;
  font-size: 1.1rem;
  cursor: pointer;
  padding: 4px 8px;
  transition: color var(--transition-fast);
}

.file-remove-btn:hover {
  color: var(--brand-red);
}

/* ===== UTILITIES & GRIDS ===== */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

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

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Process Grid Layout for Services Page */
.process-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: start;
}

.process-sticky-sidebar {
  position: sticky;
  top: 100px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-media-wrapper {
    position: relative !important;
    margin-bottom: 60px !important;
    padding: 0 !important;
  }

  .hero-main-img {
    width: 100% !important;
    height: 420px !important;
    border-radius: 18px !important;
  }

  .hero-floating-quote {
    position: absolute !important;
    bottom: -32px !important;
    left: -12px !important;
    right: 16px !important;
    padding: 22px 26px !important;
    border-radius: 18px !important;
  }

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

  .process-grid-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .process-sticky-sidebar {
    position: static;
  }

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

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

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

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

  .footer-map-col {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 72px;
  }

  .top-bar {
    display: none;
  }

  .section {
    padding: 56px 0;
  }

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

  .section-header h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
    line-height: 1.25;
  }

  .hero-editorial {
    padding: 48px 0 60px;
  }

  .hero-media-wrapper {
    position: relative !important;
    margin-bottom: 75px !important;
    padding: 0 6px !important;
  }

  .hero-main-img {
    width: 100% !important;
    height: 440px !important;
    object-fit: cover !important;
    border-radius: 18px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14) !important;
    display: block !important;
  }

  .legacy-img-wrap img {
    height: 280px;
    object-fit: cover;
  }

  .hero-floating-quote {
    position: absolute !important;
    bottom: -45px !important;
    left: -4px !important;
    right: 18px !important;
    background: #FFFFFF !important;
    padding: 22px 24px !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18), 0 4px 14px rgba(0, 0, 0, 0.06) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
    z-index: 10 !important;
    display: block !important;
  }

  .floating-quote-text {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    font-style: italic !important;
    color: #1E293B !important;
    margin: 0 !important;
  }

  .legacy-badge-overlay {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 14px;
    max-width: 100%;
    padding: 16px 20px;
  }

  .process-grid-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .process-sticky-sidebar {
    position: static;
  }

  .legacy-feature-item {
    padding: 14px;
    gap: 14px;
  }

  .legacy-feature-text h4 {
    font-size: 0.98rem;
  }

  .legacy-feature-text p {
    font-size: 0.82rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFFFF;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    z-index: 9998;
    padding: 24px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-link {
    font-size: 1.1rem;
    padding: 12px 24px;
  }

   .nav-hamburger {
    display: flex;
  }

   
  .nav-cta {
    display: inline-flex !important;
    margin-left: 0 !important;
    margin-top: 8px !important;
    padding: 12px 28px !important;
    font-size: 0.95rem !important;
    border-radius: var(--radius-sm);
    text-align: center;
    justify-content: center;
  }

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

  .footer-map-col {
    grid-column: span 1;
  }

  .footer-map-container {
    height: 220px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

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

  .privileged-form-card {
    padding: 28px 20px;
  }

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

  .contact-info-panel {
    padding: 40px 24px;
    gap: 28px;
  }

  .contact-form-card {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 40px 24px;
  }

  .hero-editorial .hero-stats {
    flex-wrap: wrap;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .grid-4,
  .grid-3,
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-media-wrapper {
    position: relative !important;
    margin-bottom: 70px !important;
    padding: 0 4px !important;
  }

  .hero-main-img {
    width: 100% !important;
    height: 400px !important;
    object-fit: cover !important;
    border-radius: 14px !important;
  }

  .hero-floating-quote {
    position: absolute !important;
    bottom: -40px !important;
    left: -4px !important;
    right: 12px !important;
    padding: 18px 20px !important;
    border-radius: 14px !important;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18) !important;
  }

  .floating-quote-text {
    font-size: 0.80rem !important;
    line-height: 1.52 !important;
  }

  .hero-editorial h1 {
    font-size: 1.85rem;
  }

  .hero-editorial .hero-subtitle {
    font-size: 0.92rem;
  }
}
