/* Custom Executive Brand Portfolio Style Sheet - Muskan Gupta */

:root {
  /* Premium Brand Colors */
  --color-primary: #0A2342;       /* Rich Navy Blue */
  --color-deep-navy: #081B33;     /* Deep Navy Blue background */
  --color-accent: #C8A46B;        /* Soft Gold Accent */
  --color-accent-hover: #DFBA73;  /* Warm Gold Accent Hover */
  --color-accent-darker: #9E7D46; /* Deeper Gold for accessible contrast on light backgrounds */
  --color-soft-ivory: #F8F8F6;    /* Soft Ivory Backdrop */
  --color-pure-white: #FFFFFF;    /* Clean White */
  --color-text-dark: #111827;     /* Off-black Text */
  --color-text-muted: #4B5563;    /* Muted Slate Gray Text */
  --color-text-white: #F9FAFB;    /* Near White Text */
  --color-text-white-muted: #D1D5DB; /* Muted White Text */
  --color-border: #E5E7EB;        /* Border color for Light sections */
  --color-border-dark: rgba(200, 164, 107, 0.15); /* Delicate gold-tinted borders in dark themes */
  
  /* Fonts */
  --font-primary: 'Outfit', sans-serif;
  --font-serif: 'Playfair Display', Georgia, serif;

  /* Timing */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);

  /* Elevation */
  --shadow-premium: 0 16px 36px rgba(10, 35, 66, 0.04);
  --shadow-premium-hover: 0 24px 48px rgba(10, 35, 66, 0.08);
  --shadow-dark: 0 20px 40px rgba(0, 0, 0, 0.35);
  --glass-blur: blur(20px);
}

