﻿:root {
    --primary: #6C4CCF;
    --primary-dark: #5639B3;
    --primary-light: #A892F0;
    --accent: #E8D9FF;
    --background: #F7F5FF;
    --text-dark: #1A1A1A;
    --text-light: #FFFFFF;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: var(--background);
    color: var(--text-dark);
}

/* TOP NAV */
.top-nav {
    display: flex;
    justify-content: space-between;
    padding: 15px 30px;
    background: var(--primary-dark);
    color: var(--text-light);
}

    .top-nav a {
        color: var(--text-light);
        margin-left: 20px;
        text-decoration: none;
        font-weight: bold;
    }

        .top-nav a:hover {
            color: var(--primary-light);
        }
.portal-logo {
    height: 70px;
    width: auto;
    object-fit: contain;
}
/* FOOTER */
.footer {
    text-align: center;
    padding: 20px;
    background: var(--primary-dark);
    color: var(--text-light);
    margin-top: 40px;
}
    .footer a {
        color: var(--text-light); /* white */
        text-decoration: none;
        font-weight: bold;
    }

        .footer a:hover {
            color: var(--primary-light); /* soft lavender hover */
        }


/* ROWS */
.row {
    display: flex;
    padding: 60px;
    align-items: center;
    background: var(--background);
}

    .row:nth-child(even) {
        background: var(--accent);
    }

    .row .text {
        flex: 1;
        padding: 20px;
    }

    .row .image {
        flex: 1;
        padding: 20px;
    }

/* IMAGE PLACEHOLDERS */
.img-placeholder {
    width: 100%;
    max-width: 500px; /* adjust this number to your preferred max size */
    margin: 0 auto; /* centers the image container */
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* keeps rounded corners clean */
}

    /* Ensures the image keeps its natural ratio */
    .img-placeholder img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }


/* HERO TEXT STYLING */
.text h1 {
    color: var(--primary-dark);
    font-size: 42px;
    margin-bottom: 15px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.text p {
    color: var(--primary);
    font-size: 20px;
    line-height: 1.6;
}
.text h2,
h2 {
    color: var(--primary-dark);
    font-size: 30px;
    margin-bottom: 15px;
    font-weight: bold;
    position: relative;
}

    .text h2::after,
    h2::after {
        content: "";
        width: 60px;
        height: 4px;
        background: var(--primary-light);
        position: absolute;
        left: 0;
        bottom: -8px;
        border-radius: 2px;
    }

/* CONTACT FORM */
.input, .textarea {
    width: 300px;
    margin-bottom: 10px;
    padding: 10px;
    border: 2px solid var(--primary);
    border-radius: 5px;
}

.btn {
    padding: 12px 25px;
    background: var(--primary);
    color: var(--text-light);
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

    .btn:hover {
        background: var(--primary-dark);
    }
.honeypot {
    display: none;
}

.trap {
    display: none;
}
.success-message {
    text-align: center;
    font-size: 26px;
    font-weight: bold;
    color: var(--primary-dark);
    margin-top: 20px;
    display: block;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    margin-top: 15px;
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    max-width: 280px;
}

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .body-content {
        padding: 0;
    }
}
/* About Page*/
.about-image-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 40px; /* space from the top */
    margin-bottom: 30px; /* optional spacing below */
}

.about-image {
    width: 50%;
    max-width: 900px; /* keeps it from getting too huge on large screens */
    border-radius: 10px; /* optional, looks modern */
    box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* optional, adds depth */
}
.about-info-wrapper {
    width: 80%;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    gap: 40px;
}

.about-info-box {
    flex: 1;
    background: var(--accent); /* soft lavender */
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: var(--primary-dark);
    border: 2px solid var(--primary-light);
}

    .about-info-box h3 {
        margin-top: 0;
        color: var(--primary-dark);
        font-size: 20px;
        margin-bottom: 15px;
    }

    .about-info-box p {
        margin: 8px 0;
        font-size: 16px;
    }
.about-description {
    width: 70%;
    margin: 30px auto;
    text-align: center;
    color: var(--primary-dark);
    font-size: 18px;
    line-height: 1.6;
    background: var(--accent);
    padding: 25px 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 2px solid var(--primary-light);
}
/* Contact Page
    Center the title */
.contact-title {
    text-align: center;
    margin-top: 40px;
    color: var(--primary-dark);
    font-size: 32px;
}

/* Wrapper for the two areas */
.contact-wrapper {
    width: 80%;
    margin: 40px auto;
    display: flex;
    gap: 40px;
    justify-content: center;
}

/* Left and right boxes */
.contact-left, .contact-right {
    flex: 1;
    background: var(--accent);
    padding: 25px;
    border-radius: 10px;
    border: 2px solid var(--primary-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: var(--primary-dark);
}

    /* Right side text styling */
    .contact-right h3 {
        margin-top: 0;
        font-size: 22px;
        color: var(--primary-dark);
    }

    .contact-right p {
        font-size: 17px;
        line-height: 1.6;
    }
.contact-title {
    text-align: center;
    margin-top: 40px;
    margin-bottom: 20px;
    color: var(--primary-dark);
    font-size: 36px;
    font-weight: bold;
    text-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
/*Politica de Privacidad*/
.privacy {
    width: 65%;
    padding-left: 15%;
    padding-right: 15%;
}

    .privacy h2 {
        color: #171bce;
        text-align: center;
    }

    .privacy h3 {
        color: #171bce;
    }
/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
    .contact-wrapper {
        flex-direction: column;
    }

    /* Text box goes on top */
    .contact-right {
        order: 1;
    }

    .contact-left {
        order: 2;
    }
}

