/* ==========================================================================
   Yaseen Tax Consultancy — Design System
  Theme: Royal Violet + Reef Gold — Yaseen Tax Consultancy 2026
   ========================================================================== */

/* Local fonts */
@import url('../fonts/fonts.css');

:root {
 /* Brand: Reef Gold (accent) + Royal Violet (primary) */
 --gold: #B68A3E;            /* reef gold */
 --gold-600: #946C29;        /* deeper gold for hover */
 --gold-700: #6E4F1B;
 --gold-50:  #FBF5E8;        /* gold tint background */
 --gold-100: #F2E2BD;
 --violet: #5B2466;          /* logo violet (primary) */
 --violet-600: #4A1B53;      /* darker violet for hover */
 --violet-700: #371041;
 --violet-50:  #F4ECF6;
 --violet-100: #E2CFEA;
 --ink: #1A0F22;             /* deep violet-tinted ink */
 --ink-700: #2A1F33;
 --muted: #6B6275;
 --line: #ECE6F0;
 --bg: #FFFFFF;
 --bg-soft: #FBF8FC;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-sm: 0 4px 20px rgba(14,17,22,.06);
  --shadow-md: 0 20px 50px rgba(14,17,22,.08);
 --shadow-gold: 0 20px 50px rgba(182,138,62,.35);
 --shadow-violet: 0 20px 50px rgba(91,36,102,.35);
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Poppins', system-ui, sans-serif;
  --ease: cubic-bezier(.2,.8,.2,1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; min-width: 0; }

html, body {
  max-width: 100vw;
  width: 100%;
  overflow-x: clip;       /* hard clip prevents any child from creating a scroll axis */
  overscroll-behavior-x: none;
}
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Fallback for browsers without overflow:clip */
@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* Neutralise Bootstrap row negative gutters that overflow custom containers */
.row { --bs-gutter-x: 1.5rem; margin-right: 0; margin-left: 0; }
.row > * { padding-right: calc(var(--bs-gutter-x) * .5); padding-left: calc(var(--bs-gutter-x) * .5); }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

img, svg, video, iframe { max-width: 100%; display: block; height: auto; }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1.15;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

h1 { font-size: clamp(2rem, 4.6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.15rem, 1.9vw, 1.55rem); }

p { overflow-wrap: break-word; }

.lead { color: var(--muted); font-size: clamp(.95rem, 1.2vw, 1.05rem); }

a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--violet); }

.container-xxl {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: clamp(1rem, 3vw, 1.5rem);
  padding-right: clamp(1rem, 3vw, 1.5rem);
}

.section { padding: clamp(3rem, 7vw, 6rem) 0; position: relative; overflow-x: clip; }
.section-sm { padding: clamp(2.5rem, 5vw, 4.5rem) 0; position: relative; overflow-x: clip; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-600);
  padding: .4rem .9rem;
  background: var(--gold-50);
  border-radius: 999px;
  max-width: 100%;
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 50%; flex-shrink: 0;
}

