/* ============================================
   Record Group — Design System
   IT Services | Cyber Security | Cloud | AI
   Adapted from p30x design framework
   ============================================ */

/* --- Custom Properties --- */
:root {
  --black: #080a12;
  --dark: #0c0f1a;
  --surface: #141828;
  --surface-light: #1c2038;
  --border: rgba(255,255,255,0.08);
  --border-hover: rgba(245,166,35,0.4);
  --amber: #F5A623;
  --orange: #E65100;
  --gold: #FDB913;
  --neon: #FFB74D;
  --white: #f4f7fb;
  --muted: rgba(255,255,255,0.72);
  --gradient: linear-gradient(135deg, #F5A623, #E65100);
  --gradient-reverse: linear-gradient(135deg, #E65100, #F5A623);
  --glow-amber: 0 0 20px rgba(245,166,35,0.3), 0 0 60px rgba(245,166,35,0.1);
  --glow-strong: 0 0 20px rgba(245,166,35,0.5), 0 0 60px rgba(245,166,35,0.2), 0 0 120px rgba(245,166,35,0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-pill: 100px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', system-ui, -apple-system, sans-serif;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 400;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 20px rgba(245,166,35,0.15));
}
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 16px;
}
.section-label::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
.section-desc {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin-top: 16px;
}

/* --- Layout --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}
.section-dark { background: var(--dark); }
.section-surface { background: var(--surface); }
.text-center { text-align: center; }
.text-center .section-desc { margin-left: auto; margin-right: auto; }

/* --- Grid --- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.grid-6 { grid-template-columns: repeat(6, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5,5,8,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
}
.logo-accent {
  color: var(--amber);
  text-shadow: 0 0 10px rgba(245,166,35,0.6), 0 0 30px rgba(245,166,35,0.3), 0 0 60px rgba(245,166,35,0.15);
  animation: brandGlow 3s ease-in-out infinite;
  font-weight: 900;
  display: inline-block;
  line-height: 0.8;
  vertical-align: baseline;
  position: relative;
  top: 0.02em;
}
.logo img {
  max-height: 38px;
  filter: brightness(0) invert(1);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--amber);
  box-shadow: 0 0 8px var(--amber);
  transition: var(--transition);
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Nav CTA */
.nav-cta {
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--gradient);
  color: var(--black);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  cursor: pointer;
}
.nav-cta:hover {
  box-shadow: var(--glow-amber);
  transform: translateY(-2px);
}
.nav-cta::after { display: none !important; }

/* Mega Menu */
.nav-item-mega {
  position: relative;
}
.nav-item-mega > a::after {
  display: none;
}
.mega-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  background: rgba(12,15,26,0.98);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  padding-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  transform: translateX(-50%) translateY(4px);
  z-index: 1001;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(245,166,35,0.05);
}
.nav-item-mega:hover .mega-menu,
.nav-item-mega:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.mega-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}
.mega-category {
  margin-bottom: 16px;
}
.mega-category-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(245,166,35,0.15);
  display: flex;
  align-items: center;
  gap: 6px;
}
.mega-category-title svg {
  width: 14px;
  height: 14px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 2;
}
.mega-link {
  display: block;
  padding: 5px 8px;
  font-size: 0.82rem;
  color: var(--muted);
  border-radius: 6px;
  transition: var(--transition);
}
.mega-link:hover {
  color: var(--white);
  background: rgba(245,166,35,0.08);
  padding-left: 12px;
}
.mega-link::after { display: none !important; }

/* Mobile Menu */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
  padding: 4px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Video Background --- */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-video-wrap video,
.hero-video-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(5,5,8,0.35) 0%,
    rgba(5,5,8,0.55) 50%,
    rgba(5,5,8,0.92) 100%
  );
}

/* --- Image Sections --- */
.img-section {
  position: relative;
  overflow: hidden;
}
.img-section-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.img-section-bg img,
.img-section-bg picture { width: 100%; height: 100%; }
.img-section-bg img { object-fit: cover; }
.img-section-bg picture { display: block; }
.img-section-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(5,5,8,0.85), rgba(10,10,16,0.9));
}
.img-section > .container { position: relative; z-index: 1; }

