/* VARIABLES DE COLORES */
:root {
  --color-primary: #055A7F;       /* Azul principal (antes #007bff) */
  --color-secondary: #2c2c2c;      /* Gris secundario (antes #6c757d) */
  --color-light: #6C8C97;          /* Fondo claro (antes #f8f9fa) */
  --color-dark:  #0c3454 ;           /* Texto oscuro (antes #343a40) */
  --color-success: #04738C;        /* Verde éxito (antes #28a745) */
  --color-danger: #dc3545;         /* Rojo peligro (se mantiene) */
  --color-warning: #ffc107;        /* Amarillo advertencia (se mantiene) */
  --color-info: #17a2b8;           /* Azul información (se mantiene) */
  --color-white: #FFFFFF;         /* Blanco puro */
  --color-text: #555555;          /* Color texto principal */
}

/* ESTILOS GENERALES */
body {
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  background-color: var(--color-white);
  height: 200vh;
  position: relative;
}

body:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
}

body.offcanvas-menu:before {
  opacity: 1;
  z-index: 1002;
  visibility: visible;
}

p {
  color: #b3b3b3;
  font-weight: 300;
}

h1,h2,h3,h4,h5,h6,.h1,.h2,.h3,.h4,.h5,.h6 {
  font-family: "Quicksand", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
    "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

a {
  -webkit-transition: 0.3s all ease;
  -o-transition: 0.3s all ease;
  transition: 0.3s all ease;
}

a,a:hover {
  text-decoration: none !important;
}

/* SECCIÓN HERO / HERO SECTION */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-top: 150px; /* Aumentamos el padding superior */
  padding-bottom: 60px;
}


/* Banner Principal */
.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--color-white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--color-white);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin-bottom: 40px;
}

/* TARJETAS DE CARACTERÍSTICAS */
.feature-card {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 30px 20px;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.feature-title {
  font-size: 1.3rem;
  color: #333;
  margin-bottom: 15px;
}

.feature-text {
  color: #666;
  font-size: 0.95rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 100px 0 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .features-row {
    margin-top: 30px;
  }

  .feature-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.77rem;
  }

  .feature-card {
    padding: 20px 15px;
  }

  .feature-title {
    font-size: 1.1rem;
  }
}

/* SECCIÓN SERVICIOS */
.services-section {
  padding: 80px 0;
  background:  #0C3454 ;
background: linear-gradient(106deg, rgba(12, 52, 84, 1) 0%, rgba(0, 132, 176, 1) 50%);
}