/* Base Settings */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  font-family: var(--font-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-soft-ivory);
  color: var(--color-text-dark);
  overflow-x: hidden; /* Prevent horizontal scrolling */
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Structural Layouts - Alternate visual rhythms (Dark -> Light -> Dark -> Light) */
.section-dark {
  background: radial-gradient(circle at 80% 20%, #102e54 0%, var(--color-deep-navy) 75%);
  color: var(--color-text-white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.section-light {
  background-color: var(--color-soft-ivory);
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-border);
}

.section-white {
  background-color: var(--color-pure-white);
  color: var(--color-text-dark);
  border-bottom: 1px solid var(--color-border);
}

section {
  padding: 160px 0;
  position: relative;
}

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

/* Section Headers */
.section-header {
  max-width: 760px;
  margin: 0 auto 88px auto;
}

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

.section-tag {
  font-family: var(--font-primary);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: var(--color-accent);
  margin-bottom: 18px;
  display: inline-block;
}

.section-light .section-tag,
.section-white .section-tag {
  color: var(--color-accent-darker);
}

.section-title {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 24px;
}

.section-dark .section-title {
  color: var(--color-pure-white);
}

.section-light .section-title,
.section-white .section-title {
  color: var(--color-primary);
}

.section-subtitle {
  font-size: 1.15rem;
  line-height: 1.65;
}

.section-dark .section-subtitle {
  color: var(--color-text-white-muted);
}

.section-light .section-subtitle,
.section-white .section-subtitle {
  color: var(--color-text-muted);
}

/* Typography & Headings */
h1, h2, h3, h4 {
  line-height: 1.25;
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  letter-spacing: -0.01em;
}

p {
  font-size: 1.05rem;
}

.text-accent {
  color: var(--color-accent);
}

.italic {
  font-family: var(--font-serif);
  font-weight: 400;
}

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

/* Premium Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  gap: 12px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-accent) 0%, #B8935A 100%);
  color: var(--color-deep-navy);
  border: 1.5px solid var(--color-accent);
  box-shadow: 0 8px 24px rgba(200, 164, 107, 0.15);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #DFBA73 0%, var(--color-accent) 100%);
  border-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(200, 164, 107, 0.3);
}

.btn-secondary {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--color-pure-white);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

/* Navbar Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.header.scrolled {
  background-color: rgba(8, 27, 51, 0.9);
  backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.header.scrolled .navbar {
  padding: 20px 24px;
}

.brand-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--color-pure-white);
  font-family: var(--font-primary);
  letter-spacing: -0.02em;
}

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

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  font-weight: 500;
  font-size: 0.9rem;
  position: relative;
  padding: 8px 0;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s ease;
}

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

.btn-nav-cta {
  background: transparent;
  color: var(--color-accent);
  border: 1.5px solid var(--color-accent);
  padding: 10px 24px;
  font-size: 0.85rem;
  border-radius: 6px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(200, 164, 107, 0.05);
}

.btn-nav-cta:hover {
  background: var(--color-accent);
  color: var(--color-deep-navy);
  box-shadow: 0 6px 20px rgba(200, 164, 107, 0.2);
  transform: translateY(-1.5px);
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-nav-toggle .bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--color-pure-white);
  margin: 5px 0;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero-section {
  background: radial-gradient(circle at 70% 30%, #0f3057 0%, var(--color-deep-navy) 80%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 160px;
  padding-bottom: 100px;
  overflow: hidden;
}

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

.hero-content {
  color: var(--color-text-white);
  z-index: 10;
}

.hero-tag {
  display: inline-block;
  background-color: rgba(200, 164, 107, 0.08);
  border: 1px solid rgba(200, 164, 107, 0.2);
  color: var(--color-accent);
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-title {
  color: var(--color-pure-white);
  font-size: 4.8rem;
  font-weight: 800;
  line-height: 1.05;
  margin-bottom: 28px;
  letter-spacing: -0.03em;
}

.hero-title-sub {
  display: block;
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--color-text-white-muted);
  margin-top: 12px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--color-text-white-muted);
  margin-bottom: 44px;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 5;
  opacity: 0;
  transform: translateY(35px);
  animation: portraitReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

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

.portrait-wrapper {
  position: relative;
  width: 380px;
  max-width: 100%;
  aspect-ratio: 380 / 480;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
  border-radius: 12px;
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  padding: 12px;
  background: rgba(255, 255, 255, 0.01);
  backdrop-filter: var(--glass-blur);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  animation: profileGlowBreathing 9s ease-in-out infinite;
}

@keyframes profileGlowBreathing {
  0% {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 16px rgba(200, 164, 107, 0.04);
    border-color: rgba(200, 164, 107, 0.15);
  }
  50% {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 32px rgba(200, 164, 107, 0.18);
    border-color: rgba(200, 164, 107, 0.35);
  }
  100% {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45), 0 0 16px rgba(200, 164, 107, 0.04);
    border-color: rgba(200, 164, 107, 0.15);
  }
}

@keyframes floatNode1 {
  0% { transform: translate(0, 0); }
  33% { transform: translate(4px, -6px); }
  66% { transform: translate(-3px, 4px); }
  100% { transform: translate(0, 0); }
}
@keyframes floatNode2 {
  0% { transform: translate(0, 0); }
  40% { transform: translate(-5px, 4px); }
  70% { transform: translate(3px, -5px); }
  100% { transform: translate(0, 0); }
}
@keyframes floatNode3 {
  0% { transform: translate(0, 0); }
  30% { transform: translate(5px, 5px); }
  60% { transform: translate(-4px, -4px); }
  100% { transform: translate(0, 0); }
}

.floating-node-group-1 {
  animation: floatNode1 14s ease-in-out infinite;
}
.floating-node-group-2 {
  animation: floatNode2 18s ease-in-out infinite;
}
.floating-node-group-3 {
  animation: floatNode3 16s ease-in-out infinite;
}

.portrait-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
}

.glass-backdrop {
  position: absolute;
  top: 15px;
  left: 15px;
  right: -15px;
  bottom: -15px;
  background: radial-gradient(circle at center, rgba(200, 164, 107, 0.12) 0%, transparent 70%);
  border: 1px solid rgba(200, 164, 107, 0.18);
  border-radius: 12px;
  z-index: 1;
  pointer-events: none;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portrait-wrapper:hover .glass-backdrop {
  transform: translate(3px, 3px);
}

.portrait-img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* SVG Gold Network Decoration behind/around portrait */
.hero-network-mesh {
  position: absolute;
  top: -60px;
  right: -70px;
  bottom: -60px;
  left: -50px;
  z-index: 0;
  pointer-events: none;
}

.hero-network-mesh svg {
  width: 100%;
  height: 100%;
}

.network-line {
  stroke: var(--color-accent);
  stroke-width: 0.75;
  opacity: 0.12;
}

.network-node {
  fill: var(--color-accent);
  opacity: 0.7;
  animation: nodePulse 3s infinite ease-in-out alternate;
}

@keyframes nodePulse {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.3); opacity: 0.8; }
}

.network-glow {
  fill: var(--color-accent);
  opacity: 0.04;
}

/* Impact Metrics Strip [DARK - transitions visual rhythm] */
.impact-strip-section {
  padding: 72px 0;
  background-color: var(--color-deep-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.impact-strip {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
}

.impact-item {
  text-align: left;
  flex: 1;
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.impact-number-container {
  display: flex;
  align-items: baseline;
}

.impact-number {
  font-size: 3.8rem;
  font-weight: 800;
  color: var(--color-pure-white);
  line-height: 1;
}

.impact-plus {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-accent);
}

.impact-label {
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-white-muted);
  line-height: 1.3;
}

/* Why Clients Work With Muskan (About) [LIGHT] */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px;
}

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

.why-card {
  background-color: var(--color-pure-white);
  padding: 48px 36px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(10, 35, 66, 0.06);
}

