/* ============================================================
   main.css — Technobriq / Displays Qatar Landing Page
   Consolidated from: fonts.css, tailwind.css, theme.css
   ============================================================ */

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

/* ── CSS Custom Properties (Theme) ─────────────────────────── */
:root {
  --font-size: 16px;

  /* Brand */
  --brand-green: #00ff88;
  --brand-green-dk: #00dd77;
  --brand-dark: #030712;
  --brand-mid: #0f1420;
  --brand-card: #1a1f2e;

  /* Generic design tokens */
  --radius: 0.625rem;
  --transition: 0.2s ease;

  /* Form specific */
  --form-bg: #111827;
  --input-bg: #030712;
  --input-border: #1f2937;
  --label-color: #ffffff;
  --placeholder-color: #9ca3af;
}

/* ── Base Typography ────────────────────────────────────────── */
html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  background-color: var(--brand-dark);
  color: #ffffff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

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

ul {
  list-style: none;
}

/* ── Utility Classes ────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* ── Header ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background-color: rgba(10, 14, 26, 0.95);
  backdrop-filter: blur(4px);
  border-bottom: 1px solid #1f2937;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

@media (max-width: 768px) {
  .site-header .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 34px;
  /* Matches the navbar CTA button height */
  width: auto;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .logo img {
    height: 30px;
  }
}

@media (max-width: 480px) {
  .logo img {
    height: 28px;
  }
}

.logo-icon {
  width: 2rem;
  height: 2rem;
  background-color: var(--brand-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-icon-inner {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--brand-dark);
}

.logo-name {
  font-size: 1.25rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .logo-name {
    font-size: 1.125rem;
  }

  .btn-cta {
    padding: 0.625rem 0.875rem;
    font-size: 0.8125rem;
    min-height: 42px;
    gap: 0.375rem;
  }

  .btn-cta svg {
    width: 0.875rem;
    height: 0.875rem;
  }
}

@media (max-width: 360px) {
  .logo-name {
    font-size: 1.05rem;
  }

  .btn-cta {
    padding: 0.5rem 0.75rem;
    font-size: 0.75rem;
  }
}

/* Nav */
.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  color: #d1d5db;
  transition: color var(--transition);
  font-size: 0.9375rem;
}

.site-nav a:hover {
  color: var(--brand-green);
}

/* CTA button in header */
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-green);
  color: var(--brand-dark);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  transition: background-color var(--transition);
  white-space: nowrap;
}

.btn-cta:hover {
  background-color: var(--brand-green-dk);
}

.btn-cta svg {
  width: 1rem;
  height: 1rem;
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--brand-green);
  color: var(--brand-dark);
  padding: 1rem 2rem;
  font-weight: 600;
  font-size: 1rem;
  transition: background-color var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary:hover {
  background-color: var(--brand-green-dk);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid #4b5563;
  color: #ffffff;
  padding: 1rem 2rem;
  font-size: 1rem;
  transition: border-color var(--transition), color var(--transition);
}

.btn-outline:hover {
  border-color: var(--brand-green);
  color: var(--brand-green);
}

.btn-primary svg,
.btn-outline svg {
  width: 1.25rem;
  height: 1.25rem;
}

/* ── Sections — shared ──────────────────────────────────────── */
section {
  padding: 6rem 0;
}

@media (max-width: 768px) {
  section {
    padding: 4rem 0;
  }
}

