/*#########
Global styles
###########*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Times New Roman", Times, serif;
    line-height: 1.6;
    color: #333333;
    background-color: #f8f9fa;
}
.logo{
    width: 50px;
}
.logotext{
    width: 100px;
}
/*#########
Header
#######*/
header.masthead{
  padding-top: 10rem;
  padding-bottom: 6rem;
  text-align: center;
  color: #fff;
  width: 110%;
  height: 450px;
  min-height: 400px;  
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../assets/img/header_bg2.png");
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: center;
  background-size: cover;
  align-items: center;
}
header.masthead .masthead-heading {
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 3.25rem;
    margin-bottom: 2rem;
    font-family: "Times New Roman", Times, serif; 
    /*"Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
    text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
    z-index: 3;
  }

/*####################
Menu
###################*/
.navbar{
    background-color: #0a192f; /* Azul Marino Corporativo */
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}
nav ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}
nav ul li a:hover {
    color: #d4af37; /* Cambio a dorado al pasar el cursor */
}
/*###############
Menu scroll
##################*/
.nav-scroll{
  background-color:aqua;
  position: fixed;
  top: -50px;
  width: 100%;
  display: block;
  transition: top 0.3s;
}
.nav-scroll a{
  float: left;
  display: block;
  color:#fff;
  padding: 15px;
  text-decoration: none;
  font-size: 17px;
}
.nav-scroll a:hover{
  background-color:black;
  color:#fff;
}

/*##########
Section
############*/
.page-section {
    padding: 6rem 0;
    text-align: center;
  }
.page-section h2.section-heading, .page-section .section-heading.h2 {
    font-size: 2.5rem;
    margin-top: 0;
    margin-bottom: 1rem;
}
.page-section h3.section-subheading, .page-section .section-subheading.h3 {
    font-size: 1rem;
    font-weight: 400;
    font-style: italic;
    font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    margin-bottom: 4rem;
}
/*.container-colorgris{
  background-color: #ccc;
  padding: 8%;
  text-align: justify;
}*/
.container-azul{
  background-color: #0e5780;
  padding: 8%;
  text-align: justify;
}
/*##########
Services
###########*/
.col-service{
  background-color: #f8f9fa;
  /*color: #fff;*/
  padding:1rem;
  border-top: 5px solid #0e5780;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.col-service:hover{
  transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-top-color: #d4af37;
}

.container-service{
  width: 100%;
  display: flex;              /* Alinea la imagen y el texto en fila */
    align-items: center;        /* Centra verticalmente la imagen y el texto */
    gap: 20px; 
}
.icon-service{
  /*image*/
  display: block;
  width: 100%;
  height: auto;
  max-width: 200px;
}
.text-service{
  width: 100%;
  height: auto;
  text-align: left;
  /*white-space: nowrap;*/ 
  color: black;
  font-size: 16px;
  flex: 1;
  /*position: absolute;
  overflow: hidden;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);*/
}
/*##########
Clientes
###########*/
.filter-grayscale img {
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
    max-width: 200px;
}

.filter-grayscale img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05); /* Pequeño efecto de zoom */
}
/*##########
Contacto
###########*/
.container-contacto{
    padding: 80px 10%;
    background-color: #f1f5f9;
}
form {
    max-width: 600px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    text-align: left;
}
form label {
    display: block;
    margin-bottom: 8px;
    color: #0a192f;
    font-weight: bold;
    font-size: 14px;
}
form input, form select, form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #cbd5e1;
    border-radius: 4px;
    font-size: 16px;
    background-color: #f8f9fa;
}
/*##########
Footer  
########### 
#1b3e7b
#8194b3*/
.pie-pag{
    text-align: left;
    background-color: #232729;
    color: #fff;
}
.logof{
    /*position: static;
    margin-left: 0px;
    width: 200px !important;*/
    width: 100%;
    height: auto;
    max-width: 300px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}