/* =========================
   IMAGE OVERLAY / ACCORDION
========================= */

/* Parent container */
.image_overlay .overlay-inner {
  display: flex;
  align-items: flex-start; /* align items to top */
  justify-content: space-between;
  gap: 30px; /* spacing between left & right */
  color: #fff; /* apply default text color */
  padding: 25px;
}

@media (max-width: 1024px) {
  .image_overlay .overlay-inner {
    display: block; /* or unset */
  }
}

/* Left side (title) */
.image_overlay .overlay-inner .img-accordion-title {
  flex: 1; /* smaller width (ratio) */
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  padding-bottom: 5px;
  position: relative;
  opacity: 0.8; /* make left side text lighter */
}
.product-slider-tab .slick-track {
    display: flex;
    gap: 15px;
}
.image_overlay .overlay-inner .img-accordion-title::after {
  content: "";
  display: block;
  width: 100%;
  height: 2px;
  background: currentColor; /* inherit text color */
  margin-top: 8px;
  opacity: 0.6;
}
/* Ensure paragraph and links are stacked */
.image_overlay .overlay-inner p {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6 !important; /* spacing between lines */
  display: flex !important;
  flex-direction: column !important; /* stack children vertically */
  gap: 5px !important; /* small gap between lines */
  color: #fff !important; /* default text color */
}

/* Style links inside paragraph */
.image_overlay .overlay-inner p a {
  color: #fff; /* link color */
  text-decoration: underline; /* underline links */
}

/* Responsive adjustment */
@media (max-width: 1024px) {
  .image_overlay .overlay-inner {
    display: block; /* stack left and right if needed */
  }
}
@media (max-width: 768px) {
  .banner_imges .eael-img-accordion {
    flex-direction: column !important; /* Stack vertically */
  }
}
/* =========================
   SLIDER / FLEX CONTAINER
========================= */
.Inner_column .elementor-container {
  position: relative;
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 1430px;
  margin: 0 auto;
  padding: 20px 0;
}

/* ==== Slider Container ==== */
.Inner_column .elementor-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none; /* IE/Edge */
  scrollbar-width: none; /* Firefox */
  position: relative;
}
.Inner_column .elementor-container::-webkit-scrollbar {
  display: none;
}

/* ==== Slider Columns ==== */
.slider_column {
  flex: 0 0 25%; /* Default: 4 per row */
  min-width: 25%;
  padding: 10px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  transition: transform 0.5s ease;
}

.slider_column .elementor-widget-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 0; /* Keep your card border-radius */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

/* ==== Image Styling ==== */
.slider_column img {
  width: 100%;
  height: 200px; /* fixed height for uniform look */
  object-fit: cover;
  display: block;
}

/* ==== Text Styling ==== */
.slider_column .elementor-widget-text-editor {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  text-align: center;
}
.slider_column .elementor-widget-text-editor p {
  margin: 0;
  line-height: 1.4em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

/* ==== Nav Arrows ==== */
.custom-slider-prev,
.custom-slider-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  font-size: 22px;
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.3s;
}
.custom-slider-prev:hover,
.custom-slider-next:hover {
  background: rgba(0, 0, 0, 0.8);
}
.custom-slider-prev {
  left: 14%;
} /* Outside left */
.custom-slider-next {
  right: 14%;
} /* Outside right */

/* ==== Responsive Breakpoints ==== */
@media (max-width: 1024px) {
  .slider_column {
    flex: 0 0 50%; /* 2 per row */
    min-width: 50%;
  }
  .Inner_column .elementor-container {
    width: 70%;
  }
}
@media (max-width: 768px) {
  .slider_column {
    flex: 0 0 100%; /* 1 per row */
    min-width: 100%;
  }
}

/* 425px and below â†’ width stays 60% */
@media (max-width: 425px) {
  .Inner_column .elementor-container {
    width: 60%;
  }
  .custom-slider-prev {
    left: 20px;
  } /* Outside left */
  .custom-slider-next {
    right: 20px;
  }
}

