/********** Template CSS **********/
:root {
    --primary: #0194FF;
    --secondary: #757575;
    --light: #F3F6F8;
    --dark: #00396B;
}

.py-6 {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
}

.my-6 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.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;
}


/*** Button ***/
.btn {
    font-weight: 500;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-outline-primary:hover {
    color: #FFFFFF;
}

.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,
.navbar a.btn {
    height: 80px
}

.navbar .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: var(--dark);
    font-weight: 500;
    text-transform: uppercase;
    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-nav .nav-link  {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

@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;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(0, 0, 0, .28);
    z-index: 1;
}

.carousel-caption h1,
.carousel-caption p {
    text-shadow: 0 2px 12px rgba(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: 10px solid var(--primary);
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(rgba(0, 10, 40, .18), rgba(0, 20, 10, .18)), url('../img/3.jpg') center center no-repeat;
    background-size: cover;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: #999999;
}



/*** Courses ***/
.courses {
    background: var(--light);
}

.courses-item .courses-overlay {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .5);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.courses-item:hover .courses-overlay {
    height: 100%;
    opacity: 1;
}


/*** Team ***/
.team-items {
    margin: -.75rem;
}

.team-item {
    padding: .75rem;
}

.team-item::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    background: #FFFFFF;
    transition: .5s;
    z-index: -1;
}

.team-item:hover::after {
    height: 100%;
    background: var(--primary);
}

.team-item .team-social {
    position: absolute;
    width: 100%;
    height: 0;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .75);
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}

.team-item:hover .team-social {
    height: 100%;
    opacity: 1;
}


/*** Testimonial ***/
.testimonial-carousel .owl-dots {
    height: 40px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: transparent;
    border: 2px solid var(--primary);
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: var(--light);
    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: var(--light);
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    color: var(--primary);
    letter-spacing: 1px;
    box-shadow: none;
}

.copyright {
    background: #092139;
}

.copyright a {
    color: var(--primary);
}

.copyright a:hover {
    color: var(--light);
}

/*** Logo (Laneways) ***/
.brand-logo {
    height: 85px;
    width: auto;
    object-fit: contain;
}

.brand-logo-footer {
    height: 90px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 991.98px) {
    .brand-logo { height: 60px; }
}


/*** Typography: Source Sans 3 (body) + Roboto (headings) ***/
body {
    font-family: 'Source Sans 3', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6,
.navbar-brand h2 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.text-uppercase.text-primary,
h6.text-primary {
    font-family: 'Source Sans 3', sans-serif;
    font-weight: 600;
    letter-spacing: 0.06em;
}


/*** Service/Region color-coded cards ***/
.svc-row {
    background: #fff;
    border-left: 5px solid transparent;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    padding: 1.5rem 1.75rem;
    height: 100%;
    transition: transform .25s ease, box-shadow .25s ease;
}
.svc-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0,0,0,.1);
}
.svc-row .svc-service {
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    font-size: 1.05rem;
    margin-bottom: .5rem;
    color: #222;
}
.svc-row .svc-region {
    display: inline-flex;
    align-items: center;
    font-size: .88rem;
    font-weight: 600;
    letter-spacing: .02em;
    padding: .3rem .8rem;
    border-radius: 999px;
    color: #fff;
}
.svc-row .svc-region i { margin-right: .4rem; color: #fff; }

.svc-purple { border-left-color: #7C5CBF; }
.svc-purple .svc-region { background: #7C5CBF; }

.svc-green { border-left-color: #2E9E6B; }
.svc-green .svc-region { background: #2E9E6B; }

.svc-oceanic { border-left-color: #0E7C9C; }
.svc-oceanic .svc-region { background: #0E7C9C; }

.svc-orange { border-left-color: #E8871E; }
.svc-orange .svc-region { background: #E8871E; }

.svc-teal { border-left-color: #14877D; }
.svc-teal .svc-region { background: #14877D; }

.svc-rose { border-left-color: #C1477A; }
.svc-rose .svc-region { background: #C1477A; }


/*** WhatsApp Floating Button ***/
.whatsapp-float {
    position: fixed;
    left: 28px;
    bottom: 28px;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.9rem;
    box-shadow: 0 4px 16px rgba(0,0,0,.28);
    z-index: 999;
    animation: wa-pulse 2.4s infinite;
    transition: transform .2s ease;
}
.whatsapp-float:hover {
    color: #fff;
    transform: scale(1.08);
}
@keyframes wa-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(37,211,102,.55), 0 4px 16px rgba(0,0,0,.28); }
    70%  { box-shadow: 0 0 0 14px rgba(37,211,102,0), 0 4px 16px rgba(0,0,0,.28); }
    100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 4px 16px rgba(0,0,0,.28); }
}
@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
        left: 18px;
        bottom: 18px;
    }
}

/*** Custom Mouse Follower Animation ***/
.mouse-dot,
.mouse-follower {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    border-radius: 50%;
    z-index: 9998;
}
.mouse-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    z-index: 9999;
}
.mouse-follower {
    width: 34px;
    height: 34px;
    border: 2px solid var(--primary);
    opacity: .55;
    transition: width .2s ease, height .2s ease, border-color .2s ease, opacity .2s ease;
}
.mouse-follower.grow {
    width: 54px;
    height: 54px;
    border-color: var(--dark);
    opacity: .85;
}
.mouse-follower.click {
    width: 26px;
    height: 26px;
    opacity: 1;
}
