@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700";


/* =========================================================
   GLOBAL
   ========================================================= */

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}


/* =========================================================
   NAVIGATION LINKS
   ========================================================= */

.cool-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: black !important;
    margin: 0;
    position: relative;
    transition: color 0.3s ease;
}

    .cool-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        display: block;
        margin-top: 4px;
        right: 0;
        background: #ff9800;
        transition: width 0.3s ease;
    }

    .cool-link:hover::after {
        width: 100%;
        left: 0;
        background: #ff9800;
    }


/* =========================================================
   NAVBAR
   LOGO LEFT / MENU RIGHT
   ========================================================= */

.navbar {
    min-height: 75px;
    padding: 5px 30px;
}


/* Main navbar */

#mainNavbar {
    background-color: #fff;
    position: fixed;
    top: 35px;
    left: 0;
    right: 0;
    width: 100%;
    min-height: 75px;
    transition: all 0.2s ease;
    z-index: 1030;
}


    /* Logo */

    #mainNavbar .navbar-brand {
        display: flex;
        align-items: center;
        margin-right: auto;
        padding: 0;
        flex-shrink: 0;
    }

#logo {
    position: relative;
    top: auto;
    width: 150px;
    height: auto;
    max-width: 100%;
    background-color: transparent;
    display: block;
}


/* Navigation container */

#navLinks {
    margin-top: 0;
    padding: 0;
}


    /* Navigation list */

    #navLinks .navbar-nav {
        margin-left: auto;
        align-items: center;
    }


/* Navigation items */

.nav-item {
    margin: 0;
    font-size: 0.8em;
    border-radius: 5px;
}


/* Navigation links */

#navLinks .nav-link {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    padding: 12px 16px;
    white-space: nowrap;
    transition: all 0.3s ease;
}


/* Navigation hover */

.navbar-nav .nav-item:hover {
    background-color: whitesmoke;
}

    .navbar-nav .nav-item:hover > .nav-link {
        color: #ff0000 !important;
    }


/* Active navigation item */

.navbar-nav .nav-item.active > .nav-link {
    color: #ff0000 !important;
}


/* Navbar bottom border */

.navbar-custom {
    border-bottom: 1px solid darkred;
}


/* Mobile navbar toggle */

.custom-toggler.navbar-toggler {
    border-color: black;
    background-color: transparent;
}

    .custom-toggler.navbar-toggler:focus {
        outline: none;
    }


/* =========================================================
   CONTACT INFORMATION TOP BAR
   ========================================================= */

#contactInfo {
    z-index: 1040;
}


/* =========================================================
   DROPDOWN
   ========================================================= */

.dropdown-menu {
    border-radius: 8px;
    border: none;
    padding: 10px;
    animation: fadeIn 0.3s ease;
}

.dropdown-item {
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    padding: 6px 14px;
    transition: background 0.3s ease, transform 0.2s ease;
}

    .dropdown-item:hover {
        background: linear-gradient( to bottom, rgba(208, 0, 0, 0.75), rgba(17, 17, 17, 0.90) );
        color: #fff;
        transform: translateX(4px);
    }

.dropdown:hover .dropdown-menu {
    display: block;
}


/* =========================================================
   BUTTON CONTAINER
   ========================================================= */

.button-container {
    position: absolute;
    bottom: 25px;
    right: 70px;
    z-index: 20;
}


/* =========================================================
   MY BUTTON
   ========================================================= */

.myButton {
    font-size: 1.2em;
    font-weight: bold;
    padding: 10px 20px;
    transition: all 0.3s ease;
    background: linear-gradient( to bottom, rgba(208, 0, 0, 0.65), rgba(17, 17, 17, 0.25) );
    color: white;
    pointer-events: auto;
}

    .myButton:hover {
        color: #fff;
        background-color: goldenrod;
        border-color: goldenrod;
    }


/* =========================================================
   GENERAL BUTTONS
   ========================================================= */

.btn {
    min-width: 200px;
    border-style: solid;
    border-width: 2px;
}


/* =========================================================
   OUTLINE PRIMARY
   ========================================================= */

.btn-outline-primary {
    color: white;
    border-color: white;
}

    .btn-outline-primary:hover {
        color: #fff;
        background: linear-gradient( to bottom, rgba(208, 0, 0, 0.75), rgba(17, 17, 17, 0.90) );
        border-color: white;
    }

    .btn-outline-primary:focus,
    .btn-outline-primary.focus {
        box-shadow: 0 0 0 0.2rem #16407A;
    }

    .btn-outline-primary.disabled,
    .btn-outline-primary:disabled {
        color: white;
        background-color: transparent;
    }

    .btn-outline-primary:not(:disabled):not(.disabled):active,
    .btn-outline-primary:not(:disabled):not(.disabled).active,
    .show > .btn-outline-primary.dropdown-toggle {
        color: #fff;
        background-color: rgb(7, 94, 84);
        border-color: white;
    }

        .btn-outline-primary:not(:disabled):not(.disabled):active:focus,
        .btn-outline-primary:not(:disabled):not(.disabled).active:focus,
        .show > .btn-outline-primary.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem #16407A;
        }


