/* ============================================
   MMM Nexus - Institutional Website Styles
   Design System: BlackRock × McKinsey × Africa
   ============================================ */

/* ---- CSS Variables ---- */
:root {
  --navy: #0a2540;
  --deep-blue: #07121f;
  --light-navy: #1a3a5c;
  --white: #ffffff;
  --off-white: #fafbfc;
  --light-grey: #f0f2f5;
  --medium-grey: #8a9199;
  --dark-grey: #4a4f54;
  --text-primary: #1a1a1a;
  --text-secondary: #5a5f66;
  --accent: #b8954e;
  --accent-light: #d4b76a;
  --border: #e2e5e9;
  --border-light: #eef0f2;

  --font-primary: 'Georgia', 'Times New Roman', serif;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.04);
  --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.08);
  --shadow-lg: 0 12px 40px rgba(10, 37, 64, 0.12);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: 400;
  line-height: 1.2;
  color: var(--navy);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.lead {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 680px;
}

.label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

/* ---- Layout ---- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: 6rem 0;
}

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

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

.section-navy h1,
.section-navy h2,
.section-navy h3 {
  color: var(--white);
}

.section-navy p {
  color: rgba(255, 255, 255, 0.75);
}

/* ---- Navigation ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: var(--transition);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-primary);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--navy);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--medium-grey);
  margin-top: 2px;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--dark-grey);
  letter-spacing: 0.01em;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  transition: var(--transition);
}

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

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

.nav-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 0.625rem 1.5rem !important;
  font-size: 0.8125rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 2px;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--deep-blue);
  transform: translateY(-1px);
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy);
  transition: var(--transition);
}

/* ---- Hero ---- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--white);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: var(--off-white);
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

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

.hero-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero h1 {
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.hero h1 em {
  font-style: italic;
  color: var(--light-navy);
}

.hero-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-inner {
  width: 100%;
  height: 100%;
  background: var(--navy);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(135deg, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.7) 100%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-visual-text {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 2rem;
}

.hero-visual-text .stat-number {
  font-family: var(--font-primary);
  font-size: 3.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.hero-visual-text .stat-label {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 2px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  gap: 0.5rem;
}

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

.btn-primary:hover {
  background: var(--deep-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

.btn-light:hover {
  background: var(--light-grey);
}

/* ---- Cards ---- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  transition: var(--transition);
}

.card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-light);
}

.card:hover::before {
  height: 100%;
}

.card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.card p {
  font-size: 0.9375rem;
  line-height: 1.7;
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: var(--navy);
}

/* ---- Section Header ---- */
.section-header {
  margin-bottom: 4rem;
  max-width: 700px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  margin-bottom: 1.25rem;
}

/* ---- Process / Steps ---- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.process-step {
  position: relative;
  padding-top: 2rem;
}

.process-step::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent);
}

.step-number {
  font-family: var(--font-primary);
  font-size: 0.875rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
}

.process-step h4 {
  margin-bottom: 0.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
}

.process-step p {
  font-size: 0.9375rem;
}

/* ---- Stats Bar ---- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-item .number {
  font-family: var(--font-primary);
  font-size: 2.5rem;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .desc {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.5);
}

/* ---- Quote / Testimonial ---- */
.quote-block {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.quote-block blockquote {
  font-family: var(--font-primary);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-style: italic;
  line-height: 1.6;
  color: var(--white);
  margin-bottom: 2rem;
}

.quote-block cite {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-style: normal;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---- Values List ---- */
.values-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.value-item h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.0625rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}

.value-item p {
  font-size: 0.9375rem;
}

/* ---- Industry Grid ---- */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-item {
  background: var(--white);
  border: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  transition: var(--transition);
  cursor: default;
}

.industry-item:hover {
  border-color: var(--navy);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.industry-item .ind-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.industry-item h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--navy);
}

/* ---- Contact ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.contact-info h3 {
  margin-bottom: 1.5rem;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--medium-grey);
  min-width: 80px;
}

.contact-detail-value {
  font-size: 1rem;
  color: var(--text-primary);
}

.contact-form {
  background: var(--off-white);
  padding: 3rem;
  border: 1px solid var(--border);
}

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

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark-grey);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--text-primary);
  transition: var(--transition);
  border-radius: 2px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
}

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

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

/* ---- Footer ---- */
.footer {
  background: var(--deep-blue);
  color: rgba(255, 255, 255, 0.6);
  padding: 4rem 0 2rem;
}

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

