/* ═══════════════════════════════════════════════════════════
   IREME RESEARCH & CONSULTING — Shared Styles
   Palette: Deep Blue + Emerald Green + Purple accents
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500;600;700;800&family=DM+Serif+Display:ital@0;1&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&display=swap');

:root {
  --blue-deep: #0A2A4A;
  --blue-mid:  #1B5E8C;
  --blue-bright: #2980B9;
  --blue-light: #5BA3D0;
  --green-deep: #0D5740;
  --green-mid:  #1A8560;
  --green-bright: #27AE7A;
  --green-light: #52C59E;
  --green-pale:  #D4F0E6;
  --purple-deep: #3D1A6E;
  --purple-mid:  #6B35B8;
  --purple-light: #9D6BE0;
  --gold:        #F0B429;
  --off-white:   #F5F9FC;
  --white:       #FFFFFF;
  --text-dark:   #0D1B2A;
  --text-mid:    #2C4A63;
  --text-light:  #6B8BA4;
  --border:      #D5E8F3;
  --bg-subtle:   #EEF5FB;
  --shadow-sm: 0 2px 8px rgba(10,42,74,0.08);
  --shadow-md: 0 8px 28px rgba(10,42,74,0.12);
  --shadow-lg: 0 20px 60px rgba(10,42,74,0.18);
  --radius: 8px;
  --radius-lg: 14px;
  --nav-h: 50px;
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-ui: 'Sora', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ─────────────────────────────── */
.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Typography ────────────────────────────── */
.display { font-family: var(--font-display); }
.ui-font { font-family: var(--font-ui); }
h1,h2,h3,h4 { line-height: 1.2; }

/* ── Buttons ───────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 4px;
  font-family: var(--font-ui); font-weight: 600; font-size: 15px;
  transition: all 0.25s ease; white-space: nowrap;
}
.btn-primary {
  background: var(--green-mid); color: white;
  box-shadow: 0 4px 16px rgba(26,133,96,0.3);
}
.btn-primary:hover { background: var(--green-deep); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(26,133,96,0.4); }
.btn-outline {
  background: transparent; color: var(--blue-deep);
  border: 2px solid var(--blue-mid);
}
.btn-outline:hover { background: var(--blue-deep); color: white; }
.btn-white {
  background: white; color: var(--blue-deep);
  box-shadow: var(--shadow-md);
}
.btn-white:hover { background: var(--off-white); transform: translateY(-2px); }
.btn-ghost-white {
  background: rgba(255,255,255,0.15); color: white;
  border: 2px solid rgba(255,255,255,0.4); backdrop-filter: blur(4px);
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.25); border-color: rgba(255,255,255,0.7); }
.btn-sm { padding: 8px 20px; font-size: 13px; }
.btn-lg { padding: 16px 36px; font-size: 16px; }

/* ── Badge / Tag ───────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 14px; border-radius: 100px;
  font-family: var(--font-ui); font-size: 12px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.tag-blue { background: rgba(27,94,140,0.1); color: var(--blue-mid); }
.tag-green { background: rgba(26,133,96,0.1); color: var(--green-mid); }
.tag-purple { background: rgba(107,53,184,0.1); color: var(--purple-mid); }
.tag-gold { background: rgba(240,180,41,0.12); color: #B8860B; }

/* ── Section Layout ────────────────────────── */
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.section-header .tag { margin-bottom: 16px; }
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--text-dark); margin-bottom: 16px;
}
.section-header p { font-size: 17px; color: var(--text-light); line-height: 1.7; }

/* ── Cards ─────────────────────────────────── */
.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.card-hover-green:hover { border-color: var(--green-bright); }
.card-hover-blue:hover { border-color: var(--blue-bright); }

