/**
 * DXTECH Homepage - Custom CSS
 * Design: Bold & Precise — DXTECH Red (#E8001B) + Dark Navy (#0A0F1E)
 * Colors: Red #E8001B, Dark Navy #0A0F1E, Charcoal #111827
 * Fonts: DM Sans (headings/UI) + Noto Sans KR (Korean body text)
 */

/* ===== CSS VARIABLES ===== */
:root {
  --color-red: #E8001B;
  --color-red-dark: #C0001A;
  --color-navy: #0A0F1E;
  --color-charcoal: #111827;
  --color-gray-dark: #1F2937;
  --color-gray-mid: #374151;
  --color-gray: #6B7280;
  --color-gray-light: #9CA3AF;
  --color-border: #E5E7EB;
  --color-bg-light: #F9FAFB;
  --color-white: #ffffff;
  --font-heading: 'DM Sans', 'Noto Sans KR', sans-serif;
  --font-body: 'DM Sans', 'Noto Sans KR', sans-serif;
  --transition: all 0.25s ease;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.14);
  --radius: 8px;
  --radius-lg: 12px;
}

/* ===== BASE STYLES ===== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  line-height: 1.7;
  overflow-x: hidden;
  font-size: 0.9375rem;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

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

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

/* ===== NAVBAR ===== */
#mainNav {
  background: transparent;
  padding: 1.125rem 0;
  transition: var(--transition);
  z-index: 1000;
}

#mainNav.scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

#mainNav.scrolled .navbar-brand img.logo-white { display: none; }
#mainNav.scrolled .navbar-brand img.logo-black { display: block; }
#mainNav:not(.scrolled) .navbar-brand img.logo-white { display: block; }
#mainNav:not(.scrolled) .navbar-brand img.logo-black { display: none; }

.navbar-brand img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

#mainNav.scrolled .navbar-nav .nav-link {
  color: var(--color-gray-dark) !important;
}

#mainNav.scrolled .navbar-nav .nav-link:hover,
#mainNav.scrolled .navbar-nav .nav-link.active {
  color: var(--color-red) !important;
}

#mainNav.scrolled .navbar-toggler-icon {
  filter: invert(1) sepia(1) saturate(5) hue-rotate(330deg);
}

.navbar-nav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.88) !important;
  padding: 0.5rem 0.875rem !important;
  letter-spacing: 0.01em;
  transition: var(--transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--color-red) !important;
}

.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.875rem;
  right: 0.875rem;
  height: 2px;
  background: var(--color-red);
}

.dropdown-menu.dropdown-menu-custom {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.5rem;
  min-width: 230px;
}

.dropdown-menu.dropdown-menu-custom .dropdown-item {
  color: var(--color-gray-mid);
  padding: 0.625rem 1rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  font-weight: 500;
  transition: var(--transition);
}

.dropdown-menu.dropdown-menu-custom .dropdown-item:hover {
  background: rgba(232,0,27,0.06);
  color: var(--color-red);
}

/* ===== BUTTONS ===== */
.btn-primary-custom {
  background: var(--color-red);
  color: var(--color-white) !important;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.5rem;
  transition: var(--transition);
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
}

.btn-primary-custom:hover {
  background: var(--color-red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(232,0,27,0.25);
}

.btn-outline-custom {
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--color-white) !important;
  background: transparent;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.5rem;
  transition: var(--transition);
  font-family: var(--font-heading);
}

.btn-outline-custom:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.8);
  transform: translateY(-1px);
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-navy);
}

.hero-bg-full {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay-full {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10,15,30,0.92) 0%,
    rgba(10,15,30,0.80) 40%,
    rgba(10,15,30,0.45) 70%,
    rgba(10,15,30,0.25) 100%
  );
  z-index: 0;
}

.hero-overlay-subtle {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at 75% 50%,
    rgba(232,0,27,0.06) 0%,
    transparent 60%
  );
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 80px;
}

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1.25rem;
}

