/* ==========================================
   AGM ENTERPRISES  –  style.css
   Dark electrical theme · Gold accent palette
   ========================================== */

/* -------- CSS VARIABLES -------- */
:root {
  --gold: #f5a623;
  --gold-lt: #ffd166;
  --gold-dk: #c4810d;
  --bg-dark: #0a0a0f;
  --bg-2: #0f0f1a;
  --bg-3: #141420;
  --bg-card: #16161f;
  --border: rgba(245, 166, 35, 0.18);
  --text: #e8e8f0;
  --text-m: #9999b0;
  --text-sm: #66667a;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 36px;

  --shadow-gold: 0 0 40px rgba(245, 166, 35, 0.15);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== LOADER ==================== */
#siteLoader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

#siteLoader.loader-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* Prevent scroll while loader is active */
body.loading {
  overflow: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  animation: fadeInUp 0.6s ease both;
}

/* Logo */
.loader-logo img {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 18px var(--gold));
  animation: pulse-glow 2s ease-in-out infinite;
}

/* Brand text */
.loader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}

.loader-agm {
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 8px;
  text-transform: uppercase;
}

.loader-ent {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-m);
  letter-spacing: 6px;
  text-transform: uppercase;
}

.loader-tagline {
  font-size: 0.82rem;
  color: var(--text-sm);
  letter-spacing: 2px;
  font-weight: 500;
  margin-bottom: 8px;
}

/* Spinning ring + bolt */
.loader-bolt-ring {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0;
}

.loader-bolt {
  font-size: 2.4rem;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 14px var(--gold));
  animation: bolt-pulse 1s ease-in-out infinite alternate;
}

.loader-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.loader-ring-track {
  fill: none;
  stroke: rgba(245, 166, 35, 0.12);
  stroke-width: 6;
}

.loader-ring-fill {
  fill: none;
  stroke: url(#loaderGrad);
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 276.5;
  /* 2π × 44 */
  stroke-dashoffset: 276.5;
  animation: ring-spin 5s linear forwards;
}

/* SVG gradient (defined inline via CSS trick using stroke with gold) */
.loader-ring-fill {
  stroke: var(--gold);
  filter: drop-shadow(0 0 6px var(--gold));
}

/* Progress bar */
.loader-bar-wrap {
  width: 220px;
  height: 4px;
  background: rgba(245, 166, 35, 0.12);
  border-radius: 100px;
  overflow: hidden;
  margin-top: 4px;
}

.loader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dk), var(--gold), var(--gold-lt));
  border-radius: 100px;
  box-shadow: 0 0 10px rgba(245, 166, 35, 0.6);
  transition: width 0.1s linear;
}

/* Percent counter */
.loader-percent {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  font-variant-numeric: tabular-nums;
}

/* Keyframes */
@keyframes ring-spin {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes bolt-pulse {
  from {
    transform: scale(1);
    filter: drop-shadow(0 0 10px var(--gold));
  }

  to {
    transform: scale(1.15);
    filter: drop-shadow(0 0 22px var(--gold-lt));
  }
}

/* -------- RESET / BASE -------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
}

/* -------- PARTICLE CANVAS -------- */
#particleCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* -------- UTILITY -------- */
.gradient-text {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-m);
  max-width: 560px;
  margin: 0 auto;
}

/* -------- BUTTONS -------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(245, 166, 35, 0.35);
  font-family: 'Outfit', sans-serif;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(245, 166, 35, 0.5);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(245, 166, 35, 0.06);
  transform: translateY(-3px);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* ==================== NAVBAR ==================== */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 15, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 12px 0;
}

/* Mobile auto-hide — slides navbar up when scrolling down */
@media (max-width: 768px) {
  #navbar {
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      background 0.3s ease,
      padding 0.3s ease;
    will-change: transform;
  }

  #navbar.nav-hidden {
    transform: translateY(-110%);
  }
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-right: auto;
}

.logo-bolt {
  display: flex;
  align-items: center;
  filter: drop-shadow(0 0 10px var(--gold));
}

.logo-bolt img {
  height: 100px;
  width: auto;
  object-fit: contain;
}

.logo-agm {
  font-size: 26px;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 2px;
  line-height: 1;
}