.img-panel {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  min-height: 320px;
}
.img-panel picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.img-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 0.6s ease;
}
.img-panel:hover img { transform: scale(1.05); }
.img-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(5,5,8,0.7) 100%);
  pointer-events: none;
}

/* --- Gradient Sections --- */
.section-gradient {
  background: linear-gradient(180deg, var(--dark) 0%, #0d1117 50%, var(--dark) 100%);
}
.section-glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.04) 0%, transparent 60%), var(--dark);
}

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  background: rgba(245,166,35,0.08);
  border: 1px solid rgba(245,166,35,0.2);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}
.hero-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 10px var(--amber);
  animation: pulse 2s ease-in-out infinite;
}
.hero h1 { margin-bottom: 24px; }
.hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.8;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Hero Background */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(245,166,35,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245,166,35,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}
.hero-x {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(200px, 40vw, 500px);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 2px rgba(245,166,35,0.08);
  user-select: none;
  pointer-events: none;
  line-height: 1;
  animation: xFloat 20s ease-in-out infinite;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: orbFloat 15s ease-in-out infinite;
}
.orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.25), transparent 70%);
  top: -15%; right: -10%;
}
.orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,81,0,0.25), transparent 70%);
  bottom: -15%; left: -10%;
  animation-delay: -5s;
}
.orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(253,185,19,0.2), transparent 70%);
  top: 40%; left: 30%;
  animation-delay: -10s;
}

/* Hero Stats Strip */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.hero-stat-num {
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-stat-label {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 4px;
}

/* --- Page Hero (inner pages) --- */
.page-hero {
  padding: 180px 0 100px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero h1 { margin-bottom: 20px; }
.page-hero p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
}
.page-hero .hero-bg { opacity: 0.5; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gradient);
  color: var(--black);
}
.btn-primary:hover {
  box-shadow: var(--glow-amber);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--border);
  color: var(--white);
  background: rgba(255,255,255,0.03);
}
.btn-outline:hover {
  border-color: var(--amber);
  background: rgba(245,166,35,0.05);
  box-shadow: 0 0 20px rgba(245,166,35,0.1);
  transform: translateY(-2px);
}
.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}
.btn-link {
  color: var(--amber);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.btn-link:hover { gap: 10px; }
.btn-link svg { width: 16px; height: 16px; transition: var(--transition); }

/* --- Glass Card --- */
.glass-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 36px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 30px rgba(0,0,0,0.2);
}
.glass-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 40px rgba(245,166,35,0.1);
  background: rgba(255,255,255,0.08);
}
.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.3), transparent);
  opacity: 0;
  transition: var(--transition);
}
.glass-card:hover::before { opacity: 1; }

/* --- Icon Box --- */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(230,81,0,0.15));
  border: 1px solid rgba(245,166,35,0.15);
  box-shadow: 0 0 20px rgba(245,166,35,0.08);
}
.icon-box svg {
  width: 26px;
  height: 26px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* --- Glass Card Content --- */
.glass-card h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}
.glass-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.glass-card .btn-link { margin-top: 20px; }
.glass-card ul {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.glass-card ul li {
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.glass-card ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber);
  flex-shrink: 0;
  margin-top: 8px;
}

/* --- Industry / Service Category Card --- */
.industry-card {
  text-align: center;
  padding: 32px 20px;
}
.industry-card .icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
}
.industry-card h4 { font-size: 1rem; margin-bottom: 6px; }
.industry-card p { font-size: 0.85rem; color: var(--muted); }

/* --- Featured Service Card --- */
.featured-service-card {
  padding: 40px;
}
.featured-service-card .icon-box {
  width: 64px;
  height: 64px;
  margin-bottom: 24px;
}
.featured-service-card h3 { font-size: 1.3rem; margin-bottom: 12px; }
.featured-service-card p { margin-bottom: 16px; }