.hero-tagline::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 2px;
  background: var(--color-red);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--color-white);
  line-height: 1.0;
  margin-bottom: 1.5rem;
  letter-spacing: -0.04em;
}

.text-red { color: var(--color-red) !important; }

.hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2rem;
  line-height: 1.85;
}

.hero-journey {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.journey-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--color-white);
  padding: 0.4rem 0.875rem;
  border-radius: 4px;
  font-size: 0.825rem;
  font-weight: 600;
  transition: var(--transition);
}

.journey-step:hover {
  background: rgba(232,0,27,0.15);
  border-color: rgba(232,0,27,0.4);
}

.journey-arrow {
  color: rgba(255,255,255,0.3);
  font-size: 0.875rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(232,0,27,0.6), transparent);
  animation: scrollPulse 1.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ===== SECTION STYLES ===== */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-red);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--color-red);
  flex-shrink: 0;
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 900;
  color: var(--color-charcoal);
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.section-title.light {
  color: var(--color-white);
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--color-gray);
  line-height: 1.8;
  max-width: 600px;
}

.section-subtitle.light {
  color: rgba(255,255,255,0.55);
}

/* ===== PIPELINE / JOURNEY SECTION ===== */
.pipeline-section {
  background: var(--color-white);
  padding: 6rem 0;
}

.pipeline-step {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  transition: var(--transition);
  height: 100%;
}

.pipeline-step:hover {
  border-color: rgba(232,0,27,0.2);
  box-shadow: 0 12px 32px rgba(232,0,27,0.07);
  transform: translateY(-3px);
}

.pipeline-step-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.pipeline-step-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,0,27,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.pipeline-step h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  color: var(--color-charcoal);
}

.pipeline-step p {
  font-size: 0.875rem;
  color: var(--color-gray);
  line-height: 1.75;
  margin: 0;
}

.pipeline-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0.25rem;
  color: var(--color-red);
  font-size: 1.5rem;
  flex-shrink: 0;
}

/* ===== SOLUTION CARDS ===== */
.solution-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}

.solution-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(232,0,27,0.2);
  transform: translateY(-4px);
}

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

.solution-card-header::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-red);
}

.solution-card-body {
  padding: 1.75rem;
}

.solution-tag {
  display: inline-block;
  background: rgba(232,0,27,0.08);
  color: var(--color-red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

/* ===== STATS ===== */
.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-red);
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 0.375rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--color-gray-light);
  font-weight: 500;
}

/* ===== DARK SECTION ===== */
.section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-dark .section-title { color: var(--color-white); }
.section-dark .section-subtitle { color: rgba(255,255,255,0.55); }

/* ===== CASE STUDY CARDS ===== */
.case-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.case-card:hover {
  box-shadow: 0 12px 32px rgba(232,0,27,0.08);
  border-color: rgba(232,0,27,0.2);
  transform: translateY(-3px);
}

.case-card-header {
  background: var(--color-bg-light);
  border-bottom: 1px solid var(--color-border);
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.case-badge {
  display: inline-block;
  background: rgba(232,0,27,0.08);
  color: var(--color-red);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 3px;
}

.case-solution-tag {
  background: rgba(232,0,27,0.08);
  color: var(--color-red);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

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

.case-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--color-gray-light);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.4rem;
}

.case-result-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  color: var(--color-charcoal);
}

.case-result-dot {
  width: 5px;
  height: 5px;
  background: var(--color-red);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ===== FAQ ===== */
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 0.75rem;
}

.faq-item.open {
  border-color: rgba(232,0,27,0.25);
}

.faq-question {
  width: 100%;
  padding: 1.125rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-charcoal);
  line-height: 1.6;
  transition: var(--transition);
}

.faq-question:hover { background: var(--color-bg-light); }

.faq-icon {
  color: var(--color-red);
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.25s;
}

.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  border-top: 1px solid var(--color-bg-light);
  font-size: 0.875rem;
  color: var(--color-gray);
  line-height: 1.85;
}

.faq-answer.show { display: block; }