.logo-ent {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-m);
  letter-spacing: 3px;
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-m);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold);
  background: rgba(245, 166, 35, 0.08);
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0a0a0f;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 22px;
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 166, 35, 0.4);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  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;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==================== HERO ==================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  z-index: 1;
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
}

.hero-glow-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.12), transparent 70%);
  top: -100px;
  left: -100px;
}

.hero-glow-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08), transparent 70%);
  bottom: -50px;
  right: -50px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid var(--border);
  color: var(--gold-lt);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s ease both;
}

.hero-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  animation: fadeInUp 0.6s ease both;
}

.title-line:nth-child(2) {
  animation-delay: 0.1s;
}

.title-line:nth-child(3) {
  animation-delay: 0.2s;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: var(--text-m);
  max-width: 580px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s both;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 60px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  backdrop-filter: blur(10px);
  animation: fadeInUp 0.6s ease 0.5s both;
  width: fit-content;
}

.stat-item {
  text-align: center;
  padding: 0 32px;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.stat-number::after {
  content: '+';
  font-size: 1.4rem;
}

.stat-item:last-child .stat-number::after {
  content: '%';
  font-size: 1.4rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-sm);
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.stat-divider {
  width: 1px;
  height: 48px;
  background: var(--border);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: scrollBounce 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px var(--gold);
}

/* ==================== ABOUT ==================== */
.about {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-2);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-card-main {
  position: relative;
  width: 280px;
  height: 280px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.about-icon-large {
  font-size: 8rem;
  filter: drop-shadow(0 0 30px var(--gold));
  animation: pulse-glow 3s ease-in-out infinite;
}

.about-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(245, 166, 35, 0.08), transparent 70%);
}

.about-badge-float {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--gold-lt);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 100px;
  white-space: nowrap;
  box-shadow: var(--shadow-card);
  animation: float 4s ease-in-out infinite;
}

.badge-1 {
  top: 10%;
  left: -30px;
  animation-delay: 0s;
}

.badge-2 {
  bottom: 20%;
  right: -20px;
  animation-delay: 1.5s;
}

.badge-3 {
  bottom: 5%;
  left: 0;
  animation-delay: 0.75s;
}

.about-content .section-tag {
  margin-bottom: 12px;
}

.about-desc {
  color: var(--text-m);
  margin-bottom: 16px;
  font-size: 0.97rem;
  line-height: 1.75;
}

.about-desc strong {
  color: var(--gold);
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 28px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 500;
}

.highlight-icon {
  font-size: 1rem;
}

/* ==================== SERVICES ==================== */
.services {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-dark);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.service-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: var(--transition);
  overflow: hidden;
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.05), transparent);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 166, 35, 0.4);
  box-shadow: 0 12px 48px rgba(245, 166, 35, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card.featured {
  border-color: rgba(245, 166, 35, 0.5);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), var(--bg-card));
  box-shadow: 0 0 0 1px rgba(245, 166, 35, 0.2), 0 8px 32px rgba(245, 166, 35, 0.1);
}

.service-badge-top {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0a0a0f;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 12px rgba(245, 166, 35, 0.3));
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.15);
}

.service-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.service-desc {
  font-size: 0.84rem;
  color: var(--text-m);
  line-height: 1.65;
  margin-bottom: 16px;
}

.service-tag {
  display: inline-block;
  background: rgba(245, 166, 35, 0.1);
  border: 1px solid var(--border);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.services-footer-banner {
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 24px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.banner-highlight {
  color: var(--gold);
}

.banner-highlight-white {
  color: var(--white);
  font-weight: 700;
}

/* ==================== PROJECTS ==================== */
.projects {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-2);
}

.projects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.highlight-card {
  border-color: rgba(245, 166, 35, 0.4);
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), var(--bg-card));
}

.project-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.project-icon {
  font-size: 2.5rem;
}

.project-head h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold-lt);
}

.project-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.92rem;
  color: var(--text-m);
  transition: var(--transition);
}

.project-list li::before {
  content: '⚡';
  font-size: 0.75rem;
  flex-shrink: 0;
}

.project-list li:hover {
  color: var(--text);
  padding-left: 8px;
}

.project-list li:last-child {
  border-bottom: none;
}

