/********** Template CSS **********/
:root {
    --primary: #00AEEF;
    --secondary: #F68F18;
    --light: #F5F5F5;
    --dark: #08263B;
}

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

h1,
h2,
.h1,
.h2,
.fw-bold {
    font-weight: 700 !important;
}

h3,
h4,
.h3,
.h4,
.fw-medium {
    font-weight: 600 !important;
}

h5,
h6,
.h5,
.h6,
.fw-semi-bold {
    font-weight: 500 !important;
}


/*** 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: 500;
}

.btn-primary,
.btn-outline-primary:hover {
    color: #FFFFFF;
}

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

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

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

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


.topbar-right {
    position: relative;
    background: var(--primary);
}

.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}


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

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--primary);
}

.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--primary);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
    outline: none;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: var(--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 {
        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;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 3.5rem;
}

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

.page-header {
    background: linear-gradient(to right, rgba(2, 36, 91, 1) 0%, rgba(2, 36, 91, 0) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--light);
}


/*** Facts ***/
.facts {
    position: relative;
    margin: 6rem 0;
    background: var(--dark);
}

.facts .border {
    border-color: rgba(255, 255, 255, .1) !important;
}


/*** Features ***/
.btn-play {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    display: block;
    box-sizing: content-box;
    width: 16px;
    height: 26px;
    border-radius: 100%;
    border: none;
    outline: none !important;
    padding: 18px 20px 20px 28px;
    background: var(--primary);
}

@media (max-width: 992px) {
    .btn-play {
        left: 50%;
        right: auto;
        transform: translate(-50%, -50%);
    }
}

.btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    animation: pulse-border 1500ms ease-out infinite;
}

.btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 100%;
    transition: all 200ms;
}

.btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    left: -1px;
    border-left: 16px solid #FFFFFF;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(2);
        opacity: 0;
    }
}

.modal-video .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

.modal-video .modal-body {
    position: relative;
    padding: 0px;
}

.modal-video .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #FFFFFF;
    background: #000000;
    opacity: 1;
}


/*** Service ***/
.service-item {
    position: relative;
    margin: 65px 0 25px 0;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
}

.service-item .service-img {
    position: absolute;
    padding: 12px;
    width: 130px;
    height: 130px;
    top: -65px;
    left: 50%;
    transform: translateX(-50%);
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .service-detail {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: 1;
}

.service-item .service-title {
    position: absolute;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-title {
    top: -100%;
}

.service-item .service-text {
    position: absolute;
    overflow: hidden;
    padding: 65px 30px 25px 30px;
    width: 100%;
    height: 100%;
    top: 100%;
    left: 0;
    display: flex;
    align-items: center;
    text-align: center;
    background: rgba(2, 36, 91, .7);
    transition: .5s;
}

.service-item:hover .service-text {
    top: 0;
}

.service-item .service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100px;
    top: -100%;
    left: 0;
    transform: skewY(-12deg);
    background: #FFFFFF;
    transition: .5s;
}

.service-item:hover .service-text::before {
    top: -55px;
}

.service-item .btn {
    position: absolute;
    width: 130px;
    height: 50px;
    left: 50%;
    bottom: -25px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    background: #FFFFFF;
    border: none;
    box-shadow: 0 0 45px rgba(0, 0, 0, .09);
    z-index: 2;
}

.service-item .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}


/*** Project ***/
.project-carousel {
    position: relative;
    background: var(--dark);
}

.project-item {
    position: relative;
    display: block;
}

.project-item img {
    transition: .5s;
}

.project-item:hover img,
.project-carousel .owl-item.center img {
    margin-top: -60px;
}

.project-item .project-title {
    position: absolute;
    padding: 0 15px;
    width: 100%;
    height: 80px;
    bottom: -110px;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--dark);
    transition: .5s;
}

.project-item:hover .project-title,
.project-carousel .owl-item.center .project-title  {
    bottom: -60px;
}