/* --- Timeline / Process --- */
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, var(--amber), var(--orange));
  opacity: 0.3;
}
.timeline-step {
  text-align: center;
  position: relative;
}
.timeline-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--surface);
  border: 2px solid rgba(245,166,35,0.2);
  color: var(--amber);
  position: relative;
  z-index: 1;
}
.timeline-step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.timeline-step p { color: var(--muted); font-size: 0.9rem; }

/* --- Featured / Split Section --- */
.featured-card {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.featured-visual {
  background: linear-gradient(135deg, var(--surface), var(--surface-light));
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 300px;
}
.featured-content {
  padding: 48px;
}
.featured-content .section-label { margin-bottom: 12px; }
.featured-content h3 { font-size: 1.5rem; margin-bottom: 16px; }
.featured-content p { color: var(--muted); margin-bottom: 24px; }
.featured-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.featured-stat {
  padding: 16px;
  background: rgba(245,166,35,0.05);
  border-radius: var(--radius-sm);
  text-align: center;
}
.featured-stat .num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--amber);
}
.featured-stat .label {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
}

/* --- Why Us / Trust Section --- */
.trust-section .split {
  align-items: start;
}
.trust-image {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
}
.trust-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 400px;
}
.trust-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.trust-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.trust-feature:hover {
  border-color: rgba(245,166,35,0.2);
  background: rgba(245,166,35,0.03);
}
.trust-feature .icon-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  margin-bottom: 0;
}
.trust-feature h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}
.trust-feature p {
  color: var(--muted);
  font-size: 0.88rem;
}

/* --- Testimonials --- */
.testimonial-card {
  padding: 36px;
}
.testimonial-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 16px;
}
.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: #fbbf24;
}
.testimonial-card blockquote {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--black);
}
.testimonial-name { font-weight: 600; font-size: 0.95rem; }
.testimonial-role { font-size: 0.8rem; color: var(--muted); }

/* --- Client Logos Row --- */
.client-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}
.client-logos img {
  max-height: 50px;
  filter: brightness(0) invert(1);
  opacity: 0.35;
  transition: all 0.4s ease;
}
.client-logos img:hover {
  opacity: 0.8;
  filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(245,166,35,0.3));
}

/* --- Areas We Cover --- */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 40px;
}
.area-tag {
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--muted);
  transition: var(--transition);
}
.area-tag:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(245,166,35,0.06);
  box-shadow: 0 0 15px rgba(245,166,35,0.08);
}

/* --- CTA Section --- */
.cta-section {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 100vw;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245,166,35,0.08), transparent 70%);
  pointer-events: none;
}
.cta-section h2 { margin-bottom: 16px; position: relative; }
.cta-section p {
  color: var(--muted);
  font-size: 1.15rem;
  margin-bottom: 36px;
  position: relative;
}
.cta-section .btn { position: relative; }

/* --- Stats Bar --- */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 4px;
}

/* --- Contact Cards --- */
.contact-card {
  text-align: center;
  padding: 28px 20px;
}
.contact-card .icon-box {
  margin: 0 auto 14px;
}
.contact-card h4 { margin-bottom: 6px; }
.contact-card p { color: var(--muted); font-size: 0.9rem; }
.contact-card a { color: var(--amber); }

/* --- Form --- */
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--white);
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  font-size: 0.95rem;
  transition: var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 15px rgba(245,166,35,0.1);
  outline: none;
}
.form-group textarea { min-height: 140px; resize: vertical; }

/* --- Footer --- */
.footer {
  background: var(--black);
  padding: 80px 0 0;
  border-top: 1px solid var(--border);
  overflow: hidden;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-about p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 16px;
  line-height: 1.8;
}
.footer h4 {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--white);
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  color: var(--muted);
  font-size: 0.9rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--amber); padding-left: 6px; }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.footer-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--amber);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.85rem;
  color: var(--muted);
}
.footer-socials {
  display: flex;
  gap: 16px;
}
.footer-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.footer-socials a:hover {
  border-color: var(--amber);
  background: rgba(245,166,35,0.1);
}
.footer-socials svg {
  width: 16px;
  height: 16px;
  fill: var(--muted);
}
.footer-socials a:hover svg { fill: var(--amber); }

