/* Ajuste para que la imagen quede al lado derecho del texto en misión/visión */
#mision_section .row {
  align-items: flex-start !important;
  gap: 0 !important;
}
#mision_section .detail-box {
  max-width: 520px;
  margin-left: 0;
  margin-right: auto;
}
#mision_section .img-box {
  max-width: 400px;
  margin-left: auto;
  margin-right: 0;
}
@media (max-width: 991px) {
  #mision_section .detail-box,
  #mision_section .img-box {
    max-width: 100%;
    margin: 0 auto;
  }
}
/* Forzar imagen a la derecha del texto en la sección de misión */
@media (min-width: 769px) {
  #mision_section .row {
    flex-direction: row !important;
  }
  #mision_section .col-md-6.order-md-1 {
    order: 1 !important;
  }
  #mision_section .col-md-6.order-md-2 {
    order: 2 !important;
  }
  #mision_section .img-box {
    margin-top: 0 !important;
  }
}
/* Imagen de misión alineada a la derecha */
.mision-img-box {
  display: flex;
  justify-content: flex-end;
}
.mision-img-box img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

body {
  font-family: "Roboto", sans-serif;
  color: #a5a5a5;
  background-color: #1d191b;
  line-height: 1.6;
}

/* Reserve space for fixed header; value updated from JS to match header height */
body {
  padding-top: var(--header-height, 88px);
}

/* Remove any accidental empty separator spacing inserted in templates */
.header_separator {
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  display: block;
}

/* Ensure elements scrolled-to by anchors account for the fixed header height. */
/* Uses the same CSS variable the JS also sets so native anchor navigation and JS
   scrolling land consistently below the header. */
.heading_container h2,
section[id],
[id] {
  scroll-margin-top: calc(var(--header-height, 88px) + 8px);
}

/* Prevent unwanted horizontal overflow (removes stray right-edge lines on mobile) */
html,
body {
  overflow-x: hidden;
}

.layout_padding {
  padding: 40px 0;
}

.layout_padding2 {
  padding: 60px 0;
}

.layout_padding-bottom {
  padding-bottom: 100px;
}

.heading_container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 50px;
}
.heading_container h2 {
  position: relative;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 15px;
  border-bottom: 4px solid #bc262c;
  color: #ffffff;
  font-size: 2.5rem;
  letter-spacing: 1px;
}

.heading_container p {
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
}
.heading_container.heading_center {
  align-items: center;
  text-align: center;
}

/*header section*/
.header_section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  position: fixed; /* always visible */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 2000;
}

.header_section .header_bottom {
  padding: 15px 0;
}
.header_section .header_bottom .container-fluid {
  padding-right: 25px;
  padding-left: 25px;
}

.logo-bs {
  max-width: 70px;
  height: auto;
  transition: transform 0.3s ease;
}

.logo-bs:hover {
  transform: scale(1.05);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  transition: all 0.3s ease;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 1.8rem;
  font-weight: 800;
  color: #bc262c;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
  position: relative;
}

.brand-slogan {
  font-size: 0.7rem;
  font-weight: 500;
  color: #666;
  line-height: 1.2;
  max-width: 500px;
  letter-spacing: 0.3px;
  margin-bottom: 8px; /* Espacio debajo del slogan */
}

.brand-name::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #bc262c, #ff4757);
  transition: width 0.3s ease;
}

.navbar-brand:hover .brand-name::after {
  width: 100%;
}

/* Layout fixes to prevent slogan overlapping the menu */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  min-width: 0;
  flex-wrap: wrap; /* allow slogan to wrap to next line when space is limited */
}

.brand-slogan {
  /* allow wrapping instead of truncation */
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
  max-width: 100%; /* adapt to available space */
}

.custom_nav-container .navbar-collapse {
  margin-left: 0; /* use flex to position instead of margin hack */
  align-items: center;
  flex: 1 1 auto; /* take remaining space */
  justify-content: flex-end; /* align menu to the right */
}

/* Default collapsed behavior for small screens */
.custom_nav-container .navbar-collapse.collapse {
  display: none;
}
.custom_nav-container .navbar-collapse.show {
  display: block;
}

/* On large screens, show navbar as flex */
@media (min-width: 992px) {
  .custom_nav-container .navbar-collapse {
    display: flex;
  }
  .custom_nav-container .navbar-nav {
    display: flex;
    flex-direction: row;
  }
}

/* Center the navbar items on wide screens */
@media (min-width: 992px) {
  .custom_nav-container .navbar-collapse {
    justify-content: center; /* center the nav area */
  }
  .custom_nav-container .navbar-nav {
    margin: 0 auto;
  }
}

