/* ═══════════════════════════════════════════════════════════════
   TILMAAN CONSULTING FIRM — PREMIUM DESIGN SYSTEM v3.0
   ═══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

/* ─── Design Tokens ───────────────────────────────────────────── */
:root {
  /* Core Palette */
  --navy-900: #020b18;
  --navy-800: #0b1929;
  --navy-700: #0f2440;
  --navy-600: #152e52;
  --navy-500: #1a365d;

  /* Electric Blue */
  --blue-600: #0f4fc0;
  --blue-500: #1E6FFF;
  --blue-400: #4a8fff;
  --blue-300: #7ab0ff;
  --blue-100: rgba(30, 111, 255, 0.12);

  /* Gold Accent */
  --gold-500: #F0B429;
  --gold-400: #f5c842;
  --gold-100: rgba(240, 180, 41, 0.12);

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8faff;
  --gray-100: #f0f4fc;
  --gray-200: #e2e9f5;
  --gray-300: #c5d3ea;
  --gray-500: #7a8aaa;
  --gray-700: #3a4a6b;
  --text-body: #2d3a5a;
  --text-muted: #6b7a9c;

  /* Legacy mappings (keep existing markup working) */
  --primary-teal: var(--blue-500);
  --secondary-teal: var(--blue-400);
  --primary-navy: var(--navy-800);
  --primary-blue: var(--blue-500);
  --secondary-blue: var(--blue-400);
  --accent-red: #E53E3E;
  --bg-light: var(--gray-100);
  --text-dark: var(--text-body);
  --text-muted: #6b7a9c;

  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.06);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);

  /* Layout */
  --section-padding: 100px 0;
  --container-max-width: 1240px;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xl: 28px;

  /* Transitions */
  --transition-speed: 0.3s ease;
  --transition-slow: 0.6s ease;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(30, 111, 255, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 25, 41, 0.12);
  --shadow-lg: 0 20px 60px rgba(11, 25, 41, 0.18);
  --shadow-blue: 0 8px 32px rgba(30, 111, 255, 0.3);
  --shadow-gold: 0 8px 32px rgba(240, 180, 41, 0.25);

  --box-shadow: var(--shadow-md);
  --box-shadow-hover: var(--shadow-lg);

  /* Typography */
  --font-heading: 'Outfit', system-ui, sans-serif;
  --font-main: 'Inter', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-main);
  background-color: var(--white);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }

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

/* ─── Layout ───────────────────────────────────────────────────── */
.container {
  width: 90%;
  max-width: var(--container-max-width);
  margin: 0 auto;
}

.section {
  padding: var(--section-padding);
}

.bg-light { background: var(--gray-50); }
.bg-dark  { background: var(--navy-800); }

/* ─── Typography ───────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--navy-800);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); font-weight: 700; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.1rem; }

h2 {
  position: relative;
  padding-bottom: 16px;
}
h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold-500));
  border-radius: 2px;
}
.text-center h2::after {
  left: 50%;
  transform: translateX(-50%);
}

h2 span { color: var(--blue-500); }
.text-center { text-align: center; }
.mb-60 { margin-bottom: 60px; }
.mb-40 { margin-bottom: 40px; }

.section-desc {
  max-width: 620px;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* ─── Badge ─────────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--blue-100);
  color: var(--blue-500);
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 16px;
  border: 1px solid rgba(30, 111, 255, 0.25);
}

/* ─── Buttons ───────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: none;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  box-shadow: var(--shadow-blue);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(30, 111, 255, 0.45);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-500), #e6a817);
  color: var(--navy-800);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(240, 180, 41, 0.45);
}

.btn-outline {
  border: 2px solid var(--blue-500);
  color: var(--blue-500);
  background: transparent;
}
.btn-outline:hover {
  background: var(--blue-500);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-blue);
}

.btn-glass {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255,255,255,0.2);
  transform: translateY(-2px);
}

/* ─── Page Header (inner pages) ─────────────────────────────────── */
.page-header {
  background: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--blue-600) 100%);
  padding: 140px 0 90px;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 12px;
  position: relative;
  z-index: 2;
}

.page-header .breadcrumb a { color: var(--gold-500); }
.page-header .breadcrumb a:hover { color: var(--white); }

/* ─── Check List ─────────────────────────────────────────────────── */
.check-list {
  margin: 20px 0 30px;
  display: grid;
  gap: 10px;
}
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  color: var(--text-body);
}
.check-list li i {
  color: var(--blue-500);
  width: 20px;
  text-align: center;
  flex-shrink: 0;
}

/* ─── About Teaser Layout ─────────────────────────────────────────── */
.d-flex-row {
  display: flex;
  align-items: center;
  gap: 70px;
}
.about-image, .about-text { flex: 1; }
.image-box {
  position: relative;
  height: 440px;
  background: var(--gray-100);
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.experience-badge {
  position: absolute;
  bottom: 28px;
  right: 28px;
  background: linear-gradient(135deg, var(--blue-500), var(--blue-600));
  color: var(--white);
  padding: 22px;
  border-radius: 18px;
  text-align: center;
  box-shadow: var(--shadow-blue);
}
.experience-badge span {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  display: block;
  line-height: 1;
}

/* ─── Client Logos ────────────────────────────────────────────────── */
.logo-wall {
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}
.client-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-300);
  opacity: 0.55;
  transition: opacity 0.3s;
}
.client-logo:hover { opacity: 1; }
.client-logo i { font-size: 1.8rem; color: var(--blue-400); }

/* ─── Scroll Progress Bar ─────────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-500), var(--gold-500));
  z-index: 9999;
  transition: width 0.1s linear;
  border-radius: 0 2px 2px 0;
}

/* ─── AOS-like reveal ─────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal-delay="100"] { transition-delay: 0.1s; }
[data-reveal-delay="200"] { transition-delay: 0.2s; }
[data-reveal-delay="300"] { transition-delay: 0.3s; }
[data-reveal-delay="400"] { transition-delay: 0.4s; }
[data-reveal-delay="500"] { transition-delay: 0.5s; }

/* Legacy section fade (keep for compatibility) */
section {
  opacity: 0;
  transform: translateY(20px);
  transition: 0.8s ease-out;
}
section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Animations ────────────────────────────────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-12px); }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-ring {
  0%   { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.animate-float { animation: float 4s ease-in-out infinite; }
.animate-fade-in { animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards; }

/* ─── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 992px) {
  :root { --section-padding: 70px 0; }
  .d-flex-row { flex-direction: column; gap: 50px; }
  .image-box { height: 320px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 55px 0; }
  h2 { font-size: 1.8rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
}