/* ── Icon Box ──────────────────────────────── */
.icon-box {
  width: 56px; height: 56px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.icon-box-blue { background: rgba(27,94,140,0.1); color: var(--blue-mid); }
.icon-box-green { background: rgba(26,133,96,0.1); color: var(--green-mid); }
.icon-box-purple { background: rgba(107,53,184,0.1); color: var(--purple-mid); }
.icon-box-gold { background: rgba(240,180,41,0.12); color: var(--gold); }

/* ── Divider ───────────────────────────────── */
.divider { width: 60px; height: 4px; border-radius: 2px; background: var(--green-bright); margin: 0 auto 24px; }
.divider-left { margin: 0 0 24px; }

/* ── Gradient text ─────────────────────────── */
.text-gradient {
  background: linear-gradient(135deg, var(--blue-bright), var(--green-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* ═══════════════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}
.nav.scrolled {
  box-shadow: var(--shadow-sm);
}
.nav .container {
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
}
.nav-logo-mark {
  width: 80px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-text .name {
  font-family: var(--font-ui); font-weight: 700; font-size: 16px;
  color: var(--blue-deep); line-height: 1.2;
}
.nav-logo-text .tagline {
  font-family: var(--font-body); font-size: 11px;
  color: var(--text-light); font-weight: 400;
}
.nav-links {
  display: flex; align-items: center; gap: 4px; list-style: none;
}
.nav-links a {
  padding: 8px 14px; border-radius: 4px;
  font-family: var(--font-ui); font-size: 14px; font-weight: 500;
  color: var(--text-mid); transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--blue-deep); background: var(--bg-subtle);
}
.nav-links a.active { color: var(--green-mid); font-weight: 600; }
.nav-cta { margin-left: 16px; }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  width: 32px; padding: 4px;
}
.nav-hamburger span {
  display: block; height: 2px; width: 100%;
  background: var(--blue-deep); border-radius: 2px; transition: all 0.3s;
}
.mobile-nav {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: white; border-bottom: 1px solid var(--border);
  padding: 24px; z-index: 999; box-shadow: var(--shadow-md);
  flex-direction: column; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  padding: 12px 16px; border-radius: 8px;
  font-family: var(--font-ui); font-size: 15px; font-weight: 500;
  color: var(--text-mid); transition: all 0.2s;
}
.mobile-nav a:hover, .mobile-nav a.active {
  color: var(--green-mid); background: var(--green-pale);
}
.mobile-nav .btn { justify-content: center; margin-top: 8px; }

/* ═══════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,0.75);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid; gap: 48px;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
}
.footer-brand .logo-mark {
  width: 80px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
}
.footer-brand p {
  font-size: 14px; line-height: 1.8; margin-bottom: 24px;
  color: rgba(255,255,255,0.6);
}
.footer-socials { display: flex; gap: 12px; }
.footer-socials a {
  width: 38px; height: 38px; border-radius: 8px;
  background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); transition: all 0.2s;
}
.footer-socials a:hover { background: var(--green-mid); color: white; }
.footer-col h4 {
  font-family: var(--font-ui); font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: white; margin-bottom: 20px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 14px; color: rgba(255,255,255,0.6); transition: all 0.2s;
}
.footer-col ul a:hover { color: var(--green-light); }
.footer-contact-item {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 14px; color: rgba(255,255,255,0.6); margin-bottom: 14px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; }
.footer-contact-item a { color: rgba(255,255,255,0.6); }
.footer-contact-item a:hover { color: var(--green-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0; margin-top: 64px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: rgba(255,255,255,0.4); }
.footer-bottom a:hover { color: white; }

/* ═══════════════════════════════════════════════════════════
   HERO (shared base)
   ═══════════════════════════════════════════════════════════ */
.hero-inner {
  padding-top: calc(var(--nav-h) + 80px);
  padding-bottom: 96px;
  position: relative; z-index: 2;
}
.hero-page {
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 64px;
  position: relative; z-index: 2;
  text-align: center;
}

/* ═══════════════════════════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════════════════════════ */
.stats-bar {
  background: white; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 40px 48px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 32px; margin-top: -48px; position: relative; z-index: 10;
}
.stat-item { text-align: center; }
.stat-item .num {
  font-family: var(--font-display); font-size: 2.4rem;
  color: var(--blue-deep); display: block; line-height: 1;
}
.stat-item .num span { color: var(--green-mid); }
.stat-item .label {
  font-family: var(--font-ui); font-size: 13px; font-weight: 500;
  color: var(--text-light); margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideRight { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes spinSlow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes countUp { from { opacity: 0; transform: scale(0.8); } to { opacity: 1; transform: scale(1); } }

.anim-fade-up  { animation: fadeUp 0.7s ease both; }
.anim-fade-in  { animation: fadeIn 0.7s ease both; }
.anim-slide-r  { animation: slideRight 0.7s ease both; }
.anim-slide-l  { animation: slideLeft 0.7s ease both; }

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(32px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════════════
   MISC UTILS
   ═══════════════════════════════════════════════════════════ */
.bg-subtle { background: var(--bg-subtle); }
.bg-off   { background: var(--off-white); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-8  { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }

/* ── Page Banner ───────────────────────────── */
.page-banner {
  background: linear-gradient(135deg, var(--blue-deep) 0%, #0D3A60 40%, var(--green-deep) 100%);
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 80px) 0 80px;
  color: white; text-align: center;
}
.page-banner::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.04'%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-banner .tag { margin-bottom: 16px; background: rgba(255,255,255,0.15); color: white; }
.page-banner h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 400;
  margin-bottom: 16px;
}
.page-banner p {
  font-size: 18px; color: rgba(255,255,255,0.75); max-width: 560px; margin: 0 auto;
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-top: 24px;
  font-family: var(--font-ui); font-size: 13px; color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.5); }
.breadcrumb a:hover { color: white; }
.breadcrumb .sep { opacity: 0.4; }

/* ── Responsive ───────────────────────────── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats-bar { padding: 32px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .section { padding: 64px 0; }
  .page-banner { padding: calc(var(--nav-h) + 48px) 0 56px; }
}