/* =========================================================
   OUTLINE INFO
   ========================================================= */

.btn-outline-info {
    color: black;
    border-color: darkred;
}

    .btn-outline-info:hover {
        color: #fff;
        background-color: #16407A;
        border-color: darkred;
    }


/* =========================================================
   FOOTER
   ========================================================= */

footer {
    overflow: hidden;
}


/* =========================================================
   SOCIAL ICONS
   ========================================================= */

.social-icon {
    padding: 10px 20px;
    min-width: 10px;
}


/* =========================================================
   HEADINGS
   ========================================================= */

h3 {
    color: darkred;
}


/* =========================================================
   CAROUSEL
   ========================================================= */

#mainCarousel .carousel-item {
    height: 93vh;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

    #mainCarousel .carousel-item.active {
        animation: zoomBg 12s ease-in-out forwards;
    }


/* Carousel images */

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* Carousel background zoom */

@keyframes zoomBg {

    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}


/* =========================================================
   CAROUSEL OVERLAY
   ========================================================= */

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient( to bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.25) );
}


/* =========================================================
   CAROUSEL CAPTIONS
   ========================================================= */

.carousel-caption {
    bottom: 35%;
    left: 10%;
    right: 10%;
    text-align: left;
}

    .carousel-caption h2,
    .carousel-caption p,
    .carousel-caption .btn {
        opacity: 0;
        transform: translateY(40px);
    }


/* Caption animations */

.carousel-item.active .carousel-caption h2 {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.4s;
}

.carousel-item.active .carousel-caption p {
    animation: fadeUp 1s ease forwards;
    animation-delay: 0.8s;
}

.carousel-item.active .carousel-caption .btn {
    animation: fadeUp 1s ease forwards;
    animation-delay: 1.2s;
}


/* Caption heading */

.carousel-caption h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.7);
}


/* Caption paragraph */

.carousel-caption p {
    font-size: 1.5rem;
    color: #f1f1f1;
    margin-top: 15px;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
}


/* =========================================================
   APPLY NOW BUTTON
   ========================================================= */

.carousel-caption .btn {
    margin-top: 20px;
    background: linear-gradient( to bottom, rgba(208, 0, 0, 0.75), rgba(17, 17, 17, 0.90) );
    border: none;
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .carousel-caption .btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    }


/* =========================================================
   APPLY NOW BUTTON
   ========================================================= */

