/* FORCE PAGE TO START AT TOP */

html,
body {
    margin: 0 !important;
    padding: 0 !important;
}

body.home-page {
    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================
   GLOBAL
========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Arial, Helvetica, sans-serif;
    padding-top: 0;
    margin: 0;
    overflow-x: hidden;
}


/* ==========================================
   PREHEADER
========================================== */

.preheader {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 7px 0;
    background: #343a40;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
    z-index: 1000;
}

.preheader .container-fluid {
    margin: 0;
}

.preheader a {
    color: #ffc107;
    text-decoration: none;
    margin: 0 10px;
}

.preheader a:hover {
    text-decoration: underline;
}


/* ==========================================
   NAVBAR
========================================== */

.navbar-custom {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 8px 40px;
    min-height: 85px;
    background: #2bae66;
    z-index: 999;
}

.navbar-brand {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.navbar-brand img {
    display: block;
    height: 80px;
    width: auto;
    max-width: 100%;
}

.navbar-custom .nav-link {
    color: #fff;
    font-weight: 500;
    padding: 12px 10px;
}

.navbar-custom .nav-link:hover {
    color: #ffc107;
}


/* ==========================================
   HERO SECTION
========================================== */

.hero-section {
    position: relative;
    width: 100%;
    margin: 0;

    /* Original banner ratio */
    aspect-ratio: 1717 / 916;

    background-image: url("../images/banner.jpg");
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 100% 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 20px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.3rem;
    margin-top: 15px;
}

.hero-content .btn {
    margin-top: 25px;
}


/* ==========================================
   WHATSAPP FLOAT BUTTON
========================================== */

.whatsapp-float {
    position: fixed;
    right: 20px;
    bottom: 20px;

    width: 60px;
    height: 60px;

    border-radius: 50%;

    background: #25D366;
    color: #fff;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 30px;

    z-index: 9999;

    text-decoration: none;

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.whatsapp-float:hover {
    color: #fff;
    background: #1EBE5D;
}


/* ==========================================
   FOOTER
========================================== */

footer {
    margin-top: auto;
}


/* ==========================================
   MOBILE
========================================== */

@media (max-width: 991px) {

    body {
        padding-top: 0;
        margin: 0;
    }

    .preheader {
        position: relative;
        width: 100%;
        margin: 0;
        padding: 6px 0;
        font-size: 14px;
    }

    .navbar-custom {
        position: relative;
        width: 100%;
        min-height: 70px;
        margin: 0;
        padding: 8px 15px;
    }

    .navbar-brand {
        margin: 0;
        padding: 0;
    }

    .navbar-brand img {
        height: 52px;
        width: auto;
    }

    .navbar-toggler {
        border: 2px solid #fff;
        padding: 6px 10px;
        margin: 0;
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
    }

    .hero-section {
        width: 100%;
        aspect-ratio: 1717 / 916;
        margin: 0;
        background-size: 100% 100%;
        background-position: center center;
    }

    .hero-content {
        padding: 15px;
    }

    .hero-content h1 {
        font-size: 2.3rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .offcanvas-start {
        width: 260px;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        right: 18px;
        bottom: 18px;
        font-size: 28px;
    }
}


/* ==========================================
   SMALL MOBILE DEVICES
========================================== */

@media (max-width: 576px) {

    .preheader {
        padding: 5px 0;
        font-size: 13px;
    }

    .navbar-custom {
        min-height: 68px;
        padding: 7px 12px;
    }

    .navbar-brand img {
        height: 50px;
    }

    .navbar-toggler {
        padding: 5px 9px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        right: 15px;
        bottom: 15px;
        font-size: 26px;
    }
}