/*
Theme Name: ElevateHR
Theme URI: http://localhost/hr-consulting
Author: ElevateHR Consultancy
Description: Premium HR & Consultancy WordPress Theme
Version: 2.0
*/

/* ============================================================
   GOOGLE FONTS IMPORT
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,600;1,700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,600&family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ============================================================
   CSS DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --navy-900: #060e1c;
  --navy-800: #0a1628;
  --navy-700: #0d2240;
  --navy-600: #122d55;
  --navy-500: #1a3a6b;
  --navy-400: #244d8a;

  /* Gold Palette */
  --gold-900: #7a5c14;
  --gold-700: #a8842a;
  --gold-500: #c9a84c;
  --gold-400: #d4b55f;
  --gold-300: #e8cb7a;
  --gold-200: #f0cd7a;
  --gold-100: #fdf0c4;

  /* Neutrals */
  --white: #ffffff;
  --off-white: #f7f8fc;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-900: #111827;

  /* Semantic aliases */
  --dark-blue: var(--navy-800);
  --mid-blue: var(--navy-700);
  --accent-blue: var(--navy-500);

  /* KEY FIX: accent-500 and accent-300 are the gold tokens used throughout */
  --accent-500: var(--gold-500);
  --accent-300: var(--gold-300);

  --gold: var(--gold-500);
  --gold-light: var(--gold-200);
  --light-gray: var(--gray-200);
  --text-dark: var(--gray-900);
  --text-muted: var(--gray-500);
  --gray: var(--gray-500);

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(6, 14, 28, .08), 0 1px 2px rgba(6, 14, 28, .06);
  --shadow-sm: 0 2px 8px rgba(6, 14, 28, .10), 0 1px 3px rgba(6, 14, 28, .08);
  --shadow: 0 4px 24px rgba(6, 14, 28, .12), 0 2px 8px rgba(6, 14, 28, .08);
  --shadow-md: 0 8px 32px rgba(6, 14, 28, .16), 0 4px 12px rgba(6, 14, 28, .10);
  --shadow-lg: 0 16px 48px rgba(6, 14, 28, .20), 0 8px 20px rgba(6, 14, 28, .12);
  --shadow-xl: 0 24px 64px rgba(6, 14, 28, .28), 0 12px 28px rgba(6, 14, 28, .16);
  --shadow-gold: 0 8px 32px rgba(201, 168, 76, .30), 0 2px 8px rgba(201, 168, 76, .18);

  /* Radii */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-2xl: 32px;
  --r-full: 9999px;

  /* Legacy aliases */
  --radius: var(--r-md);
  --radius-lg: var(--r-lg);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-bounce: cubic-bezier(.34, 1.56, .64, 1);
  --transition: all .3s var(--ease);
  --transition-slow: all .5s var(--ease);

  /* Spacing */
  --section-pad: 100px;
  --section-pad-sm: 64px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul {
  list-style: none;
}

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

button {
  cursor: pointer;
  font-family: inherit;
}

input,
textarea,
select {
  font-family: inherit;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  line-height: 1.1;
  color: var(--navy-800);
  font-weight: 600;
}

h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  letter-spacing: -.01em;
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  letter-spacing: -.005em;
}

h3 {
  font-size: clamp(1.4rem, 2.2vw, 1.8rem);
  font-weight: 600;
}

h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
}

.text-gold {
  color: var(--accent-500);
}

.text-white {
  color: var(--white);
}

.text-muted {
  color: var(--text-muted);
}

.font-display {
  font-family: 'Playfair Display', Georgia, serif;
}

.font-outfit {
  font-family: 'Outfit', sans-serif;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 4rem);
}

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

/* Section header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-500);
  margin-bottom: .9rem;
}

.section-eyebrow::before,
.section-eyebrow::after {
  display: none;
}

.section-header .gold-line {
  width: 56px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-500), var(--gold-200));
  margin: 1rem auto;
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
  line-height: 1.75;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .9rem 2.1rem;
  border-radius: var(--r-sm);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .12);
  opacity: 0;
  transition: opacity .25s;
}

.btn:hover::after {
  opacity: 1;
}

/* Primary — gold */
.btn-primary {
  background: linear-gradient(135deg, var(--accent-500) 0%, var(--accent-300) 50%, var(--accent-500) 100%);
  background-size: 200% 100%;
  background-position: right center;
  color: var(--navy-900);
  box-shadow: var(--shadow-gold);
}

.btn-primary:hover {
  background-position: left center;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(201, 168, 76, .45);
}

/* Outline white */
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .7);
  backdrop-filter: blur(6px);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--navy-800);
  border-color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, .2);
}

/* Dark */
.btn-dark {
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600));
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-dark:hover {
  background: linear-gradient(135deg, var(--navy-700), var(--navy-500));
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

/* Outline gold */
.btn-gold-outline {
  background: transparent;
  color: var(--accent-500);
  border: 2px solid var(--accent-500);
}

.btn-gold-outline:hover {
  background: var(--accent-500);
  color: var(--navy-900);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(6, 14, 28, .92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(201, 168, 76, .12);
  padding: .9rem 0;
  transition: var(--transition);
}

#site-header.scrolled {
  background: rgba(6, 14, 28, .98);
  box-shadow: 0 4px 30px rgba(0, 0, 0, .35), 0 0 0 1px rgba(201, 168, 76, .08);
  padding: .65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  gap: .85rem;
  flex-shrink: 0;
}

.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-900);
  box-shadow: 0 4px 16px rgba(201, 168, 76, .35);
  flex-shrink: 0;
  transition: var(--transition);
}

.site-logo:hover .logo-icon {
  transform: rotate(-5deg) scale(1.05);
  box-shadow: 0 6px 24px rgba(201, 168, 76, .5);
}

.logo-text {
  color: var(--white);
}

.logo-text span {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .01em;
  line-height: 1.1;
}

.logo-text small {
  font-family: 'Outfit', sans-serif;
  font-size: .65rem;
  color: var(--gold-400);
  letter-spacing: .18em;
  text-transform: uppercase;
}

/* Nav links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .15rem;
}

.nav-menu a {
  color: rgba(255, 255, 255, .80);
  padding: .5rem 1rem;
  border-radius: var(--r-sm);
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 500;
  letter-spacing: .03em;
  transition: var(--transition);
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-500);
  border-radius: 2px;
  transition: width .25s var(--ease), left .25s var(--ease);
}

.nav-menu a:hover {
  color: var(--accent-300);
  background: rgba(201, 168, 76, .06);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: calc(100% - 2rem);
  left: 1rem;
}

.nav-menu a.active {
  color: var(--gold-400);
}

.account-menu {
  position: relative;
}

.account-menu .account-trigger {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.account-text {
  font-family: 'Outfit', sans-serif;
  font-size: .88rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
  letter-spacing: .02em;
}

.account-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  min-width: 180px;
  background: #0f1b2e;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-md);
  padding: .4rem;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: var(--transition);
  z-index: 2000;
}

.account-dropdown a {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: .6rem .8rem;
  border-radius: var(--r-sm);
  font-size: .85rem;
}

.account-dropdown a:hover {
  background: rgba(201, 168, 76, .12);
  color: var(--gold-400);
}

.account-menu:hover .account-dropdown,
.account-menu:focus-within .account-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Nav CTA */
.nav-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.nav-cta .btn {
  padding: .6rem 1.4rem;
  font-size: .8rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border: none;
  background: none;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================================
   HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  background:
    linear-gradient(170deg, rgba(4, 8, 18, .92) 0%, rgba(6, 14, 28, .78) 50%, rgba(10, 22, 40, .70) 100%),
    url('images/hero-bg.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 86px;
}

/* Noise texture overlay */
#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.035'/%3E%3C/svg%3E");
  opacity: .5;
  pointer-events: none;
}

