/********** Template CSS **********/
:root {
    --primary: #6C4DF6;      /* Purple */
    --secondary: #B8A9FF;    /* Light Purple */
    --light: #F4F6FB;        /* Light Gray */
    --dark: #111827;         /* Dark text */
}

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

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    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: 600;
    transition: .5s;
}

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

/* Modern gradient button */
.btn-primary {
    background: linear-gradient(135deg,#6C4DF6,#B8A9FF);
    border: none;
}

.btn-secondary {
    background: #B8A9FF;
    border: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg,#5A3FE0,#9F8CFF);
}

.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 ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    position: relative;
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

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

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

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 4px;
        top: -6px;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }

    .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 ***/
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        position: relative;
        min-height: 500px;
    }
    
    .header-carousel .owl-carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 30px;
        font-weight: 600;
    }
}

.header-carousel .owl-nav {
    position: absolute;
    top: 50%;
    right: 8%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    margin: 7px 0;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: transparent;
    border: 1px solid #FFFFFF;
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.page-header {
    background: linear-gradient(rgba(17,24,39,.6), rgba(17,24,39,.6)), url(../img/carousel-1.jpg) center center no-repeat;
    background-size: cover;
}

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


/*** Service Cards Modern Look ***/
.service-item,
.price-item,
.team-item {
    box-shadow: 0 0 35px rgba(0,0,0,.06);
    border-radius: 12px;
    transition: .3s;
}

.service-item:hover,
.price-item:hover,
.team-item:hover {
    transform: translateY(-8px);
}

.service-item img,
.team-item img {
    transition: .5s;
}

.service-item:hover img,
.team-item:hover img {
    transform: scale(1.1);
}


/*** Testimonial ***/
.testimonial-carousel .owl-dot {
    background: var(--primary);
    border: 5px solid var(--light);
}

.testimonial-carousel .owl-dot.active {
    background: var(--light);
    border-color: var(--primary);
}


/* Footer Main */
.footer{
background:#DBDBDB;
color:#dcdcdc;
font-size:15px;
}

/* Footer Headings */
.footer h4{
color:#ffffff;
font-weight:600;
margin-bottom:20px;
}

/* Footer Links */
.footer .btn-link{
display:block;
color:#b8b8c7;
text-decoration:none;
margin-bottom:8px;
padding-left:0;
transition:0.3s;
}

.footer .btn-link:hover{
color:#fd7b02;
padding-left:6px;
}

/* Address icons */
.footer i{
color:#fd7b02;
}

/* Social buttons */
.btn-social{
width:38px;
height:38px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
transition:0.3s;
}

.btn-social:hover{
background:#fd7b02;
border-color:#fd7b02;
color:#fff;
}

/* Newsletter */
.footer input{
border-radius:30px;
}

.footer button{
background:#fd7b02;
border:none;
border-radius:30px;
}

.footer button:hover{
background:#7c3cff;
}

/* Copyright */
.copyright{
border-top:1px solid rgba(255,255,255,0.1);
padding-top:20px;
margin-top:20px;
font-size:14px;
}

.copyright a{
color:#fd7b02;
text-decoration:none;
}

.copyright a:hover{
text-decoration:underline;
}

/* Back to top button */
.back-to-top{
position:fixed;
right:30px;
bottom:30px;
z-index:99;
display:none;
background:#fd7b02;
border:none;
}

.back-to-top:hover{
background:#7c3cff;
}