.faq-category-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.faq-category-bar {
  width: 4px;
  height: 20px;
  background: var(--color-red);
  border-radius: 2px;
}

.faq-category-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-charcoal);
  letter-spacing: -0.01em;
}

/* ===== CONTACT FORM ===== */
.form-control-custom {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-white);
  outline: none;
  transition: border-color 0.2s;
}

.form-control-custom:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(232,0,27,0.08);
}

.form-label-custom {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-gray-mid);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== CONTACT INFO ===== */
.contact-info-icon {
  width: 36px;
  height: 36px;
  background: rgba(232,0,27,0.08);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-solution-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-red);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.625rem;
}

/* ===== CONTACT SECTION SPACING ===== */
.contact-section {
  padding: 5rem 0 4rem;
}

/* ===== PAGE HERO ===== */
.page-hero {
  background: var(--color-navy);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(232,0,27,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero[style*="background-image"]::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  pointer-events: none;
  z-index: 0;
}

.page-hero[style*="background-image"] .page-hero-content {
  position: relative;
  z-index: 1;
}

.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.5rem;
}

.breadcrumb-custom a {
  color: rgba(255,255,255,0.4);
}

.breadcrumb-custom a:hover {
  color: rgba(255,255,255,0.8);
}

.breadcrumb-custom .current {
  color: rgba(255,255,255,0.8);
}

.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.page-hero p {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
}

