:root {
    --pps-navy: #032153;
    --pps-teal: #00797C;
    --pps-navy-dark: #02163a;
    --pps-radius: 0.5rem;
    --pps-radius-sm: 0.375rem;
    --pps-transition: 0.25s ease;
    --pps-shadow: 0 2px 8px rgba(3, 33, 83, 0.08);
    --pps-shadow-hover: 0 8px 24px rgba(3, 33, 83, 0.14);
}

/* Base */
html {
    scroll-padding-top: 5.5rem;
}

body {
    color: #334155;
    -webkit-font-smoothing: antialiased;
}

a,
button,
.btn,
.nav-link,
.mobile-cta-btn,
.top-split-right,
.pps-service-card,
.pps-icon-circle {
    transition: background-color var(--pps-transition),
                color var(--pps-transition),
                border-color var(--pps-transition),
                box-shadow var(--pps-transition),
                transform var(--pps-transition);
}

/* Focus states */
a:focus-visible,
.btn:focus-visible,
.navbar-toggler:focus-visible,
.mobile-cta-btn:focus-visible,
.form-control:focus,
.form-select:focus {
    outline: 2px solid var(--pps-teal);
    outline-offset: 2px;
    box-shadow: 0 0 0 0.2rem rgba(0, 121, 124, 0.25);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(0, 121, 124, 0.25);
}

