:root {
  --body: #ffffff;
  --black: #000000;
  --white: #ffffff;
  --theme: #e20935;
  --theme2: #e20935;
  --header: #16171a;
  --text: #5e5f63;
  --text2: #8a8c94;
  --border: #eeeff4;
  --bg: #f5f5f7;

  --body-font: "Inter", sans-serif;
  --heading-font: "Inter", sans-serif;
  --heading-color: #0f0d1d;
  --paragraph-color: #585858;
}
html,
body {
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: normal;
  color: var(--paragraph-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--heading-color);
}

/* Page content paddings */
.page-content-wrap-8,
.blog-page-content-area,
.blog-content-page,
.archive-page-content-area,
.search-page-content-area {
  padding-top: 80px;
  padding-bottom: 80px;
}
.section {
  margin: 80px 0;
}
.e-con-full,
.e-con > .e-con-inner {
  padding: 0px !important;
}
/* Header & Navbar */
.header-bottom-area .navbar-collapse .main-menu li .sub-menu {
  background-color: #101a29;
}
.header-bottom-area .navbar-collapse .main-menu li .sub-menu li a {
  color: #fff;
}
.header-bottom-area .navbar-collapse .main-menu li .sub-menu li:hover a {
  color: #fff;
  background-color: #246bfd;
}

/* Footer styles */
.footer-style .footer-wrap {
  background-color: #101a29;
}
.footer-widget.widget a:hover,
.footer-widget ul li a:hover,
.widget_tag_cloud.footer-widget .tagcloud a:hover {
  color: #fff;
  background-color: #101a29;
  border-color: #101a29;
}
.footer-style .footer-wrap .copyright-wrap {
  color: #fff;
}
.footer-social li a {
  color: #8a8a8a;
  background-color: transparent;
}
.footer-social li a:hover {
  color: #fff;
  background-color: #246bfd;
}
.footer-list li:hover {
  color: #246bfd;
}
.copyright-area p {
  color: #8a8a8a;
}
.copyright-area {
  border-top-color: rgba(255, 255, 255, 0.2);
}
/* Body background */
body {
  background-color: var(--bg);
}
.e-con.e-parent:nth-of-type(n + 4):not(.e-lazyloaded):not(.e-no-lazyload),
.e-con.e-parent:nth-of-type(n + 4):not(.e-lazyloaded):not(.e-no-lazyload) * {
  background-image: none !important;
}
img:is([sizes="auto" i], [sizes^="auto," i]) {
  contain-intrinsic-size: 3000px 1500px;
}

/* Overlay */
.custom-popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 9999;
}

/* Active state */
.custom-popup-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Popup box */
.custom-popup-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  border-radius: 16px;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  opacity: 0;
  transition: all 0.35s ease;
}

/* Animate in */
.custom-popup-overlay.active .custom-popup-content {
  transform: scale(1) translateY(0);
  opacity: 1;
}

/* Close button */
.close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--theme);
  z-index: 2;
}

/* Inner layout */
.popup-inner {
  display: flex;
  min-height: 320px;
}

/* Image section */
.popup-image {
  flex: 1;
  background: #f3f3f3;
}

.popup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Text section */
.popup-text {
  flex: 1;
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.popup-text .subtitle {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #888;
  margin-bottom: 8px;
}

.popup-text h2 {
  font-size: 28px;
  margin: 0 0 12px;
}

.popup-text p {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
}

.popup-text .theme-btn {
  align-self: flex-start;
  padding: 12px 28px;
  color: #fff;
  border-radius: 30px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
}

.popup-text .theme-btn:hover {
  transform: translateY(-2px);
}

.elementor-icon-box-title span {
  color: #000;
}
.video-testimonial {
  margin-top: 120px;
}
.custom-mfp-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-mfp-container {
  position: relative;
  max-width: 600px;
  overflow-y: scroll;
  background-color: #fff;
  max-height: 90%;
  border: 1px solid var(--theme);
}

.custom-mfp-img {
  max-width: 100%;
  border: 5px solid #fff;
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.custom-mfp-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: var(--theme);
  font-size: 30px;
  cursor: pointer;
  font-weight: normal;
}
.service-card {
  border: none;
  border-radius: 16px;
  transition: all 0.3s ease-in-out;
  background: #ffffff;
}
.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1) !important;
}
.service-card .icon-box {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #f8f9fa;
  color: var(--theme);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  transition: 0.3s;
}

