/* service-website
  001 - generales
  002 - side_bar
*/

/* 001 - generales */

html {
    box-sizing: border-box;
    font-size: 16px;
    font-family: "Roboto", sans-serif;;
    scroll-behavior: smooth;
}
    
*,
*::after,
*::before {
   box-sizing: inherit;
}
    
body {
   margin: 0;
   padding: 0;
   overflow-x: hidden;
}

ul{
    list-style-type: none;
    padding: 0;
    margin: 0;
}

a{
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6, p{
    padding: 0;
    margin: 0;
}

h4{
    color: #747474;
    font-size: 1.2rem;
}

section, main, footer{
    position: relative;
    margin-top: 80px;
    padding-left: 80px;
}

/*002 - side_bar*/

.side_bar{
    width:100px;
    height: 100vh;
    background-color: #33507d;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 25px 2px;
    z-index: 9999;
}

.ul_nav{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ul_nav li{
    writing-mode: vertical-rl;
    transform: rotate(-180deg);
    color: #fff;
    padding: 15px;
    height: max-content;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
}

.a_nav {
    color: #fff;
    transition: 0.3s;
}

.ul_nav li:hover{
    transform: rotate(-90deg);
    color: #96989a;
}

.ul_nav li:hover .a_nav{
    color: #96989a;
}

.btn_nav{
    height: 40px;
    width: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 1fr);
    background-color: transparent;
    outline: none;
    border: none;
    padding: 0; 
    align-items: center;
    justify-items: center;
    cursor: pointer; 
}

.span_btn_nav{
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.btn_nav:hover .span_btn_1, .btn_nav:hover .span_btn_3, .btn_nav:hover .span_btn_4, .btn_nav:hover .span_btn_5, .btn_nav:hover .span_btn_6, .btn_nav:hover .span_btn_7, .btn_nav:hover .span_btn_9{
    background-color: #96989a;
}

.sub_nav{
    width: 360px;
    height: 80vh;
    background-color: #33507d;
    position: absolute;
    left: 80px;
    top: 10%;
    border-radius: 0 10px 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.a_nav_hidden{
    opacity: 1;
    visibility: visible;
}

.ul_sub_nav{
    width: 90%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}

.ul_sub_nav li{
    background-color: #96989a;
    padding: 12px;
    
}

.a_sub_nav{
    color: #33507d;
    font-weight: 700;
    font-size: 1.1rem;
}

/* 003 hero */

.hero, .hero_container{
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.vid_header{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 9000;
}

.img_header{
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    z-index: 9100;
}

.info_header{
    position: absolute;
    z-index: 9200;
    width: 50%;
    right: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding-right: 3%;
    padding-top: 12%;
}

.logo_nav{
    width: 60%;
    object-fit: cover;
}

.h1_header{
    width: 80%;
    margin: 30px 0;
    color: #fff;
    font-size: 2.3rem;
    text-align: right;
}

.subtitle_header{
    padding: 15px;
    width: 98%;
    font-size: 1.2rem;
    font-weight: 400;
    color: #a8abad;
    text-align: right;
}

.btn_link{
    outline: 0;
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    background: #40B3A2;
    min-width: 200px;
    border: 0;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
    box-sizing: border-box;
    margin-top: 30px;
    padding: 16px 20px;
    color: #fff;
    font-size: 16;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    overflow: hidden;
    cursor: pointer;
    align-self: center;
  }
  
  .btn_link:hover {
    opacity: .95;
  }
  
  .btn_link .animation {
    border-radius: 100%;
    animation: ripple 0.6s linear infinite;
  }
  
  @keyframes ripple {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
    }
  
    100% {
      box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
    }
  }

  /*servicios index */

h2 {
    font-size: 2rem;
    text-align: center;
    color: #33507d;
}

.acordeon_content{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.servicios_in_text{
    font-size: 1.6rem;
    line-height: 1.5;
    width: 30%;
    min-width: 35px;
    text-align: justify;
    color: #96989a;
}

.accordion {
    margin-top: 20px;
    width: 50%;
}

.accordion-item {
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-bottom: 10px;
    overflow: hidden;
    background: #fff;
}

.accordion-header {
    padding: 15px;
    background: #007acc;
    color: #fff;
    cursor: pointer;
}

.accordion-header h3 {
    margin: 0;
}

.accordion-content {
    padding: 15px;
    display: none;
    animation: slideDown 0.3s ease-in-out;
}

.accordion-content p {
    margin: 0 0 10px;
    color: #96989a;
    line-height: 1.5;
}

.accordion-content img {
    height: 280px;
    border-radius: 5px;
}

.accordion-item.active .accordion-content {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.elegirnos_in_content{
    display: flex;
    justify-content: space-around;
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

.elegirnos_img_flex{
    width: 30%;
    object-fit: cover;
}

.elegirnos_in_grid{
    width: 60%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.elegirnos_in_item{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.elegirnos_in_imgrid{
    height: 100px;
    margin: 20px auto;
}

.elegirnos_in_text_grid{
    line-height: 1.5;
    color: #96989a;
    text-align: center;
}

/* From Uiverse.io by DavidTM96 */ 

.contacto_in{
    padding-left: 80px;
}

.contacto_in_container{
    display: flex;
    justify-content: space-around;
    background-color: #000;
    padding: 40px;
    border-radius: 0 25px 0 0;
    margin-top: 40px;
}

.contacto_in_info{
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px 0;
}

.contacto_in_text{
    color: #64ffda;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.5;
}

.social_contact{
    display: flex;
    flex-direction: column;
}

.social_contact_item{
    margin-top: 20px;
}

.contact_in_a{
    color: #f8f8f8;
    font-size: 1.3rem;
}

.social_contact .fa-brands, .social_contact .fa-solid{
    color: #64ffda;
    font-size: 1.5rem;
    margin-right: 15px;
}

.form {
    display: flex;
    flex-direction: column;
    align-self: center;
    font-family: inherit;
    gap: 10px;
    padding-inline: 2em;
    padding-bottom: 0.4em;
    background-color: #171717;
    border-radius: 20px;
}
  
  .form-heading {
    text-align: center;
    margin: 2em;
    color: #64ffda;
    font-size: 1.2em;
    background-color: transparent;
    align-self: center;
}
  
  .form-field {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5em;
    border-radius: 10px;
    padding: 0.6em;
    border: none;
    outline: none;
    color: white;
    background-color: #171717;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}
  
  .input-field {
    background: none;
    border: none;
    outline: none;
    width: 100%;
    color: #fff;
    padding-inline: 1rem;
    font-size: 1rem;
    font-weight: 600;
}

  .input-field::placeholder{
    color: #64ffda;
    font-size: 0.8rem;
}

  .textarea_resize{
    resize: none;
    height: 4rem;
}
  
  .sendMessage-btn {
    cursor: pointer;
    margin-bottom: 3em;
    padding: 1em;
    border-radius: 10px;
    border: none;
    outline: none;
    background-color: transparent;
    color: #64ffda;
    font-weight: bold;
    outline: 1px solid #64ffda;
    transition: all ease-in-out 0.3s;
}
  
  .sendMessage-btn:hover {
    transition: all ease-in-out 0.3s;
    background-color: #64ffda;
    color: #000;
    cursor: pointer;
    box-shadow: inset 2px 5px 10px rgb(5, 5, 5);
}
  
  .form-card1 {
    width: 40%;
    background-image: linear-gradient(163deg, #64ffda 0%, #64ffda 100%);
    border-radius: 22px;
    transition: 0.3s;
}
  
  .form-card1:hover {
    box-shadow: 0px 0px 30px 1px rgba(100, 255, 218, 0.3);
}
  
  .form-card2 {
    border-radius: 0;
    transition: 0.2s;
}
  
  .form-card2:hover {
    transform: scale(0.98);
    border-radius: 20px;
}
  
  .copy{
    text-align: center;
    font-size: 0.7rem;
    color: #fff;
}

.button2 {
    display: inline-block;
    transition: all 0.2s ease-in;
    position: fixed;
    overflow: hidden;
    z-index: 950;
    color: #090909;
    padding: 0.7em 3.3em 0.7em 1.7em;
    font-size: 18px;
    bottom: 80px;
    right: 0;
    border-radius: 0.5em;
    background: #e8e8e8;
    border: 1px solid #e8e8e8;
    
  }
  
  .button2 > svg {
    height: 30px;
    position: absolute;
    padding: 0px 5px;
    margin-top: -4px;
  }
  
  .button2:active {
    color: #666;
    box-shadow: inset 4px 4px 12px #c5c5c5,
               inset -4px -4px 12px #ffffff;
  }
  
  .button2:before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleY(1) scaleX(1.25);
    top: 100%;
    width: 140%;
    height: 180%;
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
  }
  
  .button2:after {
    content: "";
    position: absolute;
    left: 55%;
    transform: translateX(-50%) scaleY(1) scaleX(1.45);
    top: 180%;
    width: 160%;
    height: 190%;
    background-color: #009087;
    border-radius: 50%;
    display: block;
    transition: all 0.5s 0.1s cubic-bezier(0.55, 0, 0.1, 1);
    z-index: -1;
  }
  
  .button2:hover {
    color: #ffffff;
    border: 1px solid #009087;
  }
  
  .button2:hover:before {
    top: -35%;
    background-color: #009087;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
  }
  
  .button2:hover:after {
    top: -45%;
    background-color: #009087;
    transform: translateX(-50%) scaleY(1.3) scaleX(0.8);
  }
  

/*nosotros*/

.mv_container{
 display: flex;
 margin: 50px auto;
 justify-content: space-evenly;
}

.mision_vision{
    width: 40%;
}

.card {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    
}

.shadow {
    box-shadow: 0.2em 0.2em 1em rgba(0,0,0,0.3);
}
   
.mvv_h3{
    color: #40B3A2;
    margin-bottom: 25px;
    text-align: center;
    font-size: 1.5rem;
}

.mvv_text{
    color: #747474;
    line-height: 1.5;
    font-size: 1.1rem;
}

.mvv_text li{
    text-align: center;
}

.container_flex{
    margin: 15px auto 30px;
    display: flex;
    justify-content: space-evenly;
    align-items: center;

}

.mvv_text_margin{
    width: 65%;
}

.complemento_img{
    width: 30%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0.2em 0.2em 1em rgba(0,0,0,0.3);
}

/* Estilos generales */
.main_thankyou {
    padding: 40px 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px); /* Resta el tamaño del header y footer */
    background-color: #f9f9f9;
}

/* Sección de éxito */
.thankyou_section, .error_section {
    text-align: center;
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.thankyou_message {
    font-size: 1.8em;
    color: #003a68;
    margin-bottom: 20px;
}

.thankyou_text, .error_text {
    font-size: 1em;
    color: #555;
    margin-bottom: 30px;
}

.thankyou_button, .error_button {
    display: inline-block;
    text-decoration: none;
    background-color: #0069d9;
    color: #ffffff;
    padding: 10px 20px;
    font-size: 1em;
    border-radius: 5px;
    transition: background 0.3s;
}

.thankyou_button:hover, .error_button:hover {
    background-color: #004ea6;
}

/* Sección de error */
.error_message {
    font-size: 1.8em;
    color: #d9534f;
    margin-bottom: 20px;
}

/* Responsividad */
@media (max-width: 768px) {
    .main_thankyou {
        padding: 20px;
    }

    .thankyou_section, .error_section {
        padding: 20px;
    }

    .thankyou_message, .error_message {
        font-size: 1.5em;
    }

    .thankyou_text, .error_text {
        font-size: 0.9em;
    }

    .thankyou_button, .error_button {
        font-size: 0.9em;
    }
}

@media screen and (max-width:1019px) {

    .acordeon_content{
        flex-direction: column;
    }

    .servicios_in_text{
        width: 90%;
        margin-top: 60px;
    }

    .accordion, .contacto_in_info, .form-card1{
        width: 90%;
    }

    .accordion-content img {
        width: 70%;
        height: auto;
    }

    .elegirnos_in_content{
        flex-direction: column;
    }

    .elegirnos_in_grid{
        width: 90%;
    }

    .elegirnos_img_flex{
        width: 90%;
        height: 400px;
        margin-top: 50px;
    }

    .revers{
        flex-direction: column-reverse;
    }

    .contacto_in_container{
        flex-direction: column-reverse;
        align-items: center;
        padding: 20px;
    }

    
}

@media screen and (max-width:750px) {

    section, main, .contacto_in{
        padding-left: 25px;
    }
    
    .elegirnos_in_grid{
        grid-template-columns: repeat(1, 1fr);
    }

    .side_bar{
        width: 45px;
    }

    .sub_nav{
        width: 300px;
        left: 40px;
    }

    .btn_nav{
        display: none;
    }


    .ul_nav li:hover{
        transform: rotate(0deg);
        color: #96989a;
    }

    .info_header{
        width: 90%;
    }

    .contact_in_a{
        font-size: 1rem;
    }

    .mv_container{
        flex-direction: column;
        align-items: center;
    }

    .mision_vision {
        width: 95%;
        margin-top: 40px;
    }

    .container_flex{
        flex-direction: column;
        align-items: center;
    }

    .container_flex{
        width: 95%;
    }

    .mvv_text_margin {
        width: 100%;
    }

    .complemento_img {
        width: 85%;
        margin-top: 30px;
    }

    .subtitle_header{
        color: #fff;
        text-shadow: 1px 1px 1px #000;
    }
}

/* Header */
.header-privacy {
    background-color: #007acc;
    color: #fff;
    padding: 50px 20px;
    text-align: center;
}

.header-privacy h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.header-privacy p {
    font-size: 1.2em;
}

/* Main Content */
.main-privacy {
    max-width: 800px;
    margin: 20px auto;
    padding: 0 15px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section {
    padding: 20px;
    border-bottom: 1px solid #ddd;
}

.section:last-child {
    border-bottom: none;
}

.section h2 {
    color: #007acc;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.section p, .section ul {
    font-size: 1em;
    margin: 10px 0;
}

.section ul {
    padding-left: 20px;
}

/* Footer */
.footer {
    background: #333;
    color: #fff;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
}

/* Responsividad */
@media (max-width: 768px) {
    .header-privacy h1 {
        font-size: 2em;
    }

    .header-privacy p {
        font-size: 1em;
    }

    .section h2 {
        font-size: 1.3em;
    }
}