/* Split Top Bar */
.top-split-bar {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.top-split-left {
    background-color: var(--pps-navy-dark);
    color: white;
    padding: 10px 0;
}

.top-split-right {
    background-color: var(--pps-navy);
    color: white;
    padding: 10px 0;
}

.top-split-right:hover {
    background-color: var(--pps-teal);
    cursor: pointer;
}

.top-split-right a:focus-visible {
    outline-offset: -4px;
}

/* Navbar */
.navbar.sticky-top {
    padding-top: 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(3, 33, 83, 0.08);
    box-shadow: 0 1px 0 rgba(3, 33, 83, 0.04), 0 4px 16px rgba(3, 33, 83, 0.06);
}

.navbar-brand {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    margin-right: 1rem;
}

.navbar-brand img {
    max-height: 56px;
    width: auto;
    display: block;
}

.navbar-brand span {
    font-weight: 700;
    color: var(--pps-navy);
    letter-spacing: -0.01em;
}

.navbar-light .navbar-toggler {
    border: 1.5px solid var(--pps-navy) !important;
    border-radius: var(--pps-radius-sm);
    padding: 0.45rem 0.65rem;
}

.navbar-light .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(3, 33, 83, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 1.35em;
    height: 1.35em;
}

.navbar-light .navbar-nav .nav-link {
    color: #2c3e50 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    padding: 0.5rem 0.35rem 0.4rem !important;
    margin-left: 0.65rem;
    border-bottom: 2px solid transparent;
    transition: color var(--pps-transition), border-color var(--pps-transition);
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active,
.navbar-light .navbar-nav .nav-link:focus-visible {
    color: var(--pps-navy) !important;
    border-bottom-color: var(--pps-teal);
}

/* Mobile Menu Dropdown Styling */
@media (max-width: 991.98px) {
    .navbar.sticky-top {
        padding-top: 0.55rem;
        padding-bottom: 0.55rem;
    }

    .navbar-brand img {
        max-height: 48px;
    }

    .navbar > .container {
        align-items: center;
    }

    .navbar-collapse {
        background-color: #f8fafc;
        border: 1px solid rgba(3, 33, 83, 0.08);
        box-shadow: var(--pps-shadow);
        margin-top: 0.85rem;
        padding: 0.75rem 1.15rem 1rem;
        border-radius: var(--pps-radius);
    }

    .navbar-collapse .navbar-nav {
        margin-bottom: 0 !important;
        margin-right: 0 !important;
    }

    .navbar-collapse .nav-link {
        font-weight: 600 !important;
        color: #334155 !important;
        padding: 0.85rem 0.25rem !important;
        margin-left: 0 !important;
        border-bottom: 1px solid rgba(3, 33, 83, 0.06) !important;
        text-transform: none !important;
        letter-spacing: 0.01em !important;
    }

    .navbar-collapse .nav-item:last-child .nav-link {
        border-bottom: none !important;
    }

    .navbar-collapse .nav-link:hover,
    .navbar-collapse .nav-link:focus-visible {
        color: var(--pps-teal) !important;
        border-bottom-color: transparent !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(105deg, rgba(3, 33, 83, 0.72) 0%, rgba(3, 33, 83, 0.48) 55%, rgba(0, 121, 124, 0.28) 100%), url('../7.jpg');
    background-size: cover;
    background-position: 72% center;
    background-repeat: no-repeat;
    padding: 5.5rem 0;
    min-height: 64vh;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.42) 100%);
    pointer-events: none;
}

.hero-section .container {
    z-index: 1;
}

.hero-content {
    padding: 1rem 0 1.5rem;
}

.hero-headline {
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.hero-section h1,
.hero-section p,
.hero-section .lead {
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.65), 0 1px 3px rgba(0, 0, 0, 0.4);
}

.hero-subhead {
    letter-spacing: 0.06em;
    font-weight: 500;
    margin-bottom: 1.15rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-accent-line {
    width: 52px;
    height: 3px;
    background: linear-gradient(90deg, var(--pps-teal), rgba(0, 121, 124, 0.35));
    margin: 0 auto 1.15rem;
    border-radius: 2px;
    box-shadow: 0 0 12px rgba(0, 121, 124, 0.45);
}

.hero-tagline {
    margin-bottom: 2rem;
}

.min-vh-75 {
    min-height: 75vh;
}

.usp-highlight {
    font-size: 1.15rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.98);
    line-height: 1.6;
}

/* Primary Button */
.btn-pps {
    background-color: var(--pps-navy);
    color: #fff;
    border: none;
    border-radius: var(--pps-radius-sm);
    padding: 0.9rem 2.25rem;
    min-height: 48px;
    font-weight: 600;
    letter-spacing: 0.03em;
    box-shadow: 0 4px 14px rgba(3, 33, 83, 0.28);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-pps:hover,
.btn-pps:focus-visible {
    background-color: var(--pps-teal);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 121, 124, 0.35);
}

.btn-pps:active {
    transform: translateY(0);
    background-color: var(--pps-navy-dark);
    box-shadow: 0 2px 8px rgba(3, 33, 83, 0.25);
}

.btn-pps.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.hero-cta {
    background: linear-gradient(180deg, #0a2d6b 0%, var(--pps-navy) 100%);
    padding: 1.1rem 2.85rem;
    min-height: 54px;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        0 4px 6px rgba(0, 0, 0, 0.18),
        0 10px 28px rgba(3, 33, 83, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.hero-cta:hover,
.hero-cta:focus-visible {
    background: linear-gradient(180deg, #00959a 0%, var(--pps-teal) 100%);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
        0 6px 10px rgba(0, 0, 0, 0.16),
        0 14px 32px rgba(0, 121, 124, 0.45),
        inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

/* Trust Section */
.trust-section {
    padding: 0 !important;
}

.pps-trust-band {
    background-color: #f4f7f9;
    border-top: 1px solid rgba(3, 33, 83, 0.06);
    border-bottom: 1px solid rgba(3, 33, 83, 0.06);
    padding: 3.5rem 0;
}

.trust-card {
    padding: 1.75rem 1.25rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pps-icon-circle {
    width: 64px;
    height: 64px;
    font-size: 1.35rem;
    background: linear-gradient(145deg, var(--pps-navy) 0%, var(--pps-navy-dark) 100%);
    box-shadow: 0 4px 12px rgba(3, 33, 83, 0.22);
    border: 2px solid rgba(0, 121, 124, 0.35);
    margin-bottom: 1rem !important;
}

.trust-icon {
    font-size: 2.5rem;
    color: var(--pps-navy);
    line-height: 1;
    margin-bottom: 1rem;
}

.trust-card h5 {
    color: var(--pps-navy);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: -0.01em;
    margin-bottom: 0.5rem;
}

.trust-card p {
    line-height: 1.55;
    font-size: 0.9rem;
    color: #64748b;
    max-width: 220px;
}

/* Section Divider */
.pps-section-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0, 121, 124, 0.35) 20%, rgba(0, 121, 124, 0.35) 80%, transparent);
    margin: 0;
    width: 100%;
}

/* Section Title Typography */
.pps-section-title {
    font-size: 2.35rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    margin-bottom: 0.85rem;
    color: var(--pps-navy);
    position: relative;
}

.pps-section-title::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    background: var(--pps-teal);
    margin: 0.85rem auto 0;
    border-radius: 2px;
}

.services-section .lead,
.gallery-section .lead,
.contact-section .lead {
    color: #64748b;
    font-size: 1.1rem;
}

/* Services Section */
.services-section {
    background-color: #f8fafc !important;
}

.pps-service-card {
    border: 1px solid rgba(3, 33, 83, 0.08);
    border-top: 3px solid transparent;
    border-radius: var(--pps-radius);
    box-shadow: var(--pps-shadow);
    padding: 2.15rem 1.65rem;
    background-color: #fff;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.pps-service-card:hover {
    transform: translateY(-4px);
    border-top-color: var(--pps-teal);
    box-shadow: var(--pps-shadow-hover);
}

.pps-service-card .card-title {
    color: var(--pps-navy);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.015em;
    margin-bottom: 0.65rem;
    line-height: 1.3;
}

.pps-service-card .card-text {
    line-height: 1.65;
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
    background-color: #fff;
}

.gallery-section .h4 {
    color: var(--pps-navy);
    letter-spacing: -0.015em;
}

.pps-project-set {
    margin-bottom: 3.5rem;
    padding: 2rem 1.5rem 1.75rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid rgba(3, 33, 83, 0.06);
    border-radius: calc(var(--pps-radius) + 0.15rem);
    box-shadow: var(--pps-shadow);
}

.pps-project-set-last {
    margin-bottom: 0;
}

.pps-project-header {
    margin-bottom: 1.5rem;
}

.pps-project-header .h4 {
    margin-bottom: 0.5rem;
}

.pps-project-desc {
    color: #64748b;
    margin: 0 auto;
    max-width: 36rem;
    font-size: 0.98rem;
    line-height: 1.55;
}

.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--pps-radius);
    box-shadow: 0 4px 16px rgba(3, 33, 83, 0.1);
}

.pps-gallery-frame {
    height: 320px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(3, 33, 83, 0.08);
}

.pps-gallery-frame-top {
    align-items: flex-start;
}

.pps-gallery-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.45s ease;
}

