/* Custom Overrides & Developer Additions */

/*New footer*/
div#fixed-contact {
  display: none;
}

@media only screen and (max-width: 767px) {
  #footer {
    /*padding-bottom: 60px;*/
  }
  #ui-to-top,
  a#ui-to-top,
  button#ui-to-top {
    margin-bottom: 80px;
  }
  div#fixed-contact {
    display: block;
  }
  div.new-footer {
    background-color: #000;
    position: fixed;
    display: block;
    bottom: 0;
    width: 100%;
    border-top: 3px solid #00dc8f;
    z-index: 99;
    height: 70px;
    /*margin-left: -50px;*/
  }
  div#fixed-contact .phone-btn a {
    background: #30bf2a !important;
  }
  div#fixed-contact .columns.phone-btn {
    left: 50%;
  }
  div#fixed-contact .columns {
    display: inline-block;
    width: auto;
    text-align: center;
    float: none;
    position: absolute;
    transform: translate(-50%, -50%);
    top: 35%;
    padding: 0;
  }
  div#fixed-contact .phone-btn a {
    display: block;
    border-radius: 50%;
    background: currentColor;
    width: 75px;
    height: 75px;
    top: -20px;
    position: relative;
    border: 1px solid #fff;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  }
  div#fixed-contact .phone-btn a i {
    position: relative;
    transform: translateY(-50%);
    top: 50%;
    font-size: 38px;
    color: #fff;
  }
  div#fixed-contact a i {
    display: block;
    color: #fff;
  }
  div#fixed-contact a div.pnl-email {
    background-color: #3f51b5;
  }
  .pnl-email > i {
    line-height: 50px;
  }
  div#fixed-contact a div.pnl-email,
  div#fixed-contact a div.pnl-freequote {
    border-radius: 100%;
    border: 1px solid white;
    display: block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    margin: 0px auto;
  }
  div#fixed-contact a div.pnl-freequote {
    background-color: #03a9f4;
  }
  .pnl-freequote > i {
    line-height: 50px;
  }
  div#fixed-contact .columns.quote-btn {
    left: calc(50% + 120px);
  }
  div#fixed-contact .columns:not(.phone-btn) {
    width: 30%;
  }
  div#fixed-contact a span {
    font-size: 16px;
    color: #fff;
    padding-top: 3px;
    display: block;
    font-family: inherit;
  }
  i.fa.fa-file-text {
    font-size: 21px;
  }
  div#fixed-contact .columns.email-btn {
    left: calc(50% - 120px);
  }
  i.fa.fa-envelope {
    font-size: 17px;
  }
  i#icon-new-footer {
    font-size: 20px;
  }
}
/*fin de new footer*/

/*estilos nuevos*/
select#services,
select#type,
select#about {
  -webkit-appearance: menulist-button !important;
}
.option-header {
  /* margin-top: 15px !important; */
  display: block;
}
img.logo-reviews {
  border-radius: 20px;
}
.modal.in {
  visibility: visible;
  opacity: 1;
  margin-top: 65px;
}
span.form-validation {
  display: none !important;
}
h4.modal-title,
.modal-title {
  position: absolute;
}
form#contact-form > div > div {
  margin-bottom: 15px !important;
}
i#icon-reviews {
  font-size: 28px;
  background-color: var(--color-secondary);
  color: #fff;
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 100%;
  text-align: center;
}
.content-reviews {
  height: 200px;
  overflow: auto;
}
.new-btn {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}
.new-btn:hover {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}
.tabs-custom .nav-link:hover,
.tabs-custom .nav-link.active {
  color: var(--color-secondary);
}
a.rd-dropdown-link.active {
  color: var(--color-secondary) !important;
}

p.title-header-mobile {
  display: none;
}
address#direccion {
  display: block;
}
address#license {
  display: block;
}
address#text-phone {
  display: none !important;
}
address#gmail {
  display: none !important;
}
.logo-mobile-header {
  display: none !important;
}
.list-header > address {
  display: inline-block;
  position: relative;
  /* margin-right: -2px; */
}
.unit-spacing-xs {
  margin-right: 8px;
}