.section-label {
  display: inline-block;
  background-color: rgba(0, 255, 136, 0.1);
  color: var(--brand-green);
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

@media (max-width: 768px) {

  h2,
  .section-title {
    max-width: 80vw;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

.section-subtitle {
  font-size: 1.25rem;
  color: #9ca3af;
  max-width: 48rem;
  margin: 0 auto;
}

.text-green {
  color: var(--brand-green);
}

.text-center {
  text-align: center;
}

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 5rem;
  background-color: var(--brand-dark);
}

@media (max-width: 768px) {
  .hero {
    padding-top: 7rem;
    min-height: auto;
    padding-bottom: 4rem;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--brand-dark), rgba(10, 14, 26, 0.8), transparent);
}

.hero-deco-bl {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24rem;
  height: 24rem;
  background-color: var(--brand-green);
  opacity: 0.1;
  clip-path: polygon(0 100%, 100% 100%, 0 0);
  pointer-events: none;
  animation: float 6s ease-in-out infinite;
}

.hero-deco-tr {
  position: absolute;
  top: 5rem;
  right: 0;
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-bottom: 100px solid #1f2937;
  opacity: 0.2;
  pointer-events: none;
  animation: float 8s ease-in-out infinite reverse;
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 56rem;
}

.hero-title {
  font-size: clamp(2rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
  max-width: 48rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #1f2937;
}

.trust-label {
  font-size: 0.75rem;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.trust-brands {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
}

.trust-brand-item {
  height: 4rem;
  /* Increased size from 2.5rem base */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* This effectively "crops" the outer whitespace of the image */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  width: 8rem;
  /* Wider container for better visibility */
  transition: border-color var(--transition);
  border: 1px solid transparent;
}

.trust-brand-item:hover {
  border-color: rgba(0, 255, 136, 0.3);
}

.trust-brand-item img {
  height: 180%;
  /* Zoom factor to crop the padding and emphasize the "inner logo" */
  width: auto;
  object-fit: contain;
  opacity: 0.85;
  transition: opacity var(--transition), transform 0.3s ease;
}

.trust-brand-item:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-actions .btn-primary,
.hero-actions .btn-outline {
  min-width: 280px;
  justify-content: center;
}

@media (max-width: 640px) {

  .hero-actions .btn-primary,
  .hero-actions .btn-outline {
    width: 100%;
  }
}

/* ── Audience Cards ─────────────────────────────────────────── */
.bg-gradient-down {
  background: linear-gradient(to bottom, var(--brand-dark), var(--brand-mid));
}

.bg-mid {
  background-color: var(--brand-mid);
}

.bg-dark {
  background-color: var(--brand-dark);
}

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

.grid-3 {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: var(--brand-card);
  border: 1px solid #1f2937;
  padding: 2rem;
  transition: border-color var(--transition);
}

.card:hover {
  border-color: var(--brand-green);
}

.card-icon {
  width: 4rem;
  height: 4rem;
  background-color: rgba(0, 255, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 2rem;
  height: 2rem;
  color: var(--brand-green);
  stroke: var(--brand-green);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.card-hook {
  color: #9ca3af;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.card-body {
  color: #9ca3af;
}

/* ── Scenario Cards (Problem Solving) ──────────────────────── */
.grid-lg-3 {
  display: grid;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 1024px) {
  .grid-lg-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.scenario-card {
  background-color: var(--brand-card);
  border: 2px solid #1f2937;
  overflow: hidden;
  transition: border-color var(--transition);
}

.scenario-card:hover {
  border-color: var(--brand-green);
}

.scenario-img {
  height: 12rem;
  background: linear-gradient(135deg, rgba(0, 255, 136, 0.2), transparent);
  overflow: hidden;
}

.scenario-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.scenario-body {
  padding: 2rem;
}

.scenario-quote {
  color: #9ca3af;
  font-style: italic;
  margin-bottom: 1rem;
}

.scenario-title {
  font-size: 1.5rem;
  color: var(--brand-green);
  margin-bottom: 1rem;
}

.scenario-body p {
  color: #9ca3af;
  margin-bottom: 0.5rem;
}

.scenario-body p strong {
  color: #ffffff;
}

/* ── Two-column feature sections ───────────────────────────── */
.feature-grid {
  display: grid;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-grid.reverse .feature-img {
  order: -1;
}

@media (max-width: 1023px) {
  .feature-grid.reverse .feature-img {
    order: 1;
  }
}

.feature-img {
  position: relative;
}

.feature-img-deco {
  position: absolute;
  top: -2rem;
  right: -2rem;
  width: 16rem;
  height: 16rem;
  background-color: var(--brand-green);
  opacity: 0.05;
  pointer-events: none;
}

.feature-img-deco.left {
  right: auto;
  left: -2rem;
}

.feature-img img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid #1f2937;
}

.feature-content h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

.feature-content>p {
  font-size: 1.25rem;
  color: #9ca3af;
  margin-bottom: 2rem;
}

.feature-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Check list */
.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.check-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand-green);
  stroke: var(--brand-green);
}

.check-item p {
  color: #9ca3af;
}

.check-item strong {
  color: #ffffff;
}

/* Icon list (TV icon) */
.icon-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.icon-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.icon-item-icon {
  width: 1.5rem;
  height: 1.5rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  color: var(--brand-green);
  stroke: var(--brand-green);
}

.icon-item p {
  color: #9ca3af;
}

.icon-item strong {
  color: #ffffff;
}

/* Brand tier boxes */
.brand-tiers {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.brand-tier {
  background-color: var(--brand-card);
  border: 1px solid #1f2937;
  padding: 1rem;
}

.brand-tier p:first-child {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.brand-tier p:last-child {
  color: #9ca3af;
}

/* ── Process Steps ──────────────────────────────────────────── */
.steps-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.step-card {
  background-color: var(--brand-card);
  border: 1px solid #1f2937;
  padding: 2rem;
  transition: border-color var(--transition);
}

.step-card:hover {
  border-color: var(--brand-green);
}

.step-num {
  width: 3rem;
  height: 3rem;
  background-color: var(--brand-green);
  color: var(--brand-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #9ca3af;
  font-size: 0.9375rem;
}

/* ── Comparison Table ───────────────────────────────────────── */
.table-wrap {
  max-width: 64rem;
  margin: 0 auto;
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

thead tr {
  background-color: var(--brand-card);
}

th,
td {
  border: 1px solid #1f2937;
  padding: 1rem;
  text-align: left;
}

th.highlight-col,
td.highlight-col {
  background-color: rgba(0, 255, 136, 0.05);
}

th.highlight-col span {
  color: var(--brand-green);
}

td.dimmed {
  color: #9ca3af;
}

.tick {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tick svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  color: var(--brand-green);
  stroke: var(--brand-green);
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list {
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--brand-card);
  border: 1px solid #1f2937;
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.0625rem;
  font-weight: 600;
  gap: 1rem;
  transition: background-color var(--transition);
}

.faq-trigger:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.faq-chevron {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
  stroke: var(--brand-green);
  transition: transform 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.5rem;
  color: #9ca3af;
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  display: block;
}

/* ── Contact Form ───────────────────────────────────────────── */
#contact {
  background-color: var(--brand-mid);
}

.form-wrap {
  max-width: 52rem;
  margin: 0 auto;
}

.form-box {
  background-color: var(--form-bg);
  border: 1px solid #1f2937;
  padding: 1rem;
  border-radius: 0.5rem;
}

@media (min-width: 768px) {
  .form-box {
    padding: 4rem;
  }
}

.form-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group label {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--label-color);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background-color: var(--input-bg);
  border: 1px solid var(--input-border);
  padding: 1rem 1.25rem;
  color: #ffffff;
  font-size: 1rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  font-family: inherit;
  border-radius: 0.25rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 1px var(--brand-green);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 3rem;
}

.form-group select option {
  background-color: var(--brand-dark);
}

.form-group textarea {
  resize: none;
  min-height: 12rem;
}

.form-group-full {
  margin-bottom: 2rem;
}

.btn-submit {
  width: 100%;
  background-color: var(--brand-green);
  color: var(--brand-dark);
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, background-color var(--transition);
  border-radius: 0.25rem;
  text-transform: none;
}

.btn-submit:hover {
  background-color: #00ff99;
  transform: translateY(-2px);
}

.form-note {
  text-align: center;
  color: #9ca3af;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}

.form-note a {
  color: var(--brand-green);
  text-decoration: underline;
}

/* ── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--brand-dark);
  border-top: 1px solid #1f2937;
  padding: 3rem 0;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.footer-brand p {
  color: #9ca3af;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col ul a {
  color: #9ca3af;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.footer-col ul a:hover {
  color: var(--brand-green);
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: #9ca3af;
  font-size: 0.875rem;
}

.contact-item svg {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
  stroke: var(--brand-green);
}

.contact-item a {
  color: #9ca3af;
  transition: color var(--transition);
}

.contact-item a:hover {
  color: var(--brand-green);
}

.footer-address p {
  color: #9ca3af;
  font-size: 0.875rem;
  line-height: 1.8;
}

.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-top: 2rem;
  text-align: center;
  color: #9ca3af;
  font-size: 0.875rem;
}

/* ── Animation System ───────────────────────────────────────── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }

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

@keyframes zoomIn {
  0% {
    transform: scale(1);
  }

  100% {
    transform: scale(1.1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.4);
  }

  70% {
    box-shadow: 0 0 0 10px rgba(0, 255, 136, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(0, 255, 136, 0);
  }
}

.reveal {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-up {
  transform: translateY(30px);
}

.reveal-scale {
  transform: scale(0.95);
}

.reveal.active {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* Specific entrance animations for hero */
.animate-fadeInUp {
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.animate-fadeIn {
  animation: fadeIn 1.5s ease-out forwards;
}

.hero-bg img {
  animation: zoomIn 30s ease-in-out infinite alternate;
}

.btn-primary:hover {
  animation: pulse-glow 1.5s infinite;
  background-color: var(--brand-green-dk);
}

[data-delay] {
  transition-delay: calc(var(--delay) * 1ms);
}

/* ── Responsive Tweaks ──────────────────────────────────────── */
@media (max-width: 480px) {
  .trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .trust-brands {
    width: 100%;
    gap: 1rem;
    justify-content: flex-start;
  }

  .trust-brand-item {
    flex: 1 1 calc(50% - 0.75rem);
    height: 3.5rem;
    width: auto;
    /* Allow flex to determine width */
  }

  .trust-brand-item img {
    height: 150%;
    /* Slightly less zoom for better fit on mobile */
  }
}

/* ── Floating WhatsApp Button ──────────────────────────────── */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 15px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.whatsapp-float:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #128c7e;
  box-shadow: 2px 5px 20px rgba(0, 0, 0, 0.5);
  color: #FFF;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

@media (max-width: 768px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
}

/* flagship solutions CTA consistency */
@media (max-width: 480px) {
  .feature-grid .btn-primary {
    min-width: 280px;
    /* Exactly matches width of longest CTA: "Request LED Site Survey" */
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .solution-card .btn-primary {
    width: 100%;
    max-width: 400px;
  }
}

/* ── Infinite Logo Scroller ─────────────────────────────────── */
.scroller-section {
  padding: 4rem 0;
  background-color: var(--brand-dark);
  border-top: 1px solid #1f2937;
  border-bottom: 1px solid #1f2937;
  overflow: hidden;
}

.scroller-header {
  text-align: center;
  margin-bottom: 3rem;
}

.scroller-header h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  color: #ffffff;
}

.scroller-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
}

.scroller-container::before,
.scroller-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15vw;
  max-width: 200px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.scroller-container::before {
  left: 0;
  background: linear-gradient(to right, var(--brand-dark), transparent);
}

.scroller-container::after {
  right: 0;
  background: linear-gradient(to left, var(--brand-dark), transparent);
}

.scroller-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: scroll 40s linear infinite;
  padding: 1rem 0;
}

.scroller-track-inner {
  display: flex;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
}

.scroller-track:hover {
  animation-play-state: paused;
}

.scroller-item {
  width: 160px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), box-shadow var(--transition);
  background-color: #ffffff;
  border: 1px solid #374151;
}

.scroller-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  border-color: var(--brand-green);
}

.scroller-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .scroller-track-inner {
    gap: 2rem;
    padding-right: 2rem;
  }
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}