/* ==========================================================================
   Technology Centre Imarat — site styles
   Palette: navy / blue / grey — trustworthy and technical.
   Integrated with Bootstrap 5 Framework.
   ========================================================================== */

:root {
    /* --navy matches the logo ink (#0F172A) so headings and the wordmark agree. */
    --navy: #0f172a;
    --navy-deep: #080e1b;
    --blue: #0f62b0;
    --blue-dark: #0b4d8c;
    --accent: #2a9df4;

    --ink: #16202e;
    --muted: #5a6b7d;
    --bg: #ffffff;
    --surface: #f4f7fb;
    --border: #e2e8f0;

    --radius: 10px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 2px rgba(10, 37, 64, .06), 0 2px 8px rgba(10, 37, 64, .05);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, .08), 0 12px 32px rgba(10, 37, 64, .07);

    --container: 1140px;
    --header-h: 76px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--blue);
    text-decoration: none;
}

a:hover {
    color: var(--blue-dark);
}

h1,
h2,
h3,
h4 {
    margin: 0 0 .6em;
    line-height: 1.2;
    color: var(--navy);
    font-weight: 700;
    letter-spacing: -.015em;
}

h1 {
    font-size: clamp(1.19rem, 2.31vw, 1.68rem);
}

h2 {
    font-size: clamp(1.6rem, 3vw, 2.25rem);
}

h3 {
    font-size: 1.2rem;
}

p {
    margin: 0 0 1.1em;
}

.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(20px, 4vw, 28px);
}

/* Vertical rhythm scales with the viewport instead of stepping at breakpoints. */
.section {
    padding: clamp(56px, 7vw, 84px) 0;
}

.section--tight {
    padding: clamp(44px, 5vw, 60px) 0;
}

.section--surface {
    background: var(--surface);
    border-block: 1px solid var(--border);
}

.section-head {
    max-width: 720px;
    margin-bottom: 48px;
}

.section-head--center {
    margin-inline: auto;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--blue);
}

.lead {
    font-size: 1.15rem;
    color: var(--muted);
}

/* --------------------------------------------------------- Buttons ------ */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: 1px solid transparent;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--blue);
    color: #fff;
}

.btn-primary:hover {
    background: var(--blue-dark);
    color: #fff;
}

.btn-outline {
    border-color: rgba(255, 255, 255, .45);
    color: #fff;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, .12);
    border-color: #fff;
    color: #fff;
}

.btn-ghost {
    border-color: var(--border);
    background: #fff;
    color: var(--navy);
}

.btn-ghost:hover {
    border-color: var(--blue);
    color: var(--blue);
}

.btn-sm {
    padding: 10px 20px;
    font-size: .94rem;
}

