/* ==========================================================================
   MANTRIX TECHNOLOGIES — STANDALONE STYLESHEET (CSS3)
   Aesthetic: Clean White / Light Enterprise, Indigo Accent
   ========================================================================== */

:root {
  --bg-main: #FFFFFF;
  --bg-surface: #F6F7FB;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F2F3FC;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --text-sub: #334155;
  --primary: #4F46E5;
  --primary-light: #6366F1;
  --primary-hover: #4338CA;
  --accent-cyan: #0891B2;
  --accent-emerald: #059669;
  --border-color: rgba(79, 70, 229, 0.16);
  --border-glow: rgba(79, 70, 229, 0.4);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.25s ease-in-out;
  --container-max: 1240px;
  --shadow-sm: 0 2px 10px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 12px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.1);

  /* Rich accent color palette (cycled across cards/icons) */
  --c0: #4F46E5;  /* indigo */
  --c1: #0891B2;  /* cyan */
  --c2: #7C3AED;  /* violet */
  --c3: #DB2777;  /* pink/rose */
  --c4: #D97706;  /* amber */
  --c5: #059669;  /* emerald */
}

.card-icon-wrap.c0, .value-card.c0 .card-icon-wrap { background: rgba(79, 70, 229, 0.12); color: var(--c0); border-color: rgba(79, 70, 229, 0.3); }
.card-icon-wrap.c1, .value-card.c1 .card-icon-wrap { background: rgba(8, 145, 178, 0.12); color: var(--c1); border-color: rgba(8, 145, 178, 0.3); }
.card-icon-wrap.c2, .value-card.c2 .card-icon-wrap { background: rgba(124, 58, 237, 0.12); color: var(--c2); border-color: rgba(124, 58, 237, 0.3); }
.card-icon-wrap.c3, .value-card.c3 .card-icon-wrap { background: rgba(219, 39, 119, 0.12); color: var(--c3); border-color: rgba(219, 39, 119, 0.3); }
.card-icon-wrap.c4, .value-card.c4 .card-icon-wrap { background: rgba(217, 119, 6, 0.12); color: var(--c4); border-color: rgba(217, 119, 6, 0.3); }
.card-icon-wrap.c5, .value-card.c5 .card-icon-wrap { background: rgba(5, 150, 105, 0.12); color: var(--c5); border-color: rgba(5, 150, 105, 0.3); }

.service-card.c0, .industry-card.c0, .value-card.c0 { border-top: 3px solid var(--c0); }
.service-card.c1, .industry-card.c1, .value-card.c1 { border-top: 3px solid var(--c1); }
.service-card.c2, .industry-card.c2, .value-card.c2 { border-top: 3px solid var(--c2); }
.service-card.c3, .industry-card.c3, .value-card.c3 { border-top: 3px solid var(--c3); }
.service-card.c4, .industry-card.c4, .value-card.c4 { border-top: 3px solid var(--c4); }
.service-card.c5, .industry-card.c5, .value-card.c5 { border-top: 3px solid var(--c5); }

.tag-pill.tag-c0 { background: rgba(79, 70, 229, 0.1); color: var(--c0); }
.tag-pill.tag-c1 { background: rgba(8, 145, 178, 0.1); color: var(--c1); }
.tag-pill.tag-c2 { background: rgba(124, 58, 237, 0.1); color: var(--c2); }
.tag-pill.tag-c3 { background: rgba(219, 39, 119, 0.1); color: var(--c3); }
.tag-pill.tag-c4 { background: rgba(217, 119, 6, 0.1); color: var(--c4); }
.tag-pill.tag-c5 { background: rgba(5, 150, 105, 0.1); color: var(--c5); }

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ================= UTILITY CLASSES ================= */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-indigo { color: var(--primary-light); }
.text-cyan { color: var(--accent-cyan); }
.text-emerald { color: var(--accent-emerald); }
.w-full { width: 100%; }