/* ==================== WHY US ==================== */
.why-us {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-dark);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt));
  transform: scaleX(0);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 166, 35, 0.3);
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(245, 166, 35, 0.12);
  line-height: 1;
  margin-bottom: 12px;
}

.why-icon {
  font-size: 2rem;
  margin-bottom: 14px;
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.why-card p {
  font-size: 0.84rem;
  color: var(--text-m);
  line-height: 1.65;
}

/* ==================== CONTACT ==================== */
.contact {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-2);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 32px;
}

.person-avatar {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--gold), var(--gold-lt));
  color: #0a0a0f;
  font-size: 1.6rem;
  font-weight: 900;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 24px rgba(245, 166, 35, 0.35);
}

.person-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
}

.person-role {
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 500;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
}

a.contact-card:hover {
  border-color: rgba(245, 166, 35, 0.4);
  transform: translateX(4px);
  box-shadow: var(--shadow-gold);
}

.contact-card-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-card-label {
  font-size: 0.72rem;
  color: var(--text-sm);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.contact-card-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  word-break: break-all;
}

/* Form */
.contact-form {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-m);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  transition: var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-sm);
}

.form-group select option {
  background: var(--bg-3);
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(245, 166, 35, 0.04);
  box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-success {
  display: none;
  text-align: center;
  color: #4ade80;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 12px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.2);
  border-radius: var(--radius-sm);
}

.form-success.visible {
  display: block;
  animation: fadeInUp 0.4s ease;
}

/* ==================== FOOTER ==================== */
.footer {
  position: relative;
  z-index: 1;
  background: #060609;
  border-top: 1px solid var(--border);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px 40px;
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1.8fr 1.2fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0px;
  margin-bottom: 14px;
}

.footer-logo img {
  height: 100px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px var(--gold));
}

.footer-tagline {
  font-size: 0.84rem;
  color: var(--text-sm);
  line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 18px;
}

.footer-links ul li,
.footer-services ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  font-size: 0.87rem;
  color: var(--text-sm);
  transition: var(--transition);
}

.footer-links ul li a:hover {
  color: var(--gold);
  padding-left: 6px;
}

.footer-services ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.footer-services ul li {
  font-size: 0.82rem;
  color: var(--text-sm);
  line-height: 1.4;
}

.footer-contact p {
  font-size: 0.87rem;
  color: var(--text-sm);
  margin-bottom: 10px;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-sm);
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@keyframes pulse-glow {

  0%,
  100% {
    filter: drop-shadow(0 0 20px var(--gold));
  }

  50% {
    filter: drop-shadow(0 0 40px var(--gold-lt));
  }
}

@keyframes scrollBounce {

  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }

  50% {
    transform: translateY(10px);
    opacity: 0.4;
  }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 10, 15, 0.97);
    backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 20px;
    z-index: 900;
    padding: 0;
  }

  .nav-links.open .nav-link {
    font-size: 1.4rem;
  }

  .nav-cta {
    display: none;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }

  .stat-item {
    padding: 0;
  }

  .stat-divider {
    width: 80%;
    height: 1px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual {
    display: none;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }

  .services-footer-banner {
    flex-direction: column;
    gap: 4px;
  }
}

/* ==================== PORTFOLIO ==================== */
.portfolio {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-dark);
}

/* Count badge */
.portfolio-count {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 166, 35, 0.08);
  border: 1px solid var(--border);
  color: var(--text-sm);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 100px;
  margin-top: 12px;
  letter-spacing: 1px;
}

.portfolio-count span {
  color: var(--gold);
  font-weight: 800;
}

/* ── Masonry grid using CSS columns ── */
.portfolio-grid {
  column-count: 5;
  column-gap: 12px;
  padding: 0 4px;
}

/* Each item breaks inside columns naturally */
.portfolio-item {
  break-inside: avoid;
  margin-bottom: 12px;
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: var(--bg-card);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s ease,
    border-color 0.35s ease;
  display: inline-block;
  /* required for column layout */
  width: 100%;
}

/* Remove the old span modifiers — not needed in masonry */
.portfolio-item--tall,
.portfolio-item--wide {
  grid-row: unset;
  grid-column: unset;
}

.portfolio-item img {
  width: 100%;
  height: auto;
  /* natural aspect ratio — no cropping */
  display: block;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1),
    filter 0.4s ease;
}

