/* ═══════════════════════════════════════════════════════════════════════════
   MIAR International — Design System & Global Styles
   main.css — Colors, Typography, Components, Layout
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── CSS Custom Properties (Design Tokens) ─────────────────────────────── */
:root {
  /* Brand Colors */
  --navy: #0a1e3c;
  --mid-navy: #1b3366;
  --gold: #c9a84c;
  --gold-light: #e8d49a;
  --gold-pale: #fdf6e3;
  --off-white: #f5f6f8;
  --white: #ffffff;
  --muted-blue: #8fa3c0;
  --dark-text: #1a1a2e;
  --gray-text: #5a6478;
  --light-gray: #e8eaf0;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(10, 30, 60, 0.06);
  --shadow-md: 0 4px 16px rgba(10, 30, 60, 0.10);
  --shadow-lg: 0 8px 24px rgba(10, 30, 60, 0.12);
  --shadow-xl: 0 12px 40px rgba(10, 30, 60, 0.16);
  --shadow-nav: 0 2px 20px rgba(0, 0, 0, 0.3);

  /* Spacing */
  --section-padding: 100px 0;
  --section-padding-sm: 60px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-reveal: 0.6s ease-out;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 12px;
  --radius-pill: 100px;
}

/* ── Reset & Base ──────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol {
  list-style: none;
}

/* ── Container ─────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ── Typography ────────────────────────────────────────────────────────── */

/* Display Headline — Cormorant Garamond */
.display-heading {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

/* Section Heading */
.section-heading {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 40px);
  line-height: 1.2;
}

/* Sub-heading */
.sub-heading {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
}

/* Body */
.body-text {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.7;
}

/* Eyebrow Label — THE SIGNATURE ELEMENT */
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.eyebrow::after {
  content: '';
  display: block;
  width: 60px;
  height: 1.5px;
  background-color: var(--gold);
  margin-top: 8px;
}

/* Caption */
.caption {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: var(--gray-text);
}

/* Color Variants */
.text-white { color: var(--white); }
.text-gold { color: var(--gold); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--muted-blue); }
.text-gray { color: var(--gray-text); }

/* ── Navigation ────────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 18px 0;
  transition: background-color var(--transition-base),
              padding var(--transition-base),
              box-shadow var(--transition-base);
}

.navbar.scrolled {
  background-color: var(--navy);
  padding: 12px 0;
  box-shadow: var(--shadow-nav);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-logo span {
  color: var(--gold);
}

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

.nav-links a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--white);
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--white);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
  transition: transform 0.1s;
}

/* Primary — Gold filled */
.btn-primary {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.35);
}

/* Outline — Gold border */
.btn-outline {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background-color: var(--navy);
  color: var(--gold);
  transform: scale(1.03);
}

/* Outline on light bg */
.btn-outline-navy {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover {
  background-color: var(--navy);
  color: var(--white);
  transform: scale(1.03);
}

/* Nav CTA pill */
.btn-nav {
  background-color: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 13px;
}

.nav-links a.btn-nav {
  color: var(--navy);
}

.nav-links a.btn-nav::after {
  display: none;
}

.nav-links a.btn-nav:hover,
.nav-links a.btn-nav.active {
  color: var(--navy);
}

.btn-nav:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(201, 168, 76, 0.3);
}

/* Small button */
.btn-sm {
  padding: 10px 20px;
  font-size: 13px;
}

/* ── Sections ──────────────────────────────────────────────────────────── */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-navy {
  background-color: var(--navy);
  color: var(--white);
}

.section-mid-navy {
  background-color: var(--mid-navy);
  color: var(--white);
}

.section-offwhite {
  background-color: var(--off-white);
}

.section-white {
  background-color: var(--white);
}

.section-gold {
  background-color: var(--gold);
}

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

.section-header .eyebrow::after {
  margin-left: auto;
  margin-right: auto;
}

.section-header .section-heading {
  margin-top: 4px;
}

.section-header .body-text {
  max-width: 640px;
  margin: 12px auto 0;
}

/* Section Divider */
.section-divider {
  width: 100%;
  height: 1px;
  background-color: var(--light-gray);
}

/* ── Cards ─────────────────────────────────────────────────────────────── */
/* Light card */
.card {
  background-color: var(--white);
  border: 0.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: transform var(--transition-base),
              box-shadow var(--transition-base),
              border-color var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 2px;
  height: 100%;
  background-color: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--transition-base);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleY(1);
}

/* Dark card */
.card-dark {
  background-color: var(--mid-navy);
  border: 1px solid rgba(201, 168, 76, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  transition: transform var(--transition-base),
              border-color var(--transition-base),
              box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.card-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background-color: var(--gold);
}

.card-dark:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Card icon */
.card-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 28px;
  transition: transform var(--transition-fast);
}

