/* ===================================================================
   SuiteGyan ERP Advisors Brand Stylesheet
   Palette: Navy #0F172A | Slate #1E293B | Teal #14B8A6 | White #F8FAFC
   =================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Source+Sans+3:ital,wght@0,300;0,400;0,500;0,600;1,400&display=swap');

:root {
  --navy: #0F172A;
  --navy-light: #1E293B;
  --navy-mid: #334155;
  --teal: #14B8A6;
  --teal-dark: #0D9488;
  --teal-glow: #2DD4BF;
  --white: #F8FAFC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-300: #CBD5E1;
  --gray-400: #94A3B8;
  --gray-500: #64748B;
  --gray-600: #475569;
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Source Sans 3', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; transition: color 0.3s; }
ul { list-style: none; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { max-width: 68ch; }

.text-teal { color: var(--teal); }
.text-gray { color: var(--gray-500); }
.text-white { color: var(--white); }

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

.section {
  padding: 6rem 0;
}

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

.section-gray {
  background: var(--gray-100);
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav.scrolled {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.6rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-logo img {
  height: 42px;
  width: auto;
  display: block;
  transition: height 0.3s;
}

.nav.scrolled .nav-logo img {
  height: 36px;
}

.footer .nav-logo img {
  height: 36px;
}

.nav-logo .logo-accent {
  color: var(--teal);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--gray-300);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  position: relative;
  transition: color 0.3s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal);
  transition: width 0.3s;
}

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

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

.nav-cta {
  background: var(--teal) !important;
  color: var(--navy) !important;
  padding: 0.55rem 1.3rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background 0.3s, transform 0.2s !important;
}

.nav-cta:hover {
  background: var(--teal-glow) !important;
  transform: translateY(-1px);
}

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

/* Mobile menu */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

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

/* === Utility: 2-col grids used across pages === */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.grid-2col-contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
}

.grid-2col-services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.grid-2col-services:last-child {
  margin-bottom: 0;
}

.order-first-desktop {
  order: -1;
}

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

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.05) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(20, 184, 166, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(20, 184, 166, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.1);
  border: 1px solid rgba(20, 184, 166, 0.25);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--teal), var(--teal-glow));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  color: var(--gray-400);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

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

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.btn-primary:hover {
  background: var(--teal-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(20, 184, 166, 0.3);
}

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

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
}

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

.btn-outline-dark:hover {
  border-color: var(--teal);
  color: var(--teal);
}

/* === Stats Strip === */
.stats-strip {
  background: var(--navy-light);
  padding: 3rem 0;
  border-top: 1px solid rgba(20, 184, 166, 0.1);
  border-bottom: 1px solid rgba(20, 184, 166, 0.1);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item .stat-number {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.stat-item .stat-number-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.1;
  margin-bottom: 0.3rem;
  letter-spacing: -0.01em;
}

.stat-item .stat-label {
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

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

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2.2rem;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-glow));
  transform: scaleX(0);
  transition: transform 0.4s;
  transform-origin: left;
}