.project-item .project-title::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 30px;
    top: -15px;
    left: 0;
    transform: skewY(-5deg);
    background: var(--dark);
    transition: .5s;
}

.project-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 45px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    transition: .5s;
    opacity: 0;
    z-index: 1;
}

.project-carousel:hover .owl-nav {
    opacity: 1;
}

.project-carousel .owl-nav .owl-prev,
.project-carousel .owl-nav .owl-next {
    margin: 0 30px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}


/*** Team ***/
.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: -100%;
    display: flex;
    align-items: center;
    background: var(--primary);
    transition: .5s;
}

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


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

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

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

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

.testimonial-carousel .testimonial-img .btn-square {
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
}

.testimonial-carousel .owl-item .testimonial-text {
    margin-bottom: 30px;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}


/*** Footer ***/
.footer {
    color: #B0B9AE;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #B0B9AE;
    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;
    margin-right: 10px;
}

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

.copyright {
    color: #B0B9AE;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

/*** SA'EED Logo ***/
.navbar .navbar-brand,
.navbar .navbar-brand::after {
    background: #FFFFFF;
}

.navbar .navbar-brand img {
    position: relative;
    z-index: 1;
    width: 190px;
    height: 66px;
    object-fit: contain;
}

@media (max-width: 575.98px) {
    .navbar .navbar-brand {
        padding-left: 18px !important;
        padding-right: 20px;
    }

    .navbar .navbar-brand img {
        width: 145px;
        height: 58px;
    }
}

/*** SA'EED premium finish ***/
html {
    scroll-behavior: smooth;
}

body {
    color: #596773;
    background: #FFFFFF;
    overflow-x: hidden;
}

::selection {
    color: #FFFFFF;
    background: var(--primary);
}

a {
    transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}

.text-secondary {
    color: var(--secondary) !important;
}

.bg-secondary {
    background-color: var(--secondary) !important;
}

.btn {
    border-radius: 2px;
    font-weight: 700;
    letter-spacing: .01em;
}

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

.btn-primary:hover,
.btn-primary:focus {
    color: #FFFFFF;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary {
    color: #FFFFFF;
    background-color: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover,
.btn-secondary:focus {
    color: #FFFFFF;
    background-color: var(--primary);
    border-color: var(--primary);
}

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

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

.eyebrow {
    margin-bottom: .75rem;
    color: var(--primary);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .18em;
    line-height: 1.5;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2rem;
}

.section-soft {
    position: relative;
}

.section-soft::before {
    position: absolute;
    content: "";
    inset: 0 calc((100vw - 100%) / -2);
    background: #F5F5F5;
    z-index: -1;
}

/*** Navigation ***/
.topbar-right {
    background: var(--primary);
}

.navbar {
    min-height: 82px;
    border-bottom: 1px solid rgba(8, 38, 59, .08);
}

.navbar .navbar-brand {
    height: 82px;
    padding-right: 38px;
}

.navbar .navbar-brand::after {
    display: none;
}

.navbar .navbar-brand img {
    width: 190px;
    height: 69px;
}

.navbar .navbar-nav .nav-link {
    position: relative;
    margin-right: 21px;
    padding: 29px 0;
    font-size: .98rem;
    font-weight: 600;
}

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

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

/*** Hero and page headers ***/
#header-carousel .carousel-item {
    height: clamp(620px, 76vh, 780px);
    min-height: 620px;
}

#header-carousel .carousel-item > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    background: linear-gradient(90deg, rgba(8, 38, 59, .96) 0%, rgba(8, 38, 59, .76) 48%, rgba(8, 38, 59, .10) 100%);
}

.carousel-caption .display-1 {
    max-width: 980px;
    font-size: clamp(3rem, 5.5vw, 5.6rem);
    line-height: 1.03;
    text-wrap: balance;
}

.hero-copy {
    max-width: 720px;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, .78);
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    line-height: 1.75;
}

