/********** Template CSS **********/

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 600;
}

.mt-6 {
    margin-top: 5rem;
}

.mb-6 {
    margin-bottom: 5rem;
}

.pt-6 {
    padding-top: 5rem;
}

.pb-6 {
    padding-bottom: 5rem;
}


/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    transition: .5s;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-primary,
.btn-outline-primary:hover {
    color: var(--bs-light);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--bs-dark);
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-xl-square {
    width: 60px;
    height: 60px;
}

.btn-xxl-square {
    width: 75px;
    height: 75px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square,
.btn-xl-square,
.btn-xxl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

/*** Navbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 0;
    color: var(--bs-dark);
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        margin-top: 15px;
        border-top: 1px solid #EEEEEE;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}
/* Generic slide text reduction */
.slide-text,
.carousel-caption h1,
.carousel-caption h2,
.carousel-caption p {
    font-size: 180%; /* Half size */
}



/*** Header ***/
.carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    text-align: left;
    background: rgba(0, 0, 0, .7);
    padding: 3rem;
    padding-left: 11rem;
    z-index: 1;
}

.carousel .carousel-indicators {
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    width: 80px;
    flex-direction: column;
    margin: 0;
    margin-left: 3rem;
}

.carousel .carousel-indicators [data-bs-target] {
    width: 70px;
    height: 70px;
    text-indent: 0;
    margin: 5px 0;
    border: 2px solid #FFFFFF;
    overflow: hidden;
}

.carousel .carousel-indicators [data-bs-target] img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 992px) {
    .carousel .carousel-item {
        position: relative;
        min-height: 600px;
    }
    
    .carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 60px;
        height: 60px;
    }

    .carousel .carousel-caption {
        padding-left: 10rem;
    }
}

@media (max-width: 768px) {
    .carousel .carousel-item {
        min-height: 500px;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 50px;
        height: 50px;
    }

    .carousel .carousel-caption {
        padding-left: 9rem;
    }
}

@media (min-width: 1200px) {
    .carousel .carousel-item .display-1 {
        font-size: 7rem;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}


/*** About ***/
.about-img {
    position: relative;
    padding-left: 45px;
}

.about-img::before {
    position: absolute;
    content: "";
    width: 200px;
    height: 300px;
    top: 0;
    left: 0;
    border: 5px solid var(--bs-primary);
    animation: animateUpDown 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes animateUpDown { 
    0% { 
        top: -25px;
    }
    50% { 
        top: -45px;
    }
    100% { 
        top: -25px;
    } 
}


/*** Features ***/
.feature {
    background: linear-gradient(to right, rgba(0, 0, 0, .1), rgba(0, 0, 0, 1) 50%), url(../img/carousel-1.jpg) left center no-repeat;
    background-size: cover;
}

.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.feature-icon {
    position: relative;
    transition: .5s;
}

.feature-item:hover .feature-icon {
    margin-left: 3rem;
}

.feature-item a::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 1px;
    background: var(--bs-secondary);
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: -1;
}

.feature-item a:hover {
    color: var(--bs-primary) !important;
}

.feature-item a:hover::after {
    background: var(--bs-primary);
}

.experience .progress {
    height: 5px;
}

.experience .progress .progress-bar {
    width: 0px;
    transition: 3s;
}


/*** Service ***/
.service .service-item {
    position: relative;
    margin-top: 45px;
}

.service .service-inner {
    position: relative;
    height: 100%;
    margin-top: 45px;
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.service .service-inner::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    left: 0;
    bottom: 0;
    transition: 1s;
    background: var(--bs-primary);
}

.service .service-inner:hover::before {
    height: 100%;
    top: 0;
}

.service .service-item img {
    margin-top: -45px;
    padding-left: 45px;
}

.service .service-item * {
    position: relative;
    transition: .5s;
    z-index: 1;
}

.service .service-item:hover h5,
.service .service-item:hover p {
    color: var(--bs-white);
}

.service .service-item:hover a {
    padding-left: 45px !important;
}


/*** Appoinment ***/
.appoinment {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-2.jpg) left center no-repeat;
    background-size: cover;
}