/* Gold diagonal shimmer */
#hero::after {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 56%;
  height: 140%;
  background: linear-gradient(135deg, transparent 30%, rgba(201, 168, 76, .04) 50%, transparent 70%);
  pointer-events: none;
}

.hero-bg-pattern {
  position: absolute;
  inset: 0;
  opacity: .03;
  background-image:
    repeating-linear-gradient(45deg, var(--accent-500) 0, var(--accent-500) 1px, transparent 0, transparent 50%);
  background-size: 48px 48px;
  pointer-events: none;
}

/* Floating particles */
.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: var(--accent-500);
  animation: float-particle linear infinite;
  opacity: 0;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(1);
    opacity: 0;
  }

  10% {
    opacity: .7;
  }

  90% {
    opacity: .2;
  }

  100% {
    transform: translateY(-10vh) scale(.5);
    opacity: 0;
  }
}

/* Hero grid */
.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3rem 0;
}

/* Badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: rgba(201, 168, 76, .1);
  border: 1px solid rgba(201, 168, 76, .28);
  color: var(--accent-300);
  padding: .45rem 1.1rem;
  border-radius: var(--r-full);
  font-family: 'Outfit', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  animation: fadeInDown .8s var(--ease) both;
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--gold-400);
  border-radius: 50%;
  animation: pulse-dot 2s ease infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.5);
    opacity: .6;
  }
}

/* Hero title */
.hero-title {
  color: var(--white);
  margin-bottom: 1.5rem;
  animation: fadeInUp .9s var(--ease) .1s both;
  font-size: clamp(3rem, 5.4vw, 4.8rem);
  line-height: 1.0;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  letter-spacing: -.02em;
  text-wrap: balance;
}

.hero-title .highlight {
  font-style: italic;
  color: var(--gold-400);
  background: none;
  -webkit-text-fill-color: var(--gold-400);
}

.hero-title .hero-line {
  display: block;
  white-space: nowrap;
}

@keyframes shimmer-text {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-subtitle {
  color: rgba(255, 255, 255, .68);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 520px;
  animation: fadeInUp .9s var(--ease) .2s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp .9s var(--ease) .3s both;
}

/* Stats row */
.hero-stats {
  display: flex;
  gap: 0;
  margin-top: 3.5rem;
  animation: fadeInUp .9s var(--ease) .45s both;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--r-lg);
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.stat-item {
  flex: 1;
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, .07);
  transition: var(--transition);
}

.stat-item:last-child {
  border-right: none;
}

.stat-item:hover {
  background: rgba(201, 168, 76, .06);
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold-400);
  display: block;
  line-height: 1;
  margin-bottom: .25rem;
}

.stat-label {
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  color: rgba(255, 255, 255, .5);
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  animation: fadeInRight 1s var(--ease) .2s both;
}

.hero-card {
  background: rgba(255, 255, 255, .06);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: 0 24px 64px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .1);
  width: 100%;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .5), transparent);
  border-radius: var(--r-xl);
}

.hero-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.hero-card-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 16px rgba(201, 168, 76, .35);
  flex-shrink: 0;
}

.hero-card h3 {
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: .15rem;
}

.hero-card p {
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
  margin: 0;
}

/* Live indicator */
.live-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(34, 197, 94, .12);
  border: 1px solid rgba(34, 197, 94, .25);
  color: #4ade80;
  padding: .2rem .65rem;
  border-radius: var(--r-full);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-left: auto;
}

.live-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse-dot 1.5s ease infinite;
}

/* Mini jobs */
.mini-job-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.mini-job {
  display: flex;
  align-items: center;
  gap: .9rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--r-md);
  padding: .85rem 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.mini-job:hover {
  border-color: rgba(201, 168, 76, .3);
  background: rgba(201, 168, 76, .05);
  transform: translateX(4px);
}

.mini-job-icon {
  width: 38px;
  height: 38px;
  background: rgba(201, 168, 76, .14);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.mini-job-info {
  flex: 1;
  min-width: 0;
}

.mini-job-info strong {
  color: var(--white);
  font-size: .88rem;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-job-info span {
  color: rgba(255, 255, 255, .45);
  font-size: .75rem;
}

.mini-job-tag {
  background: rgba(201, 168, 76, .15);
  color: var(--accent-300);
  padding: .22rem .65rem;
  border-radius: var(--r-full);
  font-size: .68rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-align: center;
}

.scroll-dot {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255, 255, 255, .2);
  border-radius: 13px;
  margin: 0 auto .6rem;
  position: relative;
}

.scroll-dot::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 9px;
  background: var(--gold-400);
  border-radius: 2px;
  animation: scroll-bounce 1.6s ease infinite;
}

@keyframes scroll-bounce {

  0%,
  100% {
    top: 7px;
    opacity: 1;
  }

  50% {
    top: 20px;
    opacity: .25;
  }
}

.scroll-indicator small {
  color: rgba(255, 255, 255, .3);
  font-family: 'Outfit', sans-serif;
  font-size: .68rem;
  letter-spacing: .14em;
  text-transform: uppercase;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
#services {
  background:
    linear-gradient(180deg, var(--off-white) 0%, var(--white) 100%);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-800), var(--accent-500), var(--navy-800));
}

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

.service-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

/* Top shimmer border */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-500), transparent);
  opacity: 0;
  transition: opacity .4s;
}

/* Bottom accent bar */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-500), var(--accent-300));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(201, 168, 76, .15);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  transform: scaleX(1);
}

/* Service icon */
.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, rgba(10, 22, 40, .06), rgba(10, 22, 40, .03));
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.75rem;
  transition: var(--transition);
  border: 1.5px solid var(--gray-100);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(201, 168, 76, .3);
  transform: scale(1.1) rotate(-5deg);
}

.service-card h3 {
  color: var(--navy-800);
  margin-bottom: .75rem;
  font-size: 1.2rem;
  transition: var(--transition);
}

.service-card:hover h3 {
  color: var(--navy-700);
}

.service-card p {
  color: var(--text-muted);
  font-size: .92rem;
  line-height: 1.7;
  margin-bottom: 1.6rem;
}

.service-link {
  color: var(--accent-500);
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: var(--transition);
}

.service-link:hover {
  gap: 1rem;
  color: var(--gold-700);
}

/* ============================================================
   FEATURED JOBS
   ============================================================ */
#featured-jobs {
  background: var(--white);
  position: relative;
}

#featured-jobs::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gray-200), transparent);
}

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

.job-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.job-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-700), var(--accent-500));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(201, 168, 76, .2);
}

.job-card:hover::before {
  transform: scaleX(1);
}

.job-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}

.job-company-logo {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-500));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
  font-family: 'Outfit', sans-serif;
  box-shadow: 0 4px 12px rgba(10, 22, 40, .2);
}

.job-type-badge {
  padding: .3rem .9rem;
  border-radius: var(--r-full);
  font-family: 'Outfit', sans-serif;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  background: rgba(201, 168, 76, .1);
  color: var(--gold-700);
  border: 1px solid rgba(201, 168, 76, .22);
}

