h1,
.h1 {
    font-size: calc(1.375rem + 1.5vw);
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
    margin-top: 0;
    margin-bottom: .5rem;
    font-weight: 400;
    line-height: 1.2;
    color: var(--black-color);
}


/* Apply Saira font to the whole website */
body {
    font-weight: 400;
    width: 100vw;
    overflow-x: hidden;
    /* Default */
}

h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
    font-family: 'Saira', sans-serif;
    font-weight: 600;
    margin-top: 0;
    margin-bottom: .5rem;
    line-height: 1.2;
    color: var(--black-color);
    /* Bold */
}


.carousel-content h1 {
    font-weight: 600;

}

p {
    font-family: 'Saira', sans-serif;
    font-weight: 400;
    /* Regular */
}

button {
    font-family: 'Saira', sans-serif;
    font-weight: 900;
    /* Extra Bold */
}



/*** Spinner Start ***/

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .8s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .8s ease-out, visibility 0s linear .0s;
    visibility: visible;
    opacity: 1;
}

/*** Spinner End ***/

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
    background-color: var(--white-color);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}



/* Full-width top bar */
.top-bar {
    background-image: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    color: var(--white-color);
    padding: 8px 0;
    width: 100%;
    letter-spacing: 1.5px;
    font-size: 17px;
}


.top-bar a {
    color: var(--white-color);
    text-decoration: none;
}

.top-bar i {
    margin-right: 5px;
}

/* Hide on mobile */
@media (max-width: 767px) {
    .top-bar {
        display: none;
    }
}

.figcaption {
    font-size: 12px;
    color: var(--black-color);
    margin-top: 10px;
}

.navbar-nav .nav-link.active {
    color: var(--nav-hover-color);
}

/* Navbar hover effect */
.navbar-nav .nav-link {
    font-family: 'Saira', sans-serif;
    position: relative;
    font-size: 18px;
    font-weight: 500;
    color: var(--black-color);
    margin-right: 12px;
    transition: color 0.3s ease-in-out;
}

/* Hover effect - color change */
.navbar-nav .nav-link:hover {
    color: var(--nav-hover-color);
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        transition: .5s;
        opacity: 0;
    }
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    transition: .5s;
    opacity: 1;
}

/* Show dropdown on hover */
.nav-item.dropdown:hover .dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Fade-out effect when mouse leaves */
.nav-item.dropdown:not(:hover) .dropdown-menu {
    opacity: 0;
    transform: translateY(10px);
    visibility: hidden;
    transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out, visibility 0.6s;
}