.carousel-indicators {
    z-index: 2;
    justify-content: flex-start;
    max-width: 1320px;
    margin-right: auto;
    margin-bottom: 2.4rem;
    margin-left: auto;
    padding: 0 .75rem;
}

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

.page-header {
    position: relative;
    overflow: hidden;
    min-height: 370px;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, rgba(8, 38, 59, .97) 0%, rgba(8, 38, 59, .74) 55%, rgba(8, 38, 59, .22) 100%), url(../img/saeed/equipment/categories/excavators.webp) center 52%/cover no-repeat;
}

.page-header::after {
    position: absolute;
    content: "";
    right: -90px;
    bottom: -140px;
    width: 320px;
    height: 320px;
    border: 55px solid rgba(246, 143, 24, .22);
    border-radius: 50%;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/*** Image treatments ***/
.image-composition {
    position: relative;
    min-height: 560px;
    padding: 0 64px 64px 0;
}

.image-composition .image-main {
    width: 100%;
    height: 510px;
    object-fit: cover;
    box-shadow: 0 30px 70px rgba(8, 38, 59, .16);
}

.image-composition .image-accent {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 46%;
    height: 250px;
    object-fit: cover;
    border: 10px solid #FFFFFF;
    box-shadow: 0 20px 45px rgba(8, 38, 59, .18);
}

.image-badge {
    position: absolute;
    left: -18px;
    bottom: 30px;
    min-width: 170px;
    padding: 22px 26px;
    color: #FFFFFF;
    background: var(--primary);
    box-shadow: 0 18px 35px rgba(0, 174, 239, .25);
}

.image-badge::after {
    position: absolute;
    content: "";
    top: 0;
    right: -8px;
    width: 8px;
    height: 100%;
    background: var(--secondary);
}

.image-badge strong,
.image-badge span {
    display: block;
}

.image-badge strong {
    font-family: "Rubik", sans-serif;
    font-size: 1.15rem;
}

.image-badge span {
    margin-top: 4px;
    font-size: .8rem;
    text-transform: uppercase;
}

.image-frame {
    position: relative;
    padding: 0 0 30px 30px;
}

.image-frame::before {
    position: absolute;
    content: "";
    top: 30px;
    bottom: 0;
    left: 0;
    width: 72%;
    background: var(--secondary);
}

.image-frame > img {
    position: relative;
    width: 100%;
    height: 520px;
    object-fit: cover;
}

.frame-label {
    position: absolute;
    right: 24px;
    bottom: 0;
    display: flex;
    background: var(--dark);
}

.frame-label span {
    padding: 14px 18px;
    color: #FFFFFF;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.frame-label span + span {
    border-left: 1px solid rgba(255, 255, 255, .15);
}

.premium-image {
    width: 100%;
    height: 560px;
    object-fit: cover;
    box-shadow: 0 25px 60px rgba(8, 38, 59, .15);
}

/*** Reusable content elements ***/
.check-line,
.dark-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: .8rem;
}

.check-line i,
.dark-check i {
    width: 26px;
    height: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 50%;
    font-size: .65rem;
}

.dark-check {
    color: #FFFFFF;
}

.dark-check i {
    background: var(--secondary);
}

.brand-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-left: 4px solid var(--secondary);
    background: #F5F5F5;
}

.brand-line strong {
    color: var(--primary);
    font-family: "Rubik", sans-serif;
    font-size: 1.2rem;
}

.clean-list {
    padding: 0;
    list-style: none;
}

.clean-list li {
    position: relative;
    padding: 7px 0 7px 30px;
}

.clean-list li::before {
    position: absolute;
    content: "\f00c";
    top: 8px;
    left: 0;
    color: var(--primary);
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}

.text-link {
    color: var(--primary);
    font-weight: 700;
}

.text-link i,
.equipment-card a i {
    margin-left: 7px;
    font-size: .75rem;
}

/*** Statistics ***/
.facts {
    background: var(--dark);
}

