/* theme colors */
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

*, *::before, *::after {
  box-sizing: border-box;
  min-width: 0; /* Esto es muy útil en móviles */
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  text-shadow: 1px 1px 2px black;
}

html { scroll-behavior: smooth; }
.max-width {
  position: relative;
  max-width: 1300px;
  padding: 0 80px;
  margin: auto;
}
/* navbar styling */
.navbar {
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 30px 0;
  font-family: var(--primary-font);
  text-shadow: 1px 1px 2px black;
  transition: all 0.3s ease;
}

.navbar.sticky {
  padding: 15px 0;
  background: var(--cmpl-dark);
}

.navbar .max-width {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar .logo a {
  color: var(--txt-light);
  font-size: 35px;
  font-weight: 600;
}

.navbar .logo a span {
  color: var(--scnd-light);
  transition: all 0.3s ease;
}

.navbar.sticky .logo a span { 
  color: var(--prmr-light);
  text-shadow: 1px 1px 3px white;
 }

.navbar .menu li {
  list-style: none;
  display: inline-block;
}

.navbar .menu li a {
  display: block;
  color: var(--txt-light);
  font-size: 18px;
  font-weight: 500;
  transition: color 0.3s ease;
}
.navbar .menu li a:hover { color: var(--scnd-light); }
.navbar.sticky .menu li a:hover { color: var(--prmr-light); }

/* menu btn styling */
.menu-btn {
  color: var(--txt-light);
  font-size: 23px;
  cursor: pointer;
  display: none;
}
.scroll-up-btn {
  position: fixed;
  height: 45px;
  width: 42px;
  background: var(--prmr-light);
  right: 30px;
  bottom: 10px;
  text-align: center;
  line-height: 45px;
  color: var(--txt-light);
  z-index: 9999;
  font-size: 30px;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}
.scroll-up-btn.show{
  opacity: 1;
  pointer-events: auto;
  bottom: 30px;
}

/* all similar styling */
section:nth-child(odd) {
  background: var(--bg-darknest);
  color: var(--txt-light);
}
section:nth-child(odd) .title::before { background: var(--bg-light); }
section:nth-child(odd) .title::after { background: var(--bg-darknest); }
section:nth-child(even) { background: var(--bg-light); }
section:nth-child(even) .title::before { background: var(--bg-darknest); }
section:nth-child(even) .title::after { background: var(--bg-light); }
section { padding: 100px 0; }

.about,
.services,
.with-who,
.clients,
.contact,
footer { font-family: var(--primary-font) }

section,
.home .home-content,
.about .about-content,
.services .serv-content,
.with-who .with-who-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

section .title {
  position: relative;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 60px;
  padding-bottom: 20px;
  font-family: var(--primary-font);
}

section .title::before {
  content: Var(--generic-content, "");
  position: absolute;
  bottom: 0px;
  left: 50%;
  width: 180px;
  height: 3px;
  background: var(--bg-darknest);
  transform: translateX(-50%);
}

section .title::after {
  position: absolute;
  bottom: -15px;
  left: 50%;
  font-size: 20px;
  color: var(--prmr-light);
  padding: 5px;
  transform: translateX(-50%);
}

/* Home section styling */
#home {
  background: var(--img-banner-1) no-repeat center;
  background-size: 1920px;
}
.home {
  display: flex;
  min-height: 500px;
  font-family: var(--primary-font);
  
  text-shadow: 1px 1px 2px black;
}


.home .home-content h1,
.home .home-content h2 {
  color: var(--txt-light);
}
.home .home-content h1 {
  max-width: max-content;
  font-size: 36px;
  font-weight: 600;
  margin-bottom: 8px;
}

.home .home-content .questions,
.home .home-content .text-content {
  background: #0009;
  border-radius: 5px;
}
.home .home-content .questions {
  list-style-type: none;
  margin-bottom: 32px;
}
.home .home-content .questions,
.home .home-content .text-content {
  max-width: 40em;
  padding: 8px 16px;
}
.home .home-content .question,
.home .home-content .text,
.home .home-content .text-cta {
  margin-bottom: 12px;
}
.home .home-content a {
  display: inline-block;
  background: var(--prmr-light);
  color: var(--txt-light);
  font-size: 1.5em;
  padding: 10px 30px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid var(--prmr-light);
  text-decoration: none;
  transition: all 0.3s ease;
}
.home .home-content a:hover {
  background-color: #0000;
  color: var(--prmr-light);
}
/* Estilos del logo */
.home .logo {
  padding: 18px;
  text-transform: uppercase;
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 40px;
  border-style: solid;
  border-width: 3px;
  width: 350px;
  border-image: linear-gradient(to bottom, var(--txt-light) 28%, transparent 28%, transparent 72%, var(--txt-light) 72%, var(--txt-light)) 1;
  position: absolute;
  right: 80px;
}
.home .logo h1 {
  font-size: 4em;
  font-weight: 600;
}
.home h2 {
  font-weight: 100;
  font-size: 1.3em;
  letter-spacing: .4em;
}

