
/* ==========================================
   PAVIONX - COMMON WHITE HERO THEME
   White Background | Navy Blue | Electric Blue
   Shared styles for all hero pages
========================================== */

:root {
    --hero-bg: #ffffff;
    --hero-navy: #102a56;
    --hero-blue: #1689e8;
    --hero-blue-dark: #0875cf;
    --hero-text: #52647c;
    --hero-border: #e2ebf5;
    --hero-soft: #f3f8ff;
}

/* COMMON HERO SECTION */
.page-hero,
.webapp-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: 620px;
    padding: 85px 0;
    overflow: hidden;
    background: var(--hero-bg);
    color: var(--hero-navy);
    font-family: inherit;
}

/* HTML background image support */
.page-hero .webapp-hero-bg,
.webapp-hero .webapp-hero-bg {
    position: absolute;
    z-index: -2;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.07;
}

/* White overlay */
.page-hero .webapp-hero-overlay,
.webapp-hero .webapp-hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background: rgba(255, 255, 255, 0.90);
    pointer-events: none;
}

/* Existing hero inner layouts */
.page-hero .hero-inner,
.webapp-hero .webapp-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 55px;
    width: min(1200px, 92%);
    margin: 0 auto;
}

/* Content */
.page-hero .hero-copy,
.webapp-hero .webapp-hero-copy {
    min-width: 0;
    animation: pavionxHeroUp 0.7s ease both;
}

/* Eyebrow */
.page-hero .eyebrow,
.webapp-hero .webapp-eyebrow {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 23px;
    color: var(--hero-blue);
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.4px;
    line-height: 1.8;
}

.page-hero .eyebrow i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    color: var(--hero-blue);
    border: 1px solid #cde5ff;
    border-radius: 50%;
    background: #eff7ff;
    font-size: 15px;
}

.webapp-hero .webapp-eyebrow i {
    color: var(--hero-blue);
    border-color: #cde5ff;
    background: #eff7ff;
}

/* Main headings */
.page-hero .hero-copy h1,
.webapp-hero .webapp-hero-copy h1 {
    margin: 0 0 23px;
    color: var(--hero-navy);
    font-size: clamp(35px, 4.1vw, 54px);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -1.1px;
    overflow-wrap: break-word;
}

.page-hero .hero-copy h1 span,
.webapp-hero .webapp-hero-copy h1 span {
    display: block;
    margin-top: 7px;
    color: var(--hero-blue);
}

/* Paragraph */
.page-hero .hero-copy > p,
.webapp-hero .webapp-hero-description {
    max-width: 590px;
    margin: 0;
    color: var(--hero-text);
    font-size: 15px;
    line-height: 1.95;
}

/* CTA layout */
.page-hero .hero-actions,
.webapp-hero .webapp-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 30px;
}

/* Buttons */
.page-hero .hero-actions .btn,
.webapp-hero .webapp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 49px;
    padding: 13px 21px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 650;
    line-height: 1.5;
    text-decoration: none;
    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.page-hero .btn-primary,
.webapp-hero .webapp-btn-primary {
    color: #ffffff;
    border-color: var(--hero-blue);
    background: var(--hero-blue);
    box-shadow: 0 7px 20px rgba(22, 137, 232, 0.16);
}

.page-hero .btn-primary:hover,
.webapp-hero .webapp-btn-primary:hover {
    color: #ffffff;
    border-color: var(--hero-blue-dark);
    background: var(--hero-blue-dark);
    box-shadow: 0 10px 24px rgba(22, 137, 232, 0.23);
    transform: translateY(-2px);
}

.page-hero .btn-secondary,
.webapp-hero .webapp-btn-secondary {
    color: var(--hero-navy);
    border-color: #cdd9e8;
    background: #ffffff;
}

.page-hero .btn-secondary:hover,
.webapp-hero .webapp-btn-secondary:hover {
    color: var(--hero-blue-dark);
    border-color: var(--hero-blue);
    background: #f5faff;
    transform: translateY(-2px);
}

/* Checklist */
.page-hero .check-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 19px;
    margin-top: 27px;
}

.page-hero .check-list p {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0;
    color: #536780;
    font-size: 12px;
    line-height: 1.8;
}

.page-hero .check-list i {
    color: var(--hero-blue);
    font-size: 14px;
}

/* Right visual */
.page-hero .hero-visual,
.webapp-hero .webapp-hero-visual {
    position: relative;
    min-width: 0;
    animation: pavionxHeroIn 0.8s ease both;
}

