/* ------====
   MMHAQ Technologies — Design System v3
   Project: mmhaq.net corporate website
   ------====
   Table of Contents:
   1. Root Variables
   2. Base / Reset
   3. Typography
   4. Badge
   5. Container / Section
   6. Navigation
   7. Buttons
   8. Hero
   9. Cards (Service, Portfolio, Team, Testimonial, Blog)
  10. Tech Badge
  11. Process
  12. FAQ
  13. Forms
  14. CTA
  15. Breadcrumb
  16. Page Header
  17. Footer
  18. Modal
  19. Gallery
  20. Phone Mockup
  21. Feedback Slider
  22. Star Rating
  23. Utilities
  24. Accessibility
  25. Responsive
  26. Auth Pages
   ------==== */

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

:root {
  --primary: #0f172a;
  --primary-light: #1e293b;
  --primary-lighter: #f1f5f9;
  --primary-rgb: 15, 23, 42;
  --accent: #46678C;
  --accent-light: #6E8FB4;
  --accent-lighter: #f0f4f8;
  --accent-rgb: 70, 103, 140;
  --accent-dark: #385270;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --gray-900: #0f172a;
  --success: #10b981;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --radius: 10px;
  --radius-sm: 6px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.08);
  --transition: 0.2s ease;
}

/* ---- 2. Base / Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--gray-600);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-dark); }
::selection { background: var(--accent); color: var(--white); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---- 3. Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.025em;
  line-height: 1.2;
  margin-top: 0;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.75rem); }
h4 { font-size: clamp(1.125rem, 1.5vw, 1.375rem); }
p { margin-top: 0; }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-muted { color: var(--gray-500); }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }

/* ---- 4. Badge ---- */
.badge-modern {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  background: var(--accent-lighter);
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* ---- 5. Container / Section ---- */
.section {
  padding: 54px 0;
}
.section-alt {
  background: var(--gray-50);
}
.section-head {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}

/* ---- 6. Navigation ---- */
.nav-main {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  background: rgba(255,255,255,0.80);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  box-shadow: 0 1px 0 rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease, background 0.3s ease;
  padding: 0;
}
.nav-main.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.nav-main .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}
.nav-main .navbar-brand img {
  height: 50px;
  width: auto;
  max-height: 55px;
  display: block;
}
.nav-main .nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-main .nav-links > li > a:not(.btn-modern) {
  position: relative;
  padding: 6px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gray-600);
  border-radius: var(--radius-sm);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-main .nav-links > li > a:not(.btn-modern)::after {
  content: '';
  position: absolute;
  bottom: 1px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-main .nav-links > li > a:not(.btn-modern):hover {
  color: var(--primary);
  background: var(--gray-50);
}
.nav-main .nav-links > li > a:not(.btn-modern).active {
  color: var(--primary);
  background: var(--gray-50);
}
.nav-main .nav-links > li > a:not(.btn-modern).active::after {
  transform: scaleX(1);
}
.nav-main .nav-cta {
  margin-left: 8px;
}
.nav-main .navbar-toggler {
  padding: 8px 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  display: none;
}
.nav-main .navbar-toggler-icon {
  display: inline-block;
  width: 22px;
  height: 18px;
  background: linear-gradient(
    to bottom,
    var(--primary) 0%, var(--primary) 2px,
    transparent 2px, transparent 7px,
    var(--primary) 7px, var(--primary) 9px,
    transparent 9px, transparent 14px,
    var(--primary) 14px, var(--primary) 16px
  );
}
.nav-main .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon {
  background: linear-gradient(
    45deg,
    transparent 0%, transparent 42%,
    var(--primary) 42%, var(--primary) 46%,
    transparent 46%, transparent 54%,
    var(--primary) 54%, var(--primary) 58%,
    transparent 58%, transparent 100%
  );
}

/* ---- 7. Buttons ---- */
.btn-modern {
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 10px 24px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  text-decoration: none;
  line-height: 1.4;
  white-space: nowrap;
}
.btn-modern:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-modern.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-modern.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--primary-rgb), 0.25);
  transform: translateY(-1px);
}

