@font-face {
    font-family: 'Sensation';
    src: url('Fuentes/Sansation_Regular.ttf') format('truetype'),
         url('Fuentes/Sansation_Bold.ttf') format('truetype'),
         url('Fuentes/Sansation_Light.ttf') format('truetype'),
         url('Fuentes/Sansation_Italic.ttf') format('truetype'),
         url('Fuentes/Sansation_Bold_Italic.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body{
    margin: 0;
    overflow-x: hidden;
    font-family: 'Sensation', sans-serif;
}

.top-bar {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
    background-color: #002C59;
    padding: 8px 0px;
    font-size: 14px;
    line-height: 1.9;
    border-bottom: 1px solid #002C59;
}

.top-bar-left img, .top-bar-right img {
    width: 16px; 
    height: 16px;
    margin-right: 10px; 
    vertical-align: middle; 
    filter: invert(24%) sepia(84%) saturate(5450%) hue-rotate(175deg) brightness(94%) contrast(91%); 
    transition: filter 0.3s ease; 
}

.telefono {
    color: #e7e7e7;
    text-decoration: none;
    font-weight: bold;
}

.telefono:hover {
    color: #BCA500; 
    cursor: pointer; 
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 125px; 
    margin-left: 0px;
}

.top-bar-left {
    display: flex;
    align-items: center; 
    margin: 0;
    padding: 0;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    margin:0; 
    flex-direction: row; 
    text-align: center;
    padding: 0;
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    margin-right: 15px; 
    font-size: 14px; 
    color: #e7e7e7; 
    font-weight: bold;
}

.top-bar-right a {
    margin: 0 10px; 
    font-size: 16px; 
    color: #000; 
    transition: color 0.3s ease; 
}

.top-bar-left span,
.top-bar-right a {
    margin: 0 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.navbar {
    position: fixed;
    width: 100%;
    top: 100px;
    left: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent;
    transition: transform 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    padding: 20px 50px;
    height: 100px;
}

.scrolled-navbar {
    background: white !important;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 50px;  
    position: fixed;
    left: 0;
    height: 120px;
    z-index: 1000;
    display: flex;
    align-items: center; 
}

.scrolled-navbar .menu-container {
    background-image: none !important; 
}

.scrolled-navbar .nav-links {
    display: flex !important; 
    justify-content: center;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0 20px;
    gap: 20px;
    z-index: 1100; 
    position: relative;
    width: 100%;
    height: 100%;
}

.scrolled-navbar .nav-links li {
    display: inline-block; 
    padding: 5px 0;
}

.scrolled-navbar .nav-links a {
    font-size: 14px; 
    line-height: 1.2; 
    font-weight: bold;
    transition: color 0.3s ease;
    color: #002b5c;
}

.scrolled-navbar .nav-links.active {
    padding: 10px 0; 
}



.scrolled-navbar .nav-links a:hover {
    color: #BCA500;
}

.scrolled-navbar .contact-button {
  display: block;
  margin: 15px auto;
  width: 80%;
  max-width: 250px;
  font-size: 16px;
  padding: 10px 20px;
  background-color: #004080;
  color: white !important;
  border: none;
  border-radius: 5px;
  text-align: center;
  cursor: pointer;
}

.scrolled-navbar .contact-button:hover {
    background: linear-gradient(90deg, #002b5c, #005eca);;
    color: white;
    transform: scale(1.05);
    border: transparent;
}

.scrolled-logo {
    transition: height 0.3s ease-in-out;
}


.logo {
    position: absolute;
    margin-left: 70px; 
    margin-top: 300px;
    transform: translateY(-50%); 
    transition: all 0.3s ease-in-out;
}

.scrolled-navbar .logo {
    margin-left: 50px; 
    position: relative;
    top: 0; 
}

.logo img {
    height: 10vw;
    max-height: 180px;
    transition: height 0.3s ease-in-out;
}

.scrolled-navbar .logo img {
    margin-top: -510px;
    margin-left: 50px;
    height: 115px !important; 
    transition: height 0.3s ease-in-out;
}

.menu-container {
    background-image: url('Imagenes/svgviewer-output.svg');
    background-repeat: no-repeat;
    background-size: 1000px 100%; 
    background-position: left top;
    position: absolute; 
    right: 0; 
    display: flex;
    align-items: center;
    justify-content: flex-end; 
    padding-right: 20px;
    height: 100%;
    padding: 50px 5px;
}

.nav-links {
    margin-left: 50px;
    margin: 15px;
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links li {
    position: relative;
    padding: 5px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: inline-block;
    font-weight: bold;
}

.contact-button {
    background: #d1a800;
    padding: 8px 10px; 
    border-radius: 20px; 
    font-weight: bold;
    color: white;
    border: none;
    display: inline-block;
    text-align: center;
    min-width: 160px;
    height: auto;
}

.contact-button:hover {
    background: linear-gradient(90deg, #d1a800, #ffce0a);
    color: white;
}

.dropdown-menu {
    position: absolute;
    left: 0;
    background: white;
    display: none;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px;
    overflow: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    padding: 10px 10px;
}

.dropdown-menu a {
    color: #002b5c;
    font-weight: normal
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 5px;
    margin-top: -5px;
    z-index: 1100;
}

.dropdown-submenu .dropdown-submenu1 {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: white;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 10px;
    list-style: none;
    width: 200px;
}

.dropdown-submenu:hover .dropdown-submenu1 {
    display: block;
}

.scrolled-navbar .dropdown-menu li {
    padding: 10px 5px; 
    margin: 2px 10px; 
    line-height: 1.2; 
}

.scrolled-navbar .dropdown-menu a {
    font-weight: normal; 
    font-size: 15px; 
    text-align: left;
}


header {
    margin-top: 0;
    position: relative;
    z-index: 10;
    height: 100vh;
    overflow: hidden;
}

.carousel-inner {
    position: relative;
}

.carousel.fade .carousel-item {
    transition: opacity 0.3s ease-in-out;
}

.carousel-item {
    height: 100vh; 
}
.carousel-item img {
    height: 100vh;
    object-fit: cover;
    width: 100%;
    display: block;
    position: relative;
    z-index: 1;
}

.carousel-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    clip-path: polygon(100% 0, 100% 100%, 30% 100%, 58% 0);
    z-index: 2;
    pointer-events: none; 
}

.carousel-caption{
    position: absolute;
    z-index: 2; 
    background: rgba(0, 0, 0, 0.5);
    border-radius: 5px;
}


.header-text-container {
    position: absolute;
    bottom: 10%;
    right: 80px; 
    color: #ffffff;
    text-align: left;
    z-index: 20;
    max-width: 40%;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.header-text-container.visible {
    opacity: 1;
    transform: translateX(0);
}
.header-text-container::before {
    content: "";
    display: block;
    width: 8px;
    height: 180px; 
    background-color: white; 
    margin-right: 20px; 
    border-radius: 5px; 
}

.header-home-title {
    font-size: clamp(24px, 4vw, 42px);   
    font-weight: bold;
    line-height: 1.3;
    margin: 0;
}
.btn-solicita-cotizacion {
    display: inline-block;
    margin-top: 80px;
    padding: 16px 40px;
    background-color: #00aaff;
    color: #ffffff;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    text-align: center;
    transition: background-color 0.3s ease;
    opacity: 0;
    font-weight: bold;
    animation: slideUp 1s ease-out 0.5s forwards;
}

.btn-solicita-cotizacion:hover {
    background-color: #0088cc; 
}



@keyframes slideUp {
    0% {
        opacity: 0; 
        transform: translateY(-50%, -30%);
    }
    100% {
        opacity: 1;
        transform: translateY(-50%, -50%); 
    }
}

.arrow-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-55%);
    animation: bounce 2s infinite;
    z-index: 20;
}

.arrow-down img {
    width: 50px; 
    height: auto; 
    filter: invert(1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.categories-section{
    background-image: url(Imagenes/rb_17580.png); 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 50px 0;
    height: 200px;
    text-align: center;
    position: relative;
    color: #ffffff;
    background-color: #0d3c66;
    background-blend-mode: multiply;
}

.categories-section .container{
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.categories-title{
    font-size: 24px; 
    text-transform: none;
    color: #ffffff; 
    margin-bottom: 10px;
}

.categories-grid{
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 100px;
}

.categories-item {
    display: flex;
    flex-direction: row; 
    align-items: center;
    text-align: left;
    gap: 15px;
}

.categories-item img{
    width: 80px; 
    height: auto;
    filter: brightness(0) invert(1); 
}

.categories-item h3{
    font-size: 16px;
    font-weight: bold;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
}

.image-gallery-section{
  height: 60vh;
  display: flex;
  align-items: center;
  background-color: white;
  padding: 0;
}

.empresa-layout {
  display: grid;
  grid-template-columns: 3fr 3fr;
  align-items: center;
  width: 100vw;
  max-width: 100%;
  margin: 0 auto;
  height: 100%;
  padding: 0;
  box-sizing: border-box;
}

.text-content {
    max-width: 100vh;
    padding-left: 100px;
    z-index: 1;
}

.section-subtitle {
    font-size: 18px;
    color: #d1a800; 
    text-transform: uppercase;
    margin-bottom: 10px;
    font-weight: bold;
    position: relative; 
    display: inline-block;
}

.section-subtitle::after {
    content: "";
    display: block;
    width: 200px; 
    height: 4px;
    background-color: #d1a800; 
    margin-top: 5px; 
    border-radius: 5px; 
    margin-bottom: 10px;
}

.text-content .section-title {
    font-size: 30px;
    text-align: justify;
    font-weight: bold;
    color: #002C59;
    margin-bottom: 20px;
}

.description {
    font-size: clamp(15px, 1.2vw, 20px);
    color: #002C59;
    line-height: 1.6;
    text-align: justify;
}

.text-content .section-title,
.text-content .description {
    opacity: 0; 
    transform: translateX(-100px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.text-content .section-title.visible,
.text-content .description.visible {
    opacity: 1;
    transform: translateX(0);
}

.single-image {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.single-image img {
    width: 110vh;
    height: auto;
    object-fit: contain;
}


.services-section {
    padding: 60px 20px;
    background-image: url('Imagenes/11798727_4857390.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #0d3c66 !important;
    background-blend-mode: multiply;
    position: relative;
    color: #ffffff;
    text-align: center;
}

.section-title {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #ffffff;
}

.section-description {
    color: #ebebeb;
    text-align: center;
    font-size: 16px;
    margin: 0 auto 30px auto;
    width: 550px;
    margin-bottom: 30px;
}

.services-grid {
    display: flex;
    margin-top: 50px;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2vw;
}

.service-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    width: clamp(180px, 20vw, 250px);
}


.service-item img {
    width: 100%; 
    max-width: 230px;
    height: 200px;
    object-fit: cover;
    border-radius: 15px;
}

.service-item:hover img {
    filter: brightness(0.6);
}


.service-category {
    color: #777;
    font-size: 14px;
    margin-top: 15px;
    min-height: 20px;
}

.service-title {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-top: 20px;
}

.service-item .service-content {
    padding: 15px;
}


.button-container {
    text-align: center;
    margin-top: 50px;
    margin-bottom: -20px;
}

.custom-button {
    background-color: #d1a800; 
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 10px 30px;
    font-size: 19px;
    cursor: pointer;
    font-weight: bold;
    display: inline-block;
    will-change: transform;
    text-decoration: none;
    animation: bounce 2s infinite;
    transition: transform 0.3s ease-in-out;
}

.custom-button:hover {
    background: linear-gradient(90deg, #d1a800, #ffcc00);
    transform: translateY(-5px) scale(1.05);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


.sectors-section {
    background-color: #e9e9e9;
    text-align: center;
    padding: 40px 20px;
    height: 470px;
}

.sectors-custom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
}

.sector-custom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    background-color: transparent;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: none;
}

.sector-custom-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.sector-custom-item:hover img {
    filter: brightness(0.6);
}

.sectors-title {
    font-size: 40px;
    margin-bottom: 10px;
    font-weight: bold;
    color: #d1a800;
}	

.sector-custom-title {
    font-size: 16px;
    font-weight: bold;
    color: #0d3c66;
    margin-top: 15px;
}

.sectors-description{
    padding-top: 15px;
    font-size: 20px;
    color: #0d3c66;
}

.sector-overlay img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.7;
}

.sector-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.626);
    color: #333;
    padding: 10px;
    border-radius: 0 0 8px 8px;
    text-align: center;
    font-weight: bold;
    transition: background 0.3s ease;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sector-item:hover .sector-info {
    background: rgba(255, 255, 255, 0.95);
}

.sector-icon {
    font-size: 24px;
}

.sector-name {
    font-size: 16px;
    font-weight: 700;
    color: #0d3c66;
}

.competitive-advantage-section {
    padding: 0;
    display: flex;
    align-items: center;
    width: 100vw;
    height: 80vh;  
    overflow: hidden;
    margin: 0;
}

.advantage-wrapper{
  display: grid;
  grid-template-columns: 50% 50%; 
  width: 100%;
  height: 100%;
  align-items: center;
}

.advantage-image {
    width: 100%;
    height: 100%;
    position: relative;
}

.advantage-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    clip-path: polygon(0% 0%, 90% 0%, 100% 50%, 90% 100%, 0% 100%);
}


.svg-container {
    position: absolute;
    top: 0;
    right: -45vh;
    width: 100vh; 
    height: 100%; 
    z-index: 2;
    pointer-events: none; 
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.svg-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.advantage-content {
  padding: 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 550px;
  margin: 0 auto;
}

.competitive-subtitle {
    font-size: 30px;
    font-weight: bold;
    color: #d1a800;
    text-transform: uppercase;
    position: relative;
}

.competitive-subtitle::after {
    content: "";
    display: block;
    width: 500px;
    height: 4px;
    background-color: #d1a800;
    margin-top: 5px;
    border-radius: 100px;
}

.competitive-description {
    font-size: 20px;
    color: #0d3c66;
    line-height: 1.6;
    text-align: justify;
    margin-top: 15px;
    max-width: 500px;
}

.key-points {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.key-points li {
    font-size: 20px;
    text-align: justify;
    color: #002C59;
    line-height: 1.2;
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
    max-width: 500px;   
}

.key-points li::before {
    content: "–";
    position: absolute;
    left: 0;
    color: #d1a800;
    font-size: 18px;
}

.btn-primary {
    display: inline-block;
    background-color: #002C59;
    color: white;
    padding: 8px 40px;
    border-radius: 30px;
    font-size: 25px;
    font-weight: bold;
    margin-top: 30px;
    text-decoration: none;
    animation: bounce 2s ease-in-out infinite;
}

.btn-primary:hover {
    background: linear-gradient(90deg, #002C59, #0061c2);
    transform: scale(1.05);
}

.competitive-description,
.btn-primary {
    opacity: 0;
    transform: translateX(100px); 
    transition: opacity 1s ease-out, transform 1s ease-out;
}

.competitive-description.visible,
.btn-primary.visible {
    opacity: 1;
    transform: translateX(0);
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}


.section-separator {
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: 100px; 
    margin-top: -90px; 
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.section-separator img {
    width: 100vw; 
    height: auto; 
    display: block;
    object-fit: cover;
}

.projects-section {
    padding: 60px 0;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.projects-section .container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-proyectos-subtitle {
    font-size: 48px;
    font-weight: bold;
    color: #d1a800;
    margin-bottom: 20px;
}

.section-proyectos-subtitle::after {
    content: "";
    display: block;
    width: 670px;
    height: 4px;
    margin-left: 250px;
    border-radius: 100px;
    background-color: #d1a800;
    margin-top: 5px;
}

.section-proyectos-description {
    font-size: 20px;
    color: #002C59;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.projects-slider {
    width: 750px; 
    overflow: hidden;
    position: relative;
    margin: 20px auto;
}

.projects-slider-track {
    display: flex;
    gap: 25px;
    transition: transform 1s ease-in-out;
}

.projects-slider-track img {
    width: 230px;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

@keyframes slideProjects {
    0% { transform: translateX(0); }
    25% { transform: translateX(-25%); }
    50% { transform: translateX(-50%); }
    75% { transform: translateX(-75%); }
    100% { transform: translateX(-100%); }
}

@keyframes jump {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.btn-explore-projects {
    display: inline-block;
    background-color: #002C59;
    color: #ffffff;
    padding: 10px 40px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    animation: bounce 2s ease-in-out infinite;
    margin-top: 20px;
    font-size: 20px;
}

.btn-explore-projects:hover {
    background: linear-gradient(90deg, #002C59, #0050a0);
    transform: scale(1.05);
}



.cta-section {
    position: relative;
    padding: 80px 20px;
    background-image: url('Imagenes/ENCABEZADO\ ZONA\ COTIZACION-02.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    height: 550px;
    text-align: center;
}

.cta-section .container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
}

.cta-title {
    color:#002C59 ;
    font-size: 48px;
    font-weight: bold;
    margin-top: 100px;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 15px;
    opacity: 0;
    transform: translateY(100px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.cta-title.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-description {
    color:#002C59;
    font-size: 20px;
    margin-bottom: 30px;
    margin-left: 15%;
    margin-right: 15%;
    max-width: 70%;
}

.btn-llamadoAccion{
    display: inline-block;
    background-color: #002C59;
    font-size: 35px;
    color: #ffffff;
    padding: 5px 50px;
    border-radius: 50px;
    margin-top: 10px;
    text-decoration: none;
    font-weight: bold;
    animation: bounce 2s ease-in-out infinite;
    opacity: 0;
    transform: translateY(-100px); 
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.btn-llamadoAccion.visible {
    opacity: 1;
    transform: translateY(0);
}

.btn-llamadoAccion:hover {
    background: linear-gradient(90deg, #002C59, #0061c2);
    transform: scale(1.05);
}

.footer-section {
    background-color: #0d3c66;
    color: #ffffff;
    padding: 45px 10px 150px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-item {
    flex: 1;
    min-width: 200px;
}

.footer-logo {
    width: 120px;
    margin-bottom: 10px;
}

.footer-item h3 {
    font-size: clamp(18px, 2.5vw, 25px); 
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
    font-weight: bold;
    text-align: center;
}

.footer-item h3::after {
    content: '';
    display: block;
    width: 100%; 
    height: 3px;
    background-color: #BCA500; 
    position: absolute;
    bottom: -5px; 
    left: 50%;
    transform: translateX(-50%);
    transition: width 0.4s ease; 
}

.footer-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-item ul li {
    margin-bottom: 10px;
}

.footer-item ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-item ul li a:hover {
    color: #4ac0ff; 
}

.social-icons-footer {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.icon-circle {
    width: 30px;
    height: 30px;
    display: inline-block;
    border-radius: 50%;
    overflow: hidden;
    background-color: transparent; 
    transition: transform 0.3s ease;
}

.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.icon-circle:hover {
    transform: scale(1.1); 
}

.footer-content:before {
    content: "";
    display: block;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    height: 100%;
    margin: 0 20px;
}


.social-icons {
    position: fixed;
    bottom: 30px; 
    right: 15px;
    display: flex;
    flex-direction: column; 
    align-items: center;
    z-index: 1000; 
}

.social-icons a {
    margin: 15px 0;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1); 
}

.social-icon {
    width: 90px; 
    height: 90px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icon img {
    width: auto; 
    height: 70%;
    max-width: 70%;
    object-fit: contain;
    display: block;
    margin: auto;
}

.submit-btn {
    background-color: #0092b6;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    width: 100%;
    transition: background-color 0.3s ease;
}

.submit-btn:hover {
    background-color: #007ea1;
}


.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
}

.hamburger {
  display: none;
}

.hidden-navbar {
  transform: translateY(-110%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease, visibility 0.3s ease;
}

@media (min-width: 769px) {
  .arrow {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .arrow {
    display: inline-block;
  }
}

@media (max-width: 768px) {
    .top-bar .container {
    flex-direction: column;
    align-items: center;
    padding-left: 0;
    text-align: center;
    }

    .top-bar-left, .top-bar-right {
    flex-direction: column;
    align-items: center;
    margin: 5px 0;
    }

    .top-bar-left span,
    .top-bar-right a {
    font-size: 14px;
    margin: 5px 0;
    }

    .top-bar-left img,
    .top-bar-right img {
    margin-right: 5px;
    margin-bottom: 2px;
    }

    /* Navbar */

    .navbar {
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    height: auto;
    background-color: white; 
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    overflow: visible;
    box-shadow: none;
    transition: none;
    }
    .scrolled-navbar {
    background-color: white !important;
    top: 0;
    position: fixed;
    width: 100%;
    padding: 20px 20px 10px;
    min-height: 80px;
    height: auto;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    }

    .logo {
    margin: 0;
    position: relative;
    text-align: left; 
    width: 100%;       
    display: flex;
    justify-content: flex-start; 
    padding-left: 20px; 
    top: 25px; 
    z-index: 10;
    }

    .logo img {
    height: 60px;
    max-height: 80px;
    position: relative;
    display: block;
    z-index: 10;
    }

    .hamburger {
    display: block;
    position: absolute;
    top: 25px;
    right: 20px;
    font-size: 30px;
    color: #002b5c;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1500;
    }

    .navbar .dropdown-submenu1 {
    background-color: white;
    }

    .navbar .dropdown-submenu1 li a {
    color: black;
    padding: 8px 15px;
    display: block;
    text-align: left;
    }

    .navbar .dropdown-submenu1 li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    }

    .menu-container {
    width: 100%;
    height: auto;
    background-image: none !important;
    background-color: white !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    overflow: visible; 
    }


    .scrolled-navbar .hamburger {
    color: black;
    z-index: 2001;
    }

    .scrolled-navbar .logo {
        position: relative !important;
        margin: 0 !important;
        top: 0 !important;
        transform: none !important;
        padding-left: 20px;
        display: flex !important;
        justify-content: flex-start;
        z-index: 2000;
    }

    .scrolled-navbar .logo img {
        height: 50px !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
    }



    .scrolled-navbar .menu-container {
    background-color: white;
    padding-top: 15px;
    }

    .scrolled-navbar .nav-links {
    background-color: white;
    width: 100%;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
    }


    .nav-links {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    flex-direction: column;
    align-items: center;
    z-index: 1000;
    position: relative;
    width: 100%;
    padding: 0;
    }

    .nav-links.active {
    max-height: 1000px;
    opacity: 1;
    }

    .navbar .nav-links a {
    color: #002b5c;
    }

    .scrolled-navbar .nav-links li {
    width: 100%;
    text-align: center;
    border-bottom: 1px solid #ddd; 
    }

    .scrolled-navbar .nav-links a {
    display: block;
    font-size: 15px;
    width: 100%;
    color: #000; 
    padding: 10px 0;
    text-decoration: none;
    font-weight: 500;
    }

    .scrolled-navbar .nav-links a:hover {
    background-color: #f0f0f0;
    }

    .nav-links li {
    margin: 0;
    }

    .nav-links a {
    font-size: 16px;
    padding: 8px 0;
    text-decoration: none;
    }

    .contact-button {
    margin-top: 15px;
    width: 80%;
    max-width: 250px;
    font-size: 16px;
    padding: 10px 20px;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    }

    .dropdown-menu {
    display: none;
    max-height: 150px; 
    overflow-y: auto;
    background-color: transparent;
    padding: 0;
    margin: 0;
    }

    .dropdown-menu,
    .dropdown-submenu .dropdown-menu {
    position: static;
    box-shadow: none;
    padding: 5px 0;
    background-color: transparent;
    }

    .dropdown:hover .dropdown-menu {
    display: block;
    }

    .dropdown.open .dropdown-menu {
    display: block;
    }

    .dropdown-toggle {
    cursor: pointer;
    }

    .hidden-navbar {
    top: -100px !important;
    }

    .dropdown-toggle::after {
    content: none !important;
    }


    /* Header */
    .header-text-container {
    max-width: 90%;
    right: 5%;
    bottom: 15%;
    flex-direction: column;
    text-align: center;
    padding: 20px;
    }

    .header-text-container::before {
    display: none;
    }

    .btn-solicita-cotizacion {
    width: 100%;
    font-size: 16px;
    margin-top: 30px;
    }

    .arrow-down img {
    width: 30px;
    }

    .categories-grid {
    flex-direction: column;
    gap: 30px;
    }

    .categories-item {
    flex-direction: column;
    text-align: center;
    min-height: 150px; 
    padding: 20px 0;
    }

    .categories-item img {
    margin-bottom: 10px;
    }

    .categories-section .container {
    height: auto !important; 
    padding: 0 10px;
    max-width: 100%;
    width: 100%;
    }

    .categories-section {
    height: auto !important; 
    padding-top: 50px;
    padding-bottom: 50px;   
    }


    .image-gallery-section {
    flex-direction: column;
    height: auto;
    padding: 40px 0;
    }

    .empresa-layout {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 20px;
    }

    .text-content {
    padding: 20px;
    max-width: 100%;
    }

    .single-image img {
    width: 90vw;
    max-width: 100%;
    height: auto;
    }

    .services-section .section-description {
    width: 90%;
    }

    .section-title {
    font-size: 28px;
    }

    .services-grid {
    flex-direction: column;
    gap: 20px;
    }

    .sectors-section {
    height: auto;
    padding-bottom: 60px;
    }

    .sectors-title {
    font-size: 28px;
    }

    .competitive-advantage-section {
    flex-direction: column;
    height: auto;
    }

    .advantage-wrapper {
    grid-template-columns: 1fr;
    height: auto;
    }

    .advantage-image {
    height: 250px;
    }

    .advantage-image img {
    clip-path: none;
    position: relative;
    }

    .svg-container {
    display: none;
    }

    .advantage-content {
    max-width: 100%;
    padding: 20px 15px;
    align-items: center;
    text-align: center;
    }

    .competitive-subtitle {
    font-size: 22px;
    }

    .competitive-subtitle::after {
    width: 100%;
    max-width: 300px;
    margin: 10px auto 0 auto;
    }

    .competitive-description {
    font-size: 16px;
    margin-top: 10px;
    text-align: center;
    max-width: 100%;
    }

    .key-points {
    margin-top: 15px;
    padding-left: 0;
    }

    .key-points li {
    font-size: 16px;
    text-align: left;
    padding-left: 18px;
    max-width: 100%;
    }

    .btn-primary {
    font-size: 18px;
    padding: 8px 30px;
    margin-top: 20px;
    }





    .svg-container {
    display: none;
    }

    .projects-slider {
    width: 90%;
    }

    .section-proyectos-subtitle {
    font-size: 28px;
    }

    .section-proyectos-subtitle::after {
    width: 60%;
    margin-left: 20%;
    }

    .cta-title {
    font-size: 28px;
    margin-top: 60px;
    }

    .cta-description {
    font-size: 16px;
    margin: 0 auto 20px auto;
    max-width: 90%;
    }

    .btn-llamadoAccion {
    font-size: 22px;
    padding: 10px 30px;
    }

    .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    }

    .footer-item {
    width: 100%;
    }

    .social-icons-footer {
    justify-content: center;
    }

    .social-icon {
    width: 60px;
    height: 60px;
    }

    .projects-slider {
    width: 100%;
    overflow-x: auto;
    }

    .projects-slider-track {
    flex-wrap: nowrap;
    }

    .projects-slider-track img {
    width: 180px;
    }
}