.navbar-brand {
  min-width: 0; /* allow brand to shrink on small screens */
}

/* Responsive: shorten or hide slogan on smaller screens */
@media (max-width: 992px) {
  .brand-slogan {
    max-width: 100%;
    font-size: 0.62rem;
  }
}

@media (max-width: 768px) {
  .brand-slogan {
    /* keep slogan visible on small screens but smaller */
    display: block;
    font-size: 0.58rem;
    margin-bottom: 6px;
  }
}

/* Fix header brand overflow on very small screens */
@media (max-width: 480px) {
  .logo-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo/info on left, toggler on right */
    gap: 8px;
    flex-wrap: nowrap; /* prevent brand from wrapping below the toggler */
  }

  .navbar-brand {
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    align-items: center;
  }

  .brand-name {
    font-size: 1.05rem;
    /* allow wrapping so full name is visible on two lines if needed */
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    max-width: 70%; /* leave space for toggler */
    line-height: 1;
  }

  .brand-slogan {
    /* show slogan below name if space allows */
    display: block;
    font-size: 0.52rem;
    color: #8a8a8a;
    margin-top: 2px;
  }

  /* Ensure toggler stays to the right of the brand */
  .navbar-brand {
    max-width: calc(100% - 64px); /* reserve ~64px for toggler/button */
  }

  .navbar-toggler {
    margin-left: 8px;
    flex: 0 0 56px;
    order: 2;
    align-self: center;
  }

  /* Put brand first and toggler second to guarantee layout */
  .logo-container > .navbar-brand {
    order: 1;
  }
  .logo-container > .navbar-toggler {
    order: 2;
  }
}

/* Floating WhatsApp FAB */
.whatsapp-fab {
  position: fixed;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  padding: 6px; /* keep a tappable area */
  z-index: 2000;
  transition: transform 0.12s ease;
}
.whatsapp-fab:hover {
  transform: translateY(-3px);
}
.whatsapp-fab img {
  width: 36px;
  height: auto;
  display: block;
  filter: none;
}

@media (max-width: 768px) {
  .whatsapp-fab {
    right: 14px;
    bottom: 14px;
  }
  .whatsapp-fab img {
    width: 32px;
  }
}

@media (max-width: 480px) {
  .whatsapp-fab {
    right: 12px;
    bottom: 12px;
  }
  .whatsapp-fab img {
    width: 28px;
  }
}

/* Ensure navbar can wrap items when space is tight */
.custom_nav-container {
  flex-wrap: wrap;
}

/* Mobile: make collapse occupy full viewport below header when open */
@media (max-width: 991px) {
  .custom_nav-container .navbar-collapse {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto; /* set by JS to match header height */
    background: rgba(29, 25, 27, 0.98);
    z-index: 1500;
    overflow-y: auto;
    padding: 20px 16px;
    -webkit-overflow-scrolling: touch;
    transition: transform 0.18s ease;
  }

  /* ensure nav items are stacked and visible */
  .custom_nav-container .navbar-nav {
    flex-direction: column;
    align-items: stretch;
  }

  .custom_nav-container .navbar-nav .nav-item .nav-link {
    text-align: left;
    padding: 14px 18px;
    background: transparent;
    margin: 6px 0;
  }

  /* Ensure Contact is still a red button in collapsed mobile menu */
  .custom_nav-container .navbar-collapse.show .nav-contact {
    background: #bc262c;
    color: #ffffff !important;
    padding: 12px 16px;
    border-radius: 8px;
    margin: 8px 0;
    display: inline-block;
  }

  /* Make dropdowns (language selector) integrate with mobile menu background */
  .custom_nav-container .navbar-collapse .dropdown-menu {
    position: static;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 8px 0 0 0;
  }
  .custom_nav-container .navbar-collapse .dropdown-item {
    color: #ffffff;
    padding: 10px 18px;
    background: transparent;
  }
  .custom_nav-container .navbar-collapse .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #bc262c;
    padding-left: 20px;
  }
  .custom_nav-container .navbar-collapse .dropdown-toggle {
    color: #ffffff;
  }
}

/* When menu is open, prevent body from scrolling (class toggled via JS) */
.menu-open {
  overflow: hidden;
  touch-action: none;
}

.custom_nav-container .navbar-nav .nav-item .nav-link {
  padding: 12px 25px;
  color: #1d191b;
  text-align: center;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  position: relative;
  margin: 0 5px;
}

