
/* =========================================
   ANAX CUSTOMER & PORTFOLIO PAGE
   Premium Navy + Royal Blue Theme
========================================= */

.anax-customer-page {
    --customer-navy: #102744;
    --customer-blue: #1769d2;
    --customer-text: #65758b;
    --customer-light: #f3f7fd;
    --customer-border: #e3eaf4;

    font-family: 'DM Sans', sans-serif;
    color: var(--customer-navy);
    overflow: hidden;
}

.anax-customer-page *,
.anax-customer-page *::before,
.anax-customer-page *::after {
    box-sizing: border-box;
}

.customer-container {
    width: min(1160px, calc(100% - 48px));
    margin: 0 auto;
}


/* =========================================
   HERO SECTION
========================================= */

.customer-hero {
    position: relative;
    padding: 90px 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(23,105,210,.10), transparent 28%),
        linear-gradient(115deg, #f8faff, #fff 55%, #f0f6ff);
}

.customer-hero .customer-container {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 65px;
}

.customer-eyebrow,
.customer-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--customer-blue);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.customer-eyebrow::before {
    content: "";
    width: 25px;
    height: 2px;
    background: var(--customer-blue);
}

.customer-hero-content h1 {
    margin: 20px 0;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(39px, 4.5vw, 58px);
    line-height: 1.13;
    letter-spacing: -2px;
    font-weight: 800;
    color: var(--customer-navy);
}

.customer-hero-content h1 span {
    display: block;
    color: var(--customer-blue);
}

.customer-hero-content > p {
    max-width: 570px;
    margin: 0;
    color: var(--customer-text);
    font-size: 14px;
    line-height: 1.9;
}

.customer-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 28px;
    padding: 14px 22px;
    border-radius: 6px;
    color: #981717;
    background: #0000;
    box-shadow: 0 9px 22px rgba(23,105,210,.2);
    text-decoration: none;
    font-size: 12px;
    font-weight: 800;
    transition: .3s ease;
}

.customer-hero-btn:hover {
    color: #ffffff;
    background: #1054ae;
    transform: translateY(-3px);
}


/* HERO VISUAL */

.customer-hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 350px;
}

.customer-visual-card {
    position: relative;
    z-index: 2;
    width: min(100%, 370px);
    padding: 35px;
    border: 1px solid #dce8f8;
    border-radius: 17px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 25px 65px rgba(16,39,68,.09);
}

.customer-visual-label {
    color: var(--customer-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.customer-visual-symbol {
    width: 72px;
    height: 72px;
    display: grid;
    place-items: center;
    margin: 26px 0;
    border-radius: 15px;
    color: #fff;
    background: linear-gradient(135deg, #1769d2, #104b9b);
    font-family: 'Manrope', sans-serif;
    font-size: 42px;
    font-weight: 800;
    box-shadow: 0 12px 25px rgba(23,105,210,.22);
}

.customer-visual-card h3 {
    margin: 0 0 10px;
    color: var(--customer-navy);
    font-family: 'Manrope', sans-serif;
    font-size: 21px;
    font-weight: 800;
}

.customer-visual-card p {
    margin: 0;
    color: var(--customer-text);
    font-size: 13px;
    line-height: 1.8;
}

.customer-visual-line {
    height: 1px;
    margin: 25px 0 17px;
    background: var(--customer-border);
}

.customer-visual-footer {
    color: #8292a8;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.7px;
}

.customer-visual-dot {
    position: absolute;
    border-radius: 50%;
    background: #1769d2;
}

.dot-one {
    top: 20px;
    right: 10%;
    width: 13px;
    height: 13px;
}

.dot-two {
    bottom: 20px;
    left: 8%;
    width: 8px;
    height: 8px;
    background: #7eafea;
}


/* =========================================
   SECTION HEADINGS
========================================= */

.customer-section-heading {
    max-width: 760px;
    margin: 0 auto 42px;
    text-align: center;
}

.customer-section-heading h2 {
    margin: 14px 0;
    color: var(--customer-navy);
    font-family: 'Manrope', sans-serif;
    font-size: clamp(30px, 3.5vw, 42px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.customer-section-heading h2 span {
    color: var(--customer-blue);
}

.customer-section-heading > p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--customer-text);
    font-size: 14px;
    line-height: 1.85;
}


/* =========================================
   TRUSTED CLIENTS
========================================= */

.customer-clients-section {
    padding: 85px 0 90px;
    background: #fff;
}

.customer-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 17px;
}

.customer-logo-card {
    min-width: 0;
    height: 125px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid var(--customer-border);
    border-radius: 10px;
    background: #f6f6fc;
    transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.customer-logo-card:hover {
    transform: translateY(-5px);
    border-color: #b6d0f2;
    box-shadow: 0 12px 28px rgba(16,39,68,.08);
}

.customer-logo-inner {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-logo-inner img {
    display: block;
    max-width: 100%;
    max-height: 78px;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform .3s ease;
}

.customer-logo-card:hover img {
    transform: scale(1.06);
}


/* =========================================
   WEBSITE PROJECTS
========================================= */

.customer-projects-section {
    padding: 90px 0;
    background: var(--customer-light);
}

.customer-project-heading {
    margin-bottom: 45px;
}

.customer-project-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.customer-project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e0e8f3;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 7px 25px rgba(16,39,68,.045);
    transition: transform .35s ease, box-shadow .35s ease;
}

.customer-project-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 38px rgba(16,39,68,.11);
}

.customer-project-image-link {
    display: block;
    text-decoration: none;
}

.customer-project-image-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #eaf0f8;
}

.customer-project-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform .5s ease;
}

