/********** Template CSS **********/

/*** Color Theme — Navy + Yellow (Web Elite Infotech) ***/
:root {
    --wei-yellow:      #f5c518;
    --wei-yellow-dark: #d4a800;
    --wei-navy:        #0d1b3e;
    --wei-navy-dark:   #080f24;
}

/* === Bootstrap Primary → Yellow === */
.btn-primary {
    background-color: #f5c518 !important;
    border-color: #f5c518 !important;
    color: #0d1b3e !important;
    font-weight: 700;
}
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #d4a800 !important;
    border-color: #d4a800 !important;
    color: #0d1b3e !important;
    box-shadow: 0 8px 24px rgba(245, 197, 24, 0.4) !important;
}

/* === Bootstrap Secondary → Navy === */
.btn-secondary {
    background-color: #0d1b3e !important;
    border-color: #0d1b3e !important;
    color: #ffffff !important;
    font-weight: 600;
}
.btn-secondary:hover,
.btn-secondary:focus {
    background-color: #080f24 !important;
    border-color: #080f24 !important;
    color: #f5c518 !important;
}

/* === Utility Overrides === */
.text-primary   { color: #f5c518 !important; }
.bg-primary     { background-color: #f5c518 !important; color: #0d1b3e !important; }
.bg-secondary   { background-color: #0d1b3e !important; color: #ffffff !important; }
.text-secondary { color: #0d1b3e !important; }


/*** 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;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
    background: #f5c518 !important;
    color: #0d1b3e !important;
    border-color: #f5c518 !important;
}


/*** Button ***/
.btn {
    transition: .5s;
}

.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;
    border-radius: 3px;
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

.navbar {
    padding: 15px 0;
    font-family: 'Ubuntu', sans-serif;
    font-size: 18px;
    background: #0d1b3e !important;
}

.navbar-brand {
    color: #f5c518 !important;
}

.navbar .navbar-nav .nav-link {
    margin-left: 30px;
    padding: 0;
    outline: none;
    color: rgba(255, 255, 255, 0.75) !important;
    transition: color .3s;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active {
    color: #f5c518 !important;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar .dropdown-menu {
    background: #0d1b3e;
    border: 1px solid rgba(245, 197, 24, 0.2);
}

.navbar .dropdown-menu .dropdown-item {
    color: rgba(255, 255, 255, 0.75);
}

.navbar .dropdown-menu .dropdown-item:hover,
.navbar .dropdown-menu .dropdown-item.active {
    color: #0d1b3e !important;
    background: #f5c518 !important;
}

@media (max-width: 991.98px) {
    .sticky-top {
        background: #0d1b3e !important;
    }

    .navbar .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }
}

@media (min-width: 992px) {
    .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;
    }
}


/*** Hero Header — Navy Blue (was Red) ***/
.hero-header {
    position: relative;
    margin-top: -100px;
    padding-top: 150px;
    overflow: hidden;
    background: linear-gradient(135deg, #080f24 0%, #0d1b3e 60%, #1a2f6e 100%);
}

.hero-header::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../img/hero-header-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    animation: animateUpDown 8s ease infinite;
    z-index: -1;
    opacity: 0.06;
}

@keyframes animateUpDown {
    0%   { top: 0px;   left: 0px;  }
    25%  { top: -15px; left: 15px; }
    50%  { top: 0px;   left: 30px; }
    75%  { top: 15px;  left: 15px; }
    100% { top: 0px;   left: 0px;  }
}

/* Hero text & breadcrumb */
.hero-header h1,
.hero-header .display-3,
.hero-header .display-4 {
    color: #ffffff !important;
}

.hero-header .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.65) !important;
}

.hero-header .breadcrumb-item.active {
    color: #f5c518 !important;
}

.hero-header .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.4);
}


/*** Service ***/
.service-item {
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 45px rgba(0, 0, 0, .07);
    border-radius: 45px 3px 3px 3px;
    transition: .5s;
}

.service-item:hover {
    margin-top: -10px;
    box-shadow: 0 16px 40px rgba(245, 197, 24, 0.15);
}

.service-item .service-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 45px 0;
    background: #f5c518 !important;
}

.service-item .service-icon i {
    color: #0d1b3e !important;
}

.service-list a.btn-light:hover {
    color: #0d1b3e !important;
    background: #f5c518 !important;
}

.service-list a.btn-light i {
    color: #f5c518;
    transition: .5s;
}

.service-list a.btn-light:hover i {
    color: #0d1b3e;
}


/*** Footer ***/
.footer {
    background: #080f24 !important;
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 10px;
    padding: 0;
    text-align: left;
    color: rgba(255, 255, 255, .5);
    font-weight: normal;
    transition: .3s;
}

.footer .btn.btn-link:hover {
    color: #f5c518;
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .copyright {
    padding: 25px 0;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: rgba(255, 255, 255, .5);
}

.footer .copyright a:hover {
    color: #f5c518;
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .1);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}