.slider-area {
  width: 100%;
  background-color: #f4f6fa;
}

.slide-layout {
  display: flex;
  flex-direction: row;
  min-height: auto;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Left Content */
.content-area {
    width: auto !important;
    max-width: 100%;
    overflow-x: hidden;
}

.search-box input {
  width: 100%;
  padding: 15px 20px;
  font-size: 16px;
  border-radius: 25px;
  border: 1px solid #ccc;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.content-area h2 {
  font-size: 32px;
  margin: 30px 0 10px;
}

.content-area p {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

.services-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.services-row div {
  text-align: center;
}

.services-row img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
service-item {
    flex: 1 0 21%;    /* Fits roughly 4 items per row */
    min-width: 85px;
    max-width: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
}


/* Right Image */
.image-area {
  display: flex;
  margin: 20px;
  border-radius: 14px;
  flex: 1;
  background-size: cover;
  background-position: center;
  min-height: 60vh;
}

/* Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease forwards;
}

.fade-in-up:nth-child(1) { animation-delay: 0.2s; }
.fade-in-up:nth-child(2) { animation-delay: 0.4s; }
.fade-in-up:nth-child(3) { animation-delay: 0.6s; }
.fade-in-up:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Styles */
@media (max-width: 768px) {
  .slide-layout {
    flex-direction: column-reverse;
  }

  .content-area {
    padding: 30px 20px;
    text-align: center;
  }

  .image-area {
    width: calc(100% - 40px);
    height: 250px;
    min-height: 200px;
  }
}
.services-row {
  display: flex;
  flex-wrap: nowrap; /* NEVER MOVE TO NEXT LINE */

  justify-content: center;
  align-items: center;

  gap: 25px;

  margin-top: 30px;

  width: 100%;

  overflow-x: auto; /* SAFETY FOR VERY SMALL SCREENS */
  scrollbar-width: none;
}

.services-row::-webkit-scrollbar {
  display: none;
}

/* CHILD ITEMS */
.services-row > * {
  flex-shrink: 1;
  min-width: 0;
}

/* MOBILE */
@media (max-width: 768px) {

  .services-row {
    gap: 20px;
  }

  .service-item {
    width: 100px;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
  }

  .icon-circle img {
    width: 36px;
    height: 36px;
  }.service-item p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {

  .services-row {
    gap: 14px;
    justify-content: center;
  }

  .service-item {
    width: 90px;
  }

  .icon-circle {
    width: 64px;
    height: 64px;
  }

  .icon-circle img {
    width: 34px;
    height: 34px;
  }

  .service-item p {
    font-size: 10px;
    line-height: 1;
  }
}
.icon-circle {
  width: 80px;
  height: 80px;

  background: #f3f3f3;
  border-radius: 50%;

  display: flex;
  justify-content: center;
  align-items: center;

  margin: 0 auto !important;
  flex-shrink: 0; /* Prevents icons from squishing */

  transition: 0.3s ease;
}
.icon-circle img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}
/* The text inside service items */
.service-item p {
    font-size: 14px;
    line-height: 1.2;
    text-align: center;
    word-break: break-word; /* Crucial for long words like 'uninstallation' */
    overflow-wrap: break-word;
    margin-top: 8px;
    width: 100%;
}

.service-icon {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  width: 130px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}
/* Hover Effect */
.service-item:hover .icon-circle {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.service-icon i {
  font-size: 28px;
  color: #007bff;
  margin-bottom: 10px;
}

.service-icon p {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.service-icon:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}
#service-search {
  width: 300px;
  padding: 12px 15px;
  margin: 20px auto;
  display: block;
  font-size: 16px;
  border: 2px solid #ddd;
  border-radius: 8px;
  outline: none;
  transition: all 0.3s ease;
}

#service-search:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0,123,255,0.3);
}
.highlight {
  border: 2px solid #007bff;
  box-shadow: 0 0 15px rgba(0, 123, 255, 0.4);
  transition: all 0.3s ease;
}
.cta-area {
  padding: 60px 20px;
  background: linear-gradient(135deg, #f0f4f8, #e2ecf3);
}

.cta-container {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  flex-wrap: nowrap;
  max-width: 1200px;
  margin: 0 auto;
  flex-direction: row;
}

.cta-card {
  flex: 1 1 0; /* Allows equal spacing and resizing */
  max-width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 40px 20px;
  backdrop-filter: blur(10px);
  text-align: center;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.cta-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.cta-icon {
  font-size: 40px;
  margin-bottom: 15px;
  color: #007bff;
}

.cta-title {
  font-size: 18px;
  font-weight: 600;
}

/* Dark Variants */
.cta-card.dark {
  background: rgba(0, 0, 0, 0.15);
  color: white;
}
.cta-card.darker {
  background: rgba(0, 0, 0, 0.3);
  color: white;
}
.cta-card.dark .cta-icon,
.cta-card.darker .cta-icon {
  color: #fff;
}

/* RESPONSIVE - Resize items on smaller screens */
@media (max-width: 768px) { 
  .cta-card {
    padding: 30px 15px;
  }

  .cta-icon {
    font-size: 30px;
  }

  .cta-title {
    font-size: 16px;
  }
} 
.fact-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
}

.afact {
  flex: 1;
  min-width: 0;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0,0,0,0.05);
  box-sizing: border-box;
}

.afact--img img {
  max-width: 60px;
  height: auto;
}

.afact--text__title h2 {
  font-size: 24px;
  margin-bottom: 5px;
}

.afact--text__content h3,
.afact--text__content h4 {
  margin: 0;
  font-size: 16px;
}

/* Optional Responsive Scaling */
@media (max-width: 768px) {
  .afact--text__title h2 {
    font-size: 18px;
  }
  .afact--text__content h3,
  .afact--text__content h4 {
    font-size: 14px;
  }
  .afact--img img {
    max-width: 40px;
  }
}

.pulse-blink {
  animation: pulseBlink 1.2s ease-in-out infinite;
  color: #313636;
  font-weight: bold;
}

@keyframes pulseBlink {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.3;
    transform: scale(1.05);
  }
}
.modern-service-area {
  background: #f9f9f9;
  padding: 80px 20px;
  font-family: "Poppins", sans-serif;
}

