/* ==========================================================================
   TERRAUNO TECHNOLOGIES - EXECUTIVE CLEAN & SPACIOUS DESIGN SYSTEM
   ========================================================================== */

:root {
  /* Color Tokens */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-pill: #F1F5F9;
  --bg-dark-card: #090D16;
  
  --text-primary: #090D16;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;
  
  --accent-primary: #090D16; /* Executive Black Pill */
  --accent-hover: #1E293B;
  --accent-blue: #2563EB;
  --accent-blue-light: #EFF6FF;
  --accent-green: #10B981;
  --accent-green-light: #ECFDF5;

  --border-light: #E2E8F0;
  --border-subtle: #F1F5F9;
  --border-focus: #090D16;
  
  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  
  /* Elevation & Radius */
  --radius-pill: 9999px;
  --radius-card: 20px;
  --radius-sm: 10px;
  
  --shadow-subtle: 0 4px 20px -2px rgba(0, 0, 0, 0.03), 0 2px 6px -1px rgba(0, 0, 0, 0.02);
  --shadow-floating: 0 20px 40px -15px rgba(0, 0, 0, 0.06), 0 0 0 1px rgba(0, 0, 0, 0.04);
  --shadow-hover: 0 25px 50px -12px rgba(0, 0, 0, 0.08);

  /* Transition timings */
  --ease-out-cubic: cubic-bezier(0.33, 1, 0.68, 1);
  --transition-fast: 0.2s var(--ease-out-cubic);
  --transition-normal: 0.4s var(--ease-out-cubic);
  --transition-slow: 0.8s var(--ease-out-cubic);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

p + p {
  margin-top: 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

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

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

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s var(--ease-out-cubic), transform 0.7s var(--ease-out-cubic);
  will-change: opacity, transform;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

/* Buttons & Pills */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.85rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--accent-primary);
  color: var(--text-inverse);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: var(--bg-pill);
  color: var(--text-primary);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background-color: #E2E8F0;
  color: var(--text-primary);
  transform: translateY(-1px);
}

.badge-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.15rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-pill);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.badge-trust .star-icon {
  color: #F59E0B;
}

/* FLOATING NAVIGATION HEADER (SPACIOUS & ELEGANT) */
.header-wrapper {
  position: fixed;
  top: 1.25rem;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 0 1.5rem;
}

.navbar-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1140px;
  padding: 0.75rem 2rem;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(226, 232, 240, 0.85);
  border-radius: var(--radius-pill);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.05);
  transition: all var(--transition-fast);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.official-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

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

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  font-weight: 600;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
}

/* Mobile Navigation & Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: var(--bg-pill);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  cursor: pointer;
  padding: 0;
  transition: all var(--transition-fast);
  z-index: 1002;
  flex-shrink: 0;
}

.hamburger-btn:hover {
  background: #E2E8F0;
}

.hamburger-line {
  width: 18px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-cta-item {
  display: none;
}

/* HERO SECTION */
.section-hero {
  padding-top: 10.5rem;
  padding-bottom: 5.5rem;
  text-align: center;
  position: relative;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.03) 0%, transparent 60%);
}

.hero-content {
  max-width: 880px;
  margin: 0 auto 4rem;
}

.hero-title {
  font-size: clamp(2.35rem, 5vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.22;
  color: var(--text-primary);
  margin-bottom: 1.75rem;
}

.hero-subtitle {
  font-size: clamp(1.025rem, 1.8vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 760px;
  margin: 0 auto 2.75rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* HERO VISUAL CONTAINER */
.hero-visual-wrapper {
  position: relative;
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 24px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-floating);
  overflow: hidden;
}

.hero-image-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 560px;
  border-radius: 16px;
  overflow: hidden;
  background: #090D16;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
}

.hero-gradient-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 13, 22, 0) 0%, rgba(9, 13, 22, 0.12) 100%);
  pointer-events: none;
}