@media (max-width: 768px) {
  .rd-navbar-minimal.rd-navbar-light.rd-navbar-fixed .rd-navbar-panel {
    background: var(--color-primary);
  }
  .rd-navbar-minimal.rd-navbar-light.rd-navbar-fixed .rd-navbar-toggle span {
    background: #fff;
  }
  .rd-navbar-minimal.rd-navbar-light.rd-navbar-fixed
    .rd-navbar-toggle
    span:before {
    background: #fff;
  }
  .rd-navbar-minimal.rd-navbar-light.rd-navbar-fixed
    .rd-navbar-toggle
    span:after {
    background: #fff;
  }
  .rd-navbar-minimal.rd-navbar-fixed .rd-navbar-top-panel-toggle span {
    color: #ffffff;
  }
  p.title-header-mobile {
    position: absolute;
    margin-top: -40px;
    margin-left: 53px;
    color: #ffffff;
    font-size: 20px;
    display: block;
    font-weight: bold;
  }
  address#direccion {
    display: none;
  }
  address#text-phone {
    display: block !important;
  }
  address#gmail {
    display: block !important;
  }
  address#license {
    display: none;
  }
  #ui-to-top,
  a#ui-to-top,
  button#ui-to-top {
    margin-bottom: 65px;
  }
  .rd-navbar-minimal.rd-navbar-light.rd-navbar-fixed .rd-navbar-nav li > a {
    color: var(--color-primary-dark);
  }
  .rd-navbar-minimal.rd-navbar-light.rd-navbar-fixed
    .rd-navbar-nav
    li.active
    > a {
    color: #ffffff;
    background-color: var(--color-secondary);
  }
  .logo-mobile-header {
    display: block !important;
  }
  img.logo-header {
    /* margin-top: 20px; */
    /*padding: 20px;*/
    max-width: 250px;
    width: 100%;
  }
  .content-reviews {
    height: auto;
  }
  .owl-item {
    margin-bottom: 25px;
  }
  img.logo-reviews {
    margin-bottom: 10px;
    padding: 15px;
  }
  .unit-spacing-xs {
    margin-left: -15px;
  }
}

ul.list-inline-services > li > a {
  color: #e5e5e5;
}
ul.list-inline-services > li:before {
  content: "\f14f";
  font-family: "Material Design Icons";
  font-size: 14px;
  line-height: 14px;
  padding-right: 15px;
  opacity: 0.4;
  color: #fff !important;
}
ul.list-inline-services > li > a:hover {
  color: var(--color-secondary);
}
ul.list-inline-option > li > a {
  color: #e5e5e5;
}
ul.list-inline-option > li:before {
  content: "\f14f";
  font-family: "Material Design Icons";
  font-size: 14px;
  line-height: 14px;
  padding-right: 15px;
  opacity: 0.4;
  color: #fff !important;
}
ul.list-inline-option > li {
  width: 100%;
  display: flex;
  align-items: center;
}
ul.list-inline-option > li > a:hover {
  color: var(--color-secondary);
}
p.descrip-footer {
  margin-top: 25px;
}
img.logo-ssl {
  width: 80px;
  border-radius: 100%;
  margin-top: 20px;
}
a.text-java.gmail-footer {
  color: #e5e5e5 !important;
}
a.text-java.gmail-footer:hover {
  color: var(--color-secondary) !important;
}
span.color-icons:before {
  color: var(--color-secondary);
}
a.icons-footer {
  background-color: var(--color-secondary);
  color: #fff;
}
a.icons-footer:hover {
  background-color: #0956b5;
  color: #fff;
}
.list-header-new {
  padding-top: 20px;
}
.icon.icon-xs.fa.fa-home.text-java {
  font-size: 25px;
}
.icon.icon-xs.fa.fa-building.text-java {
  font-size: 24px;
}
p.text-reviews {
  height: 250px;
}
.img-anima1 {
  margin-left: -150px;
}
.slide-bg-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  display: block;
}
.slide-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.swiper-slide.anima2.swiper-slide-active {
  background-repeat: no-repeat;
  background-position: 50%;
}
.swiper-slide.anima3.swiper-slide-active {
  background-repeat: no-repeat;
  background-position: 50%;
}
/* ========================================================
   Hero Slider: Enhanced Typography & Glassmorphism Pagination
   ======================================================== */