/* --- Animations Keyframes --- */
@keyframes brandGlow {
  0%, 100% { text-shadow: 0 0 10px rgba(245,166,35,0.6), 0 0 30px rgba(245,166,35,0.3), 0 0 60px rgba(245,166,35,0.15); }
  50% { text-shadow: 0 0 20px rgba(245,166,35,0.8), 0 0 50px rgba(245,166,35,0.4), 0 0 100px rgba(245,166,35,0.2); }
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}
@keyframes xFloat {
  0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
  50% { transform: translate(-50%, -50%) rotate(3deg); }
}

/* --- Reveal Animations --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible,
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translate(0, 0);
}
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger.visible > * { opacity: 1; transform: translateY(0); }
.stagger.visible > *:nth-child(1) { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.15s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.25s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(7) { transition-delay: 0.35s; }
.stagger.visible > *:nth-child(8) { transition-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .mega-menu { width: 600px; grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 80px 0; }
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: rgba(5,5,8,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 80px;
    gap: 24px;
    transition: right 0.4s ease;
    border-left: 1px solid var(--border);
    overflow-y: auto;
  }
  .nav-links.active { right: 0; }
  .nav-links a { font-size: 1.1rem; }
  .menu-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4, .grid-5, .grid-6 { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; gap: 32px; }
  .timeline::before { display: none; }
  .featured-card .split { grid-template-columns: 1fr; }
  .featured-stats { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { text-align: center; justify-content: center; }
  .page-hero { padding: 140px 0 80px; }
  .hero-x { font-size: clamp(150px, 50vw, 300px); }
  .mega-menu {
    position: static;
    width: 100%;
    transform: none;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    background: rgba(20,24,40,0.95);
    grid-template-columns: 1fr;
    padding: 16px;
    border: none;
    border-radius: 0;
    box-shadow: none;
    display: none;
  }
  .nav-item-mega.mobile-open .mega-menu {
    display: grid;
  }
  .client-logos { gap: 24px; }
  .client-logos img { max-height: 36px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .glass-card { padding: 24px; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
  .featured-stats { grid-template-columns: 1fr; }
}

/* --- Magic Dust Particles --- */
.particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 6px var(--amber), 0 0 12px rgba(245,166,35,0.3);
  animation: particleFloat linear infinite;
  opacity: 0;
}
.particle:nth-child(1) { left: 10%; animation-duration: 12s; animation-delay: 0s; width: 2px; height: 2px; }
.particle:nth-child(2) { left: 25%; animation-duration: 15s; animation-delay: -2s; width: 3px; height: 3px; background: var(--orange); box-shadow: 0 0 6px var(--orange), 0 0 12px rgba(230,81,0,0.3); }
.particle:nth-child(3) { left: 40%; animation-duration: 10s; animation-delay: -4s; width: 2px; height: 2px; }
.particle:nth-child(4) { left: 55%; animation-duration: 14s; animation-delay: -1s; width: 4px; height: 4px; background: var(--gold); box-shadow: 0 0 6px var(--gold), 0 0 12px rgba(253,185,19,0.3); }
.particle:nth-child(5) { left: 70%; animation-duration: 11s; animation-delay: -3s; width: 2px; height: 2px; }
.particle:nth-child(6) { left: 85%; animation-duration: 16s; animation-delay: -5s; width: 3px; height: 3px; background: var(--orange); box-shadow: 0 0 6px var(--orange), 0 0 12px rgba(230,81,0,0.3); }
.particle:nth-child(7) { left: 15%; animation-duration: 13s; animation-delay: -7s; width: 2px; height: 2px; }
.particle:nth-child(8) { left: 50%; animation-duration: 9s; animation-delay: -6s; width: 3px; height: 3px; }
.particle:nth-child(9) { left: 35%; animation-duration: 17s; animation-delay: -8s; width: 2px; height: 2px; background: var(--gold); box-shadow: 0 0 6px var(--gold); }
.particle:nth-child(10) { left: 80%; animation-duration: 12s; animation-delay: -4s; width: 4px; height: 4px; }
.particle:nth-child(11) { left: 5%; animation-duration: 14s; animation-delay: -9s; width: 2px; height: 2px; background: var(--orange); box-shadow: 0 0 6px var(--orange); }
.particle:nth-child(12) { left: 65%; animation-duration: 11s; animation-delay: -2s; width: 3px; height: 3px; }

