/*************************************************
 ROOT VARIABLES
*************************************************/
:root {
    --primary: #06A3DA;
    --secondary: #34AD54;
    --light: #EEF9FF;
    --dark: #091E3E;
}

/*************************************************
 GLOBAL
*************************************************/
body {
    margin: 0;
    font-family: 'Nunito', sans-serif;
}

/*************************************************
 SPINNER
*************************************************/
.spinner {
    width: 40px;
    height: 40px;
    background: var(--primary);
    margin: 100px auto;
    animation: sk-rotateplane 1.2s infinite ease-in-out;
}

@keyframes sk-rotateplane {
    0% { transform: perspective(120px) rotateX(0) rotateY(0); }
    50% { transform: perspective(120px) rotateX(-180deg); }
    100% { transform: perspective(120px) rotateX(-180deg) rotateY(-180deg); }
}

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s ease-out;
}

#spinner.show {
    visibility: visible;
    opacity: 1;
}

/*************************************************
 TOP BAR (PHONE + EMAIL)
*************************************************/
.top-bar {
    background: #091E3E;
    height: 45px;
    display: flex;
    align-items: center;
    z-index: 1001;
}

/*************************************************
 NAVBAR (FIXED + CLEAN)
*************************************************/
.custom-navbar {
    height: 80px;          /* NAVBAR HEIGHT */
    display: flex;
    align-items: center;
}

.custom-navbar {
    position: sticky;
    top: 45px;                /* sits BELOW top-bar */
    z-index: 1000;
    background: rgba(10, 25, 47, 0.97);
    backdrop-filter: blur(8px);
    padding: 8px 0;
}

/* Remove Bootstrap width restriction */
.custom-navbar .container-fluid {
    max-width: 100%;
    padding-left: 16px;
    padding-right: 28px;
}

/*************************************************
 BRAND (LOGO + TEXT) — FINAL FIX
*************************************************/
.navbar-brand {
    position: relative;
    height: 80px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}

/* LOGO — NO SCALE, NO ANIMATION */
.logo {
    position: absolute;
    left: -50px;            /* left corner */
    top: 50%;
    transform: translateY(-50%); /* vertical center */

    height: 200px;         /* BIG LOGO */
    width: auto;

    transition: none !important;
}



/* TEXT */
.brand-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.6px;
    line-height: 1;
}

/*************************************************
 NAV LINKS
*************************************************/
.navbar-nav .nav-link {
    color: #ffffff !important;
    margin-left: 26px;
    font-weight: 500;
    padding: 10px 0;
    transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #0dcaf0 !important;
}

/* Kill Bootstrap underline animation */
.navbar-dark .navbar-nav .nav-link::before {
    display: none !important;
}

/*************************************************
 HERO SECTION
*************************************************/
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0d6efd, #00c6ff);
    display: flex;
    align-items: center;
    padding-top: 160px; /* top-bar + navbar */
}

.hero-tagline {
    color: #e0f7ff;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    margin-bottom: 30px;
}

.hero-buttons .btn {
    margin: 0 10px;
    padding: 14px 36px;
    font-weight: 600;
}

/*************************************************
 BUTTONS
*************************************************/
.btn {
    font-weight: 600;
    transition: .25s;
}

.btn-primary {
    background: var(--primary);
    border: none;
}

.btn-primary:hover {
    background: #0589b8;
}

/*************************************************
 SERVICES / TEAM
*************************************************/
.service-item,
.team-item {
    transition: .3s;
}

.service-item:hover,
.team-item:hover {
    box-shadow: 0 0 30px rgba(0,0,0,0.1);
}

/*************************************************
 FOOTER
*************************************************/
.footer-about {
    background: var(--primary);
    color: #ffffff;
}

/*************************************************
 BACK TO TOP
*************************************************/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    display: none;
}

/*************************************************
 RESPONSIVE
*************************************************/
@media (max-width: 768px) {

    .custom-navbar {
        top: 0; /* top-bar hidden on mobile */
    }

    .logo {
        height: 52px;
    }

    .brand-text {
        font-size: 1.2rem;
    }

    .navbar-nav .nav-link {
        margin-left: 0;
        padding: 10px 0;
    }

    .hero-title {
        font-size: 2.2rem;
    }
}
