:root {
    --primary-color: #1d5a9b;        /* Azul brillante moderno */
    --secondary-color: #000000;
    --dark-color: #000000;
    --light-color: #F7FFF7;
    --accent-color: #FFE66D;
    --gray-color: #6C757D;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}
.menu-toggle {
  display: block;
  cursor: pointer;
  font-size: 24px;
  position: relative;
  z-index: 1001; /* por encima del menú */
}
.carousel-wrapper {
  overflow: hidden;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-track img {
  width: 100%;
  flex-shrink: 0;
}


  .nav ul {
    position: fixed;
    top: 70px;
    left: -100%; /* OCULTO por defecto */
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease; /* transiciona solo el left */
    z-index: 999;
  }
.license-bar {
  background: #ffffff00;
  color: rgb(63, 62, 62);
  text-align: right;
  font-size: 13px;
  padding: 1px 50px;
  font-weight: 600;
}
.carousel-track img {
  width: 100%;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    z-index: 1001;
  }

  .nav ul {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: white;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: left 0.3s ease;
    z-index: 999;
  }

  .nav ul.active {
    left: 0;
  }

  .nav ul li {
    margin: 15px 0;
  }
}

@media (max-width: 576px) {
  .license-bar {
    text-align: center;
    font-size: 12px;
  }
}

/* Estructura general */
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .img {
  max-width: 100%;
  height: auto;
}

  /* Logo + texto */
  .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
  }
  
  .logo-img {
    height: 70px;
    width: auto;
  }
  
  .logo-text h1 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    color: var(--dark-color);
    line-height: 1.2;
  }
  
  .logo-text h1 span {
    color: var(--primary-color);
  }
  
  .logo-text p {
    font-size: 13px;
    color: var(--gray-color);
    margin: 0;
  }
  
  /* Responsive */
  @media (max-width: 768px) {
    .logo-img {
      height: 50px;
    }
  
    .logo-text h1 {
      font-size: 18px;
    }
  
    .logo-text p {
      font-size: 12px;
    }
  
    .header-container {
      flex-direction: column;
      align-items: flex-start;
    }
  
    .nav ul {
      flex-direction: column;
      align-items: center;
      gap: 10px;
    }
  }
  
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    transition: var(--transition);
}


.header.scrolled {
    padding: 15px 0;
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    color: var(--dark-color);
}

.logo h1 span {
    color: var(--primary-color);
}

.logo p {
    font-size: 12px;
    color: var(--gray-color);
    margin-top: -5px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav ul li a:hover {
    color: var(--primary-color);
}

.nav ul li a.active {
    color: var(--primary-color);
}

.nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    bottom: -5px;
    left: 0;
    transition: var(--transition);
}

.nav ul li a:hover::after,
.nav ul li a.active::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 24px;
}

.projects-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}
.carousel-wrapper {
    overflow: hidden;
    width: 100%;
    height: 400px;
    position: relative;
    
    border-radius: 10px; */
    
}

  .project-carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
  }
  .carousel-track {
    display: flex;
    transition: transform 0.5s ease;
    width: 100%;
    
    will-change: transform; 
}


.project-card {
    min-width: 100%;
    transition: opacity 0.5s ease;
    position: relative;
}

.project-carousel img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    flex-shrink: 0;
    
    border-radius: 8px; 
}


.project-card {
    min-width: 100%;
    height: 500px; /* Aumentamos altura */
    position: relative;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    transition: 0.3s ease;
}

.project-title {
    font-size: 26px;
    margin: 0 0 10px;
}

.project-category {
    font-size: 18px;
    color: #c0c0c0; /* plateado */
}

.carousel-btn {
    padding: 16px;
    font-size: 22px;
    position: absolute;
       top: 50%;
       transform: translateY(-50%);
       background-color: rgba(0, 0, 0, 0.5);
       color: white;
       border: none;
       cursor: pointer; */
}
.about-content p {
    text-align: justify;
}

.project-carousel.enlarged {
    grid-column: 1 / -1; /* Ocupa todo el ancho de la grid */
    transform: scale(1.03);
    transition: all 0.4s ease;
    z-index: 3;
}