@keyframes particleFloat {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.8; }
  50% { opacity: 1; }
  90% { opacity: 0.6; }
  100% { transform: translateY(-100px) scale(1); opacity: 0; }
}

/* --- Glow Line Divider --- */
.glow-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--amber), var(--orange), transparent);
  opacity: 0.3;
  margin: 0;
}

/* --- Enhanced Section Backgrounds --- */
.section-dark {
  background: linear-gradient(180deg, var(--dark), #0e1225, var(--dark));
}
.section-gradient {
  background: linear-gradient(180deg, #0e1225 0%, #111630 50%, #0e1225 100%);
}
.section-glow {
  background: radial-gradient(ellipse at 50% 0%, rgba(245,166,35,0.06) 0%, transparent 50%),
              linear-gradient(180deg, var(--dark), #0e1225, var(--dark));
}

/* ============================================
   Brad — AI Chat Widget (Amber theme)
   ============================================ */
#brad-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  font-family: var(--font);
}
#brad-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(245,166,35,0.3), 0 0 40px rgba(245,166,35,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  color: var(--black);
}
#brad-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 30px rgba(245,166,35,0.5), 0 0 60px rgba(245,166,35,0.15);
}
#brad-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  animation: bradPulse 2s ease-in-out infinite;
}
@keyframes bradPulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.15); opacity: 0; }
}

/* Panel */
#brad-panel {
  position: absolute;
  bottom: 76px;
  right: 0;
  width: 420px;
  height: 580px;
  background: #0c0f1a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(245,166,35,0.05);
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#brad-panel.brad-open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

/* Header */
#brad-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(245,166,35,0.08), rgba(230,81,0,0.08));
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
#brad-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
#brad-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--black);
}
#brad-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
}
#brad-status {
  font-size: 0.75rem;
  color: var(--amber);
  font-weight: 500;
}
#brad-close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--muted);
  padding: 4px;
  transition: color 0.2s;
}
#brad-close-btn:hover { color: var(--white); }

/* Messages */
#brad-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.1) transparent;
}
#brad-messages::-webkit-scrollbar { width: 5px; }
#brad-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 4px; }

.brad-msg {
  display: flex;
  max-width: 85%;
  animation: bradFadeIn 0.3s ease;
}
.brad-ai { align-self: flex-start; }
.brad-user { align-self: flex-end; }

.brad-bubble {
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.6;
  word-wrap: break-word;
}
.brad-ai .brad-bubble {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  border-bottom-left-radius: 4px;
}
.brad-user .brad-bubble {
  background: linear-gradient(135deg, rgba(245,166,35,0.15), rgba(230,81,0,0.15));
  border: 1px solid rgba(245,166,35,0.2);
  color: var(--white);
  border-bottom-right-radius: 4px;
}

@keyframes bradFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typing indicator */
#brad-typing { padding: 0 20px 4px; }
.brad-dots {
  display: flex;
  gap: 5px;
  padding: 4px 0;
}
.brad-dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
  opacity: 0.4;
  animation: bradBounce 1.4s ease-in-out infinite;
}
.brad-dots span:nth-child(2) { animation-delay: 0.2s; }
.brad-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes bradBounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Input */
#brad-form {
  display: flex;
  gap: 8px;
  padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}
#brad-input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
#brad-input:focus {
  border-color: var(--amber);
  outline: none;
  box-shadow: 0 0 12px rgba(245,166,35,0.1);
}
#brad-input::placeholder { color: rgba(255,255,255,0.35); }
#brad-send {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}
#brad-send:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(245,166,35,0.3);
}