/* -------- Buttons -------- */
.btn {
  border-radius: 999px;
  padding: .8rem 1.5rem;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #fff; box-shadow: var(--shadow-gold); }
.btn-gold:hover { background: var(--gold-600); color: #fff; transform: translateY(-2px); }
.btn-violet, .btn-primary { background: var(--violet); color: #fff; box-shadow: var(--shadow-violet); }
.btn-violet:hover, .btn-primary:hover { background: var(--violet-600); color: #fff; transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-700); color: #fff; transform: translateY(-2px); }
.btn-outline-ink { background: transparent; color: var(--ink); border: 1.5px solid var(--ink); }
.btn-outline-ink:hover { background: var(--ink); color: #fff; transform: translateY(-2px); }
.btn-outline-violet { background: transparent; color: var(--violet); border: 1.5px solid var(--violet); }
.btn-outline-violet:hover { background: var(--violet); color: #fff; transform: translateY(-2px); }

/* -------- Navbar -------- */
.navbar-custom {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1030;
  padding: .85rem 0;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid transparent;
  transition: padding .3s var(--ease), background .3s var(--ease), box-shadow .3s var(--ease);
}
.navbar-custom.scrolled {
  padding: .55rem 0;
  background: rgba(255,255,255,.96);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.navbar-custom .container-xxl { display: flex; align-items: center; flex-wrap: wrap; }
.navbar-custom .brand {
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  letter-spacing: -.01em;
  min-width: 0;
}
.navbar-custom .brand > span:last-child {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.navbar-custom .brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--violet); color: #fff;
  display: grid; place-items: center; font-weight: 800; font-size: 1.05rem;
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}
.navbar-custom .brand img,
.navbar-custom .brand .custom-logo {
  height: clamp(40px, 5vw, 56px);
  width: auto;
  max-width: 220px;
  display: block;
}
.navbar-custom .nav-link {
  font-family: var(--font-display);
  font-weight: 500; font-size: .95rem;
  color: var(--ink-700) !important;
  padding: .5rem 1rem !important;
  position: relative;
}
.navbar-custom .nav-link::after {
  content: ""; position: absolute; left: 1rem; right: 1rem; bottom: .3rem;
  height: 2px; background: linear-gradient(90deg, var(--violet), var(--gold)); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.navbar-custom .nav-link:hover::after,
.navbar-custom .nav-link.active::after { transform: scaleX(1); }
.navbar-custom .nav-link.active { color: var(--ink) !important; font-weight: 600; }

.navbar-toggler { border: none; padding: .4rem; }
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%230E1116' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* -------- Hero (100vh) -------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + 1.5rem) 0 2rem;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 85% 15%, var(--violet-50) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, var(--gold-50) 0%, transparent 50%),
    var(--bg);
}
.hero .container-xxl { width: 100%; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.hero h1 { margin: 1rem 0 1.25rem; }
.hero h1 .accent { color: var(--violet); position: relative; display: inline-block; }
.hero h1 .accent::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 14px;
  background: var(--gold-100); z-index: -1; border-radius: 4px;
}
.hero .lead { max-width: 520px; }
.hero-cta { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
  margin-top: clamp(1.75rem, 4vh, 3rem);
  padding-top: clamp(1.25rem, 3vh, 2.25rem);
  border-top: 1px solid var(--line);
}
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.6vw, 2.25rem);
  color: var(--ink);
  letter-spacing: -.03em;
  line-height: 1.1;
}
.hero-stats .stat-label {
  font-size: .78rem; color: var(--muted); text-transform: uppercase;
  letter-spacing: .08em; margin-top: .35rem; line-height: 1.3;
}

.hero-visual { position: relative; max-width: 100%; isolation: isolate; }
.hero-visual img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/5;
  object-fit: cover;
  max-height: 70vh;
}
.hero-visual .orb {
  position: absolute; width: clamp(120px, 22vw, 200px); height: clamp(120px, 22vw, 200px);
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: .35; filter: blur(40px); z-index: 0; pointer-events: none;
}
.hero-visual .orb.tl { top: -20px; left: -20px; }
.hero-visual .orb.br { bottom: -20px; right: -20px; }
.hero-visual img, .hero-visual .floating-card { position: relative; z-index: 1; }
.floating-card {
  position: absolute; background: #fff; padding: .85rem 1.1rem; border-radius: 16px;
  box-shadow: var(--shadow-md); display: flex; align-items: center; gap: .75rem;
  animation: float 6s ease-in-out infinite;
  max-width: min(230px, 60%);
  z-index: 2;
}
.floating-card .fc-icon {
  width: 40px; height: 40px; border-radius: 11px; background: var(--gold-50); color: var(--gold-600);
  display: grid; place-items: center; font-size: 1.25rem; flex-shrink: 0;
}
.floating-card .fc-title { font-family: var(--font-display); font-weight: 700; font-size: .9rem; line-height: 1.2; }
.floating-card .fc-sub { font-size: .72rem; color: var(--muted); line-height: 1.3; }
.fc-1 { top: 6%; left: 0; }
.fc-2 { bottom: 10%; right: 0; animation-delay: 2s; }

@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

/* -------- Page header (inner pages) -------- */
.page-header {
  padding: calc(var(--nav-h) + 2.5rem) 0 3.5rem;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, var(--gold-50) 0%, transparent 60%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { margin-bottom: 1rem; }
.breadcrumb-custom {
  display: inline-flex; flex-wrap: wrap; justify-content: center; gap: .5rem;
  font-size: .85rem; color: var(--muted);
  font-family: var(--font-display); font-weight: 500;
}
.breadcrumb-custom a { color: var(--muted); }
.breadcrumb-custom a:hover { color: var(--gold-600); }
.breadcrumb-custom .sep { color: var(--gold); }

/* -------- Logo cloud -------- */
.logo-strip { padding: 2.25rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.logo-strip .label { font-family: var(--font-display); font-weight: 600; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); text-align: center; margin-bottom: 1.25rem; }
.logo-strip .logos {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 2rem);
  align-items: center;
}
.logo-strip .logos span {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(.85rem, 1.3vw, 1.05rem);
  color: var(--muted); text-align: center; opacity: .7;
  transition: opacity .3s;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.logo-strip .logos span:hover { opacity: 1; color: var(--ink); }

/* -------- Services cards -------- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 1.25rem; }
.service-card {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  transition: all .35s var(--ease); overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, var(--gold) 0%, var(--gold-600) 100%);
  opacity: 0; transition: opacity .35s var(--ease); z-index: 0;
}
.service-card > * { position: relative; z-index: 1; }
.service-card .s-icon {
  width: 54px; height: 54px; border-radius: 14px;
  background: var(--gold-50); color: var(--gold-600);
  display: grid; place-items: center; font-size: 1.6rem; margin-bottom: 1.15rem;
  transition: all .35s var(--ease);
}
.service-card h3 { margin-bottom: .55rem; font-size: 1.15rem; }
.service-card p { color: var(--muted); font-size: .92rem; margin-bottom: 1.15rem; }
.service-card .s-link { font-family: var(--font-display); font-weight: 600; font-size: .87rem; color: var(--ink); display: inline-flex; align-items: center; gap: .4rem; }
.service-card:hover { transform: translateY(-6px); border-color: transparent; box-shadow: var(--shadow-md); }
.service-card:hover::before { opacity: 1; }
.service-card:hover .s-icon { background: #fff; color: var(--gold-600); }
.service-card:hover h3, .service-card:hover p, .service-card:hover .s-link { color: var(--ink); }

/* -------- About / value blocks -------- */
.value-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: clamp(1.25rem, 3vw, 2rem); }
.value-item { padding: 1rem; }
.value-item .v-num {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  color: var(--gold); letter-spacing: -.03em; line-height: 1; margin-bottom: .5rem;
}
.value-item h4 { font-size: 1.05rem; margin-bottom: .5rem; }
.value-item p { color: var(--muted); font-size: .9rem; margin: 0; }

/* -------- Split image section -------- */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.split-section .s-img { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 4/5; max-height: 600px; }
.split-section .s-img img { width: 100%; height: 100%; object-fit: cover; }
.checklist { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; margin-bottom: .9rem; font-size: .96rem; }
.checklist li i { color: var(--gold-600); font-size: 1.2rem; flex-shrink: 0; margin-top: 2px; }

/* -------- Testimonials -------- */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px,1fr)); gap: 1.25rem; }
.testimonial {
  background: var(--bg-soft); border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid var(--line); position: relative;
}
.testimonial .quote-mark { font-size: 2.75rem; color: var(--gold); line-height: 1; font-family: Georgia,serif; }
.testimonial p { color: var(--ink-700); font-size: .98rem; font-style: italic; margin: 0 0 1.15rem; }
.testimonial .t-author { display: flex; align-items: center; gap: .8rem; }
.testimonial .t-avatar {
  width: 46px; height: 46px; border-radius: 50%; background: var(--gold); color: var(--ink);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
  flex-shrink: 0;
}
.testimonial .t-name { font-family: var(--font-display); font-weight: 600; font-size: .94rem; }
.testimonial .t-role { font-size: .8rem; color: var(--muted); }

