/********** Template CSS **********/
:root {
    --primary: #015FC9;
    --secondary: #0DD3F1;
    --light: #F6F7FC;
    --dark: #15233C;
}

/*** Utility Classes ***/
.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 30px;
    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;
}

/*** Buttons ***/
.btn {
    transition: .5s;
}

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

.btn.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.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.sticky-top {
    top: -100px;
    transition: .5s;
}

.navbar .navbar-brand img {
    max-height: 60px;
}

.navbar .navbar-nav .nav-link {
    margin-left: 25px;
    padding: 10px 0;
    color: #696E77;
    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;
}

@media (max-width: 991.98px) {
    .navbar .navbar-brand img {
        max-height: 45px;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .navbar .nav-item .dropdown-menu {
        padding-left: 30px;
    }
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        right: 0;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}

/*** Header / Carousel ***/
#header-carousel .carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    text-align: start;
    z-index: 1;
    background: rgba(0, 0, 0, 0.55);
}

.carousel-control-prev,
.carousel-control-next {
    width: 15%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
    background-color: var(--primary);
    border: 15px solid var(--primary);
    border-radius: 50px;
}

#header-carousel .carousel-item {
    position: relative;
    min-height: 700px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

#header-carousel .carousel-item.carousel-item-bg-1 {
    background-image: url(../img/carousel-1.png);
}

#header-carousel .carousel-item.carousel-item-bg-2 {
    background-image: url(../img/carousel-2.png);
}

.mobile-hero-section {
    background-image: url(../img/carousel-1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mobile-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.9);
    z-index: 0;
}

.mobile-hero-section .container {
    position: relative;
    z-index: 1;
}

.page-header {
    background: url(../img/carousel-1.png) center center no-repeat;
    background-size: cover;
}

.page-header .breadcrumb-item,
.page-header .breadcrumb-item a {
    font-weight: 500;
}

.page-header .breadcrumb-item a,
.page-header .breadcrumb-item+.breadcrumb-item::before {
    color: #696E77;
}

.page-header .breadcrumb-item a:hover,
.page-header .breadcrumb-item.active {
    color: var(--primary);
}

/*** Cards & Service Items ***/
.home-service-card {
    transition: all 0.4s ease;
    border: 1px solid #f1f1f1;
}

.home-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.12) !important;
}

.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    transition: 0.4s;
}

.service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.12) !important;
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item .service-icon img {
    max-width: 60px;
    max-height: 60px;
}

.service-item a.btn {
    color: var(--primary);
}

.service-item a.btn:hover {
    color: #FFFFFF;
    background: var(--primary);
    border-color: var(--primary);
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/*** Icon Boxes (Unified) ***/
.service-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

/*** Pricing Cards ***/
.pricing-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

.pricing-card {
    transition: transform 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-12px);
}

/*** Service Row Layout ***/
.service-wrapper {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.service-row {
    background: #fff;
    border-radius: 25px;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    transition: 0.4s;
    box-shadow: 0 10px 30px rgba(0,0,0,.05);
}

.service-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,.1);
}

.service-left {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    flex: 1;
}

.service-icon {
    min-width: 75px;
    height: 75px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #fff;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.service-tags span {
    background: #f3f5f9;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    color: #555;
    font-weight: 500;
}

@media (max-width: 768px) {
    .service-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .service-right {
        width: 100%;
    }
    
    .service-right .btn {
        width: 100%;
    }
}

/*** Dropdown Menus ***/
.service-dropdown-columns {
    column-count: 2;
    column-gap: 1rem;
}

@media (max-width: 768px) {
    .service-dropdown-columns {
        column-count: 1;
    }
}

.dropdown-menu.large-dropdown {
    min-width: 500px;
    padding: 1rem;
}

@media (max-width: 768px) {
    .dropdown-menu.large-dropdown {
        min-width: 280px;
    }
}

/*** Footer ***/
.footer {
    color: #A7A8B4;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #A7A8B4;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: #A7A8B4;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--light);
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-square {
    color: #A7A8B4;
    border: 1px solid #A7A8B4;
}

.footer .btn.btn-square:hover {
    color: var(--secondary);
    border-color: var(--light);
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--secondary);
}

.footer .copyright a:hover {
    color: #FFFFFF;
}

/*** Mobile Banner ***/
.mobile_banner {
    background: linear-gradient(135deg, #0b2b5c 0%, #1a4a8a 100%);
}

/*** Gradients ***/
.bg-gradient-primary {
    background: linear-gradient(135deg, #1E3C72 0%, #2A5298 100%);
}

.service-icon-box-sm {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

@media (max-width: 991px) {
    #header-carousel .carousel-item {
        min-height: 700px;
    }

    #header-carousel .carousel-caption {
        position: relative;
        background: var(--dark);
    }

    #header-carousel .display-3 {
        font-size: 2rem;
    }
}
.service-card {
    transition: all 0.3s ease;
}
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1.5rem 3rem rgba(0,0,0,0.15) !important;
}
.service-icon-box {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}
.service-card ul li {
    font-size: 14px;
    color: #555;
}
.btn-outline-primary:hover, 
.btn-outline-success:hover,
.btn-outline-info:hover,
.btn-outline-warning:hover,
.btn-outline-danger:hover,
.btn-outline-secondary:hover {
    transform: translateX(5px);
    transition: all 0.3s ease;
}

.card-badge {
    right: 10px !important;
    top: 10px !important;
}