.btn-apply-now {
    background: #ff9800;
    border: none;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 50px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

    .btn-apply-now:hover {
        background: #e68a00;
        transform: translateY(-4px);
        box-shadow: 0 12px 25px rgba(0, 0, 0, 0.35);
    }


/* =========================================================
   CUSTOM CAROUSEL CONTROLS
   ========================================================= */

.custom-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: rgba(37, 150, 190, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.custom-control:hover {
    background: linear-gradient( to bottom, rgba(208, 0, 0, 0.75), rgba(17, 17, 17, 0.90) );
    transform: translateY(-50%) scale(1.1);
}


/* =========================================================
   NEWS TICKER
   ========================================================= */

.news-ticker {
    background: linear-gradient( to bottom, rgba(208, 0, 0, 0.75), rgba(17, 17, 17, 0.90) );
    color: #fff;
    font-weight: bold;
    font-family: 'Poppins', sans-serif;
    padding: 10px 0;
    position: relative;
    width: 100%;
    overflow: hidden;
    z-index: 999;
}


.ticker-content {
    display: inline-block;
    white-space: nowrap;
    animation: ticker 100s linear infinite;
}


.news-item {
    display: inline-block;
    margin-right: 60px;
    font-size: 1.1em;
}


    .news-item a {
        color: #fff;
        text-decoration: none;
        transition: color 0.1s ease;
    }


        .news-item a:hover {
            color: #ffeb3b;
        }


/* Pause ticker when mouse is over it */

.news-ticker:hover .ticker-content {
    animation-play-state: paused;
}


/* =========================================================
   TICKER OVERLAY
   ========================================================= */

.news-ticker-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(37, 150, 190, 0.85);
    color: #fff;
    font-weight: bold;
    padding: 8px 0;
    overflow: hidden;
}


    .news-ticker-overlay .ticker-content {
        display: inline-block;
        white-space: nowrap;
        animation: ticker 45s linear infinite;
    }


    .news-ticker-overlay .news-item {
        display: inline-block;
        margin-right: 60px;
        font-size: 1.05em;
        opacity: 0;
        animation: fadeIn 0.6s ease forwards;
    }


        .news-ticker-overlay .news-item:nth-child(n) {
            animation-delay: 0.2s;
        }


    .news-ticker-overlay a {
        color: #fff;
        transition: color 0.2s ease;
    }


        .news-ticker-overlay a:hover {
            color: #ffeb3b;
        }


/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes fadeUp {

    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


@keyframes ticker {

    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


@keyframes fadeIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   RESPONSIVE - LARGE TABLETS / SMALL DESKTOP
   ========================================================= */

@media (max-width: 1200px) {

    #logo {
        width: 220px;
    }

    #navLinks .nav-link {
        padding-left: 10px;
        padding-right: 10px;
    }

    .cool-link {
        font-size: 0.95em;
    }
}


/* =========================================================
   RESPONSIVE - TABLET
   ========================================================= */

@media (max-width: 991px) {

    /* Navbar */

    #mainNavbar {
        top: 35px;
        min-height: 70px;
    }

    .navbar {
        min-height: 70px;
        padding: 5px 15px;
    }


    /* Logo */

    #logo {
        width: 210px;
    }


    /* Mobile navigation container */

    #navLinks {
        width: 100%;
        background-color: #fff;
        margin-top: 5px;
        padding: 5px 0 10px 0;
    }


        /* Mobile navigation list */

        #navLinks .navbar-nav {
            align-items: flex-start;
            width: 100%;
            margin-left: 0;
        }


        /* Mobile navigation item */

        #navLinks .nav-item {
            width: 100%;
            margin: 0;
        }


        /* Mobile navigation links */

        #navLinks .nav-link {
            width: 100%;
            padding: 10px 15px;
        }


    /* Carousel */

    .carousel-caption h2 {
        font-size: 2.2rem;
    }

    .carousel-caption p {
        font-size: 1.1rem;
    }

    .carousel-caption {
        bottom: 20%;
        text-align: center;
    }
}


/* =========================================================
   RESPONSIVE - MOBILE
   ========================================================= */

@media (max-width: 768px) {

    /* Navbar */

    #mainNavbar {
        top: 35px;
        min-height: 65px;
    }

    .navbar {
        min-height: 65px;
        padding: 5px 10px;
    }


    /* Logo */

    #logo {
        width: 190px;
    }


    /* Mobile menu */

    #navLinks {
        margin-top: 5px;
    }


    /* Carousel */

    #mainCarousel .carousel-item {
        height: 30vh;
        min-height: 400px;
        background-size: cover;
        background-position: center;
        position: relative;
        overflow: hidden;
    }


    /* Carousel image */

    .carousel-item img {
        width: 100% !important;
        max-width: 100% !important;
        height: 30vh;
        min-height: 400px;
        margin: 0 auto;
        padding: 0;
        box-sizing: border-box;
        display: block;
        object-fit: cover;
    }


    /* Carousel caption */

    .carousel-caption {
        bottom: 15%;
        left: 5%;
        right: 5%;
    }


        .carousel-caption h2 {
            font-size: 1.6rem;
        }


        .carousel-caption p {
            font-size: 1rem;
        }


        .carousel-caption .btn {
            padding: 8px 18px;
            font-size: 0.9rem;
        }


    /* Apply button */

    .myButton {
        font-size: 1em;
        font-family: 'Maiandra GD';
        font-weight: bold;
        padding: 8px 15px;
        transition: all 0.3s ease;
        background-color: #16407A;
        color: white;
        pointer-events: auto;
        min-width: 10%;
    }

        .myButton:hover {
            color: #fff;
            background-color: goldenrod;
            border-color: goldenrod;
        }
}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    #logo {
        width: 170px;
    }

    .navbar {
        padding-left: 8px;
        padding-right: 8px;
    }

    .carousel-caption h2 {
        font-size: 1.4rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }

    .custom-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .carousel-control-prev {
        left: 10px;
    }

    .carousel-control-next {
        right: 10px;
    }
}


/* =========================================================
   CONTACT / TOP BAR MOBILE
   ========================================================= */

@media (max-width: 576px) {

    #contactInfo {
        height: 35px !important;
    }

        #contactInfo a {
            font-size: 0.7em !important;
        }
}


/* =========================================================
   END
   ========================================================= */