.portfolio-item:hover {
  transform: translateY(-5px) scale(1.015);
  border-color: rgba(245, 166, 35, 0.45);
  box-shadow: 0 16px 48px rgba(245, 166, 35, 0.2),
    0 4px 16px rgba(0, 0, 0, 0.5);
}

.portfolio-item:hover img {
  transform: scale(1.04);
  filter: brightness(1.08) saturate(1.1);
}

/* Gold shimmer sweep on hover */
.portfolio-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
      transparent 30%,
      rgba(245, 166, 35, 0.08) 50%,
      transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.portfolio-item:hover::before {
  opacity: 1;
}

/* Overlay on hover */
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(5, 5, 10, 0.85) 0%,
      rgba(5, 5, 10, 0.3) 40%,
      transparent 70%);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 14px;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 2;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-content {
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateY(8px);
  transition: transform 0.35s ease;
  width: 100%;
  justify-content: space-between;
}

.portfolio-item:hover .portfolio-overlay-content {
  transform: translateY(0);
}

.portfolio-zoom {
  font-size: 1.3rem;
  filter: drop-shadow(0 0 8px rgba(245, 166, 35, 0.8));
  flex-shrink: 0;
}

.portfolio-caption {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.3px;
  background: rgba(245, 166, 35, 0.18);
  border: 1px solid rgba(245, 166, 35, 0.3);
  padding: 3px 10px;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  text-align: right;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .portfolio-grid {
    column-count: 4;
  }
}

@media (max-width: 768px) {
  .portfolio-grid {
    column-count: 3;
    column-gap: 8px;
  }

  .portfolio-item {
    margin-bottom: 8px;
  }
}

@media (max-width: 540px) {
  .portfolio-grid {
    column-count: 2;
    column-gap: 6px;
  }

  .portfolio-item {
    margin-bottom: 6px;
  }
}


/* ==================== CLIENTS ==================== */
.clients-section {
  position: relative;
  z-index: 1;
  padding: 100px 0;
  background: var(--bg-dark);
}

/* Rainbow top border */
.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
  opacity: 0.6;
}

/* Rainbow aurora background */
.clients-section::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 20% 50%, rgba(255, 0, 0, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 80% 50%, rgba(0, 0, 255, 0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: -1;
}

.clients-marquee-wrap {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
  margin-bottom: 40px;
}

.clients-marquee {
  width: 100%;
  display: flex;
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding-right: 40px;
  animation: marquee-scroll 25s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.client-logo-card {
  flex-shrink: 0;
  height: 160px;
  width: 240px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  overflow: hidden;
  border: 1px solid transparent;
}

/* Glowing multicolored border animation */
.client-logo-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--radius-md) + 2px);
  background: linear-gradient(45deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
  background-size: 300% 300%;
  z-index: -1;
  animation: bg-pan-rainbow 6s linear infinite;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

@keyframes bg-pan-rainbow {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 300% 50%;
  }
}

.client-logo-card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  z-index: -1;
}

.client-logo-card:hover {
  transform: translateY(-10px) scale(1.05);
}

.client-logo-card:hover::before {
  opacity: 1;
  filter: blur(8px);
}

.client-logo-card img {
  max-width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
  flex-grow: 1;
}

.client-logo-card:hover img {
  transform: scale(1.1);
}

.client-name {
  margin-top: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

/* Multicolor hover text for specific cards - using nth-child for variety */
.client-logo-card:nth-child(even):hover .client-name {
  color: #facc15;
}

.client-logo-card:nth-child(odd):hover .client-name {
  color: #38bdf8;
}

.client-logo-card:nth-child(3n):hover .client-name {
  color: #4ade80;
}

/* ── Trust Strip ── */
.clients-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, rgba(20, 20, 30, 0.8), rgba(30, 30, 45, 0.9), rgba(20, 20, 30, 0.8));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 20px 40px;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
}

.clients-trust-strip::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  right: 100%;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
  animation: shine-strip 8s infinite linear;
}

@keyframes shine-strip {
  100% {
    left: 100%;
    right: -100%;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
}

.trust-icon {
  font-size: 1.4rem;
  filter: drop-shadow(0 0 5px rgba(245, 166, 35, 0.5));
}

.trust-divider {
  width: 1px;
  height: 24px;
  background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.2), transparent);
}