.text-gradient {
  background: linear-gradient(135deg, #4F46E5 0%, #0891B2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= BUTTONS ================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  white-space: nowrap;
  font-family: var(--font-sans);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 0.875rem 1.75rem;
  font-size: 1rem;
}

.btn-primary {
  background-color: #4169E1;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(65, 105, 225, 0.4);
}

.btn-primary:hover {
  background-color: #3457C5;
  box-shadow: 0 6px 22px rgba(65, 105, 225, 0.55);
  transform: translateY(-1px);
}

.btn-outline {
  background-color: rgba(65, 105, 225, 0.05);
  color: var(--text-main);
  border: 1px solid rgba(65, 105, 225, 0.25);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background-color: rgba(65, 105, 225, 0.1);
  border-color: #4169E1;
}

/* ================= SITE HEADER ================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  height: 72px;
  display: flex;
  align-items: center;
  box-shadow: var(--shadow-sm);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  background: #002147;
  border-radius: 0;
  padding: 0.55rem 1.1rem;
}

.logo-icon-wrap {
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.logo-svg {
  width: 30px;
  height: 30px;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #ffffff;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  transition: var(--transition);
  position: relative;
  padding: 0.35rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c0), var(--c1));
  border-radius: 2px;
}

.mobile-toggle-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle-btn .bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background-color: var(--text-main);
  transition: var(--transition);
}

.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: 72px;
  left: 0;
  width: 100%;
  background-color: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-link {
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-drawer-footer {
  margin-top: 1.5rem;
}

/* ================= DESKTOP NAV DROPDOWNS ================= */
.nav-dropdown {
  position: relative;
}

.nav-link-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  padding: 0.35rem 0.6rem;
  border-radius: 999px;
  transition: var(--transition);
}

.nav-dropdown:hover .nav-link-dropdown,
.nav-dropdown.dropdown-open .nav-link-dropdown {
  background: rgba(65, 105, 225, 0.1);
  color: #4169E1;
}

.nav-link-dropdown .chevron {
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-link-dropdown .chevron,
.nav-dropdown.dropdown-open .nav-link-dropdown .chevron {
  transform: rotate(180deg);
}

.dropdown-panel {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px) scale(0.97);
  transform-origin: top center;
  min-width: 300px;
  max-width: 340px;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.6rem;
  display: grid;
  gap: 0.15rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.14s ease-out, transform 0.14s ease-out, visibility 0.14s;
  z-index: 1100;
  max-height: 70vh;
  overflow-y: auto;
}

.nav-dropdown:hover .dropdown-panel,
.nav-dropdown:focus-within .dropdown-panel,
.nav-dropdown.dropdown-open .dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0) scale(1);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-sub);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.3;
  border-left: 3px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.dropdown-item:hover {
  background: rgba(65, 105, 225, 0.1);
  color: #4169E1;
  border-left-color: #4169E1;
  transform: translateX(2px);
}

.dropdown-item-icon {
  font-size: 1rem;
  width: 24px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-item-icon svg {
  width: 18px;
  height: 18px;
}

.dropdown-view-all {
  margin-top: 0.25rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--primary);
  justify-content: center;
}

/* ================= MOBILE ACCORDION (SERVICES/INDUSTRIES) ================= */
.mobile-accordion {
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.mobile-accordion-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  color: var(--text-sub);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.5rem 0;
  cursor: pointer;
}

.mobile-accordion-toggle .chevron {
  transition: transform 0.2s ease;
}

.mobile-accordion-toggle.open .chevron {
  transform: rotate(180deg);
}

.mobile-accordion-toggle.open {
  color: var(--primary);
}

.mobile-accordion-panel {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: max-height 0.25s ease;
}

.mobile-accordion-panel.open {
  max-height: 600px;
  padding-bottom: 0.5rem;
}

.mobile-accordion-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.5rem 0.55rem 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-accordion-item:hover {
  color: var(--primary);
}

/* ================= PAGE ROUTING / VIEWS ================= */
.page-view {
  display: none;
}

.page-view.active {
  display: block;
}

/* ================= HERO SECTION ================= */
.hero-section {
  position: relative;
  padding: 6rem 0 6.5rem 0;
  overflow: hidden;
  background-image:
    linear-gradient(115deg, rgba(7, 12, 33, 0.92) 0%, rgba(7, 12, 33, 0.82) 45%, rgba(15, 23, 42, 0.55) 100%),
    url('images/home-hero-bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-grid {
  display: flex;
  justify-content: center;
}

.hero-text-col {
  max-width: 760px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #C7D2FE;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
}

.badge-dot {
  width: 6px;
  height: 6px;
  background-color: #22D3EE;
  border-radius: 50%;
  box-shadow: 0 0 8px #22D3EE;
}

.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.hero-description {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.78);
  max-width: 580px;
  margin: 0 auto 2rem auto;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  max-width: 600px;
  margin: 0 auto;
}

.stat-card .stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  font-family: var(--font-mono);
}

.stat-card .stat-label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
}

