/* =========================================================
   AJVANTIQA TECHNOLOGY
   MAIN WEBSITE STYLE
   =========================================================

   Brand Colors
   Navy : #191852
   Gold : #BE7F03

========================================================= */


/* =========================================================
   ROOT VARIABLES
========================================================= */

:root {

    --primary:        #191852;
    --primary-dark:   #11113d;
    --primary-light:  #29286f;

    --gold:           #BE7F03;
    --gold-light:     #d99a18;
    --gold-dark:      #956300;

    --white:          #ffffff;
    --off-white:      #f8f8fc;
    --light-bg:       #f4f5fa;

    --text:           #191852;
    --text-dark:      #11112f;
    --text-muted:     #68687d;
    --text-light:     #9999aa;

    --border:         rgba(25, 24, 82, 0.10);
    --border-light:   rgba(25, 24, 82, 0.06);

    --shadow-sm:  0 5px 20px rgba(25, 24, 82, 0.06);
    --shadow-md:  0 15px 40px rgba(25, 24, 82, 0.09);
    --shadow-lg:  0 25px 70px rgba(25, 24, 82, 0.14);

    --radius-sm:  10px;
    --radius-md:  18px;
    --radius-lg:  28px;
    --radius-xl:  40px;

    --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);

    --container:  1240px;
}


/* =========================================================
   RESET
========================================================= */

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    background: var(--white);
    color: var(--text);
    font-family: "Inter", "Segoe UI", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

img { max-width: 100%; height: auto; }

button, input, textarea, select { font: inherit; }

button { cursor: pointer; }

a { color: inherit; }

ul, ol { margin: 0; padding: 0; list-style: none; }

p { margin-top: 0; }

h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    color: var(--primary);
    font-family: "Manrope", "Segoe UI", sans-serif;
    line-height: 1.15;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(calc(100% - 48px), var(--container));
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   PRELOADER
========================================================= */

.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--white);
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.loader-logo img {
    width: 190px;
    display: block;
    animation: logoPulse 1.5s ease-in-out infinite;
}

.preloader-inner > p {
    margin-top: 16px;
    color: var(--text-muted);
    font-size: 12px;
    letter-spacing: 1px;
}

.loader-line {
    width: 120px;
    height: 3px;
    margin: 20px auto 0;
    overflow: hidden;
    background: rgba(190, 127, 3, 0.15);
    border-radius: 20px;
    position: relative;
}

.loader-line::after {
    content: "";
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: var(--gold);
    animation: loaderMove 1.2s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.03); }
}

@keyframes loaderMove {
    0%   { left: -100%; }
    100% { left:  100%; }
}


/* =========================================================
   SHARED TYPOGRAPHY HELPERS
========================================================= */

/* Eyebrow label */
.eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    margin-right: 9px;
    vertical-align: middle;
}

.eyebrow-gold { color: var(--gold-light); }
.eyebrow-gold::before { background: var(--gold-light); }

.gold-text { color: var(--gold); }

/* Section head */
.section-head {
    max-width: 760px;
    margin-bottom: 60px;
}

.section-head.centered {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(30px, 3.8vw, 50px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 16px;
}

.section-head p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto;
}

/* Legacy label (used by CTA / contact) */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 17px;
    color: var(--gold);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-label::before {
    content: "";
    width: 24px; height: 2px;
    background: var(--gold);
}

.light-label { color: var(--gold-light); }
.light-label::before { background: var(--gold); }

.label-line {
    display: inline-block;
    width: 20px; height: 2px;
    background: currentColor;
}


/* =========================================================
   BUTTONS
========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 12px 24px;
    border: 1px solid transparent;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    white-space: nowrap;
}

.btn i { font-size: 12px; transition: transform 0.3s ease; }
.btn:hover i { transform: translateX(4px); }

/* Primary (navy) */
.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    box-shadow: 0 10px 30px rgba(25, 24, 82, 0.20);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(25, 24, 82, 0.27);
}

/* Gold */
.btn-gold {
    color: var(--white);
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    box-shadow: 0 10px 30px rgba(190, 127, 3, 0.20);
}
.btn-gold:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(190, 127, 3, 0.28);
}

/* Gold outline (used in about section) */
.btn-gold-outline {
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(190, 127, 3, 0.55);
    background: rgba(190, 127, 3, 0.10);
}
.btn-gold-outline:hover {
    color: var(--white);
    border-color: var(--gold);
    background: var(--gold);
    transform: translateY(-3px);
}

/* Outline dark (hero) */
.btn-outline-dark {
    color: var(--primary);
    border-color: rgba(25, 24, 82, 0.18);
    background: rgba(255, 255, 255, 0.80);
}
.btn-outline-dark:hover {
    color: var(--white);
    border-color: var(--primary);
    background: var(--primary);
    transform: translateY(-3px);
}

/* Light */
.btn-light {
    color: var(--primary);
    background: var(--white);
    border-color: var(--white);
}
.btn-light:hover {
    color: var(--gold);
    transform: translateY(-3px);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;
    min-height: 860px;
    padding-top: 145px;
    padding-bottom: 0;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--white);
}

/* Background grid */
.hero-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.45;
    background-image:
        linear-gradient(rgba(25, 24, 82, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25, 24, 82, 0.04) 1px, transparent 1px);
    background-size: 55px 55px;
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    pointer-events: none;
}

/* Blobs */
.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
}

.hero-blob-one {
    width: 550px; height: 550px;
    right: -100px; top: -80px;
    background: radial-gradient(circle, rgba(190, 127, 3, 0.10), transparent 65%);
}

.hero-blob-two {
    width: 400px; height: 400px;
    left: -120px; bottom: 0;
    background: radial-gradient(circle, rgba(25, 24, 82, 0.07), transparent 65%);
}

/* Hero layout */
.hero-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    align-items: center;
    gap: 50px;
    width: min(calc(100% - 48px), var(--container));
    margin: 0 auto;
    padding-bottom: 80px;
}