/* FLOATING MICRO-UI WIDGETS */
.floating-widget {
  position: absolute;
  padding: 0.85rem 1.15rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 10;
}

.widget-left { top: 12%; left: 3%; }
.widget-right { bottom: 12%; right: 3%; }

.widget-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.icon-blue { background: var(--accent-blue-light); color: var(--accent-blue); }
.icon-green { background: var(--accent-green-light); color: var(--accent-green); }

.widget-text h4 { font-size: 0.84375rem; font-weight: 700; text-align: left; }
.widget-text p { font-size: 0.72rem; color: var(--text-muted); text-align: left; }

/* INFINITE MARQUEE TICKER */
.trusted-section {
  padding: 3.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
  background-color: var(--bg-primary);
  text-align: center;
  overflow: hidden;
}

.trusted-label {
  font-size: 0.78125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.marquee-wrapper {
  width: 100%;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  will-change: transform;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.trusted-logo-item {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  color: #334155;
}

.marquee-dot { color: #CBD5E1; font-size: 0.875rem; }

/* SECTIONS & SPACIOUS PADDING */
.section-padding {
  padding: 7.5rem 0;
  border-bottom: 1px solid var(--border-subtle);
}

.bg-secondary {
  background-color: var(--bg-secondary);
}

.section-header {
  max-width: 760px;
  margin: 0 auto 4rem;
  text-align: center;
}

.section-header p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.section-tag {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-blue);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  letter-spacing: -0.025em;
  line-height: 1.3;
}

/* CONTACT PAGE SPECIFIC STYLES */
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.84375rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-input {
  width: 100%;
  padding: 0.85rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 1px solid var(--border-light);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast), background var(--transition-fast);
}

.form-input:focus {
  border-color: var(--text-primary);
  background: #FFFFFF;
}

/* FAQ ACCORDION STYLES */
.faq-container {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 1.65rem 2.25rem;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.faq-item:hover {
  border-color: var(--text-primary);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--text-primary);
}

.faq-toggle {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-blue);
}

.faq-answer {
  display: none;
  margin-top: 1.15rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--border-subtle);
}

.faq-answer p {
  font-size: 0.9625rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

.faq-item.active .faq-answer {
  display: block;
}

/* SOLUTIONS PAGE & CARDS */
.solution-challenge-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  color: #92400E;
  padding: 1.15rem 1.5rem;
  border-radius: 12px;
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.65;
}

.solution-challenge-box strong { color: #78350F; }

.service-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3.5rem;
}

.service-detail-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 2.75rem 3rem;
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
}

.service-detail-card:hover {
  box-shadow: var(--shadow-floating);
  border-color: rgba(9, 13, 22, 0.25);
}

.service-card-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-icon-box {
  width: 50px;
  height: 50px;
  background: var(--bg-pill);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-primary);
  flex-shrink: 0;
}

.valsys-logo-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(230, 164, 18, 0.32);
  border: 1px solid rgba(230, 164, 18, 0.35);
  background: #E6A412;
  transition: transform var(--transition-normal);
}

.service-detail-card:hover .valsys-logo-box {
  transform: translateY(-2px) scale(1.04);
}

.minetrack-logo-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  padding: 8px;
  transition: transform var(--transition-normal);
}

.service-detail-card:hover .minetrack-logo-box {
  transform: translateY(-2px) scale(1.04);
}

.valsys-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.minetrack-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.drillcheck-logo-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #0F172A;
  border: 1px solid rgba(14, 165, 233, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2);
  padding: 6px;
  transition: transform var(--transition-normal);
}

.service-detail-card:hover .drillcheck-logo-box {
  transform: translateY(-2px) scale(1.04);
}

.drillcheck-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}


.service-card-title {
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.service-overview {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.service-body-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2rem;
}

.service-box {
  background: var(--bg-secondary);
  padding: 2rem 1.85rem;
  border-radius: 14px;
  border: 1px solid var(--border-light);
}

.service-box.bg-highlight {
  background: #FFFFFF;
  border-color: var(--border-light);
}

.service-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--border-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  line-height: 1.3;
}

