@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* =====================================================
   MTeknik Website - IMPROVED STYLES
   Enhanced CSS with better organization, accessibility,
   and responsive design
   ===================================================== */

/* =====================================================
   1. CSS VARIABLES & RESET
   ===================================================== */
:root {
  /* Colors */
  --bg: #0c0f14;
  --surface: #0f131a;
  --paper: #ffffff;
  --ink: #121826;
  --muted: #6b7280;
  --gold: #d4af37;
  --blue: #1e3a8a;
  --blue-light: #3b82f6;
  
  /* Spacing */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-2xl: 48px;
  --spacing-3xl: 64px;
  
  /* Typography */
  --font-base: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 2rem;
  
  /* Effects */
  --radius: 18px;
  --radius-sm: 8px;
  --radius-lg: 24px;
  --shadow: 0 12px 30px rgba(18, 24, 38, 0.10);
  --shadow-lg: 0 16px 40px rgba(18, 24, 38, 0.15);
  --transition: all 0.2s ease;
  --transition-fast: all 0.15s ease;
}

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

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  height: 100%;
  font-family: var(--font-base);
  background: #f5f7fb;
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

a:hover {
  text-decoration: none;
}

ul {
  list-style: disc;
  padding-left: 1.2rem;
}


/* =====================================================
   2. LAYOUT
   ===================================================== */
.page-main {
  min-height: 60vh;
}

.page-section {
  padding: var(--spacing-3xl) 5%;
}

.page-section:nth-of-type(odd) {
  background: #f9fbff;
}

.page-section:nth-of-type(even) {
  background: #f5f7fb;
}


/* =====================================================
   3. NAVIGATION
   ===================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 5%;
  background: var(--paper);
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(10px);
}

.logo img {
  height: 34px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f2937;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: var(--transition);
  position: relative;
}

.nav-link:hover,
.nav-link:focus {
  background: #e5f3ff;
  border-color: #dbeafe;
  color: var(--blue);
  outline: none;
}

.nav-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Language Switch */
.lang-switch {
  display: flex;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
  padding: 2px;
  margin-left: var(--spacing-sm);
  background: #fafafa;
}

.lang-btn {
  font-size: 0.8rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.lang-btn:hover {
  background: #e5e7eb;
}

.lang-btn.active {
  background: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.lang-btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Mobile Menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  margin-left: 10px;
  padding: 0;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.bar {
  width: 100%;
  height: 3px;
  border-radius: 2px;
  background: #111827;
  transition: var(--transition);
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 60px;
    right: 5%;
    background: var(--paper);
    padding: 12px;
    flex-direction: column;
    align-items: flex-start;
    min-width: 220px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .menu-toggle {
    display: flex;
  }
}


/* =====================================================
   4. HERO SECTIONS
   ===================================================== */
.home-section .hero-premium {
  padding-top: var(--spacing-lg);
  padding-bottom: 40px;
}

.hero-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
}

.hero-title {
  font-size: clamp(2.1rem, 3.4vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: var(--spacing-md);
  color: #0f172a;
  font-weight: 700;
}

.hero-lead {
  max-width: 640px;
  font-size: var(--font-size-base);
  color: var(--muted);
  margin-bottom: 10px;
}

.hero-list {
  margin-top: 14px;
  color: #4b5563;
}

.hero-list li {
  margin-bottom: var(--spacing-sm);
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}


/* =====================================================
   5. BUTTONS
   ===================================================== */
.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: #111827;
  color: #f9fafb;
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #020617;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.btn-secondary {
  background: #f9fafb;
  color: #111827;
  border-color: #e5e7eb;
}

.btn-secondary:hover {
  background: #111827;
  color: #f9fafb;
  border-color: #111827;
}

.btn-secondary:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}


/* =====================================================
   6. GRID SYSTEM
   ===================================================== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin: -12px;
}

.col-lg-4,
.col-sm-6,
.col-lg-10 {
  padding: 12px;
  box-sizing: border-box;
}

.col-lg-10 {
  flex: 1 1 100%;
}

.col-lg-4,
.col-sm-6 {
  flex: 1 1 50%;
}

@media (max-width: 768px) {
  .col-lg-4,
  .col-sm-6,
  .col-lg-10 {
    flex: 1 1 100%;
  }
}


/* =====================================================
   7. CARDS
   ===================================================== */
.service-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 20px 18px;
  border: 1px solid #eef1f7;
  height: 100%;
  transition: var(--transition);
}

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

.service-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-sm);
  color: #0f172a;
}

.service-card p {
  color: var(--muted);
  font-size: var(--font-size-sm);
}

.home-services .service-card {
  margin-bottom: var(--spacing-sm);
}


/* =====================================================
   8. PROJECTS
   ===================================================== */
.projects-section .section-header {
  max-width: 700px;
  margin: 0 auto var(--spacing-lg) auto;
  text-align: center;
}