/* ---- Hero Content ---- */
.hero-content { max-width: 600px; }

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 22px;
    padding: 8px 16px;
    border: 1px solid rgba(190, 127, 3, 0.22);
    border-radius: 50px;
    background: rgba(190, 127, 3, 0.06);
    color: var(--primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.hero-label-dot {
    width: 7px; height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 4px rgba(190, 127, 3, 0.15);
    flex-shrink: 0;
}

.hero-content h1 {
    font-size: clamp(40px, 4.8vw, 68px);
    font-weight: 800;
    letter-spacing: -2.5px;
    line-height: 1.05;
    margin-bottom: 22px;
    color: var(--primary);
}

.hero-highlight {
    color: var(--gold);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.85;
    max-width: 560px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.hero-trust-row {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}

.hero-trust-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.hero-trust-item i {
    color: var(--gold);
    font-size: 13px;
}

/* ---- Hero Visual ---- */
.hero-visual {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

/* Custom image uploaded via Admin → Settings → Hero Visual */
.hero-visual-custom-img {
    display: none;          /* hidden until JS sets a valid src */
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    border-radius: var(--radius-lg);
    z-index: 4;
}

/* Once JS adds .has-custom-img: show the photo, hide the mockups */
.hero-visual.has-custom-img .hero-visual-custom-img {
    display: block;
}

.hero-visual.has-custom-img .laptop-mockup,
.hero-visual.has-custom-img .phone-mockup,
.hero-visual.has-custom-img .hero-stat-card,
.hero-visual.has-custom-img .hero-illustration {
    display: none;
}

/* Hero illustration image (replaces CSS mockup) */
.hero-illustration {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 620px;
    flex-shrink: 0;
    filter: drop-shadow(0 30px 60px rgba(25, 24, 82, 0.18));
    animation: heroImgFloat 6s ease-in-out infinite;
}

.hero-illustration-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

@keyframes heroImgFloat {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-14px); }
}

/* When admin uploads a custom image, hide the illustration too */
.hero-visual.has-custom-img .hero-illustration {
    display: none;
}

/* Floating stat cards */
.hero-stat-card {
    position: absolute;
    z-index: 6;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 12px;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 35px rgba(25, 24, 82, 0.12);
    animation: floatUpDown 5s ease-in-out infinite;
}

.hero-stat-card strong {
    display: block;
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
    font-family: "Manrope", sans-serif;
}

.hero-stat-card small {
    display: block;
    color: var(--text-muted);
    font-size: 9px;
    margin-top: 1px;
}

.hero-stat-icon {
    width: 34px; height: 34px;
    border-radius: 9px;
    background: rgba(190,127,3,0.10);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.hero-stat-one { top: 60px; left: -10px; }
.hero-stat-two { top: 150px; right: 10px; animation-delay: 1.5s; }

@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-10px); }
}


/* =========================================================
   TRUSTED BAR
========================================================= */

/* =========================================================
   TECH STACK  +  CLIENTS  — static admin-managed grids
========================================================= */

/* ── Shared section wrapper ── */
.tech-stack-bar {
    padding: 80px 0 70px;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.tech-stack-bar::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.clients-bar {
    padding: 80px 0 70px;
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ── Section heading block ── */
.tc-section-head {
    text-align: center;
    margin-bottom: 50px;
}

.tc-section-head h2 {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -1px;
    margin: 8px 0 12px;
}

.tech-stack-bar .tc-section-head h2 { color: var(--white); }
.tech-stack-bar .tc-section-head p  { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 500px; margin: 0 auto; }

.clients-bar .tc-section-head h2 { color: var(--primary); }
.clients-bar .tc-section-head p  { color: var(--text-muted); font-size: 14px; max-width: 500px; margin: 0 auto; }

/* ── Shared grid ── */
.tc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 16px;
    justify-items: center;
}

/* ── Tech stack item ── */
.stack-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 22px 12px;
    border-radius: 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.70);
    font-size: 13px;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    text-align: center;
    transition: var(--transition);
    cursor: default;
}

.stack-logo:hover {
    background: rgba(190,127,3,0.12);
    border-color: rgba(190,127,3,0.35);
    color: var(--white);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.20);
}

.stack-logo i {
    font-size: 32px;
    transition: transform 0.3s ease;
}

.stack-logo:hover i { transform: scale(1.15); }

.stack-logo span {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    line-height: 1;
}

/* ── Clients grid — slightly wider items ── */
.tc-clients-grid {
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px;
}

/* ── Client logo card ── */
.client-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 16px;
    border-radius: 16px;
    background: var(--white);
    border: 1px solid var(--border);
    text-align: center;
    transition: var(--transition);
    cursor: default;
    box-shadow: 0 2px 10px rgba(25,24,82,0.05);
}

/* Name label — hidden, kept in HTML for accessibility/JS */
.client-logo span { display: none; }

.client-logo:hover {
    border-color: rgba(190,127,3,0.30);
    box-shadow: 0 8px 28px rgba(25,24,82,0.10);
    transform: translateY(-4px);
}

.client-logo-box {
    width: 150px; height: 96px;
    border-radius: 14px;
    background: var(--white);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    color: var(--primary);
    overflow: hidden;
    transition: background 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.client-logo:hover .client-logo-box {
    background: rgba(190,127,3,0.07);
    border-color: rgba(190,127,3,0.25);
    color: var(--gold);
}

/* Uploaded logo image inside box */
.client-logo-box img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 14px;
    filter: grayscale(0) opacity(1);   /* full colour, full opacity — HD clear */
    transition: transform 0.3s ease;
}

.client-logo:hover .client-logo-box img {
    transform: scale(1.06);
}

.client-logo:hover span { color: var(--primary); }

/* ── Keep old classes working (content-loader altSel) ── */
.trusted-bar { background: var(--primary); padding: 30px 0; }
.trusted-bar-label {
    text-align: center;
    color: rgba(255,255,255,0.45);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2.5px;
    margin-bottom: 22px;
}
.trusted-logos {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.trusted-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.70);
    font-size: 17px;
    font-weight: 700;
    font-family: "Manrope", sans-serif;
    transition: var(--transition);
    white-space: nowrap;
}
.trusted-logo i      { font-size: 22px; }
.trusted-logo:hover  { color: var(--white); }
.tl-wordmark         { font-size: 16px; font-weight: 900; letter-spacing: 1.5px; }
.oracle-mark         { letter-spacing: 1px; }
.ibm-mark            { font-size: 20px; letter-spacing: 2px; }
.intel-mark          { font-size: 17px; font-style: italic; letter-spacing: 0; }


/* =========================================================
   SERVICES SECTION
========================================================= */

.services-section {
    padding: 110px 0 90px;
    background: var(--off-white);
}

/* 6-column tech grid */
.tech-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px;
    margin-bottom: 55px;
}