/*** Team ***/
.team .team-item {
    background: var(--bs-white);
    box-shadow: 0 0 45px rgba(0, 0, 0, .05);
}

.team .team-item .team-social {
    position: absolute;
    width: 0;
    height: 100%;
    top: 0;
    right: 0;
    transition: .5s;
    background: var(--bs-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.team .team-item:hover .team-social {
    width: 100%;
    left: 0;
}

.team .team-item .team-social .btn {
    opacity: 0;
    transition: .5s;
}

.team .team-item:hover .team-social .btn {
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-img {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.testimonial-img div {
    position: absolute;
    width: 100px;
    height: 100px;
    animation-duration: 5s;
}

.testimonial-img div:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: .1s;
}

.testimonial-img div:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: .4s;
}

.testimonial-img div:nth-child(3) {
    top: 20%;
    left: 60%;
    animation-delay: .7s;
}

.testimonial-img div:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 1s;
}

.testimonial-img div::after {
    position: absolute;
    content: "";
    top: -1px;
    right: -1px;
    bottom: -1px;
    left: -1px;
    box-shadow: 0 0 10px 10px var(--bs-white) inset;
    z-index: 1;
}

.testimonial-carousel .owl-item img {
    width: 100px;
    height: 100px;
}

.testimonial-carousel .owl-nav {
    margin-top: 15px;
    display: flex;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    margin-right: 15px;
    color: var(--bs-primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--bs-dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 0px;
        height: 100%;
        top: 0;
        left: 50%;
        border-left: 1px dashed rgba(255, 255, 255, .2);
    }
}

@media (max-width: 991.98px) {
    .contact-info::after {
        position: absolute;
        content: "";
        width: 100%;
        height: 0px;
        top: 50%;
        left: 0;
        border-top: 1px dashed rgba(255, 255, 255, .2);
    }
}


/*** Appoinment ***/
.newsletter {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-3.jpg) left center no-repeat;
    background-size: cover;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--bs-secondary);
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--bs-primary);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #222222;
}

.copyright a {
    color: var(--bs-white);
}

.copyright a:hover {
    color: var(--bs-primary);
}
.service-text h5,
.service-text h5 button {
  color: #000 !important;
}
/* Partner Logos Styles */
.partner-item {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.partner-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
    border-color: #c09509;
}

/* Modern PMEA design refinements */
:root {
    --pmea-navy: #102a43;
    --pmea-ink: #1d2939;
    --pmea-sand: #f6f3ed;
    --pmea-gold: #ce9233;
}

body {
    color: #52606d;
    background: #fff;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--pmea-ink);
    letter-spacing: -0.02em;
}

.text-uppercase {
    letter-spacing: .035em;
}