.card:hover .card-icon,
.card-dark:hover .card-icon {
  transform: rotate(5deg);
}

.card-icon-gold {
  color: var(--gold);
  background-color: var(--gold-pale);
}

.card-icon-navy {
  color: var(--gold);
  background-color: rgba(201, 168, 76, 0.1);
}

.card-title {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 8px;
}

.card-dark:hover .card-title {
  color: var(--gold);
}

.card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-text);
}

.card-dark .card-desc {
  color: var(--muted-blue);
}

/* Image Card */
.card-image {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.5px solid var(--light-gray);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.card-image:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-image .card-img-wrapper {
  overflow: hidden;
  position: relative;
  height: 220px;
}

.card-image .card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.card-image:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.card-image .card-img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 30, 60, 0.4), transparent);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card-image:hover .card-img-wrapper::after {
  opacity: 1;
}

.card-image .card-body {
  padding: 24px;
}

.card-image .card-badge {
  display: inline-block;
  padding: 4px 12px;
  background: var(--gold-pale);
  color: var(--gold);
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

/* ── Grid Layouts ──────────────────────────────────────────────────────── */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

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

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

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-55-45 {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 60px;
  align-items: center;
}

.grid-45-55 {
  display: grid;
  grid-template-columns: 1fr 55%;
  gap: 60px;
  align-items: center;
}

/* ── Hero Sections ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  background-color: var(--navy);
  color: var(--white);
  overflow: hidden;
}

.hero-home {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-page {
  min-height: 45vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

/* Hero Slider Background */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s cubic-bezier(0.4, 0, 0.2, 1), transform 8s cubic-bezier(0.15, 0.85, 0.25, 1);
  transform: scale(1.08);
}

.hero-slide.active {
  opacity: 0.3; /* Subtle overlay so that text overlay is completely legible */
  transform: scale(1);
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-content .eyebrow {
  margin-bottom: 16px;
}

.hero-content .display-heading {
  margin-bottom: 20px;
}

.hero-content .body-text {
  color: var(--muted-blue);
  margin-bottom: 32px;
  font-size: 16px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-breadcrumb {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted-blue);
}

.hero-breadcrumb a {
  color: var(--gold);
}

.hero-breadcrumb a:hover {
  text-decoration: underline;
}

.hero-breadcrumb span {
  margin: 0 8px;
  opacity: 0.5;
}

/* Hero background pattern */
.hero-page::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(30deg, var(--gold) 1px, transparent 1px),
    linear-gradient(150deg, var(--gold) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* ── Stat Counters ─────────────────────────────────────────────────────── */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 32px 0;
  border-top: 1px solid rgba(201, 168, 76, 0.15);
  margin-top: 60px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 42px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}

.stat-number .stat-suffix {
  font-size: 24px;
}

.stat-label {
  font-size: 13px;
  color: var(--muted-blue);
  margin-top: 6px;
  font-weight: 500;
}

/* ── Floating Icon Cards (Hero) ────────────────────────────────────────── */
.floating-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}

.floating-card {
  background: rgba(27, 51, 102, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(201, 168, 76, 0.15);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  animation: float 3s ease-in-out infinite;
  max-width: 280px;
}

.floating-card:nth-child(2) { animation-delay: 0.5s; }
.floating-card:nth-child(3) { animation-delay: 1s; }

.floating-card-icon {
  font-size: 28px;
  color: var(--gold);
  flex-shrink: 0;
}

.floating-card-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--white);
}

.floating-card-desc {
  font-size: 12px;
  color: var(--muted-blue);
  margin-top: 2px;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ── Process / Steps ───────────────────────────────────────────────────── */
.process-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  padding: 20px 0;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 50px;
  left: 80px;
  right: 80px;
  height: 2px;
  background: var(--light-gray);
  z-index: 0;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 260px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 24px;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.step-title {
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ── Image with Gold Frame ─────────────────────────────────────────────── */
.image-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
}

.image-frame::after {
  content: '';
  position: absolute;
  top: 12px;
  left: 12px;
  right: -12px;
  bottom: -12px;
  border: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  z-index: -1;
}

.image-frame img {
  border-radius: var(--radius-lg);
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ── Org Chart ─────────────────────────────────────────────────────────── */
.org-chart {
  text-align: center;
  padding: 40px 0;
}

.org-parent {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--gold);
  color: var(--navy);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 0;
  position: relative;
  box-shadow: 0 0 0 0 rgba(201, 168, 76, 0);
  animation: glow-pulse 2s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201, 168, 76, 0); }
  50% { box-shadow: 0 0 20px rgba(201, 168, 76, 0.4); }
}

.org-lines {
  display: flex;
  justify-content: center;
  height: 60px;
  position: relative;
}