/* -------- Blog cards -------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}
.blog-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
}
.blog-card .b-img {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--gold-50);
  position: relative;
}
.blog-card .b-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .6s var(--ease);
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.blog-card:hover .b-img img { transform: scale(1.06); }
.blog-card .b-body {
  padding: clamp(1.25rem, 2vw, 1.75rem);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.blog-card .b-meta {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem .85rem;
  font-size: .78rem;
  color: var(--muted);
  margin-bottom: .85rem;
  font-family: var(--font-display);
  font-weight: 500;
  align-items: center;
}
.blog-card .b-tag {
  background: var(--gold-50);
  color: var(--gold-600);
  padding: .25rem .7rem;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.blog-card h3 {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.35;
  margin-bottom: .6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card h3 a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
.blog-card h3 a:hover { color: var(--gold-600); }
.blog-card p {
  font-size: .9rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card .s-link {
  margin-top: auto;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .87rem;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  text-decoration: none;
  align-self: flex-start;
  transition: gap .25s var(--ease), color .25s var(--ease);
}
.blog-card .s-link:hover { color: var(--gold-600); gap: .65rem; }
.blog-card .s-link i { transition: transform .25s var(--ease); }
.blog-card:hover .s-link i { transform: translateX(3px); }

/* -------- CTA banner -------- */
.cta-banner {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-700) 100%);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 4.5rem);
  color: #fff; position: relative; overflow: hidden;
}
.cta-banner::before {
  content: ""; position: absolute; top: -50%; right: -10%;
  width: clamp(280px, 50vw, 500px); height: clamp(280px, 50vw, 500px);
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%); opacity: .3;
  pointer-events: none;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: #fff; max-width: 650px; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,.75); max-width: 550px; margin-bottom: 1.75rem; }