/* Mobile Brad */
@media (max-width: 768px) {
  #brad-panel {
    width: calc(100vw - 32px);
    height: calc(100vh - 120px);
    max-height: 600px;
    right: -8px;
    bottom: 70px;
  }
  #brad-widget { bottom: 16px; right: 16px; }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  background: rgba(12,15,26,0.96);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 24px;
  display: none;
  animation: slideUp 0.4s ease;
}
#cookie-banner.show { display: block; }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-inner p {
  flex: 1;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.6;
  min-width: 260px;
}
.cookie-inner a { color: var(--amber); }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-btns button {
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.82rem;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.cookie-accept {
  background: var(--gradient);
  color: var(--black);
}
.cookie-accept:hover { box-shadow: 0 0 20px rgba(245,166,35,0.3); }
.cookie-decline {
  background: rgba(255,255,255,0.06);
  color: var(--muted);
  border: 1px solid var(--border) !important;
}
.cookie-decline:hover { border-color: var(--amber) !important; color: var(--white); }

/* ============================================
   Back to Top Button
   ============================================ */
#back-to-top {
  position: fixed;
  bottom: 96px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: all;
}
#back-to-top:hover {
  border-color: var(--amber);
  color: var(--amber);
  background: rgba(245,166,35,0.05);
  transform: translateY(-2px);
}
#back-to-top svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ============================================
   Page Preloader
   ============================================ */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-logo {
  font-family: var(--font);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--white);
  opacity: 0;
  animation: preloaderFadeIn 0.6s ease 0.1s forwards;
}
.preloader-logo .pl-accent {
  color: var(--amber);
  font-weight: 900;
  text-shadow: 0 0 20px rgba(245,166,35,0.6), 0 0 60px rgba(245,166,35,0.3);
  animation: brandGlow 1.5s ease-in-out infinite;
}
.preloader-bar {
  width: 120px;
  height: 3px;
  background: rgba(255,255,255,0.06);
  border-radius: 3px;
  margin-top: 24px;
  overflow: hidden;
  opacity: 0;
  animation: preloaderFadeIn 0.4s ease 0.4s forwards;
}
.preloader-bar-fill {
  width: 0;
  height: 100%;
  background: var(--gradient);
  border-radius: 3px;
  animation: preloaderBar 1.2s ease 0.5s forwards;
}
.preloader-text {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-top: 16px;
  opacity: 0;
  animation: preloaderFadeIn 0.4s ease 0.6s forwards;
}
@keyframes preloaderFadeIn {
  to { opacity: 1; }
}
@keyframes preloaderBar {
  to { width: 100%; }
}

/* ============================================
   Parallax
   ============================================ */
.parallax-layer {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* ============================================
   Logo Marquee
   ============================================ */
.marquee-section {
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.marquee-label {
  text-align: center;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  margin-bottom: 24px;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 1rem;
  font-weight: 700;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
  transition: color 0.3s;
}
.marquee-item:hover { color: rgba(255,255,255,0.5); }
.marquee-item svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.marquee-section::before,
.marquee-section::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee-section::before { left: 0; background: linear-gradient(90deg, var(--dark), transparent); }
.marquee-section::after { right: 0; background: linear-gradient(270deg, var(--dark), transparent); }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   Testimonial Carousel
   ============================================ */
.carousel-wrap { position: relative; overflow: hidden; }
.carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.carousel-slide {
  flex: 0 0 33.333%;
  padding: 0 12px;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}
.carousel-dot.active { background: var(--amber); box-shadow: 0 0 10px var(--amber); }
.carousel-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 -12px;
  pointer-events: none;
}
.carousel-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: all;
  transition: all 0.2s;
}
.carousel-arrow:hover { border-color: var(--amber); color: var(--amber); }
.carousel-arrow svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
@media (max-width: 768px) {
  .carousel-slide { flex: 0 0 100%; }
  .carousel-arrows { display: none; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .carousel-slide { flex: 0 0 50%; }
}

/* ============================================
   Page Transitions
   ============================================ */
.page-transition {
  animation: pageFadeIn 0.4s ease;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .marquee-track { animation: none; }
  .carousel-track { transition: none; }
  #preloader { display: none !important; }
}

/* ============================================
   UI POLISH -- Visual Upgrades
   ============================================ */

/* Navbar glow line when scrolled */
.navbar.scrolled::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.2), rgba(230,81,0,0.2), transparent);
}