.why-icon {
  font-size: 1.75rem;
  color: var(--color-accent);
  width: 52px;
  height: 52px;
  background-color: rgba(200, 164, 107, 0.06);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.why-card h3 {
  margin-bottom: 16px;
  color: var(--color-primary);
}

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

/* Why I Recruit (Personal Philosophy) [DARK] */
.philosophy-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.philosophy-quote-mark {
  font-size: 4rem;
  color: rgba(200, 164, 107, 0.2);
  line-height: 1;
  font-family: var(--font-serif);
  margin-bottom: 16px;
}

.philosophy-text-placeholder {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-text-white);
  margin-bottom: 36px;
}

.philosophy-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.phil-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.phil-title {
  font-size: 0.9rem;
  color: var(--color-text-white-muted);
}

/* Specializations Section [LIGHT] */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.spec-card {
  background-color: var(--color-pure-white);
  padding: 36px 28px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  border-left: 3px solid transparent;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.spec-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-accent);
  border-left-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(10, 35, 66, 0.06);
}

.spec-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.spec-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.spec-icon svg {
  width: 24px;
  height: 24px;
}

.spec-card:hover .spec-icon {
  color: var(--color-accent);
}

.spec-card h3 {
  font-size: 1.2rem;
  color: var(--color-primary);
  margin: 0;
}

.spec-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Career Timeline Section [DARK] */
.timeline-wrapper {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline-svg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  z-index: 1;
}

.timeline-line-bg {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 4;
}

.timeline-line-active {
  stroke: var(--color-accent);
  stroke-width: 4;
  stroke-linecap: round;
  transition: var(--transition-smooth);
}

.timeline-entries {
  position: relative;
  z-index: 2;
}

.timeline-entry {
  display: flex;
  margin-bottom: 80px;
  width: 50%;
  position: relative;
}

.timeline-entry:last-child {
  margin-bottom: 0;
}

.timeline-entry.left {
  left: 0;
  justify-content: flex-end;
  padding-right: 60px;
}

.timeline-entry.right {
  left: 50%;
  justify-content: flex-start;
  padding-left: 60px;
}

.timeline-bullet {
  position: absolute;
  width: 18px;
  height: 18px;
  background-color: var(--color-deep-navy);
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  top: 24px;
  z-index: 5;
  transition: var(--transition-smooth);
}

.timeline-entry.left .timeline-bullet {
  right: -9px;
}

.timeline-entry.right .timeline-bullet {
  left: -9px;
}

.timeline-entry.active .timeline-bullet {
  background-color: var(--color-accent);
  border-color: var(--color-pure-white);
  box-shadow: 0 0 12px var(--color-accent);
  transform: scale(1.15);
}

.timeline-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 36px;
  border-radius: 6px;
  max-width: 450px;
  transition: var(--transition-smooth);
}

.timeline-entry:hover .timeline-card {
  transform: translateY(-5px);
  border-color: var(--color-accent);
  background: rgba(255, 255, 255, 0.04);
}

.timeline-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.timeline-card h3 {
  font-size: 1.35rem;
  color: var(--color-pure-white);
  margin-bottom: 6px;
}

.timeline-location {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-white-muted);
  margin-bottom: 18px;
}

.timeline-description {
  font-size: 0.95rem;
  color: var(--color-text-white-muted);
}

/* Global Client Mandates - Infinite Marquee Experience [LIGHT] */
.clients-section {
  padding: 140px 0;
  overflow: hidden;
}

.clients-marquee-zone {
  position: relative;
  width: 100vw;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 64px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  overflow: hidden;
  padding: 16px 0;
}

/* Elegant horizontal linear gradient overlays for Apple/Linear style depth fade */
.clients-marquee-zone::before,
.clients-marquee-zone::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 180px;
  z-index: 10;
  pointer-events: none;
}

.clients-marquee-zone::before {
  left: 0;
  background: linear-gradient(to right, var(--color-soft-ivory) 15%, rgba(248, 248, 246, 0));
}

.clients-marquee-zone::after {
  right: 0;
  background: linear-gradient(to left, var(--color-soft-ivory) 15%, rgba(248, 248, 246, 0));
}

.marquee-row {
  width: 100%;
  overflow: hidden;
  display: flex;
}

.marquee-track {
  display: flex;
  gap: 32px;
  width: max-content;
  will-change: transform;
}

/* Top Row: Moves Left */
.marquee-row-left .marquee-track {
  animation: marquee-left 35s linear infinite;
}

/* Bottom Row: Moves Right */
.marquee-row-right .marquee-track {
  animation: marquee-right 40s linear infinite;
}

/* Pause marquee on row hover only on devices that support hover (prevents sticky touches on mobile) */
@media (hover: hover) {
  .marquee-row:hover .marquee-track {
    animation-play-state: paused;
  }
}

@keyframes marquee-left {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marquee-right {
  0% {
    transform: translate3d(-50%, 0, 0);
  }
  100% {
    transform: translate3d(0, 0, 0);
  }
}

/* Mandate Card Styling - Light Ivory / White panel with Navy Typography */
.mandate-card {
  width: 320px;
  height: 240px;
  background-color: var(--color-pure-white);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--shadow-premium);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
}

