:root {
    --white: #fff;
    --black: #000;
    --grey: #707773;

    --custom-1: #0870D4;
    --custom-2: #17316E;
    --custom-3: #E21C2A;
}

/* Resets */
.img-fluid {
    width: 100%;
}

.product-img {
    max-width: 350px;
}

/* Intro Animations */
.ani-0 {
    animation: fadeInUp 0.8s ease-out;
}

/* Gentle Breathing Animation */
.ani-1 {
    animation: fadeInUp 0.8s ease-out, gentleBreathing 6s ease-in-out 0.8s infinite;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes gentleBreathing {
    0% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.05);
    }
    50% {
        transform: scale(1);
    }
    75% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.noPadding {
    padding: 0;
}

.row {
    padding: 0 !important;
    margin: 0 !important;
}

.row.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.row.no-gutters>[class^='col-'],
.row.no-gutters>[class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

section.noPadding {
    padding: 0em 0;
}


/* Fonts */
body,
input,
textarea,
select {
    font-family: "azo-sans-web", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

h2,
h3,
h4,
h5,
h6 {
    font-family: "azo-sans-web", sans-serif;
    font-display: swap;
}

h1 {
    /* font-size: 3.2em; */
    font-family: "azo-sans-web", sans-serif;
    font-weight: bold;
    font-size: clamp(2rem, 0.7292rem + 2.651vw, 3.125rem);
}

h2 {
    font-family: "azo-sans-web", sans-serif;
    font-weight: bold;
    font-size: 2em;
}

h3 {
    font-family: "azo-sans-web", sans-serif;
    font-size: 2em;
    font-weight: bold;
}

p,
li,
label {
    font-family: "azo-sans-web", sans-serif;
    font-size: 1.2em;
}

.azo {
    font-family: "azo-sans-web", sans-serif;
}

.smallTxt {
    font-family: "azo-sans-web", sans-serif;
    font-size: 0.9em;
    text-align: center;
}

/* links */
a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover,
a:active,
a:focus {
    color: var(--custom-1) !important;
}

/* Colores */

.color-white {
    color: var(--white);
}

.color-black {
    color: var(--black);
}

.color-grey {
    color: var(--grey);
}

.color-fresh {
    color: var(--custom-1);
}

.color-deep {
    color: var(--custom-2);
}

.color-vivid {
    color: var(--custom-3);
}


/* Backgrounds */

.bg-fresh {
    background-color: var(--custom-1);
}

.bg-deep {
    background-color: var(--custom-2);
}

.bg-vivid {
    background-color: var(--custom-3);
}


.bg-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.bg-white {
    background-color: var(--white);
}

/* Contenedores Principales*/

.wrapper {
    background: linear-gradient(0deg,rgba(23, 49, 110, 1) 33%, rgba(8, 112, 212, 1) 77%, rgba(23, 49, 110, 1) 100%);
    overflow: hidden;
    display: grid;
    grid-template-rows: auto 1fr auto;
    min-height: 100dvh;
}

header {
    position: sticky;
    top: 0;
    z-index: 1030;
}

header .header-content {
    border-radius: 24px;
}

.logoxxo {
    border-radius: 0 24px 24px 0;
}

header .btn {
    padding: 0.4em 1.3em !important;
    font-size: .8em;
}

.logo {
    max-height: 50px;
    width: auto;
}

footer {
    background-color: var(--custom-2);
}

.frame-bottom {
    min-height: 100px;
    border-radius: 0 0 20px 20px;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    border: 1px solid #9FA4A2;
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    color: #000;
}

.form-control:focus {
    border-color: #0870D4 !important;
    outline: none !important;
    box-shadow: 0 0 0 0.2rem rgba(0, 132, 61, 0.25) !important;
}

.form-control::placeholder {
    color: #999;
    opacity: 1;
}

label {
    font-weight: 600;
    color: var(--custom-1);
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}

select.form-control {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m1 6 7 7 7-7'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px 12px;
    padding-right: 40px;
}

select.form-control option {
    color: #000;
    background-color: #fff;
}

.btn {
    background-color: var(--custom-2);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    background-color: #0870D4;
    box-shadow: 0 4px 12px rgba(0, 132, 61, 0.3);
}

.combo {
    border: 3px solid #fff;
    border-radius: 20px;
    padding: 10px;
    margin: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}

.combo:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}


/* Otro field transition */
.otro-field {
    transition: all 0.3s ease;
    overflow: hidden;
}

.otro-field.show {
    display: block !important;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        max-height: 100px;
        transform: translateY(0);
    }
}

/* Form container styling */
#contacto-mkt form,
#contacto-risk form,
#contacto-rdd form,
#contacto form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #9FA4A2;
}

.navbar-toggler {
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Navigation styles */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    list-style: none;
}

.nav-btn {
    background-color: var(--custom-2);
    border: none;
    color: white;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-btn:hover {
    background-color: var(--custom-1);
    color: var(--custom-3);
    box-shadow: 0 4px 12px rgba(0, 132, 61, 0.3);
}

.nav-btn a {
    color: var(--custom-3);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
    font-size: .8em;
}


.nav-list a {
    color: var(--custom-1);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.3s ease;
    font-size: .8em;
}

.nav-list a:hover {
    color: var(--custom-2);
}


.hero {
    min-height: 80vh;
    padding-bottom: 40px;
    padding-top: 120px;
    /* Add top padding to account for fixed header */
    background-image: url(https://image.food-solutions.mx/lib/fe3711747364057c711473/m/1/50633ea3-b801-4a76-87b0-bcf565517b5f.png);
    background-size: cover;
    background-position: center bottom;
    background-repeat: no-repeat;
}

.hero .container {
    height: 100% !important;
}

.hero-content {
    margin-top: 350px;
}

.divider {
    border-top: 2px solid #DBDDDC;
    width: 70%;
}

/* Buttons */

.btn {
    min-width: 200px;
    border: 1px solid;
    padding: 0.5em 1.3em !important;
    transition: color 0.4s, border 0.3s;
    position: relative;
    transition: color 0.3s, background-color 0.3s;
    -webkit-border-radius: 0.5rem;
    -ms-border-radius: 0.5rem;
    -o-border-radius: 0.5rem;
    border-radius: 20px;
    border-color: var(--white);
    background-color: var(--custom-1);
    color: var(--white);


    &:hover {
        background-color: var(--custom-2);
        border-color: var(--white);
        color: var(--white);
    }

    &:focus {
        background-color: var(--custom-1);
        border-color: var(--white);
        color: var(--white);
    }

    &:active {
        background-color: var(--custom-2);
        border-color: var(--white);
        color: var(--white);
    }

    &:disabled {
        background-color: var(--custom-2);
        border-color: var(--white);
        color: var(--white);
    }
}

/* LinkedIn icon in circle */
.fab.fa-linkedin-in {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--custom-3);
    color: var(--custom-1);
    font-size: 16px;
}


/* Responsive adjustments */
@media (max-width: 768px) {

    #contacto-mkt form,
    #contacto-risk form,
    #contacto-rdd form,
    #contacto form {
        padding: 1.5rem;
    }

    .form-control {
        font-size: 16px;
        /* Prevents zoom on iOS */
    }

    header .header-content {
        border-radius: 0 0 24px 24px;
    }

    .logoxxo {
        border-radius: 0 0 24px 0;
    }

    .hero {
        background-image: none !important;
        height: auto !important;
    }

    .hero .container {
        height: auto !important;
    }

    .hero-content {
        margin-top: 0;
    }

    .btn {
        min-width: 100%;
    }
}