@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Inter:wght@300;400;500&display=swap');

html,
body {
    font-family: 'Inter', sans-serif;
    scroll-behavior: smooth;
    color: #000000;

}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Montserrat', sans-serif;
}

.text-justify {
    text-align: justify;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.6);
}

/* Franja amarilla */
.main-top-info {
    transform: translateY(0);
    opacity: 1;
    transition: transform 0.35s ease, opacity 0.35s ease;
    will-change: transform, opacity;
}

/* Oculta suavemente */
.main-top-info.hidden {
    transform: translateY(-100%);
    opacity: 0;
}

/* Navbar fijo */
.navbar.fixed-top-clean {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    /* opcional, queda elegante */
}

/* Evita que el contenido salte */
body.nav-padding {
    padding-top: 120px;
    /* ajusta según altura total */
}

.zoom {
    transition: transform .2s;
    /* Animation */
}

.text-justify {
    text-align: justify !important;
}

.text-secondary {
    color: #575656 !important;
}

.bg-secondary {
    background-color: #575656 !important;
}

.text-warning {
    color: #EC6707 !important;
}

.bg-warning {
    background-color: #EC6707 !important;
}

.btn-warning {
    background-color: #EC6707 !important;
    border-color: #EC6707 !important;
}

.btn-warning:hover,
.btn-warning:focus {
    background-color: #d85f28 !important;
    /* un poco más oscuro */
    border-color: #d85f28 !important;
}

.btn-outline-warning {
    color: #EC6707 !important;
    border-color: #EC6707 !important;
}

.btn-outline-warning:hover,
.btn-outline-warning:focus {
    background-color: #EC6707 !important;
    color: #fff !important;
    border-color: #EC6707 !important;
}

.zoom:hover {
    transform: scale(1.1);
    -webkit-box-shadow: -2px 2px 14px 12px rgba(0, 0, 0, 0.65);
    -moz-box-shadow: -2px 2px 14px 12px rgba(0, 0, 0, 0.65);
    box-shadow: -2px 2px 14px 12px rgba(0, 0, 0, 0.65);
    z-index: 99;
}

.nav-link {
    color: #EC6707 !important;
    font-size: 1em;
    font-weight: bolder;
}

.nav-link:hover {
    color: #0d0d0d !important;
}

.full-height {
    min-height: calc(100vh - 320px);
    /* ajusta según altura real del header y footer */
}

#content_2 {
    background-image: url("../img/c2.jpg");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.form-floating label {
    color: #575756;
}

label {
    margin-left: 0.5rem;
}

.hero-small {
    background-image: url("../img/contact.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 200px;
}

.about {
    background-image: url("../img/about.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 200px;
}

.btn-wap {
    color: #128c7e;
    font-weight: 600;
    position: fixed;
    bottom: 60px;
    right: 20px;
    z-index: 99;
    font-size: 3.5em;
    outline: none;
    cursor: pointer;
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.btn-wap:hover {
    background-color: rgba(255, 0, 0, 0);
    color: #25d366;
    transition: .1s ease-in;
    -webkit-transition: .1s ease-in;
    -moz-transition: .1s ease-in;
    -o-transition: .1s ease-in;
    -ms-transition: .1s ease-in;
}

.footer {
    color: #fff;
}

.footer a {
    color: rgb(204, 197, 197);
    text-decoration: none;

}

.footer a:hover {
    color: #909090;
}

.footer {
    font-size: 1.2em;
}

#content-header {
    width: 98%;
    padding: 4px 0 0 0;
}

p {
    font-size: 1.2em;
}

/******* Modal *************/

.overlay,
.overlayShow {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(51, 51, 51, 0.7);
    -webkit-appearance: none;
    transition: 2s all;
}

.overlay {
    display: none;
    opacity: 0;
    z-index: 10;
}

.overlayShow {
    display: block;
    opacity: 1;
    z-index: 100001 !important;
}


.modal-dialog {
    max-width: 40%;
}

.modal-dialog.modal-fullscreen {
    width: 100vw;
    max-width: none;
    height: 100%;
    margin: 0;
}

.modal-size-xs {
    max-width: 40%;
}

.modal-size-md {
    max-width: 60%;
}

.modal-size-lg {
    max-width: 80%;
}

.modal-size-xl {
    max-width: 100%;
}

.metric-number {
    font-size: 4rem;
    font-weight: 600;
    text-align: center;
}

@media (max-width: 1368px) {

    html,
    body {
        font-size: 80%;
    }

    p {
        font-size: 1.4em;
    }

    h1 {
        font-size: 2.4em;
    }

    .top-bnn {
        font-size: 0.8em;
        text-align: center !important;
    }

    .brand-logo {
        max-width: 70%;
    }

    .nav-link {
        font-size: 1.4em;
    }

    .about-box-header {
        height: 65px;
    }

    .services {
        min-height: 120px;
    }

}

@media (max-width: 991px) {

    html,
    body {
        font-size: 100%;
    }

    .d-none-sm {
        display: none !important;
    }

    .btn {
        width: 100%;
    }

    .top-bnn {
        font-size: 0.8em;
    }

    .navbar-brand span {
        font-size: 1.2em;
    }

    .nav-link {
        font-size: 1em;
    }

    .brand-logo {
        width: 290px;
    }

    .about-box-header {
        display: none;
    }

    #content_1 {
        padding-top: 0.2em !important;
    }

    .section-title-light {
        font-size: 1.5em;
    }

    .how-border-r {
        border-right: none;
    }

    .modal-dialog {
        max-width: 100%;
    }

    h1 {
        font-size: 1.5em;
    }

    h3 {
        font-size: 1em;
    }

    .modal-size-lg,
    .modal-size-md,
    .modal-size-xl,
    .modal-size-xs {
        max-width: 100%;
    }

    .metric-number {
        font-size: 2rem;
        font-weight: 600;
        color: var(--ecofin-blue);
    }

    @media (min-width: 768px) {
        .metric-number {
            font-size: 2.5rem;
        }
    }
}

@media (max-width: 421px) {
    p {
        text-align: left;
        font-size: 0.9em;
    }

    #content_2 p {
        text-align: center;
    }
}