.pps-gallery-frame::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(3, 33, 83, 0.35) 100%);
    opacity: 0.85;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.pps-gallery-frame:hover img {
    transform: scale(1.04);
}

.pps-gallery-frame:hover::after {
    opacity: 1;
}

.pps-crop-top {
    object-position: center top;
}

.pps-crop-center {
    object-position: center center;
}

.pps-crop-bottom {
    object-position: center bottom;
}

.overlay-label {
    position: absolute;
    bottom: 0.85rem;
    left: 0.85rem;
    z-index: 2;
    width: auto;
    background: rgba(3, 33, 83, 0.88);
    color: white;
    padding: 0.4rem 0.85rem;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
    border-radius: 0.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.overlay-label-before {
    background: rgba(15, 23, 42, 0.82);
    letter-spacing: 0.05em;
}

.overlay-label-after {
    background: rgba(0, 121, 124, 0.92);
    letter-spacing: 0.05em;
}

/* Why Section */
.pps-why-panel {
    border-radius: calc(var(--pps-radius) + 0.15rem) !important;
    border: 1px solid rgba(3, 33, 83, 0.06);
    box-shadow: 0 12px 40px rgba(3, 33, 83, 0.12) !important;
}

.pps-why-grid {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.pps-why-item {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
    padding: 1.25rem 1.35rem;
    background: linear-gradient(90deg, rgba(0, 121, 124, 0.04) 0%, rgba(248, 250, 252, 0.6) 100%);
    border: 1px solid rgba(3, 33, 83, 0.06);
    border-left: 3px solid var(--pps-teal);
    border-radius: var(--pps-radius-sm);
    transition: box-shadow var(--pps-transition), transform var(--pps-transition), border-color var(--pps-transition);
}

.pps-why-item:hover {
    box-shadow: 0 6px 18px rgba(3, 33, 83, 0.08);
    transform: translateY(-1px);
    border-color: rgba(0, 121, 124, 0.18);
}

.pps-why-marker {
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--pps-teal);
    background: rgba(0, 121, 124, 0.1);
    border: 1px solid rgba(0, 121, 124, 0.22);
    border-radius: 50%;
}

.pps-why-body {
    flex: 1;
    min-width: 0;
}

.why-section h4 {
    color: var(--pps-navy);
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 0.45rem;
    font-size: 1.15rem;
}

.why-section p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
    font-size: 0.97rem;
}

