:root {
    --pbx-primary: #0a5bd3;
    --pbx-primary-dark: #073f94;
    --pbx-accent: #14b8a6;
    --pbx-ink: #132238;
    --pbx-muted: #5f6b7a;
    --pbx-line: #e5edf7;
    --pbx-soft: #f5f8fc;
    --pbx-white: #ffffff;
    --pbx-radius: 8px;
    --pbx-shadow: 0 18px 50px rgba(16, 39, 75, 0.11);
}

* {
    letter-spacing: 0;
}

body {
    background: var(--pbx-white);
    color: var(--pbx-ink);
    font-family: Poppins, Arial, sans-serif;
}

body p,
.lead {
    color: var(--pbx-muted);
}

.site-topbar {
    background: #08264f;
    color: #dbeafe;
    font-size: 13px;
    padding: 8px 0;
}

.site-topbar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px 22px;
}

.site-topbar a,
.site-topbar span {
    color: #dbeafe;
}

.site-navbar {
    background: rgba(255, 255, 255, 0.97);
    border-bottom: 1px solid var(--pbx-line);
    box-shadow: 0 10px 28px rgba(18, 34, 56, 0.06);
    padding: 10px 0;
}

.site-brand img {
    max-height: 44px;
    width: auto;
}

.site-menu-wrap {
    min-width: 0;
}

.navbar-custom .navbar-nav {
    gap: 4px;
}

.navbar-custom .nav-item {
    display: flex;
    align-items: center;
}

.navbar-custom .nav-link {
    align-items: center;
    border-radius: 999px;
    color: var(--pbx-ink);
    display: inline-flex;
    gap: 7px;
    font-weight: 600;
    line-height: 1.1;
    min-height: 42px;
    padding: 10px 12px;
    white-space: nowrap;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-item.active .nav-link {
    background: #eef5ff;
    color: var(--pbx-primary);
}

.navbar-custom .nav-item.active .nav-link {
    box-shadow: inset 0 -2px 0 var(--pbx-primary);
}

.nav-icon {
    align-items: center;
    background: #f1f6ff;
    border: 1px solid #dce9fb;
    border-radius: 50%;
    color: var(--pbx-primary);
    display: inline-flex;
    flex: 0 0 24px;
    height: 24px;
    justify-content: center;
    width: 24px;
}

.nav-icon i {
    font-size: 12px;
}

.nav-label {
    display: inline-block;
}

.navbar-custom .dropdown-toggle::after {
    margin-left: 2px;
}

.dropdown-menu {
    border: 1px solid var(--pbx-line);
    border-radius: var(--pbx-radius);
    box-shadow: var(--pbx-shadow);
    min-width: 250px;
    padding: 10px;
}

.dropdown-item {
    align-items: center;
    border-radius: 6px;
    color: var(--pbx-ink);
    display: flex;
    font-size: 14px;
    gap: 10px;
    padding: 9px 12px;
}

.dropdown-item:hover {
    background: #eef5ff;
    color: var(--pbx-primary);
}

.dropdown-icon {
    align-items: center;
    background: #eef5ff;
    border-radius: 6px;
    color: var(--pbx-primary);
    display: inline-flex;
    flex: 0 0 30px;
    height: 30px;
    justify-content: center;
    width: 30px;
}

.btn,
.site-nav-cta {
    border-radius: 6px;
    font-weight: 700;
    padding: 11px 20px;
}

.site-nav-cta {
    align-items: center;
    display: inline-flex;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    white-space: nowrap;
}

.btn-primary {
    background: var(--pbx-primary);
    border-color: var(--pbx-primary);
}

.btn-primary:hover {
    background: var(--pbx-primary-dark);
    border-color: var(--pbx-primary-dark);
}

.btn-outline-primary {
    border-color: var(--pbx-primary);
    color: var(--pbx-primary);
}

.btn-outline-primary:hover {
    background: var(--pbx-primary);
    border-color: var(--pbx-primary);
}

.pbx-hero {
    background:
        linear-gradient(110deg, rgba(8, 38, 79, 0.94), rgba(10, 91, 211, 0.78)),
        url('../images/pexel_bg.jpg') center/cover no-repeat;
    color: var(--pbx-white);
    padding: 92px 0 72px;
}

.pbx-hero h1 {
    color: var(--pbx-white);
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    line-height: 1.08;
    max-width: 900px;
    padding: 0;
}

.pbx-hero p {
    color: #dcecff;
    font-size: 18px;
    line-height: 1.75;
    margin: 22px 0 0;
    max-width: 760px;
}

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

.hero-badges,
.pbx-stat-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 38px;
}

