:root {
    --primary: #233f67;
    --primary-dark: #1b3353;
    --light: #f2f2f2;
    --white: #ffffff;
    --text-light: #dcdcdc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.popupContent{
    position: absolute;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.popup{
    width: 300px;
    height: auto;
    background-color: #dcdcdc;
    border-radius: 5px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 5px;
}
.popup p{
    text-align: end;
    width: 100%;
    font-size: 12pt;
}
.popup h3{
    font-size: 15pt;
    color: #1b3353;
}
.popup h4{
    font-size: 35pt;
    color: #233f67;
}
.preloader{
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #233f67;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader img{
    height: 150px;
    animation: pulseLogo 1s ease-in-out infinite;
}
@keyframes pulseLogo {
    0% {
        opacity: 0.4;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0.4;
        transform: scale(0.95);
    }
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
body {
    font-family: "Georgia", serif;
    line-height: 1.6;
    color: #333;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: auto;
}

.top-header {
    background: var(--primary);
    color: var(--white);
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color:#fff;
}

.logo img{
    height: 80px;
}

.header-info h1 {
    font-size: 26px;
    font-weight: normal;
    
}

.subtitle {
    font-size: 14px;
    letter-spacing: 1px;
}



.navbar {
    background-color: #233f67;
    position: relative;   
    z-index: 1;
    

}


.navbar i{
    margin-right: 5px;
    font-size: 14px;
}

.navbar a {
    display: block;
    padding: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ;
}

.navbar a:hover,
.navbar a.active {
    border-bottom-color: #fff;
    background-color: #1b3353;
}
.menu {
    list-style: none;
    display: flex;
    justify-content: space-around;
    gap: 20px;
    border-top-style: solid;
    border-top-width: 0.5px;
    border-top-color: #fff;   
}

.menu li {
    position: relative;
    padding: 2px;
}


.submenu {
    
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--primary-dark);
    list-style: none;
    padding: 10px 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s ease;
}
.submenu li {
    margin: 0; 
}

.submenu a {
    display: block;
    padding: 10px 20px;
    white-space: nowrap;
}


.dropdown.active > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
@media (min-width: 769px) {
  .dropdown:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}


.inicio{
    display: flex;
    flex-direction: column;
}
.hero {
    background: url('../img/fondo.png') center/cover no-repeat;
    height: 430px;
    position: relative;
    display: flex;
    width: 100%;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.55);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding: 20px;
}

.hero-overlay h2 {
    font-size: 36px;
    font-weight: normal;
}
.content{
    display: none;
}
.active{
    display:flex;
}
.tittle{
    text-align: center;
    padding-block: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
    background-color: #1b3353;
}

.psl{
    flex-direction: column;
    text-align: justify;
    justify-content: center;
    align-items: center;

}
.tittle h1{
    font-weight: 500;
    color: #dcdcdc;
}
.tittle h2{
    font-weight: 500;
    font-size: 15pt;   
    color: #dcdcdc;
}
.tittle hr{
    width: 10%;
}

.text{
    display: flex;
    flex-direction: column;
    width:70%;
    padding-block: 30pt;
    gap: 20px;
}
.text p{
    color: #4e4e4e;
    font-size: 12pt;
    font-weight: 400;
}
.text h3{
    font-weight: 550;
    color: #1b3353;
}
.text ul, .text li{
    color: #4e4e4e;
    font-size: 12pt;
    font-weight: 400;
}
.text hr{

  margin: 10px 0;
}
.imgnot{
    display: flex;
    justify-content: center;
    align-items: center;
}
.imgnot img{
    width: 200px;
    height: auto;
    border-radius: 50%;
}
.contacto{
    justify-content: center;
    align-items: center;   
    min-height: 80vh;
    padding: 10px;
}
.contentContact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    padding: 10px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;

}
.contentContact h1{
    color: #233f67;
    font-size: 25pt;
}
.contentContact h3{
    font-size: 12pt;
    font-weight: 500;
    width: 60%;
    text-align: center;
    margin-bottom: 10px;
}
.grid{
    display: flex;
    flex-direction: row;
    width: 100%;
}
.info{
    display: flex;
    flex-direction: column;
}
.info h3{
    text-align: left;
}
.ubicacion{
    padding: 10px;
    width: 100%;
}
.ubicacion iframe{
    height: 300px;
}

.info-section {
    background: var(--primary);
    color: var(--white);
    padding: 40px 0;
}
.phones{
    display: flex;
    text-align: center;
    justify-content: space-between;
    margin-bottom: 5px;
}
.phones a{
    text-decoration: none;
    color: #1b3353;
    text-decoration: underline;
}
.boton{
    display: flex;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}
.boton a{
    text-decoration: none;
    padding:5px;
    background-color: #1b3353;
    color: #dcdcdc;
    border-radius: 3px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);

}
.formulario{
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.formulario form{
    display: flex;
    flex-direction: column;
    gap :15px;
    width: 90%;
}
.formulario input,textarea{
    padding: 5px;
}
.formulario input[type="submit"] {
    background-color: #1b3353;
    color: #dcdcdc;
    border-radius: 3px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    padding: 5px;
}
.info-grid {
    display: grid;
    align-items: center;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}



.info-block h3 {
    margin-bottom: 10px;
}
.info-block a{
    color: #fff;
}

.badge {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}



.footer {
    background: var(--primary-dark);
    color: var(--text-light);
    text-align: center;
    padding: 15px 0;
    font-size: 13px;
}
.footer a{
    
    color:#fff;
}