/* Stronger mobile collapsed rule to ensure Contact stays visible and aligned
   with other menu items: make it a full-width block with the same padding */
.custom_nav-container
  .navbar-collapse.show
  .navbar-nav
  .nav-item
  .nav-link.nav-contact {
  background: #bc262c;
  color: #ffffff !important;
  padding: 14px 18px;
  border-radius: 8px;
  margin: 6px 0;
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  box-shadow: 0 6px 18px rgba(188, 38, 44, 0.18);
}

/* Highlight Contact link as a red button */
.custom_nav-container .navbar-nav .nav-contact {
  background: #bc262c;
  color: #ffffff !important;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 6px 18px rgba(188, 38, 44, 0.18);
}
.custom_nav-container .navbar-nav .nav-contact::before {
  display: none;
}
.custom_nav-container .navbar-nav .nav-contact:hover {
  background: #9f1d20;
  color: #fff !important;
  transform: translateY(-2px);
}

.custom_nav-container .navbar-nav .nav-item .nav-link::before {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #bc262c;
  transition: width 0.3s ease;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link::before,
.custom_nav-container .navbar-nav .nav-item.active .nav-link::before {
  width: 70%;
}

.custom_nav-container .navbar-nav .nav-item:hover .nav-link,
.custom_nav-container .navbar-nav .nav-item.active .nav-link {
  color: #bc262c;
  background-color: rgba(188, 38, 44, 0.05);
}

/* Ensure the Contact button keeps readable white text and strong background
   when hovered — this rule is more specific so it overrides the generic
   .nav-item:hover .nav-link rule above. */
.custom_nav-container .navbar-nav .nav-item .nav-link.nav-contact:hover,
.custom_nav-container .navbar-nav .nav-contact:hover {
  background: #9f1d20;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(188, 38, 44, 0.18);
}

.navbar-toggler {
  outline: none;
  border: 2px solid #bc262c;
  padding: 8px 12px;
  border-radius: 5px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(188, 38, 44, 0.25);
}

.navbar-toggler span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #bc262c;
  margin: 5px 0;
  transition: all 0.3s;
  border-radius: 2px;
}

/* Dropdown Styles */
.dropdown-menu {
  background-color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  padding: 10px 0;
  margin-top: 10px;
}

.dropdown-item {
  padding: 10px 20px;
  color: #1d191b;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.dropdown-item:hover {
  background-color: rgba(188, 38, 44, 0.1);
  color: #bc262c;
  padding-left: 25px;
}

.dropdown-toggle::after {
  margin-left: 8px;
  vertical-align: middle;
}

/* slider section */
.slider_section {
  padding: 80px 0;
  background: linear-gradient(135deg, #1d191b 0%, #2a2a2a 100%);
  position: relative;
  overflow: hidden;
}

.slider_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(188,38,44,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
  opacity: 0.5;
  pointer-events: none;
}

.slider_section .detail-box {
  position: relative;
  z-index: 1;
}

.slider_section .detail-box h2 {
  color: #ffffff;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2.8rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.slider_section .detail-box h2 span {
  color: #bc262c;
  background: linear-gradient(135deg, #bc262c, #ff4757);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.slider_section .detail-box p {
  color: #c5c5c5;
  margin-top: 20px;
  font-size: 1.1rem;
  line-height: 1.8;
}

.slider_container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 50px;
  position: relative;
  z-index: 1;
}

.slider_img {
  max-height: 450px;
  width: auto;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transition: all 0.4s ease;
}

.slider_img:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 50px rgba(188, 38, 44, 0.3);
}

.slider_section .carousel-indicators {
  position: unset;
  margin: 0;
  justify-content: center;
  align-items: center;
  margin-top: 50px;
  position: relative;
  z-index: 1;
}
.slider_section .carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #555;
  opacity: 1;
  border: 2px solid #777;
  margin: 0 6px;
  transition: all 0.3s ease;
  cursor: pointer;
}
.slider_section .carousel-indicators li:hover {
  background-color: #888;
  transform: scale(1.2);
}
.slider_section .carousel-indicators li.active {
  background-color: #bc262c;
  border-color: #bc262c;
  width: 40px;
  border-radius: 10px;
}

/* about section */
.about_section {
  position: relative;
}

.about_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(188, 38, 44, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.about_section .row {
  position: relative;
  z-index: 1;
}

.about_section .detail-box {
  padding: 20px 0;
}

.about_section .detail-box p {
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 20px;
  color: #b5b5b5;
}

/* Justify text for Misión / Visión */
.about_section .detail-box p {
  text-align: justify;
}

.about_section .detail-box p em {
  color: #bc262c;
  font-style: italic;
  font-weight: 500;
}

.about_section .img-box {
  border-radius: 15px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease;
}

.about_section .img-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(188, 38, 44, 0.2) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 1;
}