.btn-modern.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-modern.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(var(--accent-rgb), 0.3);
  transform: translateY(-1px);
}

.btn-modern.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--gray-300);
}
.btn-modern.btn-outline:hover {
  border-color: var(--primary);
  background: var(--gray-50);
  transform: translateY(-1px);
}



.btn-modern.btn-ghost {
  background: transparent;
  color: var(--gray-600);
  border-color: transparent;
}
.btn-modern.btn-ghost:hover {
  background: var(--gray-100);
  color: var(--primary);
}
.btn-modern.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-modern.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.btn-modern.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-modern.btn-sm { padding: 6px 16px; font-size: 0.8125rem; }
.btn-modern:disabled { opacity: 0.5; pointer-events: none; }

/* ---- 8. Hero ---- */
.hero {
  position: relative;
  padding: 140px 0 80px;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(180deg, var(--gray-50) 0%, var(--white) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  color: var(--primary);
}
.hero p {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 40px; }
.hero-stats dt { font-size: 1.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.hero-stats dd { font-size: 0.8125rem; color: var(--gray-500); margin: 0; }
.hero-image {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  width: 100%;
}
.hero-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- 9. Cards ---- */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all 0.3s ease;
}
.card-hover:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-300);
  transform: translateY(-2px);
}
.card-body { padding: 24px; display: flex; flex-direction: column; }
.card-body p { flex: 1; }
.card-icon {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 1.25rem;
  margin-bottom: 16px;
  background: var(--accent-lighter);
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.card-hover:hover .card-icon {
  background: var(--accent);
  color: var(--white);
}

/* Service Card */
.service-card { padding: 32px; height: 100%; }

/* Portfolio Card */
.portfolio-card { overflow: hidden; height: 100%; }
.portfolio-card .card-img {
  display: block;
  width: 80%;
  max-width: 280px;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 20px auto 0;
  transition: transform 0.5s ease;
}
.portfolio-card:hover .card-img { transform: scale(1.05); }

/* Team Card */
.team-card { text-align: center; padding: 32px 20px; height: 100%; }
.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gray-400);
  overflow: hidden;
  transition: all 0.3s ease;
}
.team-card:hover .team-avatar {
  box-shadow: 0 0 0 3px var(--accent);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* Testimonial Card */
.testimonial-card { padding: 32px; height: 100%; }
.testimonial-card .stars { color: #f59e0b; font-size: 0.875rem; margin-bottom: 16px; }
.testimonial-card blockquote {
  font-style: italic;
  color: var(--gray-600);
  line-height: 1.75;
  margin: 0 0 20px;
}

/* Blog Card */
.blog-card { overflow: hidden; height: 100%; }
.blog-card .blog-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.blog-card .card-body { padding: 20px; }

/* ---- 10. Tech Badge ---- */
.tech-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: all 0.25s ease;
}
.tech-badge:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-lighter);
}

/* ---- 11. Process ---- */
.process-item {
  display: flex;
  gap: 20px;
  padding-bottom: 32px;
  position: relative;
}
.process-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 19px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}
.process-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-lighter);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.process-content { flex: 1; }

/* ---- 12. FAQ ---- */
.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  background: var(--white);
}
.faq-q {
  width: 100%;
  padding: 18px 20px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary);
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--transition);
}
.faq-q:hover { background: var(--gray-50); }
.faq-q::after {
  content: '+';
  font-size: 1.25rem;
  color: var(--gray-400);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  line-height: 1;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 20px 18px;
}
.faq-a p { margin: 0; font-size: 0.9375rem; color: var(--gray-500); }

/* ---- 13. Forms ---- */
.form-input {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 0.9375rem;
  color: var(--primary);
  background: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  line-height: 1.5;
}
.form-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-lighter);
}
.form-input::placeholder { color: var(--gray-400); }
textarea.form-input { min-height: 120px; resize: vertical; }

