﻿body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    /***Original***/
    /*--bknd: antiquewhite;
    --btn: #e9d7bf;
    --btnSelected: #ce9b2c;
    --btnLetters: #644738;*/
    /***Blue***/
    /*--bknd: #325D79;
    --btn: #F9A25C;
    --btnSelected: #F25627;
    --btnLetters: #fff;*/
    /***OrangeTan***/
    /*--bknd: #F9A25C;
    --btn: #325D79;
    --btnSelected: #F25627;
    --btnLetters: #fff;*/
    /***Blood***/
    /*--bknd: #9E0701;
    --btn: #325D79;
    --btnSelected: #F25627;
    --btnLetters: #fff;*/
    /***Acqua***/
    /*--bknd: #9ad7d0;
    --btn: #325D79;
    --btnSelected: #F25627;
    --btnLetters: #fff;*/
    /***Pearl***/
    /*--bknd: #f7f2e0;
    --btn: #dac2b2;
    --btnSelected: #bf897f;
    --btnLetters: #fff;*/
    /***Verdes***/
    /*--bknd: #BED2BA;
    --btn: #8daf9b;
    --btnSelected: #6a7a5a;
    --btnLetters: #fff;*/
    /***CosmosBlue***/
    /*    --bknd: #003049;
    --btn: #fdf0d5;
    --btnSelected: #669bbc;
    --btnLetters: #fff;*/
    /***CosmosRed***/
    /*    --bknd: #003049;
    --btn: #c1121f;
    --btnSelected: #780000;
    --btnLetters: #fff;*/
    /***Ivory***/
    /*    --bknd: #fdf0d5;
    --btn: #003049;
    --btnSelected: #669bbc;
    --btnLetters: #fff;*/
    /***SlateGray***/
    --bknd: #617891;
    --btn: #d5b893;
    --btnSelected: #25344f;
    --btnLetters: #fff;
    /***TanCoffee***/
    /*    --bknd: #d5b893;
    --btn: #6f4d38;
    --btnSelected: #632024;
    --btnLetters: #fff;*/
    /***PalidGray***/
    /*--bknd: #d3c3b9;
    --btn: #a79e9c;
    --btnSelected: #b58863;
    --btnLetters: #fff;*/

    /*overflow-x: hidden;*/ /* Prevents horizontal scrolling issues */
}
/**** Colors stop replace ***
Background: antiquewhite
Button1: #e9d7bf
Button1Selected: ##ce9b2c*/

header {
    /*background-image: url('../images/Immigration Online (Small).jpg');*/
    /*display: flex;*/
    /*flex: 1;*/
    background-color: #ecdfc3;
    width: 100%;
    /*height: 350px;*/
    padding-top: 110px;
    /*background-color: #9f5326;*/
    margin-top: 0;
    max-width: 1400px;
}

.headerImage {
    width: 100%;
}
#ImageLogo {
    width: 35vw;
    max-width: 400px;
}
.headerContainer {
    max-height: 420px;
    display: flex;
    flex-direction: column;
    grid-template-rows: auto;
    background-color: #eedab0;
    justify-content: center;
}

.headerContainerItem1 {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: auto;
    margin-bottom: auto;
    /**/
}

nav {
    background-color: var(--bknd);
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 1000; /* Ensure navbar stays on top */
    max-width: 1400px;
}

.navMenu {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 1;
}

.navMenuButton {
    text-decoration: none;
    color: var(--btnLetters);
    background-color: var(--btn);
    padding: 10px 15px;
    height: 100%;
    display: flex;
    flex: 1;
    align-items: center;
    margin: 2px 5px;
    border-radius: 15px;
    border-color: #d3b8aa;
}

    .navMenuButton:hover {
        text-decoration: none;
        color: white;
        background-color: var(--btnSelected);
        padding: 10px 15px;
        height: 100%;
        display: flex;
        flex: 1;
        align-items: center;
        margin: 2px 5px;
        border-radius: 15px;
        border-color: #d3b8aa;
    }