.about_section .img-box:hover::before {
  opacity: 1;
}

.about_section .img-box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(188, 38, 44, 0.3);
}

.about_section .img-box img {
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

/* Ensure titles are left-aligned across pages (override heading_center) */
.heading_container.heading_center {
  align-items: flex-start !important;
  text-align: left !important;
}

/* FAQ styles adjusted to match the site's dark aesthetic */
.faq_section {
  background: transparent;
}
.faq-accordion .card {
  background: linear-gradient(145deg, #1d191b 0%, #232323 100%);
  color: #dcdcdc;
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  margin-bottom: 18px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.6);
  overflow: hidden;
}
.faq-accordion .card-header {
  background: transparent;
  border: none;
  padding: 0;
}
.faq-question {
  display: block;
  width: 100%;
  text-align: left;
  padding: 16px 22px;
  color: #ffffff;
  font-weight: 700;
  text-transform: none;
  font-size: 1.05rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), transparent);
}
.faq-question.highlight {
  color: #bc262c;
  background: rgba(188, 38, 44, 0.03);
}
.faq-answer {
  color: #cfcfcf;
  padding: 18px 22px 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 1rem;
  line-height: 1.75;
  background: transparent;
}
/* Slight spacing between stacked cards */
.faq-accordion .card + .card {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .faq-question {
    padding: 12px 14px;
    font-size: 0.96rem;
  }
  .faq-answer {
    padding: 12px 14px 16px 14px;
  }
}

.heading_container.heading_center h2 {
  width: 100%;
}

.about_section .heading_container {
  padding-top: 0; /* removed extra top padding so headings align with other sections */
}

.about_section .row {
  display: flex;
  align-items: center; /* vertically center image with text */
  gap: 30px;
}

.about_section .detail-box {
  padding-right: 20px;
}

@media (max-width: 768px) {
  .about_section {
    padding-top: 40px; /* keep mobile spacing consistent with other sections */
    padding-bottom: 40px;
  }
  .about_section .row {
    flex-direction: column;
  }
  .about_section .img-box {
    margin-top: 24px;
  }
}

.about_section .img-box:hover img {
  transform: scale(1.05);
}

/* service section */
.service_section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  position: relative;
}

/* Reduce top spacing for the services section so title is closer to the fixed menu */
/* (removed per-section override; use global .layout_padding instead) */

.service_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      circle at 20% 50%,
      rgba(188, 38, 44, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(188, 38, 44, 0.03) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.service_section .box {
  background: linear-gradient(145deg, #1d191b 0%, #252525 100%);
  border: 1px solid #333;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.4s ease;
  margin-top: 30px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service_section .box::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(188, 38, 44, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.service_section .box:hover::before {
  left: 100%;
}

.service_section .box:hover {
  transform: translateY(-10px);
  border-color: #bc262c;
  box-shadow: 0 15px 40px rgba(188, 38, 44, 0.4);
}

.service_section .box .img-box {
  height: 250px;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 20px;
  position: relative;
}

.service_section .box .img-box::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service_section .box:hover .img-box::after {
  opacity: 1;
}

.service_section .box .img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service_section .box:hover .img-box img {
  transform: scale(1.1);
}

.service_section .box .detail-box {
  position: relative;
  z-index: 1;
}

.service_section .box .detail-box ul {
  list-style: none;
  padding: 0;
  margin: 15px 0 0 0;
}

.service_section .box .detail-box ul li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  color: #c5c5c5;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.service_section .box .detail-box ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #bc262c;
  font-size: 1.2rem;
  transition: left 0.3s ease;
}

.service_section .box:hover .detail-box ul li::before {
  left: 5px;
}

.service_section .box .detail-box ul li:hover {
  color: #ffffff;
  padding-left: 35px;
}

/* projects section */
.projects_section {
  background: linear-gradient(135deg, #1d191b 0%, #2a2a2a 100%);
  position: relative;
}

.projects_section .projects_box {
  height: 320px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.4s ease;
}

.projects_section .projects_box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.projects_section .projects_box:hover::before {
  opacity: 0.9;
}

.projects_section .projects_box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(188, 38, 44, 0.4);
}

.projects_section .projects_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.projects_section .projects_box:hover img {
  transform: scale(1.15);
}

.projects_section .projects_box .projects_detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.95) 40%);
  color: #ffffff;
  padding: 30px 25px;
  z-index: 2;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.projects_section .projects_box:hover .projects_detail {
  transform: translateY(0);
}

.projects_section .projects_box .projects_detail h5 {
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 12px;
  color: #ffffff;
  position: relative;
  padding-bottom: 10px;
}

.projects_section .projects_box .projects_detail h5::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #bc262c, #ff4757);
}

