:root {
  --color-font: rgb(6, 60, 177);
}

* {
  margin: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  overflow-x: hidden;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 50px;
  max-width: 1400px;
  margin: 0 auto;
  background: #0000004d;
  border-radius: 10rem;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 60px;
}

.nav-link {
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  transition: color 0.3s;
}

.nav-link:hover {
  color: #0066cc;
}

.btn-cotiza {
  background: #0066cc;
  color: white;
  border: none;
  padding: 10px 30px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.8px;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  visibility: hidden;
}

.btn-cotiza:hover {
  background: #0052a3;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 102, 204, 0.3);
}

.menu-link.active {
  color: #ffffff !important;
  font-weight: bold;
  position: relative;
  text-decoration: none;
}

.menu-link.active::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
}

/*hOME*/
div.home {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #000;
  font-size: 5vw;
  padding: 2rem;
  box-sizing: border-box;
  overflow: hidden;
}


div.letras img {
  position: absolute;
  left: 5%;
  top: 80%;
  width: 20%;
}


/*servicios*/
div.crs {
  position: relative;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #000;
  font-size: 5vw;
  padding: 2rem;
  box-sizing: border-box;
  overflow: hidden;
  left: -20%;
}

div.crs_slogan {
  position: absolute;
  text-align: center;
  align-items: center;
  justify-content: center;
  left: 70%;
  top: 10%;
  font-size: 35px;
  width: auto;
}

div.crs_slogan h2 span {
  color: var(--color-font);
}

div.crs_text {
  position: absolute;
  left: 72%;
  top: 40%;
  justify-content: center;
  font-size: 30px;
  margin-top: 1.5rem;
}

/*tecnologias*/
div.oficial {
  position: relative;
  height: 85vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #000;
  font-size: 5vw;
  padding: 0rem;
  box-sizing: border-box;
  overflow: hidden;
  margin-top: 2rem;
}

div.oficial_slogan {
  position: absolute;
  text-align: center;
  align-items: center;
  justify-content: center;
  left: 10%;
  top: 35%;
  font-size: 35px;
  color: white;
}

div.oficial_text {
  position: absolute;
  left: 10%;
  top: 55%;
  justify-content: center;
  font-size: 30px;
  color: white;
  margin-top: 1rem;
}