.service-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.subtitle {
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #2F86F6;
  margin-bottom: 10px;
}

.title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  color: #222;
}

.service-btn {
  padding: 10px 20px;
  background: #ff4d29;
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
}

/* .service-content {
  display: grid;
  grid-template-columns: 1fr 2.2fr;
  gap: 30px;
} */
/* .service-divider {
  width: 100%;

  border-top: 2px dotted black;

  margin: 22px 0;
} */
.service-tabs {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.tab-btn {
  display: flex;
  gap: 15px;
  align-items: center;
  background: #fff;
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.tab-btn i {
  font-size: 32px;
  color: #ff4d29;
}

.tab-btn h4 {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.tab-btn span {
  font-size: 12px;
  color: #999;
}

.tab-btn.active {
  border-color: #ff4d29;
  background: #fff7f4;
}

/* .tab-contents {
  background: #fff;
  border-radius: 12px;

  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.05);
} */

.tab-pane {
  display: none;
  animation: fadeIn 0.4s ease;
}

.tab-pane.active {
  display: block;
}

.tab-pane img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 15px;
}

.tab-pane p {
  font-size: 15px;
  color: #2F86F6;
  margin-bottom: 10px;
}

.tab-pane a {
  color: #2371ff;
  font-weight: 500;
  text-decoration: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 768px) {
  .service-content {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .header-logo .img-fluid {
   height: 10vh;
  }
}

@media (max-width: 768px) {
  .page-title-area {
    min-height: 350px;
  }
  .pt-210{
    padding-top: 0px;
  }
}
@media (max-width: 468px) {
  .page-title-area {
    min-height: 200px;
  }
  .pt-210{
    padding-top: 0px;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.5);
}

.modal-content {
  background-color: white;
  margin: auto;
  padding: 20px;
  border-radius: 10px;
  width: 80%;
  max-width: 600px;
  animation: fadeIn 0.3s ease-in-out;
}

.close-btn {
  float: right;
  font-size: 24px;
  cursor: pointer;
}

#search-results li {
  list-style: none;
  margin: 10px 0;
}

#search-results a {
  text-decoration: none;
  color: #007BFF;
  font-weight: bold;
}

.highlight {
  background-color: yellow;
  transition: background-color 0.3s ease;
}

@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}
.service-section {
  max-width: 1200px;
  margin: 80px auto;
  /* padding: 20px; */
  font-family: 'Segoe UI', sans-serif;
}