/* ---------------------------------------------------------- Header ------ */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--header-h);
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.logo img {
    display: block;
    /* Logo is sized by height; the SVG's aspect ratio sets the width. */
    height: 46px;
    width: auto;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.site-nav a {
    color: var(--ink);
    font-size: .97rem;
    font-weight: 500;
}

.site-nav a:hover,
.site-nav a.is-active {
    color: var(--blue);
}

.site-nav a.is-active {
    font-weight: 600;
}

.site-nav .btn {
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
    color: var(--navy);
    cursor: pointer;
}

/* ------------------------------------------------------------ Hero ------ */

.hero {
    --shade-1: .70;
    --shade-2: .60;
    position: relative;
    padding: 110px 0 100px;
    background-color: var(--navy-deep);
    background-image:
        radial-gradient(1100px 520px at 78% 12%, rgba(42, 157, 244, .22), transparent 62%),
        linear-gradient(160deg, rgba(15, 23, 42, var(--shade-1)) 0%, rgba(8, 14, 27, var(--shade-2)) 100%),
        var(--hero-image, none);
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
}

.hero--home {
    --hero-image: url("../img/hero/home.jpg");
}

.hero::before {
    content: "";
    position: absolute;
    top: -30%;
    right: -15%;
    width: 70vw;
    height: 70vw;
    max-width: 900px;
    max-height: 900px;
    background:
        radial-gradient(circle at 35% 35%, rgba(42, 157, 244, .30), transparent 62%),
        radial-gradient(circle at 70% 65%, rgba(15, 98, 176, .26), transparent 58%);
    filter: blur(10px);
    animation: hero-drift 22s ease-in-out infinite;
    pointer-events: none;
}

@keyframes hero-drift {

    0%,
    100% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    50% {
        transform: translate3d(-6%, 7%, 0) scale(1.12);
    }
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(120% 90% at 60% 30%, #000 30%, transparent 78%);
    -webkit-mask-image: radial-gradient(120% 90% at 60% 30%, #000 30%, transparent 78%);
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    max-width: 760px;
}

.hero h1 {
    color: #fff;
    margin-bottom: .45em;
}

.hero p {
    max-width: 620px;
    font-size: .84rem;
    color: rgba(255, 255, 255, .82);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

/* Compact hero for interior pages. */
.page-hero {
    --shade-1: .72;
    --shade-2: .62;
    padding: 110px 0 100px;
    background-color: var(--navy-deep);
    background-image:
        radial-gradient(900px 420px at 85% 0%, rgba(42, 157, 244, .18), transparent 60%),
        linear-gradient(160deg, rgba(15, 23, 42, var(--shade-1)) 0%, rgba(8, 14, 27, var(--shade-2)) 100%),
        var(--hero-image, none);
    background-size: auto, auto, cover;
    background-position: center, center, center;
    background-repeat: no-repeat;
    color: #fff;
}

.hero h1,
.hero p,
.page-hero h1,
.page-hero p {
    text-shadow: 0 2px 16px rgba(0, 0, 0, .45);
}

.page-hero--solutions {
    --hero-image: url("../img/hero/solutions.jpg");
}

.page-hero--partners {
    --hero-image: url("../img/hero/partners.jpg");
}

.page-hero--about {
    --hero-image: url("../img/hero/about.jpg");
}

.page-hero--contact {
    --hero-image: url("../img/hero/contact.jpg");
    --shade-1: .84;
    --shade-2: .76;
}

.page-hero h1 {
    color: #fff;
    margin-bottom: .35em;
}

.page-hero p {
    max-width: 720px;
    margin: 0;
    font-size: .79rem;
    color: rgba(255, 255, 255, .82);
}

.page-hero .eyebrow {
    color: var(--accent);
}

/* ------------------------------------------------------- Trust bar ------ */

.trust-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
}

.trust-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 14px 34px;
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--muted);
    font-size: .95rem;
    font-weight: 500;
    text-align: center;
}

.trust-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trust-list li:not(:last-child)::after {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--border);
}

.trust-list strong {
    color: var(--navy);
}

/* ----------------------------------------------------------- Cards ------ */

.grid {
    display: grid;
    gap: 26px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.card {
    padding: 32px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.card:hover {
    transform: translateY(-3px);
    border-color: #cfe0f2;
    box-shadow: var(--shadow-md);
}

.card h3 {
    margin-bottom: .5em;
}

.card p:last-child {
    margin-bottom: 0;
    color: var(--muted);
}

.card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    border-radius: 12px;
    background: rgba(15, 98, 176, .09);
    color: var(--blue);
}

/* Numbered "why choose us" / approach list. */
.pillars {
    counter-reset: pillar;
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.pillars li {
    counter-increment: pillar;
    position: relative;
    padding-top: 58px;
}

.pillars li::before {
    content: counter(pillar, decimal-leading-zero);
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--navy);
    color: #fff;
    font-size: .9rem;
    font-weight: 700;
}

.pillars h3 {
    margin-bottom: .4em;
}

.pillars p {
    margin: 0;
    color: var(--muted);
}

/* ---------------------------------------------------------- Vision ------ */

.vision .container {
    max-width: 900px;
    text-align: center;
}

.vision blockquote {
    position: relative;
    margin: 0;
    padding-top: 18px;
    font-size: clamp(1.25rem, 2.4vw, 1.75rem);
    line-height: 1.45;
    font-weight: 500;
    color: var(--navy);
    letter-spacing: -.01em;
}

.vision blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 54px;
    height: 3px;
    border-radius: 2px;
    background: var(--blue);
}

/* ------------------------------------------------------------- CTA ------ */

.cta {
    padding: 76px 0;
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue-dark) 100%);
    color: #fff;
    text-align: center;
}

.cta h2 {
    color: #fff;
    margin-bottom: .4em;
}

.cta p {
    max-width: 560px;
    margin: 0 auto 30px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, .84);
}

/* -------------------------------------------------------- Partners ------ */

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 20px;
}

.logo-tile {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 118px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: .02em;
    text-align: center;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.logo-tile:hover {
    border-color: #cfe0f2;
    box-shadow: var(--shadow-sm);
}

.brand-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.brand-strip li {
    padding: 11px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--navy);
    font-size: .98rem;
    font-weight: 600;
    letter-spacing: .01em;
}