.hero-section .btn-outline {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.hero-section .btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

/* ================= SECTION STYLING ================= */
.section {
  padding: 5rem 0;
}

.bg-darker {
  background-color: var(--bg-surface);
  border-top: 1px solid rgba(15, 23, 42, 0.05);
  border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.section-header {
  margin-bottom: 3.5rem;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.page-header-section {
  padding: 4.5rem 0 3rem 0;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-main) 100%);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  text-align: center;
}

.page-title {
  font-size: 2.75rem;
  font-weight: 800;
  margin: 0.5rem 0 1rem 0;
}

.page-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto;
}

/* "Get In Touch" contact page header - distinct brand-colored band */
.contact-header-section {
  background: linear-gradient(135deg, #4338CA 0%, #4F46E5 55%, #0891B2 100%);
  border-bottom: none;
}

.contact-header-section .section-eyebrow {
  color: rgba(255, 255, 255, 0.85);
}

.contact-header-section .page-title {
  color: #ffffff;
}

.contact-header-section .page-lead {
  color: rgba(255, 255, 255, 0.85);
}

/* ================= CARDS & GRIDS ================= */
.services-grid, .industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.5rem;
}

.service-card, .industry-card {
  background: var(--bg-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.service-card:hover, .industry-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.card-icon-wrap svg {
  display: block;
  width: 24px;
  height: 24px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.75rem;
}

.card-desc {
  font-size: 0.925rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.25rem;
}

.tag-pill {
  font-size: 0.725rem;
  background: rgba(79, 70, 229, 0.08);
  color: var(--text-sub);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  font-family: var(--font-mono);
}

.card-footer-link {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-light);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.card-footer-link svg {
  width: 15px;
  height: 15px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.icon-link svg {
  width: 16px;
  height: 16px;
}

.form-feedback svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.dropdown-view-all svg {
  width: 14px;
  height: 14px;
  vertical-align: -2px;
  margin-left: 4px;
}

/* ================= CTA BANNER ================= */
.cta-banner-section {
  padding: 4rem 0 6rem 0;
}

.cta-card {
  background: linear-gradient(135deg, #4F46E5 0%, #0891B2 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-lg);
}

.cta-content h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #ffffff;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 600px;
}

.cta-card .btn-primary {
  background-color: #ffffff;
  color: #4169E1;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.15);
}

.cta-card .btn-primary:hover {
  background-color: #F1F5F9;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.2);
}

/* ================= CONTACT & ABOUT LAYOUTS ================= */
.contact-grid, .about-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 2.5rem;
}

.contact-form-card, .contact-sidebar-card, .about-text-card, .about-values-card {
  background: var(--bg-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
}

.contact-form-card h3, .contact-sidebar-card h3, .about-text-card h3, .about-values-card h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 0.4rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid rgba(15, 23, 42, 0.12);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.25);
}

.form-feedback {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  display: none;
}

.form-feedback.success {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
}

.form-feedback.error {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(244, 63, 94, 0.12);
  border: 1px solid #f43f5e;
  color: #fb7185;
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

/* ================= ABOUT PHOTO GRID ================= */
.about-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.about-photo-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.08);
  background: var(--bg-card);
  box-shadow: var(--shadow-sm);
}

.about-photo-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}

.about-photo-caption {
  padding: 1.25rem 1.5rem;
}

.about-photo-caption h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.about-photo-caption p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ================= CORE VALUES GRID ================= */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.value-card {
  background: var(--bg-card);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

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

@media (max-width: 900px) {
  .about-photo-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

.info-block {
  margin-bottom: 1.5rem;
}

.info-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-value, .info-value a {
  color: var(--text-main);
  font-size: 1rem;
  text-decoration: none;
}

.values-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.values-list li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-sub);
}

.values-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-cyan);
  font-weight: 800;
}

.badge-status {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-emerald);
  color: var(--accent-emerald);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
}

/* ================= MODAL DIALOG ================= */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-backdrop.open {
  display: flex;
}

.modal-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.35);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

/* ================= SITE FOOTER ================= */
.site-footer {
  margin-top: auto;
  background-color: var(--bg-surface);
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  padding: 4rem 0 2rem 0;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 1rem 0;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-col h4 {
  color: var(--text-main);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--text-main);
}

.footer-col p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* ================= RESPONSIVE MEDIA QUERIES ================= */
@media (max-width: 992px) {
  .cta-card {
    flex-direction: column;
    text-align: center;
    padding: 2.5rem;
  }

  .contact-grid, .about-grid, .footer-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-toggle-btn {
    display: block;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

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