.top-image img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* CARD LAYOUT */
.cards {
  /* display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); */
  gap: 22px;
  align-items: stretch;
}

.card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px;
  align-items: center;
  gap: 16px;
  min-height: 190px;
  padding: 22px;
  background: #fff;
  border: 1px solid #edf0f4;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(22, 36, 61, 0.08);
  border-bottom: 5px solid #dfd2d2;
  overflow: hidden;

}

/* RIGHT IMAGE CONTAINER */
.card-image {
  width: 110px;
  height: 110px;

  position: relative;

  flex-shrink: 0;

  justify-self: end;
}

/* IMAGE */
.card-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  border-radius: 12px;

  display: block;
}

/* OVERLAP BUTTON */
.card-image .call-now-btn {
  position: absolute;

  bottom: -14px;
  left: 50%;

  transform: translateX(-50%);

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;

  /* FIXED SIZE */
  width: 90px;
  height: 46px;

  /* PREVENT RESIZING */
  /* min-width: 120px;
  max-width: 130px;

  min-height: 46px;
  max-height: 46px; */

  white-space: nowrap;
  overflow: hidden;

  background: #fff;
  color: #00a884 !important;

  border: 1px solid #d8d8d8;
  border-radius: 10px;

  font-weight: 600;
  font-size: 14px;

  text-decoration: none;

  box-shadow: 0 4px 12px rgba(0,0,0,0.08);

  z-index: 2;

  /* IMPORTANT */
  flex-shrink: 0;
}

/* DETAILS + BUTTON ROW */
.bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;

  margin-top: 18px;
}

/* DETAILS LINK */
.details-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  color: #5e2ced;
  font-size: 15px;
  font-weight: 500;

  text-decoration: none;
}

/* LEFT CONTENT */
.card-content {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

/* TITLE */
.card h3 {
  font-size: 24px;
  color: #16243d;
  margin-bottom: 10px;
  font-weight: 700;
}

/* PRICE ROW */
.price-row {
  display: flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 10px;
}

/* START TEXT */
.start-text {
  font-size: 14px !important;
  color: #767676 !important;
  font-weight: 400 !important;
}

/* PRICE */
.price {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111 !important;
}

/* DESCRIPTION */
.card p {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 14px;
}

/* DETAILS LINK */
.details-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  width: fit-content;

  margin-bottom: 16px;

  color: #5e2ced;
  font-size: 15px;
  font-weight: 500;

  text-decoration: none;
}

.details-link:hover {
  color: #4320b3;
}

/* IMAGE */
.card-image img {
  width: 116px;
  height: 116px;

  object-fit: cover;
  border-radius: 12px;
}
.aportfolio-menu button.active{
  background-color: #2F86F6;
  color: white;
  background: #2F86F6;
}

/* BUTTON */
.call-now-btn {
  width: fit-content;

  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: #00a884;

  padding: 10px 18px;

  border-radius: 10px;

  text-decoration: none;
  font-weight: 600;

  transition: 0.3s ease;
}

.card-image .call-now-btn {
  background: #fff;
  color: #00a884 !important;
  border: 1px solid #d8d8d8;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  animation: none;
}

.call-now-btn:hover {
  background: #008f71;
}