/* ===== ABOUT PAGE ===== */
.value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(232,0,27,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.value-icon {
  width: 48px;
  height: 48px;
  background: rgba(232,0,27,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.375rem;
  margin-bottom: 1rem;
}

.team-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition: var(--transition);
}

.team-card:hover {
  border-color: rgba(232,0,27,0.2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.team-avatar {
  width: 72px;
  height: 72px;
  background: rgba(232,0,27,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  background: var(--color-white);
  color: var(--color-gray);
  border: 1px solid var(--color-border);
  padding: 0.375rem 1rem;
  border-radius: 4px;
  font-size: 0.825rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

/* ===== CTA SECTION ===== */
.cta-section {
  background: var(--color-navy);
  padding: 5rem 0;
  text-align: center;
}

/* ===== FOOTER ===== */
footer {
  background: var(--color-navy);
  color: rgba(255,255,255,0.65);
  font-family: var(--font-body);
}

.footer-logo img {
  height: 28px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-tagline {
  color: var(--color-red);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.footer-desc {
  font-size: 0.825rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1.25rem;
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.5);
  padding: 0.2rem 0;
  transition: var(--transition);
}

.footer-link:hover {
  color: var(--color-red);
}

.footer-divider {
  border-color: rgba(255,255,255,0.08);
  margin: 0;
}

.footer-bottom {
  padding: 1.25rem 0;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}

/* ===== REVEAL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.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; }

/* ===== HERO ANIMATIONS ===== */
.animate-fade-up {
  animation: fadeUp 0.8s ease forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(255,255,255,0.98);
    border-top: 1px solid var(--color-border);
    padding: 1rem 1.5rem 1.5rem;
    margin-top: 0.5rem;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow-lg);
  }

  .navbar-collapse .nav-link {
    color: var(--color-gray-dark) !important;
    border-bottom: 1px solid var(--color-bg-light);
    padding: 0.75rem 0 !important;
  }

  .navbar-collapse .nav-link:hover,
  .navbar-collapse .nav-link.active {
    color: var(--color-red) !important;
  }

  .navbar-collapse .btn-primary-custom {
    display: block;
    text-align: center;
    margin-top: 0.5rem;
  }

  .pipeline-connector { display: none; }

  .hero-section .row {
    min-height: auto !important;
    padding-top: 6rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    padding-top: 40px;
  }

  .hero-overlay-full {
    background: linear-gradient(
      180deg,
      rgba(10,15,30,0.90) 0%,
      rgba(10,15,30,0.75) 50%,
      rgba(10,15,30,0.50) 100%
    );
  }

  .hero-bg-full {
    background-position: center right;
  }

  /* Contact section */
  .contact-section {
    padding: 3rem 0;
  }

  .contact-info-card,
  .contact-form-card {
    padding: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title { font-size: clamp(2.25rem, 9vw, 3rem); }
  .section-title { font-size: clamp(1.5rem, 6vw, 2rem); }

  .hero-section {
    min-height: auto;
  }

  .hero-section .row {
    min-height: auto !important;
    padding-top: 5rem;
    padding-bottom: 2rem;
  }

  .hero-desc {
    font-size: 0.9rem;
  }

  .hero-journey {
    gap: 0.4rem;
  }

  .journey-step {
    font-size: 0.75rem;
    padding: 0.3rem 0.625rem;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .hero-overlay-full {
    background: linear-gradient(
      180deg,
      rgba(10,15,30,0.92) 0%,
      rgba(10,15,30,0.82) 50%,
      rgba(10,15,30,0.60) 100%
    );
  }

  .hero-bg-full {
    background-position: 70% center;
  }

  /* Pipeline section mobile */
  .pipeline-section {
    padding: 3rem 0;
  }

  .pipeline-step {
    padding: 1.5rem;
  }

  /* Stats section mobile */
  .stat-number {
    font-size: 1.75rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  /* Solution cards mobile */
  .solution-card-header {
    padding: 1.5rem;
  }

  .solution-card-body {
    padding: 1.25rem;
  }

  /* CTA section mobile */
  .cta-section {
    padding: 3rem 0;
  }

  /* Page hero mobile */
  .page-hero {
    padding: 6rem 0 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  /* About spotlight cards */
  .spotlight-card img,
  .cert-img-card img {
    height: 180px;
  }

  /* Case study cards */
  .case-detail-card {
    padding: 1.5rem !important;
  }

  /* Contact map */
  .contact-section iframe {
    height: 280px !important;
  }

  /* Footer mobile */
  footer .row {
    gap: 0;
  }

  .footer-logo img {
    height: 24px;
  }

  .footer-bottom {
    text-align: center;
    font-size: 0.7rem;
  }
}

/* ===== CASE STUDIES CARDS ===== */
.case-detail-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: box-shadow 0.3s ease;
}
.case-detail-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.case-detail-card:last-child {
  margin-bottom: 0;
}
.case-industry-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}
.tag-semiconductor {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
}
.tag-steel {
  background: rgba(8,145,178,0.1);
  color: #0891b2;
}
.tag-chemical {
  background: rgba(5,150,105,0.1);
  color: #059669;
}
.challenge-box,
.result-box {
  background: #f8fafc;
  border-radius: 10px;
  padding: 1.25rem;
  height: 100%;
}
.challenge-box h6,
.result-box h6 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e293b;
}
.challenge-box ul,
.result-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.challenge-box ul li,
.result-box ul li {
  font-size: 0.85rem;
  color: #475569;
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}
.challenge-box ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #94a3b8;
}
.result-box ul li::before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: #059669;
}
.result-box {
  background: #f0fdf4;
}
.case-detail-card .col-lg-4 .rounded-3 {
  border-radius: 12px !important;
  min-height: 350px;
}

/* ===== UTILITY ===== */
.text-red { color: var(--color-red) !important; }
.bg-navy { background: var(--color-navy) !important; }
.border-red { border-color: var(--color-red) !important; }

.divider-red {
  width: 32px;
  height: 2px;
  background: var(--color-red);
  margin-bottom: 0.5rem;
}

/* ===== CERTIFICATION IMAGE CARDS ===== */
.cert-img-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  transition: var(--transition);
  height: 100%;
}
.cert-img-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.cert-img-card img {
  width: 100%;
  height: 220px;
  object-fit: contain;
  padding: 12px;
  background: #fafafa;
}
.cert-img-label {
  padding: 10px 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0;
  border-top: 1px solid var(--color-border);
}

/* ===== CASE STUDY IMAGE CARDS ===== */
.case-img-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.case-img-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.case-img-card .case-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.case-img-card .case-body {
  padding: 1.25rem;
}