.stat-card {
    min-height: 200px;
    padding: 34px 18px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, .13);
    transition: border-color .25s ease, transform .25s ease;
}

.stat-card:hover {
    border-color: var(--secondary);
    transform: translateY(-5px);
}

.stat-card i {
    display: block;
    margin-bottom: 20px;
    color: var(--secondary);
    font-size: 2rem;
}

.stat-card strong,
.stat-card span {
    display: block;
}

.stat-card strong {
    color: #FFFFFF;
    font-family: "Rubik", sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.55rem);
}

.stat-card span {
    margin-top: 7px;
    color: rgba(255, 255, 255, .62);
    font-size: .85rem;
}

/*** Cards ***/
.value-card,
.commitment-card,
.icon-value,
.capability-card,
.process-step,
.equipment-card,
.compliance-card {
    height: 100%;
    background: #FFFFFF;
    box-shadow: 0 16px 45px rgba(8, 38, 59, .08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.value-card:hover,
.commitment-card:hover,
.icon-value:hover,
.capability-card:hover,
.process-step:hover,
.equipment-card:hover,
.compliance-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 24px 55px rgba(8, 38, 59, .14);
}

.value-card {
    position: relative;
    min-height: 260px;
    padding: 35px;
    overflow: hidden;
    border-bottom: 3px solid transparent;
}

.value-card:hover {
    border-color: var(--secondary);
}

.value-card > span,
.capability-card > span {
    position: absolute;
    top: 20px;
    right: 22px;
    color: rgba(8, 38, 59, .09);
    font-family: "Rubik", sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
}

.value-card > i,
.capability-card > i,
.commitment-card > i,
.icon-value > i {
    margin-bottom: 24px;
    color: var(--primary);
    font-size: 2rem;
}

.commitment-card {
    padding: 35px 30px;
    border-top: 3px solid var(--primary);
}

.commitment-card:nth-child(even) {
    border-top-color: var(--secondary);
}

.icon-value {
    padding: 30px 22px;
    text-align: center;
    border: 1px solid rgba(8, 38, 59, .06);
    box-shadow: none;
}

.icon-value p {
    margin-bottom: 0;
    font-size: .9rem;
}

.capability-card {
    position: relative;
    min-height: 265px;
    padding: 38px 34px;
    overflow: hidden;
    border: 1px solid rgba(8, 38, 59, .07);
}

.process-step {
    position: relative;
    padding: 35px 28px;
    border-bottom: 3px solid var(--primary);
}

.process-step strong {
    display: inline-block;
    margin-bottom: 26px;
    color: var(--secondary);
    font-family: "Rubik", sans-serif;
    font-size: 2rem;
}

.equipment-card {
    position: relative;
    min-height: 100%;
    padding: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(8, 38, 59, .08);
}

.equipment-card.featured {
    color: rgba(255, 255, 255, .76);
    background: var(--dark);
    border-color: var(--dark);
}

.equipment-card.featured h3 {
    color: #FFFFFF;
}

.equipment-card-media {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: var(--dark);
}

.equipment-card-media::after {
    position: absolute;
    inset: auto 0 0;
    height: 36%;
    background: linear-gradient(transparent, rgba(8, 38, 59, .3));
    content: "";
    pointer-events: none;
}

.equipment-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.equipment-card:hover .equipment-card-media img {
    transform: scale(1.045);
}

.equipment-card-body {
    position: relative;
    flex: 1;
    padding: 38px 34px 92px;
}

.equipment-card-icon {
    position: absolute;
    top: -29px;
    left: 34px;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 1.5rem;
    box-shadow: 0 10px 24px rgba(8, 38, 59, .16);
}

.equipment-card-body h3 {
    margin-top: 6px;
}

.equipment-card a {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.equipment-card.featured a {
    color: var(--secondary);
}

.equipment-card a.order-now,
.equipment-card.featured a.order-now {
    right: auto;
    bottom: 28px;
    left: 34px;
    width: auto;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 11px 18px;
    color: #FFFFFF;
    background: var(--primary);
    border: 1px solid var(--primary);
    font-size: .88rem;
}

.equipment-card a.order-now:hover,
.equipment-card.featured a.order-now:hover {
    color: #FFFFFF;
    background: var(--secondary);
    border-color: var(--secondary);
}

.equipment-card a.order-now i {
    margin-left: 0;
    font-size: 1rem;
}

.compliance-card {
    min-height: 310px;
    padding: 38px 34px;
    border-top: 4px solid var(--primary);
}

.compliance-card > i {
    margin-bottom: 30px;
    color: var(--secondary);
    font-size: 2.2rem;
}

.compliance-card > span {
    display: block;
    margin-bottom: 6px;
    color: var(--primary);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

/*** Template service cards ***/
.service-item {
    box-shadow: 0 18px 48px rgba(8, 38, 59, .1);
}

.service-item > img {
    width: 100%;
    height: 390px;
    object-fit: cover;
}

.service-item .service-img,
.service-item .service-img img {
    border-radius: 0;
}

.service-item .service-img img {
    width: 106px;
    height: 106px;
    object-fit: cover;
}

.service-item .service-title h3 {
    font-size: 1.35rem;
}

.service-item .service-text {
    background: rgba(8, 38, 59, .9);
}

.service-item .btn {
    color: var(--primary);
}

/*** Service rows ***/
.service-rows {
    display: grid;
    gap: 45px;
}

.service-row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: stretch;
    min-height: 520px;
    background: #FFFFFF;
    box-shadow: 0 20px 55px rgba(8, 38, 59, .1);
    scroll-margin-top: 115px;
}

.service-row-reverse .service-row-image {
    order: 2;
}

.service-row-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.service-row-content {
    position: relative;
    padding: 60px;
    overflow: hidden;
}

.service-number {
    position: absolute;
    top: 10px;
    right: 24px;
    color: rgba(8, 38, 59, .06);
    font-family: "Rubik", sans-serif;
    font-size: 6rem;
    font-weight: 700;
}

.service-row-content h3 {
    position: relative;
    margin-bottom: 22px;
    font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

/*** Purpose, compliance and requirements ***/
.purpose-card {
    height: 100%;
    min-height: 390px;
    padding: 50px;
    background: #FFFFFF;
    box-shadow: 0 20px 55px rgba(8, 38, 59, .1);
}

.purpose-card > i {
    margin-bottom: 35px;
    color: var(--secondary);
    font-size: 2.5rem;
}

.purpose-dark {
    background: var(--dark);
}

.registration-mark {
    position: relative;
    padding: 55px 45px;
    overflow: hidden;
    color: #FFFFFF;
    background: var(--dark);
    border-left: 8px solid var(--secondary);
    box-shadow: 0 30px 65px rgba(8, 38, 59, .2);
}

.registration-mark::after {
    position: absolute;
    content: "";
    right: -55px;
    bottom: -55px;
    width: 180px;
    height: 180px;
    border: 35px solid rgba(0, 174, 239, .18);
    border-radius: 50%;
}

.registration-mark i,
.registration-mark span,
.registration-mark strong,
.registration-mark small {
    position: relative;
    z-index: 1;
    display: block;
}

.registration-mark i {
    margin-bottom: 35px;
    color: var(--secondary);
    font-size: 3rem;
}

.registration-mark span {
    color: rgba(255, 255, 255, .65);
    text-transform: uppercase;
}

.registration-mark strong {
    margin: 10px 0;
    font-family: "Rubik", sans-serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.privacy-panel {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 35px;
    align-items: start;
    padding: 45px;
    border: 1px solid rgba(8, 38, 59, .09);
    border-left: 5px solid var(--primary);
}

.privacy-panel > div:first-child {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 1.5rem;
}

.requirement-list > div {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(8, 38, 59, .1);
}

.requirement-list strong {
    color: var(--secondary);
    font-family: "Rubik", sans-serif;
}

.project-note {
    display: flex;
    gap: 14px;
    padding: 20px;
    color: #596773;
    background: #F5F5F5;
    border-left: 3px solid var(--secondary);
    font-size: .86rem;
}

.project-note i {
    margin-top: 4px;
    color: var(--primary);
}

/*** Project carousel ***/
.project-carousel-inner .project-item img {
    width: 100%;
    height: 420px;
    object-fit: cover;
}

.project-carousel-inner .owl-stage-outer {
    padding: 70px 0 100px;
}

.project-carousel-inner .owl-item.center img,
.project-item:hover img {
    margin-top: -35px;
}

/*** Contact ***/
.contact-card {
    min-height: 190px;
    display: flex;
    flex-direction: column;
    padding: 30px;
    color: #596773;
    background: #FFFFFF;
    border: 1px solid rgba(8, 38, 59, .08);
    box-shadow: 0 14px 38px rgba(8, 38, 59, .07);
}

.contact-card:hover {
    color: #596773;
    border-color: var(--primary);
    transform: translateY(-5px);
}

.contact-card i {
    margin-bottom: 28px;
    color: var(--primary);
    font-size: 1.7rem;
}

.contact-card span {
    margin-bottom: 5px;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.contact-card strong {
    color: var(--dark);
    font-family: "Rubik", sans-serif;
}

.location-card {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 26px;
    align-items: start;
    padding: 38px;
    background: #FFFFFF;
    border: 1px solid rgba(8, 38, 59, .09);
    border-left: 5px solid var(--primary);
    box-shadow: 0 16px 42px rgba(8, 38, 59, .08);
}

.location-card.plant-yard {
    border-left-color: var(--secondary);
}

.location-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    font-size: 1.35rem;
}

.plant-yard .location-icon {
    background: var(--secondary);
}

.location-card h3 {
    margin-bottom: 10px;
    font-size: 1.35rem;
}

.location-card p:not(.eyebrow) {
    margin-bottom: 15px;
}

.location-card a {
    color: var(--primary);
    font-weight: 700;
}

.location-card a:hover {
    color: var(--secondary);
}

.contact-form-panel {
    height: 100%;
    padding: 50px;
    background: #F5F5F5;
}

.contact-form-panel .form-control,
.contact-form-panel .form-select {
    min-height: 55px;
    padding: .8rem 1rem;
    background-color: #FFFFFF;
    border: 1px solid rgba(8, 38, 59, .12);
}

.contact-form-panel textarea.form-control {
    min-height: 150px;
}

.contact-form-panel .form-control:focus,
.contact-form-panel .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 .2rem rgba(0, 174, 239, .12);
}

.office-panel {
    height: 100%;
    display: grid;
    grid-template-rows: auto minmax(320px, 1fr);
    background: var(--dark);
}

.office-details {
    padding: 50px;
    color: rgba(255, 255, 255, .7);
}

.office-details a {
    color: #FFFFFF;
}

.office-details a:hover {
    color: var(--secondary);
}

.office-panel iframe {
    width: 100%;
    height: 100%;
    min-height: 320px;
    border: 0;
    filter: grayscale(1) contrast(.95);
}

/*** CTAs and error page ***/
.cta-panel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 50px 55px;
    overflow: hidden;
    background: var(--dark);
    box-shadow: 0 24px 60px rgba(8, 38, 59, .18);
}

.cta-panel::before {
    position: absolute;
    content: "";
    top: 0;
    bottom: 0;
    left: 0;
    width: 6px;
    background: var(--secondary);
}

.cta-panel > * {
    position: relative;
    z-index: 1;
}

.error-hero {
    min-height: 72vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(8, 38, 59, .9), rgba(8, 38, 59, .96)), url(../img/saeed/civil/road-construction-machinery.webp) center/cover no-repeat;
}

.error-code {
    color: rgba(255, 255, 255, .07);
    font-family: "Rubik", sans-serif;
    font-size: clamp(8rem, 21vw, 17rem);
    font-weight: 700;
    line-height: .8;
}

/*** Footer ***/
.footer {
    color: rgba(255, 255, 255, .58);
}

.footer a:not(.btn-secondary) {
    color: rgba(255, 255, 255, .65);
}

.footer a:not(.btn-secondary):hover {
    color: var(--secondary);
}

.footer-brand {
    display: inline-block;
    padding: 8px 14px;
    background: #FFFFFF;
}

.footer-brand img {
    width: 210px;
    height: 76px;
    object-fit: contain;
}

.footer .btn.btn-link {
    color: rgba(255, 255, 255, .58);
}

.footer .btn.btn-link:hover {
    color: var(--secondary);
}

.copyright {
    border-top: 1px solid rgba(255, 255, 255, .09);
}

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

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

@media (max-width: 991.98px) {
    #header-carousel .carousel-item {
        height: 650px;
        min-height: 650px;
    }

    .carousel-caption {
        background: rgba(8, 38, 59, .82);
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }

    .image-composition {
        min-height: 520px;
    }

    .service-row,
    .service-row-reverse {
        grid-template-columns: 1fr;
    }

    .service-row-reverse .service-row-image {
        order: 0;
    }

    .service-row-image img {
        min-height: 380px;
        max-height: 480px;
    }

    .cta-panel {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 767.98px) {
    #header-carousel .carousel-item {
        height: 610px;
        min-height: 610px;
    }

    .carousel-caption .display-1 {
        font-size: 2.65rem;
    }

    .carousel-indicators {
        margin-bottom: 1.2rem;
    }

    .page-header {
        min-height: 310px;
    }

    .page-header .display-3 {
        font-size: 2.55rem;
    }

    .image-composition {
        min-height: 450px;
        padding: 0 35px 45px 0;
    }

    .image-composition .image-main {
        height: 410px;
    }

    .image-composition .image-accent {
        height: 180px;
    }

    .image-badge {
        left: 0;
        bottom: 10px;
    }

    .service-row-content,
    .purpose-card,
    .contact-form-panel,
    .office-details {
        padding: 38px 28px;
    }

    .service-number {
        font-size: 4.5rem;
    }

    .cta-panel {
        padding: 40px 28px;
    }

    .privacy-panel {
        grid-template-columns: 1fr;
        padding: 32px 25px;
    }

    .location-card {
        grid-template-columns: 1fr;
        padding: 30px 25px;
    }

    .premium-image,
    .image-frame > img {
        height: 410px;
    }
}