.section-lead {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: var(--spacing-sm);
}

.project-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #eef1f7;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition);
}

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

.project-card:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

.project-imgwrap {
  position: relative;
  display: block;
  height: 210px;
  overflow: hidden;
  background: #f3f4f6;
}

.project-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 12px 14px;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.project-cta {
  font-size: 0.8rem;
  font-weight: 500;
  color: #f9fafb;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
}

.project-imgwrap:hover .project-img {
  transform: scale(1.03);
}

.project-imgwrap:hover .project-overlay {
  opacity: 1;
}

.project-body {
  padding: 14px 16px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: var(--font-size-base);
  font-weight: 600;
  margin-bottom: var(--spacing-xs);
  color: #0f172a;
}

.project-comment {
  font-size: 0.85rem;
  color: var(--muted);
  flex: 1;
}

/* Projects Grid - 4 columns on desktop */
#completed-grid,
#ongoing-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--spacing-md);
  align-items: stretch;
}

@media (max-width: 1100px) {
  #completed-grid,
  #ongoing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  #completed-grid,
  #ongoing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  #completed-grid,
  #ongoing-grid {
    grid-template-columns: 1fr;
  }
}

/* Project Search */
.projects-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.project-search {
  padding: var(--spacing-sm) 10px;
  border-radius: 999px;
  border: 1px solid #d1d5db;
  min-width: 220px;
  font-size: 0.9rem;
  transition: var(--transition);
}

.project-search:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}


/* =====================================================
   9. FORMS & CONTACT
   ===================================================== */
.contact-section .content-prose {
  max-width: 1100px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  column-gap: 40px;
  margin-top: var(--spacing-lg);
  align-items: flex-start;
}

.contact-map {
  width: 100%;
  height: 100%;
  margin-left: 0;
}

.contact-map iframe {
  width: 100%;
  height: 420px;
  display: block;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  border: 1px solid #e5e7eb;
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  font-family: inherit;
  width: 100%;
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  border: 1px solid #d1d5db;
  transition: var(--transition);
  font-size: var(--font-size-sm);
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

#contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Submit button styling lives in contact-form-styles.css (.btn-submit) */

/* Form Alerts */
.form-alert {
  margin-bottom: 12px;
  padding: var(--spacing-sm) 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
}

.form-alert.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.form-alert.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}


/* =====================================================
   10. PAGE CONTENT
   ===================================================== */
.page-head h1 {
  font-size: var(--font-size-2xl);
  margin-bottom: 12px;
  color: #0f172a;
  font-weight: 700;
}

.content-prose {
  max-width: 720px;
  font-size: 0.95rem;
  color: #111827;
}

.content-prose p {
  margin-bottom: 10px;
  line-height: 1.7;
}

.content-prose ul {
  margin: var(--spacing-sm) 0 var(--spacing-xs);
}

.content-prose li {
  margin-bottom: var(--spacing-sm);
}

.content-prose strong {
  font-weight: 600;
  color: #0f172a;
}


/* =====================================================
   11. CASE STUDIES
   ===================================================== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

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

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

.case-card {
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.case-card--clickable {
  cursor: pointer;
}

.case-card--clickable:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: #1e3a8a;
}

.case-card--clickable:focus-visible {
  outline: 2px solid #1e3a8a;
  outline-offset: 2px;
}

.case-thumb {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f3f4f6;
  position: relative;
  flex-shrink: 0;
}

.case-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.6s ease, transform 0.3s ease;
  opacity: 0;
}

.case-thumb img.slide-active {
  opacity: 1;
}

.case-thumb .slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 2;
}

.case-thumb .slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transition: background 0.3s;
}

.case-thumb .slide-dot.active {
  background: #fff;
}

.case-card--clickable:hover .case-thumb img.slide-active {
  transform: scale(1.04);
}

.case-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.case-card h2 {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 6px;
  color: #0f172a;
  line-height: 1.35;
}

.case-meta {
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 10px;
}

.case-body {
  font-size: 0.875rem;
  color: #374151;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 12px;
}

.case-read-more {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a8a;
  margin-top: auto;
}


/* =====================================================
   12. METRICS / STATS
   ===================================================== */
.metrics-section {
  padding: 48px 5% 32px 5%;
  background: #f5f7fb;
}

.metrics-inner {
  max-width: 960px;
  margin: 0 auto;
}

.metrics-section h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-md);
  color: #0f172a;
  font-weight: 700;
}

.metrics-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.metric-card {
  flex: 1 1 180px;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: var(--spacing-md);
  border: 1px solid #e5e7eb;
  transition: var(--transition);
}

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

.metric-number {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: var(--spacing-xs);
  color: var(--blue);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.4;
}


/* =====================================================
   13. PARTNERS
   ===================================================== */