.hero-content-box {
  position: relative;
  max-width: 620px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgb(255 255 255 / 60%) 0%,
    rgb(255 255 255 / 30%) 100%
  );
  padding: 24px 28px;
  border-radius: 14px;
}

@media (min-width: 768px) {
  .hero-content-box {
    text-align: start;
  }
}

@media (min-width: 992px) {
  .hero-content-box {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    box-shadow:
      0 10px 30px -5px rgba(30, 41, 59, 0.12),
      0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px 36px;
  }
}

.hero-title {
  color: #1e293b !important;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

/* Glassmorphism Floating Dock for Swiper Pagination */
.hero-slider.swiper-container-horizontal > .swiper-pagination {
  bottom: 24px;
  left: 50% !important;
  transform: translateX(-50%);
  width: auto !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  z-index: 25;
}

@media (min-width: 992px) {
  .hero-slider.swiper-container-horizontal > .swiper-pagination {
    bottom: 40px;
    left: calc(50% - 465px) !important;
    transform: none;
    padding: 8px 18px;
  }
}

@media (min-width: 1200px) {
  .hero-slider.swiper-container-horizontal > .swiper-pagination {
    left: calc(50% - 585px) !important;
  }
}

/* Base Dot Styling */
.hero-slider .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.65) !important;
  opacity: 1 !important;
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
}

.hero-slider .swiper-pagination-bullet:before {
  display: none !important;
}

.hero-slider .swiper-pagination-bullet:hover {
  background: #ffffff !important;
  transform: scale(1.2);
}

/* Active Dot: Expanding Accent Pill */
.hero-slider .swiper-pagination-bullet-active {
  width: 28px;
  height: 10px;
  border-radius: 12px;
  background: #eb42a8 !important;
}

#content-anima {
  left: 40px;
}
.col-lg-7.section-41.section-sm-98.section-md-bottom-167 {
  z-index: 999;
}
i#icon-makes {
  color: #eb42a8;
}
.icon-home2 {
  border-color: var(--color-primary) 82;
}
.parallax-content.section-98.section-sm-110.context-dark {
  background: rgb(7 64 191 / 66%);
}

/* Ipad en orientacion horizantal*/
@media only screen and (min-width: 991px) {
  /* .list-header.list-header-new > address {
    margin-left: 40px;
  } */
  .list-header.list-header-new {
    width: 100%;
    display: flex;
    justify-content: end;
    flex-wrap: wrap;
    gap: 1.5rem;
  }
}

/* Ipad en orientacion vertical*/
@media (max-width: 1023px) {
  address#direccion {
    display: none !important;
  }
  address#license {
    display: none !important;
  }
}

@media (max-width: 768px) {
  p.text-reviews {
    height: auto;
  }
  #content-anima {
    left: 0px;
  }
  .list-header-new {
    padding-top: 0px;
  }
  .swiper-slide.anima2.swiper-slide-active {
    background-size: cover;
  }
  .swiper-slide.anima3.swiper-slide-active {
    background-size: cover;
  }
}

@media only screen and (min-width: 1824px) {
  img.brand-logo-dark {
    display: block !important;
  }
}

.new-content {
  text-align: right;
}
p.text-color {
  font-size: 14px;
  color: #8e8e8e;
}

.img-footer {
  /* filter: brightness(0) invert(1); */
  aspect-ratio: 1/1 !important;
  margin: 0 auto;
  max-width: 180px;
}

.img-reviews {
  border-radius: 50%;
  max-width: 50px;
  width: 100%;
}

.gap-2 {
  gap: 0.75rem;
}

.logo-web {
  aspect-ratio: 11/5;
}

.icon-review.active {
  color: #ffbc23;
}