.job-card h3 {
  font-size: 1.12rem;
  color: var(--navy-800);
  margin-bottom: .35rem;
}

.job-company {
  color: var(--text-muted);
  font-size: .85rem;
  margin-bottom: 1rem;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1.25rem;
}

.job-meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  color: var(--gray-500);
  font-size: .8rem;
  background: var(--gray-50);
  padding: .25rem .7rem;
  border-radius: var(--r-full);
  border: 1px solid var(--gray-100);
}

.job-meta-item i {
  color: var(--accent-500);
  font-size: .75rem;
}

.job-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--gray-100);
  padding-top: 1rem;
  margin-top: auto;
}

.job-salary {
  font-weight: 800;
  color: var(--navy-800);
  font-size: 1rem;
}

.job-salary span {
  display: block;
  font-size: .72rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
#why-us {
  background:
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 40%, var(--navy-700) 100%),
    url('images/services-pattern.png') center / cover no-repeat;
  background-blend-mode: multiply, normal;
  position: relative;
  overflow: hidden;
}

#why-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .4), transparent);
}

#why-us::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .3), transparent);
}

#why-us .section-header h2 {
  color: var(--white);
}

#why-us .section-header p {
  color: rgba(255, 255, 255, .6);
}

#why-us .section-eyebrow {
  color: var(--accent-300);
}

#why-us .section-eyebrow::before,
#why-us .section-eyebrow::after {
  background: var(--accent-300);
}

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

.why-card {
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: var(--r-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  transition: var(--transition-slow);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-500), var(--accent-300));
  transition: width .4s var(--ease);
}

.why-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(201, 168, 76, .25);
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .25);
}

.why-card:hover::after {
  width: 60%;
}

.why-icon {
  width: 70px;
  height: 70px;
  background: rgba(201, 168, 76, .1);
  border: 1px solid rgba(201, 168, 76, .18);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  border-color: transparent;
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(201, 168, 76, .3);
}

.why-card h3 {
  color: var(--white);
  margin-bottom: .55rem;
  font-size: 1.1rem;
}

.why-card p {
  color: rgba(255, 255, 255, .55);
  font-size: .88rem;
  line-height: 1.65;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
#testimonials {
  background:
    linear-gradient(rgba(247, 248, 252, .92), rgba(247, 248, 252, .92)),
    url('images/testimonial-bg.png') center / cover no-repeat;
  overflow: hidden;
  position: relative;
}

#testimonials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gray-200);
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 2rem;
}

.testimonials-track {
  display: flex;
  transition: transform 0.6s var(--ease);
}

.testimonial-card {
  min-width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 1rem;
}

.testimonial-item {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 3rem 2.5rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  position: relative;
  transition: var(--transition-slow);
}

.testimonial-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-300);
}

.testimonial-item::before {
  content: '“';
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  color: rgba(201, 168, 76, .08);
  line-height: 1;
}

.stars {
  color: var(--accent-500);
  font-size: .85rem;
  letter-spacing: 3px;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 2px;
}

.testimonial-item p {
  color: var(--text-dark);
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  font-family: 'Outfit', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: 0 4px 12px rgba(201, 168, 76, .3);
  border: 3px solid var(--white);
}

.author-info strong {
  display: block;
  color: var(--navy-800);
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: .15rem;
}

.author-info span {
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.slider-controls {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3.5rem;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gray-300);
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.slider-dot.active {
  background: var(--accent-500);
  transform: scale(1.4);
  box-shadow: 0 0 10px rgba(201, 168, 76, .4);
}

/* ============================================================
   CLIENT LOGOS
   ============================================================ */
#clients {
  background: var(--white);
  padding: 80px 0;
  border-bottom: 1px solid var(--gray-100);
}

.clients-label {
  text-align: center;
  color: var(--gray-400);
  font-family: 'Outfit', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .2em;
  margin-bottom: 3.5rem;
}

.clients-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(2rem, 5vw, 4rem);
}

.client-logo {
  opacity: .5;
  filter: grayscale(1);
  transition: var(--transition-slow);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--navy-800);
}

.client-logo:hover {
  opacity: 1;
  filter: grayscale(0);
  color: var(--accent-500);
  transform: scale(1.1);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta-section {
  background:
    linear-gradient(135deg, rgba(201, 168, 76, .96) 0%, rgba(240, 205, 122, .92) 100%),
    url('images/cta-bg.png') center / cover no-repeat;
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#cta-section::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.12'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4v-4H4v4H0v2h4v4h2v-4h4v-2H6zM36 4v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

#cta-section h2 {
  color: var(--navy-900);
  margin-bottom: 1.5rem;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
}

#cta-section p {
  color: var(--navy-800);
  max-width: 680px;
  margin: 0 auto 3rem;
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: .9;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .65);
  font-family: 'Outfit', sans-serif;
  position: relative;
}

#site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 168, 76, .2), transparent);
}

.footer-top {
  padding: 100px 0 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .8fr .8fr 1.2fr;
  gap: 4rem;
}

.footer-brand p {
  margin-top: 1.5rem;
  font-size: .95rem;
  line-height: 1.8;
  max-width: 320px;
}

.footer-social {
  display: flex;
  gap: .8rem;
  margin-top: 2rem;
}

.social-btn {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .7);
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--accent-500);
  color: var(--navy-900);
  border-color: var(--accent-500);
  transform: translateY(-5px);
  box-shadow: var(--shadow-gold);
}

.footer-col h4 {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-500);
}

.footer-col ul li {
  margin-bottom: .9rem;
}

.footer-col ul li a {
  color: rgba(255, 255, 255, .6);
  font-size: .95rem;
  transition: var(--transition);
  display: inline-block;
}

.footer-col ul li a:hover {
  color: var(--accent-500);
  transform: translateX(6px);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

.footer-contact-item i {
  color: var(--accent-500);
  margin-top: 5px;
  background: rgba(201, 168, 76, .1);
  padding: .6rem;
  border-radius: 10px;
  font-size: .9rem;
  flex-shrink: 0;
}

.footer-contact-item span {
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .07);
  padding: 2.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: .88rem;
}

.footer-bottom a {
  color: var(--accent-500);
  font-weight: 600;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

/* ============================================================
   INNER PAGE STYLES
   ============================================================ */

/* Page Banner */
.page-banner {
  background:
    linear-gradient(rgba(6, 14, 28, .92), rgba(6, 14, 28, .85)),
    url('images/hero-bg.png') center / cover no-repeat;
  padding: 160px 0 80px;
  text-align: center;
  border-bottom: 1px solid rgba(201, 168, 76, .2);
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
}

.breadcrumb {
  display: inline-flex;
  gap: .5rem;
  font-family: 'Outfit', sans-serif;
  font-size: .9rem;
  color: rgba(255, 255, 255, .5);
}

.breadcrumb a {
  color: var(--gold-400);
  font-weight: 600;
}

.breadcrumb span {
  opacity: .5;
}

/* About Page Detail */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.about-image-block {
  position: relative;
}

.about-image-decor {
  position: absolute;
  top: -2rem;
  left: -2rem;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, var(--accent-500) 10%, transparent 10%);
  background-size: 15px 15px;
  z-index: -1;
}

.about-image-block img {
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-xl);
  border: 4px solid var(--white);
}

