@font-face {
  font-family: "Futura";
  src:
    local("Futura"),
    url("fonts/futura-light.ttf") format("truetype");
      font-style: normal;
  font-weight: normal;
}
 
@font-face {
  font-family: "FuturaMedium";
  src:
    local("FuturaMedium"),
    url("fonts/futura-medium.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}



:root {
/*    --primary-color: #2c3e50;
    --secondary-color: #3498db;
    --accent-color: #e74c3c;*/
    --secondary-color: #DC9934;
    --primary-color: #179285;
    --third-color: #C8563C;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
}

* { 
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Futura', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

.btn-primario{
    background-color: var(--primary-color);
    color: var(--bg-light);
     border:2px solid var(--secondary-color);
}


.btn-primario:hover{
    background-color: var(--secondary-color);
    color: var(--bg-light);
    border:2px solid var(--primary-color);
    transition: 0.3s;
}

.bg-primario{
    background-color: var(--primary-color);
    color: #fff;
}


.text-secundario{
    color: var(--secondary-color);
}
/* Header Navigation */
.navbar {
    height: 80px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.navbar.scrolled {
    height: 100px; /* nueva altura al hacer scroll */
    background: rgba(255, 255, 255, 0.7);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.8rem;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-brand img{
    filter: invert(1);
}

.img-logo2{
    filter: invert(0);
}

.mobile-menu-bg{
    background: transparent !important;
}

.navbar-nav .nav-link {
    font-weight: 600;
    color: var(--bg-dark) !important;
    margin: 0 10px;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar .nav-link {
    color: #000; /* o el color base que uses normalmente */
    transition: color 0.3s ease;
}

.navbar.scrolled .nav-link {
    color: #e97b2b; /* o el color que desees */
}

.navbar-nav li a{
    
    text-transform: uppercase;
}

/* Hero Section */
/*.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}
*/

/*.hero {
    height: 90vh;
    background: linear-gradient(35deg, rgba(18, 18, 18, 0.1)), url(https://images.pexels.com/photos/574087/pexels-photo-574087.jpeg);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.1" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    animation: fadeInUp 1s ease 0.2s both;
}*/

.btn-primary {
    background: var(--accent-color);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(231, 76, 60, 0.3);
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-card:hover {
    transform: translateY(-10px);
}

/* Services Section */
.services {
    background: var(--bg-light);
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.service-card h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-color);
}


.btn-proyectos{

    text-align: center;
}



/* Clients Section */
.client-logo {
    height: 80px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* Contact Section */
.contact {
    background: var(--primary-color);
    color: white;
}

.contact .section-title h2 {
    color: white;
}

.contact-form {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 15px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

/* Newsletter Section */
.newsletter {
    background: var(--secondary-color);
    color: white;
    padding: 60px 0;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .form-control {
    border: none;
    border-radius: 50px 0 0 50px;
    padding: 15px 20px;
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 15px 30px;
    background: var(--accent-color);
    border: none;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 60px 0 20px;
}

.footer h5 {
    font-weight: 600;
    margin-bottom: 20px;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer ul li a:hover {
    color: white;
}

.social-links a {
    color: #bdc3c7;
    font-size: 1.5rem;
    margin-right: 15px;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--secondary-color);
}



/* Fondo al colapsar en móvil */
/*.navbar-collapse {
    background-color: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(8px); 
    padding: 1rem;
}
*/
/* Cambiar color de enlaces en menú móvil */
/*.navbar-nav .nav-link {
    color: #000 !important; 
}
*/


.custom-toggler {
  border: none;
  background: none;
  padding: 0.5rem;
  font-size: 1.5rem;
  color: #000; /* o el color que quieras */
  box-shadow: none !important;
}


#toggler-icon {
  display: inline-block; /* Permite aplicar transformaciones */
  transition: transform 0.3s ease; /* Agrega la transición */
}

#toggler-icon.rotate {
  transform: rotate(180deg);
}

.up-a {
    bottom: 1rem;
    cursor: pointer;
    right: 1rem;
    color: #3498db;
    background-color: #fff;
    height: 40px;
    text-align: center;
    font-size: 30px;
    line-height: 35px;
    position: fixed;
    width: 40px;
    z-index: 1000;
    /*transition: all 800ms ease;*/
     transition: background-color 0.3s ease;


}
.up-a:hover {
    background-color: #3498db;
}

/*.up-a a{
    list-style: none;
    text-decoration: none;
    color: #3498db;
}


/* Cambia color al hacer hover */
.up-a a:hover {

  color: #fff !important;

}*/

/* Animación bounce */
.up-a a:hover span {
  animation: bounce 0.5s;
}

.up-a a span {
  animation: bounce 1.2s infinite ease-in-out;
}



@media (max-width: 991.98px) { /* Breakpoint Bootstrap para navbar colapsado */
    .mobile-menu-bg {
        /*background-color: rgba(255, 255, 255, 0.7);*/
        text-align: center;
        background-color: transparent;
    }


    .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        z-index: 999;
    }

/*    .navbar {
        position: relative;
    }*/
}

/* Animations */
@keyframes fadeInUp {

    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
}


/* Definición del efecto bounce */
@keyframes bounce {
  0%   { transform: translateY(0); }
  30%  { transform: translateY(-10px); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(-5px); }
}



/* Móviles pequeños */
@media (max-width: 576px) {
  /* Estilos para móviles */

    .mobile-menu-bg{
        background-color: rgba(255,255,255,0.5);
    }
}

/* Móviles grandes / Tablets pequeñas */
@media (min-width: 576px) {
  /* Estilos para dispositivos >= 576px */

  .mobile-menu-bg{
        background-color: rgba(255,255,255,0.5);
    }

}

/* Tablets */
@media (min-width: 768px) {
  /* Estilos para tablets */
    
    .mobile-menu-bg{
        background-color: rgba(255,255,255,0.5);
    }

}

/* Laptops / Desktops pequeños */
@media (min-width: 992px) {
  /* Estilos para pantallas medianas */

}

/* Desktops grandes */
@media (min-width: 1200px) {
  /* Estilos para pantallas grandes */

}

/* Pantallas extra grandes */
@media (min-width: 1400px) {
  /* Estilos para pantallas muy grandes */


}


.ribbon-wrapper.ribbon-lg {
    height: 120px;
    width: 120px;
}
.ribbon-wrapper {
    height: 70px;
    overflow: hidden;
    position: absolute;
    right: -2px;
    top: -2px;
    width: 70px;
    z-index: 10;
}

.ribbon-wrapper.ribbon-lg .ribbon {
    right: 0;
    top: 26px;
    width: 160px;
}

.ribbon-wrapper .ribbon {
    box-shadow: 0 0 3px rgba(0, 0, 0, .3);
    font-size: .8rem;
    line-height: 100%;
    padding: .375rem 0;
    position: relative;
    right: -2px;
    text-align: center;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, .4);
    text-transform: uppercase;
    top: 10px;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    width: 90px;
}

.ribbon:hover{
    background-color: var(--secondary-color);
}

.card-pages {

    transition: 0.3s ease;
    text-align: center;
    background-color: rgba(0.0.0.0.5);
}

.card-pages:hover {
    cursor: pointer;
    background: #f8f9fa;
    transform: translateY(-4px);
    rgba(0,0,0,0.15);
}

.card-pages a{
    color: var(--primary-colors);
    list-style: none;
    /*position: absolute;*/
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
   /* top: 50%;
    left: 50%;*/
    transform: translate(-50%, -50%);
}

.card-pages img{


    box-shadow: 0px 4px 12px;
    padding: 3px;



}

.card-pages a span{
    padding: 10px 0;
}

 .modal-contenedor-items{
    overflow-y: auto;
    padding-right: 12px;
    max-height: 60vh;

 }