/* -------- Contact -------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(1.75rem, 3vw, 3rem);
}
.contact-info-card { background: var(--ink); color: #fff; border-radius: var(--radius-xl); padding: clamp(1.75rem, 3vw, 2.5rem); position: relative; overflow: hidden; }
.contact-info-card::before {
  content: ""; position: absolute; bottom: -50%; right: -20%;
  width: clamp(240px, 40vw, 400px); height: clamp(240px, 40vw, 400px);
  background: radial-gradient(circle, var(--gold) 0%, transparent 65%); opacity: .35;
  pointer-events: none;
}
.contact-info-card > * { position: relative; z-index: 1; }
.contact-info-card h3 { color: #fff; margin-bottom: 1rem; }
.contact-info-card p { color: rgba(255,255,255,.7); margin-bottom: 1.75rem; }
.info-item { display: flex; gap: .9rem; margin-bottom: 1.25rem; }
.info-item .ii-icon {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(91,36,102,.12); color: var(--gold);
  display: grid; place-items: center; font-size: 1.15rem; flex-shrink: 0;
}
.info-item .ii-label { font-size: .76rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .1em; }
.info-item .ii-val { font-family: var(--font-display); font-weight: 500; font-size: .95rem; word-break: break-word; }
.info-item .ii-val a { color: #fff; }
.info-item .ii-val a:hover { color: var(--gold); }
.socials { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
.socials a {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.socials a:hover { background: var(--gold); color: var(--ink); transform: translateY(-3px); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl); padding: clamp(1.75rem, 3vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-label { font-family: var(--font-display); font-weight: 500; font-size: .87rem; color: var(--ink-700); margin-bottom: .35rem; }
.form-control, .form-select {
  border: 1.5px solid var(--line); border-radius: 12px; padding: .8rem 1rem; font-size: .94rem;
  background: #fff; transition: all .25s var(--ease); font-family: var(--font-body);
  width: 100%;
}
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 4px var(--gold-50); }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 1rem; }

/* Map */
.map-wrap { border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-wrap iframe { width: 100%; height: clamp(280px, 45vw, 420px); border: 0; display: block; filter: grayscale(30%) contrast(.95); }

/* FAQ */
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-md); margin-bottom: 1rem; overflow: hidden; background: #fff; }
.faq-q {
  padding: 1.1rem 1.25rem; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem; transition: background .2s;
}
.faq-q:hover { background: var(--bg-soft); }
.faq-q i { color: var(--gold-600); transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); padding: 0 1.25rem; color: var(--muted); }
.faq-item.open .faq-a { max-height: 500px; padding: 0 1.25rem 1.25rem; }

/* -------- Footer -------- */
.site-footer { background: linear-gradient(160deg, #1A0F22 0%, #2A1140 60%, #1A0F22 100%); color: rgba(255,255,255,.72); padding: clamp(3rem, 6vw, 5rem) 0 2rem; margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 3px solid var(--gold); }
.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 1.15rem; font-family: var(--font-display); font-weight: 600; letter-spacing: 0; }
.site-footer a { color: rgba(255,255,255,.72); font-size: .9rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .55rem; word-break: break-word; }
.site-footer .f-brand { color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; margin-bottom: 1rem; display: inline-flex; align-items: center; gap: .6rem; }
.site-footer .f-brand .brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--gold); color: #fff; display: grid; place-items: center; font-weight: 800; }
.site-footer .f-logo { display: inline-block; margin-bottom: 1rem; }
.site-footer .f-logo img { height: 64px; width: auto; max-width: 240px; display: block; filter: brightness(0) invert(1); opacity: .95; }
.site-footer .f-tagline { font-size: .92rem; max-width: 320px; }
.site-footer .f-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 2.5rem; padding-top: 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; font-size: .82rem; }
.newsletter { display: flex; gap: .5rem; margin-top: 1rem; flex-wrap: wrap; }
.newsletter input { flex: 1 1 180px; min-width: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); color: #fff; padding: .7rem 1rem; border-radius: 999px; font-size: .88rem; }
.newsletter input::placeholder { color: rgba(255,255,255,.4); }
.newsletter input:focus { outline: none; border-color: var(--gold); }
.newsletter button { background: var(--gold); color: var(--ink); border: none; padding: .7rem 1.2rem; border-radius: 999px; font-weight: 600; cursor: pointer; transition: background .25s; white-space: nowrap; }
.newsletter button:hover { background: var(--gold-600); }

/* WhatsApp floating */
.whatsapp-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 999;
  width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; font-size: 1.65rem;
  box-shadow: 0 10px 30px rgba(37,211,102,.4); transition: transform .25s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* -------- Responsive Breakpoints -------- */

/* Large tablets / small laptops */
@media (max-width: 1199px) {
  .hero-grid { gap: 2.5rem; }
  .floating-card { max-width: 200px; }
  .fc-1 { left: 0; }
  .fc-2 { right: 0; }
}

/* Tablets & below — collapse hero to single column, allow scroll past hero */
@media (max-width: 991px) {
  .hero {
    min-height: auto;
    padding: calc(var(--nav-h) + 2rem) 0 3rem;
  }
  .hero-grid, .split-section, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { order: -1; max-width: 460px; margin: 0 auto; width: 100%; }
  .hero-visual img { aspect-ratio: 16/11; max-height: 380px; }
  .fc-1, .fc-2 { display: none; }
  .logo-strip .logos { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; row-gap: 1.5rem; }

  .navbar-custom { padding: .65rem 0; background: rgba(255,255,255,.96); }
  .navbar-custom.scrolled { background: rgba(255,255,255,.98); }
  .navbar-custom .navbar-collapse {
    flex-basis: 100%;
    margin-top: .5rem;
  }
  .navbar-custom .navbar-nav { padding: 1rem 0 .5rem; gap: .25rem; align-items: stretch; }
  .navbar-custom .nav-link { padding: .65rem .25rem !important; }
  .navbar-custom .nav-link::after { display: none; }
  .navbar-custom .ms-lg-3 { margin-top: .75rem; }
  .navbar-custom .btn { width: 100%; justify-content: center; }
}

