:root {
    --primary-green: #3D993D;
    --dark-gray: #333;
    --light-gray: #f5f5f5;
    --white: #fff;
    --black: #000;
    --shadow-green: #3d993d25;
}

body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: var(--dark-gray);
    line-height: 1.6;
}

*, *::before, *::after {
    box-sizing: inherit;
}

.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 4vw 0.3rem;
    background-color: var(--white);
    border-bottom: 1px solid var(--light-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #185718;
}

.logo img {
    height: 80px;
}

.hidden{
	display:none !important;
}
	

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin-left: 1.5vw;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 600;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.main-nav ul li a:hover {
    color: var(--primary-green);
}

.main-nav ul li.active a {
    color: var(--primary-green);
    border-bottom: 2px solid var(--primary-green);
    padding-bottom: 5px;
}

.login-button {
    background-color: var(--white);
    color: var(--dark-gray) !important;
    border: 2px solid var(--dark-gray);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out !important;
}

.agent-button {
    background-color: var(--primary-green);
    color: var(--white) !important;
    border: 2px solid var(--primary-green);
    padding: 0.75rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease-in-out !important;
}

.agent-button:hover {
    background-color: #307a30;
    border-color: #307a30;
}

.login-button:hover {
    background-color: var(--shadow-green);
    color: var(--primary-green) !important;
    border: 2px solid var(--primary-green) !important;
}

.hero-section {
    position: relative;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./assets/ofxbetsbg3.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-left: 7vw;
    width: 50%;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-content h1 {
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 80%;
}

.hero-button {
    display: inline-block;
    background-color: var(--primary-green);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
    border: 2px solid var(--primary-green);
}

.hero-button:hover {
    background-color: #307a30;
    border-color: #307a30;
}

.hero-graphic {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 60%;
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.features-section {
    background-color: var(--white);
    padding: 4rem 5vw;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 2rem;
}

.feature-card {
    background-color: var(--white);
    border: 1px solid var(--light-gray);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    width: 28%;
    min-width: 280px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-card img {
    height: 70px;
    margin-bottom: 0.8rem;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--primary-green);
    width: fit-content;
    margin: 0 auto;
}

.feature-card p {
    font-size: 0.95rem;
    color: #666;
}

.main-footer {
    background-color: var(--black);
    color: rgba(192, 192, 192, 0.733);
    text-align: center;
    padding: 1rem 5vw 0.2rem;
    font-size: 0.85rem;
}

.main-footer ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.main-footer ul li a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.main-footer ul li a:hover {
    color: var(--primary-green);
}

@media (max-width: 1024px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .hero-content p {
        font-size: 1rem;
    }
    .hero-graphic {
        width: 70%;
    }
    .feature-card {
        width: 45%;
    }
}

@media (max-width: 768px) {

    .hero-background {
        background-image: url(./assets/bg-mobi.png);
        background-position: center bottom;
    }
    .main-header {
        padding: 1rem 3vw;
    }
    .logo img{
        height: 60px;
    }
    .login-button{
        padding: 10px;
    }
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        /* margin-top: 1rem; */
    }
    .main-nav ul li {
        margin: 0.5rem 1vw;
    }
    .hero-section {
        height: auto;
        flex-direction: column;
        text-align: center;
    }
    .hero-content {
        width: 90%;
        padding: 1.5rem 0  3rem 0;
        margin: 0 auto;
    }

    .hero-content p{
        text-align: center;
        margin: 15px auto 25px;
    }

    .hero-graphic {
        position: static;
        width: 100%;
        height: 40vh;
        background-position: center;
    }
    .features-section {
        flex-direction: column;
        align-items: center;
    }
    .feature-card {
        width: 90%;
        max-width: 400px;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-content p {
        font-size: 0.9rem;
    }
}

.modal-info{
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.modal-content{
    width: 95%;
    max-width: 400px;
    padding: 25px;
    background-color: #a8aeb9;
    color: #000000;
    border-radius: 3px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: justify;
    letter-spacing: 1px;
    font-weight: 500;
    line-height: 20px;
    border: 1px solid #bbbbbb;
    position: relative;
}

.modal-content-span{
    text-decoration: underline;
    font-weight: 600;
    color: #fff;
}
.modal-title{
    font-weight: 600;
}
.modal-close2{
    position: absolute;
    right: 10px;
    top: 10px;
    transition: all 0.3s ease-in-out;
    font-weight: 600;
    font-size: 16px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-align: center;
    color: rgba(0, 0, 0, 0.767);
    background-color: rgba(0, 0, 0, 0.08);
}
.modal-close2:hover{
    cursor: pointer;
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.267);
}

.modal{
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.664);
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 9999;
}

.modal-card{
    background-color: whitesmoke;
    padding: 30px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    width: 95%;
    max-width: 400px;
    gap: 20px;
    position: relative;
    border: 1px solid var(--dark-gray);
}

.modal-inputs{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-card h2{
    text-transform: uppercase;
    color: #333333;
    margin: 0;
}

.divider{
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, var(--primary-green), transparent);
}

.modal-inputs input{
    height: 35px;
    width: 100%;
    border-radius: 5px;
    border: 1px solid #333333;
    padding: 0 20px;
    color: #333333;
    font-size: 16px;
    font-weight: 600;
}

.modal-inputs input::placeholder{
    color: #3333339f;
    font-size: 14px;
}

.modal-inputs input:focus{
    border: #cc0c25;
    outline: 2px solid #970216;
}

.modal-inputs div{
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
}

.modal-inputs div label{
    font-size: 14px;
    font-weight: 600;
    color: #424242;
}

.modal-button{
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

.modal-close{
    position: absolute;
    top: 25px;
    right: 25px;
    font-size: 20px;
    font-weight: 600;
    padding: 3px;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.4s all ease-in-out;
    cursor: pointer;
}

.modal-close:hover{
    background-color: #333333;
    color: white;
}

.aparecer{
    animation: aparecer 0.5s forwards;
}

.eye-password{
    width: 25px;
    position: absolute;
    right: 15px;
    bottom: 5px;
}

.modal-button{
    width: 100%;
    margin-top: 20px;
}