.about-badge-float {
  position: absolute;
  bottom: -2.5rem;
  right: -2rem;
  background: linear-gradient(135deg, var(--accent-500), var(--gold-200));
  border-radius: var(--r-xl);
  padding: 2rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--white);
  z-index: 5;
}

.about-badge-float strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  color: var(--navy-900);
  line-height: 1;
}

.about-badge-float span {
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .15em;
  color: rgba(6, 14, 28, .7);
}

/* Service Detail Cards */
.service-detail-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  margin-bottom: 5rem;
  transition: var(--transition-slow);
  border: 1px solid var(--gray-100);
}

.service-detail-card:hover {
  transform: scale(1.02);
}

.service-detail-card:nth-child(even) {
  direction: rtl;
}

.service-detail-card:nth-child(even)>* {
  direction: ltr;
}

.service-detail-image {
  background: var(--navy-800);
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.service-detail-image i {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 7rem;
  color: var(--accent-500);
  opacity: .2;
}

.service-detail-content {
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-detail-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.benefits-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 2rem 0;
}

@media (max-width: 600px) {
  .benefits-list {
    grid-template-columns: 1fr;
  }
}

.benefits-list li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  color: var(--text-dark);
}

.benefits-list li i {
  color: var(--accent-500);
  font-size: 1.1rem;
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
#newsletter {
  background: var(--gray-50);
  padding: 80px 0;
}

.newsletter-inner {
  background:
    linear-gradient(135deg, var(--navy-800) 0%, var(--navy-700) 60%, var(--navy-600) 100%);
  border-radius: var(--r-2xl);
  padding: 4.5rem;
  display: flex;
  align-items: center;
  gap: 5rem;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.newsletter-inner::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201, 168, 76, .1) 0%, transparent 70%);
  border-radius: 50%;
}

.newsletter-text h3 {
  color: var(--white);
  font-size: 2.2rem;
  margin-bottom: .8rem;
}

.newsletter-text p {
  color: rgba(255, 255, 255, .6);
  font-size: 1.1rem;
  margin: 0;
}

.newsletter-form {
  flex: 1;
  display: flex;
  gap: 1rem;
  background: rgba(255, 255, 255, .05);
  padding: .65rem;
  border-radius: var(--r-lg);
  border: 1px solid rgba(255, 255, 255, .1);
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 1rem 1.5rem;
  color: var(--white);
  font-size: 1rem;
  outline: none;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .4);
}

/* ============================================================
   CHATBOT
   ============================================================ */
#chatbot-toggle {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 1001;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  border-radius: var(--r-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-900);
  font-size: 1.25rem;
  border: none;
  box-shadow: 0 12px 32px rgba(201, 168, 76, .4);
  transition: var(--ease-bounce) .4s;
}

#chatbot-toggle:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 16px 48px rgba(201, 168, 76, .55);
}

#chatbot-window {
  position: fixed;
  bottom: 7.5rem;
  right: 2.5rem;
  z-index: 1000;
  width: 380px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f7fb 100%);
  border-radius: var(--r-xl);
  box-shadow: 0 24px 80px rgba(6, 14, 28, .35);
  border: 1px solid rgba(201, 168, 76, .25);
  transform: translateY(30px) scale(.95);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-slow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#chatbot-window.open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

.chatbot-header {
  background: linear-gradient(135deg, #0b1324 0%, #0e1a33 55%, #0b1324 100%);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.chatbot-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .15);
  background: rgba(255, 255, 255, .06);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, .15);
  transform: scale(1.03);
}

.chatbot-status {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
}

.chatbot-header-info strong {
  color: var(--white);
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  letter-spacing: .02em;
}

.chatbot-header-info span {
  color: var(--accent-300);
  font-family: 'Outfit', sans-serif;
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .1em;
}

.chatbot-messages {
  height: auto;
  max-height: 380px;
  background:
    radial-gradient(1200px 280px at 20% -10%, rgba(201, 168, 76, .08), transparent 60%),
    var(--gray-50);
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  flex: 1;
  min-height: 0;
}

.chat-msg {
  max-width: 85%;
  padding: 1.1rem 1.4rem;
  border-radius: var(--r-lg);
  font-size: .95rem;
  line-height: 1.6;
  font-family: 'Outfit', sans-serif;
}

.chat-msg.bot {
  background: #ffffff;
  color: var(--text-dark);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 10px 24px rgba(6, 14, 28, .08);
  border: 1px solid rgba(6, 14, 28, .06);
}

.chat-msg.user {
  background: linear-gradient(135deg, #0b1324 0%, #152446 100%);
  color: var(--white);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
  box-shadow: 0 10px 24px rgba(6, 14, 28, .18);
}

.chatbot-input {
  padding: 1.5rem;
  background: #ffffff;
  display: flex;
  gap: .75rem;
  border-top: 1px solid rgba(6, 14, 28, .08);
}

.chatbot-input input {
  flex: 1;
  background: #f6f7fb;
  border: 1px solid rgba(6, 14, 28, .08);
  border-radius: var(--r-md);
  padding: .85rem 1.25rem;
  outline: none;
  font-family: 'Outfit', sans-serif;
}

.chatbot-input button {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  color: var(--navy-900);
  border: none;
  border-radius: var(--r-md);
  font-size: 1.2rem;
  box-shadow: 0 10px 22px rgba(201, 168, 76, .35);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }

  .hero-visual {
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .jobs-page-layout {
    grid-template-columns: 1fr;
    display: block !important;
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .jobs-filters-sidebar {
    position: fixed !important;
    top: 0;
    left: -100%;
    width: 100% !important;
    max-width: 420px;
    height: 100vh;
    z-index: 2100;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 0 !important;
    background: var(--navy-900) !important;
    padding: 2.5rem !important;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .jobs-filters-sidebar h3,
  .jobs-filters-sidebar h4,
  .jobs-filters-sidebar label,
  .jobs-filters-sidebar select {
    color: var(--white) !important;
  }

  .jobs-filters-sidebar select {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
  }

  .jobs-filters-sidebar.open {
    left: 0 !important;
  }

  #toggle-filters {
    display: flex !important;
  }

  #close-filters {
    display: block !important;
    color: var(--white) !important;
  }

  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

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

  .newsletter-inner {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }
}

@media (min-width: 1025px) {
  #toggle-filters {
    display: none !important;
  }
}