.mandate-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-accent);
  box-shadow: var(--shadow-premium-hover);
}

.card-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent-darker);
  margin-bottom: 12px;
  display: block;
}

.card-client {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.card-domain {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.4;
}

.card-divider {
  width: 0;
  height: 1px;
  background-color: var(--color-accent);
  opacity: 0;
  margin: 16px 0;
  transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mandate-card:hover .card-divider {
  width: 100%;
  opacity: 0.25;
}

.card-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.mandate-card:hover .card-details {
  opacity: 1;
  visibility: visible;
}

.card-market {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.card-focus {
  color: var(--color-text-muted);
}

/* Credential Vault Section - Executive Archive experience [DARK] */
#certifications {
  padding: 120px 0;
}

#certifications .section-header {
  margin-bottom: 40px; /* Reduced from 88px to bring the showcase closer to the subtitle */
}

.certs-vault-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: min(1100px, 90vw); /* Large centered desk hero width */
  margin: 0 auto; /* Removed top margin to utilize precise section-header spacing */
  width: 100%;
}

/* Vault dot indicators (testimonial-style navigation) */
.vault-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
}

.vault-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  outline: none;
  padding: 0;
}

.vault-dots .dot:hover {
  background-color: rgba(255, 255, 255, 0.45);
}

.vault-dots .dot.active {
  background-color: var(--color-accent);
  width: 24px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(200, 164, 107, 0.3);
}

.vault-dots .dot:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
}

/* Preview Pane: Centered */
.vault-preview-pane {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 765px; /* Reduced by 10% from 850px for premium balance */
  margin: 0 auto;
  background: rgba(10, 35, 66, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px; /* Reduced from 44px to reduce vertical height */
  backdrop-filter: var(--glass-blur);
  transform-origin: center;
  transition: opacity 350ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity;
}

.vault-preview-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1.414 / 1;
  border-radius: 10px;
  border: 1.5px solid rgba(255, 255, 255, 0.07);
  background-color: rgba(255, 255, 255, 0.01);
  overflow: hidden;
  margin-bottom: 24px; /* Reduced from 36px to reduce vertical height */
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  display: flex; /* Centering helper */
  align-items: center; /* Centering helper */
  justify-content: center; /* Centering helper */
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 350ms ease-in-out;
  will-change: transform, box-shadow, opacity;
}

/* Subtle float and zoom lift effects */
.vault-preview-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 55px rgba(0, 0, 0, 0.45);
}

.vault-preview-img {
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain; /* Prevents cropping, maintains aspect ratio */
  display: block;
  margin: 0 auto;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Subtle zoom inside image frame */
.vault-preview-image-wrapper:hover .vault-preview-img {
  transform: scale(1.015);
}

.vault-preview-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(8, 27, 51, 0) 60%, rgba(8, 27, 51, 0.15) 100%);
  pointer-events: none;
}

.vault-preview-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
}

/* Base states for unified sync transition */
.vault-preview-image-wrapper,
.vault-preview-title,
.vault-preview-issuer,
.vault-preview-summary {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 350ms ease-in-out, transform 350ms ease-in-out;
}

/* Phase 1: Transition Out state (250ms) */
.vault-preview-pane.is-transitioning .vault-preview-image-wrapper,
.vault-preview-pane.is-transitioning .vault-preview-title,
.vault-preview-pane.is-transitioning .vault-preview-issuer,
.vault-preview-pane.is-transitioning .vault-preview-summary {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 250ms ease-in-out, transform 250ms ease-in-out;
}

.vault-preview-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-pure-white);
  letter-spacing: -0.01em;
  margin: 0;
}

.vault-preview-issuer {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vault-preview-summary {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-white-muted);
  font-weight: 400;
  max-width: 720px;
  margin: 4px auto 0 auto;
}

.vault-verification-badge {
  display: inline-flex;
  align-items: center;
  align-self: center;
  padding: 8px 16px;
  background-color: rgba(200, 164, 107, 0.04);
  border: 1px solid rgba(200, 164, 107, 0.12);
  border-radius: 30px;
  color: var(--color-accent);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 16px;
}

.verification-badge-icon {
  width: 14px;
  height: 14px;
  stroke: currentColor;
}

