/* ==========================================
   GLOBAL
========================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background: #f5f7fa;
    font-family: Arial, Helvetica, sans-serif;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

section {
    overflow: hidden;
}


/* ==========================================
   TOP CONTACT BAR
========================================== */

.top-bar {
    font-size: 14px;
}

.top-bar .row {
    align-items: center;
}

.top-bar .col-md-6 {
    overflow-wrap: anywhere;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar-brand {
    min-width: 0;
}

.navbar-brand img {
    border-radius: 8px;
}

.navbar-brand > div:last-child {
    min-width: 0;
}

.navbar-brand .fs-4 {
    overflow-wrap: anywhere;
}

.nav-link {
    font-weight: 600;
    margin-left: 12px;
}

.nav-link:hover {
    color: #28a745 !important;
}


/* ==========================================
   HERO
========================================== */

.hero {
    padding: 100px 0;
}


/* ==========================================
   SECTION
========================================== */

.section-title {
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
}


/* ==========================================
   CARDS
========================================== */

.card {
    border: none;
    border-radius: 15px;
    transition: .3s;
}

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


/* ==========================================
   BUTTONS
========================================== */

.btn {
    border-radius: 8px;
}

.hero-btn {
    min-width: 180px;
}


/* ==========================================
   FOOTER
========================================== */

footer {
    background: #08244a;
    color: white;
}


/* ==========================================
   TABLET
   992px and below
========================================== */

@media (max-width: 991.98px) {

    .navbar-brand .fs-4 {
        font-size: 1.25rem !important;
    }

    .navbar-brand small {
        display: block;
        max-width: 350px;
    }

    .navbar-nav {
        padding-top: 10px;
        padding-bottom: 10px;
    }

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

    .hero {
        padding: 70px 0;
    }

}


/* ==========================================
   MOBILE
   767px and below
========================================== */

@media (max-width: 767.98px) {

    /* Top bar */

    .top-bar {
        font-size: 12px;
        text-align: center;
    }

    .top-bar .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .top-bar .row {
        display: block;
    }

    .top-bar .col-md-6 {
        width: 100%;
        text-align: center !important;
        margin-bottom: 4px;
    }

    .top-bar .col-md-6:last-child {
        margin-bottom: 0;
    }


    /* Navbar */

    .navbar {
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .navbar .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .navbar-brand {
        max-width: calc(100% - 55px);
    }

    .navbar-brand img {
        max-width: 100px !important;
        height: auto !important;
        max-height: 50px;
    }

    .navbar-brand .fs-4 {
        font-size: 1rem !important;
        line-height: 1.2;
    }

    .navbar-brand small {
        font-size: 10px;
        line-height: 1.2;
        display: block;
        max-width: 190px;
    }

    .navbar-toggler {
        flex-shrink: 0;
        padding: 6px 8px;
    }

    .navbar-collapse {
        margin-top: 10px;
    }

    .navbar-nav {
        width: 100%;
    }

    .nav-item {
        width: 100%;
    }

    .nav-link {
        width: 100%;
        padding: 10px 5px !important;
        margin-left: 0;
        border-bottom: 1px solid #eeeeee;
    }

    .nav-item:last-child .nav-link {
        border-bottom: none;
    }


    /* Hero */

    .hero {
        padding: 55px 15px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
        line-height: 1.2;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-btn {
        min-width: 150px;
        margin: 5px;
    }


    /* Sections */

    section {
        padding-left: 15px;
        padding-right: 15px;
    }

    .section-title {
        font-size: 1.7rem;
        margin-bottom: 25px;
    }


    /* Cards */

    .card {
        margin-bottom: 20px;
    }

    .card:hover {
        transform: none;
    }


    /* Buttons */

    .btn {
        max-width: 100%;
    }


    /* Footer */

    footer {
        text-align: center;
    }

    footer .row > div {
        margin-bottom: 20px;
    }

}


/* ==========================================
   SMALL MOBILE
   480px and below
========================================== */

@media (max-width: 480px) {

    .top-bar {
        font-size: 11px;
    }

    .navbar-brand .fs-4 {
        font-size: 0.9rem !important;
    }

    .navbar-brand small {
        font-size: 9px;
        max-width: 150px;
    }

    .navbar-brand img {
        max-width: 75px !important;
        max-height: 45px;
    }

    .hero {
        padding: 40px 10px;
    }

    .hero h1 {
        font-size: 1.7rem;
    }

    .hero h2 {
        font-size: 1.3rem;
    }

    .hero p {
        font-size: 14px;
    }

    .hero-btn {
        width: 100%;
        min-width: 0;
        margin: 5px 0;
    }

    .section-title {
        font-size: 1.5rem;
    }

}