.btn {
    border-radius: 4px;
    letter-spacing: .04em;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn-primary {
    border-color: var(--pmea-gold);
    box-shadow: 0 8px 20px rgba(206, 146, 51, .18);
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #b77c25;
    border-color: #b77c25;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(206, 146, 51, .27);
}

/* Header and navigation */
.sticky-top {
    box-shadow: 0 4px 22px rgba(16, 42, 67, .08);
}

.navbar {
    min-height: 76px;
}

.navbar .navbar-nav .nav-link {
    position: relative;
    margin-right: 28px;
    padding: 27px 0;
    font-size: .78rem;
    letter-spacing: .08em;
}

.navbar .navbar-nav .nav-link::after {
    position: absolute;
    content: "";
    right: 0;
    bottom: 19px;
    left: 0;
    height: 2px;
    background: var(--pmea-gold);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform .25s ease;
}

.navbar .navbar-nav .nav-link:hover::after,
.navbar .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.navbar-brand {
    display: flex;
    align-items: center;
    min-height: 68px;
    margin-right: 1rem;
}

.navbar-brand img {
    display: block;
    width: auto;
    height: 58px !important;
    max-width: 150px;
    object-fit: contain;
    filter: drop-shadow(0 3px 6px rgba(16, 42, 67, .18)) !important;
}

.navbar-toggler {
    padding: .5rem .6rem;
    border: 1px solid rgba(16, 42, 67, .22);
    border-radius: 4px;
}

/* More deliberate depth and spacing for existing content blocks */
.feature-row,
.team .team-item,
.service .service-inner {
    border-radius: 6px;
    overflow: hidden;
}

.feature-row {
    box-shadow: 0 14px 45px rgba(16, 42, 67, .08);
    overflow: visible;
    padding-top: 1.5rem;
}

.feature-row .feature-icon {
    margin-top: 0 !important;
}

.feature-item {
    transition: transform .25s ease, box-shadow .25s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(16, 42, 67, .12);
    z-index: 2;
}

.service .service-inner {
    box-shadow: 0 12px 36px rgba(16, 42, 67, .09);
}

.service .service-item img {
    transition: transform .45s ease;
}

.service .service-inner:hover img {
    transform: scale(1.035);
}

.bg-light {
    background-color: var(--pmea-sand) !important;
}

.about-img img,
.page-header {
    border-radius: 4px;
}

.footer {
    background: #102a43 !important;
}

.copyright {
    background: #0a1d2e;
}

@media (max-width: 991.98px) {
    .sticky-top {
        top: 0;
    }

    .navbar {
        min-height: 72px;
        padding: .1rem 0;
    }

    /* Keep a clear, touch-friendly PMEA logo visible beside the menu button. */
    .navbar-brand {
        display: flex !important;
        flex: 0 1 auto;
        min-width: 0;
        min-height: 68px;
        margin-right: auto;
        padding: .2rem 0;
    }

    .navbar-brand img {
        height: 58px !important;
        max-width: min(42vw, 150px);
        object-fit: contain;
    }

    .navbar .navbar-nav {
        margin-top: .5rem;
        padding: .6rem 0 1rem;
    }

    .navbar .navbar-nav .nav-link {
        margin: 0;
        padding: .8rem .25rem;
        font-size: .85rem;
    }

    .navbar .navbar-nav .nav-link::after {
        display: none;
    }

    .carousel .carousel-caption {
        padding: 2rem 1.5rem 2.25rem;
        justify-content: flex-end;
    }

    .carousel .carousel-indicators {
        top: auto;
        right: 0;
        bottom: 1rem;
        left: 0;
        width: auto;
        flex-direction: row;
        justify-content: center;
        margin: 0;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 54px !important;
        max-width: 132px;
    }

    .navbar-toggler {
        flex: 0 0 auto;
    }

    .carousel .carousel-item {
        min-height: 440px;
    }

    .carousel .carousel-caption h1 {
        font-size: clamp(1.75rem, 8vw, 2.45rem);
        line-height: 1.12;
    }

    .carousel .carousel-indicators [data-bs-target] {
        width: 38px;
        height: 38px;
        margin: 0 3px;
    }

    .pt-6 { padding-top: 3.75rem; }
    .pb-6 { padding-bottom: 3.75rem; }
}

/* Home hero: cinematic motion without the weight or data use of an autoplay video. */
.hero-cinematic .carousel-item {
    height: min(78vh, 780px);
    min-height: 570px;
    overflow: hidden;
    background: #09131d;
}

.hero-cinematic .carousel-item > img {
    height: 100%;
    object-fit: cover;
    animation: cinematicPan 15s ease-in-out both;
}

.hero-cinematic .carousel-caption {
    align-items: flex-start;
    justify-content: center;
    padding: clamp(2rem, 6vw, 6rem) clamp(2rem, 9vw, 11rem);
    background: linear-gradient(90deg, rgba(3, 10, 16, .78) 0%, rgba(3, 10, 16, .55) 42%, rgba(3, 10, 16, .18) 100%);
}

.hero-cinematic .carousel-caption h1,
.hero-cinematic .carousel-item .display-1 {
    max-width: 920px;
    margin-bottom: 1.8rem !important;
    font-size: clamp(2.5rem, 5.4vw, 5.25rem);
    line-height: 1.04;
    letter-spacing: .025em;
    text-wrap: balance;
}

.hero-cinematic .carousel-caption .btn {
    padding: .9rem 1.45rem !important;
}

@keyframes cinematicPan {
    from { transform: scale(1.02); }
    to { transform: scale(1.1); }
}

@media (max-width: 991.98px) {
    .hero-cinematic .carousel-item {
        height: 68vh;
        min-height: 500px;
    }

    .hero-cinematic .carousel-caption {
        justify-content: flex-end;
        padding: 2rem 1.5rem 4.5rem;
        background: linear-gradient(0deg, rgba(3, 10, 16, .83), rgba(3, 10, 16, .25) 80%);
    }

    .hero-cinematic .carousel-caption h1,
    .hero-cinematic .carousel-item .display-1 {
        max-width: 680px;
        font-size: clamp(2rem, 7vw, 3.5rem);
    }
}

@media (max-width: 575.98px) {
    .hero-cinematic .carousel-item {
        min-height: 455px;
    }

    .hero-cinematic .carousel-caption h1,
    .hero-cinematic .carousel-item .display-1 {
        font-size: clamp(1.85rem, 9vw, 2.55rem);
        line-height: 1.08;
        letter-spacing: .015em;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-cinematic .carousel-item > img {
        animation: none;
    }
}

/* Seamless homepage navigation and paired hero calls to action. */
.home-page > .sticky-top {
    /* The template script hides sticky headers near the top; never hide the hero navigation. */
    top: 0 !important;
}

/* Image-led services showcase */
.services-showcase {
    padding: 0 !important;
    overflow: hidden;
    background: var(--pmea-navy);
}

.services-showcase > .container {
    width: 100%;
    max-width: none;
    padding: 0;
}

.services-showcase .text-center {
    max-width: 1120px !important;
    margin: 0 auto !important;
    padding: 5.5rem 2rem 3.5rem;
    text-align: left !important;
}

.services-showcase .text-center::before {
    display: block;
    margin-bottom: 1rem;
    color: #d6a343;
    content: "PMEA CAPABILITIES";
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .22em;
}

.services-showcase .text-center h1 {
    max-width: 760px;
    margin-bottom: 0 !important;
    color: #fff;
    font-size: clamp(2rem, 3.4vw, 3.75rem);
    line-height: 1.1;
    letter-spacing: -.015em;
}

.services-showcase .row.g-4 {
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}

.services-showcase .service-item {
    height: 445px;
    margin: 0;
}

.services-showcase .service-inner {
    height: 100%;
    margin: 0;
    overflow: hidden;
    background: #0a2134;
    box-shadow: none;
    border-right: 1px solid rgba(214, 163, 67, .5);
}

.services-showcase .service-inner::before {
    z-index: 1;
    height: 100%;
    background: linear-gradient(0deg, rgba(4, 18, 30, .94) 0%, rgba(4, 18, 30, .42) 48%, rgba(4, 18, 30, .08) 100%);
}

.services-showcase .service-inner:hover::before {
    height: 100%;
    top: 0;
    background: linear-gradient(0deg, rgba(4, 18, 30, .97) 0%, rgba(4, 18, 30, .5) 62%, rgba(4, 18, 30, .12) 100%);
}

.services-showcase .service-inner > button {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.services-showcase .service-item img {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    object-fit: cover;
    filter: saturate(.78);
}

.services-showcase .service-inner:hover img {
    transform: scale(1.06);
    filter: saturate(1);
}

.services-showcase .service-text {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    padding: 2rem 1.4rem 1.65rem !important;
}

.services-showcase .service-text h5,
.services-showcase .service-text h5 button {
    color: #fff !important;
    font-size: 1.25rem;
    line-height: 1.28;
    letter-spacing: -.01em;
    text-align: left;
}

.services-showcase .service-text h5::after {
    display: block;
    margin-top: 1.05rem;
    color: #d6a343;
    content: "EXPLORE SERVICE  →";
    font-family: "Poppins", sans-serif;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: .14em;
}

.services-showcase .service-text .collapse {
    margin-top: 1.15rem;
    border-top: 1px solid rgba(255, 255, 255, .3);
}

.services-showcase .service-text .collapse p {
    margin: .7rem 0;
    color: rgba(255, 255, 255, .9);
    font-size: .82rem;
    line-height: 1.45;
}

.service-details-modal .modal-content {
    overflow: hidden;
    border: 0;
    border-radius: 0;
    background: #f8f6f0;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

.service-details-modal .modal-dialog {
    max-width: 760px;
}

.service-details-modal .modal-header {
    align-items: flex-start;
    padding: 3.25rem 3.25rem 1.35rem;
    border-bottom: 0;
}

.service-modal-kicker {
    color: #d6a343;
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .18em;
}

.service-details-modal .modal-title {
    max-width: 580px;
    color: var(--pmea-navy);
    font-family: "Roboto", sans-serif;
    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.18;
    text-transform: none;
}

.service-modal-close {
    flex: 0 0 auto;
    margin: .15rem 0 0 1rem;
    padding: .7rem .9rem;
    border: 1px solid var(--pmea-navy);
    background: transparent;
    color: var(--pmea-navy);
    font-size: .65rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    transition: background-color .2s ease, color .2s ease;
}

.service-modal-close:hover,
.service-modal-close:focus {
    background: var(--pmea-navy);
    color: #fff;
}

.service-details-modal .modal-body {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
    padding: .65rem 3.25rem 3.25rem;
    color: #52606d;
}

.service-details-modal .modal-body p {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 118px;
    margin: 0;
    padding: 1.2rem;
    border: 1px solid rgba(16, 42, 67, .2);
    background: rgba(255, 255, 255, .6);
    color: #52606d;
    font-size: .88rem;
    line-height: 1.45;
}

.service-details-modal .modal-body p::before {
    display: none;
}

@media (max-width: 767.98px) {
    .service-details-modal .modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .service-details-modal .modal-dialog {
        margin: 1rem;
    }

    .service-details-modal .modal-header,
    .service-details-modal .modal-body {
        padding-right: 1.35rem;
        padding-left: 1.35rem;
    }

    .service-details-modal .modal-header { padding-top: 2rem; }
    .service-details-modal .modal-body { padding-bottom: 2rem; }
}

@media (min-width: 992px) {
    .services-showcase .row > .col-lg-3 {
        flex: 0 0 16.666667%;
        width: 16.666667%;
    }
}

@media (max-width: 991.98px) {
    .services-showcase .service-item {
        height: 370px;
    }

    .services-showcase .service-inner {
        border-bottom: 1px solid rgba(214, 163, 67, .5);
    }
}

@media (max-width: 575.98px) {
    .services-showcase .text-center {
        padding: 4rem 1.5rem 2.75rem;
    }

    .services-showcase .service-item {
        height: 350px;
    }
}

/* Refined "Why choose us" feature panel. */
.feature {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(90deg, rgba(4, 13, 20, .10) 0%, rgba(4, 13, 20, .25) 40%, rgba(10, 29, 46, .92) 57%, #102a43 100%),
        url(../img/carousel-1.jpg) left center / cover no-repeat;
}

.feature .col-lg-6.pt-5 {
    padding: clamp(2.75rem, 4.5vw, 4.5rem) clamp(2rem, 4vw, 4.25rem) !important;
    background: linear-gradient(135deg, rgba(16, 42, 67, .76), rgba(8, 25, 40, .95));
    border-left: 1px solid rgba(255, 255, 255, .12);
}

.feature .col-lg-6.pt-5 > .mt-5 {
    margin-top: 0 !important;
}

.feature h1 {
    max-width: 680px;
    font-size: clamp(1.9rem, 2.5vw, 2.6rem);
    line-height: 1.12;
    letter-spacing: .02em;
}

.feature .text-light {
    max-width: 650px;
    color: rgba(255, 255, 255, .78) !important;
    font-size: 1.03rem;
    line-height: 1.75;
}

.feature .row.g-4 > .col-sm-6 > .flex-column {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    min-height: 150px;
    padding: 1.25rem !important;
    justify-content: center;
    border: 1px solid rgba(206, 146, 51, .7) !important;
    background: rgba(2, 12, 21, .25);
    transition: transform .25s ease, background-color .25s ease;
}

.feature .row.g-4 > .col-sm-6 > .flex-column:hover {
    transform: translateY(-4px);
    background: rgba(206, 146, 51, .13);
}

.feature .row.g-4 h1 {
    margin-bottom: .4rem;
    color: #fff;
    font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.feature .row.g-4 p {
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .09em;
    line-height: 1.35;
}

.feature .border-bottom-0 {
    border: 1px solid rgba(206, 146, 51, .72) !important;
    background: rgba(2, 12, 21, .22);
}

.feature .experience + .experience {
    margin-top: 1.8rem;
}

.feature .experience .d-flex {
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .05em;
}

.feature .experience .progress {
    height: 7px;
    background: rgba(255, 255, 255, .18);
    border-radius: 99px;
    overflow: hidden;
}

.feature .experience .progress-bar {
    border-radius: inherit;
}

@media (max-width: 991.98px) {
    .feature {
        background: linear-gradient(rgba(8, 25, 40, .78), rgba(8, 25, 40, .95)), url(../img/carousel-1.jpg) center / cover no-repeat;
    }

    .feature .col-lg-6.pt-5 {
        background: transparent;
        border-left: 0;
    }
}

@media (max-width: 575.98px) {
    .feature .col-lg-6.pt-5 {
        padding: 3.5rem 1.5rem !important;
    }

    .feature .border-bottom-0 {
        padding: 1.5rem !important;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .8rem;
}

.hero-actions .btn {
    min-width: 174px;
    padding: .95rem 1.25rem;
}

.hero-actions .btn-outline-light {
    border-width: 1px;
    color: #fff;
}

.hero-actions .btn-outline-light:hover,
.hero-actions .btn-outline-light:focus {
    color: var(--pmea-ink);
    background: #fff;
    border-color: #fff;
    transform: translateY(-2px);
}

@media (min-width: 992px) {
    .home-page > .container-fluid.bg-primary.d-lg-flex {
        display: none !important;
    }

    .home-page > .sticky-top {
        position: absolute;
        top: 0;
        right: 0;
        left: 0;
        z-index: 10;
        background: linear-gradient(180deg, rgba(5, 17, 27, .38), transparent) !important;
        box-shadow: none;
    }

    .home-page > .sticky-top .navbar,
    .home-page > .sticky-top .navbar.bg-white {
        min-height: 108px;
        background: transparent !important;
    }

    .home-page > .sticky-top > .container {
        max-width: none;
        padding-right: clamp(1.5rem, 2vw, 2rem);
        padding-left: clamp(1rem, 2vw, 2rem);
    }

    .home-page .navbar-brand {
        margin-right: auto;
        padding: 0;
        background: transparent;
        border-radius: 0;
        box-shadow: none;
    }

    .home-page .navbar-collapse {
        flex-grow: 0;
        flex-basis: auto;
    }

    .home-page .navbar-brand img {
        height: 100px !important;
        max-width: 180px;
        filter: brightness(0) invert(1) drop-shadow(0 3px 8px rgba(0, 0, 0, .48)) !important;
    }

    .home-page .navbar .navbar-nav .nav-link {
        margin-right: 27px;
        padding: 30px 0;
        color: rgba(255, 255, 255, .9);
        font-size: .75rem;
    }

    .home-page .navbar .navbar-nav .nav-link:hover,
    .home-page .navbar .navbar-nav .nav-link.active {
        color: #fff;
    }

    .home-page .navbar .navbar-nav .nav-link::after {
        bottom: 22px;
        background: var(--pmea-gold);
    }

    .home-page .nav-cta {
        min-width: 142px;
        padding: .72rem 1rem;
        font-size: .74rem;
    }
}

@media (max-width: 575.98px) {
    .hero-actions {
        width: 100%;
        gap: .65rem;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
        min-width: 0;
        padding: .78rem 1rem;
    }
}