/* Service card */
.svc-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 26px 20px 22px;
    transition: var(--transition);
    overflow: hidden;
}

.svc-card::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--gold));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.svc-card:hover {
    transform: translateY(-7px);
    border-color: rgba(190,127,3,0.25);
    box-shadow: var(--shadow-md);
}

.svc-card:hover::after { transform: scaleX(1); }

.svc-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 18px;
}

/* Icon colour variants */
.navy-bg   { background: rgba(25,24,82,0.09);   color: var(--primary); }
.gold-bg   { background: rgba(190,127,3,0.10);  color: var(--gold); }
.blue-bg   { background: rgba(30,100,220,0.10); color: #1e64dc; }
.orange-bg { background: rgba(230,100,20,0.10); color: #e66414; }
.purple-bg { background: rgba(130,50,200,0.10); color: #8232c8; }
.teal-bg   { background: rgba(10,170,160,0.10); color: #0aaaa0; }

.svc-card h3 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 9px;
    line-height: 1.3;
}

.svc-card p {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.svc-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.svc-link i { color: var(--gold); font-size: 10px; transition: transform 0.3s ease; }
.svc-link:hover { color: var(--gold); }
.svc-link:hover i { transform: translateX(4px); }

/* DM divider */
.dm-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 35px;
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.dm-divider::before,
.dm-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* 8-column DM row */
.dm-services-row {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 14px;
}

.dm-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px 16px 18px;
    text-align: center;
    transition: var(--transition);
}

.dm-item:hover {
    transform: translateY(-5px);
    border-color: rgba(190,127,3,0.30);
    box-shadow: var(--shadow-sm);
}

.dm-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    background: rgba(190,127,3,0.09);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin: 0 auto 14px;
}

.dm-item h4 {
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 7px;
    line-height: 1.3;
}

.dm-item p {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.6;
    margin: 0;
}


/* =========================================================
   ABOUT / IMPACT SECTION
========================================================= */

.about-impact {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #10103d, #191852, #1e1d6a);
    color: var(--white);
}

/* Background grid */
.ai-bg-grid {
    position: absolute;
    inset: 0;
    opacity: 0.25;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

/* Layout */
.ai-container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

/* Left content */
.ai-content h2 {
    color: var(--white);
    font-size: clamp(28px, 3.2vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.12;
    margin-bottom: 20px;
}

.ai-content > p {
    color: rgba(255,255,255,0.60);
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 28px;
    max-width: 460px;
}

/* Checklist */
.ai-checklist {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 32px;
}

.ai-check-row {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.ai-check-item {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,0.78);
    font-size: 12px;
    font-weight: 600;
}

.ai-check-item i { color: var(--gold); font-size: 13px; }

/* Stats */
.ai-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.ai-stat-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ai-stat-card:hover {
    border-color: rgba(190,127,3,0.40);
    background: rgba(190,127,3,0.07);
    transform: translateY(-4px);
}

.ai-stat-card > i {
    font-size: 20px;
    color: var(--gold);
    margin-bottom: 12px;
}

.ai-stat-card strong {
    font-family: "Manrope", sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    display: inline;
}

.stat-plus {
    font-family: "Manrope", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
}

.ai-stat-card p {
    margin: 8px 0 0;
    color: rgba(255,255,255,0.50);
    font-size: 11px;
    line-height: 1.4;
}

/* Logo visual */
.ai-logo-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 300px;
}

.ai-logo-rings {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(190,127,3,0.20);
    animation: rotateSlow linear infinite;
}

.ai-ring-one {
    width: 280px; height: 280px;
    animation-duration: 18s;
}

.ai-ring-two {
    width: 210px; height: 210px;
    border-color: rgba(255,255,255,0.08);
    animation-duration: 12s;
    animation-direction: reverse;
}

.ai-ring-three {
    width: 150px; height: 150px;
    border-color: rgba(190,127,3,0.12);
    animation-duration: 8s;
}

@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.ai-logo-center {
    position: relative;
    z-index: 2;
    width: 120px; height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px rgba(190,127,3,0.20);
}

.ai-logo-center img {
    width: 90px;
    filter: brightness(0) invert(1);
}


/* =========================================================
   3D ORBITAL STATS VISUAL  (.orb-scene)
   Replicates the reference: perspective-tilted elliptical
   disc, 3 glowing rings, gold orbiting dots, glassmorphism
   stat cards at 4 corners, diagonal trend arrows.
   Pure HTML + CSS + JS — no images.
========================================================= */

/* ── Outer scene container ── */
.orb-scene {
    position: relative;
    width: 100%;
    max-width: 560px;
    height: 520px;
    margin: 0 auto;
    perspective: 1000px;     /* enables 3D for children */
    perspective-origin: 50% 45%;
}

/* ── The disc wrapper — tilted in 3D ── */
.orb-disc {
    position: absolute;
    top: 50%; left: 50%;
    width: 340px; height: 340px;
    transform: translate(-50%, -50%) rotateX(64deg) rotateZ(-12deg);
    transform-style: preserve-3d;
}

/* ── Concentric elliptical rings ── */
.orb-ring {
    position: absolute;
    top: 50%; left: 50%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: orbSpin linear infinite;
}

.orb-ring-1 {
    width: 340px; height: 340px;
    border: 2.5px solid rgba(190, 127, 3, 0.55);
    box-shadow:
        0 0 22px rgba(190,127,3,0.30),
        inset 0 0 22px rgba(190,127,3,0.10);
    animation-duration: 14s;
}

.orb-ring-2 {
    width: 248px; height: 248px;
    border: 2px solid rgba(93, 160, 240, 0.45);
    box-shadow:
        0 0 16px rgba(93,160,240,0.20),
        inset 0 0 12px rgba(93,160,240,0.08);
    animation-duration: 10s;
    animation-direction: reverse;
}

.orb-ring-3 {
    width: 158px; height: 158px;
    border: 1.5px solid rgba(190,127,3,0.30);
    box-shadow: 0 0 10px rgba(190,127,3,0.15);
    animation-duration: 6s;
}

@keyframes orbSpin {
    from { transform: translate(-50%,-50%) rotate(0deg); }
    to   { transform: translate(-50%,-50%) rotate(360deg); }
}

/* ── Central glow platform ── */
.orb-glow {
    position: absolute;
    top: 50%; left: 50%;
    width: 130px; height: 130px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle at 40% 40%,
        rgba(93,160,240,0.50) 0%,
        rgba(25,24,82,0.90)   45%,
        rgba(10,10,40,0.95)   70%,
        transparent           100%
    );
    box-shadow:
        0 0 50px rgba(93,160,240,0.35),
        0 0 100px rgba(190,127,3,0.20),
        inset 0 0 30px rgba(93,160,240,0.15);
    animation: orbGlowPulse 3s ease-in-out infinite;
}

@keyframes orbGlowPulse {
    0%,100% { transform: translate(-50%,-50%) scale(1);    opacity: 1; }
    50%     { transform: translate(-50%,-50%) scale(1.14); opacity: 0.82; }
}

/* ── Orbiting gold dots (4, evenly spaced on ring-1) ── */
.orb-dot {
    position: absolute;
    top: 50%; left: 50%;
    width: 13px; height: 13px;
    border-radius: 50%;
    margin: -6.5px 0 0 -6.5px;
    background: radial-gradient(circle, #ffe066 0%, #BE7F03 60%);
    box-shadow:
        0 0 12px rgba(190,127,3,0.80),
        0 0 24px rgba(190,127,3,0.40);
    animation: orbDotSpin linear infinite;
}

/* Small halo ring around each dot */
.orb-dot::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(190,127,3,0.40);
    animation: orbDotPulse 2s ease-in-out infinite;
}

@keyframes orbDotPulse {
    0%,100% { transform: scale(1);   opacity: 0.7; }
    50%     { transform: scale(1.4); opacity: 0;   }
}

.orb-dot-1 { animation-duration: 14s; animation-delay:    0s; }
.orb-dot-2 { animation-duration: 14s; animation-delay: -3.5s; }
.orb-dot-3 { animation-duration: 14s; animation-delay:  -7s;  }
.orb-dot-4 { animation-duration: 14s; animation-delay:-10.5s; }

@keyframes orbDotSpin {
    from { transform: rotate(0deg)   translateX(170px); }
    to   { transform: rotate(360deg) translateX(170px); }
}

/* ── Center logo bubble (lives outside the 3D disc) ── */
.orb-center {
    position: absolute;
    top: 50%; left: 50%;
    width: 116px; height: 116px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    /* Layered glassmorphism + glow */
    background: radial-gradient(circle at 35% 35%,
        rgba(255,255,255,0.18),
        rgba(25,24,82,0.65)
    );
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(14px);
    box-shadow:
        0 0 0 6px rgba(190,127,3,0.14),
        0 0 0 14px rgba(190,127,3,0.06),
        0 12px 50px rgba(0,0,0,0.50),
        inset 0 1px 0 rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
}

.orb-center img {
    width: 78px;
    filter: brightness(0) invert(1);
    animation: orbCenterFloat 5s ease-in-out infinite;
}

@keyframes orbCenterFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-5px); }
}