/* Responsiveness for Vault Container */
@media (max-width: 992px) {
  .certs-vault-container {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 576px) {
  .vault-preview-pane {
    padding: 24px;
  }
  
  .vault-preview-image-wrapper {
    margin-bottom: 24px;
  }
  
  .vault-preview-title {
    font-size: 1.35rem;
  }
}

/* Dedicated Testimonials [LIGHT] */
.testimonials-section {
  background-color: var(--color-soft-ivory); /* Soft ivory background rhythm */
}

.testimonials-slider-container {
  position: relative;
  width: 100%;
  margin-top: 64px;
  overflow: visible;
}

.testimonials-slider-viewport {
  width: 100%;
  overflow: hidden;
  padding: 30px 0; /* Vertical padding prevents hover transformations from being clipped */
}

.testimonials-slider-track {
  display: flex;
  gap: 30px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.testimonial-slide-card {
  flex: 0 0 65%; /* Width of main active card, leaving space for adjacent cards */
  max-width: 750px;
  min-width: 290px;
  background-color: var(--color-pure-white);
  border: 1.5px solid var(--color-border);
  border-radius: 12px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-premium);
  opacity: 0.68; /* Adjacent card opacity */
  transform: scale(0.92); /* Adjacent card scale */
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide-card.active {
  opacity: 1;
  transform: scale(1);
  border-color: rgba(200, 164, 107, 0.25);
  box-shadow: var(--shadow-premium-hover);
}

/* Soft lift and subtle shadow refinement on hover */
.testimonial-slide-card.active:hover {
  transform: translateY(-4px) scale(1.005);
  border-color: var(--color-accent);
  box-shadow: 0 20px 40px rgba(10, 35, 66, 0.08);
}

.quote-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: -8px;
}

.quote-svg {
  width: 28px;
  height: 28px;
  color: rgba(200, 164, 107, 0.25);
}

.testimonial-quote {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--color-text-dark);
  font-weight: 500;
  font-family: var(--font-primary);
}

.card-divider {
  height: 1px;
  width: 100%;
  background-color: var(--color-border);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--color-border);
  background-color: var(--color-soft-ivory);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.author-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.author-name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.author-title {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.company-name {
  color: var(--color-primary);
  font-weight: 600;
}

.linkedin-link-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #0A66C2; /* Official LinkedIn brand blue */
  opacity: 0.75;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.3s ease,
              color 0.3s ease,
              opacity 0.3s ease;
  flex-shrink: 0;
  text-decoration: none;
  cursor: pointer;
  outline: none;
}

.linkedin-link-btn:focus-visible {
  outline: 2px solid #0A66C2;
  outline-offset: 4px;
  opacity: 1;
}

.linkedin-link-btn svg {
  width: 18px;
  height: 18px;
  display: block;
}

.linkedin-link-btn:hover {
  transform: scale(1.1); /* Authentic 1.10 scale magnification */
  color: #0A66C2;
  opacity: 1;
  filter: drop-shadow(0 0 5px rgba(10, 102, 194, 0.6)); /* Soft blue brand glow */
}


/* Floating Navigation Arrows */
.slider-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: var(--color-pure-white);
  border: 1.5px solid var(--color-border);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.slider-nav-btn:hover {
  background-color: var(--color-primary);
  color: var(--color-pure-white);
  border-color: var(--color-primary);
  transform: translateY(-50%) scale(1.05);
}

.prev-slide-btn {
  left: -26px;
}

.next-slide-btn {
  right: -26px;
}

/* Slider dot indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
}

.slider-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-dots .dot.active {
  background-color: var(--color-accent);
  width: 24px;
  border-radius: 4px;
}

@media (max-width: 1024px) {
  .testimonial-slide-card {
    flex: 0 0 75%;
    padding: 32px;
  }
  
  .prev-slide-btn {
    left: -15px;
  }
  
  .next-slide-btn {
    right: -15px;
  }
}

@media (max-width: 768px) {
  .testimonial-slide-card {
    flex: 0 0 85%;
    padding: 24px;
    gap: 18px;
  }
  
  .testimonial-quote {
    font-size: 1.05rem;
    line-height: 1.55;
  }
  
  .slider-nav-btn {
    width: 44px;
    height: 44px;
  }
  
  .prev-slide-btn {
    left: -10px;
  }
  
  .next-slide-btn {
    right: -10px;
  }
}

@media (max-width: 480px) {
  .testimonial-slide-card {
    flex: 0 0 92%;
    padding: 20px;
    gap: 14px;
  }
  
  .slider-nav-btn {
    display: none; /* Hide side arrows on small mobile devices to avoid overlap */
  }
}

/* Resume Submission Portal [DARK] */
.portal-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: flex-start;
}

.portal-details {
  max-width: 440px;
  color: var(--color-text-white);
}

.portal-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-white-muted);
  margin-bottom: 36px;
}

.portal-benefits {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-item i {
  color: var(--color-accent);
  font-size: 1.2rem;
}

.benefit-item span {
  font-size: 1.05rem;
  font-weight: 500;
}

.portal-form-wrapper {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 48px;
  border-radius: 6px;
  box-shadow: var(--shadow-dark);
}

.submission-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

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

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-white-muted);
}

.form-group input,
.form-group textarea {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 18px;
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--color-text-white);
  transition: var(--transition-fast);
}

/* Specific styling rules for textareas to prevent resizing */
.form-group textarea {
  resize: none;
  overflow-y: auto;
}