/* Remove the old dark glass card appearance */
.page-hero .hero-visual > .glass-card {
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: 1px solid var(--hero-border) !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    box-shadow: 0 18px 45px rgba(16, 42, 86, 0.09) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

/* Dashboard / hero image */
.page-hero .hero-visual img,
.webapp-hero .webapp-dashboard-image {
    display: block;
    width: 100%;
    height: 360px;
    object-fit: cover;
    object-position: center;
    border-radius: 10px;
    background: #f0f6fd;
}

/* Image frame */
.webapp-hero .webapp-image-wrap {
    padding: 8px;
    overflow: hidden;
    border: 1px solid var(--hero-border);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(16, 42, 86, 0.09);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

/* Floating info */
.page-hero .hero-visual > .glass-card + .glass-card {
    display: block;
    margin-top: 18px !important;
    padding: 18px !important;
    border: 1px solid var(--hero-border) !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    box-shadow: 0 10px 30px rgba(16, 42, 86, 0.05) !important;
}

.page-hero .hero-visual h3,
.webapp-hero .webapp-floating-copy h3 {
    color: var(--hero-navy);
}

.page-hero .hero-visual p,
.webapp-hero .webapp-floating-copy p {
    color: var(--hero-text);
}

.webapp-hero .webapp-floating-info {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 0 25px;
    padding: 17px;
    border: 1px solid var(--hero-border);
    border-radius: 10px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(16, 42, 86, 0.07);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.webapp-hero .webapp-floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    color: var(--hero-blue);
    border: 1px solid #d5eaff;
    border-radius: 10px;
    background: #eff7ff;
    font-size: 21px;
}

.webapp-hero .webapp-info-arrow {
    color: var(--hero-blue);
}

/* Bottom accent */
.page-hero::after,
.webapp-hero .webapp-hero-bottom-line {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #1689e8 45%,
        #a6d9ff 70%,
        transparent
    );
}

/* Animations */
@keyframes pavionxHeroUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pavionxHeroIn {
    from {
        opacity: 0;
        transform: translateX(16px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* TABLET */
@media (max-width: 1000px) {
    .page-hero,
    .webapp-hero {
        min-height: auto;
        padding: 70px 0;
    }

    .page-hero .hero-inner,
    .webapp-hero .webapp-hero-inner {
        gap: 32px;
    }

    .page-hero .hero-copy h1,
    .webapp-hero .webapp-hero-copy h1 {
        font-size: clamp(32px, 4.4vw, 43px);
    }

    .page-hero .hero-visual img,
    .webapp-hero .webapp-dashboard-image {
        height: 300px;
    }
}

/* MOBILE */
@media (max-width: 700px) {
    .page-hero,
    .webapp-hero {
        padding: 55px 0;
    }

    .page-hero .hero-inner,
    .webapp-hero .webapp-hero-inner {
        width: 90%;
        grid-template-columns: minmax(0, 1fr);
        gap: 34px;
    }

    .page-hero .eyebrow,
    .webapp-hero .webapp-eyebrow {
        margin-bottom: 19px;
        font-size: 10px;
        letter-spacing: 0.9px;
    }

    .page-hero .hero-copy h1,
    .webapp-hero .webapp-hero-copy h1 {
        margin-bottom: 17px;
        font-size: clamp(30px, 7.8vw, 40px);
        line-height: 1.22;
        letter-spacing: -0.6px;
    }

    .page-hero .hero-copy > p,
    .webapp-hero .webapp-hero-description {
        font-size: 14px;
        line-height: 1.85;
    }

    .page-hero .hero-actions,
    .webapp-hero .webapp-hero-actions {
        gap: 11px;
        margin-top: 24px;
    }

    .page-hero .hero-actions .btn,
    .webapp-hero .webapp-btn {
        min-height: 46px;
        padding: 11px 14px;
        font-size: 13px;
    }

    .page-hero .check-list {
        gap: 8px 14px;
        margin-top: 22px;
    }

    .page-hero .hero-visual img,
    .webapp-hero .webapp-dashboard-image {
        height: 260px;
    }

    .webapp-hero .webapp-floating-info {
        margin-left: 10px;
        padding: 14px;
    }
}

/* SMALL MOBILE */
@media (max-width: 380px) {
    .page-hero .hero-actions,
    .webapp-hero .webapp-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .page-hero .hero-actions .btn,
    .webapp-hero .webapp-btn {
        width: 100%;
        box-sizing: border-box;
    }

    .page-hero .hero-visual img,
    .webapp-hero .webapp-dashboard-image {
        height: 220px;
    }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
    .page-hero .hero-copy,
    .page-hero .hero-visual,
    .webapp-hero .webapp-hero-copy,
    .webapp-hero .webapp-hero-visual {
        animation: none;
    }
}



/* ==========================================
   PAVIONX - WEB APPLICATION SOLUTIONS
   White Theme | No Box Style
   Navy Blue + Electric Blue
========================================== */

#solutions,
.section-pad {
    font-family: inherit;
    background: #ffffff;
    color: #102a56;
}

/* Section spacing */
#solutions {
    padding: 85px 0;
    overflow: hidden;
}

.section-pad {
    padding: 80px 0;
}

#solutions > .container,
.section-pad > .container {
    width: min(1180px, 92%);
    margin: 0 auto;
}

/* ==========================================
   SECTION HEADERS
========================================== */

#solutions .section-header,
.section-pad .section-header {
    max-width: 790px;
    margin: 0 auto 55px;
    text-align: center;
}

#solutions .section-label-wrap,
.section-pad .section-label-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}

#solutions .section-label,
.section-pad .section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1689e8;
    font-size: 12px;
    font-weight: 750;
    letter-spacing: 1.8px;
    line-height: 1.8;
    text-transform: uppercase;
}

#solutions .section-label::before,
#solutions .section-label::after,
.section-pad .section-header .section-label::before,
.section-pad .section-header .section-label::after {
    content: "";
    width: 23px;
    height: 2px;
    border-radius: 5px;
    background: #1689e8;
}

#solutions .section-heading,
.section-pad .section-heading {
    margin: 0 0 17px;
    color: #102a56;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 750;
    line-height: 1.25;
    letter-spacing: -0.8px;
}

#solutions .section-heading span,
.section-pad .section-heading span {
    display: block;
    margin-top: 5px;
    color: #1689e8;
}

#solutions .section-sub,
.section-pad .section-sub {
    max-width: 650px;
    margin: 0 auto;
    color: #63748b;
    font-size: 15px;
    line-height: 1.85;
}

/* ==========================================
   SOLUTIONS - EDITORIAL GRID
   No cards, backgrounds or shadows
========================================== */

#solutions .services-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 38px;
    row-gap: 0;
}

