/* ===========================
   GLOBAL — Alphex Engineers
   globel.css
=========================== */

:root {
  --dark1: #0f2027;
  --dark2: #203a43;
  --dark3: #2c5364;
  --primary: #0166a1;
  --accent: #187091;
  --bass-1: linear-gradient(135deg, #f2f6f8, #dbe7ee, #f2f6f8);
  --bass-1-box: linear-gradient(135deg, #0d5984, #187091);
  --white: #ffffff;
  --muted-white: rgba(255, 255, 255, 0.8);
  --font-main: "Poppins", Arial, sans-serif;
  --transition: 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
}

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

/* ── Typography ── */
h1,
h2 {
  font-size: clamp(1.8rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

h2 {
  line-height: 1.25;
}

h3 {
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 12px;
}

p {
  font-size: clamp(0.98rem, 2vw, 1.125rem);
  letter-spacing: -0.01em;
  line-height: 1.6;
}

/* ── Layout ── */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 0;
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
  .container {
    width: 94%;
  }
}

@media (max-width: 400px) {
  .container {
    width: 96%;
  }
}