.card:hover {
  border-color: rgba(20, 184, 166, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

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

.card-icon {
  width: 48px;
  height: 48px;
  background: rgba(20, 184, 166, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  color: var(--teal);
}

.card h3 {
  margin-bottom: 0.8rem;
}

.card p {
  color: var(--gray-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* Dark cards */
.card-dark {
  background: var(--navy-light);
  border-color: var(--navy-mid);
}

.card-dark:hover {
  border-color: rgba(20, 184, 166, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.card-dark h3 { color: var(--white); }
.card-dark p { color: var(--gray-400); }

/* === Section Headers === */
.section-header {
  max-width: 600px;
  margin-bottom: 3.5rem;
}

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

.section-eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.8rem;
}

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

.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
}

.section-dark .section-header p {
  color: var(--gray-400);
}

/* === Testimonials === */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 3rem;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--gray-600);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-info .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial-info .role {
  color: var(--gray-400);
  font-size: 0.8rem;
}

/* === Process / Timeline === */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  counter-reset: process;
}

.process-step {
  text-align: center;
  padding: 1.5rem;
  counter-increment: process;
  position: relative;
}

.process-step::before {
  content: counter(process, decimal-leading-zero);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 800;
  color: rgba(20, 184, 166, 0.15);
  display: block;
  margin-bottom: 0.8rem;
  line-height: 1;
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.process-step p {
  color: var(--gray-500);
  font-size: 0.9rem;
  margin: 0 auto;
}

/* === Case Study Cards === */
.case-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s;
}

.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.case-card-header {
  background: var(--navy);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.case-card-header::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.15), transparent 70%);
  border-radius: 50%;
}

.case-tag {
  display: inline-block;
  background: rgba(20, 184, 166, 0.15);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  margin-bottom: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-card-header h3 {
  color: var(--white);
  font-size: 1.2rem;
}

.case-card-body {
  padding: 2rem;
}

.case-card-body p {
  color: var(--gray-500);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.case-metrics {
  display: flex;
  gap: 1.5rem;
}

.case-metric .metric-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--teal);
}

.case-metric .metric-label {
  font-size: 0.75rem;
  color: var(--gray-400);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* === Blog Cards === */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s;
}

.blog-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.blog-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.blog-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.05), rgba(20, 184, 166, 0.12));
}

.blog-card-content {
  padding: 1.8rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 0.8rem;
}

.blog-card-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.blog-card:hover h3 {
  color: var(--teal);
}

.blog-card-content p {
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* === CTA Banner === */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 16px;
  padding: 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.1), transparent 70%);
  border-radius: 50%;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-banner p {
  color: var(--gray-400);
  margin: 0 auto 2rem;
  font-size: 1.1rem;
  position: relative;
}

/* === Footer === */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(20, 184, 166, 0.1);
}

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

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.7;
}

.footer h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 1.2rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-size: 0.9rem;
  transition: color 0.3s;
}

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

.footer-bottom {
  border-top: 1px solid var(--navy-mid);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a:hover { color: var(--teal); }

/* === Certifications === */
.cert-badges {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.cert-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(20, 184, 166, 0.08);
  border: 1px solid rgba(20, 184, 166, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--teal);
}

/* === Page Headers (inner pages) === */
.page-header {
  background: var(--navy);
  padding: 10rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.06), transparent 70%);
  border-radius: 50%;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.page-header p {
  color: var(--gray-400);
  font-size: 1.15rem;
}

/* === Contact Form === */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

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

.form-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

/* === Blog Article === */
.article {
  max-width: 740px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--gray-400);
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--gray-200);
}

.article h2 {
  font-size: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.article h3 {
  font-size: 1.2rem;
  margin: 2rem 0 0.8rem;
}

.article p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.2rem;
  max-width: 100%;
}

.article ul, .article ol {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.article li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

.article ol li {
  list-style: decimal;
}

.article blockquote {
  border-left: 3px solid var(--teal);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--gray-100);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--gray-600);
}

.article code {
  background: var(--gray-100);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.9em;
  font-family: 'Courier New', monospace;
}

.article pre {
  background: var(--navy);
  color: var(--gray-300);
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}

.article pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.article-cta {
  margin-top: 3rem;
  padding: 2rem;
  background: var(--gray-100);
  border-radius: 12px;
  text-align: center;
}

.article-cta p {
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 1rem;
}

/* === Scroll Animations === */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* === Responsive === */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .cta-banner {
    padding: 3rem 2rem;
  }
  .grid-2col,
  .grid-2col-services {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .grid-2col-contact {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .order-first-desktop {
    order: 0;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1.2rem;
  }
  .nav-toggle {
    display: block;
    z-index: 1001;
  }
  .hero {
    padding-top: 4rem;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }
  .section {
    padding: 4rem 0;
  }
  .page-header {
    padding: 8rem 0 3rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
  .form-two-col {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .case-metrics {
    flex-direction: column;
    gap: 0.8rem;
  }
  .cert-badges {
    flex-direction: column;
    align-items: flex-start;
  }
}