@media (max-width: 575.98px) {
    .navbar {
        min-height: 72px;
    }

    .navbar .navbar-brand {
        height: 72px;
    }

    .navbar .navbar-brand img {
        width: 150px;
        height: 58px;
    }

    #header-carousel .carousel-item {
        height: 650px;
        min-height: 650px;
    }

    .carousel-caption .display-1 {
        font-size: 2.35rem;
    }

    .hero-copy {
        font-size: .95rem;
    }

    .carousel-caption .btn {
        width: 100%;
        padding: .9rem 1rem !important;
    }

    .image-composition {
        min-height: 400px;
        padding-right: 20px;
    }

    .image-composition .image-main {
        height: 360px;
    }

    .image-composition .image-accent {
        width: 48%;
        height: 145px;
        border-width: 6px;
    }

    .image-badge {
        padding: 16px 20px;
    }

    .stat-card {
        min-height: 180px;
        padding: 28px 10px;
    }

    .stat-card strong {
        font-size: 1rem;
    }

    .stat-card span {
        font-size: .72rem;
    }

    .frame-label {
        right: 0;
    }

    .frame-label span {
        padding: 12px 9px;
        font-size: .64rem;
    }

    .contact-card {
        min-height: 160px;
    }

    .project-carousel-inner .project-item img {
        height: 330px;
    }
}