/* Hide spin arrows in number inputs to resemble text inputs */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="number"] {
  -moz-appearance: textfield; /* Firefox support */
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

/* CV Drag-and-Drop Area */
.dropzone {
  border: 2px dashed rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 32px;
  text-align: center;
  cursor: pointer;
  background-color: rgba(255, 255, 255, 0.005);
  transition: var(--transition-smooth);
}

.dropzone:hover, .dropzone.dragover {
  border-color: var(--color-accent);
  background-color: rgba(255, 255, 255, 0.03);
}

.hidden-file-input {
  display: none;
}

.dropzone-icon {
  font-size: 2.2rem;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 12px;
  transition: var(--transition-fast);
}

.dropzone:hover .dropzone-icon {
  color: var(--color-accent);
  transform: translateY(-2px);
}

.dropzone-text {
  font-size: 0.95rem;
  color: var(--color-text-white);
  margin-bottom: 6px;
}

.accent-text {
  color: var(--color-accent);
  font-weight: 600;
}

.dropzone-subtext {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

.file-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  padding: 14px 18px;
}

.file-preview.hidden {
  display: none !important;
}

.file-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.file-icon {
  font-size: 1.5rem;
  color: var(--color-accent);
}

.file-details {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.file-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-white);
}

.file-size {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}

.remove-file-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-fast);
}

.remove-file-btn:hover {
  color: #EF4444;
}

/* Simplified slide-to-verify widget */
.captcha-container {
  width: 100%;
  margin-top: 8px;
}

.captcha-slider-bar {
  position: relative;
  width: 100%;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.captcha-slider-track {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: rgba(200, 164, 107, 0.12);
  z-index: 1;
}

.captcha-slider-handle {
  position: absolute;
  top: 0;
  left: 0;
  width: 52px;
  height: 46px;
  background-color: var(--color-accent);
  color: var(--color-deep-navy);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  z-index: 5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: background-color 0.2s;
}

.captcha-slider-handle:hover {
  background-color: var(--color-accent-hover);
}

.captcha-slider-handle:active {
  cursor: grabbing;
}

.captcha-slider-prompt {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.45);
  user-select: none;
  z-index: 2;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.captcha-container.verified .captcha-slider-handle {
  background-color: #10B981;
  color: var(--color-pure-white);
  cursor: default;
}

.captcha-container.verified .captcha-slider-track {
  background-color: rgba(16, 185, 129, 0.15);
}

.text-right {
  display: flex;
  justify-content: flex-end;
}

/* Custom Redesign for Submit Button */
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-primary);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--color-deep-navy) !important;
  background: linear-gradient(135deg, #DFBA73 0%, var(--color-accent) 50%, #9E7D46 100%);
  background-size: 200% auto;
  border: none;
  border-radius: 8px; /* Slightly refined corner radius */
  box-shadow: 0 4px 15px rgba(200, 164, 107, 0.25), 0 8px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  min-width: 240px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-position 0.5s ease,
              opacity 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn-submit:hover:not(:disabled) {
  transform: translateY(-2px);
  background-position: right center;
  box-shadow: 0 6px 20px rgba(200, 164, 107, 0.35), 0 12px 40px rgba(0, 0, 0, 0.2);
}

.btn-submit:active:not(:disabled) {
  transform: translateY(0);
}

/* Submit Icon Hover Shift */
.btn-submit .submit-icon-svg {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

.btn-submit:hover:not(:disabled) .submit-icon-svg {
  transform: translateX(4px);
}

/* Disabled State */
.btn-submit:disabled {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.2) !important;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

/* Spinner Animation for Loading State */
.btn-submit .spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(10, 35, 66, 0.2);
  border-top-color: var(--color-deep-navy);
  border-radius: 50%;
  animation: submit-spin 0.8s linear infinite;
  margin-left: 10px;
  vertical-align: middle;
}

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

/* Required star red highlights */
.required-star {
  color: #EF4444 !important;
  margin-left: 2px;
  font-weight: 700;
}

/* Green highlight for successful verification text */
.captcha-container.verified .captcha-slider-prompt {
  color: #10B981 !important;
  font-weight: 700;
}

/* Let's Discuss Your Hiring Needs (Contact Block) [LIGHT] */
.contact-section {
  background-color: var(--color-soft-ivory);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

.contact-cta-info {
  max-width: 480px;
}

.contact-cta-info .section-title {
  font-size: 2.75rem;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.contact-cta-info p {
  color: var(--color-text-muted);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-bottom: 20px;
  max-width: 440px;
}
.contact-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background-color: var(--color-pure-white);
  padding: 14px 20px;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-premium);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.contact-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent);
  box-shadow: 0 16px 36px rgba(10, 35, 66, 0.08);
}

.contact-card-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background-color: rgba(10, 35, 66, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.contact-card-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
}

.contact-card-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