/* MOBILE */
@media (max-width: 768px) {

  /* .card {
    grid-template-columns: 1fr;
  } */

  .card-image {
    width: 100%;
    height: auto;
    justify-self: stretch;
  }

  .card-image img {
    width: 100%;
    height: 120px;
  }

}
.section-title {
  font-size: 32px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background-color: #2ecc71;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
}
.afact--text__content{
  z-index: 1;
}
/* .call-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 24px;
  background: linear-gradient(135deg, #27ae60, #2ecc71);
  color: #fff;
  font-size: 15px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 6px 12px rgba(46, 204, 113, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.call-btn:hover {
  background: linear-gradient(135deg, #219150, #27ae60);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(39, 174, 96, 0.4);
} */
@keyframes pulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.call-now-btn  {
  animation: pulse 2s infinite;
}
.call-now-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(to right, #00c853, #00e676);
  color: white;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 40px;
  box-shadow: 0 4px 12px rgba(0, 200, 83, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: fit-content;
}

.call-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 200, 83, 0.4);
  background: linear-gradient(to right, #00e676, #00c853);
}

.card-image .call-now-btn:hover {
  transform: translateX(-50%) translateY(-2px);
  background: #fff;
}

/* Site usability and responsive polish */
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

a,
button {
  min-height: 44px;
}

img {
  height: auto;
}

.header-logo img {
  max-height: 76px;
  width: auto;
  object-fit: contain;
}

.main-menu ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.main-menu ul li a {
  white-space: nowrap;
}

.content-area h1,
.about-page-title {
  color: #151735;
  font-size: 42px;
  line-height: 1.16;
  font-weight: 700;
  margin: 30px 0 14px;
}

.about-page-title {
  color: #2F86F6;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-page-title img {
  max-width: 90px;
}

.search-box input:focus {
  border-color: #2371ff;
  box-shadow: 0 0 0 4px rgba(35, 113, 255, 0.14);
}

.service-icon,
.cta-card,
.card,
.afact,
.ablog,
.aportfolio,
.brand-wrapper {
  overflow-wrap: anywhere;
}

.cta-card {
  border-radius: 8px;
}

.fact-row {
  align-items: stretch;
}