/* ── Stat cards — positioned at scene level (not inside disc) ── */
.orb-stat {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 15px;
    /* Glassmorphism matching reference */
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 14px;
    backdrop-filter: blur(16px);
    box-shadow:
        0 8px 32px rgba(0,0,0,0.28),
        inset 0 1px 0 rgba(255,255,255,0.15);
    z-index: 12;
    min-width: 145px;
    animation: orbStatFloat 5s ease-in-out infinite;
    /* Subtle top border shimmer */
    border-top: 1px solid rgba(255,255,255,0.30);
}

/* Positions matching the reference image */
.orb-stat-tl { top:  20px; left:  0;    animation-delay:    0s; }
.orb-stat-tr { top:  10px; right:  0;   animation-delay: -1.4s; }
.orb-stat-bl { bottom: 90px; left: 0;   animation-delay: -2.7s; }
.orb-stat-br { bottom: 60px; right: 0;  animation-delay: -4.0s; }

@keyframes orbStatFloat {
    0%,100% { transform: translateY(0px);  }
    50%     { transform: translateY(-9px); }
}

/* Icon bubble */
.orb-stat-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(190,127,3,0.30), rgba(190,127,3,0.12));
    border: 1px solid rgba(190,127,3,0.35);
    color: #ffe066;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.orb-stat-body { display: flex; flex-direction: column; gap: 1px; }

.orb-stat-body strong {
    font-family: "Manrope", sans-serif;
    font-size: 20px;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    letter-spacing: -0.5px;
}

.orb-stat-body span {
    font-size: 10px;
    color: rgba(255,255,255,0.55);
    font-weight: 500;
    line-height: 1.3;
    white-space: nowrap;
}

/* ── Decorative trend arrows — diagonal navy/gold ── */
.orb-arrow {
    position: absolute;
    z-index: 8;
    animation: orbStatFloat 4.5s ease-in-out infinite;
}

.orb-arrow-tr {
    top: 115px; right: 28px;
    animation-delay: -0.8s;
}

.orb-arrow-br {
    bottom: 130px; right: 16px;
    animation-delay: -2.5s;
}

/* Gold trend arrow */
.orb-arrow-tr i {
    font-size: 32px;
    color: var(--gold);
    opacity: 0.80;
    filter: drop-shadow(0 2px 8px rgba(190,127,3,0.50));
    transform: rotate(28deg);
    display: block;
}

/* Blue/navy trend arrow */
.orb-arrow-br i {
    font-size: 26px;
    color: rgba(93,160,240,0.70);
    filter: drop-shadow(0 2px 6px rgba(93,160,240,0.40));
    transform: rotate(12deg);
    display: block;
}

/* ── Floating sparkle dots around the scene ── */
.orb-scene::before,
.orb-scene::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    animation: orbSparkle 3s ease-in-out infinite;
}

.orb-scene::before {
    width: 8px; height: 8px;
    top: 80px; left: 40px;
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold);
    animation-delay: 0s;
}

.orb-scene::after {
    width: 6px; height: 6px;
    bottom: 120px; right: 55px;
    background: rgba(93,160,240,0.90);
    box-shadow: 0 0 8px rgba(93,160,240,0.70);
    animation-delay: -1.5s;
}

@keyframes orbSparkle {
    0%,100% { transform: scale(1); opacity: 0.9; }
    50%     { transform: scale(1.6); opacity: 0.3; }
}

