html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    /* font-family: "Roboto Mono", monospace; */
    font-optical-sizing: auto;
    font-style: normal;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    right: -30vw;
    bottom: 0;
    left: 50%;
    background-image: url(../image/bg-body.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto 180%;
    opacity: 0.10;
    z-index: 1;
    pointer-events: none;
    animation: falling-water 35s linear infinite;
}

/* Navbar */

.nav-link {
    margin: 0 25px;
}

.bg-custom-bar .navbar-nav .nav-link,
.bg-custom-bar .navbar-brand {
    color: white;
}

.navbar {
    position: absolute;
    width: 100%;
    z-index: 3;
}

/* Footer */

.fixed-footer {
    width: 100%;
    bottom: 0;
    left: 0;
    color: white;
    background: linear-gradient(90deg, var(--royal-blue) 0%, var(--royal-blue-dark) 1400%);
    font-size: 18px;
}

/* Colors */

.bg-custom-bar {
    background: transparent;
    font-size: 18px;
    pointer-events: show;
}

.bg-custom-about {
    background: linear-gradient(90deg, var(--royal-blue) 0%, var(--royal-blue-dark) 1400%);
    font-size: 16px;
    font-weight: 250;
}

.bg-custom-services {
    background: linear-gradient(90deg, var(--royal-blue) 0%, var(--royal-blue-dark) 1400%);
    font-size: 16px;
    font-weight: 250;
}

.bg-custom-security {
    background: linear-gradient(90deg, var(--royal-blue) 0%, var(--royal-blue-dark) 1400%);
    font-size: 16px;
    font-weight: 250;
}

.bg-custom-contact {
    background: linear-gradient(90deg, var(--royal-blue) 0%, var(--royal-blue-dark) 1400%);
    font-size: 16px;
    font-weight: 250;
}

/* Desktop - Sections full height */
@media (min-width: 769px) {
    #services-section,
    #security-section,
    #contact-section {
        min-height: 100vh;
    }

    #services-section .row,
    #security-section .row,
    #contact-section .row {
        min-height: 100%;
    }
}

/* Mobile - Sections auto height */
@media (max-width: 768px) {
    #services-section,
    #security-section,
    #contact-section {
        height: auto;
    }

    #services-section .row,
    #security-section .row,
    #contact-section .row {
        height: auto;
    }
}

/* Arrow back to top */

#back-to-top {
    position: fixed;
    bottom: 15px;
    left: 15px;
    display: none;
    z-index: 1000;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #fff;
    background: rgba(59, 130, 246, 0.15);
    border: none;
    backdrop-filter: blur(15px);
    transition: all 0.3s ease-in-out;
}

#back-to-top.show {
    display: flex;
}

#back-to-top i {
    font-size: 20px;
}

#back-to-top:hover {
    background: rgba(59, 130, 246, 0.25);
    transform: translateY(-2px);
}

#back-to-top:hover i {
    color: #fff;
    opacity: 1;
}

/*  WhatsApp icon */

.whatsapp-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.whatsapp-icon i {
    line-height: 0;
}

.whatsapp-icon:hover {
    color: white;
    background-color: #20b157;
    opacity: 1;
}

/* Custom spacers */

.mt-6 {
    margin-top: 4rem;
}

.mb-6 {
    margin-bottom: 4rem;
}

.mt-7 {
    margin-top: 5rem;
}

.mb-7 {
    margin-bottom: 5rem;
}

.mt-8 {
    margin-top: 6rem;
}

.mb-8 {
    margin-bottom: 6rem;
}

/* Nova Paleta de Cores - Segurança e Confiança */

.text-royal-blue {
    color: #1e3a8a !important;
}

.text-cyan {
    color: #00ffff !important;
}

.text-medium-gray {
    color: #6b7280 !important;
}

.bg-royal-blue {
    background-color: #1e3a8a !important;
}

.bg-cyan {
    background-color: #00ffff !important;
}

.border-cyan {
    border-color: #00ffff !important;
}

.btn-royal-blue {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

.btn-royal-blue:hover {
    background-color: #00ffff;
    border-color: #00ffff;
    color: #1e3a8a;
}

.btn-cyan {
    background-color: #00ffff;
    border-color: #00ffff;
    color: #1e3a8a;
}

.btn-cyan:hover {
    background-color: #1e3a8a;
    border-color: #1e3a8a;
    color: white;
}

/* Keyframes */

@keyframes falling-water {
    0% {
        background-position-y: 0%;
    }
    50% {
        background-position-y: 10%;
    }
    100% {
        background-position-y: 0%;
    }
}