#solutions .svc-card.glass-card {
    position: relative;
    min-width: 0;
    padding: 25px 0 35px;
    overflow: visible;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: transform 0.3s ease;
}

#solutions .svc-card.glass-card:hover {
    transform: translateY(-4px);
}

/* Image */
#solutions .svc-card > img {
    display: block;
    width: 100%;
    height: 210px;
    margin-bottom: 23px;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
    background: #f1f7fd;
    transition: filter 0.35s ease;
}

#solutions .svc-card:hover > img {
    filter: brightness(1.04);
}

/* Circular icon */
#solutions .svc-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 0 18px;
    border: 1px solid #d8eaff;
    border-radius: 50%;
    background: #f2f8ff;
    font-size: 19px;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

#solutions .svc-card:hover .svc-icon-wrap {
    transform: translateY(-2px);
    background: #e5f3ff;
}

/* Icon variants */
#solutions .svc-icon-wrap.blue {
    color: #0878d1;
}

#solutions .svc-icon-wrap.green {
    color: #07966a;
}

#solutions .svc-icon-wrap.purple {
    color: #7651d5;
}

#solutions .svc-icon-wrap.orange {
    color: #d97706;
}

/* Titles and descriptions */
#solutions .svc-card h3 {
    margin: 0 0 11px;
    color: #102a56;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.45;
    transition: color 0.25s ease;
}

#solutions .svc-card:hover h3 {
    color: #1689e8;
}

#solutions .svc-card p {
    margin: 0;
    color: #63748b;
    font-size: 14px;
    line-height: 1.9;
}

/* CTA link */
#solutions .svc-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
    color: #0878d1;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
    text-decoration: none;
    transition: color 0.25s ease;
}

#solutions .svc-link i {
    transition: transform 0.25s ease;
}

#solutions .svc-link:hover {
    color: #102a56;
}

#solutions .svc-link:hover i {
    transform: translateX(5px);
}

/* Thin separators */
#solutions .svc-card:nth-child(n + 4) {
    border-top: 1px solid #e6edf5 !important;
}

#solutions .svc-card:not(:nth-child(3n))::after {
    content: "";
    position: absolute;
    top: 35px;
    right: -19px;
    bottom: 35px;
    width: 1px;
    background: #e6edf5;
}

/* ==========================================
   CAPABILITIES SECTION
========================================== */

.section-pad .two-column {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 65px;
}

/* Image panel without card style */
.section-pad .business-panel {
    min-width: 0;
    overflow: visible;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.section-pad .business-panel img {
    display: block;
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
}

/* Image caption */
.section-pad .panel-body {
    padding: 23px 0 0;
}

.section-pad .panel-body h3 {
    margin: 0 0 10px;
    color: #102a56;
    font-size: 23px;
    font-weight: 700;
    line-height: 1.45;
}

.section-pad .panel-body p {
    margin: 0;
    color: #63748b;
    font-size: 14px;
    line-height: 1.9;
}

/* Capabilities heading */
.section-pad .two-column > div > .section-label {
    margin-bottom: 17px;
}

.section-pad .two-column .section-heading {
    margin-top: 15px;
    text-align: left;
}

.section-pad .two-column .section-sub {
    margin: 0 0 23px;
    text-align: left;
}

/* Checklist - no boxes */
.section-pad .check-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 15px;
    margin-top: 25px;
}