/* services section styling  */
.services .serv-content .card {
  width: calc(33% - 30px);
  background: var(--bg-dark);
  color: var(--txt-light);
  text-align: center;
  border-radius: 6px;
  padding: 20px 25px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.services .serv-content .card:hover { background: var(--prmr-light); }
.services .serv-content .card .box { transition: all 0.3s ease; }
.services .serv-content .card:hover .box { transform: scale(1.05); }
.services .serv-content .card .box i {
  font-size: 50px;
  color: var(--prmr-light);
  background: var(--bg-dark);
  transition: all 0.3s ease;
}

.services .serv-content .card:hover .box i {
  font-size: 50px;
  color: var(--txt-light);
  background: var(--prmr-light);
}

.services .serv-content .card .text {
  font-size: var(--font-title-size);
  font-weight: 500;
  margin: 10px 0 7px 0;
}
.services .serv-content .card p {
  font-size: var(--font-main-size);
}

/* with-who section styling */
#with-who {
  background: var(--img-banner-2) no-repeat center;
  background-size: cover;
}
.with-who .title {
  color: var(--scnd-light);
}

.with-who .with-who-content .column { width: calc(50% - 30px); }
.with-who .with-who-content .column .sector {
  padding: 8px 14px;
  background: #0009;
  border-radius: 5px;
}
.with-who .with-who-content .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.with-who .with-who-content p { text-align: justify; }

.with-who .with-who-content p.readmore {
  overflow: hidden;
  height: 0em;
  transition: all 0.3s ease;
}

.with-who .with-who-content p.readmore.active { height: 6em; }

.with-who .with-who-content a {
  display: inline-block;
  background: var(--prmr-light);
  color: var(--txt-light);
  font-size: 18px;
  font-weight: 500;
  padding: 8px 16px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid var(--prmr-light);
  transition: all 0.3s ease;
}

.with-who .with-who-content a:hover {
  color: var(--prmr-light);
  background: none;
}

.with-who-content .sector { margin-bottom: 16px; }
.with-who-content .sector h3,
.with-who-content .sector ul { 
  font-size: 1.4em;
}
.with-who-content .sector h3 { 
  margin-bottom: 6px; 
  letter-spacing: .1em;
}
.with-who-content .sector ul { 
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
}
.with-who-content .sector ul li { margin-bottom: 8px;margin-right: 8px; letter-spacing: .05em;}
.with-who-content .sector ul li:not(:last-child):after { content: ","; }
.with-who-content .sector ul li:last-child:after { content: "."; }

/* clients section styling */
.clients a { color: var(--txt-light); }

.clients .carousel .card {
  background: var(--bg-dark);
  border-radius: 6px;
  padding: 25px 35px;
  text-align: center;
  transition: all 0.3s ease;
}

.clients .carousel .card:hover { background: var(--prmr-light); }

.clients .carousel .card .text {
  font-size: 25px;
  font-weight: 500;
  margin: 0;
  margin-bottom: 10px
}

.clients .carousel .card .box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.clients .carousel .card:hover .box { transform: scale(1.05); }

.clients .carousel .card img {
  margin: 0 0 10px 0;
  height: 150px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 5px solid var(--prmr-light);
  transition: all 0.3s ease;
}

.clients .carousel .card:hover img { border-color: var(--bdr-light); }

.clients .carousel .card p {font-size: var(--font-main-size);}
.clients .carousel .card p b {font-size: 1.2em;}

.owl-dots {
  text-align: center;
  margin-top: 20px;
}

.owl-dot {
  height: 13px;
  width: 13px;
  margin: 0 5px;
  outline: none !important;
  border-radius: 50%;
  border: 2px solid var(--prmr-light) !important;
  transition: all 0.3s ease;
}

.owl-dot.active {
  width: 35px;
  border-radius: 14px;
}

.owl-dot.active,
.owl-dot:hover { background: var(--prmr-light) !important; }

/* about section styling */
#about { background: var(--img-banner-3) no-repeat center; }
.about .title { color: var(--scnd-light); }
.about .about-content .left { width: 45%; }
.about .about-content .left img {
  object-position: top;
  max-height: 400px;
  max-width: 400px;
  object-fit: contain;
  border-radius: 6px;
}
.about .about-content .column p {
  padding: 8px 14px;
  background: #0009;
  border-radius: 5px;
}

.about .about-content .right { width: 55%; }

.about .about-content .right .text {
  font-size: 25px;
  font-weight: 600;
  margin-bottom: 10px;
}

.about .about-content .right .text span { color: var(--prmr-light); }

.about .about-content .right p { text-align: justify; }

.about .about-content .right a {
  display: inline-block;
  background: var(--prmr-light);
  color: var(--txt-light);
  font-size: 20px;
  font-weight: 500;
  padding: 10px 30px;
  margin-top: 20px;
  border-radius: 6px;
  border: 2px solid var(--prmr-light);
  transition: all 0.3s ease;
}