@media (max-width: 900px) {
  .clients-trust-strip {
    flex-wrap: wrap;
    border-radius: var(--radius-md);
    padding: 25px;
    gap: 20px;
  }

  .trust-divider {
    display: none;
  }

  .trust-item {
    width: 45%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .client-logo-card {
    width: 180px;
    height: 130px;
    padding: 15px;
  }

  .client-logo-card img {
    max-height: 60px;
  }

  .trust-item {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .trust-item:last-child {
    border-bottom: none;
  }
}

/* ==================== LIGHTBOX ==================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 5, 10, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: fadeIn 0.25s ease;
}

.lightbox.active {
  display: flex;
}

.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-inner img {
  max-width: 90vw;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(245, 166, 35, 0.3);
  box-shadow: 0 0 80px rgba(245, 166, 35, 0.15), 0 24px 80px rgba(0, 0, 0, 0.7);
  object-fit: contain;
  animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-caption {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gold-lt);
  letter-spacing: 0.5px;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(245, 166, 35, 0.12);
  border: 1px solid rgba(245, 166, 35, 0.3);
  color: var(--gold-lt);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox-close {
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 2rem;
  line-height: 1;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(245, 166, 35, 0.28);
  border-color: var(--gold);
  color: var(--gold);
  box-shadow: 0 0 20px rgba(245, 166, 35, 0.25);
}

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.88);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Portfolio responsive */
@media (max-width: 900px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 200px;
  }

  .portfolio-item--wide {
    grid-column: span 2;
  }
}

@media (max-width: 540px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .portfolio-item--tall,
  .portfolio-item--wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .lightbox-prev {
    left: 8px;
  }

  .lightbox-next {
    right: 8px;
  }
}

/* ==================== CLIENTS ==================== */
.clients-section {
  position: relative;
  z-index: 1;
  padding: 100px 0 80px;
  background: var(--bg-2);
  overflow: hidden;
}

/* Rainbow aurora blobs in the background */
.clients-section::after {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse at center,
      rgba(245, 166, 35, 0.07) 0%,
      rgba(80, 180, 255, 0.05) 35%,
      rgba(160, 80, 255, 0.04) 60%,
      transparent 75%);
  pointer-events: none;
  border-radius: 50%;
  filter: blur(40px);
}

.clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
      transparent 0%,
      #f5a623 20%,
      #ff6b6b 40%,
      #4ecdc4 60%,
      #a855f7 80%,
      transparent 100%);
  opacity: 0.7;
}

/* --- Marquee wrapper --- */
.clients-marquee-wrap {
  position: relative;
  width: 100%;
  margin: 0 0 60px;
  overflow: hidden;
  padding: 20px 0;
}

/* Edge fade masks */
.clients-marquee-wrap::before,
.clients-marquee-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 160px;
  z-index: 2;
  pointer-events: none;
}

.clients-marquee-wrap::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-2), transparent);
}

.clients-marquee-wrap::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-2), transparent);
}

/* Marquee container */
.clients-marquee {
  width: 100%;
  overflow: hidden;
}

/* Scrolling track */
.clients-track {
  display: flex;
  align-items: center;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.clients-marquee:hover .clients-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Individual logo cards — colourful glowing borders */
.client-logo-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  padding: 26px 36px;
  min-width: 190px;
  transition: var(--transition);
  cursor: default;
  flex-shrink: 0;
  position: relative;
}

/* Coloured glow ring per card using nth-child cycling */
.client-logo-card:nth-child(6n+1) {
  border-color: rgba(245, 166, 35, 0.5);
  box-shadow: 0 0 18px rgba(245, 166, 35, 0.12), inset 0 0 20px rgba(245, 166, 35, 0.04);
}

.client-logo-card:nth-child(6n+2) {
  border-color: rgba(255, 107, 107, 0.5);
  box-shadow: 0 0 18px rgba(255, 107, 107, 0.12), inset 0 0 20px rgba(255, 107, 107, 0.04);
}