.navMenuButtonSelected {
    text-decoration: none;
    color: white;
    background-color: var(--btnSelected);
    padding: 10px 15px;
    height: 100%;
    display: flex;
    flex: 1;
    align-items: center;
    margin: 2px 5px;
    border-radius: 15px;
    border-color: #d3b8aa;
}

.navSidebar {
    position: fixed;
    top: 15px;
    right: 0;
    height: 50vh;
    width: 250px;
    z-index: 999;
    background-color: rgb(250, 235, 215, 0.33);
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px #808080;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.navSidebarButton {
    text-decoration: none;
    color: var(--btnLetters);
    background-color: var(--btn);
    padding: 10px 15px;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 2px 5px;
    border-radius: 15px;
    border-color: #d3b8aa;
}

    .navSidebarButton:hover {
        text-decoration: none;
        color: white;
        background-color: var(--btnSelected);
        padding: 10px 15px;
        width: 100%;
        display: flex;
        align-items: center;
        margin: 2px 5px;
        border-radius: 15px;
        border-color: #d3b8aa;
    }

.navSidebarButtonSelected {
    text-decoration: none;
    color: white;
    background-color: var(--btnSelected);
    padding: 10px 15px;
    width: 100%;
    display: flex;
    align-items: center;
    margin: 2px 5px;
    border-radius: 15px;
    border-color: #d3b8aa;
}

.navLogo {
    margin-right: auto;
}
#divMenuH {
    display: none;
}
.menu-icon {
    width: 40px; /* or whatever size you prefer */
    height: auto; /* maintains aspect ratio */
    cursor: pointer; /* makes it clickable */
}

/*************************** Hero Section *******************************/
.hero-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1 1 500px;
    padding: 20px;
}

    .hero-content h1 {
        font-size: 2.5rem;
        color: #3d556f;
        text-align: center;
        margin-bottom: 10px;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        color: #466e9a;
    }

    .hero-content p {
        font-size: 1rem;
        color: #3d556f;
        line-height: 1.6;
    }

.hero-image {
    flex: 1 1 500px;
    padding: 20px;
    text-align: center;
}

    .hero-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
/*************************** Features Section *******************************/

.feature-link {
    text-decoration: none;
    display: block;
    color: inherit;
}

.feature-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: #ecdfc3;
}

.feature-box {
    flex: 0 0 calc(33.333% - 10px); /* 3 items minus gap */
    background-color: #617891;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    padding: 20px;
    text-align: center;
    color: #fff;
}

    /*.feature-box img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 0.5;*/ /* height = 2x width */
        /*object-fit: cover;
        border-radius: 8px;
        margin-bottom: 15px;
    }*/

    .feature-box h3 {
        font-weight: bold;
        margin-bottom: 10px;
    }

    .feature-box p {
        font-size: 0.95rem;
        color: #fff;
    }
    .feature-box:hover {
        background-color: #577ea9; /* or any highlight color */
        cursor: pointer;
    }

.feature-icon {
    width: 200px;
    height: 200px;
    border-radius: 50%; /* Makes the image perfectly circular */
    object-fit: cover; /* Ensures the image fills the circle without distortion */
    display: block;
    margin: 0 auto; /* Optional: centers the icon horizontally */
}
/*************************** Info Section *******************************/
.info-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.info-image {
    flex: 0 0 30%;
    text-align: center;
}

    .info-image img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }

.info-details {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-box {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

    .info-box img {
        width: 100px;
        height: 100px;
        margin-top: 3px;
    }

    .info-box strong {
        display: block;
        font-weight: bold;
        margin-bottom: 5px;
    }

    .info-box p {
        margin: 0;
        font-size: 0.95rem;
        color: #555;
    }
.info-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 40px 20px;
    max-width: 1400px;
    margin: 0 auto;
    background: #ecdfc3;
}

.info-column {
    flex: 1 1 40%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section-heading {
    text-align: center;
    font-size: 2rem;
    /*margin-bottom: 40px;*/
    color: #003366;
}
.info-section {
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}
/*************************** Action Section *******************************/
.action-section {
    text-align: center;
    padding: 40px 20px;
}

    .action-section h2 {
        font-size: 1.2rem;
        margin-bottom: 30px;
        color: #003366;
    }

.button-group {
    display: inline-flex;
    gap: 40px;
    justify-content: center;
}

.actionButton {
    padding: 10px 16px;
    font-size: 0.95rem;
    background-color: #617891;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

    .actionButton:hover {
        background-color: #003f7f;
    }
/*************************** Questions *******************************/
.divQuestionsContainer {
    width: 70%;
    /*height: 60%;*/
    background-color: #ecdfc3;
    margin-left: 15%;
    margin-top: 20%;
    padding: 25px 20px;
    border-radius: 15px;
    color: #3d556f;
}

/*************************** Footer *******************************/

/*Politica de Privacidad*/
.privacy {
    width: 65%;
    padding-left: 15%;
    padding-right: 15%;
}

    .privacy h2 {
        color: #171bce;
        text-align: center;
    }

    .privacy h3 {
        color: #171bce;
    }
/*************************** Footer *******************************/

.site-footer {
    background-color: #617891; /* or use your --bknd variable */
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}

    .site-footer a {
        color: #fff;
        text-decoration: underline;
        transition: color 0.3s ease;
    }

        .site-footer a:hover {
            color: #b58863; /* or use your --btnSelected variable */
        }
/*************************** Media query *******************************/
@media (max-width: 800px) {
    .TelPreguntas {
        width: 30%;
    }

    .actionButton {
        font-size: large;
        height: 35px;
    }

    .headerContainerItem1 {
        max-width: 800px;
        height: auto;
    }

    .navMenu {
        max-width: 100%;
    }

    .navMenuButton {
        display: none;
    }

    .navMenuButtonSelected {
        display: none;
    }

    .menu {
        display: none;
        flex-direction: column;
    }

        .menu.open {
            display: flex;
        }

    .hamburger-menu {
        display: flex;
    }

    nav ul li {
        margin: 0;
    }

        nav ul li a {
            padding: 10px;
            text-align: center;
        }

    #divMenuX {
        display: flex;
    }

    #ImageButtonH {
        display: flex;
    }

    header {
        padding-top: 80px;
    }
    .info-box img {
        width: 60px;
        height: 60px;
        margin-top: 3px;
    }
    /*************************** Hero Section *******************************/
    .hero-section {
        flex-direction: column-reverse;
        text-align: center;
        align-items: stretch; /* ensures children can size independently */
    }

    .hero-content {
        flex: none; /* disables flex-grow/flex-shrink */
        height: auto; /* allows natural height */
        padding: 10px;
    }

    .hero-image {
        flex: none;
        height: auto;
        padding: 10px;
    }

        .hero-content h1 {
            font-size: 2rem;
        }

        .hero-content h2 {
            font-size: 1.2rem;
        }
    /*************************** Features Section *******************************/

    .feature-section {
        display: flex;
        flex-direction: column;
    }

    .feature-box {
        flex: 1 1 100%;
        margin-bottom: 20px;
    }
    /*************************** Info Section *******************************/
    .info-row {
        flex-direction: column;
    }

    .info-image, .info-details {
        flex: 1 1 100%;
    }

        .info-image img {
            max-width: 100%;
        }
    .divQuestionsContainer {
        width: 90%;
        /*height: 60%;*/
        background-color: #ecdfc3;
        margin-left: 5%;
        margin-top: 20%;
        padding: 25px 5px;
        border-radius: 15px;
    }
    .parQuestion {
        font-family: Arial, Helvetica, sans-serif;
        font-size: x-large;
        color: #000099;
        text-align: left;
    }
    /*************************** Footer *******************************/
    .site-footer {
        grid-template-columns: 1fr;
        grid-template-areas:
            "text1"
            "text2"
            "image";
        text-align: center;
    }

    .footer-text {
        margin-bottom: 10px;
    }

    .footer-image {
        margin-top: 10px;
    }



}
/*************************** Media query *******************************/
@media (max-width: 700px) {
    .info-grid {
        flex-direction: column;
    }

    .info-column {
        flex: 1 1 100%;
    }

}