:root {
    --brand-red: #db2c24;
    --brand-red-dark: #b11d17;
    --brand-ink: #1f2128;
    --brand-slate: #5c626f;
    --brand-bg: #f7f3eb;
    --brand-line: rgba(219, 44, 36, 0.18);
    --shadow-soft: 0 30px 70px rgba(18, 22, 31, 0.12);
    --radius-lg: 28px;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: "Manrope", sans-serif;
    color: var(--brand-ink);
    background: radial-gradient(circle at top right, rgba(219, 44, 36, 0.08), transparent 22%), linear-gradient(180deg, #fff 0%, var(--brand-bg) 100%);
}
body.is-lightbox-open { overflow: hidden; }
img { max-width: 100%; display: block; }
.site-shell { position: relative; overflow: visible; }
.floating-accent { position: fixed; z-index: 0; border-radius: 999px; pointer-events: none; filter: blur(12px); }
.accent-one { inset: 12% auto auto -120px; width: 240px; height: 240px; background: rgba(219, 44, 36, 0.10); }
.accent-two { inset: auto -100px 16% auto; width: 220px; height: 220px; background: rgba(31, 33, 40, 0.08); }
.site-header, .site-footer, main { position: relative; z-index: 1; }
.site-header { z-index: 1050; }
.dropdown-menu { z-index: 1060; }
.navbar { background: rgba(255, 255, 255, 0.88); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(31, 33, 40, 0.06); }
.navbar-brand { color: var(--brand-ink); text-decoration: none; }
.navbar-brand strong, h1, h2, h3, h4 { font-family: "Outfit", sans-serif; }
.navbar-brand small { display: block; color: var(--brand-slate); }
.site-logo { width: clamp(56px, 7vw, 90px); height: auto; flex: 0 0 auto; }
.navbar-brand > span { min-width: 0; }
.navbar-brand strong { display: block; line-height: 1.05; }
.navbar-brand small { line-height: 1.1; }
.brand-mark {
    width: 52px; height: 52px; display: inline-grid; place-items: center; border-radius: 18px;
    background: linear-gradient(135deg, var(--brand-red), #f26c45); color: #fff; font-weight: 800;
}
.nav-link { color: var(--brand-ink); font-weight: 600; padding: 0.8rem 1rem !important; }
.nav-link.active, .nav-link:hover { color: var(--brand-red); }
.hero-section, .page-banner, .section-space, .cta-strip { padding: 5rem 0; }
.hero-section { padding-top: 6rem; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.18em; font-size: 0.82rem; font-weight: 800; color: var(--brand-red); }
h1 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 0.95; margin-bottom: 1.2rem; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; margin-bottom: 1rem; }
.lead { color: var(--brand-slate); font-size: 1.08rem; }
.btn-brand, .btn-outline-brand:hover { background: linear-gradient(135deg, var(--brand-red), #ef5737); color: #fff; border: 0; }
.btn-brand, .btn-outline-brand { border-radius: 999px; padding: 0.9rem 1.6rem; font-weight: 700; }
.btn-outline-brand { border: 1px solid rgba(219, 44, 36, 0.25); color: var(--brand-red); background: rgba(255, 255, 255, 0.88); }
.btn-outline-brand.is-active {
    background: linear-gradient(135deg, var(--brand-red), #ef5737);
    color: #fff;
    border-color: transparent;
}
.hero-visual, .banner-frame, .full-panel-image, .contact-card, .contact-form, .service-card, .leader-card, .quote-panel, .mini-card, .stat-card {
    border-radius: var(--radius-lg); box-shadow: var(--shadow-soft);
}
.hero-visual, .banner-frame { position: relative; overflow: hidden; border: 1px solid rgba(31, 33, 40, 0.08); }
.hero-visual { display: grid; place-items: center; padding: clamp(1.2rem, 3vw, 2.6rem); min-height: clamp(260px, 52vh, 560px); }
.hero-visual img, .banner-frame img, .project-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual .hero-logo { width: min(420px, 100%); height: auto; max-height: 100%; object-fit: contain; }
.banner-frame { aspect-ratio: 16 / 10; }
.hero-badge { position: absolute; right: 20px; bottom: 20px; padding: 1rem 1.4rem; border-radius: 22px; background: rgba(219, 44, 36, 0.92); color: #fff; font-weight: 800; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
.stat-card { padding: 1.6rem; background: rgba(255, 255, 255, 0.92); border: 1px solid rgba(31, 33, 40, 0.07); }
.stat-card h3 { font-size: 2rem; margin: 0; }
.stat-card p { margin: 0.4rem 0 0; color: var(--brand-slate); }
.split-feature { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; align-items: end; }
.split-feature img, .full-panel-image { border-radius: var(--radius-lg); aspect-ratio: 16 / 10; object-fit: cover; height: auto; }
.full-panel-image.js-lightbox-image { cursor: zoom-in; }
.feature-card, .contact-card, .contact-form, .quote-panel, .mini-card { background: rgba(255, 255, 255, 0.92); padding: 2rem; border: 1px solid rgba(31, 33, 40, 0.06); }
.feature-card { transform: translateX(-100px); }
.section-muted { background: linear-gradient(180deg, rgba(255, 255, 255, 0.65), rgba(255, 255, 255, 0.9)); }
.section-heading { max-width: 720px; margin-bottom: 2rem; }
.service-card, .leader-card { background: #fff; padding: 2rem; border: 1px solid rgba(31, 33, 40, 0.06); height: 100%; position: relative; overflow: hidden; }
.service-card::after, .leader-card::after {
    content: ""; position: absolute; inset: auto -40px -40px auto; width: 120px; height: 120px; border-radius: 30px 0 0 0; background: rgba(219, 44, 36, 0.08);
}
.service-line, .leader-cap { display: inline-block; width: 52px; height: 6px; border-radius: 999px; background: var(--brand-red); margin-bottom: 1.2rem; }
.leader-role { color: var(--brand-red); font-weight: 700; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.project-card { position: relative; min-height: clamp(260px, 42vh, 420px); overflow: hidden; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); }
.project-card.large { min-height: clamp(300px, 48vh, 480px); }
.project-card .js-lightbox-image { cursor: zoom-in; }
.project-card .js-project-gallery-trigger { cursor: pointer; }
.project-card h3.js-project-gallery-trigger:focus-visible { outline: 3px solid rgba(255, 255, 255, 0.88); outline-offset: 4px; border-radius: 8px; }
.units-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
}
.unit-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 33, 40, 0.08);
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.unit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 34px 80px rgba(18, 22, 31, 0.18);
}
.unit-card-media {
    aspect-ratio: 1 / 1;
    padding: 1rem;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, rgba(219, 44, 36, 0.08), rgba(255, 255, 255, 0.96));
}
.unit-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(18, 22, 31, 0.12));
}
.unit-card-body {
    padding: 1rem 1.1rem 1.2rem;
}
.unit-card-body h3 {
    font-size: 1.15rem;
    margin: 0 0 0.35rem;
}
.unit-card-body p {
    margin: 0;
    color: var(--brand-slate);
    font-size: 0.95rem;
}
.filtr-container {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
    max-width: 1180px;
    margin-inline: auto;
    align-items: stretch;
}
.filtr-container > .filtr-item {
    width: auto !important;
    max-width: none !important;
    flex: initial !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    will-change: transform;
}
.filtr-container > .filtr-item.is-hidden {
    display: none !important;
}
.filtr-container .agileits-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow-soft);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.filtr-container .agileits-img a {
    display: block;
    height: 100%;
}
.filtr-container .agileits-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
}
.filtr-container > .filtr-item:hover {
    transform: translateY(-8px) scale(1.02);
    z-index: 2;
}
.filtr-container > .filtr-item:hover .agileits-img {
    box-shadow: 0 34px 80px rgba(18, 22, 31, 0.18);
}
.filtr-container > .filtr-item:hover .agileits-img img {
    transform: scale(1.03);
}
.social-card-grid { max-width: 1180px; margin-inline: auto; }
.social-card {
    height: 100%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(31, 33, 40, 0.08);
    box-shadow: var(--shadow-soft);
}
.social-card-number {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--brand-red), #ef5737);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(219, 44, 36, 0.28);
}
.social-card-image {
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}
.social-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.social-card:hover .social-card-image img {
    transform: scale(1.03);
}
.social-card-body {
    padding: 1.3rem 1.35rem 1.5rem;
}
.social-card-body h3 {
    font-size: 1.25rem;
    margin: 0 0 0.45rem;
}
.social-card-body p {
    margin: 0;
    color: var(--brand-slate);
}
.project-overlay { position: absolute; inset: auto 0 0; padding: 1.6rem; background: linear-gradient(180deg, transparent, rgba(19, 22, 32, 0.82)); color: #fff; }
.project-overlay p { margin: 0 0 0.4rem; color: rgba(255, 255, 255, 0.84); }
.project-gallery-close {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    padding: 0.85rem 1.2rem;
    border: 0;
    border-radius: 999px;
    background: var(--brand-red);
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow-soft);
}
.project-gallery-close:hover {
    background: #b91f18;
}
.project-gallery-close:focus-visible {
    outline: 3px solid rgba(219, 44, 36, 0.42);
    outline-offset: 3px;
}
.project-sub-gallery .project-card {
    min-height: clamp(240px, 34vh, 360px);
}
.feature-stack { display: grid; gap: 1rem; }
.client-list { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.client-list span { padding: 0.8rem 1rem; background: #fff; border-radius: 999px; border: 1px solid rgba(31, 33, 40, 0.08); font-weight: 700; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; gap: 0.2rem; }
.contact-list strong { color: var(--brand-red); }
.contact-list span { overflow-wrap: anywhere; }
.form-control, .form-select { border-radius: 16px; padding: 0.95rem 1rem; border-color: rgba(31, 33, 40, 0.1); }
.form-control:focus, .form-select:focus { border-color: rgba(219, 44, 36, 0.5); box-shadow: 0 0 0 0.25rem rgba(219, 44, 36, 0.15); }
.cta-strip { background: linear-gradient(135deg, var(--brand-ink), #353843); color: #fff; }
.site-footer { padding: 3rem 0; background: #13161e; color: rgba(255, 255, 255, 0.82); }
.site-footer h3, .site-footer .eyebrow { color: #fff; }
.site-footer p { overflow-wrap: anywhere; }
.copyright { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: flex; flex-wrap: wrap; gap: 0.8rem 1.5rem; align-items: center; justify-content: space-between; }
.copyright a { color: rgba(255, 255, 255, 0.9); }
[data-animate] { opacity: 0; transform: translateY(28px) scale(0.98); transition: opacity 0.8s ease, transform 0.8s ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0) scale(1); }
@media (max-width: 991.98px) {
    .hero-section, .page-banner, .section-space, .cta-strip { padding: 4rem 0; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .project-grid, .split-feature { grid-template-columns: 1fr; }
    .units-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .filtr-container { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .social-card-grid { max-width: 720px; }
    .feature-card { transform: none; }
    .hero-visual { min-height: clamp(240px, 44vh, 420px); }
    .site-logo { width: clamp(52px, 8vw, 80px); }
}
@media (max-width: 575.98px) {
    h1 { font-size: 2.5rem; }
    .hero-badge { position: static; margin: 1rem; }
    .brand-mark { width: 44px; height: 44px; }
    .hero-section, .page-banner, .section-space, .cta-strip { padding: 3.25rem 0; }
    .stats-grid { grid-template-columns: 1fr; }
    .units-grid { grid-template-columns: 1fr; }
    .filtr-container { grid-template-columns: 1fr; }
    .social-card-number { top: 14px; left: 14px; width: 40px; height: 40px; }
    .site-logo { width: 60px; }
    .navbar-brand strong { font-size: 1.05rem; }
    .navbar-brand small { font-size: 0.85rem; }
    .copyright { justify-content: center; text-align: center; }
    .image-lightbox-nav { width: 44px; height: 44px; font-size: 28px; }
    .image-lightbox-prev { left: 8px; }
    .image-lightbox-next { right: 8px; }
    .image-lightbox-close { top: 12px; right: 12px; width: 40px; height: 40px; font-size: 26px; }
}

.image-lightbox {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: min(4vw, 42px);
    background: rgba(10, 12, 16, 0.92);
}

.image-lightbox-frame {
    position: relative;
    width: min(100%, 1400px);
    height: min(92vh, 900px);
    display: grid;
    place-items: center;
}

.image-lightbox-img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
}

.image-lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 34px;
    line-height: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.image-lightbox-prev { left: -18px; }
.image-lightbox-next { right: -18px; }

.image-lightbox-nav:hover {
    transform: translateY(-50%) scale(1.04);
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
}

.image-lightbox-nav:focus-visible {
    outline: 3px solid rgba(219, 44, 36, 0.85);
    outline-offset: 3px;
}

.image-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(16, 18, 24, 0.72);
    color: #fff;
    font-size: 30px;
    line-height: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.32);
    transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.image-lightbox-close:hover {
    transform: translateY(-1px);
    background: rgba(219, 44, 36, 0.92);
    border-color: rgba(255, 255, 255, 0.42);
    box-shadow: 0 16px 36px rgba(219, 44, 36, 0.28);
}

.image-lightbox-close:focus-visible {
    outline: 3px solid rgba(219, 44, 36, 0.85);
    outline-offset: 3px;
}

.powered {
    text-decoration: none;
}
.powered:hover{
    color:red;
}

.highlight{
    color: red;
    animation: highlightColorShift 1.4s ease-in-out infinite;
}

@keyframes highlightColorShift {
    0% {
        color: red;
    }
    50% {
        color: #1e6bff;
    }
    100% {
        color: red;
    }
}

@media (prefers-reduced-motion: reduce) {
    .highlight {
        animation: none;
    }
}

/* scroll effect */
.marquee-container {
  overflow: hidden;
  width: 100%;
  background: #ffffff; /* Adjust background as needed */
  padding: 20px 0;
  position: relative;
}

.marquee-track a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  /* Ensure no margins or padding are applied here */
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll 25s linear infinite;
}

/* Pause animation on hover for better user experience */
.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-track img {
  height: 100px;
  width: auto;
  margin-right: 60px; /* Gap stays outside the clickable anchor */
  object-fit: contain;
}

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

.marquee-group {
  display: flex;
  align-items: center;
  gap: 60px; /* Uniform gap between logos */
  padding-right: 60px; /* Matches the gap so the loop point is identical */
}

.marquee-group a {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