.projects_section .projects_box .projects_detail p {
  font-size: 0.95rem;
  margin-bottom: 0;
  color: #d0d0d0;
  line-height: 1.6;
}

/* gallery section */
.gallery_section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.gallery_section .gallery_box {
  height: 300px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  margin-top: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: all 0.4s ease;
}

.gallery_section .gallery_box::after {
  content: "🔍";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 3rem;
  color: #ffffff;
  z-index: 3;
  transition: all 0.4s ease;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.gallery_section .gallery_box:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.gallery_section .gallery_box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(188, 38, 44, 0.7) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.gallery_section .gallery_box:hover::before {
  opacity: 1;
}

.gallery_section .gallery_box:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(188, 38, 44, 0.4);
}

.gallery_section .gallery_box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: 1;
}

.gallery_section .gallery_box:hover img {
  transform: scale(1.15) rotate(2deg);
}

/* Reduce top spacing for other main sections to match services spacing */
/* (removed per-section overrides; use global .layout_padding instead) */

/* info section */
.info_section {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: #a5a5a5;
  position: relative;
}

.info_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #bc262c, transparent);
}

.info_section h4 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 15px;
}

.info_section h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #bc262c, #ff4757);
}

.info_section .info_contact .contact_link_box a {
  color: #b5b5b5;
  display: flex;
  align-items: center;
  margin: 15px 0;
  padding: 10px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.info_section .info_contact .contact_link_box a:hover {
  color: #ffffff;
  background-color: rgba(188, 38, 44, 0.1);
  padding-left: 15px;
  text-decoration: none;
}

.info_section .info_contact .contact_link_box a i {
  color: #bc262c;
  margin-right: 15px;
  font-size: 1.3rem;
  min-width: 25px;
  transition: transform 0.3s ease;
}

.info_section .info_contact .contact_link_box a:hover i {
  transform: scale(1.2) rotate(5deg);
}

/* Corrected Footer Links Style */
.info_section .info_link_box .info_links {
  display: flex;
  flex-direction: column;
}

.info_section .info_link_box .info_links a {
  color: #b5b5b5;
  transition: all 0.3s ease;
  padding: 10px 0;
  padding-left: 15px;
  border-left: 3px solid transparent;
  position: relative;
}

.info_section .info_link_box .info_links a::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #bc262c;
  opacity: 0;
  transition: all 0.3s ease;
}

.info_section .info_link_box .info_links a:hover::before,
.info_section .info_link_box .info_links a.active::before {
  opacity: 1;
  left: 5px;
}

.info_section .info_link_box .info_links a:hover,
.info_section .info_link_box .info_links a.active {
  color: #ffffff;
  border-left-color: #bc262c;
  padding-left: 20px;
  text-decoration: none;
}

/* Footer links styling (mirror info_section styles but scoped to footer) */
.footer_section .info_link_box .info_links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer_section .info_link_box .info_links a {
  color: #b5b5b5;
  transition: all 0.3s ease;
  padding: 6px 0;
  padding-left: 18px;
  border-left: 3px solid transparent;
  position: relative;
  display: inline-block;
}

.footer_section .info_link_box .info_links a::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #bc262c;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer_section .info_link_box .info_links a:hover::before,
.footer_section .info_link_box .info_links a.active::before {
  opacity: 1;
  left: 5px;
}

.footer_section .info_link_box .info_links a:hover,
.footer_section .info_link_box .info_links a.active {
  color: #ffffff;
  border-left-color: #bc262c;
  padding-left: 22px;
  text-decoration: none;
}

/* Footer section - harmonized with site palette */
.footer_section {
  background: linear-gradient(135deg, #1d191b 0%, #141212 100%);
  padding: 40px 20px;
  border-top: 1px solid rgba(188, 38, 44, 0.12);
  position: relative;
}

.footer_section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(188, 38, 44, 0.6),
    transparent
  );
}