.section-pad .check-list p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    color: #40546e;
    font-size: 14px;
    line-height: 1.8;
}

.section-pad .check-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 21px;
    height: 21px;
    margin-top: 1px;
    color: #1689e8;
    border-radius: 50%;
    background: #edf7ff;
    font-size: 11px;
}

/* ==========================================
   TECHNOLOGY APPROACH
========================================== */

.section-pad .technology-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
}

.section-pad .technology-card {
    position: relative;
    min-width: 0;
    padding: 25px 22px;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    text-align: left;
    transition: transform 0.3s ease;
}

.section-pad .technology-card:not(:last-child) {
    border-right: 1px solid #e2ebf5 !important;
}

.section-pad .technology-card:hover {
    transform: translateY(-4px);
}

.section-pad .technology-card > i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 20px;
    color: #1689e8;
    border-radius: 50%;
    background: #eff7ff;
    font-size: 22px;
}

.section-pad .technology-card h3 {
    margin: 0 0 10px;
    color: #102a56;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.5;
}

.section-pad .technology-card p {
    margin: 0;
    color: #63748b;
    font-size: 13px;
    line-height: 1.85;
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 950px) {
    #solutions,
    .section-pad {
        padding: 65px 0;
    }

    #solutions .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 28px;
    }

    #solutions .svc-card:not(:nth-child(3n))::after {
        display: none;
    }

    #solutions .svc-card:nth-child(odd)::after {
        display: block;
        top: 35px;
        right: -14px;
        bottom: 35px;
        width: 1px;
        background: #e6edf5;
    }

    #solutions .svc-card:nth-child(even)::after {
        display: none;
    }

    #solutions .svc-card:nth-child(n + 3) {
        border-top: 1px solid #e6edf5 !important;
    }

    .section-pad .two-column {
        gap: 35px;
    }

    .section-pad .technology-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 15px;
    }

    .section-pad .technology-card:nth-child(2) {
        border-right: none !important;
    }

    .section-pad .technology-card:nth-child(n + 3) {
        border-top: 1px solid #e2ebf5 !important;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 600px) {
    #solutions,
    .section-pad {
        padding: 50px 0;
    }

    #solutions > .container,
    .section-pad > .container {
        width: 90%;
    }

    #solutions .section-header,
    .section-pad .section-header {
        margin-bottom: 30px;
    }

    #solutions .section-label,
    .section-pad .section-label {
        font-size: 10px;
        letter-spacing: 1.3px;
    }

    #solutions .section-heading,
    .section-pad .section-heading {
        font-size: clamp(27px, 7vw, 34px);
        letter-spacing: -0.4px;
    }

    #solutions .section-sub,
    .section-pad .section-sub {
        font-size: 14px;
        line-height: 1.8;
    }

    /* Solutions become a vertical list */
    #solutions .services-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    #solutions .svc-card.glass-card {
        padding: 25px 0;
        border-top: 1px solid #e6edf5 !important;
    }

    #solutions .svc-card:first-child {
        border-top: none !important;
    }

    #solutions .svc-card:nth-child(n)::after {
        display: none !important;
    }

    #solutions .svc-card > img {
        height: 220px;
        margin-bottom: 19px;
    }

    #solutions .svc-icon-wrap {
        width: 44px;
        height: 44px;
        margin-bottom: 15px;
        font-size: 18px;
    }

    #solutions .svc-card h3 {
        font-size: 19px;
    }

    #solutions .svc-card p {
        font-size: 14px;
    }

    /* Capabilities stack */
    .section-pad .two-column {
        grid-template-columns: minmax(0, 1fr);
        gap: 35px;
    }

    .section-pad .business-panel img {
        height: 245px;
    }

    .section-pad .panel-body h3 {
        font-size: 21px;
    }

    .section-pad .two-column .section-heading {
        font-size: 29px;
    }

    .section-pad .check-list {
        gap: 12px;
    }

    /* Technology list */
    .section-pad .technology-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .section-pad .technology-card {
        padding: 22px 0;
        border-right: none !important;
        border-top: 1px solid #e2ebf5 !important;
    }

    .section-pad .technology-card:first-child {
        border-top: none !important;
    }

    .section-pad .technology-card > i {
        width: 43px;
        height: 43px;
        margin-bottom: 13px;
        font-size: 20px;
    }

    .section-pad .technology-card h3 {
        font-size: 17px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    #solutions .svc-card,
    #solutions .svc-link i,
    .section-pad .technology-card {
        transition: none;
    }
}