.service-feature-list, .service-value-list { list-style: none; }
.service-feature-list li, .service-value-list li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  line-height: 1.65;
}

.service-feature-list li:last-child, .service-value-list li:last-child {
  margin-bottom: 0;
}

.service-feature-list li span, .check-icon {
  margin-top: 0.15rem;
  flex-shrink: 0;
  line-height: 1;
}

.service-feature-list li span { color: var(--accent-blue); font-weight: 700; }
.check-icon { color: var(--accent-green); font-weight: 700; }

.suitable-for {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.suitable-for strong { color: var(--text-primary); }

/* ABOUT & STORY LAYOUTS */
.story-split-container {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 4.5rem;
  align-items: start;
}

.story-text-column p {
  margin-bottom: 1.35rem;
  line-height: 1.8;
  font-size: 1.025rem;
}

.story-highlight {
  font-size: 1.15rem;
  color: var(--text-primary);
  line-height: 1.65 !important;
  border-left: 3px solid var(--accent-blue);
  padding-left: 1.35rem;
  margin-bottom: 1.85rem !important;
}

.story-summary-box {
  background: var(--bg-card);
  padding: 1.65rem 1.75rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  margin-top: 2rem;
}

.timeline-column {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
}

.timeline-header {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 1.75rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border-light);
  line-height: 1.3;
}

.timeline-list {
  position: relative;
  padding-left: 1.5rem;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--border-light);
}

.timeline-item { position: relative; margin-bottom: 1.5rem; }
.timeline-item:last-child { margin-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: -1.5rem;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--text-primary);
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 1px var(--text-primary);
}

.timeline-content h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 0.2rem; }
.timeline-content p { font-size: 0.84375rem; color: var(--text-secondary); }

.timeline-year {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  display: block;
  margin-bottom: 0.15rem;
}

/* Who We Are Grid */
.who-we-are-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.quote-card {
  background: var(--bg-secondary);
  padding: 1.75rem 2rem;
  border-radius: var(--radius-card);
  border-left: 4px solid var(--text-primary);
  margin-top: 2rem;
}

.quote-card p {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.65;
}

.who-image-box {
  height: 400px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-floating);
}

/* Mission & Vision Grid */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
}

.mv-card {
  background: var(--bg-card);
  padding: 2.75rem 2.25rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-normal);
}

.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-floating);
}

.mv-icon { font-size: 2.25rem; margin-bottom: 1rem; }
.mv-title {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 0.95rem;
  line-height: 1.3;
}

.mv-card p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-secondary);
}

/* Core Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.value-card {
  background: var(--bg-card);
  padding: 2.25rem 1.85rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-floating);
  border-color: var(--text-primary);
}

.value-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-pill);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1.15rem;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.value-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

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

.framework-card {
  background: var(--bg-card);
  padding: 2.25rem 1.65rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: transform var(--transition-fast);
}

.framework-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-blue);
}

.framework-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.framework-card p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.framework-step {
  font-size: 0.875rem;
  font-weight: 800;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

/* Philosophy Banner */
.philosophy-banner {
  background: var(--text-primary);
  color: var(--text-inverse);
  padding: 4.5rem 3rem;
  border-radius: 24px;
  text-align: center;
  box-shadow: var(--shadow-floating);
}

.philosophy-banner h2 {
  color: var(--text-inverse);
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}

.philosophy-main-text {
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  font-family: var(--font-heading);
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.65;
  max-width: 820px;
  margin: 0 auto 1.5rem;
}

.philosophy-sub-text {
  font-size: 1rem;
  color: #94A3B8;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.75;
}

/* UTILITY GRIDS & CARDS */
.process-flow-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.process-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  text-align: left;
  transition: transform var(--transition-fast);
}

.process-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-primary);
}

.process-step-num {
  font-size: 0.78125rem;
  font-weight: 800;
  color: var(--accent-blue);
  background: var(--accent-blue-light);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 0.85rem;
}