/* Small tablets / large phones */
@media (max-width: 767px) {
  body { font-size: 15px; }
  .hero { padding: calc(var(--nav-h) + 1.5rem) 0 2.5rem; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1 1 auto; }
  .hero-stats { margin-top: 2rem; padding-top: 1.5rem; }
  .cta-banner { text-align: left; }
  .site-footer .f-bottom { flex-direction: column; text-align: center; gap: .5rem; }
}

/* Phones */
@media (max-width: 575px) {
  :root { --radius-xl: 24px; --radius-lg: 20px; }
  .hero-stats { grid-template-columns: 1fr 1fr; gap: 1rem 1.25rem; }
  .hero-stats > :nth-child(3) { grid-column: 1/3; }
  .hero-stats .stat-num { font-size: 1.6rem; }
  .logo-strip .logos { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.25rem; }
  .service-card, .form-card, .contact-info-card { padding: 1.5rem; }
  .testimonial { padding: 1.5rem; }
  .cta-banner { padding: 1.75rem; border-radius: 20px; }
  .section { padding: 3rem 0; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.4rem; bottom: 1rem; right: 1rem; }
  .navbar-custom .brand { font-size: .98rem; }
  .navbar-custom .brand > span:last-child .text-muted { display: none; }
  .floating-card { display: none; }
  .btn { padding: .75rem 1.2rem; font-size: .9rem; }
  .hero-visual img { aspect-ratio: 4/3; max-height: 320px; }
  .page-header { padding: calc(var(--nav-h) + 1.75rem) 0 2.5rem; }
}

/* Very small phones */
@media (max-width: 360px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-stats > :nth-child(3) { grid-column: auto; }
}

