:root {
    --primary: #FDA12B;
    --secondary: #8D9297;
    --light: #F8F9FA;
    --dark: #182333;
}

body,
html {
    width: 100%;
    height: 100%;
}

.page-header {
    background-size: cover;
    background-position: center center;
}

.carousel-item {
    min-height: 450px;
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

/* Spinner */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity 0.5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

/* Button */
.btn {
    font-weight: 500;
    transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    width: 38px;
    height: 38px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

/* Navbar */

/* Header */
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 4rem;
    height: 4rem;
    background-color: var(--dark);
    border: 15px solid var(--dark);
    border-radius: 50px;
}

.carousel-caption .breadcrumb-item+.breadcrumb-item::before {
    content: "\f111";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary);
}

@media (max-width: 992px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }

    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 3rem;
        height: 3rem;
        border-width: 12px;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.65)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}

.facts-overlay {
    position: absolute;
    padding: 30px;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
}

.facts-overlay h1 {
    font-size: 120px;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
}

.facts-overlay a:hover {
    color: var(--primary) !important;
}

/* Service */
.service-text::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: var(--primary);
    opacity: 0;
    transition: 0.5s;
}

.service-item:hover .service-text::before {
    height: 100%;
    opacity: 1;
}

.service-text * {
    position: relative;
    transition: 0.5s;
    z-index: 1;
}

.service-item:hover .service-text * {
    color: #FFFFFF !important;
}

/* Footer */
.footer {
    color: #999999;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #999999;
    font-weight: normal;
    text-transform: capitalize;
    transition: 0.3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #999999;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer a {
    color: var(--light);
}

.footer a:hover {
    color: var(--primary);
}

h2 {
    color: #191e47;
    font-weight: 700;
    font-size: 2rem;
    line-height: 2.5rem;
    letter-spacing: -0.2px;
}

/* Contact */
.form-1 {
    position: relative;
    overflow: hidden;
    padding-top: 9.5rem;
    padding-bottom: 8.75rem;
    text-align: center;
}

.form-1 .decoration-star {
    position: absolute;
    top: 600px;
    left: -100px;
    width: 200px;
    opacity: 0.7;
}

.form-1 .decoration-star-2 {
    position: absolute;
    top: 600px;
    right: -100px;
    width: 200px;
    opacity: 0.7;
}

.form-1 div[class*="col"] {
    position: relative;
}

.form-1 .image-container {
    margin-bottom: 5rem;
}

.form-1 h2 {
    margin-bottom: 2.5rem;
}

.form-group {
    position: relative;
    margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
    .form-1 .decoration-star {
        left: -150px;
        width: 300px;
    }

    .form-1 .decoration-star-2 {
        right: -200px;
        width: 400px;
    }

    /* Extra Pages */
    .ex-basic-1 .text-box {
        padding: 1.75rem 2rem 0.875rem 2rem;
    }

    /* Contact */
    .form-1 .decoration-star {
        top: 140px;
        left: -300px;
        width: 600px;
    }

    .form-1 .decoration-star-2 {
        top: 140px;
        right: -300px;
        width: 600px;
    }

    /* Extra Pages */
    .ex-basic-1 .text-box {
        padding: 1.75rem 2rem 0.875rem 2rem;
    }

    /* Form styles */

    .form-control-input,
    .form-control-textarea {
        width: 100%;
        padding-top: 0.875rem;
        padding-bottom: 0.875rem;
        padding-left: 1.5rem;
        border: 1px solid #cbcbd1;
        border-radius: 30px;
        background-color: #ffffff;
        font-size: 0.875rem;
        line-height: 1.5rem;
        -webkit-appearance: none;
    }

    .form-control-textarea {
        display: block;
        height: 14rem;
    }

    .form-control-input:focus,
    .form-control-textarea:focus {
        border: 1px solid #a1a1a1;
        outline: none;
    }

    .form-control-input:hover,
    .form-control-textarea:hover {
        border: 1px solid #a1a1a1;
    }

    .form-control-submit-button {
        display: inline-block;
        width: 100%;
        height: 3.25rem;
        border: 1px solid #4555d2;
        border-radius: 30px;
        background-color: #4555d2;
        color: #ffffff;
        font-weight: 600;
        font-size: 0.875rem;
        line-height: 0;
        cursor: pointer;
        transition: all 0.2s;
    }

    .form-control-submit-button:hover {
        border: 1px solid #4555d2;
        background-color: transparent;
        color: #4555d2;
    }
}