/********** Template CSS **********/
:root {
    --primary: #FF6A00;
    --secondary: #edb084;
    --light: #181919;
    --dark: #1C2035;
}

/*** Page Header ***/
.page-header h1 {
    color: #333333 !important; /* This will make the h1 text dark grey */
}
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    z-index: 99;
}

.fw-medium {
    font-weight: 500;
}

/*** 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: var(--light);
    background-color: var(--primary);
}

.btn-secondary,
.btn-outline-secondary:hover {
    color: var(--light);
    background-color: var(--secondary);
}

.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;
}

/*** Navbar and Topbar ***/
.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 25px 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;
}

/*** Topbar ***/
.topbar {
    background-color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}

/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, .1);
    z-index: 1;
    color: #333333; /* Set text to dark grey */
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 3.5rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
}

/*** Page Header ***/
.page-header {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/carousel-1.png) center center no-repeat;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
}

.carousel-image {
    width: 100%;
    height: 700px;
    max-height: auto;
    object-fit: scale-down;
}

/*** Breadcrumb and Text in Header Images ***/
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--dark);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: #333333; /* Changed breadcrumb text to dark grey */
}

/*** Features ***/
.feature-row {
    box-shadow: 0 0 45px rgba(0, 0, 0, .08);
}

.feature-item {
    border-color: rgba(0, 0, 0, .03) !important;
}

.about {
    background: linear-gradient(rgba(0, 0, 0, .1), rgba(0, 0, 0, .1)), url(../img/about.gif) center no-repeat;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/*** Service Section ***/
.service-item:hover .service-text h5 {
    color: var(--primary);
}

/* Adjust the service text to be above the image */
.service-text {
    position: relative;
    z-index: 1;
}

.service-item {
    position: relative;
}

.service-item img {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
}

/*** Footer ***/
.footer {
    color: #B0B9AE;
    background: #333333;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
}

.copyright {
    background: #222222;
}

/* Style for service and contact text */
.service-text, .contact-text {
    color: #333333; /* Dark grey */
}

/* Reducing the size of the icons inside the service block */
.service-item .btn-square {
    width: 48px;
    height: 48px;
    margin-top: 20px;
}

.service-item img {
    width: 32px;
    height: 32px;
}