/*
* UI To Top
*/
.ui-to-top,
.ui-to-top.icon,
#ui-to-top,
a#ui-to-top,
button#ui-to-top {
  box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.15);
  position: fixed !important;
  right: 15px;
  bottom: 15px;
  background: var(--color-primary) !important;
  overflow: hidden;
  z-index: 1000 !important;
  transform: translateY(100px);
  transition: 0.33s all ease;
  text-align: center;
  color: #ffffff !important;
}

.ui-to-top:hover,
.ui-to-top.icon:hover,
#ui-to-top,
a#ui-to-top,
button#ui-to-top:hover {
  color: #ffffff !important;
  background: var(--color-primary-dark) !important;
  text-decoration: none;
}

.ui-to-top:focus,
.ui-to-top.icon:focus,
#ui-to-top,
a#ui-to-top,
button#ui-to-top:focus {
  color: #ffffff !important;
}

.ui-to-top.active,
.ui-to-top.icon.active,
#ui-to-top,
a#ui-to-top,
button#ui-to-top.active {
  transform: translateY(0);
}

/* ========================================================
   Core Web Vitals - CLS Layout Shift Prevention
   ======================================================== */

/* Reserve header / navbar height to prevent pushing content down */
.rd-navbar-wrap {
  min-height: 56px;
}

@media (min-width: 1200px) {
  .rd-navbar-wrap {
    min-height: 168px;
  }
}

@media (max-width: 768px) {
  .logo-mobile-header {
    min-height: 117px;
  }
}

/* Reserve Swiper Slider space and prevent uninitialized slide reflow */
.swiper-container.swiper-slider {
  min-height: 400px;
}

@media (min-width: 992px) {
  .swiper-container.swiper-slider {
    height: 80vh;
    min-height: 560px;
  }
}

/* Before Swiper initializes, keep only the active first slide visible */
.swiper-slider:not(.swiper-container-horizontal):not(.swiper-container-vertical)
  .swiper-slide:not(:first-child) {
  display: none !important;
}

/* ========================================================
   Nested Sub-list Styling for Blogs
   ======================================================== */
.list-marked ul.list-sub-marked {
  list-style: none;
  padding-left: 10px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.list-marked ul.list-sub-marked > li {
  padding-left: 20px;
  position: relative;
  margin-top: 4px;
}

.list-marked ul.list-sub-marked > li:before {
  content: "◦";
  position: absolute;
  left: 3px;
  top: 10px;
  transform: translateY(-50%);
  font-size: 16px;
  line-height: 1;
  color: #777777;
  font-family: Arial, sans-serif;
  font-weight: bold;
}

.text-secondary {
  color: var(--color-secondary);
}

.service-card-modern {
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid #e3e7ee;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.service-card-modern:hover {
  border-color: #c4d0e5;
  box-shadow: 0 6px 16px rgba(27, 50, 96, 0.08);
}

.service-card-modern .post-media {
  position: relative;
  background-color: #f7f8fa;
  border-bottom: 1px solid #edf0f5;
}

.service-card-modern .post-media img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  display: block;
}

.service-card-modern .post-content {
  padding: 22px 20px 24px !important;
}

.service-card-modern .post-title h4 a {
  color: var(--color-primary);
  transition: color 0.2s ease;
}

.service-card-modern .post-title h4 a:hover {
  color: var(--color-secondary);
}

.service-card-modern .post-body p {
  color: #687282;
  line-height: 1.6;
  font-size: 15px;
}

/* Sidebar Service Areas & Contact Info */
.sidebar-service-areas {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 0;
  list-style: none;
}

.sidebar-service-areas .list-inline-item {
  display: inline-block;
  margin: 0;
}

.btn-service-area {
  display: inline-block;
  padding: 6px 14px;
  font-size: 13px;
  line-height: 1.4;
  color: #555e6d;
  border: 1px solid #00000021;
  text-decoration: none;
  transition: all 0.25s ease-in-out;
}

.btn-service-area:hover,
.btn-service-area:focus {
  color: #ffffff;
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
  text-decoration: none;
  /* box-shadow: 0 3px 8px rgba(var(--color-secondary-rgb), 0.25); */
}