/* Animated gradient border on glass cards */
.glass-card::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, transparent 40%, rgba(245,166,35,0.15), transparent 60%);
  background-size: 300% 300%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: borderShimmer 6s ease infinite;
}
.glass-card:hover::after { opacity: 1; }
@keyframes borderShimmer {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

/* Hero headline text shadow for depth */
.hero h1 {
  text-shadow: 0 2px 40px rgba(0,0,0,0.3);
}

/* Better gradient text glow */
.hero .gradient-text {
  filter: drop-shadow(0 0 30px rgba(245,166,35,0.2)) drop-shadow(0 0 60px rgba(230,81,0,0.1));
}

/* Animated hero badge */
.hero-badge {
  animation: badgePulse 3s ease-in-out infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245,166,35,0.1); }
  50% { box-shadow: 0 0 0 8px rgba(245,166,35,0); }
}

/* Button shine effect on hover */
.btn-primary {
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before {
  left: 100%;
}

/* Outline button glow on hover */
.btn-outline:hover {
  box-shadow: 0 0 20px rgba(245,166,35,0.08), inset 0 0 20px rgba(245,166,35,0.03);
}

/* Icon box hover glow */
.glass-card:hover .icon-box {
  box-shadow: 0 0 30px rgba(245,166,35,0.15);
  border-color: rgba(245,166,35,0.25);
  background: linear-gradient(135deg, rgba(245,166,35,0.2), rgba(230,81,0,0.2));
}

/* Stats with glow effect */
.stat-num, .hero-stat-num {
  filter: drop-shadow(0 0 15px rgba(245,166,35,0.15));
}

/* Timeline number hover */
.timeline-num {
  transition: all 0.3s ease;
}
.timeline-step:hover .timeline-num {
  box-shadow: 0 0 30px rgba(245,166,35,0.2);
  border-color: rgba(245,166,35,0.4);
  background: rgba(245,166,35,0.08);
}

/* Better image panel overlay gradient */
.img-panel::after {
  background: linear-gradient(180deg, transparent 30%, rgba(8,10,18,0.5) 70%, rgba(8,10,18,0.85) 100%);
}

/* CTA section radial burst */
.cta-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,166,35,0.3), transparent);
}

/* Testimonial card hover lift */
.testimonial-card {
  transition: all 0.4s ease;
}
.testimonial-card:hover {
  background: rgba(255,255,255,0.06);
}

/* Featured stat pulse on hover */
.featured-stat:hover {
  background: rgba(245,166,35,0.08);
  box-shadow: 0 0 20px rgba(245,166,35,0.05);
}
.featured-stat { transition: all 0.3s ease; }

/* Contact card hover */
.contact-card:hover .icon-box {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(245,166,35,0.15);
}
.contact-card .icon-box { transition: all 0.3s ease; }

/* Marquee items glow on hover */
.marquee-item:hover svg {
  filter: drop-shadow(0 0 8px currentColor);
}

/* Smooth scrollbar for all browsers */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.08) transparent;
}

/* Selection colour */
::selection {
  background: rgba(245,166,35,0.25);
  color: var(--white);
}

/* Focus visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Smooth hover on all links */
a {
  transition: color 0.2s ease;
}

/* ============================================
   Word Rotator
   ============================================ */
.word-rotate {
  display: inline-block;
  position: relative;
  overflow: hidden;
  vertical-align: bottom;
}
.word-rotate-out {
  animation: wordOut 0.4s ease forwards;
}
.word-rotate-in {
  animation: wordIn 0.4s ease forwards;
}
@keyframes wordOut {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(-100%); opacity: 0; }
}
@keyframes wordIn {
  0% { transform: translateY(100%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