/* ── Responsive ── */
@media (max-width: 992px) {
    .orb-scene {
        height: 440px;
        max-width: 440px;
    }
    .orb-disc  { width: 280px; height: 280px; }
    .orb-ring-1 { width: 280px; height: 280px; }
    .orb-ring-2 { width: 205px; height: 205px; }
    .orb-ring-3 { width: 132px; height: 132px; }
    /* Shrink dot orbit radius */
    .orb-dot { animation-name: orbDotSpinSm; }
    @keyframes orbDotSpinSm {
        from { transform: rotate(0deg)   translateX(140px); }
        to   { transform: rotate(360deg) translateX(140px); }
    }
    .orb-stat { min-width: 120px; padding: 9px 11px; }
    .orb-stat-body strong { font-size: 17px; }
    .orb-stat-icon { width: 30px; height: 30px; font-size: 12px; }
}

@media (max-width: 768px) {
    .orb-scene { height: 360px; }
    .orb-stat  { min-width: 108px; }
    .orb-arrow { display: none; }
}


/* =========================================================
   PORTFOLIO SECTION
========================================================= */

.portfolio-section {
    padding: 110px 0 90px;
    background: var(--off-white);
    position: relative;
}

/* Subtle top/bottom border lines */
.portfolio-section::before,
.portfolio-section::after {
    content: "";
    position: absolute;
    left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.portfolio-section::before { top: 0; }
.portfolio-section::after  { bottom: 0; }

/* ── Top row: title + controls ── */
.portfolio-top {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.portfolio-top .eyebrow { display: block; }

.portfolio-top h2 {
    font-size: clamp(30px, 3.5vw, 44px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin: 0;
}

/* ── Controls: filters + arrows ── */
.portfolio-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.port-filters {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.port-filter {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    background: var(--white);
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.port-filter:hover { border-color: var(--primary); color: var(--primary); }

.port-filter.active {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

.port-nav { display: flex; gap: 8px; flex-shrink: 0; }

.port-arrow {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
    transition: var(--transition);
}

.port-arrow:hover,
.port-arrow.active-arrow {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
}

/* ── Grid ── */
.port-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ── Card ── */
.port-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(25,24,82,0.06);
    transition: transform 0.38s cubic-bezier(0.34,1.4,0.64,1),
                box-shadow 0.38s ease,
                border-color 0.38s ease;
    position: relative;
}

.port-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(25,24,82,0.13);
    border-color: rgba(190,127,3,0.25);
}

/* ── Image area ── */
.port-img {
    position: relative;
    height: 240px;
    overflow: hidden;
}

/* Gradient backgrounds */
.port-img-blue { background: linear-gradient(135deg, #1a3a8f 0%, #2a5ed8 60%, #1a3a9f 100%); }
.port-img-dark { background: linear-gradient(135deg, #191852 0%, #29286f 60%, #1e1d6a 100%); }
.port-img-navy { background: linear-gradient(135deg, #0f1540 0%, #1a2580 60%, #0d1245 100%); }

/* Decorative dot grid inside image */
.port-img-grid {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.07) 1px, transparent 1px);
    background-size: 18px 18px;
    pointer-events: none;
}

/* Gold shimmer sweep on hover */
.port-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        105deg,
        transparent 30%,
        rgba(190,127,3,0.18) 50%,
        transparent 70%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.port-card:hover .port-img::after { transform: translateX(100%); }

/* Category chip — top left */
.port-chip {
    position: absolute;
    top: 14px; left: 14px;
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.22);
    color: var(--white);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    z-index: 3;
}

/* Big centered icon */
.port-img-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.port-img-icon i {
    font-size: 72px;
    color: rgba(255,255,255,0.22);
    filter: drop-shadow(0 4px 20px rgba(190,127,3,0.30));
    transition: transform 0.38s ease, color 0.38s ease;
}

.port-card:hover .port-img-icon i {
    transform: scale(1.12);
    color: rgba(255,255,255,0.35);
}

/* Watermark number — bottom right */
.port-num {
    position: absolute;
    bottom: 10px; right: 16px;
    font-family: "Manrope", sans-serif;
    font-size: 64px;
    font-weight: 900;
    color: rgba(255,255,255,0.06);
    line-height: 1;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

/* Hover CTA — slides up from bottom */
.port-hover-cta {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 18px;
    background: linear-gradient(to top, rgba(0,0,0,0.65), transparent);
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    z-index: 4;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.34,1.2,0.64,1);
}

.port-card:hover .port-hover-cta { transform: translateY(0); }

.port-view-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50px;
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}

.port-view-btn:hover {
    background: var(--gold);
    color: var(--white);
}

.port-view-btn i { font-size: 10px; }

/* ── Card body ── */
.port-body {
    padding: 22px 22px 20px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.port-body-main { flex: 1; min-width: 0; }

.port-body h3 {
    font-size: 17px;
    font-weight: 800;
    margin: 0 0 7px;
    line-height: 1.2;
    color: var(--primary);
    font-family: "Manrope", sans-serif;
}

.port-body p {
    color: var(--text-muted);
    font-size: 12px;
    margin: 0 0 14px;
    line-height: 1.6;
}

/* Tech stack tags */
.port-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.port-tags span {
    padding: 3px 10px;
    border-radius: 50px;
    background: rgba(25,24,82,0.06);
    color: var(--primary);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* Arrow button */
.port-arrow-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    text-decoration: none;
    transition: var(--transition);
    margin-top: 4px;
}

.port-arrow-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: rotate(45deg);
}

/* ── View all footer ── */
.port-footer {
    text-align: center;
    margin-top: 50px;
}

/* ── Keep old .port-tag working (portfolio.html uses it) ── */
.port-tag {
    padding: 5px 12px;
    border-radius: 50px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(6px);
    color: var(--white);
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ── Keep old .port-img-inner working (portfolio.html) ── */
.port-img-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    z-index: 1;
}

.port-img-inner i {
    font-size: 45px;
    color: rgba(255,255,255,0.80);
    filter: drop-shadow(0 0 14px rgba(190,127,3,0.35));
}

.port-cat {
    display: block;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}
}

/* =========================================================
   WHY CHOOSE US
========================================================= */

.why-section {
    padding: 110px 0;
    background: var(--off-white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    position: relative;
    padding: 30px;
    min-height: 260px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    transition: var(--transition);
    overflow: hidden;
}

.why-card:hover {
    transform: translateY(-7px);
    border-color: rgba(190,127,3,0.25);
    box-shadow: var(--shadow-md);
}

.why-number {
    position: absolute;
    top: 16px; right: 18px;
    font-family: "Manrope", sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: rgba(25,24,82,0.05);
    line-height: 1;
}

.why-card > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px; height: 50px;
    border-radius: 14px;
    background: rgba(190,127,3,0.09);
    color: var(--gold);
    font-size: 18px;
    margin-bottom: 22px;
}

.why-card h3 { font-size: 17px; margin-bottom: 11px; }

.why-card p {
    color: var(--text-muted);
    font-size: 12px;
    line-height: 1.75;
    margin: 0;
}


/* =========================================================
   PROCESS
========================================================= */

.process-section {
    padding: 110px 0;
    background: var(--white);
}

.process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.process-grid::before {
    content: "";
    position: absolute;
    top: 30px; left: 8%; right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(190,127,3,0.30), transparent);
    pointer-events: none;
}

.process-step {
    position: relative;
    z-index: 2;
    text-align: center;
}

.process-num {
    width: 60px; height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(190,127,3,0.30);
    background: var(--white);
    color: var(--gold);
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 10px var(--white);
}

.process-step > i {
    display: block;
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 14px;
}

.process-step h3 { font-size: 16px; margin-bottom: 9px; }

.process-step p {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.7;
    margin: 0;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonial-section {
    padding: 110px 0;
    background: var(--off-white);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.testimonial-card {
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 18px;
    color: var(--gold);
    font-size: 13px;
}

.testimonial-card > p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 22px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(25,24,82,0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 13px;
    color: var(--primary);
}

.testimonial-author span {
    font-size: 11px;
    color: var(--text-muted);
}


/* =========================================================
   CTA
========================================================= */

.cta-section {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
    background: linear-gradient(135deg, #11113f, var(--primary));
}

.cta-glow {
    position: absolute;
    width: 500px; height: 500px;
    right: -180px; top: -250px;
    border: 1px solid rgba(190,127,3,0.18);
    border-radius: 50%;
    box-shadow:
        0 0 0 80px  rgba(190,127,3,0.022),
        0 0 0 160px rgba(190,127,3,0.015);
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cta-content h2 {
    color: var(--white);
    font-size: clamp(36px, 4.5vw, 58px);
    font-weight: 800;
    letter-spacing: -2px;
    margin-bottom: 18px;
}

.cta-content h2 span { color: var(--gold); }

.cta-content p {
    color: rgba(255,255,255,0.58);
    font-size: 14px;
    line-height: 1.8;
    max-width: 640px;
    margin: 0 auto 30px;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    padding: 110px 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 80px;
    align-items: start;
}

.contact-info h2 {
    font-size: clamp(30px, 3.5vw, 48px);
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 18px;
}

.contact-info h2 .gold-text { color: var(--gold); }

.contact-info > p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.85;
    max-width: 460px;
    margin-bottom: 30px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 28px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact-icon {
    width: 44px; height: 44px;
    flex-shrink: 0;
    border-radius: 12px;
    background: rgba(190,127,3,0.09);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item span,
.contact-item small {
    display: block;
    color: var(--text-light);
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.contact-item a,
.contact-item strong {
    color: var(--primary);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

/* Social row */
.contact-social {
    display: flex;
    gap: 9px;
}

.contact-social a {
    width: 38px; height: 38px;
    border-radius: 10px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

/* Contact form */
.contact-form-wrapper {
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 24px;
    background: var(--white);
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: var(--primary);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid rgba(25,24,82,0.10);
    border-radius: 10px;
    outline: none;
    color: var(--primary);
    background: #fafafd;
    font-size: 13px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: #aaaabd; }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--gold);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(190,127,3,0.07);
}

.form-group textarea { resize: vertical; min-height: 125px; }

.form-submit { width: 100%; border: none; }


/* =========================================================
   BLOG
========================================================= */

.blog-section {
    padding: 110px 0;
    background: var(--white);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    border: 1px solid var(--border);
    border-radius: 18px;
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.blog-image {
    height: 160px;
    background: linear-gradient(135deg, var(--primary), #29286f);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 45px;
    color: rgba(255,255,255,0.75);
}

.blog-content { padding: 22px; }

.blog-content > span {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 9px;
}

.blog-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.4;
}

.blog-content a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.blog-content a i { color: var(--gold); font-size: 10px; transition: transform 0.3s ease; }
.blog-content a:hover { color: var(--gold); }
.blog-content a:hover i { transform: translateX(4px); }


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    padding-top: 70px;
    background: #10103b;
    color: rgba(255,255,255,0.55);
}

.footer-top {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 55px;
    padding-bottom: 55px;
}

.footer-logo {
    display: inline-block;
    margin-bottom: 18px;
    padding: 10px 15px;
    border-radius: 10px;
    background: var(--white);
}

.footer-logo img { width: 160px; display: block; }

.footer-brand > p {
    max-width: 340px;
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    line-height: 1.85;
    margin-bottom: 22px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 34px; height: 34px;
    border-radius: 9px;
    border: 1px solid rgba(255,255,255,0.09);
    color: rgba(255,255,255,0.60);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-column h4 {
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column li { margin-bottom: 10px; }

.footer-column a {
    color: rgba(255,255,255,0.45);
    font-size: 11px;
    text-decoration: none;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-column a:hover {
    color: var(--gold);
    padding-left: 4px;
}

/* Footer bottom */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.07);
}

.footer-bottom p {
    margin: 0;
    color: rgba(255,255,255,0.30);
    font-size: 10px;
}

.footer-bottom > div { display: flex; gap: 20px; }

.footer-bottom a {
    color: rgba(255,255,255,0.30);
    font-size: 10px;
    text-decoration: none;
}

.footer-bottom a:hover { color: var(--gold); }


/* =========================================================
   BACK TO TOP
========================================================= */

.back-to-top {
    position: fixed;
    right: 25px; bottom: 25px;
    z-index: 900;
    width: 44px; height: 44px;
    border: none;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(25,24,82,0.20);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: var(--transition);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--gold);
    transform: translateY(-3px);
}


/* =========================================================
   SELECTION / SCROLLBAR
========================================================= */

::selection { color: var(--white); background: var(--gold); }

::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: #f2f2f7; }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }


/* =========================================================
   SCROLL ANIMATIONS
========================================================= */

.reveal,
.fade-up,
.fade-left,
.fade-right {
    opacity: 0;
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.reveal,
.fade-up { transform: translateY(36px); }
.fade-left  { transform: translateX(-36px); }
.fade-right { transform: translateX(36px); }

.reveal.visible,
.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translate(0, 0);
}


/* =========================================================
   UTILITY
========================================================= */

.text-center { text-align: center; }
.hidden { display: none !important; }

/* Header scroll */
.site-header.scrolled {
    box-shadow: 0 10px 35px rgba(25,24,82,0.10);
}

/* Form loading */
button.loading { pointer-events: none; }


/* =========================================================
   PAGE HERO  (inner pages)
========================================================= */

.page-hero {
    padding: 160px 0 80px;
    background:
        radial-gradient(circle at 80% 40%, rgba(190,127,3,0.08), transparent 30%),
        radial-gradient(circle at 10% 60%, rgba(25,24,82,0.07), transparent 30%),
        var(--off-white);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: 0.4;
    background-image:
        linear-gradient(rgba(25,24,82,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(25,24,82,0.04) 1px, transparent 1px);
    background-size: 55px 55px;
    pointer-events: none;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

/* ---- Admin background image ---- */

/* The <img> sits absolutely behind everything, hidden by default */
.page-hero-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: none;              /* shown only when src is set */
    z-index: 0;
}

/* Once JS sets a valid src and adds .has-bg-img:
   - show the image
   - add a dark overlay via ::after so text stays readable
   - flip text & eyebrow colours to white                     */
.page-hero.has-bg-img {
    background: none;           /* drop the default gradient */
}

.page-hero.has-bg-img .page-hero-bg-img {
    display: block;
}

/* Dark overlay on top of the image */
.page-hero.has-bg-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(17, 17, 61, 0.78) 0%,
        rgba(25, 24, 82, 0.60) 60%,
        rgba(0, 0, 0, 0.40) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* Push text layer above the overlay */
.page-hero.has-bg-img .container {
    z-index: 2;
}

/* Flip text colours over the dark overlay */
.page-hero.has-bg-img h1 {
    color: #ffffff;
}

.page-hero.has-bg-img p {
    color: rgba(255, 255, 255, 0.80);
}

.page-hero.has-bg-img .eyebrow {
    color: var(--gold-light);
}

.page-hero.has-bg-img .eyebrow::before {
    background: var(--gold-light);
}

.page-hero.has-bg-img .breadcrumb a {
    color: rgba(255, 255, 255, 0.60);
}

.page-hero.has-bg-img .breadcrumb span {
    color: var(--gold-light);
}

.page-hero.has-bg-img .breadcrumb i {
    color: rgba(255, 255, 255, 0.35);
}

/* Keep the ::before grid subtle over the image */
.page-hero.has-bg-img::before {
    opacity: 0.15;
}

.page-hero h1 {
    font-size: clamp(36px, 4.5vw, 62px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.08;
    margin-bottom: 18px;
    max-width: 750px;
}

.page-hero p {
    color: var(--text-muted);
    font-size: 15px;
    max-width: 580px;
    margin-bottom: 24px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.25s ease;
}

.breadcrumb a:hover { color: var(--gold); }

.breadcrumb i {
    color: var(--text-light);
    font-size: 9px;
}

.breadcrumb span {
    color: var(--gold);
    font-size: 12px;
    font-weight: 700;
}


/* =========================================================
   ABOUT INTRO GRID  (about.html, project-details.html)
========================================================= */

.about-intro-section {
    padding: 110px 0;
    background: var(--white);
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about-checks {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 24px;
    margin-top: 24px;
    margin-bottom: 30px;
}

.about-checks span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
}

.about-checks i { color: var(--gold); font-size: 13px; }

@media (max-width: 992px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

@media (max-width: 576px) {
    .about-intro-section { padding: 70px 0; }
    .about-checks { grid-template-columns: 1fr; }
}


/* =========================================================
   LEGAL CONTENT  (privacy-policy.html, terms.html)
========================================================= */

.legal-content {
    max-width: 860px;
    margin: 0 auto;
}

.legal-block {
    margin-bottom: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid var(--border-light);
}

.legal-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-block h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary);
}

.legal-block p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.85;
    margin-bottom: 14px;
}

.legal-block p:last-child { margin-bottom: 0; }

.legal-block ul {
    margin: 12px 0 14px 20px;
    list-style: disc;
}

.legal-block li {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.75;
    margin-bottom: 6px;
}

.legal-block a {
    color: var(--gold);
    text-decoration: none;
    font-weight: 600;
}

.legal-block a:hover { text-decoration: underline; }


/* =========================================================
   CONTACT FORM FEEDBACK  (injected by contact.js)
========================================================= */

.form-feedback {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    animation: fadeInUp 0.4s ease both;
}

.form-feedback--success {
    background: rgba(22, 163, 74, 0.10);
    border: 1px solid rgba(22, 163, 74, 0.25);
    color: #15803d;
}

.form-feedback--error {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.20);
    color: #b91c1c;
}

.form-feedback i { font-size: 15px; flex-shrink: 0; }

/* Field error state */
.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error select {
    border-color: rgba(220, 38, 38, 0.45);
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.06);
}


/* =========================================================
   H5 / H6 SUB-LABEL STYLES
   Used as semantic sub-headings inside cards, stat blocks,
   contact panels, category labels, mantra blocks etc.
========================================================= */

/* h4 inside content blocks (contact panels, form headers) */
.content-h4 {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 0.3px;
    margin: 0 0 14px;
    text-transform: none;
}

/* h5 — stat captions, testimonial author names, block sub-labels */
.stat-caption {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.50);
    letter-spacing: 0.3px;
    margin: 6px 0 0;
    text-transform: none;
}

/* h5 light version for white-bg cards */
.stat-caption-light {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.3px;
    margin: 6px 0 0;
    text-transform: none;
}

/* h5 author name inside testimonial cards */
.author-name-h5 {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    margin: 0 0 2px;
    line-height: 1.2;
}

/* h5 sub-label above a block (e.g. "Key Features", "What's Included") */
.block-sub-label {
    font-size: 11px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 14px 0 8px;
}

/* h5 mantra label (card.html) */
.mantra-h5 {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 10px;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin: 0 0 10px;
}

/* h6 — micro-labels: contact channels, category tags, ordinal badges */
.channel-label-h6 {
    font-size: 9px;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 3px;
    line-height: 1;
}

/* h6 category tag above portfolio card titles */
.port-cat-h6 {
    display: block;
    color: var(--gold);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    line-height: 1;
}

/* h6 blog category label */
.blog-cat-h6 {
    color: var(--gold);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 9px;
    line-height: 1;
}

/* h6 ordinal badge inside why/value cards */
.ordinal-h6 {
    position: absolute;
    top: 16px;
    right: 18px;
    font-family: "Manrope", sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: rgba(25, 24, 82, 0.05);
    line-height: 1;
    margin: 0;
}

/* h6 get-in-touch micro label (card.html) */
.get-in-touch-h6 {
    font-size: 9px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.45);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0 0 14px;
    display: block;
    text-align: center;
}

/* h2 profile role (card.html) */
.profile-role-h2 {
    color: var(--gold-light);
    font-size: 13px;
    font-weight: 700;
    margin: 0 0 4px;
    font-family: "Inter", sans-serif;
    letter-spacing: 0.3px;
}

/* h3 profile company (card.html) */
.profile-company-h3 {
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
    font-weight: 500;
    font-family: "Inter", sans-serif;
    margin: 0 0 22px;
}


/* =========================================================
   TEAM / LEADERSHIP CARDS  (about.html)
========================================================= */

.team-section {
    padding: 100px 0 110px;
    background: var(--off-white);
}

/* Flex row — centres cards naturally whether 3, 4 or 5 */
.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

/* ── Card ── */
.team-card {
    flex: 0 0 190px;
    width: 190px;
    background: var(--white);
    border: 1px solid rgba(25, 24, 82, 0.08);
    border-radius: 18px;
    padding: 28px 18px 22px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 22px rgba(25, 24, 82, 0.07);
    transition: box-shadow 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
    /* stagger reveal */
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease,
                box-shadow 0.35s ease, border-color 0.35s ease;
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.team-card:hover {
    box-shadow: 0 12px 40px rgba(25, 24, 82, 0.13);
    border-color: rgba(190, 127, 3, 0.22);
    transform: translateY(-6px);
}

/* Gold divider line at top of card */
.team-card::before {
    content: "";
    display: block;
    width: 36px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    margin: 0 auto 20px;
    transition: width 0.35s ease;
}

.team-card:hover::before { width: 54px; }

/* ── Avatar circle ── */
.team-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(25, 24, 82, 0.07);
    border: 2px solid rgba(190, 127, 3, 0.20);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: var(--primary);
    overflow: hidden;
    transition: border-color 0.35s ease;
}

.team-card:hover .team-avatar {
    border-color: rgba(190, 127, 3, 0.55);
}

.team-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
}

/* ── Name ── */
.team-name {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
    margin: 0 0 5px;
    line-height: 1.25;
    font-family: "Manrope", sans-serif;
}

/* ── Role ── */
.team-role {
    display: block;
    color: var(--gold);
    font-size: 9px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 12px;
}

/* ── Bio ── */
.team-bio {
    color: var(--text-muted);
    font-size: 11px;
    line-height: 1.7;
    margin-bottom: 16px;
    min-height: 52px;
}

/* ── Social icons ── */
.team-socials {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    position: relative;
    z-index: 3;          /* stay above overlay */
}

.team-socials a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid rgba(25, 24, 82, 0.12);
    background: var(--off-white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease,
                color 0.25s ease, transform 0.25s ease;
}

.team-socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* ── View Profile overlay (covers avatar + name + role + bio only) ── */
.team-card-overlay {
    position: absolute;
    inset: 0;
    bottom: 60px;           /* leave socials row clear */
    border-radius: 18px 18px 0 0;
    background: rgba(25, 24, 82, 0.82);
    backdrop-filter: blur(3px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0;
    transition: opacity 0.35s ease;
    text-decoration: none;
    z-index: 2;
}

.team-card:hover .team-card-overlay { opacity: 1; }

.team-card-overlay i {
    font-size: 24px;
    color: var(--gold);
}

.team-card-overlay span {
    color: var(--white);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .team-card { flex: 0 0 170px; width: 170px; }
}

@media (max-width: 600px) {
    .team-section  { padding: 70px 0; }
    .team-card     { flex: 0 0 calc(50% - 12px); width: auto; }
}

@media (max-width: 380px) {
    .team-card     { flex: 0 0 100%; width: auto; max-width: 280px; }
}


/* =========================================================
   SECTION DYNAMIC IMAGE WRAPPER
   Fixed 16:5 banner ratio container for admin-uploaded
   section images. Hidden until an image URL is set.
   Works on any background — light or dark sections.
========================================================= */

.section-img-wrap {
    display: none;                   /* hidden until JS sets an image */
    width: 100%;
    aspect-ratio: 16 / 5;            /* fixed ratio — any image fills without distortion */
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: 0 12px 40px rgba(25, 24, 82, 0.12);
    background: var(--border);       /* placeholder colour while image loads */
}

.section-img-wrap.has-image {
    display: block;                  /* shown when JS injects an image URL */
}

.section-dyn-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 16px;
}

/* Hero variant — full-width overlay image, sits behind content */
.section-img-hero {
    position: absolute;
    inset: 0;
    border-radius: 0;
    margin: 0;
    aspect-ratio: unset;
    height: 100%;
    z-index: 0;
    opacity: 0.18;
    box-shadow: none;
}

.section-img-hero .section-dyn-img {
    border-radius: 0;
    height: 100%;
}

/* Tighter ratio for sidebar/panel images (contact, about intro) */
.section-img-panel {
    aspect-ratio: 4 / 3;
}

@media (max-width: 768px) {
    .section-img-wrap { aspect-ratio: 16 / 7; }
    .section-img-panel { aspect-ratio: 3 / 2; }
}


/* =========================================================
   HERO VISUAL — ADMIN-UPLOADABLE CUSTOM IMAGE
   When admin sets a hero visual image, it replaces the
   laptop/phone mockup. Floating stat cards stay on top.
========================================================= */

/* Custom image — hidden until src is set via JS */
.hero-visual-custom-img {
    display: none;
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 520px;
    height: 380px;
    object-fit: contain;      /* keeps the image proportions intact */
    object-position: center;
    border-radius: 18px;
    filter: drop-shadow(0 30px 60px rgba(25, 24, 82, 0.22));
    flex-shrink: 0;
}

/* When the custom image is active, show it and hide the mockup */
.hero-visual.has-custom-img .hero-visual-custom-img {
    display: block;
}

.hero-visual.has-custom-img #laptopMockup,
.hero-visual.has-custom-img .phone-mockup {
    display: none;
}