.logo-tile.has-logo {
    padding: 20px 24px;
}

.logo-tile img {
    display: block;
    max-width: 100%;
    max-height: 44px;
    width: auto;
    object-fit: contain;
}

.brand-strip li.has-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
}

.brand-strip img {
    display: block;
    height: 24px;
    max-height: none;
    width: auto;
    max-width: 124px;
    object-fit: contain;
}

/* ----------------------------------------------------------- Stats ------ */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    padding: 38px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    text-align: center;
}

.stats div strong {
    display: block;
    font-size: 2.1rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--navy);
}

.stats div span {
    font-size: .95rem;
    color: var(--muted);
}

/* ------------------------------------------------- Solutions detail ----- */

.solution-list {
    display: grid;
    gap: 22px;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    padding: 32px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fc 100%);
    border: 2px solid var(--navy);
    border-radius: 24px;
    box-shadow: 0 20px 44px rgba(10, 20, 40, .12);
}

.solution {
    display: flex;
    gap: 20px;
    padding: 30px 28px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.solution .card-icon {
    margin-bottom: 0;
    flex: none;
    transition: background-color .2s ease, color .2s ease;
}

.solution h3 {
    margin-bottom: .45em;
    transition: color .2s ease;
}

.solution p {
    margin: 0;
    color: var(--muted);
}

.solution:hover {
    background: #f1f7fd;
    border-color: #b9d6f2;
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.solution:hover .card-icon {
    background: var(--blue);
    color: #fff;
}

.solution:hover h3 {
    color: var(--blue);
}

/* --------------------------------------------------------- Contact ------ */

.contact-layout {
    display: grid;
    gap: 44px;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    align-items: stretch;
}

.contact-left {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.contact-details {
    margin: 0;
    padding: 0;
    list-style: none;
}

.contact-details li {
    display: flex;
    gap: 16px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
}

.contact-details li:first-child {
    padding-top: 0;
}

.contact-details li:last-child {
    border-bottom: 0;
}

.contact-details .card-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 0;
    flex: none;
}

.contact-label {
    display: block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-value {
    display: block;
    margin-top: 2px;
    color: var(--ink);
    font-weight: 500;
}

.form-card {
    padding: 34px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.field {
    margin-bottom: 18px;
}

.field label {
    display: block;
    margin-bottom: 7px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--navy);
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    font-family: inherit;
    font-size: 1rem;
    color: var(--ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.field input:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(15, 98, 176, .14);
}

.field textarea {
    min-height: 130px;
    resize: vertical;
}

.field-row {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.form-note {
    margin: 16px 0 0;
    font-size: .88rem;
    color: var(--muted);
}

.form-status {
    margin-top: 16px;
    padding: 13px 16px;
    border-radius: var(--radius);
    font-size: .94rem;
    font-weight: 500;
}

.form-status[hidden] {
    display: none;
}

.form-status.is-success {
    background: #e8f6ed;
    border: 1px solid #b7e0c6;
    color: #1c6b3a;
}

.form-status.is-error {
    background: #fdecec;
    border: 1px solid #f3c4c4;
    color: #9b2323;
}

.map-frame {
    margin-top: 24px;
    flex: 1;
    min-height: 240px;
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
}

.map-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 240px;
    border: 0;
}

@media (max-width: 860px) {
    .contact-left {
        height: auto;
    }

    .map-frame iframe {
        height: 280px;
    }
}

/* ---------------------------------------------------------- Footer ------ */

.site-footer {
    padding: 62px 0 28px;
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .68);
    font-size: .95rem;
}

.footer-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(0, 1.6fr) repeat(auto-fit, minmax(180px, 1fr));
    padding-bottom: 36px;
}

.site-footer h4 {
    margin-bottom: 16px;
    color: #fff;
    font-size: .82rem;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.site-footer a {
    color: rgba(255, 255, 255, .68);
}

.site-footer a:hover {
    color: #fff;
}

.footer-brand .logo {
    margin-bottom: 18px;
}

.footer-brand .logo img {
    height: 52px;
}

.footer-brand p {
    max-width: 320px;
    margin: 0;
}

.footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.social-links {
    display: flex;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.social-links a {
    display: inline-flex;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    transition: transform .18s ease, opacity .18s ease;
}

.social-links svg {
    display: block;
    width: 100%;
    height: 100%;
}

.social-links a:hover {
    transform: translateY(-2px);
    opacity: .88;
}

.footer-links li {
    margin-bottom: 10px;
    overflow-wrap: anywhere;
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: .88rem;
    text-align: center;
}

/* ------------------------------------------------------- Utilities ------ */

.center {
    text-align: center;
}

.mt-40 {
    margin-top: 40px;
}

.muted {
    color: var(--muted);
}

.todo {
    background: #fff4d6;
    border-bottom: 1px dashed #d9a520;
    padding: 0 3px;
    border-radius: 3px;
    color: #7a5600;
}

.hero .todo,
.page-hero .todo,
.trust-list .todo {
    background: rgba(255, 214, 102, .22);
    border-bottom-color: rgba(255, 214, 102, .7);
    color: #ffd666;
}

/* ------------------------------------------------------ Testimonials ---- */

.testimonials {
    overflow: hidden;
}

.marquee {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}

.marquee-track {
    display: flex;
    gap: 22px;
    width: max-content;
    padding: 6px 11px;
    animation: marquee-scroll 42s linear infinite;
}

@keyframes marquee-scroll {
    from {
        transform: translate3d(0, 0, 0);
    }

    to {
        transform: translate3d(-50%, 0, 0);
    }
}

.marquee:hover .marquee-track,
.marquee:focus-within .marquee-track {
    animation-play-state: paused;
}

.testimonial {
    flex: none;
    width: min(88vw, 350px);
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px 26px 22px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.testimonial p {
    margin: 0;
    flex: 1;
    color: var(--ink);
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial p::before {
    content: "\201C";
}

.testimonial p::after {
    content: "\201D";
}

.stars {
    display: flex;
    gap: 3px;
}

.stars svg {
    width: 16px;
    height: 16px;
    fill: #f5a623;
}

.testimonial footer {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--a, var(--navy)) 0%, var(--b, var(--blue)) 100%);
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.who strong {
    display: block;
    color: var(--navy);
    font-size: .98rem;
}

.who span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
}

/* ================================================ Motion & polish ======= */

.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .65s cubic-bezier(.22, .61, .36, 1),
        transform .65s cubic-bezier(.22, .61, .36, 1);
    will-change: opacity, transform;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

.site-header.is-scrolled {
    box-shadow: 0 4px 22px rgba(10, 20, 40, .09);
}

.card {
    position: relative;
    overflow: hidden;
}

.card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(90deg, var(--blue), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s cubic-bezier(.22, .61, .36, 1);
}

.card:hover::before {
    transform: scaleX(1);
}

.card:hover .card-icon {
    background: var(--blue);
    color: #fff;
}

.card-icon {
    transition: background-color .25s ease, color .25s ease;
}

.pillars li::before {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    box-shadow: 0 6px 16px rgba(15, 98, 176, .28);
}

.stats div strong {
    background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stats div strong.todo {
    background: #fff4d6;
    -webkit-text-fill-color: #7a5600;
    color: #7a5600;
}

.logo-tile {
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.logo-tile:hover {
    transform: translateY(-3px);
}

.btn-primary {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, .28) 50%, transparent 80%);
    transform: translateX(-120%);
    transition: transform .6s ease;
}

.btn-primary:hover::after {
    transform: translateX(120%);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 3px solid rgba(42, 157, 244, .6);
    outline-offset: 3px;
    border-radius: 5px;
}

::selection {
    background: rgba(15, 98, 176, .18);
}

@media (prefers-reduced-motion: reduce) {

    .reveal,
    .reveal.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero::before {
        animation: none;
    }

    .marquee-track {
        animation: none;
    }

    .marquee {
        overflow-x: auto;
    }

    .btn:hover,
    .card:hover,
    .solution:hover,
    .logo-tile:hover,
    .social-links a:hover {
        transform: none;
    }

    html {
        scroll-behavior: auto;
    }
}

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

@media (max-width: 860px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 16px 24px 24px;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .site-nav.is-open {
        display: flex;
    }

    .site-nav a {
        padding: 10px 0;
        font-size: 1.02rem;
    }

    .site-nav .btn {
        margin-top: 8px;
        justify-content: center;
    }

    .site-header {
        position: relative;
    }
}

@media (max-width: 640px) {
    body {
        font-size: 16px;
    }

    .logo img {
        height: 36px;
    }

    .footer-brand .logo img {
        height: 42px;
    }

    .section {
        padding: 60px 0;
    }

    .hero,
    .page-hero {
        padding: 76px 0 68px;
    }

    .form-card,
    .stats {
        padding: 24px;
    }

    .solution {
        flex-direction: column;
        gap: 14px;
    }

    .solution-list {
        padding: 14px;
        gap: 14px;
    }
}