/* ---- 14. CTA ---- */
.cta-section {
  background: #385270;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 500px at 30% 50%, rgba(70,103,140,0.2) 0%, transparent 70%),
              radial-gradient(circle 400px at 80% 50%, rgba(70,103,140,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.cta-section h2 { color: var(--white); }
.cta-section p { color: rgba(255,255,255,0.7); }

/* ---- 15. Breadcrumb ---- */
.breadcrumb-modern {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  padding: 0;
  margin: 0 0 12px;
  list-style: none;
  font-size: 0.8125rem;
}
.breadcrumb-modern li + li::before {
  content: '/';
  margin-right: 6px;
  color: var(--gray-300);
}
.breadcrumb-modern a { color: var(--accent); font-weight: 500; }
.breadcrumb-modern .active { color: var(--gray-500); }

/* ---- 16. Page Header ---- */
.page-header {
  padding: 80px 0 48px;
  /* padding: 120px 0 48px; */
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
}

/* ---- 17. Footer ---- */
.footer {
  background: #385270;
  color: rgba(255,255,255,0.65);
  padding: 30px 0 0;
}
.footer h5, .footer h6 {
  color: var(--white);
  font-weight: 600;
  margin-bottom: 20px;
  font-size: 0.9375rem;
  letter-spacing: 0;
}
.footer a { color: rgba(255,255,255,0.65); transition: color var(--transition); }
.footer a:hover { color: var(--white); }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { font-size: 0.875rem; display: inline-flex; align-items: center; gap: 8px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.65);
  font-size: 0.875rem;
  transition: all 0.25s ease;
}
.footer-social a:hover {
  background: var(--accent);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  margin-top: 48px;
  font-size: 0.8125rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- 18. Modal ---- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal-overlay img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 6px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.6;
  transition: opacity var(--transition);
  line-height: 1;
}
.modal-close:hover { opacity: 1; }

/* ---- 19. Gallery ---- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 12px;
}
.gallery-grid .gallery-item {
  cursor: pointer;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  transition: all 0.3s ease;
}
.gallery-grid .gallery-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}
.gallery-grid .gallery-item img {
  width: 100%;
  aspect-ratio: 9/16;
  object-fit: cover;
  display: block;
}
.gallery-grid .gallery-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 8px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--white);
  font-size: 0.6875rem;
  text-align: center;
}

/* ---- 20. Phone Mockup (slider) ---- */
.phone-mock {
  max-width: 200px;
  margin: 0 auto;
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid var(--gray-200);
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}
.phone-mock .screen-track {
  display: flex;
  transition: transform 0.8s ease;
}
.phone-mock .screen-track .mock {
  width: 100%;
  flex-shrink: 0;
  display: block;
}

/* ---- 21. Feedback Slider ---- */
.feedback-slider {
  position: relative;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
}
.feedback-track {
  display: flex;
  transition: transform 0.5s ease;
}
.feedback-slide {
  flex: 0 0 100%;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.feedback-slide.active { opacity: 1; }

/* ---- 22. Star Rating (form) ---- */
.star-rating {
  direction: rtl;
  display: inline-flex;
  gap: 4px;
}
.star-rating input { display: none; }
.star-rating label {
  cursor: pointer;
  font-size: 1.5rem;
  color: var(--gray-300);
  transition: color var(--transition);
}
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label { color: #f59e0b; }

/* ---- 23. Utilities ---- */
.gap-2 { gap: 8px; }
.gap-3 { gap: 16px; }
.gap-4 { gap: 24px; }
.mb-1 { margin-bottom: 4px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 24px; }
.mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }
.mt-4 { margin-top: 24px; }
.mt-5 { margin-top: 32px; }
.p-3 { padding: 16px; }
.p-4 { padding: 24px; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.h-100 { height: 100%; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.flex-shrink-0 { flex-shrink: 0; }
.position-relative { position: relative; }
.overflow-hidden { overflow: hidden; }
.border-top { border-top: 1px solid var(--gray-200); }
.border-bottom { border-bottom: 1px solid var(--gray-200); }
.rounded { border-radius: var(--radius); }

/* ---- 24. Accessibility ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  transition: top var(--transition);
}
.skip-link:focus { top: 0; }

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

/* ------====
   26. Responsive Media Queries
   ------==== */

@media (max-width: 991.98px) {
  .section { padding: 54px 0; }
  .section-head { margin-bottom: 36px; }
  .hero { padding: 120px 0 64px; min-height: auto; }
  .hero-stats { gap: 28px; }
  .hero-image { margin-top: 40px; }
  .page-header { padding: 80px 0 36px; }
  .nav-main .nav-links { gap: 0; flex-direction: column; width: 100%; padding: 12px 0 16px; }
  .nav-main .nav-links > li > a:not(.btn-modern) { width: 100%; padding: 10px 14px; }
  .nav-main .nav-links > li > a:not(.btn-modern)::after { display: none; }
  .nav-main .nav-links > li > a:not(.btn-modern).active { background: var(--accent-lighter); color: var(--accent); }
  .nav-main .nav-cta { margin-left: 0; margin-top: 4px; }
  .nav-main .nav-inner { min-height: 56px; flex-wrap: wrap; }
  .nav-main .navbar-toggler { display: block; }
  .nav-main .navbar-collapse { order: 3; }
}

@media (max-width: 767.98px) {
  .section { padding: 48px 0; }
  .hero { padding: 100px 0 48px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }
  .hero-stats dt { font-size: 1.25rem; }
  .cta-section { padding: 56px 0; }
  .footer { padding: 20px 0 0; }
  .footer-bottom { margin-top: 12px; }
  .service-card { padding: 24px; }
  .process-item { gap: 16px; }
  .process-item:not(:last-child)::before { left: 17px; }
  .process-num { width: 36px; height: 36px; font-size: 0.8125rem; }
}

@media (max-width: 575.98px) {
  .hero { padding: 88px 0 40px; }
  .hero h1 { font-size: 1.75rem; }
  .hero p { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .btn-modern.btn-lg { padding: 12px 24px; font-size: 0.9375rem; }
  .nav-main .nav-inner { min-height: 24px; }
  .nav-main .navbar-brand img { height: 22px; }
  .section-head { margin-bottom: 28px; }
  .phone-mock { max-width: 160px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- 25. Auth Pages ---- */
.login-bg {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2f7 100%);
  padding: 24px;
}
.auth-card {
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.04);
  animation: authFadeIn 0.4s ease;
}
@keyframes authFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.auth-card .auth-logo {
  display: block;
  margin: 0 auto 20px;
  height: 36px;
  width: auto;
}
.auth-card h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}
.auth-card .auth-sub {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 28px;
}
.auth-card .form-floating > .form-control:focus {
  border-color: #385270;
  box-shadow: 0 0 0 3px rgba(56,82,112,0.12);
}
.auth-card .form-floating > label {
  color: var(--gray-500);
  font-size: 0.875rem;
}
.auth-card .btn-auth {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 24px;
  font-size: 0.9375rem;
  font-weight: 600;
  font-family: var(--font);
  border: none;
  border-radius: 10px;
  background: #385270;
  color: var(--white);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
}
.auth-card .btn-auth:hover {
  background: #2d4460;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(56,82,112,0.3);
}
.auth-card .btn-auth:active {
  transform: translateY(0);
}
.auth-card .auth-link {
  color: #385270;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.auth-card .auth-link:hover {
  color: #2d4460;
  text-decoration: underline;
}
.auth-card .auth-footer {
  text-align: center;
  margin-top: 24px;
  font-size: 0.875rem;
  color: var(--gray-500);
}
.auth-card .auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--gray-400);
  font-size: 0.8125rem;
}
.auth-card .auth-divider::before,
.auth-card .auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}
.auth-card .form-check-input:checked {
  background-color: #385270;
  border-color: #385270;
}
.auth-card .form-check-label {
  font-size: 0.875rem;
  color: var(--gray-600);
}
.auth-card .eye-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  color: var(--gray-400);
  cursor: pointer;
  font-size: 1rem;
  z-index: 5;
  transition: color 0.2s ease;
}
.auth-card .eye-toggle:hover {
  color: #385270;
}
.auth-card .alert {
  font-size: 0.8125rem;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  border: none;
}
.auth-card .alert-danger {
  background: #fef2f2;
  color: #b91c1c;
}
.auth-card .alert-success {
  background: #f0fdf4;
  color: #166534;
}