.client-logo-card:nth-child(6n+3) {
  border-color: rgba(78, 205, 196, 0.5);
  box-shadow: 0 0 18px rgba(78, 205, 196, 0.12), inset 0 0 20px rgba(78, 205, 196, 0.04);
}

.client-logo-card:nth-child(6n+4) {
  border-color: rgba(168, 85, 247, 0.5);
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.12), inset 0 0 20px rgba(168, 85, 247, 0.04);
}

.client-logo-card:nth-child(6n+5) {
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.12), inset 0 0 20px rgba(34, 197, 94, 0.04);
}

.client-logo-card:nth-child(6n+6) {
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 0 18px rgba(59, 130, 246, 0.12), inset 0 0 20px rgba(59, 130, 246, 0.04);
}

.client-logo-card:nth-child(6n+1):hover {
  border-color: rgba(245, 166, 35, 0.9);
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.3), 0 0 0 1px rgba(245, 166, 35, 0.2);
}

.client-logo-card:nth-child(6n+2):hover {
  border-color: rgba(255, 107, 107, 0.9);
  box-shadow: 0 12px 40px rgba(255, 107, 107, 0.3), 0 0 0 1px rgba(255, 107, 107, 0.2);
}

.client-logo-card:nth-child(6n+3):hover {
  border-color: rgba(78, 205, 196, 0.9);
  box-shadow: 0 12px 40px rgba(78, 205, 196, 0.3), 0 0 0 1px rgba(78, 205, 196, 0.2);
}

.client-logo-card:nth-child(6n+4):hover {
  border-color: rgba(168, 85, 247, 0.9);
  box-shadow: 0 12px 40px rgba(168, 85, 247, 0.3), 0 0 0 1px rgba(168, 85, 247, 0.2);
}

.client-logo-card:nth-child(6n+5):hover {
  border-color: rgba(34, 197, 94, 0.9);
  box-shadow: 0 12px 40px rgba(34, 197, 94, 0.3), 0 0 0 1px rgba(34, 197, 94, 0.2);
}

.client-logo-card:nth-child(6n+6):hover {
  border-color: rgba(59, 130, 246, 0.9);
  box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3), 0 0 0 1px rgba(59, 130, 246, 0.2);
}

.client-logo-card:hover {
  transform: translateY(-6px) scale(1.03);
  background: rgba(255, 255, 255, 0.04);
}

/* Logos — full colour always, bright and vivid */
.client-logo-card img {
  height: 68px;
  width: auto;
  max-width: 150px;
  object-fit: contain;
  filter: brightness(1.05) saturate(1.2);
  opacity: 0.92;
  transition: var(--transition);
}

.client-logo-card:hover img {
  filter: brightness(1.15) saturate(1.4) drop-shadow(0 2px 12px rgba(255, 255, 255, 0.15));
  opacity: 1;
  transform: scale(1.06);
}

/* Client name label colours */
.client-name {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: var(--transition);
}

.client-logo-card:nth-child(6n+1) .client-name {
  color: #f5a623;
}

.client-logo-card:nth-child(6n+2) .client-name {
  color: #ff6b6b;
}

.client-logo-card:nth-child(6n+3) .client-name {
  color: #4ecdc4;
}

.client-logo-card:nth-child(6n+4) .client-name {
  color: #a855f7;
}

.client-logo-card:nth-child(6n+5) .client-name {
  color: #22c55e;
}

.client-logo-card:nth-child(6n+6) .client-name {
  color: #3b82f6;
}

/* --- Trust strip --- */
.clients-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(245, 166, 35, 0.06), rgba(168, 85, 247, 0.04), rgba(78, 205, 196, 0.04));
  border: 1px solid rgba(245, 166, 35, 0.25);
  border-radius: var(--radius-md);
  padding: 24px 32px;
  margin-top: 20px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 28px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}

.trust-icon {
  font-size: 1.3rem;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(245, 166, 35, 0.2);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {

  .clients-marquee-wrap::before,
  .clients-marquee-wrap::after {
    width: 60px;
  }

  .client-logo-card {
    min-width: 145px;
    padding: 18px 20px;
  }

  .client-logo-card img {
    height: 52px;
  }

  .clients-trust-strip {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }

  .trust-divider {
    width: 80px;
    height: 1px;
  }

  .trust-item {
    padding: 0;
  }
}