/********** Template CSS **********/
:root {
    --primary: #f58634;
    --light: #F1F8FF;
    --dark: #0F172B;
}
body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Nunito', sans-serif;
}
.fw-medium {
    font-weight: 500 !important;
}

.fw-semi-bold {
    font-weight: 600 !important;
}

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


/*** 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 {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

  
.btn.btn-primary,
.btn.btn-secondary,.btn.btn-dark{
    color: #FFFFFF;
    border: none;
}
.btn.btn-dark{
    background-color: #4b4b4d;
    color: #fff;
}
.btn-primary:hover {
    background-color: #4b4b4d;
    color: #fff;
}
.btn-dark:hover {
    background-color: var(--primary);
    color: #fff;
}
.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;
    border-radius: 2px;
}

.content {
    padding: 20px;
    border-radius: 8px;
    margin-right: 50px;
    margin-bottom: 20px;
}

.about-section h2{
    font-size: 22px;
}
.detail-links {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    
}
.detail-links h2{
    color:var(--primary);
}

.detail-links ul {
    margin: 0;
    padding: 0;
}

.detail-links li {
    list-style-type: none;
}

.detail-links a {
    display: block;
    padding: 10px 0;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 2px dotted #ccc;
}

.detail-links a:hover {
    color: var(--primary);
    padding-left: 20px;
}

.detail-links a.active {
    color: var(--primary);
    font-weight: bold;
}

.project-section{
    background-color: #4b4b4d14;
}
.project-section h2{
    font-size: 22px;
}
.project-section {
    margin-bottom: 150px; /* Adjust the value as needed */
}
/*** Navbar ***/
.navbar {
    display: flex;
    align-items: center; /* Center items vertically */
}


.navbar-brand {
    flex: 1;
}

.logo {
    max-width: 100px; /* Set a maximum width to prevent excessive stretching */
    height: auto;
}

.navbar-toggler {
    /* Keep the toggle button aligned vertically */
    align-self: center;
}

/* Media Query for Small Screens */
@media (max-width: 767px) {
    .logo {
        width: 60%; /* Adjusted width for small screens */
        max-width: 150px; /* Set a maximum width to prevent excessive stretching */
    }
}



.navbar-dark .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #000000;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

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


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 43, .7);
    z-index: 1;
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@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-image: url(../img/banner.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 45vh;
    width: 100%;
}

.page-header-inner {
    background: rgba(15, 23, 43, .7);
    height: 45vh;
}

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

.booking {
    position: relative;
    margin-top: -100px !important;
    z-index: 1;
}


/*** Section Title ***/
.section-title {
    position: relative;
    display: inline-block;
}

.section-title::before {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    left: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 2px;
    top: 50%;
    right: -55px;
    margin-top: -1px;
    background: var(--primary);
}

.section-title.text-start::before,
.section-title.text-end::after {
    display: none;
}

/*** Facts ***/
.facts-overlay {
    position: absolute;
    padding: 40px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgb(0 0 0 / 42%);
}
.fact-img{
    height: 55vh;
    
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}
/* Styles for screens larger than 576px */
@media (min-width: 576px) and (max-width: 768px) {
     .fact-img {
        height: 35vh; /* Decrease the height for 980px screen width */
    }
    .facts-overlay {
        padding-top: 10px; /* Reduce top padding */
        padding-bottom: 10px; /* Reduce bottom padding */
    }

    .facts-overlay h3 {
        font-size: 22px; /* Adjust the title size if needed */
    }

    .facts-overlay p {
        font-size: 16px; /* Adjust the description size if needed */
    }

    .facts-overlay span {
        font-size: 14px; /* Adjust the "READ MORE" button size if needed */
    }
}
@media (max-width: 980px) and (min-width: 768px) {
    .fact-img {
        height: 20vh; /* Decrease the height for 980px screen width */
    }

    .facts-overlay h3 {
        font-size: 22px; /* Adjust the title size for this resolution */
    }

    .facts-overlay p {
        font-size: 16px; /* Adjust the description size */
    }

    .facts-overlay span {
        font-size: 14px; /* Adjust the "READ MORE" button size */
    }

    .facts-overlay {
        padding-top: 15px; /* Adjust padding if needed */
        padding-bottom: 15px; /* Adjust padding if needed */
    }
}
@media (min-width: 360px) and (max-width: 576px) {
    .fact-img {
        height: 29vh; /* Adjust the height for screens between 360px and 576px */
    }

    .facts-overlay h3 {
        font-size: 18px; /* Adjust the title size for this range */
    }

    .facts-overlay p {
        font-size: 14px; /* Adjust the description size */
    }

    .facts-overlay span {
        font-size: 12px; /* Adjust the "READ MORE" button size */
    }

    .facts-overlay {
        padding-top: 10px; /* Adjust top padding for better fit */
        padding-bottom: 10px; /* Adjust bottom padding for better fit */
    }
}
/*** Service ***/
.service-item {
    height: 320px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: #FFFFFF;
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
    transition: .5s;
}