.footer-brand .logo-main {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
  max-width: 300px;
}

.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 0.75rem;
}

.footer-col a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
}

/* ---- Page Header ---- */
.page-header {
  padding: 10rem 0 5rem;
  background: var(--off-white);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin-bottom: 1rem;
}

.page-header p {
  font-size: 1.125rem;
  max-width: 600px;
}

/* ---- Service Detail ---- */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
  border-bottom: 1px solid var(--border);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail:nth-child(even) {
  direction: rtl;
}

.service-detail:nth-child(even) > * {
  direction: ltr;
}

.service-detail-content h3 {
  margin-bottom: 1.25rem;
}

.service-detail-content p {
  margin-bottom: 1.5rem;
}

.service-detail-content ul {
  list-style: none;
}

.service-detail-content li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.service-detail-content li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.service-detail-visual {
  background: var(--navy);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.service-detail-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='1' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.service-detail-visual span {
  font-family: var(--font-primary);
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 1;
}

/* ---- CTA Section ---- */
.cta-section {
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  margin-bottom: 1.25rem;
}

.cta-section p {
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- LinkedIn Button ---- */
.linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  background: #0077b5;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 2px;
  transition: var(--transition);
}

.linkedin-btn:hover {
  background: #005885;
  transform: translateY(-1px);
}

/* ---- Utility ---- */
.divider {
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin: 1.5rem 0;
}

.divider.center {
  margin-left: auto;
  margin-right: auto;
}

.mt-2 { margin-top: 2rem; }
.mt-4 { margin-top: 4rem; }
.mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }

/* ---- Animations ---- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .hero-visual {
    height: 350px;
    order: -1;
  }

  .hero::before {
    display: none;
  }

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

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

  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail:nth-child(even) {
    direction: ltr;
  }

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

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding: 7rem 0 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .values-list {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .card-grid,
  .card-grid-4 {
    grid-template-columns: 1fr;
  }
}

/* ---- Logo Integration ---- */
.logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-wrap .logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 1rem;
  opacity: 0.9;
}

/* ---- Favicon handling via link is in HTML ---- */

/* ---- Hero with Image ---- */
.hero-visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 37, 64, 0.85) 0%, rgba(10, 37, 64, 0.6) 100%);
  z-index: 1;
}

.hero-visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

/* ---- Image Sections ---- */
.image-section {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-section-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 37, 64, 0.75);
}

.image-section-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
  max-width: 700px;
}

/* ---- About Inspiration Image ---- */
.inspiration-section {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.inspiration-section img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inspiration-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.4) 100%);
}

.inspiration-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
  max-width: 600px;
}

/* ---- Service Image Cards ---- */
.service-img-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.service-img-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

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

.service-img-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.3) 60%, transparent 100%);
}

.service-img-card-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
  color: var(--white);
}

.service-img-card-content h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.service-img-card-content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  margin: 0;
}

/* ---- Industry Image Grid ---- */
.industry-img-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.industry-img-item {
  position: relative;
  height: 240px;
  overflow: hidden;
  cursor: default;
}

.industry-img-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.industry-img-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 37, 64, 0.9) 0%, rgba(10, 37, 64, 0.2) 100%);
  transition: background 0.3s ease;
}

.industry-img-item:hover .industry-img-item-overlay {
  background: linear-gradient(to top, rgba(10, 37, 64, 0.95) 0%, rgba(10, 37, 64, 0.4) 100%);
}

.industry-img-item-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 2;
}

.industry-img-item-content h4 {
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

/* ---- Form Success State ---- */
.form-success {
  background: #e8f5e9;
  border: 1px solid #4caf50;
  padding: 1.5rem;
  border-radius: 2px;
  text-align: center;
  display: none;
}

.form-success.visible {
  display: block;
}

.form-success h4 {
  color: #2e7d32;
  font-family: var(--font-sans);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-success p {
  color: #388e3c;
  font-size: 0.9375rem;
  margin: 0;
}

/* ---- Responsive Logo ---- */
@media (max-width: 768px) {
  .logo-img {
    height: 36px;
  }

  .inspiration-section {
    min-height: 350px;
  }

  .inspiration-content {
    padding: 2rem 1.5rem;
  }

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

  .service-img-card {
    min-height: 220px;
  }
}

@media (max-width: 480px) {
  .industry-img-grid {
    grid-template-columns: 1fr;
  }
}