.process-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.process-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.three-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(9, 13, 22, 0.2);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.35;
}

.feature-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.feature-icon-wrapper {
  width: 46px;
  height: 46px;
  background: var(--bg-pill);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.capability-card, .industry-card {
  background: var(--bg-card);
  padding: 2.25rem 1.85rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-subtle);
  transition: all var(--transition-normal);
}

.capability-card:hover, .industry-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-floating);
  border-color: var(--text-primary);
}

.capability-card h3, .industry-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
  line-height: 1.35;
}

.capability-card p, .industry-card p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.capability-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.15rem;
}

.capability-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.25rem;
}

.tag-pill {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.25rem 0.65rem;
  background: var(--bg-pill);
  color: var(--text-primary);
  border-radius: var(--radius-pill);
}

.products-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.product-card:hover {
  box-shadow: var(--shadow-floating);
  border-color: rgba(9, 13, 22, 0.25);
}

.product-body {
  padding: 2.5rem 2.25rem;
}

.product-card-top-row {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.15rem;
}

.valsys-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(230, 164, 18, 0.3);
  border: 1px solid rgba(230, 164, 18, 0.35);
  background: #E6A412;
  transition: transform var(--transition-normal);
}

.product-card:hover .valsys-logo-badge {
  transform: translateY(-2px) scale(1.04);
}

.minetrack-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
  padding: 7px;
  transition: transform var(--transition-normal);
}

.product-card:hover .minetrack-logo-badge {
  transform: translateY(-2px) scale(1.04);
}

.drillcheck-logo-badge {
  width: 52px;
  height: 52px;
  border-radius: 13px;
  background: #0F172A;
  border: 1px solid rgba(14, 165, 233, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(14, 165, 233, 0.2);
  padding: 6px;
  transition: transform var(--transition-normal);
}

.product-card:hover .drillcheck-logo-badge {
  transform: translateY(-2px) scale(1.04);
}

/* Automation Callout Banner */
.automation-hire-banner {
  margin-top: 2.5rem;
  padding: 1.85rem 2.25rem;
  background: linear-gradient(135deg, #090D16 0%, #0F172A 100%);
  border: 1px solid rgba(14, 165, 233, 0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.hire-banner-content h4 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 0.45rem;
}

.hire-banner-content p {
  font-size: 0.9375rem;
  color: #94A3B8;
  line-height: 1.65;
  margin-bottom: 0;
}

.hire-banner-actions {
  flex-shrink: 0;
}


.mockup-header-icon {
  width: 17px;
  height: 17px;
  border-radius: 4px;
  object-fit: cover;
  display: inline-block;
  vertical-align: -2px;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  margin-right: 0.35rem;
}

.product-title {
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--text-primary);
  margin-bottom: 0;
}

.product-card-top-row .product-badge {
  margin-bottom: 0.35rem;
}


.product-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.product-desc strong {
  color: var(--text-primary);
}

.product-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.25rem 0.7rem;
  background: var(--accent-blue-light);
  color: var(--accent-blue);
  border-radius: var(--radius-pill);
  margin-bottom: 0.85rem;
}

.product-benefits-list {
  list-style: none;
  margin-top: 1.25rem;
  margin-bottom: 2rem;
}

.product-benefits-list li {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.8rem;
  line-height: 1.65;
}

.product-benefits-list li:last-child {
  margin-bottom: 0;
}

.product-benefits-list li span {
  margin-top: 0.15rem;
  flex-shrink: 0;
  line-height: 1;
}

/* PRODUCT UI MOCKUP WINDOW COMPONENT */
.product-ui-preview {
  margin-top: 2.25rem;
  margin-bottom: 2rem;
}

.mockup-tabs-bar {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  flex-wrap: wrap;
}

.mockup-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mockup-tab-btn:hover {
  background: var(--bg-pill);
  color: var(--text-primary);
  border-color: rgba(9, 13, 22, 0.2);
}

.mockup-tab-btn.active {
  background: var(--accent-primary);
  color: var(--text-inverse);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(9, 13, 22, 0.15);
}

.mockup-view-panel {
  display: none;
}

.mockup-view-panel.active {
  display: block;
  animation: fadeInMockup 0.35s ease;
}

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

.mockup-window {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  transition: all var(--transition-normal);
}

.mockup-window:hover {
  box-shadow: 0 25px 55px -12px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(9, 13, 22, 0.08);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-light);
  gap: 1rem;
}