/* Dropdown Items */
.dropdown-item {
    font-size: 16px;
    padding: 5px 10px;
    /* Spacing */
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

/* Hover Effect */
.dropdown-item:hover {
    background-color: var(--hover-color);
    /* Light gray hover background */
    color: var(--black-color)
        /* Keep text color black */
}

.btn-custom {
    font-size: 14px;
    font-weight: bold;
    border-radius: 40px;
    border-color: none;
    transition: all 0.3s ease-in-out;

}

.btn-theme-light {
    background-color: var(--primary-color);
    color: #fff;
}

.text-theme-dark {
    color: var(--secondary-color);
}

.btn-theme-dark {
    background-color: var(--secondary-color);
    color: #fff;
}

.btn-theme-light {
    background-color: var(--primary-color);
    color: var(--white-color);
}

/* Login Button */
.btn-login {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-login:hover {
    background-color: var(--button-color);
    color: var(--white-color);
    transition-duration: 0.5s;
}

/* Sign Up Button */
.btn-signup {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-signup:hover {
    background-color: var(--button-color);
    color: var(--white-color);
    transition-duration: 0.5s;
}

@media (max-width: 1200px) {
    .action-button {
        display: none !important;
    }
}

/* Footer Styles */
.footer {
    background-color: var(--black-color);
    color: var(--white-color);
    padding: 50px 0;
}

.footer a {
    color: var(--footer-element-color);
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

.footer h3 {
    color: var(--footer-element-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.footer ul {
    padding: 0;
}

.footer ul li {
    color: var(--white-color);
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    /* Space for arrow */
}



.footer ul li a {
    color: var(--white-color);
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.footer ul li a:hover {
    color: var(--hover-color);
}

.footer .contact-info i {
    color: var(--footer-element-color);
}

.footer-bottom {
    border-top: 1px solid var(--black-color);
    margin-top: 20px;
    padding-top: 15px;
    text-align: center;
    /* Center align for small screens */
}


.footer-bottom a {
    color: var(--hover-color);
    font-weight: bold;
}

.footer-bottom .copyright {
    color: var(--hover-color);
}

.footer-logo {
    max-width: 80vh;
    /* Default size on large screens */
    height: auto;
    /* Maintain aspect ratio */
}



/* Responsive Design */
@media (max-width: 768px) {
    .footer {
        text-align: center;
    }

    .footer .contact-info {
        text-align: center;
    }

    .footer .footer-bottom .topbar {
        flex-direction: column;
        text-align: center;
    }

    .footer ul {
        text-align: left;
        display: inline-block;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .footer-bottom .d-flex {
        flex-direction: column;
        align-items: center;
    }

    .footer-bottom p {
        margin-bottom: 5px;
        /* Reduce spacing between paragraphs */
    }

}

/*** Carousel Start ***/

.carousel-item {
    position: relative;
}

.carousel-item::after {
    content: "";
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.carousel-caption {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-item p {
    max-width: 700px;
    margin: 0 auto 35px auto;
}

.carousel-control-prev {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    background: var(--bs-primary);
    border-radius: 0 50px 50px 0;
    opacity: 1;
}

.carousel-control-prev:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-control-next {
    width: 90px;
    height: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    background: var(--bs-primary);
    border-radius: 50px 0 0 50px;
    opacity: 1;
}

.carousel-control-next:hover {
    background: var(--bs-secondary);
    transition: .8s;
}

.carousel-caption .carousel-content a button.carousel-content-btn1 {
    background: var(--bs-secondary);
    color: var(--bs-dark);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn1:hover {
    background: var(--bs-primary);
    color: var(--white-color);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2 {
    background: var(--bs-primary);
    color: var(--bs-white);
    opacity: 1;
    border: 0;
    border-radius: 20px;
}

.carousel-caption .carousel-content a button.carousel-content-btn2:hover {
    background: var(--button-color);
    color: var(--white-color);
    border: 0;
    opacity: 1;
    transition: 1s;
    border-radius: 20px;
}

#carouselId .carousel-indicators li {
    width: 30px;
    height: 10px;
    background: var(--bs-primary);
    margin: 10px;
    border-radius: 30px;
    opacity: 1;
}

#carouselId .carousel-indicators li:hover {
    background: var(--bs-secondary);
    opacity: 1;
}




@keyframes fadeInLeft {
    0% {
        opacity: 0;
        transform: translate3d(-100%, 0, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInRight {
    0% {
        opacity: 0;
        transform: translate3d(100%, 0, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translate3d(0, -100%, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

.fadeInDown {
    animation-name: fadeInDown;
}

.fadeInRight {
    animation-name: fadeInRight;
}

.fadeInLeft {
    animation-name: fadeInLeft;
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

@media (max-width: 992px) {
    .carousel-item {
        min-height: 500px;
    }

    .carousel-item img {
        min-height: 500px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 40px !important;
    }

    .carousel-item p {
        font-size: 16px !important;
    }
}

@media (max-width: 768px) {
    .carousel-item {
        min-height: 400px;
    }

    .carousel-item img {
        min-height: 400px;
        object-fit: cover;
    }

    .carousel-item h1 {
        font-size: 28px !important;
    }

    .carousel-item p {
        font-size: 14px !important;
    }
}

.text-theme-light {
    color: var(--white-color);
}


/*** Services Start ***/





.services-item:hover .services-content-icon i {
    color: var(--button-color) !important;
}

.services .services-item {
    box-shadow: 0 0 60px rgba(0, 0, 0, .2);
    width: 100%;
    height: 100%;
    border-radius: 10px;
    padding: 10px 0;
    position: relative;
}


.services-content::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    border-radius: 10px 10px 0 0;
    background: var(--primary-color);
    transition: .5s;
}

.services-content::after {
    top: 0;
    bottom: auto;
    border-radius: 10px 10px 10px 10px;
}

.services-item:hover .services-content::after {
    height: 100%;
    opacity: 1;
    transition: .5s;
}

.services-item:hover .services-content-icon {
    position: relative;
    z-index: 2;
}

.services-item .services-content-icon i,
.services-item .services-content-icon p {
    transition: .5s;
}

.services-item:hover .services-content-icon i {
    color: var(--white-color) !important;
}

.services-item:hover .services-content-icon p {
    color: var(--white-color);
}


/*** Services End ***/
.blogbtn {
    background-color: #d1f1ff !important;
}

.page-header {
    background-image: linear-gradient(84deg, #28a745, #1E7E34);
}


.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: var(--bs-white);
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-size: 18px;
    color: var(--bs-white);
}

.contact-detail::before {
    position: absolute;
    content: "";
    height: 50%;
    width: 100%;
    top: 0;
    left: 0;
    background: linear-gradient(rgb(0 105 180), rgb(0 159 227 / 39%)), url(../images/background.jpg) center center no-repeat;
    background-size: cover;
    border-radius: 10px;
    z-index: -1;
}

.contact-map {
    background: var(--secondary-color);
}

.contact-form {
    background: var(--secondary-color);
}

input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(90deg, rgb(0, 36, 65) 50%, #e0e0e0 50%);
    outline: none;
    transition: background 0.2s ease-in-out;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--button-color);
    cursor: pointer;
    border: 2px solid #fff;
}

.range-values {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}