.service-item:hover {
    background: var(--primary);
}

.service-item .service-icon {
    margin: 0 auto 30px auto;
    width: 65px;
    height: 65px;
    transition: .5s;
}

.service-item i,
.service-item h5,
.service-item p {
    transition: .5s;
}

.service-item:hover i,
.service-item:hover h5,
.service-item:hover p {
    color: #FFFFFF !important;
}


/*** Youtube Video ***/
.video {
    position: relative;
    height: 100%;
    min-height: 500px;
    background: linear-gradient(rgba(15, 23, 43, .1), rgba(15, 23, 43, .1)), url(../img/video.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    box-sizing: content-box;
    display: block;
    width: 32px;
    height: 44px;
    border-radius: 50%;
    border: none;
    outline: none;
    padding: 18px 20px 18px 28px;
}

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

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

.video .btn-play img {
    position: relative;
    z-index: 3;
    max-width: 100%;
    width: auto;
    height: auto;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 32px solid var(--dark);
    border-top: 22px solid transparent;
    border-bottom: 22px 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(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

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

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

#videoModal .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;
}


/*** Testimonial ***/
.testimonial {
    background-color:ghostwhite;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-bottom: 150px;
}

.testimonial-carousel {
    padding-left: 65px;
    padding-right: 65px;
}

.testimonial-carousel .testimonial-item {
    padding: 30px;
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 100%;
    height: 40px;
    top: calc(50% - 20px);
    left: 0;
    display: flex;
    justify-content: space-between;
    z-index: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 2px;
    font-size: 18px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--primary);
    background: #FFFFFF;
}


/*** Team ***/
.team-item,
.team-item .bg-primary,
.team-item .bg-primary i {
    transition: .5s;
}

.team-item:hover {
    border-color: var(--secondary) !important;
}

.team-item:hover .bg-primary {
    background: var(--secondary) !important;
}

.team-item:hover .bg-primary i {
    color: var(--secondary) !important;
}


/*** Footer ***/
.newsletter {
    position: relative;
    z-index: 1;
}

.footer {
    background-color: #4b4b4d !important;;
    position: relative;
    margin-top: -110px;
    padding-top: 120px;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    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 {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}
/*contact-section*/
.contact-section{
    margin-bottom: 10rem;
}
/*why choose us*/


.why-choose-section {
    padding: 30px 0;
    padding-bottom: 10rem;
}
    .why-choose-item {
        height: 320px;
        padding: 30px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        text-align: center;
        transition: .5s;
    }

    .why-choose-item:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    }

    .why-choose-item h3 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .why-choose-item p {
        font-size: 16px;
    }

    .why-choose-item .why-choose-icon {
        margin: 0 auto auto auto;
        width: 65px;
        height: 65px;
        transition: .5s;
    }
      

    /* Remove space between columns on large screens */
    @media (min-width: 992px) {
        .no-gutters-lg {
            margin-right: 0;
            margin-left: 0;
            > [class^="col-"], > [class*=" col-"] {
                padding-right: 0;
                padding-left: 0;
            }
        }
    }
/*why mining in pakistan*/
.why-section ul {
    list-style-type: none; /* Remove default list styles */
    
}

.why-section li {
    position: relative; /* Position each list item relative to its parent */
}

.why-section li::before {
    content: "\2192"; /* Unicode for right arrow */
    position: absolute; /* Position arrow absolutely */
    left: -1.5em; /* Adjust position of arrow */
    color: var(--primary);
}
.terms{
    margin-bottom: 5rem;
}
.page-not-found{
   margin-bottom: 15rem;
}