.services-title {
  font-size: 2.5rem;
  color: var(--color-white);
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.services-title:after {
  background: var(--color-primary); /* Cambiado de #007bff a var(--color-primary) */
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--color-white);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.services-description {
  font-size: 1.1rem;
  padding: 2rem;
  color: var(--color-white);
  text-align: justify;
  max-width: 800px;
  margin: 0 auto 50px;
  line-height: 1.8;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card {
  flex: 0 0 calc(25% - 30px);
  background: white;
  border-radius: 10px;
  padding: 0; /* Cambiamos el padding general a 0 */
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  
}

.service-icon {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 0; /* Eliminamos el margen inferior */
  display: block; /* Aseguramos que no tenga márgenes adicionales */
}

.service-card-content {
  padding: 25px;
  margin-top: 15px; /* Agregamos espacio entre imagen y texto */
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  color: var(--color-dark); /* Cambiado de #343a40 */
  font-size: 1.3rem;
  margin-bottom: 15px;
}

.service-card p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 992px) {
  .service-card {
    flex: 0 0 calc(50% - 30px);
  }
}

@media (max-width: 576px) {
  .services-section {
    padding: 60px 0;
  }

  .service-card {
    flex: 0 0 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .services-title {
    font-size: 2rem;
  }
}

/* Footer Styles */
.deneb_cta .cta_wrapper {
  padding: 45px 50px 42px;
  max-width: 970px;
  border-radius: 15px;
  margin: 80px auto -135px;
  position: relative;
  background-color: var(--color-dark);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.deneb_cta .cta_content h3 {
  color: #fff;
  font-weight: bold;
}

.deneb_cta .cta_content p {
  color: rgba(255, 255, 255, 0.8);
}

.deneb_footer .widget_wrapper {
  padding-top: 150px;
  padding-bottom: 70px;
  background-color: var(--color-dark);
  color: #fff;
}

.deneb_footer .widget_title h4 {
  color: #fff;
}

.deneb_footer .widget_link ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.deneb_footer .widget_link ul li a:hover {
  color: #fff;
}

.deneb_footer .widget_contact .contact_info .single_info .info p,
.deneb_footer .widget_contact .contact_info .single_info .info p a {
  color: rgba(255, 255, 255, 0.8);
}

.deneb_footer .copyright_area {
  background: #0056b3;
  padding: 15px 0;
}

.deneb_footer .copyright_area .copyright_text p {
  color: #fff;
  margin: 0;
}

/* CTA Button Styles */
.deneb_cta .cta_wrapper .button_box .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Social Icons Hover */
.social li a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}
/* Contact Section Styles */
.contact-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.contact-section h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--color-dark); /* Cambiado de #343a40 */
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form .form-floating label {
  color: #6c757d;
}

.contact-form .form-control {
  height: 50px;
  border-radius: 4px;
}

.contact-form textarea.form-control {
  height: 150px;
  resize: vertical;
}

.contact-form .btn-submit {
  background-color: var(--color-primary); /* Cambiado de #007bff */
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  transition: all 0.3s;
}

.contact-form .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* MDB-like form-outline styles */
.form-outline {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-outline .form-control {
  min-height: auto;
  padding: 0.33em 0.75em;
  border: 1px solid #ced4da;
  background: transparent;
  transition: all 0.2s linear;
}

.form-outline .form-control:focus {
  box-shadow: none;
}

.form-outline .form-label {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  transform-origin: 0 0;
  transition: all 0.2s ease-out;
  color: #757575;
  margin-left: 0.75rem;
  padding-top: 0.37rem;
}

.form-outline .form-control:focus ~ .form-label,
.form-outline .form-control.active ~ .form-label {
  transform: translateY(-1rem) translateY(0.1rem) scale(0.8);
  background: white;
  padding: 0 0.5rem;
  margin-left: 0.5rem;
  color: var(--color-dark);
}

/* Estilos para el formulario de contacto */
.contact-section {
  background-color: #f8f9fa;
}

.contact-section .card {
  border: none;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

/* Estilos para el CTA */
.deneb_cta {
  background-color: var(--color-dark);
  color: white;
  padding: 80px 0;
  position: relative;
}

.deneb_cta .btn-light {
  background: white;
  color: var(--color-dark);
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

/* Sección Proyectos */
.projects-section {
  padding: 80px 0;
  background: #0C3454;
  background: linear-gradient(106deg, rgba(12, 52, 84, 1) 0%, rgba(0, 132, 176, 1) 50%);
}

.projects-section h2 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-align: center;
  position: relative;
}

.projects-section h2:after {
  content: "";
  position: absolute;
  width: 80px;
  height: 3px;
  background: var(--color-white);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.project-card {
  background: white;
  border-radius: 10px;
  margin: 15px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.project-card img {
  border-radius: 8px;
  margin-bottom: 15px;
}

.project-card h3 {
  color: var(--color-dark);
  font-size: 1.3rem;
  text-align: center;
  margin-bottom: 10px;
}

.projects-section .lead {
  color: var(--color-white);
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 10px;
}

.projects-section h3 {
  color: var(--color-white) !important; /* Agregar esta línea */
  font-size: 2.0rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* Títulos Servicios */
.service-card h3 {
  font-size: 1.5rem; /* Reducir de 1.8rem */
  margin-bottom: 1rem;
}

/* Subtítulos Hero */
.hero-subtitle {
  font-size: 1.1rem; /* Reducir de 1.2rem */
  line-height: 1.6;
  max-width: 600px;
  margin: 0 auto;
}


/* Estilos para la sección Sobre Nosotros */
.about-image-container {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.about-image-container img {
  width: 100%;
  height: auto;
  display: block;
}

.image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: white;
  text-align: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 120px;
}

.image-caption p {
  font-size: 1.2rem;
  font-weight: 600;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
  margin: 0;
  padding: 15px 25px;
  background: var(--color-dark);
  color: var(--color-white);
  border-radius: 8px;
  display: inline-block;
}

@media (max-width: 768px) {
  .image-caption p {
    font-size: 1rem;
    padding: 10px 20px;
  }
}



/* Sección Materiales */
.materials-section {
  padding: 5rem 0;
  background: #f8f9fa;
}

.material-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.material-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.material-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
}

.material-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 100%);
  color: white;
  font-weight: 600;
  font-size: 1.2rem;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
  .material-card img {
    height: 200px;
  }
  
  .material-title {
    font-size: 1rem;
    padding: 1rem;
  }
}
/* Agregar al inicio del CSS */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
}


/* Estilos para textos mejorados */
.text-style-white {
  color: #ffffff !important;
  font-weight: 500;
  font-size: 1rem;
  line-height: 1.7;
  letter-spacing: 0.015em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.text-style-black {
  color: #121212 !important;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  letter-spacing: 0.01em;
}