.contact-trust-panel {
  display: flex;
  flex-direction: column;
  background-color: var(--color-primary);
  color: var(--color-text-white);
  padding: 52px;
  border-radius: 24px;
  box-shadow: var(--shadow-premium-hover);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.trust-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--color-pure-white);
  margin-bottom: 32px;
  letter-spacing: -0.01em;
  font-family: var(--font-primary);
}

.trust-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding: 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.trust-check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 3px;
}

.trust-text {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-white-muted);
  line-height: 1.4;
}

.highlight-accent {
  color: var(--color-accent);
  font-weight: 700;
}

.trust-markets {
  flex-direction: column;
  gap: 8px;
}

.markets-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.market-title {
  font-weight: 700;
  color: var(--color-pure-white);
}

.markets-list {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
  padding-left: 36px;
  letter-spacing: 0.02em;
}
/* Premium Executive Footer [DARK] */
.footer {
  background-color: var(--color-deep-navy);
  padding: 80px 0 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
}

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

.footer-brand-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-pure-white);
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--color-text-white-muted);
  margin-top: 6px;
}

.footer-social-channels {
  display: flex;
  gap: 16px;
}

.social-circle-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-white-muted);
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-circle-btn:hover {
  background-color: var(--color-accent);
  color: var(--color-deep-navy);
  border-color: var(--color-accent);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-nav {
  display: flex;
  list-style: none;
  gap: 36px;
}

.footer-nav-link {
  color: var(--color-text-white-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-nav-link:hover {
  color: var(--color-accent);
}

.copyright-text {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}

/* Premium Toast Notifications */
.toast-container {
  position: fixed;
  top: 32px;
  right: 32px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.toast {
  background: rgba(8, 27, 51, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 18px 24px;
  border-radius: 6px;
  color: var(--color-pure-white);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 340px;
  max-width: 440px;
  transform: translateX(120%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left: 4px solid var(--color-accent);
}

.toast-error {
  border-left: 4px solid #EF4444;
}

.toast-icon {
  font-size: 1.25rem;
}

.toast-success .toast-icon {
  color: var(--color-accent);
}

.toast-error .toast-icon {
  color: #EF4444;
}

.toast-content {
  flex-grow: 1;
}

.toast-title {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
  color: var(--color-pure-white);
}

.toast-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.toast-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 0.95rem;
}

.toast-close:hover {
  color: var(--color-pure-white);
}

/* Animations: Scroll Reveal Observer Classes */
.card-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.animate-fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fade-in {
  opacity: 0;
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-title.animate-fade-in-up { animation-delay: 0.1s; }
.hero-subtitle.animate-fade-in-up { animation-delay: 0.2s; }
.hero-actions.animate-fade-in-up { animation-delay: 0.3s; }

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

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

#portal {
  z-index: 2; /* Ensure dropdown overflow floats above the adjacent contact section */
}

/* Responsive Rules */
@media (max-width: 1024px) {
  h1 {
    font-size: 3.2rem;
  }
  
  .hero-title {
    font-size: 3.6rem;
  }
  
  .hero-title-sub {
    font-size: 1.8rem;
  }
  
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 48px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .portrait-wrapper {
    width: 320px;
  }
  
  .impact-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 680px;
    margin: 0 auto;
  }
  
  .impact-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    width: 100%;
  }
  
  .why-muskan-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  
  .spec-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .portal-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .clients-marquee-zone::before,
  .clients-marquee-zone::after {
    width: 80px;
  }

  /* Show mobile hamburger navigation starting below 1024px */
  .mobile-nav-toggle {
    display: block;
    position: relative; /* CRITICAL: Enables z-index stacking context */
    z-index: 1002; /* Ensure it stays above the drawer overlay */
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background-color: rgba(10, 35, 66, 0.98);
    backdrop-filter: var(--glass-blur);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
    transition: right 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001; /* Ensure it floats above page sections */
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .navbar.active-mobile .mobile-nav-toggle .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .navbar.active-mobile .mobile-nav-toggle .bar:nth-child(2) {
    opacity: 0;
  }
  
  .navbar.active-mobile .mobile-nav-toggle .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

@media (max-width: 768px) {
  .section-title,
  .contact-cta-info .section-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  section {
    padding: 100px 0;
  }
  
  .navbar {
    padding: 20px 24px;
  }
  
  .portrait-wrapper {
    width: 320px;
  }

  .philosophy-text-placeholder {
    font-size: 1.5rem;
  }
  
  .timeline-wrapper {
    --timeline-line-x: 20px;
  }

  .timeline-svg {
    left: calc(var(--timeline-line-x) - 2px);
    transform: none;
  }
  
  .timeline-entry {
    width: 100%;
    padding-left: 44px !important;
    padding-right: 0 !important;
  }
  
  .timeline-entry.left,
  .timeline-entry.right {
    left: 0 !important;
    justify-content: flex-start;
  }
  
  .timeline-bullet {
    left: calc(var(--timeline-line-x) - 9px) !important;
    right: auto !important;
  }
  
  .timeline-card {
    max-width: 100%;
    padding: 24px 20px; /* Reduced card padding on mobile to prevent horizontal overflow */
  }
  
  .testimonials-carousel-wrapper {
    padding: 36px;
  }
  
  .portal-form-wrapper {
    padding: 32px 24px;
  }
  
  .submission-form .form-grid {
    grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }
  
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 24px;
    text-align: center;
  }
  
  .footer-nav {
    flex-direction: column;
    gap: 16px;
  }
  
  .toast-container {
    top: auto;
    bottom: 24px;
    right: 24px;
    left: 24px;
  }
  
  .toast {
    min-width: 100%;
  }
}

@media (max-width: 600px) {
  .spec-grid {
    grid-template-columns: 1fr;
  }
  
  .impact-strip {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 480px) {
  .section-title,
  .contact-cta-info .section-title {
    font-size: 1.85rem;
  }

  .section-container {
    padding: 0 16px;
  }

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

  .spec-card {
    padding: 24px 20px;
  }

  h1 {
    font-size: 2.3rem;
  }
  
  .hero-title {
    font-size: 2.6rem;
  }
  
  .hero-title-sub {
    font-size: 1.4rem;
    margin-top: 8px;
  }
  
  .portrait-wrapper {
    width: min(280px, 100%);
  }

  .hero-network-mesh {
    top: -20px;
    right: -20px;
    bottom: -20px;
    left: -20px;
  }

  .philosophy-text-placeholder {
    font-size: 1.25rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .why-card {
    padding: 32px 24px;
  }
  
  .mandate-card {
    width: 270px;
    height: 210px;
    padding: 28px 24px;
  }
  
  .card-client {
    font-size: 1.5rem;
  }
  
  .card-domain {
    font-size: 0.95rem;
  }
  
  .portal-form-wrapper {
    padding: 24px 16px;
  }
  
  .contact-trust-panel {
    padding: 24px;
  }

  .clients-marquee-zone::before,
  .clients-marquee-zone::after {
    width: 40px;
  }
}

@media (max-width: 360px) {
  .section-title,
  .contact-cta-info .section-title {
    font-size: 1.6rem;
  }
  
  .hero-title {
    font-size: 2.1rem;
  }
  
  .hero-title-sub {
    font-size: 1.25rem;
  }
  
  .philosophy-text-placeholder {
    font-size: 1.15rem;
  }
  
  .mandate-card {
    width: 250px;
    height: 190px;
    padding: 20px 16px;
  }
  
  .card-client {
    font-size: 1.25rem;
  }
}

/* CSS Spinner for loading transitions */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-deep-navy);
  animation: spin 0.8s linear infinite;
  display: inline-block;
  vertical-align: middle;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Premium Success Overlay Animation */
.success-badge-svg {
  width: 96px;
  height: 96px;
  margin-bottom: 32px;
  display: inline-block;
  animation: badge-scale-in 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes badge-scale-in {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* intl-tel-input integration styling (blends seamlessly with dark navy theme) */
.iti {
  width: 100%;
}

.iti__country-list {
  background-color: var(--color-deep-navy) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: var(--color-text-white) !important;
  font-family: var(--font-primary) !important;
  z-index: 100;
  border-radius: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.iti__country {
  padding: 8px 12px;
}

.iti__country:hover, .iti__country.iti__highlight {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: var(--color-accent) !important;
}

.iti__country-name, .iti__dial-code {
  color: var(--color-text-white) !important;
}

.iti__country-name {
  font-weight: 500;
}

.iti__selected-flag {
  background-color: rgba(255, 255, 255, 0.02) !important;
  border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
  padding: 0 12px;
}

.iti__selected-flag:hover {
  background-color: rgba(255, 255, 255, 0.05) !important;
}

.iti__arrow {
  border-top-color: var(--color-text-white-muted) !important;
}

.iti__arrow--up {
  border-bottom-color: var(--color-text-white-muted) !important;
}

.form-group input#phone {
  padding-left: 52px !important;
}

/* Country dropdown list mobile visual optimization */
@media (max-width: 768px) {
  .iti__country-list {
    width: 280px !important; /* Limit dropdown width to content size */
    max-width: calc(100vw - 48px) !important; /* Prevent horizontal page overflow on small screens */
    max-height: 240px !important; /* Show exactly ~6 countries at comfortable row height */
    
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch; /* Smooth momentum scrolling on iOS */
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5) !important;
  }
  
  .iti__country {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 12px !important; /* Comfortable touch target height (~38px-40px) */
    font-size: 0.92rem !important;
  }
  
  .iti__country-name {
    flex-grow: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important; /* Prevent long names from stretching or breaking */
  }
  
  .iti__dial-code {
    margin-left: auto !important; /* Pull dial code to the right, clearing space */
    color: var(--color-text-white-muted) !important;
    font-weight: 600 !important;
    white-space: nowrap !important;
  }
}
