/* ══════════════════════════════════════════════════════════════
   SKILL TENET INTERNATIONAL SERVICES
   Global CSS: Custom Properties, Reset, Typography
   ══════════════════════════════════════════════════════════════ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS CUSTOM PROPERTIES ── */
:root {
  /* Globe Section Colors */
  --globe-bg: #04060f;
  --globe-text: #f0f2ff;
  --globe-muted: rgba(240, 242, 255, 0.45);
  --globe-border: rgba(255, 255, 255, 0.08);
  --globe-surface: rgba(4, 6, 15, 0.82);

  /* Corporate Site Colors */
  --clr-red: #1a6fc4; /* Brand primary blue (replaces legacy red) */
  --clr-blue: #06b6d4; /* Brand teal (secondary) */
  --clr-accent: #f59e0b; /* Brand amber — warm highlight */
  --clr-accent-green: #84cc16; /* Brand lime green */
  --clr-white: #ffffff;
  --clr-black: #1a1a1a;
  --clr-slate: #f4f6f9;
  --clr-border: #e2e6ea;
  --clr-text: #2d3748;
  --clr-text-light: #718096;

  /* Sector Tints */
  --construction: #f59e0b;
  --oilgas: #f97316;
  --healthcare: #6ee7b7;
  --logistics: #22d3ee;
  --engineering: #818cf8;
  --hospitality: #fb7185;
  --education: #93c5fd;

  /* Typography */
  --font-display: 'Syne', sans-serif;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;
  --spacing-2xl: 4rem;
  --spacing-3xl: 6rem;

  /* Border Radius */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 8px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.4s ease;

  /* Z-index layers */
  --z-canvas: 0;
  --z-scroll-space: 1;
  --z-fog: 2;
  --z-motion-blur: 3;
  --z-cards: 50;
  --z-nav: 100;
  --z-ticker: 100;
  --z-stage-counter: 100;
  --z-progress: 200;
  --z-cursor: 9998;
  --z-cursor-dot: 9999;
}

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--clr-text);
  background: var(--clr-white);
  overflow-x: hidden;
}

/* Body class for globe page (dark background) */
body.globe-page {
  background: var(--globe-bg);
  color: var(--globe-text);
  cursor: none; /* Custom cursor */
}

/* ── TYPOGRAPHY ── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--clr-black);
  margin-bottom: 0.5em;
}

.globe-page h1,
.globe-page h2,
.globe-page h3,
.globe-page h4,
.globe-page h5,
.globe-page h6 {
  color: var(--globe-text);
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}
h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--clr-blue);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--clr-red);
}

.globe-page a {
  color: var(--globe-text);
}

/* ── UTILITY CLASSES ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.container-wide {
  max-width: 1440px;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: var(--spacing-3xl) 0;
}

.section-sm {
  padding: var(--spacing-2xl) 0;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--clr-red);
  color: var(--clr-white);
  border-color: var(--clr-red);
}

.btn-primary:hover {
  background: #1259a7;
  border-color: #1259a7;
  color: var(--clr-white);
}

.btn-secondary {
  background: var(--clr-blue);
  color: var(--clr-white);
  border-color: var(--clr-blue);
}

.btn-secondary:hover {
  background: #059ab5;
  border-color: #059ab5;
  color: var(--clr-white);
}

.btn-outline {
  background: transparent;
  color: var(--clr-red);
  border-color: var(--clr-red);
}

.btn-outline:hover {
  background: var(--clr-red);
  color: var(--clr-white);
}

.btn-outline-blue {
  background: transparent;
  color: var(--clr-blue);
  border-color: var(--clr-blue);
}

.btn-outline-blue:hover {
  background: var(--clr-blue);
  color: var(--clr-white);
}

/* ── GLOBE PAGE SPECIFIC ── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--clr-red);
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.globe-page .eyebrow {
  color: var(--clr-red);
}

/* ── FADE-UP ANIMATION (for scroll reveals) ── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE IMAGES ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── LISTS ── */
ul,
ol {
  margin-bottom: 1em;
  padding-left: 1.5em;
}

ul {
  list-style: none;
}

/* ── SELECTION ── */
::selection {
  background: var(--clr-red);
  color: var(--clr-white);
}

/* ── SCROLLBAR (webkit) ── */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--clr-slate);
}

::-webkit-scrollbar-thumb {
  background: var(--clr-border);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--clr-text-light);
}

.globe-page ::-webkit-scrollbar-track {
  background: var(--globe-bg);
}

.globe-page ::-webkit-scrollbar-thumb {
  background: var(--globe-border);
}

/* ── MOBILE BREAKPOINTS ── */
/* xs: 320px - 479px */
/* sm: 480px - 767px */
/* md: 768px - 1023px */
/* lg: 1024px - 1279px */
/* xl: 1280px+ */

@media (max-width: 767px) {
  :root {
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
  }

  .container {
    padding: 0 var(--spacing-md);
  }

  .section {
    padding: var(--spacing-2xl) 0;
  }
}

@media (max-width: 479px) {
  body {
    font-size: 14px;
  }

  .btn {
    font-size: 0.75rem;
    padding: 0.625rem 1.25rem;
  }
}