.footer_section p {
  color: #a5a5a5;
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

/* Enhanced footer layout */
.footer-col {
  margin-bottom: 18px;
}

.footer-text {
  color: #a5a5a5;
  margin-top: 6px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: #a5a5a5;
}
.footer-contact-list li {
  margin: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-contact-list i {
  color: #bc262c;
  min-width: 20px;
}

.footer-links h5,
.footer-contact h5 {
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.info_links_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px 12px;
}
.info_links_grid a {
  color: #cfcfcf;
  transition: all 0.3s ease;
  padding: 10px 0;
  padding-left: 15px;
  border-left: 3px solid transparent;
  position: relative;
  display: block;
}

.info_links_grid a::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #bc262c;
  opacity: 0;
  transition: all 0.3s ease;
}

.info_links_grid a:hover::before,
.info_links_grid a.active::before {
  opacity: 1;
  left: 5px;
}

.info_links_grid a:hover,
.info_links_grid a.active {
  color: #ffffff;
  border-left-color: #bc262c;
  padding-left: 20px;
  text-decoration: none;
}

@media (max-width: 768px) {
  .info_links_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-col.footer-brand {
    text-align: left;
  }
  .footer_section p {
    text-align: left;
  }
}

/* Mobile: make footer links single-column and remove right padding */
@media (max-width: 576px) {
  .info_links_grid {
    grid-template-columns: 1fr;
    gap: 8px 6px;
  }
  .footer-col {
    padding-right: 0;
  }
  .footer_section {
    padding: 28px 12px;
  }
  .footer_section .row.align-items-start {
    display: block;
  }
  .footer-col {
    margin-bottom: 16px;
  }
  .footer_contact_list,
  .footer-contact-list {
    font-size: 0.95rem;
  }
}

/* Further footer polish */
.footer_section {
  background: linear-gradient(180deg, #141a1c 0%, #0f1213 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* Standardized footer design */
:root {
  /* Footer palette chosen to harmonize with body background (#1D191B)
     and the brand accent (#BC262C). Slightly desaturated and warmer
     dark gradient provides contrast while keeping the overall mood. */
  --footer-bg: linear-gradient(180deg, #141a1c 0%, #0f1213 100%);
  --footer-text: #bdbdbd;
  --footer-accent: #bc262c;
}

.footer_section {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 20px;
}

.footer-top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  align-items: start;
}

/* Center footer content: grid items and bottom row */
.footer-top {
  justify-items: center;
}
.footer-top .footer-col {
  text-align: center;
}
.footer-contact-list {
  display: inline-block;
  margin: 0 auto;
  text-align: left;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.footer-bottom > div {
  margin: 0;
}

.footer-col {
  padding: 0;
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 8px;
  font-weight: 700;
}

.footer-text {
  color: var(--footer-text);
  margin: 0 0 8px 0;
  max-width: 420px;
}

.footer-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--footer-text);
}
.footer-contact-list li {
  margin: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-contact-list i {
  color: var(--footer-accent);
  min-width: 20px;
}

.footer-link {
  color: var(--footer-text);
  text-decoration: none;
  transition:
    color 0.18s ease,
    transform 0.12s;
}
.footer-link:hover {
  color: #fff;
  transform: translateX(4px);
}

.info_links_grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 12px;
}
.info_links_grid a {
  display: inline-block;
  padding: 6px 4px;
}

.footer-bottom {
  margin-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding-top: 16px;
  text-align: center;
}
.footer-copy {
  color: var(--footer-text);
  font-size: 0.95rem;
}

/* Powered by link in footer: use site red (avoid default blue) */
.footer-powered a {
  color: #bc262c;
  text-decoration: none;
}
.footer-powered a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* QR image in footer */
.footer-qr-wrap {
  margin-top: 8px;
}
/* QR sizing for top area */
.footer-top .footer-qr-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.footer-top .footer-qr {
  width: 160px;
  max-width: 100%;
  height: auto;
  display: inline-block;
  border-radius: 6px;
}
.footer-bottom .footer-qr {
  display: inline-block;
  width: 140px;
  max-width: 60%;
  height: auto;
  border-radius: 6px;
}
.footer-bottom .footer-qr-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

/* Responsive QR sizing */
@media (max-width: 768px) {
  .footer-top .footer-qr {
    width: 130px;
  }
}

@media (max-width: 480px) {
  .footer-top .footer-qr {
    width: 96px;
  }
}

@media (max-width: 576px) {
  .info_links_grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    gap: 18px;
  }
  .footer-section {
    padding: 28px 12px;
  }
  .footer-title {
    text-align: left;
  }
  .footer-col {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .footer-col {
    text-align: center;
  }
}

/* Keep footer links left-aligned on medium+ screens */
@media (min-width: 768px) {
  .footer-links {
    text-align: left;
  }
  .footer-links .info_links_grid {
    justify-items: start;
    align-items: start;
    grid-auto-rows: min-content;
  }
  .footer-links .info_links_grid a {
    display: block;
    text-align: left;
    padding-left: 15px;
  }
  .footer-links .info_links_grid a::before {
    display: inline-block;
    margin-right: 8px;
    position: relative;
    left: 0;
    opacity: 1;
  }
}

/* Column separators on large screens */
@media (min-width: 992px) {
  .footer-col {
    padding-right: 28px;
  }
  .footer-col:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.03);
  }
}