.org-line-vertical {
  width: 2px;
  height: 30px;
  background: var(--gold);
  margin: 0 auto;
}

.org-line-horizontal {
  position: absolute;
  top: 30px;
  height: 2px;
  background: var(--gold);
  left: 50%;
  transform: translateX(-50%);
}

.org-children {
  display: flex;
  justify-content: center;
  gap: 40px;
}

.org-child {
  padding: 16px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  min-width: 200px;
  text-align: center;
  border: 1px solid;
}

.org-child-tag {
  display: block;
  font-weight: 400;
  font-size: 12px;
  margin-top: 4px;
  opacity: 0.8;
}

.org-child-line {
  width: 2px;
  height: 30px;
  background: var(--gold);
  margin: 0 auto;
}

/* ── Tabs ──────────────────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 16px 0;
  position: sticky;
  top: 68px;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--light-gray);
}

.tab-btn {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border: none;
  background: none;
  color: var(--gray-text);
  cursor: pointer;
  position: relative;
  transition: color var(--transition-fast);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.tab-btn.active,
.tab-btn:hover {
  color: var(--navy);
}

.tab-btn.active::after {
  transform: scaleX(1);
}

/* ── Accordion / Expandable Tiles ──────────────────────────────────────── */
.accordion-tile {
  background: var(--off-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--transition-base);
  border: 1px solid var(--light-gray);
  margin-bottom: 12px;
}

.accordion-tile.active {
  border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.accordion-header:hover {
  background: rgba(201, 168, 76, 0.05);
}

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

.accordion-company-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}

.accordion-tag {
  font-size: 12px;
  color: var(--gold);
  font-weight: 500;
  background: var(--gold-pale);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.accordion-icon {
  font-size: 20px;
  color: var(--gray-text);
  transition: transform var(--transition-base);
}

.accordion-tile.active .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-tile.active .accordion-body {
  max-height: 200px;
}

.accordion-content {
  padding: 0 24px 20px;
  opacity: 0;
  transition: opacity 0.2s ease 0.1s;
}

.accordion-tile.active .accordion-content {
  opacity: 1;
}

.accordion-detail {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--gray-text);
}

.accordion-detail i {
  color: var(--gold);
  font-size: 18px;
}

/* ── Contact Form ──────────────────────────────────────────────────────── */
.form-group {
  margin-bottom: 24px;
}

.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--dark-text);
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color var(--transition-fast);
  position: relative;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--gold);
}

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

/* Gold bottom border on focus */
.form-field {
  position: relative;
}

.form-field::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.form-field:focus-within::after {
  transform: scaleX(1);
}

/* Submit button states */
.btn-submit {
  position: relative;
  min-width: 180px;
}

.btn-submit.loading {
  color: transparent;
  pointer-events: none;
}

.btn-submit.loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--navy);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn-submit.success {
  background-color: #2ecc71;
  border-color: #2ecc71;
  color: transparent;
  pointer-events: none;
}

.btn-submit.success::after {
  content: '✓';
  position: absolute;
  color: var(--white);
  font-size: 20px;
}

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

/* ── Contact Info Panel ────────────────────────────────────────────────── */
.contact-split {
  display: grid;
  grid-template-columns: 38% 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info-panel {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 48px 36px;
  color: var(--white);
  height: 100%;
}

.contact-info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-info-icon {
  font-size: 20px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-label {
  font-size: 12px;
  color: var(--muted-blue);
  margin-bottom: 2px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-info-value {
  font-size: 15px;
  color: var(--white);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  margin-top: 16px;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-whatsapp:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
}

/* ── Company Badge Pills ───────────────────────────────────────────────── */
.badge-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.company-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  background: var(--white);
  border: 1px solid var(--light-gray);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  transition: all var(--transition-base);
}

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

.company-badge .badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* ── Company Section Band ──────────────────────────────────────────────── */
.company-section {
  padding: var(--section-padding);
  position: relative;
}

.company-industry-badge {
  display: inline-block;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 12px;
}

.company-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  margin-bottom: 20px;
}

.company-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.company-service-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.company-service-icon {
  font-size: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.company-service-title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 2px;
}

.company-service-desc {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.4;
}

/* ── Tech Stack Marquee ────────────────────────────────────────────────── */
.marquee-wrapper {
  overflow: hidden;
  padding: 16px 0;
  width: 100%;
  max-width: 100%;
  position: relative;
}

.marquee-track {
  display: flex;
  gap: 32px;
  animation: marquee 20s linear infinite;
  flex-wrap: nowrap;
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted-blue);
  white-space: nowrap;
  animation: bounce-item 2s ease-in-out infinite;
}

.marquee-item:nth-child(odd) { animation-delay: 0s; }
.marquee-item:nth-child(even) { animation-delay: 0.5s; }

