:root {
    --bs-primary: #6d28d9;   /* rich purple */
    --bs-secondary: #f59e0b; /* gold */
    --bs-dark: #0b0f19;      /* deep dark */
    --bs-light: #f8fafc;     /* clean white */
    --bs-white: #ffffff;
    --bs-body: #64748b;      /* text gray */
}

/*** Spinner Start ***/
#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;
}

/*** Back to top ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/*** Buttons ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square, .btn-xl-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
}

.btn-square { width: 32px; height: 32px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 44px; height: 44px; }
.btn-lg-square { width: 56px; height: 56px; }
.btn-xl-square { width: 66px; height: 66px; }

.btn.btn-primary {
    color: var(--bs-white);
    border: none;
}

.btn.btn-primary:hover {
    background: var(--bs-dark);
}

.btn.btn-light {
    color: var(--bs-primary);
    border: none;
}

.btn.btn-light:hover {
    color: var(--bs-white);
    background: var(--bs-primary);
}

.btn.btn-dark {
    color: var(--bs-white);
    border: none;
}

.btn.btn-dark:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}

/*** Navbar ***/
.nav-bar {
    background: var(--bs-white);
}

.sticky-top {
    transition: 1s;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 25px;
    padding: 35px 0;
    letter-spacing: 1px;
    color: var(--bs-dark);
    font-size: 17px;
    font-weight: 500;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary);
}

.navbar-light .navbar-brand img {
    max-height: 60px;
    transition: .5s;
}

.sticky-top .navbar-light .navbar-brand img {
    max-height: 50px;
}

/*** Dropdown ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    margin-left: 8px;
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

/*** Hero Carousel ***/
.header-carousel .header-carousel-item img {
    object-fit: cover;
}

.header-carousel .header-carousel-item,
.header-carousel .header-carousel-item img {
    height: 700px;
}

/*** Service Section ***/
.service {
    position: relative;
    overflow: hidden;
    background-image: url(../img/carousel-1.jpg);
    background-size: cover;
}

.service::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(11, 15, 25, 0.7);
    top: 0;
    left: 0;
    z-index: 1;
}

.service .service-item:hover:after {
    background: var(--bs-primary);
}

/*** Blog ***/
.blog .blog-item:hover .blog-img img {
    transform: scale(1.2);
}

/*** Team ***/
.team .team-item:hover:after {
    background: var(--bs-dark);
}

/*** Footer ***/
.footer {
    background: var(--bs-dark);
}

.copyright {
    background: var(--bs-dark);
}