/* Center footer columns and contents on medium+ screens */
@media (min-width: 768px) {
  .footer_section .container .row.align-items-start {
    justify-content: center;
  }
  .footer-col {
    text-align: center;
  }
  .footer-contact-list li {
    justify-content: center; /* center icon + text */
  }
  .info_links_grid {
    justify-items: center;
  }
  .info_links_grid a {
    padding-left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
  }
  .info_links_grid a::before {
    position: static;
    left: auto;
    opacity: 1;
    margin-right: 6px;
    display: inline-block;
  }
}

.footer-links h5,
.footer-contact h5 {
  color: #eaeaea;
}

/* social links removed */

/* Desktop: make links horizontal and compact */
@media (min-width: 992px) {
  .info_links_grid {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .info_links_grid a {
    padding: 4px 0;
  }
}

.footer-col.footer-brand .footer-text {
  max-width: 420px;
}

.footer_section p span {
  color: #bc262c;
  font-weight: 600;
}

/* Modal (Lightbox) Styles */
.modal {
  background-color: rgba(0, 0, 0, 0.9);
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 1rem);
}

@media (min-width: 576px) {
  .modal-dialog-centered {
    min-height: calc(100% - 3.5rem);
  }
}

/* Navbar collapsed styling: vertical full-width menu on small screens */
@media (max-width: 991px) {
  .custom_nav-container .navbar-collapse.show {
    position: fixed; /* ensure it overlays viewport */
    left: 0;
    right: 0;
    width: 100vw; /* force full viewport width */
    margin: 0;
    box-sizing: border-box;
    background: #fff; /* keep default background so links are readable */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 0; /* inner spacing handled on children to align flush to edges */
    border-radius: 0; /* no rounded corners so it spans edge-to-edge */
    z-index: 1500;
  }
  .custom_nav-container .navbar-collapse.show .navbar-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
    padding: 20px 18px; /* inner spacing so links don't touch edges */
  }
  .custom_nav-container .navbar-collapse.show .nav-link {
    text-align: left;
    padding: 10px 14px;
    color: #1d191b;
    background: transparent;
    border-radius: 6px;
  }
  .custom_nav-container .navbar-collapse.show .nav-item .nav-link::before {
    left: 8px;
    bottom: 14px;
  }
  /* make dropdown menu full width when inside collapsed navbar */
  .custom_nav-container .navbar-collapse .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    box-shadow: none;
    border-radius: 6px;
    margin-top: 6px;
  }
}

.modal-content {
  background: transparent;
  border: none;
  box-shadow: none;
  align-items: center; /* Center content horizontally */
}

#modalImage {
  max-height: 85vh;
  max-width: 80vw; /* Adjust width to make space for buttons */
  border-radius: 8px;
}

.modal .close {
  position: absolute;
  top: 20px;
  right: 30px;
  z-index: 1051;
  color: white;
  opacity: 1;
  text-shadow: none;
  font-size: 2.5rem;
}

.modal-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  font-size: 2rem;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 1052;
  transition: background-color 0.3s;
  border-radius: 5px;
}

.modal-nav-btn:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

.modal-content {
  animation-name: zoomIn;
  animation-duration: 0.3s;
}