.hero-badge,
.pbx-stat {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: var(--pbx-radius);
    color: #f8fbff;
    padding: 16px;
}

.pbx-section {
    padding: 78px 0;
}

.pbx-section--soft {
    background: var(--pbx-soft);
}

.section-eyebrow {
    color: var(--pbx-primary);
    display: inline-block;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-title,
.pbx-section h2 {
    color: var(--pbx-ink);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    line-height: 1.18;
    padding: 0;
}

.section-lead {
    color: var(--pbx-muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 14px auto 0;
    max-width: 780px;
}

.solution-card,
.expertise-card,
.pbx-card,
.contact-card,
.location_box {
    background: var(--pbx-white);
    border: 1px solid var(--pbx-line);
    border-radius: var(--pbx-radius);
    box-shadow: 0 14px 36px rgba(19, 34, 56, 0.08);
    height: 100%;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.solution-card:hover,
.expertise-card:hover,
.pbx-card:hover {
    box-shadow: var(--pbx-shadow);
    transform: translateY(-4px);
}

.solution-card .card-img-top,
.expertise-card .card-img-container,
.pbx-card__media {
    background: #eef5ff;
}

.solution-card .card-body,
.expertise-card .card-body,
.pbx-card__body {
    padding: 24px;
}

.card-title,
.pbx-card h3 {
    color: var(--pbx-ink);
    font-size: 20px;
    font-weight: 800;
}

.benefit-item,
.service-item {
    color: var(--pbx-muted);
    font-size: 14px;
    margin-bottom: 9px;
}

.benefit-icon,
.service-item::before {
    color: var(--pbx-accent);
}

.service-item::before {
    content: "✓";
    font-weight: 800;
    margin-right: 8px;
}

.site-cta {
    background: var(--pbx-soft);
    padding: 70px 0 0;
}

.site-cta__panel {
    align-items: center;
    background: linear-gradient(135deg, var(--pbx-primary), #08264f);
    border-radius: var(--pbx-radius);
    color: var(--pbx-white);
    display: flex;
    gap: 28px;
    justify-content: space-between;
    padding: 38px;
}

.site-cta h2,
.site-cta p {
    color: var(--pbx-white);
    margin: 0;
    padding: 0;
}

.site-cta p {
    color: #dbeafe;
    margin-top: 10px;
}

.site-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: flex-end;
    min-width: 280px;
}

.site-footer {
    background: #071d3d;
    color: #dbeafe;
    padding: 70px 0 28px;
}

.site-footer__logo {
    background: #fff;
    border-radius: 6px;
    max-height: 56px;
    padding: 6px 10px;
}

.site-footer h3 {
    color: var(--pbx-white);
    font-size: 17px;
    font-weight: 800;
    padding: 0 0 14px;
}

.site-footer p,
.site-footer li,
.site-footer a {
    color: #c8d8ef;
    font-size: 14px;
    line-height: 1.8;
}

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

.site-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 38px;
    padding-top: 22px;
}

.site-footer__bottom p {
    margin: 0;
}

.contact-card {
    padding: 28px;
}

.form-control {
    border: 1px solid #d8e3f2;
    border-radius: 6px;
    min-height: 46px;
}

.form-control:focus {
    border-color: var(--pbx-primary) !important;
    box-shadow: 0 0 0 0.2rem rgba(10, 91, 211, 0.12) !important;
}

.alert {
    border-radius: var(--pbx-radius);
}

@media (max-width: 991px) {
    .site-topbar__inner {
        justify-content: flex-start;
    }

    .navbar-custom .nav-link {
        border-radius: 8px;
        justify-content: flex-start;
        padding: 10px 12px;
        width: 100%;
    }

    .navbar-custom .navbar-nav {
        align-items: stretch !important;
        gap: 6px;
        padding-top: 14px;
    }

    .navbar-custom .nav-item {
        display: block;
    }

    .site-nav-cta {
        justify-content: center;
        margin-top: 6px;
        width: 100%;
    }

    .hero-badges,
    .pbx-stat-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-cta__panel {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-cta__actions {
        justify-content: flex-start;
        min-width: 0;
    }
}

@media (max-width: 575px) {
    .pbx-hero {
        padding: 64px 0 50px;
    }

    .pbx-section {
        padding: 54px 0;
    }

    .hero-badges,
    .pbx-stat-grid {
        grid-template-columns: 1fr;
    }

    .hero-actions .btn,
    .site-cta__actions .btn {
        width: 100%;
    }

    .site-cta__panel {
        padding: 28px 22px;
    }
}