.project-carousel.enlarged .carousel-wrapper {
    height: 500px;
}

.project-carousel.enlarged img {
    height: 500px;
    object-fit: cover;
}



/* Hero Section */
.hero {
    height: 100vh;
    background: url('https://images.unsplash.com/photo-1600121848594-d8644e57abab?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') no-repeat center center/cover;
    display: flex;
    align-items: center;     /* Centra verticalmente */
    justify-content: center; /* Centra horizontalmente */
    text-align: center;      /* Centra texto */
    position: relative;
    margin-top: 70px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 47, 54, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--light-color);
    max-width: 600px;
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.4);
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #ffffff; /* fondo blanco o muy claro */
    color: #1d5a9b;              /* texto negro al pasar el mouse */
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.6);
}


.btn-secondary {
    background-color: var(--secondary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
}

.btn-secondary:hover {
    background-color: #3dbeb6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.6);
}

.btn-float {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

/* Section Styles */
.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    position: relative;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 3px;
    background: var(--secondary-color);
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: #f0f0f0; /* plateado claro */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    text-align: center;
}


.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1d5a9b, #c0c0c0); /* azul y plateado */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


.service-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
    color: ;
}
a {
    color: #030303; /* o el color que quieras */
    text-decoration: none;
  }
  
  a:hover {
    color: #080808;
  }
  
.service-card p {
    margin-bottom: 20px;
    color: var(--gray-color);
}

.service-list {
    list-style: none;
    padding-left: 0;
    text-align: left;
    margin-top: 20px;
    color: #000000; /* Cambia #333 por el color que prefieras */
    text-decoration: none; /* Opcional: quita el subrayado */
      
      .service-list a:hover {
        color: #ff6600; /* Color al pasar el mouse */
      }
      
    }

.service-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #333;
    display: flex;
    align-items: center;
}

.service-list li i {
    color: #1d5a9b;
    margin-right: 10px;
    font-size: 16px;
}


/* Projects Section */
.projects {
    padding: 100px 0;
}

.projects-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.projects-filter .filter-btn {
    padding: 8px 20px;
    margin: 0 10px 10px;
    background: none;
    border: 2px solid #1d5a9b;
    color: #1d5a9b;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.projects-filter .filter-btn:hover,
.projects-filter .filter-btn.active {
    background: #1d5a9b;
    color: white;
}

.filter-btn {
    padding: 8px 20px;
    margin: 0 10px 10px;
    background: none;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--secondary-color);
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 25px;
}

.project-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.project-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(41, 47, 54, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-title {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
    transform: translateY(20px);
    transition: var(--transition);
}

.project-category {
    color: var(--accent-color);
    font-size: 14px;
    transform: translateY(20px);
    transition: var(--transition);
    transition-delay: 0.1s;
}

.project-card:hover .project-title,
.project-card:hover .project-category {
    transform: translateY(0);
}

/* About Section */
.about {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.05);
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
}

.stat-item h3 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: var(--gray-color);
    font-size: 14px;
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    padding: 40px;
    background: var(--primary-color); /* azul elegante */
    border-radius: 15px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-info h3 {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 10px;
    color: white;
}

.contact-info p {
    display: flex;
    align-items: center;
    font-size: 16px;
    color: white;
    margin: 0;
    gap: 12px;
}