/* Parallax Background */
.parallax-bg {
    background-image: url('../8.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-top: 5.5rem;
    padding-bottom: 5.5rem;
}

/* Contact Section */
.contact-section {
    background-color: #f8fafc;
}

.pps-contact-details {
    margin-bottom: 1.75rem !important;
}

.pps-contact-detail {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.35rem 1rem;
    background: #fff;
    border: 1px solid rgba(3, 33, 83, 0.08);
    border-radius: var(--pps-radius);
    box-shadow: var(--pps-shadow);
    transition: box-shadow var(--pps-transition), transform var(--pps-transition), border-color var(--pps-transition);
}

.pps-contact-detail:hover {
    box-shadow: var(--pps-shadow-hover);
    transform: translateY(-2px);
    border-color: rgba(0, 121, 124, 0.22);
}

.pps-contact-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    color: var(--pps-teal);
    background: rgba(0, 121, 124, 0.1);
    border: 1px solid rgba(0, 121, 124, 0.2);
    border-radius: 50%;
    font-size: 0.95rem;
}

.pps-contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.pps-contact-detail a,
.pps-contact-value {
    color: var(--pps-navy);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.98rem;
    word-break: break-word;
    line-height: 1.35;
}

.pps-contact-detail a:hover {
    color: var(--pps-teal);
    text-decoration: none;
}

.pps-contact-form-card {
    border: 1px solid rgba(3, 33, 83, 0.08);
    border-radius: calc(var(--pps-radius) + 0.1rem);
    box-shadow: 0 8px 28px rgba(3, 33, 83, 0.1);
    overflow: hidden;
}

.pps-contact-form-card::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, var(--pps-navy), var(--pps-teal));
}

.contact-section .card-body {
    padding: 2.15rem !important;
}