.customer-project-card:hover .customer-project-image-wrap img {
    transform: scale(1.045);
}

.customer-project-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
    background: rgba(12,39,75,.72);
    font-size: 13px;
    font-weight: 800;
    opacity: 0;
    transition: opacity .3s ease;
}

.customer-project-card:hover .customer-project-overlay {
    opacity: 1;
}

.customer-project-info {
    padding: 20px 21px 22px;
}

.customer-project-number {
    margin-bottom: 9px;
    color: var(--customer-blue);
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.customer-project-info h3 {
    min-height: 46px;
    margin: 0 0 13px;
    color: var(--customer-navy);
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.5;
}

.customer-project-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--customer-blue);
    font-size: 11px;
    font-weight: 800;
    text-decoration: none;
    transition: gap .3s ease;
}

.customer-project-link:hover {
    gap: 15px;
}


/* =========================================
   CTA
========================================= */

.customer-cta-section {
    padding: 78px 0;
    background: linear-gradient(115deg, #102744, #1769d2);
}

.customer-cta-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.customer-cta-content > span {
    color: #c5ddff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.customer-cta-content h2 {
    margin: 16px 0;
    color: #fff;
    font-family: 'Manrope', sans-serif;
    font-size: clamp(30px, 4vw, 43px);
    font-weight: 800;
    line-height: 1.2;
}

.customer-cta-content h2 strong {
    color: #a9d0ff;
}

.customer-cta-content p {
    max-width: 620px;
    margin: 0 auto 26px;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 1.8;
}

.customer-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 13px;
    padding: 15px 24px;
    border-radius: 6px;
    color: var(--customer-blue);
    background: #fff;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    transition: .3s ease;
}

.customer-cta-btn:hover {
    color: #1054ae;
    background: #eaf2ff;
    transform: translateY(-3px);
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

    .customer-hero .customer-container {
        gap: 30px;
    }

    .customer-logo-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .customer-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

    .customer-container {
        width: calc(100% - 36px);
    }

    .customer-hero {
        padding: 65px 0;
    }

    .customer-hero .customer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .customer-hero-content h1 {
        font-size: clamp(36px, 8vw, 47px);
        letter-spacing: -1.5px;
    }

    .customer-hero-content > p {
        font-size: 13px;
    }

    .customer-hero-visual {
        min-height: 290px;
    }

    .customer-visual-card {
        max-width: 340px;
        padding: 28px;
    }

    .customer-clients-section,
    .customer-projects-section {
        padding: 65px 0;
    }

    .customer-section-heading {
        margin-bottom: 30px;
    }

    .customer-section-heading h2 {
        font-size: 31px;
    }

    .customer-section-heading > p {
        font-size: 13px;
    }

    .customer-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 11px;
    }

    .customer-logo-card {
        height: 95px;
        padding: 12px;
    }

    .customer-logo-inner img {
        max-height: 62px;
    }

    .customer-project-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .customer-project-info {
        padding: 14px;
    }

    .customer-project-info h3 {
        min-height: 55px;
        font-size: 13px;
    }

    .customer-project-number {
        font-size: 8px;
    }

    .customer-project-link {
        font-size: 10px;
    }

    .customer-project-overlay {
        font-size: 11px;
    }

    .customer-cta-section {
        padding: 60px 0;
    }

    .customer-cta-content h2 {
        font-size: 31px;
    }

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 420px) {

    .customer-container {
        width: calc(100% - 28px);
    }

    .customer-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .customer-logo-card {
        height: 100px;
    }

    .customer-project-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .customer-project-info h3 {
        min-height: auto;
        font-size: 15px;
    }

    .customer-project-image-wrap {
        aspect-ratio: 16 / 9;
    }

}


/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
    .anax-customer-page *,
    .anax-customer-page *::before,
    .anax-customer-page *::after {
        transition-duration: .01ms !important;
    }
}
.customer-logo-card {
    border: 1px solid #333333;
}