.service-card:hover .icon-box {
  background: var(--theme);
  color: #ffffff;
}
.service-card .link-btn {
  margin-top: 10px;
}
.brand-text {
  font-size: 0.85rem;
  color: #6c757d;
  font-weight: 500;
}
/* Marquee container with fade edges */
.slick-marquee {
  padding: 30px 0;
  position: relative;

  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    #000 8%,
    #000 92%,
    transparent 100%
  );
}

.service-style-2 .service-card-items {
  background: linear-gradient(180deg, #ffffff, #f9fafb);
  display: flex !important;
  padding: 26px 28px;
  gap: 18px;
  align-items: center;
  border-radius: 16px;
  margin: 0 16px;

  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);

  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient glow on hover */
.service-style-2 .service-card-items {
  background: #fff;
  display: flex !important;
  padding: 26px 28px;
  gap: 18px;
  align-items: center;
  border-radius: 16px;
  margin: 0 16px;

  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
}

.service-style-2 .service-card-items:hover {
  transform: translateY(-6px);
  border-color: var(--theme);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12), 0 0 0 2px rgba(255, 0, 0, 0.08); /* subtle theme ring */
}

.service-style-2 .service-card-items .icon-box {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--theme), #ff6a6a);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.15);
}
.service-style-2 .service-card-items:hover .icon-box {
  transform: scale(1.08);
  transition: transform 0.3s ease;
}

.service-style-2 .service-card-items .icon-box i {
  font-size: 22px;
  color: #fff;
}
.service-style-2 .service-card-items h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #111;
}

.service-style-2 .service-card-items p {
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: #666;
}
.service-style-2 .slick-list {
  margin: 0 -16px;
  padding: 30px 0;
}
/* floating button css  */
.floating-btn {
  position: fixed;
  bottom: 40px;
  left: 30px;
  width: 60px;
  height: 60px;
  background-color: #000; /* Or your theme color */

  /* The Shape */
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;

  /* Hard Shadow Depth */
  box-shadow: 4px 4px 0px var(--theme);
  border: 2px solid var(--theme2);
  transition: 0.2s transform ease;
  z-index: 999;
}

.floating-btn:active {
  transform: translate(2px, 2px);
  box-shadow: 0px 0px 0px var(--theme);
}
.floating-btn i {
  font-size: 25px;
  color: #fff;
}
.floating-btn.whatsapp {
  right: 30px;
  left: auto;
}
.floating-btn.whatsapp i {
  font-size: 30px;
}

/* floating css end   */
.blog-breadcrumb-wrapper .page-heading h1 {
  font-size: 36px;
}
/* 📱 Mobile Optimization */
@media (max-width: 768px) {
  .custom-popup-content {
    width: 95%;
    max-width: 95%;
    border-radius: 12px;
  }

  .popup-inner {
    flex-direction: column;
  }

  .popup-image img {
    display: none;
  }

  .popup-text {
    padding: 20px;
  }

  .popup-text h2 {
    font-size: 22px;
  }

  .popup-text p {
    font-size: 15px;
  }

  .close-btn {
    top: 8px;
    right: 12px;
    font-size: 24px;
  }
  .team-box-items.style-2 {
    margin-top: 30px;
  }
  .map-section iframe {
    height: 300px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .popup-image {
    height: 160px;
  }

  .popup-text {
    padding: 16px;
  }

  .popup-text .theme-btn {
    width: 100%;
    text-align: center;
  }
  .section {
    margin: 60px 0;
  }
  .blog-breadcrumb-wrapper .page-heading h1 {
    font-size: 30px;
  }
}

@media screen and (max-height: 1024px) {
  .e-con.e-parent:nth-of-type(n + 3):not(.e-lazyloaded):not(.e-no-lazyload),
  .e-con.e-parent:nth-of-type(n + 3):not(.e-lazyloaded):not(.e-no-lazyload) * {
    background-image: none !important;
  }
}

@media screen and (max-height: 640px) {
  .e-con.e-parent:nth-of-type(n + 2):not(.e-lazyloaded):not(.e-no-lazyload),
  .e-con.e-parent:nth-of-type(n + 2):not(.e-lazyloaded):not(.e-no-lazyload) * {
    background-image: none !important;
  }
}