/* =========================
   REVIEW CARD
========================= */

/* Card container */
.review_card {
  background: #fff !important;
  border: 1px solid #e5e7eb !important;
  border-radius: 10px !important;
  padding: 25px 20px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
  transition: all 0.3s ease !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  min-height: 100% !important;
}

/* Hover effect */
.review_card:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-4px) !important;
}

/* Quote icon */
.review_card .elementor-icon {
  margin-bottom: 12px !important;
}

.review_card .elementor-icon svg {
  width: 28px !important;
  height: 28px !important;
  fill: #adb5bd !important; /* light gray */
}

/* Star rating image */
.review_card .elementor-widget-image img {
  width: auto !important;
  max-width: 110px !important;
  display: block !important;
}

/* Testimonial text */
.review_card .elementor-widget-text-editor p,
.review_card .elementor-widget-text-editor span {
  font-size: 15px !important;
  line-height: 1.6 !important;
  color: #495057 !important;
  font-style: italic !important;
}

/* Author section */
.review_card .testimonial-description {
  border-top: 1px solid #f0f0f0 !important;
  padding-top: 12px !important;
  margin-top: auto !important;
}

.review_card .testimonial-text {
  margin: 3px 0 !important;
}

.review_card .testimonial-text strong {
  font-weight: 600 !important;
  color: #000 !important;
  font-size: 15px !important;
}

.review_card .testimonial-text span {
  font-size: 14px !important;
  color: #6c757d !important;
}

/* Flex container gap for review section */
.review_section.e-flex {
  gap: 15px !important;
}

@media (max-width: 768px) {
  .review_card {
    min-height: auto !important;
  }
  .footer-content {
    flex-direction: column;
  }
}

.logo_image .swiper-slide {
  position: unset !important;
}

/*==================== Custom Header CSS ==================== */

/* ==================== HEADER BASE ==================== */
.custom-header {
  background: #1c1c4c;
  /* border-bottom: 1px solid #e0e0e0; */
  padding: 10px 20px;
  position: sticky;
  /* keeps it inside flow but stuck */
  top: 0;
  /* stick to top of viewport */
  z-index: 1000;
  /* above page content */
}

.custom-header-container {
  max-width: 1700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==================== TOP RIGHT ==================== */
.custom-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
  flex-wrap: wrap;
}

.custom-contact a {
  font-size: 15px;
  color: #fff;
  text-decoration: none;
  margin-left: 10px;
  transition: color 0.3s;
}

.custom-contact a:hover {
  color: #fff;
}

.portfolio-btn {
  display: inline-block;
  background: #fff;
  color: #1c1c4c !important;
  padding: 8px 32px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  position: relative;
  transition: background 0.3s;
  clip-path: polygon(0% 0%, 100% 0%, 90% 100%, 10% 100%);
  top: -10px;
}

/* ==================== NAVIGATION ==================== */
.custom-nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.custom-logo img {
  height: 65px;
  max-width: 100%;
}