/*Footer*/
.footer-end {
  background-color: #000;
  padding: 60px 20px;
  color: #fff;
  position: relative;
  z-index: 50;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-col {
  flex: 1;
}

.footer-left {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.footer-logo-box {
  display: flex;
  align-items: center;
  gap: 15px;
}

.footer-icon {
  width: 200px;
  height: auto;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
}

.footer-logo-text .subtitle {
  font-weight: 400;
  letter-spacing: 2px;
  font-size: 14px;
  margin-top: 2px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 25px;
  padding: 10px 15px;
  border: 1px solid #fff;
  display: inline-block;
  min-width: 200px;
}

.footer-info p,
.footer-links li a {
  text-transform: uppercase;
  font-size: 13px;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li a {
  text-decoration: none;
  display: block;
  transition: color 0.3s;
}

.footer-links li a:hover {
  color: #2668d2;
}

.footer-copyright {
  text-align: center;
  padding-top: 20px;
  font-size: 12px;
  color: #888;
  text-transform: uppercase;
  max-width: 1200px;
  margin: 0 auto;
}

@media  (max-width: 1024px)  {
  div.crs img {
    position: relative;
    top: -35%;
    left: 20%;
    width: 70%;
  }
  
  div.crs_slogan {
    font-size: 30px;
    top: 55%;
    left: 45%;
  }

  div.crs_text {
    font-size: 30px;
    top: 75%;
    left: 45%;
  }

  div.oficial {
    height: 69vh;
  }
  
  div.oficial img {
    position: relative;
    left: -10%;
  }

  div.oficial_slogan {
    font-size: 25px;
    top: 20%;
    left: 60%;
  }

  div.oficial_text {
    font-size: 20px;
    top: 30%;
    left: 60%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  
  .footer-heading {
    margin: 0 auto 20px auto;
  }
}

@media (max-width: 768px) {
  div.home img {
    position: relative;
    left: 20%;
  }

  div.letras img {
  position: absolute;
  left: 35%;
  top: 15%;
  width: 30%;
}


  div.crs img {
    position: relative;
    left: 20%;
    width: 70%;
    top: 0%;
  }

  .header {
    background: #000;
  }

  .navbar {
    padding: 15px 20px;
    justify-content: space-between;
  }

  .logo img {
    height: 35px;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #000;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    max-height: calc(100vh - 60px);
    padding: 20px 0;
    border-top: 1px solid #333;
    overflow-y: auto;
  }

  .nav-menu li {
    text-align: center;
    padding: 15px 20px;
  }

  .nav-link {
    color: #fff;
    font-size: 16px;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #0066cc;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .menu-overlay.active {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  .btn-cotiza {
    background: transparent;
    border: none;
    padding: 10px;
    font-size: 0;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    visibility: visible;
  }

  .btn-cotiza::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
    box-shadow: 0 10px 0 #fff, 0 20px 0 #fff;
    transition: all 0.3s;
  }

  div.crs_slogan {
    position: relative;
    font-size: 18px;
    top: 0%;
    left: 45%;
    width: 55%;
    margin-top: -2rem;
  }

  div.crs_text {
    position: relative;
    font-size: 20px;
    top: 5%;
    left: 45%;
    width: 55%;
    margin-top: 1rem;
     text-align: justify;
  }

  div.oficial img {
    position: relative;
    left: -8%;
  }

  div.oficial_slogan {
    font-size: 15px;
    top: 5%;
    left: 55%;
  }

  div.oficial_text {
    font-size: 13.5px;
    top: 15%;
    left: 55%;
    margin-top: 1rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  
  .footer-heading {
    margin: 0 auto 20px auto;
  }
}

@media (max-width: 900px) and (orientation: landscape) {
  div.home img {
    position: relative;
    left: 20%;
  }

  div.crs img {
    position: relative;
    left: 20%;
    width: 25%;
    top: 0%;
  }

  .header {
    background: #000;
  }

  .navbar {
    padding: 15px 20px;
    justify-content: space-between;
  }

  .logo img {
    height: 35px;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #000;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    z-index: 999;
  }

  .nav-menu.active {
    max-height: calc(100vh - 60px);
    padding: 20px 0;
    border-top: 1px solid #333;
    overflow-y: auto;
  }

  .nav-menu li {
    text-align: center;
    padding: 15px 20px;
  }

  .nav-link {
    color: #fff;
    font-size: 16px;
  }

  .nav-link:hover,
  .nav-link.active {
    color: #0066cc;
  }

  .menu-overlay {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
  }

  .menu-overlay.active {
    display: block;
  }

  body.menu-open {
    overflow: hidden;
  }

  .btn-cotiza {
    background: transparent;
    border: none;
    padding: 10px;
    font-size: 0;
    position: relative;
    width: 30px;
    height: 24px;
    cursor: pointer;
    visibility: visible;
  }

  .btn-cotiza::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: #fff;
    box-shadow: 0 10px 0 #fff, 0 20px 0 #fff;
    transition: all 0.3s;
  }

  div.crs_slogan {
    position: relative;
    font-size: 18px;
    top: 0%;
    left: 45%;
    width: 55%;
    margin-top: -2rem;
  }

  div.crs_text {
    position: relative;
    font-size: 16px;
    top: 5%;
    left: 45%;
    width: 55%;
    margin-top: 1rem;
    text-align: justify;
  }

  div.oficial img {
    position: relative;
    left: -8%;
    top: 11%;
  }

  div.oficial_slogan {
    font-size: 15px;
    top: 10%;
    left: 65%;
  }

  div.oficial_text {
    font-size: 12px;
    top: 35%;
    left: 65%;
    margin-top: 1rem;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
  }
  
  .footer-heading {
    margin: 0 auto 20px auto;
  }
}