@keyframes zoomIn {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

/* === Responsive Styles === */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 992px) {
  .slider_container {
    flex-direction: column-reverse; /* Stack image above text */
    text-align: center;
  }
  .slider_img {
    max-height: 350px;
    margin-top: 30px;
  }
  .about_section .row {
    flex-direction: column-reverse; /* Stack image above text */
  }
  .about_section .img-box {
    margin-top: 45px;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 768px) {
  .logo-bs {
    max-width: 50px;
  }
  .brand-name {
    font-size: 1.3rem;
  }
  .brand-slogan {
    font-size: 0.55rem;
    max-width: 300px;
  }
  .layout_padding {
    padding: 55px 0;
  }
  .heading_container h2 {
    font-size: 1.8rem;
  }
  .slider_img {
    max-height: 300px;
  }

  /* Justify paragraphs in services section */
  #service_section .heading_container p,
  #service_section .service_container .heading_container p {
    text-align: justify;
  }
  .projects_section .row > div,
  .gallery_section .row > div {
    margin-bottom: 30px; /* Add space between stacked items */
  }
  .info_col {
    margin-bottom: 30px; /* Space out footer columns */
    text-align: center;
  }
  .info_section .info_contact .contact_link_box {
    justify-content: center;
  }

  .info_section .info_link_box .info_links {
    align-items: center;
  }

  .modal-nav-btn {
    font-size: 1.5rem;
    padding: 8px 12px;
  }
  .prev-btn {
    left: 5px;
  }
  .next-btn {
    right: 5px;
  }
  #modalImage {
    max-width: 75vw;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-slogan {
    display: none;
  }
  .logo-bs {
    max-width: 45px;
  }
  .slider_section .detail-box h2 {
    font-size: 1.5rem;
  }
  .slider_img {
    max-height: 250px;
  }
  .service_section .box {
    padding: 20px;
  }
  .custom_nav-container .navbar-nav {
    align-items: center; /* Center nav items when toggler is active */
  }
}

.logo-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

@media (max-width: 991px) {
  .custom_nav-container {
    flex-wrap: wrap;
  }
}

/* SEO intro styles: estandarizar H1 y subtítulo usado en la portada */
.seo_intro {
  padding: 28px 0;
  background: transparent;
}
.seo_intro .container {
  max-width: 1200px;
}
.seo_intro .seo-heading {
  color: #ffffff;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.12;
  letter-spacing: 0.2px;
  text-transform: none;
  max-width: 1100px;
}
.seo_intro .seo-subtext {
  color: #cfcfcf;
  font-size: 1rem;
  margin: 0;
  max-width: 1000px;
}

@media (min-width: 768px) {
  .seo_intro .seo-heading {
    font-size: 2.6rem;
  }
  .seo_intro .seo-subtext {
    font-size: 1.05rem;
  }
}

@media (min-width: 1200px) {
  .seo_intro .seo-heading {
    font-size: 3rem;
  }
}

/* Contact CTA section */
.contact_cta {
  background: #1d191b;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  padding: 36px 0;
  color: #fff;
}
.contact_cta .contact_cta_inner h2 {
  color: #ffffff;
  font-size: 1.8rem;
  margin-bottom: 8px;
  font-weight: 700;
}
.contact_cta .contact_cta_inner p {
  color: #d0d0d0;
  margin-bottom: 18px;
}
.cta-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-weight: 600;
  padding: 10px 16px; /* keep spacing consistent with Bootstrap */
  border-radius: 6px;
  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    transform 0.08s ease;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.04);
}
.cta-whatsapp {
  background: #bc262c; /* site red accent */
  color: #ffffff;
  border: 1px solid rgba(188, 38, 44, 0.15);
}
.cta-whatsapp:hover,
.cta-whatsapp:focus {
  background: #9f1f20; /* slightly darker red on hover */
  color: #ffffff;
  text-decoration: none;
}
.cta-email {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}
.cta-email:hover,
.cta-email:focus {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
}
.cta-button i {
  font-size: 1.05rem;
}

@media (max-width: 576px) {
  .contact_cta .contact_cta_inner h2 {
    font-size: 1.45rem;
  }
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

/* Footer styles moved from components/footer.html */
.footer_section {
  background: linear-gradient(180deg, rgba(188,38,44,0.06), rgba(29,25,27,0));
  color: #d9f0f3;
  padding: 48px 0;
  font-family: inherit;
}
.footer-top {
  padding-bottom: 18px;
}
.footer-title {
  color: #fff;
  font-weight: 700;
  margin-bottom: 12px;
}
.footer-link {
  color: #bfe8ef;
}
.footer-link:hover {
  color: #fff;
  text-decoration: none;
}
.social-icon {
  width: 36px;
  height: auto;
  margin-right: 10px;
  filter: grayscale(0.1);
  transition: transform 0.15s ease;
}
.social-icon:hover {
  transform: translateY(-3px);
}
.footer-qr {
  max-width: 100px;
  border-radius: 6px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  margin-top: 28px;
  padding-top: 18px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
.small-muted {
  color: #9fc8cc;
}
@media (max-width: 767.98px) {
  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  .footer-top .col-md-4 {
    margin-bottom: 18px;
  }
}