@media (max-width: 640px) {
  .jobs-results-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .jobs-results-header>div {
    width: 100%;
    justify-content: space-between;
  }

  #toggle-filters,
  .jobs-results-header .btn.btn-primary {
    flex: 1 1 0;
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --section-pad: 60px;
  }

  body {
    overflow-x: hidden;
  }

  .container {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.15;
  }

  #hero {
    overflow-x: hidden;
  }

  .hero-badge {
    width: 100%;
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
    font-size: .6rem;
    letter-spacing: .1em;
    padding: .45rem .85rem;
  }

  .hero-subtitle {
    font-size: 0.95rem !important;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--navy-900);
    flex-direction: column;
    padding: 3rem 2rem;
    gap: 1.5rem;
    height: calc(100vh - 70px);
    transform: translateX(100%);
    transition: var(--transition-slow);
    z-index: 999;
    overflow-y: auto;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .services-grid,
  .jobs-grid,
  .team-grid,
  .why-grid,
  .hero-stats,
  .testimonial-card,
  .pricing-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-stats {
    gap: 1rem;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-stat-item {
    padding: 1rem !important;
    border: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  }

  .stat-item:last-child {
    border-bottom: none !important;
  }

  .hero-card {
    padding: 1.75rem !important;
    border-radius: 20px !important;
  }

  .hero-card h3 {
    font-size: 1.7rem !important;
    margin-bottom: 1rem !important;
  }

  .hero-visual {
    display: none;
  }

  .hero-actions,
  .cta-buttons {
    flex-direction: row;
    align-items: center;
    gap: .75rem !important;
    flex-wrap: nowrap;
  }

  .hero-actions .btn,
  .cta-buttons .btn {
    width: auto;
    flex: 1 1 0;
    justify-content: center;
  }

  .service-detail-card {
    grid-template-columns: 1fr !important;
    margin-bottom: 2.5rem;
  }

  .service-detail-image {
    min-height: 250px !important;
  }

  .service-detail-content {
    padding: 2rem 1.5rem !important;
    /* REDUCED PADDING */
    text-align: center;
  }

  .service-detail-content h2 {
    font-size: 1.75rem !important;
  }

  .benefits-list {
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  .newsletter-form {
    flex-direction: column;
    padding: 1.25rem !important;
  }

  .newsletter-form input {
    width: 100% !important;
    margin-bottom: 1rem;
    padding: 0.8rem !important;
  }

  .newsletter-form button {
    width: 100% !important;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  #chatbot-window {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    right: 0;
    bottom: 0;
    border-radius: 0;
    transform: translateY(0) scale(1);
  }

  #chatbot-window.open {
    opacity: 1;
  }

  .chatbot-header {
    padding: 1.25rem 1.5rem;
  }

  .chatbot-messages {
    max-height: none;
    padding: 1.5rem;
  }

  .chatbot-input {
    padding: 1rem;
  }

  #chatbot-toggle {
    right: 1.25rem;
    bottom: 1.25rem;
    width: 46px;
    height: 46px;
    font-size: 1.1rem;
  }

  .chatbot-close {
    width: 32px;
    height: 32px;
  }
}

body.chatbot-open #chatbot-toggle {
  opacity: 0;
  pointer-events: none;
  transform: scale(.9);
}


/* ============================================================
   JOBS LISTING PAGE
   ============================================================ */
.jobs-page-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 3.5rem;
  margin-top: 3rem;
}

@media (min-width: 1025px) {
  .jobs-page-layout {
    display: grid !important;
    grid-template-columns: 320px 1fr !important;
    align-items: start;
  }
}

.jobs-filters-sidebar {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  height: fit-content;
  position: static;
  top: auto;
}

.filter-group {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--gray-100);
  padding-bottom: 1.5rem;
}

.filter-group:last-child {
  border-bottom: none;
}

.filter-group h4 {
  color: var(--navy-800);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.filter-group label {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--text-dark);
  font-size: .92rem;
  cursor: pointer;
  margin-bottom: .85rem;
  transition: var(--transition);
}

.filter-group label:hover {
  color: var(--accent-500);
}

.filter-group input[type="checkbox"] {
  accent-color: var(--accent-500);
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.filter-group select,
.filter-group input[type="text"] {
  width: 100%;
  padding: .9rem 1.1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: .95rem;
  color: var(--text-dark);
  background: var(--gray-50);
  outline: none;
  transition: var(--transition);
}

.filter-group input,
.filter-group select,
.filter-group textarea {
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .filter-group > div[style*="display:flex"] {
    flex-wrap: wrap;
  }

  .filter-group > div[style*="display:flex"] input {
    flex: 1 1 100%;
    min-width: 0;
  }
}

/* ============================================================
   JOBS FILTER OVERLAY (MOBILE/TABLET FIXES)
   ============================================================ */
@media (max-width: 1024px) {
  .jobs-page-layout {
    grid-template-columns: 1fr;
    display: block !important;
    position: relative;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .jobs-filters-sidebar {
    position: fixed !important;
    top: 0 !important;
    left: -100%;
    width: 100% !important;
    max-width: 420px;
    height: 100vh !important;
    max-height: 100vh !important;
    z-index: 2100;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 !important;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    transition: left 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin: 0 !important;
    background: var(--navy-900) !important;
    padding: 2.5rem !important;
    color: var(--white);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .jobs-filters-sidebar.open {
    left: 0 !important;
  }

  .jobs-filters-sidebar h3,
  .jobs-filters-sidebar h4,
  .jobs-filters-sidebar label,
  .jobs-filters-sidebar select,
  .jobs-filters-sidebar a {
    color: var(--white) !important;
  }

  .jobs-filters-sidebar select {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
  }

  .jobs-filters-sidebar .filter-group {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  #toggle-filters {
    display: flex !important;
  }

  #close-filters {
    display: block !important;
    color: var(--white) !important;
  }

  .jobs-filters-sidebar h3 {
    display: none;
  }

  .jobs-filters-sidebar .section-eyebrow {
    font-size: .8rem;
    letter-spacing: .2em;
  }
}

.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, .12);
}

/* ============================================================
   GLOBAL SELECT / DROPDOWN STYLES
   ============================================================ */
select {
  color: var(--text-dark);
  background-color: var(--white);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  padding: .85rem 1.1rem;
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  outline: none;
  transition: var(--transition);
}

select:focus {
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, .12);
}

select option,
select optgroup {
  color: var(--text-dark);
  background-color: var(--white);
}

select option:disabled {
  color: var(--text-muted);
}

/* Custom select UI */
.custom-select {
  position: relative;
}

.custom-select-native {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.custom-select-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 1.1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-sm);
  background: var(--white);
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  cursor: pointer;
  transition: var(--transition);
}

.custom-select-trigger:focus {
  outline: none;
  border-color: var(--accent-500);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, .12);
}

.custom-select-label {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-arrow {
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: .7;
}

.custom-select-options {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: .4rem;
  display: none;
  z-index: 50;
  max-height: 240px;
  overflow-y: auto;
}

.custom-select.open .custom-select-options {
  display: block;
}

.custom-select-option {
  width: 100%;
  text-align: left;
  border: none;
  background: transparent;
  padding: .6rem .8rem;
  border-radius: 8px;
  color: var(--text-dark);
  font-family: 'Outfit', sans-serif;
  font-size: .92rem;
  cursor: pointer;
  transition: var(--transition);
}

.custom-select-option:hover {
  background: rgba(201, 168, 76, .12);
  color: var(--navy-900);
}

.custom-select-option.is-selected {
  background: rgba(201, 168, 76, .18);
  color: var(--navy-900);
  font-weight: 700;
}

.custom-select-option.is-disabled {
  color: var(--text-muted);
  cursor: not-allowed;
}

@media (max-width: 1024px) {
  .jobs-filters-sidebar .custom-select-trigger {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
    color: var(--white);
  }

  .jobs-filters-sidebar .custom-select-options {
    background: #101a2f;
    border-color: rgba(255, 255, 255, 0.12);
  }

  .jobs-filters-sidebar .custom-select-option {
    color: var(--white);
  }

  .jobs-filters-sidebar .custom-select-option:hover {
    background: rgba(201, 168, 76, .18);
    color: var(--white);
  }

  .jobs-filters-sidebar .custom-select-option.is-selected {
    background: rgba(201, 168, 76, .28);
    color: var(--white);
  }
}

.jobs-results-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: var(--gray-50);
  padding: 1.25rem 2rem;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
}