.mockup-dots {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.dot-red { background-color: #EF4444; }
.dot-yellow { background-color: #F59E0B; }
.dot-green { background-color: #10B981; }

.mockup-title {
  font-size: 0.78125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #FFFFFF;
  padding: 0.3rem 0.95rem;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 480px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.mockup-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: #047857;
  background: #ECFDF5;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  border: 1px solid #A7F3D0;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent-green);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.mockup-image-frame {
  position: relative;
  background: #F8FAFC;
  overflow: hidden;
}

.mockup-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out-cubic);
}

.mockup-window:hover .mockup-img {
  transform: scale(1.008);
}

.preview-caption {
  margin-top: 0.85rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.preview-caption span {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.95rem;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
}

.why-card {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
  text-align: center;
  transition: transform var(--transition-fast);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: var(--text-primary);
}

.why-card h3, .why-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.why-card p {
  font-size: 0.8875rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.why-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-blue);
  margin-bottom: 0.65rem;
}

.approach-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.85rem;
  margin-top: 3rem;
}

.approach-step {
  position: relative;
  background: var(--bg-card);
  padding: 1.75rem 1.15rem;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-light);
}

.approach-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.approach-step p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.cta-banner-wrapper {
  background: var(--text-primary);
  color: var(--text-inverse);
  padding: 5rem 3rem;
  border-radius: 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-floating);
}

.cta-banner-wrapper h2 {
  color: var(--text-inverse);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.cta-banner-wrapper p {
  color: #94A3B8;
  max-width: 680px;
  margin: 0 auto 2.5rem;
  font-size: 1.1rem;
  line-height: 1.75;
}

.btn-inverse {
  background: var(--bg-primary);
  color: var(--text-primary);
}

.btn-inverse:hover {
  background: #F1F5F9;
  transform: translateY(-2px);
}

.btn-outline-inverse {
  border-color: rgba(255, 255, 255, 0.3);
  color: var(--text-inverse);
}

.btn-outline-inverse:hover {
  border-color: var(--text-inverse);
  background: rgba(255, 255, 255, 0.1);
}

/* CONTACT HERO & CARD OPTIMIZATIONS */
.contact-hero-section {
  padding-top: 9.5rem;
  padding-bottom: 3.5rem;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, 0.04) 0%, transparent 65%);
}

.contact-hero-content {
  max-width: 860px;
  margin: 0 auto;
}

.contact-hero-content .hero-subtitle {
  margin-bottom: 2rem;
}

.contact-pill-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.15rem;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  font-size: 0.845rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.contact-pill .pill-icon {
  font-size: 1rem;
}

.contact-pill strong {
  font-weight: 700;
  color: var(--text-primary);
}

.contact-card-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.contact-card-stack .value-card {
  padding: 1.65rem;
  margin-top: 0 !important;
}

.contact-card-stack .value-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.contact-card-stack .value-card p {
  line-height: 1.6;
}

.contact-card-stack .value-card p + p {
  margin-top: 0.35rem;
}

.site-footer {
  padding: 4.5rem 0 2.75rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--bg-primary);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-brand-desc {
  font-size: 0.8875rem;
  color: var(--text-muted);
  margin-top: 1.25rem;
  max-width: 380px;
  line-height: 1.75;
}

.footer-column h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a {
  font-size: 0.8875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--text-primary); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE DESIGN SYSTEM (100% MOBILE OPTIMIZED)
   ========================================================================== */