.afact {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.card {
  border-radius: 8px;
}

.card > h3,
.card > p {
  grid-column: 1 / -1;
}

.card > span {
  margin: 0;
}

.card .call-now-btn,
.ablog .theme-btn {
  margin-top: 0;
}

.card > .call-now-btn {
  justify-self: end;
  white-space: nowrap;
}

.top-image img,
.ablog__img img,
.aportfolio__img img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.brand-wrapper img {
  max-height: 76px;
  object-fit: contain;
}

.atestimonial__text,
.atestimonial p {
  overflow-wrap: anywhere;
}

.contact__inner iframe,
iframe[src*="google.com/maps"] {
  width: 100%;
  min-height: 320px;
  border: 0;
}

.footer__widget img {
  max-height: 90px;
  width: auto;
}

div[style*="position: fixed"][style*="bottom: 100px"],
div[style*="position: fixed"][style*="bottom: 170px"] {
  right: 14px !important;
}

div[style*="position: fixed"][style*="bottom: 100px"] img,
div[style*="position: fixed"][style*="bottom: 170px"] img {
  width: 52px !important;
  height: 52px;
}

@media (max-width: 1199px) {
  .content-area {
    padding: 44px 30px;
  }

  .content-area h1 {
    font-size: 36px;
  }

  .section-title {
    font-size: 36px;
    line-height: 1.18;
  }

  .footer__widget.mb-30,
  .footer__widget.pl-80,
  .footer__widget.pl-30 {
    padding-left: 0;
  }
}

@media (max-width: 991px) {
  .header-menu .row {
    min-height: 76px;
  }

  .header-logo img {
    max-height: 64px;
  }

  .side-info {
    max-width: min(86vw, 360px);
    overflow-y: auto;
  }

  .slide-layout {
    align-items: stretch;
  }

  .content-area,
  .image-area {
    flex: 0 0 100%;
  }

  .image-area {
    min-height: 360px;
    margin: 20px;
    width: calc(100% - 40px);
    border-radius: 14px;
  }

  .fact-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-container {
    flex-wrap: wrap;
  }

  .cta-card {
    flex: 1 1 calc(50% - 20px);
  }

  .footer-area {
    padding-top: 70px !important;
    padding-bottom: 30px !important;
  }
}

@media (max-width: 767px) {
  .content-area {
    padding: 28px 16px 34px;
  }

  .content-area h1 {
    font-size: 30px;
  }

  .content-area p {
    margin-bottom: 20px;
  }

  .image-area {
    min-height: 260px;
    margin: 20px;
    width: calc(100% - 40px);
    border-radius: 14px;
  }

  .services-row {
    gap: 8px;
  }

  .service-icon {
    width: calc(50% - 8px);
    min-height: 132px;
    max-width: 110px;
    padding: 16px 10px;
    border-radius: 8px;
  }

  .cta-area,
  .modern-service-area {
    padding: 33px 0px;
  }

  .cta-container,
  .fact-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cta-card {
    width: 100%;
  }

  .tab-contents,
  .service-section {
    /* padding: 14px; */
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .section-title,
  h1.section-title {
    font-size: 28px;
  }

  .page-title-area {
    min-height: 240px;
  }

  .breadcrumb-menu {
    position: static;
    padding: 20px 0;
  }

.page-title .trail-items {
    border-radius: 8px;
  }

  .contact__inner {
    padding: 30px 18px;
  }

  .copyright__text,
  .copyright__social {
    text-align: center !important;
  }

  .footer-area .row > .col-lg-3.col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }

  .footer-area .col-lg-3.col-sm-6 {
    margin-bottom: 18px;
  }

  .footer-area .footer__widget,
  .footer-area .emg__number {
    /* background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px; */
    padding: 22px 20px;
    margin-bottom: 14px !important;
  }

  .footer-area .footer__widget--title {
    margin-bottom: 14px;
  }

  .footer-area .widget__links li,
  .footer-area .widget__contact li {
    margin-bottom: 9px;
  }

  .footer-area .emg__number h4 {
    margin-bottom: 0;
  }

  div[style*="position: fixed"][style*="bottom: 100px"] {
    bottom: 82px !important;
  }

  div[style*="position: fixed"][style*="bottom: 170px"] {
    bottom: 142px !important;
  }
}

@media (max-width: 420px) {
  .content-area h1 {
    font-size: 26px;
  }

  .service-icon {
    width: 100%;
  }

  .header-logo img {
    max-height: 56px;
  }
}

.trail-items {
  position: absolute;
  bottom: 0.2px;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  max-width: calc(100vw - 40px);
  text-align: center;
  z-index: 2;
}

@media (max-width: 767px) {
  .trail-items {
    bottom: 4px;
  }
}

.page-title-area {
  width: calc(100% - 40px);
  margin: 20px;
  border-radius: 20px;
  overflow: hidden;
}

/* Site-wide responsive hardening */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.container,
.custom-container {
  max-width: 100%;
}

.row {
  min-width: 0;
}

.page-title-area {
  display: flex;
  align-items: center;
  min-height: 360px;
  background-position: center;
  width: calc(100% - 40px);
  margin: 20px;
  border-radius: 20px;
  overflow: hidden;
}

.page-title-icon {
  width: 100%;
}

.about-area,
.blog-area,
.portfolio-area,
.contact-inner-area,
.brand-area,
.fact-area,
.choose-fact-area,
.testimonial-area {
  overflow: hidden;
}

.aabout-img img,
.aservice__img img,
.aservice--img__2 img,
.acontact__img > img,
.contact__inner--img .c-img,
.skill__img img,
.ablog__img img,
.aportfolio__img img,
.top-image img {
  display: block;
  width: calc(100% - 40px);
  max-width: calc(100% - 40px);
  margin: 20px;
  border-radius: 14px;
  object-fit: cover;
}

.aabout-img img,
.aservice__img img,
.aservice--img__2 img,
.acontact__img > img,
.contact__inner--img .c-img,
.skill__img img {
  aspect-ratio: 4 / 3;
}

.ablog__img img,
.aportfolio__img img,
.top-image img {
  aspect-ratio: 16 / 9;
}

.aabout-img,
.aservice__img,
.aservice--img__2,
.acontact__img,
.contact__inner--img,
.skill__img,
.ablog__img,
.aportfolio__img {
  overflow: hidden;
}

.aabout-text,
.choose--content,
.contact__inner,
.ablog__text,
.footer__widget,
.service__contact--form {
  min-width: 0;
}

.ablog {
  height: calc(100% - 30px);
  display: flex;
  flex-direction: column;
  border: 1px solid #edf0f3;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.ablog__text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.ablog__btn {
  margin-top: auto;
}

.ablog__btn .theme-btn {
  min-width: 140px;
}

.aportfolio {
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.aportfolio__text {
  min-height: 112px;
}

.aportfolio-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.aportfolio-menu button {
  min-height: 42px;
  white-space: nowrap;
}

.brand-active {
  overflow: hidden;
}

.brand-active .section-title {
  width: 100%;
  margin-bottom: 46px !important;
}

.brand-wrapper {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.brand-wrapper a {
  min-height: 0;
}

.brand-wrapper img {
  max-width: 150px;
  max-height: 72px;
}

.choose--fact {
  min-width: 0;
}

.choose--fact__text span,
.contact-list h4,
.widget__contact li,
.footer__widget p {
  overflow-wrap: anywhere;
}

.contact__inner {
  border-radius: 8px;
}

.contact__inner--img__number {
  max-width: calc(100% - 32px);
}

.contact__inner--img__number a {
  white-space: nowrap;
}

iframe[src*="google.com/maps"] {
  display: block;
  width: calc(100% - 40px) !important;
  margin: 20px;
  border-radius: 14px;
}

.footer-area .row {
  /* row-gap: 28px; */
}

.footer__widget--title {
  line-height: 1.25;
}

@media (max-width: 1199px) {
  .pt-120,
  .pt-115,
  .pt-110 {
    padding-top: 80px;
  }

  .pb-120,
  .pb-115,
  .pb-110 {
    padding-bottom: 80px;
  }

  .mr-150,
  .mr-70 {
    margin-right: 0;
  }

  .choose-fact-area.pb-310 {
    padding-bottom: 110px;
  }
}

@media (max-width: 991px) {
  .page-title-area {
    min-height: 300px;
    padding-top: 80px !important;
    padding-bottom: 40px !important;
  }

  .page-title-icon i {
    display: none;
  }

  .aabout-text,
  .choose--content {
    margin-top: 20px;
  }

  .contact__inner {
    padding: 26px;
  }

  .portfolio-area .row.align-items-center {
    row-gap: 20px;
  }

  .aportfolio-menu {
    justify-content: center;
  }
}

@media (max-width: 767px) {
  .pt-120,
  .pt-115,
  .pt-110,
  .pt-100,
  .pt-90,
  .pt-80 {
    padding-top: 54px;
  }

  .pb-120,
  .pb-115,
  .pb-110,
  .pb-100,
  .pb-90,
  .pb-80,
  .pb-70 {
    padding-bottom: 54px;
  }

  .page-title-area {
    min-height: 230px;
    width: calc(100% - 40px);
    margin: 20px;
    border-radius: 20px;
  }

  .aabout-img img,
  .aservice__img img,
  .aservice--img__2 img,
  .acontact__img > img,
  .contact__inner--img .c-img,
  .skill__img img,
  .ablog__img img,
  .aportfolio__img img,
  .top-image img,
  iframe[src*="google.com/maps"] {
    width: calc(100% - 40px) !important;
    max-width: calc(100% - 40px);
    margin: 20px;
    border-radius: 14px;
  }

  .about-page-title {
    justify-content: center;
    font-size: 28px;
    text-align: center;
  }

  .aabout-qoute h4,
  .contact-list h4 {
    font-size: 18px;
    line-height: 1.45;
  }

  .choose--content {
    padding: 36px 18px;
  }

  .choose--fact-area .row,
  .blog-area .row,
  .portfolio-area .row {
    row-gap: 20px;
  }

  .ablog {
    margin-bottom: 24px !important;
  }

  .ablog__text {
    padding: 24px 18px;
  }

  .ablog__btn .theme-btn {
    width: 100%;
  }

  .aportfolio-menu {
    justify-content: flex-start;
  }

  .aportfolio-menu button {
    flex: 0 0 auto;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand-area {
    padding-top: 54px !important;
    padding-bottom: 54px !important;
  }

  .brand-active .section-title {
    margin-bottom: 26px !important;
  }

  .contact__inner {
    padding: 18px;
  }

  .contact__inner--img__number {
    position: static;
    max-width: 100%;
    margin: 16px 0 0;
  }
}

@media (max-width: 480px) {

  .card {
    display: flex;
    flex-direction: row;
    align-items: flex-start;

    gap: 12px;

    padding: 14px;
  }

  .card-content {
    flex: 1;
  }

  .card-image {
    width: 100px;
    flex-shrink: 0;
  }

  .card-image img {
    width: 100%;
    height: 90px;
    border-radius: 10px;
  }

  .call-now-btn {
    width: 100%;
    margin-top: 6px;
    font-size: 13px;
    height: 34px;
  }

  .card-content h3 {
    font-size: 18px;
    line-height: 1.3;
  }

  .price {
    font-size: 18px;
  }

  .card-content p {
    font-size: 13px;
  }
  .container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
    width: 100%;
    padding: 0;
    /* padding-right: var(--bs-gutter-x, 15px); */
    /* padding-left: var(--bs-gutter-x, 15px);
    margin-right: auto;
    margin-left: auto; */
}
}

/* Final image spacing override for every device size */
.image-area,
.aabout-img img,
.aservice__img img,
.aservice--img__2 img,
.acontact__img > img,
.contact__inner--img .c-img,
.skill__img img,
.ablog__img img,
.aportfolio__img img,
.top-image img,
iframe[src*="google.com/maps"] {
  margin: 20px !important;
  border-radius: 14px !important;
}

.image-area {
  width: calc(100% - 40px);
}

.aabout-img img,
.aservice__img img,
.aservice--img__2 img,
.acontact__img > img,
.contact__inner--img .c-img,
.skill__img img,
.ablog__img img,
.aportfolio__img img,
.top-image img,
iframe[src*="google.com/maps"] {
  width: calc(100% - 40px) !important;
  max-width: calc(100% - 40px) !important;
}

/* Align fact icon circle with the icon */
.afact--img {
  /* width: 76px;
  height: 76px; */
  padding-left: 0 !important;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.afact--img::before {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
}

.afact--img img {
  position: relative;
  z-index: 1;
  margin: 0;
}

.mobile-bottom-bar {
  display: none;
}

@media (max-width: 1199px) and (orientation: portrait) {
  body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
  }

  .mobile-bottom-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999999;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 7px 6px calc(7px + env(safe-area-inset-bottom));
    background: #ffffff;
    border-top: 1px solid rgba(21, 23, 53, 0.12);
    box-shadow: 0 -8px 22px rgba(21, 23, 53, 0.12);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-bottom-bar a {
    min-width: 0;
    min-height: 58px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: #151735;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
  }

  .mobile-bottom-bar a:hover,
  .mobile-bottom-bar a:focus {
    color: #2F86F6;
  }

  .mobile-bottom-bar i {
    font-size: 20px;
    line-height: 1;
  }

  .mobile-bottom-bar span {
    display: block;
    max-width: 100%;
    white-space: normal;
  }

  .mobile-bottom-bar.is-footer-visible {
    pointer-events: none;
    opacity: 0;
    transform: translateY(100%);
  }

  body > div[style*="position: fixed"][style*="bottom: 100px"],
  body > div[style*="position: fixed"][style*="bottom: 170px"] {
    display: none !important;
  }
}
.more-text {
  display: none;
}

.toggle-text {
  color: #007bff;
  cursor: pointer;
  font-weight: 600;
  margin-left: 4px;
}