.contact-section .form-label {
    font-weight: 600;
    color: var(--pps-navy);
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.contact-section .form-control,
.contact-section .form-select {
    border-radius: var(--pps-radius-sm);
    border: 1.5px solid rgba(3, 33, 83, 0.14);
    padding: 0.75rem 0.95rem;
    background-color: #fff;
    color: #334155;
    transition: border-color var(--pps-transition), box-shadow var(--pps-transition), background-color var(--pps-transition);
}

.contact-section .form-control:hover,
.contact-section .form-select:hover {
    border-color: rgba(3, 33, 83, 0.28);
}

.contact-section .form-control:focus,
.contact-section .form-select:focus {
    border-color: var(--pps-teal);
    background-color: #fff;
}

.contact-section .btn-pps {
    margin-top: 0.15rem;
    font-weight: 700;
}

.pps-form-reassurance {
    font-size: 0.875rem;
    color: #64748b;
    letter-spacing: 0.02em;
    margin-bottom: 1rem;
}

/* Footer */
footer {
    background-color: var(--pps-navy-dark) !important;
    letter-spacing: 0.01em;
}

/* Section Spacing */
section {
    padding: 4.5rem 0;
}

/* Mobile Sticky Bottom Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #fff;
    box-shadow: 0 -4px 20px rgba(3, 33, 83, 0.14);
    z-index: 1030;
    border-top: 1px solid rgba(0, 121, 124, 0.28);
}

.mobile-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1rem;
    min-height: 54px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    font-size: 0.95rem;
    text-decoration: none;
    color: #fff;
    border: none;
}

.mobile-cta-call {
    background-color: var(--pps-navy-dark);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-cta-call:hover,
.mobile-cta-call:active,
.mobile-cta-call:focus-visible {
    background-color: var(--pps-navy);
    color: #fff;
}

.mobile-cta-quote {
    background: linear-gradient(180deg, #0a2d6b 0%, var(--pps-navy) 100%);
}

.mobile-cta-quote:hover,
.mobile-cta-quote:active,
.mobile-cta-quote:focus-visible {
    background: linear-gradient(180deg, #00959a 0%, var(--pps-teal) 100%);
    color: #fff;
}

body {
    padding-bottom: 0;
}

/* Mobile Typography & Spacing */
@media (max-width: 768px) {
    body {
        padding-bottom: 72px;
    }

    .display-4 {
        font-size: 2rem;
    }

    .display-5 {
        font-size: 1.75rem;
    }

    .lead {
        font-size: 1rem;
    }

    .hero-section {
        min-height: 58vh;
        padding: 3rem 0;
        background-position: 86% center;
    }

    .hero-tagline,
    .usp-highlight {
        font-size: 1rem;
        margin-bottom: 1.75rem;
    }

    .hero-headline {
        margin-bottom: 0.85rem;
    }

    .hero-subhead {
        margin-bottom: 1rem;
    }

    .hero-cta {
        padding: 1rem 2.25rem;
        font-size: 1.02rem;
        width: 100%;
        max-width: 320px;
    }

    .pps-trust-band {
        padding: 2.75rem 0;
    }

    .trust-card {
        padding: 1rem 0.5rem;
    }

    .trust-card h5 {
        font-size: 0.95rem;
    }

    .trust-card p {
        font-size: 0.82rem;
        max-width: none;
    }

    .pps-section-title {
        font-size: 1.85rem;
        margin-bottom: 0.75rem;
    }

    .pps-project-set {
        margin-bottom: 2.25rem;
        padding: 1.35rem 1rem 1.25rem;
    }

    .pps-gallery-frame {
        height: 260px;
    }

    .overlay-label {
        bottom: 0.65rem;
        left: 0.65rem;
        padding: 0.35rem 0.7rem;
        font-size: 0.72rem;
    }

    .pps-service-card {
        min-height: auto;
        padding: 1.75rem 1.35rem;
    }

    section {
        padding: 3rem 0;
    }

    .parallax-bg {
        padding-top: 3.25rem;
        padding-bottom: 3.25rem;
    }

    .pps-why-panel {
        padding: 1.75rem !important;
    }

    .pps-why-item {
        padding: 1.1rem 1rem;
        gap: 0.85rem;
    }

    .pps-why-marker {
        width: 2.15rem;
        height: 2.15rem;
        font-size: 0.72rem;
    }

    .contact-section .card-body {
        padding: 1.5rem !important;
    }

    .pps-contact-detail {
        padding: 1.15rem 0.85rem;
    }
}