/* 1. Laptop & Medium Desktops (max-width: 1200px) */
@media (max-width: 1200px) {
  .approach-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .why-us-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }

  .footer-top {
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 2.5rem;
  }
}

/* 2. Tablet & iPad Landscape (max-width: 992px) */
@media (max-width: 992px) {
  /* Navigation & Header */
  .hamburger-btn {
    display: flex;
  }

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

  .header-wrapper {
    position: fixed;
    top: 0.85rem;
    left: 0;
    right: 0;
    padding: 0 1rem;
  }

  .navbar-pill {
    position: relative;
    padding: 0.65rem 1.25rem;
  }

  .nav-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 1.35rem 1.15rem;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.15);
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    pointer-events: none;
    z-index: 1001;
  }

  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .nav-link {
    display: block;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    color: var(--text-primary);
  }

  .nav-link:hover, .nav-link.active {
    background: var(--bg-pill);
    color: var(--text-primary);
  }

  .nav-link.active::after {
    display: none;
  }

  .mobile-cta-item {
    display: block;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
  }

  /* Layout Grids */
  .story-split-container,
  .who-we-are-grid,
  .mission-vision-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .service-body-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .values-grid,
  .capabilities-grid,
  .industries-grid,
  .three-grid,
  .framework-grid,
  .process-flow-container,
  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .approach-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

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

  /* Hero & Visuals */
  .section-hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }

  .contact-hero-section {
    padding-top: 8rem;
    padding-bottom: 3rem;
  }

  .floating-widget {
    display: none !important;
  }
}