.about .about-content .right a:hover {
  color: var(--prmr-light);
  background: none;
}

/* contact section styling */
.contact .contact-content { 
  display: flex;
  justify-content: center;
}
.contact .contact-content .column { width: calc(50% - 30px); }

.contact .contact-content .text {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.contact .contact-content .left p { text-align: justify; }

.contact .row .text { font-size: 1.2em; margin-bottom: 16px }

.contact .contact-content .left .icons { margin: 10px 0; }

.contact .contact-content .icons.row .row {width: 33%;}
.contact .contact-content .icons.row {
  justify-content: center;
  gap: 3em;
}

.contact .contact-content .row {
  display: flex;
  height: 65px;
  align-items: center;
}

.contact .contact-content .row .info { margin-left: 30px; }

.contact .contact-content .row i {
  font-size: 25px;
  color: var(--prmr-light);
}

.contact .contact-content .info .head { font-weight: 500; }

.contact .contact-content .info .sub-title a { color: var(--bg-semi-dark); }
.contact .right form .fields { display: flex; }

.contact .right form .field,
.contact .right form .fields .field {
  height: 45px;
  width: 100%;
  margin-bottom: 15px;
}

.contact .right form .textarea {
  height: 80px;
  width: 100%;
}

.contact .right form .name { margin-right: 10px; }

.contact .right form .email { margin-left: 10px; }

.contact .right form .field input,
.contact .right form .textarea textarea {
  height: 100%;
  width: 100%;
  border: 1px solid var(--bdr-light);
  border-radius: 6px;
  outline: none;
  padding: 0 15px;
  font-size: 17px;
  font-family: var(--primary-font);
}

.contact .right form .textarea textarea {
  padding-top: 10px;
  resize: none;
}

.contact .right form .button {
  height: 47px;
  width: 170px;
}

.contact .right form .button button {
  height: 100%;
  width: 100%;
  border: 2px solid var(--prmr-light);
  background: var(--prmr-light);
  color: var(--txt-light);
  font-size: 20px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.contact .right form .button button:hover {
  color: var(--prmr-light);
  background: none;
}

.contact .row .text a {
  color: var(--txt-dark);
}

/* footer section styling */
footer{
  background: var(--bg-darknest);
  padding: 20px 23px;
  color: var(--txt-light);
}

footer span a {
  color: var(--prmr-light);
  text-decoration: none;
}

footer span a:hover{ text-decoration: underline; }

/* responsive media query start */
@media (max-width: 1300px) {
  .home .max-width { margin-left: 0px; }
}
@media (max-width: 1168px) {
  .home .logo { position: relative; right: auto; margin: 0 auto 24px; }
}
@media (max-width: 1104px) {
  .about .about-content .left img {
    height: 350px;
    width: 350px;
  }
}

@media (max-width: 991px) {
  .max-width { padding: 0 50px; }
}

.navbar .menu {
    display: flex ;
    flex-flow: row;
    justify-content: space-between;
    gap: 1.5em;
}
@media (max-width: 947px) {
  .navbar .menu {
    flex-flow: column;
  }
  .menu-btn {
    display: block;
    z-index: 999;
  }
  .menu-btn i.active:before { content: Var(--icon-burger-menu, "\f00d"); }
  .navbar .menu {
    position: fixed;
    height: 100vh;
    width: 100%;
    left: -100%;
    top: 0;
    background: var(--prmr-light);
    text-align: center;
    padding-top: 80px;
    transition: all 0.3s ease;
  }
  .navbar .menu.active { left: 0; }
  .navbar .menu li { display: block; }
  .navbar .menu li a {
    display: inline-block;
    margin: 20px 0;
    font-size: 25px;
  }
  .home .home-content a {
    font-size: 23px;
    padding: 10px 30px;
  }
  .max-width { max-width: 800px; }
  .about .about-content .column { width: 100%; }
  .about .about-content .left {
    display: flex;
    justify-content: center;
    margin: 0 auto 60px;
  }
  .about .about-content .right { flex: 100%; }
  .services .serv-content .card { width: calc(50% - 10px); }
  .with-who .with-who-content .column,
  .contact .contact-content .column {
    width: 100%;
    margin-bottom: 25px;
  }
}
@media (max-width: 800px){
  .contact .contact-content .icons.row,
  .contact .contact-content .icons.row .row {
    flex-direction: column;
    height: auto;
    gap: .3em;
    display: flex;
    width: auto;
    justify-content: center;
  }
  .contact .contact-content .icons.row .row .info {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin-left: 0px;
  }
  
}
@media (max-width: 690px) {
  .home .home-content a {
    font-size: 20px;
    padding: 10px 30px;
  }
  .services .serv-content .card { width: 100%; }
}
@media (max-width: 640px) {
  .max-width { padding: 0 40px; }
}
@media (max-width: 590px) {
  .max-width { padding: 0 30px; }
}
@media (max-width: 540px) {
  .max-width { padding: 0 20px; }
}
@media (max-width: 490px) {
  .max-width { padding: 0 10px; }
}