.jobs-count {
  color: var(--text-dark);
  font-size: .95rem;
  font-weight: 600;
}

.jobs-results-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.jobs-results {
  min-width: 0;
}

/* ============================================================
   DASHBOARD
   ============================================================ */
.dashboard-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  min-height: 100vh;
  background: var(--gray-50);
  margin-top: 0;
}

.dashboard-sidebar {
  background: var(--navy-900);
  padding: 3rem 1.5rem;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.sidebar-user {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.sidebar-avatar {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--navy-900);
  font-weight: 800;
  margin: 0 auto 1rem;
  border: 4px solid rgba(255, 255, 255, .1);
}

.sidebar-user strong {
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  display: block;
}

.sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: rgba(255, 255, 255, .6);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-md);
  margin-bottom: .5rem;
  transition: var(--transition);
}

.sidebar-nav a:hover,
.sidebar-nav a.active {
  color: var(--white);
  background: rgba(255, 255, 255, .08);
}

.sidebar-nav a.active {
  color: var(--accent-500);
  background: rgba(201, 168, 76, .1);
  border-left: 4px solid var(--accent-500);
}

.dashboard-main {
  padding: 4rem;
}

@media (max-width: 1024px) {
  .dashboard-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-sidebar {
    position: static;
    height: auto;
    overflow: visible;
  }

  .dashboard-main {
    padding: 1.5rem !important;
  }
}

@media (max-width: 768px) {
  .dashboard-sidebar {
    padding: 2rem 1.25rem;
  }

  .sidebar-user {
    margin-bottom: 2rem;
  }

  .dashboard-stats {
    grid-template-columns: 1fr !important;
  }

  .dashboard-card {
    padding: 1.5rem !important;
  }

  .dashboard-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: .75rem;
  }

  .dashboard-main table {
    display: table;
    width: 100%;
  }
}

.dashboard-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.dash-stat-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: var(--transition);
}

.dash-stat-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.dash-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--navy-800);
}

.dash-stat-label {
  color: var(--text-muted);
  font-family: 'Outfit', sans-serif;
  font-size: .85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ============================================================
   AUTH PAGES
   ============================================================ */
.auth-wrapper {
  min-height: 100vh;
  background:
    linear-gradient(rgba(6, 14, 28, .95), rgba(6, 14, 28, .88)),
    url('images/hero-bg.png') center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 4.5rem 4rem;
  width: 100%;
  max-width: 520px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  position: relative;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(135deg, var(--accent-500), transparent, var(--accent-500));
  z-index: -1;
  border-radius: calc(var(--r-2xl) + 10px);
  opacity: .2;
}

.auth-logo {
  text-align: center;
  margin-bottom: 3rem;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.auth-modal.open {
  display: flex;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(2px);
}

.auth-modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 520px);
  max-height: 90vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.auth-modal-close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  color: var(--navy-900);
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 768px) {
  .auth-modal-card {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .page-template-page-post-job .auth-card {
    padding: 1rem !important;
  }

  .page-template-page-post-job .dashboard-main .container {
    padding-left: 0.25rem;
    padding-right: 0.25rem;
  }

  .page-template-page-post-job .dashboard-main {
    padding: 1rem !important;
  }
}

.auth-logo strong {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  color: var(--navy-900);
}

.auth-tabs {
  display: flex;
  background: var(--gray-100);
  border-radius: var(--r-lg);
  padding: .4rem;
  margin-bottom: 2.5rem;
}

.auth-tab {
  flex: 1;
  padding: .85rem;
  text-align: center;
  border-radius: var(--r-md);
  font-family: 'Outfit', sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  color: var(--gray-500);
  border: none;
  background: none;
}

.auth-tab.active {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .auth-wrapper {
    padding: 1.25rem;
  }

  .auth-card {
    padding: 2.5rem 1.5rem;
    max-width: 100%;
  }

  .auth-logo strong {
    font-size: 1.9rem;
  }

  .auth-tabs {
    margin-bottom: 2rem;
  }
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 3rem;
  align-items: stretch;
}

.contact-info-card {
  background: var(--navy-900);
  border-radius: var(--r-2xl);
  padding: 4rem;
  color: var(--white);
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(201, 168, 76, .1);
  border-radius: 50%;
}

.contact-detail {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.contact-detail-icon {
  width: 54px;
  height: 54px;
  background: rgba(201, 168, 76, .12);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-500);
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid rgba(201, 168, 76, .25);
}

.contact-detail-text strong {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: .25rem;
}

.contact-detail-text span {
  color: rgba(255, 255, 255, .6);
  font-size: .95rem;
  line-height: 1.6;
}

.contact-form-card {
  background: var(--white);
  border-radius: var(--r-2xl);
  padding: 4.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-100);
}

/* ============================================================
   ANIMATIONS & EFFECTS
   ============================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

.ani-fade-up {
  animation: fadeInUp 1s var(--ease) both;
}

.ani-fade-in {
  animation: zoomIn .8s var(--ease) both;
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--gray-50);
}

::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 5px;
  border: 3px solid var(--gray-50);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-500);
}


/* ============================================================
   ABOUT PAGE: MISSION & VISION
   ============================================================ */
.mission-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 3rem;
}

.mv-card {
  padding: 4rem;
  border-radius: var(--r-2xl);
  position: relative;
  overflow: hidden;
  transition: var(--transition-slow);
}

.mv-card.mission {
  background: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-xl);
}

.mv-card.vision {
  background: var(--white);
  color: var(--navy-900);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.mv-card:hover {
  transform: translateY(-10px);
}

.mv-icon {
  font-size: 3rem;
  margin-bottom: 2rem;
  display: block;
}

.mv-card h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: inherit;
}

.mv-card p {
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.85;
}

/* TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-300);
}

.team-avatar {
  width: 100px;
  height: 100px;
  background: var(--gray-50);
  border-radius: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  margin: 0 auto 1.75rem;
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.team-card:hover .team-avatar {
  background: var(--navy-900);
  transform: rotate(5deg) scale(1.1);
}

.team-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.team-card .team-role {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-500);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.team-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   CONTACT PAGE: MAP & GRID REFINEMENTS
   ============================================================ */
.contact-map {
  margin-top: 5rem;
  border-radius: var(--r-2xl);
  overflow: hidden;
  height: 480px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.2) contrast(1.1);
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .mission-vision-grid {
    grid-template-columns: 1fr;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }

  .contact-info-card,
  .contact-form-card,
  .mv-card {
    padding: 2.5rem 1.5rem;
  }

  .contact-map {
    height: 320px;
  }
}

/* ============================================================
   BLOG STYLES
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.blog-card-image {
  height: 240px;
  background: var(--navy-900);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}

.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.blog-card:hover .blog-card-image img {
  transform: scale(1.1);
}

.blog-card-body {
  padding: 2.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-category {
  display: inline-block;
  padding: 0.35rem 1rem;
  background: var(--gold-100);
  color: var(--gold-900);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  width: fit-content;
}

.blog-card h3 {
  font-size: 1.4rem;
  line-height: 1.4;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.blog-card h3 a:hover {
  color: var(--accent-500);
}

.blog-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  flex: 1;
}

.blog-meta {
  display: flex;
  gap: 1.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--gray-100);
  color: var(--gray-400);
  font-size: 0.8rem;
  font-family: 'Outfit', sans-serif;
}

.blog-meta i {
  color: var(--accent-500);
}

@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   ALERTS & FEEDBACK
   ============================================================ */