.contact-info i {
    font-size: 18px;
    color: black; /* negro elegante */
    background: white;
    padding: 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Redes sociales estilizadas en negro */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: white;
    color: black;
    font-size: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-links a:hover {
    background: black;
    color: white;
    transform: scale(1.1);
}

.contact-form {
    padding: 30px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.2);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 70px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo h3 {
    font-size: 24px;
    margin-bottom: 15px;
}

.footer-logo h3 span {
    color: var(--primary-color);
}

.footer-logo p {
    color: #aaa;
    font-size: 14px;
}

.footer-links h4,
.footer-services h4 {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    bottom: 0;
    left: 0;
}

.footer-links ul,
.footer-services ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-services a {
    color: #aaa;
    text-decoration: none;
    transition: var(--transition);
    font-size: 14px;
}

.footer-links a:hover,
.footer-services a:hover {
    color: white;
    padding-left: 5px;
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #aaa;
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 100;
}

.whatsapp-float a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 30px;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-float a:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about .container {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 40px;
    }
    
    .hero-content h2 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav ul {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: white;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }
    
    .nav ul.active {
        left: 0;
    }
    
    .nav ul li {
        margin: 15px 0;
    }
    
    .section-title {
        font-size: 30px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .stats {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 576px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 10px 25px;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float a {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
}
@media (max-width: 576px) {
    .container {
      padding: 0 10px;
    }
  }
 @media (max-width: 768px) {
    .carousel-wrapper {
      height: 250px;
    }
  
    .project-carousel img {
      height: 250px;
    }
  
    .project-title {
      font-size: 18px;
    }
  
    .project-category-label {
      font-size: 14px;
    }
  }
  
  @media (max-width: 576px) {
    .contact-container {
      grid-template-columns: 1fr;
    }
  
    .form-group input,
    .form-group textarea {
      font-size: 14px;
    }
  
    .btn {
      width: 100%;
    }
  }

  @media (max-width: 576px) {
    .social-links a {
      width: 35px;
      height: 35px;
      font-size: 16px;
    }
  
    .whatsapp-float a {
      width: 50px;
      height: 50px;
      font-size: 24px;
    }
  }
  @media (max-width: 576px) {
    .social-links a {
      width: 35px;
      height: 35px;
      font-size: 16px;
    }
  
    .whatsapp-float a {
      width: 50px;
      height: 50px;
      font-size: 24px;
    }
  }

.logo {
    display: flex;
    align-items: center;
    margin-left: -15px; /* más hacia la izquierda */
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 70px;  /* más grande */
    width: auto;
    margin-right: 20px;
}

.logo-text h1 {
    font-size: 26px;
    font-weight: 700;
    margin: 0;
    color: var(--dark-color);
}

.logo-text h1 span {
    color: var(--primary-color);
}

.logo-text p {
    font-size: 13px;
    color: var(--gray-color);
    margin: 0;
}
.logo-absolute img {
        height: 70px;
        width: auto;
        max-width: 100%;
      }
      


.logo-absolute img {
    height: 105px; /* Puedes subirlo hasta 100 o más si deseas */
    width: auto;
}


.logo-text {
    margin-left: 130x; /* Aumenta según el tamaño nuevo del logo */
}

.logo-absolute {
    position: absolute !important;
    top: 10px !important;
    left: 90px !important; /* Ajústalo según lo que necesites */
    z-index: 1100;
}

@media (max-width: 768px) {
    .logo-absolute {
      top: 10px;
      left: 10px;
      z-index: 10; /* ⚠️ MUY IMPORTANTE */
    }
  
    .logo-absolute img {
      height: 45px;
      width: auto;
    }
  
  .nav ul {
    background-color: white;
    position: fixed;
    width: 100%;
    top: 70px;
    left: 0;
  }

  
    .menu-toggle {
      z-index: 200;
      position: relative;
    }
  
    .nav ul {
    background-color: white;
    position: fixed;
    width: 100%;
    top: 70px;
    left: 0;
  }

  }
  
  
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.float-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}
@media (max-width: 768px) {
    .menu-toggle {
      display: block;
    }
  
    .nav ul {
      display: none;
      flex-direction: column;
    }
  
    .nav ul.active {
      display: flex;
    }
  }
  
.menu-toggle {
    display: none;
    cursor: pointer;
  }
  
  .menu-toggle i {
    font-size: 24px;
  }
  
  .nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  .nav ul.active {
    display: block;
  }
  
.float-btn:hover {
    transform: scale(1.1);
}

/* Colores específicos */
.float-btn.whatsapp {
    background: #25D366;
}

.float-btn.call {
    background: #007bff;
}

.float-btn.message {
    background: #ffc107;
}
.float-btn {
    animation: float 3s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .float-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
  }
  