.marquee-item i {
  font-size: 22px;
  color: var(--gold);
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes bounce-item {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* ── Footer ────────────────────────────────────────────────────────────── */
.footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 80px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(143, 163, 192, 0.15);
}

.footer-brand .nav-logo {
  font-size: 20px;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand .footer-tagline {
  color: var(--muted-blue);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-social-link {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(143, 163, 192, 0.2);
  color: var(--muted-blue);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.footer-social-link:hover {
  color: var(--gold);
  border-color: var(--gold);
  transform: scale(1.15);
}

.footer-heading {
  font-weight: 600;
  font-size: 14px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}

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

.footer-links a {
  color: var(--muted-blue);
  font-size: 14px;
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 14px;
  font-size: 14px;
  color: var(--muted-blue);
}

.footer-contact-item a {
  color: inherit;
  transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
  color: var(--gold);
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 16px;
  margin-top: 2px;
  flex-shrink: 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  font-size: 13px;
  color: var(--muted-blue);
}

.footer-bottom::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  width: 60px;
  height: 1.5px;
  background: var(--gold);
}

.footer-bottom {
  position: relative;
}

/* ── Google Map ────────────────────────────────────────────────────────── */
.map-wrapper {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--light-gray);
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ── CTA Strip ─────────────────────────────────────────────────────────── */
.cta-strip {
  background: var(--gold);
  padding: 60px 0;
  text-align: center;
}

.cta-strip .section-heading {
  color: var(--navy);
  margin-bottom: 12px;
}

.cta-strip .body-text {
  color: var(--navy);
  opacity: 0.8;
  max-width: 560px;
  margin: 0 auto 28px;
}

.cta-strip .btn {
  margin: 0 8px;
}

/* ── Placeholder Images (gradients) ────────────────────────────────────── */
.placeholder-img {
  width: 100%;
  height: 100%;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.placeholder-img.finance {
  background: linear-gradient(135deg, rgba(10, 30, 60, 0.4) 0%, rgba(27, 51, 102, 0.4) 100%), url('../images/finance.png') center/cover no-repeat;
}

.placeholder-img.manufacturing {
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.4) 0%, rgba(61, 44, 30, 0.4) 100%), url('../images/manufacturing.png') center/cover no-repeat;
}

.placeholder-img.technology {
  background: linear-gradient(135deg, rgba(10, 30, 60, 0.4) 0%, rgba(13, 59, 74, 0.4) 100%), url('../images/technology.png') center/cover no-repeat;
}

.placeholder-img.about {
  background: linear-gradient(135deg, rgba(10, 30, 60, 0.4) 0%, rgba(201, 168, 76, 0.2) 100%), url('../images/about.png') center/cover no-repeat;
}

.placeholder-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30Z' fill='none' stroke='rgba(201,168,76,0.08)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 60px 60px;
}

/* Image Text Overlay Badge */
.image-text-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 30, 60, 0.85);
  backdrop-filter: blur(8px);
  border: 1.5px solid var(--gold);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  z-index: 2;
  transition: transform var(--transition-base), background-color var(--transition-base);
}

.image-text-overlay span {
  color: var(--gold);
}

.image-frame:hover .image-text-overlay {
  transform: translateY(-4px);
  background: rgba(10, 30, 60, 0.95);
}

/* ── Director Cards ────────────────────────────────────────────────────── */
.director-card {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  background: var(--white);
  border: 0.5px solid var(--light-gray);
  border-radius: var(--radius-lg);
}

.director-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  flex-shrink: 0;
}

.director-name {
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
  margin-bottom: 2px;
  border-bottom: 1.5px solid var(--gold);
  display: inline-block;
  padding-bottom: 2px;
}

.director-title {
  font-size: 13px;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 6px;
}

.director-bio {
  font-size: 13px;
  color: var(--gray-text);
  line-height: 1.5;
}

/* ── Utility ───────────────────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-640 { max-width: 640px; }
.max-w-800 { max-width: 800px; }
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Custom M-Cursor Styles ────────────────────────────────────────────── */
#m-cursor {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(0, 0, 0) translate3d(-50%, -50%, 0);
  opacity: 0;
  transition: transform 0.06s linear, opacity 0.3s ease;
  display: none;
  filter: drop-shadow(1px 0 0 #000000) 
          drop-shadow(-1px 0 0 #000000) 
          drop-shadow(0 1px 0 #000000) 
          drop-shadow(0 -1px 0 #000000);
}

#m-cursor-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

@media (min-width: 993px) {
  body, 
  body * {
    cursor: none;
  }
  
  input, 
  textarea, 
  select, 
  [contenteditable],
  iframe {
    cursor: auto !important;
  }
  
  #m-cursor {
    display: block;
  }
}