.alert {
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-md);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Outfit', sans-serif;
  line-height: 1.5;
}

.alert-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.alert-error,
.alert-danger {
  background: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}

.alert-info {
  background: #e3f2fd;
  color: #1565c0;
  border: 1px solid #bbdefb;
}

.alert-warning {
  background: #fff8e1;
  color: #f57f17;
  border: 1px solid #ffecb3;
}

.alert i {
  font-size: 1.15rem;
}

/* ============================================================
   PAGE BANNER REFINEMENTS
   ============================================================ */
.page-banner {
  background:
    linear-gradient(rgba(6, 14, 28, 0.94), rgba(6, 14, 28, 0.88)),
    url('images/hero-bg.png') center / cover no-repeat;
  padding: 120px 0 80px;
  text-align: center;
  color: var(--white);
  border-bottom: 3px solid var(--accent-500);
}

.page-banner h1 {
  color: var(--white);
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3rem);
}

.breadcrumb {
  font-family: 'Outfit', sans-serif;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.05em;
}

.breadcrumb a {
  color: var(--gold-400);
  font-weight: 600;
  transition: var(--transition);
}

.breadcrumb a:hover {
  color: var(--white);
}

.breadcrumb span {
  margin: 0 0.75rem;
  color: rgba(255, 255, 255, 0.3);
}

/* SEARCH RESULTS Header */
.search-results-header {
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--light-gray);
}

.search-results-header h2 {
  font-size: 1.6rem;
  color: var(--navy-800);
}

.search-results-header em {
  color: var(--accent-500);
  font-style: normal;
}

/* ============================================================
   FORM ELEMENTS: PREMIUM REFINEMENT
   ============================================================ */
.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 1rem 1.25rem;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--accent-500);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(201, 168, 76, 0.1);
}

.profile-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .profile-form-grid {
    grid-template-columns: 1fr;
  }
}

.form-row {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 0.75rem;
  }
}

/* ============================================================
   BLOG GRID REFINEMENT
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--r-xl);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* CATEGORY COLORS */
.blog-category {
  background: var(--gold-100);
  color: var(--gold-900);
}

/* PAGINATION STYLES */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 3rem;
}

.pagination .page-numbers {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--navy-800);
  border: 1px solid var(--gray-200);
  font-weight: 700;
  transition: var(--transition);
}

.pagination .page-numbers:hover {
  background: var(--navy-900);
  color: var(--white);
}

.pagination .page-numbers.current {
  background: var(--accent-500);
  color: var(--navy-900);
  border-color: var(--accent-500);
}

/* ============================================================
   EXTRA UTILITIES
   ============================================================ */
.text-center {
  text-align: center;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-2 {
  margin-top: 2rem;
}

.mt-3 {
  margin-top: 3rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mb-3 {
  margin-bottom: 3rem;
}

/* REFIX FOR MODAL */
#apply-modal .auth-card {
  border-radius: 24px;
  position: relative;
  background: var(--white);
  padding: 4rem;
}

/* FIX FOR BLOG IMAGES */
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   SIDEBAR & WIDGETS
   ============================================================ */
.sidebar-box {
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  margin-bottom: 2rem;
}

.sidebar-box h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--accent-500);
  display: inline-block;
}

/* SEARCH FORM REFINEMENT */
.search-form {
  display: flex;
  gap: .6rem;
  align-items: center;
  flex-wrap: nowrap;
}

.search-form input[type="search"] {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.85rem 1.1rem;
  border-radius: var(--r-sm);
  border: 1.5px solid var(--gray-200);
  background: var(--gray-50);
  color: var(--text-dark);
  font-size: .95rem;
  outline: none;
  transition: var(--transition);
}

.search-form button {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  color: var(--navy-900);
  padding: .75rem 1rem;
  min-width: 44px;
  border-radius: var(--r-md);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(201, 168, 76, .28);
  transition: var(--transition);
}

.search-form button,
.search-form input[type="submit"] {
  display: none !important;
}

.search-form input[type="submit"] {
  background: linear-gradient(135deg, var(--accent-500), var(--accent-300));
  color: var(--navy-900);
  padding: .75rem 1rem;
  min-width: 44px;
  border-radius: var(--r-md);
  border: none;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  letter-spacing: .02em;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(201, 168, 76, .28);
  transition: var(--transition);
}

.search-form button:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(201, 168, 76, .35);
}

.search-form input[type="submit"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(201, 168, 76, .35);
}

.search-form button:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, .18);
}

.search-form input[type="submit"]:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(201, 168, 76, .18);
}

@media (max-width: 1280px) {
  .search-form {
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 640px) {
  .search-form {
    flex-direction: column;
    align-items: stretch;
  }

  .search-form button {
    width: 100%;
  }
}

/* SINGLE POST STYLES */
.single-post-header {
  text-align: center;
  margin-bottom: 4rem;
}

.single-post-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--gray-700);
  max-width: 800px;
  margin: 0 auto;
}

.post-summary {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
  margin: 0 auto 2.5rem;
}

.post-summary p {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.05rem;
  line-height: 1.75;
}

.single-post-footer {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
}

.share-block {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.share-block strong {
  color: var(--navy-800);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.share-buttons {
  display: flex;
  gap: .6rem;
}

.share-buttons .social-btn {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  font-size: .85rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--navy-800);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.share-buttons .social-btn:hover {
  background: var(--navy-900);
  color: var(--white);
  transform: translateY(-2px);
}

.related-insights {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
}

.related-insights-header {
  text-align: left;
  margin-bottom: 3rem;
}

.related-insights-header h2 {
  font-size: 1.9rem;
}

.related-insights .blog-card {
  border-radius: 18px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 768px) {
  .single-post-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

.single-post-content p {
  margin-bottom: 1.75rem;
}

.single-post-content h2,
.single-post-content h3 {
  margin: 2.5rem 0 1.25rem;
}

.single-post-content img {
  border-radius: var(--r-lg);
  margin: 2.5rem 0;
  box-shadow: var(--shadow-md);
}

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

.faq-item {
  background: var(--white);
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-200);
  padding: 0;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--gold-400);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  padding: 1.75rem 2.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: var(--white);
  transition: var(--transition);
}

.faq-question h4 {
  margin: 0;
  font-size: 1.15rem;
  color: var(--navy-800);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}

.faq-icon {
  font-size: 1.4rem;
  color: var(--gold-500);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0, 1, 0, 1);
  background: var(--gray-50);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  transition: max-height 0.4s cubic-bezier(1, 0, 1, 0);
}