.navigation-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.custom-nav .custom-menu {
  display: flex;
  list-style: none;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.custom-nav a {
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.custom-nav a:hover {
  color: #fff;
}

.custom-search {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.3s;
}

.custom-search:hover {
  color: #fff;
}

/* ==================== HAMBURGER TOGGLE ==================== */
.menu-toggle {
  display: none;
  /* hidden on desktop */
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #111;
  padding: 4px;
}

/* ==================== OFFCANVAS MENU ==================== */
.offcanvas-menu {
  position: fixed;
  top: 0;
  right: -300px;
  /* hidden off screen */
  width: 300px;
  height: 100%;
  background: #1c1c4c;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.15);
  transition: right 0.3s ease;
  padding: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 20px;
  overflow-y: auto;
  /* in case menu is long */
}

.offcanvas-menu.active {
  right: 0;
}

.offcanvas-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 1999;
}

.offcanvas-overlay.active {
  opacity: 1;
  visibility: visible;
}

.close-btn {
  background: none;
  border: none;
  font-size: 28px;
  cursor: pointer;
  align-self: flex-end;
  color: #fff;
  line-height: 1;
  transition: color 0.3s;
}

.close-btn:hover {
  color: #fff;
}

.mobile-nav .custom-menu {
  display: flex;
  flex-direction: column;
  gap: 15px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav .custom-menu a {
  font-size: 16px;
  font-weight: 500;
  text-decoration: none;
  color: #fff !important;
  /* force dark text */
  transition: color 0.3s;
}

.mobile-nav .custom-menu a:hover {
  color: #fff !important;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
  .menu-toggle {
    display: block;
  }

  /* Hide desktop nav on mobile */
  .custom-nav {
    display: none;
  }
}

@media (max-width: 425px) {
  .custom-right {
    justify-content: center !important;
  }
}

.custom-nav-container .menu-toggle {
  color: #fff;
  margin-left: 8px;
}

.search-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.search-input {
  width: 0;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border: 1px solid #ccc;
  padding: 6px 10px;
  border-radius: 4px;
  margin-left: 10px;
}

/* When active, show input */
.search-wrapper.active .search-input {
  width: 180px;
  opacity: 1;
  visibility: visible;
}

/* === Footer Styling === */
.site-footer {
  background: #171b57;
  /* dark navy */
  /* border-radius: 60px 60px 0 0; */
  /* rounded top corners only */
  color: #fff;
  padding: 60px 40px 20px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

/* Left Column */
.footer-left {
  flex: 1 1 35%;
}

.footer-logo {
  max-width: 180px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 10px;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-contact i {
  color: #ed2024;
  font-size: 16px;
  min-width: 18px;
}

.footer-contact a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

/* Middle + Right Columns */
.footer-col {
  flex: 1 1 20%;
}

.footer-col h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

/* Social Icons */
.footer-social {
  margin-top: 12px;
}

.footer-social a {
  display: inline-block;
  margin-right: 12px;
  font-size: 18px;
  color: #fff;
  transition: color 0.3s;
}

/* Bottom Bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  font-size: 14px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  margin: 0 6px;
  font-weight: 500;
}

.case_study_container .e-loop-item:nth-child(odd) .elementor-element-5200f14 {
  flex-direction: row-reverse;
}

.case_study_container .e-loop-item:nth-child(even) .elementor-element-5200f14 {
  flex-direction: row;
}

/* Stack on mobile */
@media (max-width: 768px) {
  .case_study_container .elementor-element-5200f14 {
    flex-direction: column !important;
  }
}

/* ====== Case Studies Tabs Slider Section ====== */
.cate-studies-slider-section .tabs-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Swiper base */
.cate-studies-slider-section .e-n-tabs-heading.swiper {
  padding: 10px 0;
}

.cate-studies-slider-section .e-n-tabs-heading .swiper-wrapper {
  align-items: center;
}

/* Each tab button slide */
.cate-studies-slider-section .e-n-tabs-heading .swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 25px;
}
.cate-studies-slider-section
  .e-n-tabs-heading
  .swiper-slide.swiper-slide-active
  button {
  border-radius: 25px;
}
.cate-studies-slider-section .e-n-tabs-heading .swiper-slide button.active {
  background: var(--e-global-color-primary) !important;
}
.cate-studies-slider-section .e-n-tabs-heading .swiper-slide span {
  font-weight: 600;
  font-size: 17px;
}
.cate-studies-slider-section .e-n-tabs-heading .swiper-slide button.e-active,
.cate-studies-slider-section .e-n-tabs-heading .swiper-slide:hover button {
  background: var(--n-tabs-title-color) !important;
}
.cate-studies-slider-section .e-n-tabs-heading .swiper-slide:hover button span {
  color: #fff;
}
/* Tab buttons */
.cate-studies-slider-section .e-n-tab-title {
  white-space: nowrap;
  background: #fff !important;
  border: 1px solid #ddd !important;
  border-radius: 6px;
  padding: 10px 20px;
  transition: all 0.3s ease;
  cursor: pointer;
  font-weight: 500;
  min-width: 290px;
}

.cate-studies-slider-section .e-n-tab-title:hover,
.cate-studies-slider-section .e-n-tab-title[aria-selected="true"] {
  background: var(--e-global-color-primary);
  color: #fff;
  border-color: var(--e-global-color-primary);
}

/* ===== Swiper Navigation Buttons ===== */
.cate-studies-slider-section .swiper-button-prev,
.cate-studies-slider-section .swiper-button-next {
  color: #333;
  width: 45px;
  height: 45px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
  top: 75%;
  transform: translateY(-50%);
}
.cate-studies-slider-section .swiper-button-prev.swiper-button-disabled,
.cate-studies-slider-section .swiper-button-next.swiper-button-disabled {
  opacity: 0.7;
}

.cate-studies-slider-section .swiper-button-prev::after,
.cate-studies-slider-section .swiper-button-next::after {
  font-size: 14px;
  font-weight: bold;
}
.product-slider-tab .elementor-swiper-button {
  display: none !important;
}
.cate-studies-slider-section .swiper-button-prev:hover,
.cate-studies-slider-section .swiper-button-next:hover {
  background: var(--e-global-color-primary);
  color: #fff;
}
.cate-studies-slider-section .e-n-tabs-heading.swiper {
  padding: 10px 0;
  max-width: 90%;
}
/************************************************************
  GLOBAL FIX – Ensure slider aligns correctly
*************************************************************//************************************************************
  PERFECT CLEAN GAP (NOT ATTACHED TO TABS)
*************************************************************/

/* DESKTOP – SWIPER */
.the-download .elementor-swiper-button-prev,
.the-download .elementor-swiper-button-next {
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;

    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0px 4px 20px -4px rgba(0,0,0,0.20);
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

/* CLEAN GAP (not touching button) */
.the-download .elementor-swiper-button-prev { left: -42px !important; }
.the-download .elementor-swiper-button-next { right: -42px !important; }

/* ICONS */
.the-download .elementor-swiper-button-prev::before,
.the-download .elementor-swiper-button-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    color: #1a2540;
}

.the-download .elementor-swiper-button-prev::before { content: "\f104"; }
.the-download .elementor-swiper-button-next::before { content: "\f105"; }


/************************************************************
  RESPONSIVE – SLICK MODE
*************************************************************/
@media (max-width: 992px) {

    .the-download .slick-prev,
    .the-download .slick-next {
        position: absolute !important;
        top: 50% !important;
        transform: translateY(-50%) !important;

        width: 42px;
        height: 42px;
        background: #ffffff;
        border-radius: 50%;
        box-shadow: 0px 4px 20px -4px rgba(0,0,0,0.20);
        display: flex !important;
        justify-content: center;
        align-items: center;
        z-index: 20;
    }

    /* CLEAN GAP for mobile */
    .the-download .slick-prev { left: -32px !important; }
    .the-download .slick-next { right: -32px !important; }

    .the-download .slick-prev:before,
    .the-download .slick-next:before {
        font-size: 20px !important;
        color: #1a2540 !important;
        opacity: 1 !important;
    }
}


/************************************************************
  HOVER EFFECT
*************************************************************/
.the-download .elementor-swiper-button-prev:hover,
.the-download .elementor-swiper-button-next:hover,
.the-download .slick-prev:hover,
.the-download .slick-next:hover {
    background: var(--e-global-color-primary) !important;
}

.the-download .elementor-swiper-button-prev:hover::before,
.the-download .elementor-swiper-button-next:hover::before,
.the-download .slick-prev:hover:before,
.the-download .slick-next:hover:before {
    color: #ffffff !important;
}

.the-download .swiper,
.the-download .slick-slider {
    position: relative !important;
}

.the-download .swiper-wrapper,
.the-download .slick-track {
    display: flex !important;
    align-items: center !important;
}

.the-download .swiper-slide,
.the-download .slick-slide {
    display: flex !important;
    align-items: center !important;
}


/************************************************************
  PERFECT ARROW ALIGNMENT (DESKTOP + SWIPER)
*************************************************************/
.the-download .elementor-swiper-button-prev,
.the-download .elementor-swiper-button-next {
    position: absolute !important;
    top: 50% !important; /* <<--- PERFECT VERTICAL ALIGNMENT */
    transform: translateY(-50%) !important;
    
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0px 4px 20px -4px rgba(0,0,0,0.20);
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 20;
}

/* 30px GAP LEFT + RIGHT (DESKTOP)  */
.the-download .elementor-swiper-button-prev {
    left: -30px !important;
}

.the-download .elementor-swiper-button-next {
    right: -30px !important;
}


/************************************************************
  CUSTOM ICONS
*************************************************************/
.the-download .elementor-swiper-button-prev::before,
.the-download .elementor-swiper-button-next::before {
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 20px;
    color: #1a2540;
}

.the-download .elementor-swiper-button-prev::before { content: "\f104"; }
.the-download .elementor-swiper-button-next::before { content: "\f105"; }


/************************************************************
  RESPONSIVE (SLICK MODE)
*************************************************************/
@media (max-width: 992px) {

    .the-download .slick-prev,
    .the-download .slick-next {
        position: absolute !important;
        top: 50% !important; /* <<--- FIXES MOBILE ALIGNMENT */
        transform: translateY(-50%) !important;

        width: 42px;
        height: 42px;
        background: #ffffff;
        border-radius: 50%;
        box-shadow: 0px 4px 20px -4px rgba(0,0,0,0.20);
        display: flex !important;
        justify-content: center;
        align-items: center;
        z-index: 20;
    }

    .the-download .slick-prev { left: -20px !important; }
    .the-download .slick-next { right: -20px !important; }

    .the-download .slick-prev:before,
    .the-download .slick-next:before {
        font-size: 20px !important;
        color: #1a2540 !important;
        opacity: 1 !important;
    }
}



/************************************************************
  HOVER EFFECT
*************************************************************/
.the-download .elementor-swiper-button-prev:hover,
.the-download .elementor-swiper-button-next:hover,
.the-download .slick-prev:hover,
.the-download .slick-next:hover {
    background: var(--e-global-color-primary) !important;
}

.the-download .elementor-swiper-button-prev:hover::before,
.the-download .elementor-swiper-button-next:hover::before,
.the-download .slick-prev:hover:before,
.the-download .slick-next:hover:before {
    color: #ffffff !important;
}

@media (max-width: 1700px) {
  .cate-studies-slider-section .e-n-tabs-heading.swiper {
    max-width: 90%;
    margin: 0 auto; /* keep centered */
  }
}
@media (max-width: 1366px) {
  .cate-studies-slider-section .e-n-tabs-heading.swiper {
    max-width: 85%;
    margin: 0 auto; /* keep centered */
  }
  .cate-studies-slider-section .e-n-tab-title {
    min-width: 266px;
  }
}
@media (max-width: 1279px) {
  .cate-studies-slider-section .e-n-tab-title {
    min-width: 315px;
  }
}
@media (max-width: 1150px) {
  .cate-studies-slider-section .e-n-tab-title {
    min-width: 260px;
  }
}
@media (max-width: 460px) {
  .product-slider-tab .e-n-carousel.swiper {
    width: 62%;
  }
  .product-slider-tab .swiper-slide {
    min-width: 180px;
  }
  .cate-studies-slider-section .e-n-tab-title {
    min-width: 200px;
  }
  .cate-studies-slider-section .e-n-tabs-heading .swiper-slide span {
    font-size: 16px;
  }
  .cate-studies-slider-section .swiper-button-next {
    right: 0;
    height: 35px;
    width: 35px;
  }
  .cate-studies-slider-section .swiper-button-prev {
    left: 0;
    height: 35px;
    width: 35px;
  }
}