/* Short viewports — keep hero usable on landscape phones */
@media (max-height: 640px) and (min-width: 992px) {
  .hero { min-height: auto; padding: calc(var(--nav-h) + 2rem) 0 3rem; }
  .hero-stats { margin-top: 1.5rem; padding-top: 1.25rem; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Global overflow safeguards — ensure NO horizontal scroll on any device
   ========================================================================== */
.hero, .page-header, .cta-banner, .contact-info-card, .site-footer { overflow: hidden; }
.container-xxl { max-width: min(1280px, 100%); }
.row { max-width: 100%; }
img, video, iframe, svg, canvas, picture { max-width: 100%; height: auto; }
pre, code { white-space: pre-wrap; word-break: break-word; }
table { max-width: 100%; }
.newsletter, .hero-cta, .breadcrumb-custom, .b-meta, .socials { max-width: 100%; }

/* Tighten footer bottom row on small screens to avoid wide flex children pushing layout */
.site-footer .f-bottom > * { min-width: 0; max-width: 100%; }

/* Ensure inner-page hero/page-header padding leaves room for floating WhatsApp button on mobile */
@media (max-width: 575px) {
  body { padding-bottom: env(safe-area-inset-bottom); }
  .container-xxl { padding-left: 1rem; padding-right: 1rem; }
  .hero-visual { max-width: 100%; }
  .hero-visual img { aspect-ratio: 4/3; max-height: 300px; }
  .cta-banner::before { width: 240px; height: 240px; }
  .contact-info-card::before { width: 220px; height: 220px; }
  .newsletter input { flex: 1 1 100%; }
  .newsletter button { flex: 0 0 auto; }
  .info-item .ii-val { font-size: .9rem; }
  .blog-card .b-meta { font-size: .72rem; gap: .5rem; }
  .breadcrumb-custom { font-size: .78rem; }
}

/* Extra-small (≤360px) — final fits */
@media (max-width: 360px) {
  .container-xxl { padding-left: .85rem; padding-right: .85rem; }
  .navbar-custom .brand-mark { width: 34px; height: 34px; font-size: .95rem; }
  .navbar-custom .brand { font-size: .92rem; gap: .45rem; }
  .btn { padding: .7rem 1rem; font-size: .85rem; }
  .eyebrow { font-size: .7rem; padding: .35rem .7rem; }
  .service-card .s-icon { width: 48px; height: 48px; font-size: 1.4rem; }
  .testimonial .quote-mark { font-size: 2.25rem; }
  .site-footer .f-brand { font-size: 1.15rem; }
}

/* ============== WordPress-specific styles ============== */
.alignleft   { float: left;  margin: .5rem 1.25rem 1rem 0; max-width: 100%; }
.alignright  { float: right; margin: .5rem 0 1rem 1.25rem; max-width: 100%; }
.aligncenter { display: block; margin: 1rem auto; max-width: 100%; }
.alignwide   { width: 100%; }
.alignfull   { width: 100%; }
.wp-caption  { max-width: 100%; }
.wp-caption-text, .wp-block-image figcaption { font-size: .875rem; color: var(--ink-2); margin-top: .5rem; text-align: center; }

.post-content h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.25rem; margin-bottom: 1rem; }
.post-content h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); margin-top: 1.75rem; margin-bottom: .75rem; }
.post-content h4 { font-size: 1.15rem; margin-top: 1.5rem; margin-bottom: .5rem; }
.post-content p, .post-content ul, .post-content ol, .post-content blockquote { margin-bottom: 1.1rem; line-height: 1.75; color: var(--ink-2); }
.post-content ul, .post-content ol { padding-left: 1.4rem; }
.post-content li { margin-bottom: .35rem; }
.post-content a  { color: var(--gold-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-content a:hover { color: var(--gold-700); }
.post-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 1rem 0; }
.post-content blockquote { border-left: 4px solid var(--gold); background: var(--bg-soft); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.post-content pre { background: var(--ink); color: #f5f5f5; padding: 1rem 1.25rem; border-radius: var(--radius); overflow-x: auto; font-size: .9rem; }
.post-content code { background: var(--bg-soft); padding: .15rem .4rem; border-radius: 4px; font-size: .92em; }
.post-content table { width: 100%; border-collapse: collapse; margin: 1.25rem 0; }
.post-content th, .post-content td { border: 1px solid var(--bg-soft); padding: .65rem .85rem; text-align: left; }
.post-content th { background: var(--bg-soft); font-weight: 700; }

/* Pagination */
.yaseen-pagination, .nav-links, .pagination {
  display: flex; justify-content: center; gap: .5rem; flex-wrap: wrap; margin-top: 3rem;
}
.nav-links .page-numbers, .pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 .85rem;
  border-radius: 999px; border: 1px solid var(--bg-soft); background: #fff;
  color: var(--ink); text-decoration: none; font-weight: 600; transition: all .2s;
}
.nav-links .page-numbers:hover, .pagination .page-numbers:hover { border-color: var(--gold); color: var(--gold-700); }
.nav-links .page-numbers.current, .pagination .page-numbers.current { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* Comments */
.comment-list { list-style: none; padding: 0; }
.comment-list .comment, .comment-list .pingback {
  background: #fff; border: 1px solid var(--bg-soft); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin-bottom: 1rem;
}
.comment-list .children { list-style: none; padding-left: 1.5rem; margin-top: 1rem; }
.comment-author { font-weight: 700; }
.comment-meta { font-size: .85rem; color: var(--ink-2); margin-bottom: .5rem; }
.comment-respond { margin-top: 2rem; background: #fff; border: 1px solid var(--bg-soft); border-radius: var(--radius); padding: 1.5rem; }
.comment-respond input[type=text], .comment-respond input[type=email], .comment-respond input[type=url], .comment-respond textarea {
  width: 100%; padding: .65rem .85rem; border: 1px solid var(--bg-soft); border-radius: 8px; margin-bottom: 1rem;
}

/* Custom logo container */
.custom-logo-link { display: inline-block; }
.custom-logo { max-height: 48px; width: auto; }

/* Skip link */
.skip-link.visually-hidden-focusable:focus { z-index: 9999; background: var(--gold); color: var(--ink); padding: .75rem 1.25rem; border-radius: 0 0 8px 0; }

/* Sub menu (Bootstrap dropdown) styling tweak */
.navbar-custom .dropdown-menu { border: 1px solid var(--bg-soft); border-radius: 12px; box-shadow: var(--shadow-md); padding: .5rem; }
.navbar-custom .dropdown-item { border-radius: 8px; padding: .55rem .85rem; }
.navbar-custom .dropdown-item:hover { background: var(--bg-soft); color: var(--gold-700); }

/* Tag links */
.post-content .tag-link, .tagcloud a {
  display: inline-block; background: var(--bg-soft); color: var(--ink-2);
  padding: .25rem .75rem; border-radius: 999px; font-size: .8rem; margin-right: .35rem; margin-bottom: .35rem;
  text-decoration: none;
}
.post-content .tag-link:hover, .tagcloud a:hover { background: var(--gold); color: var(--ink); }

/* ==========================================================================
   Royal Violet Emphasis — strengthen violet presence across the brand
   ========================================================================== */

/* Hero: violet glow dominates */
.hero {
  background:
    radial-gradient(circle at 85% 15%, var(--violet-100) 0%, transparent 55%),
    radial-gradient(circle at 10% 80%, var(--gold-50) 0%, transparent 50%),
    var(--bg) !important;
}
.hero-visual .orb {
  background: radial-gradient(circle, var(--violet) 0%, transparent 70%) !important;
  opacity: .45 !important;
}
.hero-visual .orb.br {
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%) !important;
  opacity: .35 !important;
}
.floating-card .fc-icon {
  background: var(--violet-50);
  color: var(--violet);
}

/* Page header — violet wash */
.page-header {
  background:
    radial-gradient(circle at 50% 0%, var(--violet-50) 0%, transparent 60%),
    var(--bg);
  border-bottom: 2px solid var(--violet-100);
}
.breadcrumb-custom .sep { color: var(--violet); }
.breadcrumb-custom a:hover { color: var(--violet); }

/* Service cards — violet hover state */
.service-card::before {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-600) 100%) !important;
}
.service-card .s-icon {
  background: var(--violet-50);
  color: var(--violet);
}
.service-card:hover .s-icon { background: #fff; color: var(--violet); }
.service-card:hover h3 { color: #fff; }

/* Stats — violet numbers */
.stat-num, .hero-stats .stat-num { color: var(--violet) !important; }

/* Blog cards — violet accent */
.blog-card .b-tag {
  background: var(--violet-50);
  color: var(--violet);
}
.blog-card h3 a:hover { color: var(--violet); }
.blog-card .s-link:hover { color: var(--violet); }

/* Testimonials — violet quote */
.testimonial .quote-mark { color: var(--violet); }
.testimonial .t-avatar { background: var(--violet); color: #fff; }

/* Contact info — violet icon background */
.info-item .ii-icon {
  background: var(--violet-50);
  color: var(--violet);
}
.socials a:hover { background: var(--violet); color: #fff; }

/* Forms — violet focus ring */
.form-control:focus, .form-select:focus {
  border-color: var(--violet);
  box-shadow: 0 0 0 4px var(--violet-50);
}

/* FAQ */
.faq-q i { color: var(--violet); }

/* Section headings — violet eyebrow + underline */
.eyebrow {
  color: var(--violet) !important;
  background: var(--violet-50);
}
h1, h2, h3 { color: var(--ink); }
h2 .accent, h1 .accent { color: var(--violet); }

/* Navbar — violet active underline */
.navbar-custom .nav-link::after {
  background: linear-gradient(90deg, var(--violet), var(--gold)) !important;
}
.navbar-custom .nav-link:hover { color: var(--violet) !important; }

/* Links global */
a { color: var(--violet); }
a:hover { color: var(--violet-600); }

/* Footer — deeper violet gradient with gold border */
.site-footer {
  background: linear-gradient(160deg, #371041 0%, #5B2466 55%, #2A1140 100%) !important;
  border-top: 3px solid var(--gold) !important;
}
.site-footer a:hover { color: var(--gold); }

/* Tag links hover */
.post-content .tag-link:hover, .tagcloud a:hover {
  background: var(--violet) !important;
  color: #fff !important;
}

/* Buttons: keep primary violet, secondary gold */
.btn-primary {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-600) 100%) !important;
  border: none;
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--violet-600) 0%, var(--violet-700) 100%) !important;
}

/* ============================================================
   VIOLET BOOST v2 — make violet dominant in cards & buttons
   ============================================================ */

/* All buttons default to bold violet gradient */
.btn, button.btn {
  letter-spacing: .2px;
}
.btn-primary, .btn-violet, button[type="submit"]:not(.btn-outline-violet):not(.btn-gold) {
  background: linear-gradient(135deg, #5B2466 0%, #7A2F8A 50%, #4A1B53 100%) !important;
  color: #fff !important;
  border: none !important;
  box-shadow: 0 10px 25px -8px rgba(91,36,102,.55), inset 0 1px 0 rgba(255,255,255,.15) !important;
  transition: all .3s ease !important;
}
.btn-primary:hover, .btn-violet:hover, button[type="submit"]:not(.btn-outline-violet):not(.btn-gold):hover {
  background: linear-gradient(135deg, #4A1B53 0%, #5B2466 50%, #371041 100%) !important;
  box-shadow: 0 15px 35px -8px rgba(91,36,102,.7) !important;
  transform: translateY(-3px) !important;
}
.btn-outline-violet, .btn-outline {
  background: transparent !important;
  color: var(--violet) !important;
  border: 2px solid var(--violet) !important;
  font-weight: 600 !important;
}
.btn-outline-violet:hover, .btn-outline:hover {
  background: linear-gradient(135deg, #5B2466 0%, #7A2F8A 100%) !important;
  color: #fff !important;
  border-color: var(--violet) !important;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #D4A85A 100%) !important;
  color: #371041 !important;
  border: none !important;
  font-weight: 700 !important;
}

/* Cards — violet tinted background, violet top border accent */
.service-card, .blog-card, .floating-card, .info-item, .testimonial, .pricing-card, .feature-card, .card {
  
  box-shadow: 0 4px 20px -8px rgba(91,36,102,.18) !important;
  transition: all .35s ease !important;
}
.service-card:hover, .blog-card:hover, .info-item:hover, .testimonial:hover, .pricing-card:hover, .feature-card:hover, .card:hover {
  border-top-color: var(--gold) !important;
  box-shadow: 0 20px 45px -12px rgba(91,36,102,.4) !important;
  transform: translateY(-6px) !important;
}

/* Service card on hover — full violet flood */
.service-card:hover {
  background: linear-gradient(135deg, #5B2466 0%, #7A2F8A 100%) !important;
  border-color: var(--gold) !important;
}
.service-card:hover * { color: #fff !important; }
.service-card:hover .s-icon {
  background: rgba(255,255,255,.18) !important;
  color: #fff !important;
}
.service-card:hover .s-link { color: var(--gold) !important; }

/* Blog card tag — solid violet pill */
.blog-card .b-tag, .post-categories a, .badge {
  background: linear-gradient(135deg, var(--violet) 0%, #7A2F8A 100%) !important;
  color: #fff !important;
  font-weight: 600 !important;
  border-radius: 999px !important;
  padding: 4px 12px !important;
}

/* Icon chips (service / contact info) — violet gradient */
.s-icon, .ii-icon, .fc-icon, .feature-icon {
  background: linear-gradient(135deg, #5B2466 0%, #7A2F8A 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px -6px rgba(91,36,102,.5) !important;
}

/* Section background washes — more violet */
section:nth-of-type(even) {
  background: linear-gradient(180deg, #FBF7FC 0%, #F4ECF6 100%);
}

/* Eyebrow / chips */
.eyebrow {
  background: linear-gradient(135deg, var(--violet-50), var(--violet-100)) !important;
  color: var(--violet-600) !important;
  border: 1px solid var(--violet-100) !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
}

/* Navbar — subtle violet underline on items */
.navbar-custom {
  border-bottom: 2px solid var(--violet-100) !important;
}
.navbar-custom .nav-link.active, .navbar-custom .current-menu-item > a {
  color: var(--violet) !important;
}

/* CTA section — bold violet hero band */
.cta-section, .cta-band {
  background: linear-gradient(135deg, #371041 0%, #5B2466 50%, #7A2F8A 100%) !important;
  color: #fff !important;
}
.cta-section .btn-primary, .cta-band .btn-primary {
  background: linear-gradient(135deg, var(--gold) 0%, #D4A85A 100%) !important;
  color: #371041 !important;
}

/* Inputs — violet border on focus */
.form-control, .form-select, input[type="text"], input[type="email"], input[type="tel"], textarea {
  border: 1.5px solid var(--violet-100) !important;
}
.form-control:focus, .form-select:focus, input:focus, textarea:focus {
  border-color: var(--violet) !important;
  box-shadow: 0 0 0 4px rgba(91,36,102,.12) !important;
}

/* Pagination */
.page-numbers, .pagination a, .pagination span {
  border: 1px solid var(--violet-100) !important;
  color: var(--violet) !important;
}
.page-numbers.current, .pagination .current {
  background: linear-gradient(135deg, var(--violet), #7A2F8A) !important;
  color: #fff !important;
  border-color: var(--violet) !important;
}

/* Sidebar widgets */
.widget {
  background: #FBF7FC !important;
  border-left: 3px solid var(--violet) !important;
}
.widget-title { color: var(--violet) !important; }

/* Scrollbar accent (webkit) */
::-webkit-scrollbar-thumb { background: var(--violet) !important; }

/* =========================================================
   CLIENT LOGOS MARQUEE — continuous right-to-left scroll
   ========================================================= */
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 18px 0 6px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: yaseen-logo-scroll 38s linear infinite;
  will-change: transform;
}
.logo-marquee:hover .logo-marquee-track { animation-play-state: paused; }
.logo-marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  min-width: 140px;
  opacity: .85;
  transition: opacity .25s ease, transform .25s ease, filter .25s ease;
}
.logo-marquee-item:hover { opacity: 1; transform: translateY(-2px); }
.logo-marquee-item img {
  max-height: 56px;
  max-width: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) brightness(.92);
  transition: filter .3s ease;
}
.logo-marquee-item:hover img { filter: grayscale(0%) brightness(1); }
.logo-marquee-item .logo-text {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: .14em;
  font-size: 18px;
  color: #5B2466;
  white-space: nowrap;
  text-transform: uppercase;
}
.logo-marquee-item a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

@keyframes yaseen-logo-scroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 768px) {
  .logo-marquee-track { gap: 40px; animation-duration: 28s; }
  .logo-marquee-item { height: 48px; min-width: 110px; }
  .logo-marquee-item img { max-height: 44px; max-width: 140px; }
  .logo-marquee-item .logo-text { font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; }
  .logo-marquee { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
}