.faq-answer p {
  padding: 0 2.25rem 2rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ============================================================
   BLOG CARD (CYLINDER / HORIZONTAL)
   ============================================================ */
.blog-grid-horizontal {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-pills .btn {
  padding: 0.45rem 1.1rem;
  font-size: 0.82rem;
}

.blog-pills .btn-outline {
  color: var(--navy-800);
  background: var(--white);
  border-color: var(--gray-200);
}

.blog-pills .btn-outline:hover {
  background: var(--navy-900);
  color: var(--white);
  border-color: var(--navy-900);
}

.blog-pills .btn-dark {
  color: var(--white);
}

.blog-pills .btn:hover {
  color: var(--white);
}

.blog-pills .btn-outline:hover,
.blog-pills .btn-outline:focus,
.blog-pills .btn-outline:active {
  color: var(--white) !important;
}

.blog-pills a.btn-outline:hover,
.blog-pills a.btn-outline:focus,
.blog-pills a.btn-outline:active,
.blog-pills a.btn:hover,
.blog-pills a.btn:focus,
.blog-pills a.btn:active {
  color: var(--white) !important;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
  align-items: start;
}

.blog-sidebar {
  width: 100%;
}

.blog-card-cylinder {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--white);
  border-radius: 16px;
  /* Cylinder ends */
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: var(--transition-slow);
  box-shadow: var(--shadow-sm);
}

.blog-card-cylinder:hover {
  transform: translateX(10px);
  border-color: var(--gold-400);
  box-shadow: var(--shadow-md);
}

.blog-card-cyl-img {
  height: 100%;
  min-height: 240px;
  position: relative;
}

.blog-card-cyl-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-card-cyl-body {
  padding: 2.5rem 4rem 2.5rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-card-cyl-body .blog-category {
  display: inline-block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-500);
  margin-bottom: 0.75rem;
}

@media (max-width: 1024px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }

  .blog-grid-horizontal {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .blog-pills {
    display: none !important;
  }

  .blog-filter-select {
    margin-bottom: 1.5rem;
  }

  .blog-card-cylinder {
    grid-template-columns: 1fr;
    border-radius: 5px;
  }

  .blog-card-cyl-img {
    min-height: 200px;
  }

  .blog-card-cyl-body {
    padding: 1.75rem;
  }

  .blog-pills {
    gap: .5rem;
  }

  .blog-pills .btn {
    font-size: .62rem;
    padding: 0.35rem 0.7rem;
    letter-spacing: .1em;
  }
}

@media (min-width: 769px) {
  .blog-filter-select {
    display: none !important;
  }

  .blog-filter-select .custom-select {
    display: none !important;
  }
}

.blog-card-cyl-body h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.blog-card-cyl-body p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-cyl-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--gray-400);
  margin-bottom: 1.5rem;
}

.blog-cyl-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--navy-900);
  text-decoration: none;
  transition: var(--transition);
}

.blog-cyl-more:hover {
  color: var(--gold-500);
  gap: 0.8rem;
}

@media (max-width: 850px) {
  .blog-card-cylinder {
    grid-template-columns: 1fr;
    border-radius: 5px;
  }

  .blog-card-cyl-img {
    height: 200px;
  }

  .blog-card-cyl-body {
    padding: 2rem;
  }
}

/* ============================================================
   UTILITY: PAGE BANNER
   ============================================================ */
.page-banner {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 60%, var(--navy-800) 100%);
  padding: 7rem 0 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.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='%23c9a84c' 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");
  pointer-events: none;
  opacity: 0.6;
}

.page-banner h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
}

.page-banner .breadcrumb {
  color: rgba(255, 255, 255, .55);
  font-family: 'Outfit', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  position: relative;
  z-index: 1;
}

.page-banner .breadcrumb a {
  color: var(--gold-400);
}

.page-banner .breadcrumb span {
  margin: 0 0.5rem;
  opacity: 0.5;
}

/* ============================================================
   UTILITY: STATUS BADGES
   ============================================================ */
.status-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.status-pending {
  background: #fef3c7;
  color: #92400e;
}

.status-approved {
  background: #d1fae5;
  color: #065f46;
}

.status-rejected {
  background: #fee2e2;
  color: #991b1b;
}

.status-active {
  background: #dbeafe;
  color: #1e40af;
}

.status-closed {
  background: #f3f4f6;
  color: #4b5563;
}

.status-processed {
  background: #e0f2fe;
  color: #075985;
}

.status-paid {
  background: #d1fae5;
  color: #065f46;
}

.status-shortlisted {
  background: #ede9fe;
  color: #5b21b6;
}

.status-hired {
  background: #d1fae5;
  color: #065f46;
}

.status-reviewed {
  background: #fef9c3;
  color: #713f12;
}

/* ============================================================
   UTILITY: ALERTS
   ============================================================ */
.alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.alert i {
  flex-shrink: 0;
  margin-top: 2px;
}

.alert-success {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alert-danger,
.alert-error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

.alert-info {
  background: #dbeafe;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.alert-warning {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

/* ============================================================
   UTILITY: DASHBOARD CARD
   ============================================================ */
.dashboard-card {
  background: var(--white);
  border-radius: var(--r-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-100);
  transition: var(--transition);
}

.dashboard-card:hover {
  box-shadow: var(--shadow-md);
}

.dashboard-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  gap: 1rem;
}

.dashboard-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
}

/* ============================================================
   UTILITY: TABLE STYLES (DASHBOARD)
   ============================================================ */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-radius: var(--r-lg);
  border: 1px solid var(--gray-100);
  -webkit-overflow-scrolling: touch;
  display: block;
}

.dashboard-main table,
.table-responsive table {
  width: 100%;
  border-collapse: collapse;
}

.table-responsive table {
  min-width: 720px;
  width: 100%;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 768px) {
  .dashboard-main {
    max-width: 100%;
    overflow-x: hidden;
  }

  .table-responsive {
    max-width: 100vw;
    margin-left: 0;
    margin-right: 0;
  }

  .auth-card,
  .dashboard-card,
  .dashboard-stats {
    width: 100% !important;
    max-width: 100% !important;
  }

  .auth-card {
    padding: 1.5rem !important;
  }

  .auth-card form > div[style*="display:flex"] {
    flex-wrap: wrap;
  }

  .auth-card form > div[style*="display:flex"] .btn {
    width: 100%;
    flex: 1 1 100%;
    justify-content: center;
    white-space: normal;
  }
}

.dashboard-main table th,
.table-responsive table th {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: rgba(255, 255, 255, 0.8);
  padding: 0.85rem 1.25rem;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  white-space: nowrap;
}

.dashboard-main table td,
.table-responsive table td {
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.9rem;
  color: var(--text-dark);
  vertical-align: middle;
}

.dashboard-main table tr:last-child td,
.table-responsive table tr:last-child td {
  border-bottom: none;
}

.dashboard-main table tr:hover td,
.table-responsive table tr:hover td {
  background: var(--gray-50);
}

/* ============================================================
   UTILITY: FORM CONTROLS (Payroll, Pricing forms)
   ============================================================ */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gray-600);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--r-md);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.form-control::placeholder {
  color: var(--gray-400);
}

/* ============================================================
   PAYROLL PAGE SPECIFICS
   ============================================================ */
.payroll-tab-bar {
  display: flex;
  gap: 0.5rem;
  background: var(--gray-100);
  padding: 0.35rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.payroll-tab-btn {
  flex: 1;
  padding: 0.75rem 1.25rem;
  border-radius: 9px;
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-muted);
  border: none;
  background: transparent;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.payroll-tab-btn.active,
.payroll-tab-btn:hover {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-xs);
}

.payroll-tab-btn.active {
  color: var(--gold-700);
}

/* ============================================================
   PRICING PAGE
   ============================================================ */
@media (max-width: 900px) {
  div[style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr !important;
  }

  div[style*="grid-template-columns:repeat(4,1fr)"] {
    grid-template-columns: 1fr 1fr !important;
  }

  div[style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .info-grid {
    grid-template-columns: 1fr !important;
  }
}