/* 3. Standard Tablet & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  /* Container & Spacing */
  .container {
    padding: 0 1.25rem;
  }

  .section-padding {
    padding: 4.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
    margin-bottom: 1rem;
  }

  /* Hero Elements */
  .hero-content {
    margin-bottom: 2.5rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.75rem);
    margin-bottom: 1.25rem;
    line-height: 1.24;
  }

  .hero-subtitle {
    font-size: 0.9875rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-visual-wrapper {
    border-radius: 18px;
    padding: 6px;
  }

  .hero-image-card {
    border-radius: 14px;
    aspect-ratio: 16 / 10;
  }

  /* Single Column Grids for Clean Mobile Flow */
  .values-grid,
  .capabilities-grid,
  .industries-grid,
  .three-grid,
  .framework-grid,
  .process-flow-container,
  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1.15rem;
  }

  .approach-timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  /* Cards Padding */
  .service-detail-card {
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }

  .service-box {
    padding: 1.5rem 1.25rem;
  }

  .feature-card,
  .capability-card,
  .industry-card,
  .value-card,
  .framework-card,
  .process-card,
  .why-card {
    padding: 1.65rem 1.25rem;
    border-radius: 16px;
  }

  .timeline-column {
    padding: 1.75rem 1.25rem !important;
    border-radius: 16px;
  }

  .who-image-box {
    height: 260px !important;
    padding: 2rem !important;
  }

  .quote-card {
    padding: 1.35rem 1.25rem;
  }

  /* Banners */
  .philosophy-banner {
    padding: 3rem 1.35rem;
    border-radius: 18px;
  }

  .philosophy-main-text {
    font-size: 1.15rem;
    line-height: 1.6;
  }

  .cta-banner-wrapper {
    padding: 3.25rem 1.35rem;
    border-radius: 18px;
  }

  .cta-banner-wrapper h2 {
    font-size: 1.85rem;
    margin-bottom: 1rem;
  }

  .cta-banner-wrapper p {
    font-size: 0.95rem;
    margin-bottom: 2rem;
  }

  .cta-banner-wrapper .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .automation-hire-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 1.35rem;
    padding: 1.75rem 1.25rem;
    border-radius: 16px;
  }

  .automation-hire-banner .btn {
    width: 100%;
  }

  /* Product UI Preview & Mockups */
  .mockup-tabs-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.4rem;
    gap: 0.5rem;
    scrollbar-width: none;
  }

  .mockup-tabs-bar::-webkit-scrollbar {
    display: none;
  }

  .mockup-tab-btn {
    font-size: 0.78125rem;
    padding: 0.45rem 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
  }

  .mockup-header {
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
  }

  .mockup-title {
    font-size: 0.72rem;
    max-width: 190px;
  }

  .mockup-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.55rem;
  }

  /* Contact Page */
  .contact-hero-section {
    padding-top: 7.25rem;
    padding-bottom: 2.5rem;
  }

  .contact-pill-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.55rem;
  }

  .contact-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
    padding: 0.6rem 1rem;
  }

  .form-input {
    font-size: 1rem; /* Prevents auto-zoom on iOS Safari */
    padding: 0.85rem 1rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

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

/* 4. Compact Smartphones (max-width: 480px - iPhone SE, Galaxy, Pixel) */
@media (max-width: 480px) {
  /* Container & Margins */
  .container {
    padding: 0 1rem;
  }

  .section-padding {
    padding: 3.5rem 0;
  }

  .header-wrapper {
    top: 0.65rem;
    padding: 0 0.65rem;
  }

  .navbar-pill {
    padding: 0.5rem 0.85rem;
  }

  .official-logo-img {
    height: 32px;
  }

  .hamburger-btn {
    width: 38px;
    height: 38px;
  }

  .hamburger-line {
    width: 16px;
  }

  /* Hero Section */
  .section-hero {
    padding-top: 6.5rem;
    padding-bottom: 2.5rem;
  }

  .contact-hero-section {
    padding-top: 6.5rem;
    padding-bottom: 2rem;
  }

  .hero-title {
    font-size: 1.7rem;
    letter-spacing: -0.02em;
  }

  .hero-subtitle {
    font-size: 0.925rem;
  }

  .badge-trust {
    font-size: 0.72rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 1.15rem;
  }

  .section-title {
    font-size: 1.45rem;
  }

  .section-tag {
    font-size: 0.75rem;
  }

  /* Products & Service Cards */
  .product-body {
    padding: 1.5rem 1.15rem;
  }

  .product-card-top-row {
    gap: 0.75rem;
  }

  .product-title {
    font-size: 1.25rem;
  }

  .valsys-logo-badge,
  .minetrack-logo-badge,
  .drillcheck-logo-badge {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  .service-card-top {
    gap: 0.75rem;
    align-items: flex-start;
  }

  .service-card-title {
    font-size: 1.25rem;
  }

  .valsys-logo-box,
  .minetrack-logo-box,
  .drillcheck-logo-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
  }

  /* Mockup Header Elements */
  .mockup-header {
    padding: 0.55rem 0.75rem;
  }

  .mockup-dots {
    display: none; /* Hide dots on small screens to give title & badge clean space */
  }

  .mockup-title {
    font-size: 0.675rem;
    max-width: 62%;
    padding: 0.25rem 0.5rem;
  }

  .mockup-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.45rem;
  }

  /* Single Column Timeline */
  .approach-timeline {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .approach-step {
    padding: 1.25rem 1rem;
  }

  /* About Components */
  .who-image-box {
    height: 200px !important;
    padding: 1.25rem !important;
  }

  .story-highlight {
    font-size: 1rem;
    padding-left: 1rem;
  }

  .mv-card {
    padding: 1.65rem 1.15rem;
  }

  .mv-icon {
    font-size: 1.85rem;
  }

  .mv-title {
    font-size: 1.35rem;
  }

  /* FAQ Accordion */
  .faq-item {
    padding: 1.25rem 1.15rem;
  }

  .faq-question h3 {
    font-size: 0.975rem;
  }

  /* Contact Cards */
  .contact-card-stack .value-card {
    padding: 1.25rem 1rem !important;
  }

  .contact-card-stack .value-card h4 {
    font-size: 0.9875rem;
  }
}