.partners-section {
  margin-top: 40px;
  margin-bottom: 20px;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  align-items: center;
  margin-top: var(--spacing-lg);
}

.partners-logos img {
  height: 36px;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
  filter: grayscale(20%);
}

.partners-logos a:hover img {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.partners-logos a:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}


/* =====================================================
   14. FOOTER
   ===================================================== */
.site-footer {
  background: #0f172a;
  color: #e5e7eb;
  padding: var(--spacing-xl) 5% var(--spacing-md);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xl);
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 1px solid #374151;
  padding-bottom: var(--spacing-md);
}

.footer-logo {
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: var(--spacing-xs);
  font-size: var(--font-size-lg);
}

.footer-text {
  font-size: 0.85rem;
  color: #9ca3af;
}

.footer-right {
  display: flex;
  gap: var(--spacing-xl);
  flex-wrap: wrap;
}

.footer-column h3 {
  font-size: 0.95rem;
  margin-bottom: var(--spacing-sm);
}

.footer-column a {
  display: block;
  font-size: 0.85rem;
  color: #e5e7eb;
  margin-bottom: var(--spacing-xs);
}

.footer-column a:hover {
  color: #bfdbfe;
}

.footer-column a:focus-visible {
  outline: 2px solid var(--blue-light);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: 0.8rem;
  color: #9ca3af;
}


/* =====================================================
   15. TOAST NOTIFICATIONS
   ===================================================== */
.toast {
  position: fixed;
  top: 88px;
  right: 18px;
  max-width: 360px;
  padding: 12px 14px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 10050;
  font-size: 14px;
  line-height: 1.3;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

.toast.success {
  background: #0f766e;
  color: #fff;
}

.toast.error {
  background: #b91c1c;
  color: #fff;
}

.toast.info {
  background: #0f172a;
  color: #fff;
}


/* =====================================================
   16. ACCESSIBILITY
   ===================================================== */
/* Skip to content link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: #111827;
  color: #fff;
  padding: var(--spacing-sm) var(--spacing-md);
  z-index: 100000;
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  top: 0;
}

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}


/* =====================================================
   17. UTILITIES
   ===================================================== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* =====================================================
   18. RESPONSIVE ADJUSTMENTS
   ===================================================== */
@media (max-width: 768px) {
  .page-section {
    padding: 48px 5%;
  }
  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .hero-title {
    font-size: var(--font-size-2xl);
  }
  
  .metrics-grid {
    flex-direction: column;
  }
  
  .case-card {
    /* single column on mobile handled by case-grid media query */
  }
  
  .toast {
    left: 16px;
    right: 16px;
    top: 78px;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .home-services h2 {
    font-size: var(--font-size-xl);
  }
}

/* Tablet optimizations (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .nav-links {
    gap: 12px;
  }
  
  .nav-link {
    font-size: 0.85rem;
    padding: 0.3rem 0.7rem;
  }
  
  .project-imgwrap {
    height: 180px;
  }
}


/* =====================================================
   19. PRINT STYLES
   ===================================================== */
@media print {
  .navbar,
  .site-footer,
  .hero-actions,
  .menu-toggle,
  .lang-switch {
    display: none;
  }
  
  body {
    background: white;
  }
  
  .page-section {
    padding: 20px 0;
  }
  
  a {
    text-decoration: underline;
  }
}


/* =====================================================
   20. NAV ACTIVE STATE
   ===================================================== */
.nav-link.nav-active {
  background: #e5f3ff;
  border-color: #dbeafe;
  color: var(--blue);
  font-weight: 700;
}

/* =====================================================
   21. INFO SECTION (About / Career / Case Studies)
   ===================================================== */
.info-section {
  max-width: 900px;
  margin: 0 auto;
}

.info-section .content-prose {
  max-width: 100%;
}

.info-section .content-prose ul {
  margin: 12px 0 16px 0;
  color: #374151;
}

.info-section .content-prose li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* =====================================================
   22. HOME SERVICES & PARTNERS
   ===================================================== */
.home-services {
  margin-top: 40px;
}

.home-services h2 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--spacing-md);
  color: #0f172a;
  font-weight: 700;
}

.partners-subtitle {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 6px;
}


/* =====================================================
   23. CASE STUDIES PAGE
   ===================================================== */
.case-studies-section {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.case-studies-section .page-head {
  margin-bottom: 8px;
}

.case-studies-section .content-prose {
  margin-bottom: 4px;
}

/* =====================================================
   24. HERO TWO-COLUMN + VISUAL  (added)
   ===================================================== */
.hero-text { flex: 1 1 520px; min-width: 0; }
@media (max-width: 900px) {
  }

/* Service card icons */
.service-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e8f0ff;
  color: var(--blue);
  margin-bottom: 12px;
}
.service-icon svg { width: 22px; height: 22px; }
