/* ===============================
       HERO CAROUSEL
    =============================== */
.hero-home-slider .swiper-slide {
  height: 85vh;
  /* Takes full screen height */
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}


/* Content needs a higher z-index than the background overlay */
.hero-home-slider .hero-content {
  height: 100%;
  position: relative;
  z-index: 3;
  color: var(--white);
}

/* RIGHT IMAGE (DESKTOP) */
.hero-home-slider .hero-image {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 2;
}

.hero-home-slider .hero-image img {
  height: 90%;
  width: auto;
  object-fit: contain;
  animation: floatY 5s ease-in-out infinite;
  filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.5));
}

/* Floating animation */
@keyframes floatY {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

/* Text Animations */
.hero-home-slider .hero-title-anim {
  animation: fadeUp 0.8s ease;
}

.hero-home-slider .hero-text-anim {
  animation: fadeUp 0.8s ease 0.2s backwards;
  color: var(--white);
}

.hero-home-slider .hero-btn-anim {
  animation: fadeUp 0.8s ease 0.4s backwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

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

/* Indicators */

/* .swiper {
  padding: 0rem !important;
} */

.hero-home-slider .swiper-pagination-bullet {
  width: 30px;
  height: 4px;
  background: #fff !important;
  opacity: 0.5;
  border: none;
}

.hero-home-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--accent-color) !important;
}


/* Controls */
.hero-home-slider .swiper-button-next,
.hero-home-slider .swiper-button-prev {
  z-index: 4;
  width: 7%;
  background-color: var(--accent-color);
  border: none;
  color: var(--white);
  top: 90%;
  transform: translateY(0);
}

.hero-home-slider .swiper-button-next:hover,
.hero-home-slider .swiper-button-prev:hover {
  background-color: var(--white) !important;
  color: var(--accent-color) !important;
  transition: all 0.3s ease;
}



.hero-home-slider .carousel-item-content {
  margin: auto 0;
}

@media (max-width: 1199px) {
  .hero-home-slider .swiper-slide {
    height: auto;
    padding: 40px 0;
    flex-direction: column;
  }

  .hero-home-slider .hero-image {
    position: relative;
    height: auto;
    justify-content: center;
    margin-top: 40px;
  }

  .hero-home-slider .hero-image img {
    width: 80%;
    height: auto;
  }

  .hero-home-slider .hero-content {
    text-align: center;
    height: 220px;
  }

  .hero-home-slider .carousel-item-content {
    margin: 0 auto;
  }
}

@media (max-width:767px) {
  .hero-home-slider .hero-image img {
    width: 100%;
  }

  .hero-home-slider .hero-content {
    height: 330px;
  }
}

@media (max-width:550px) {
  .hero-home-slider .hero-content {
    height: 360px;
  }
}


/* ==========================================================================
           PREMIUM STATISTICS BACKGROUND BLOBS
           ========================================================================== */
.stat-blob-top {
  width: 400px;
  height: 400px;
  background: var(--accent-color);
  opacity: 0.05;
  top: -100px;
  left: -100px;
  filter: blur(50px);
  z-index: 0;
}

.stat-blob-bottom {
  width: 300px;
  height: 300px;
  background: var(--primary-color);
  opacity: 0.05;
  bottom: -50px;
  right: -50px;
  filter: blur(50px);
  z-index: 0;
}

/* ==========================================================================
          capabilities SECTION
       ========================================================================== */
/* SWIPER CARDS UPDATED */
.capability-card {
  position: relative;
  border-radius: 15px;
  height: 400px;
  box-shadow: 0 0 10px var(--accent-color);
  /* Fixed height for background image look */
  margin: 15px 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  /* Push text to bottom */
  border: none;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  text-decoration: none;
}

/* Background Image Wrapper */
.capability-img-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.capability-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

/* Shadow/Gradient Overlay for legibility */
.capability-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.4) 40%,
      transparent 100%);
  z-index: 2;
}

.capability-card h3 {
  position: relative;
  z-index: 3;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  padding: 30px;
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease;
}

/* HOVER EFFECTS */
.capability-card:hover {
  /* transform: translateY(-10px); */
  box-shadow: 0 0px 30px rgba(57, 194, 240, 0.829);
}

.capability-card:hover .capability-img-wrapper img {
  transform: scale(1.1);
}

.capability-card:hover h3 {
  /* transform: translateY(-5px); */
  color: var(--accent-color) !important;
}

/* NAVIGATION */
.capability-section .nav-buttons {
  display: flex;
  gap: 10px;
  margin-top: 40px;
}

.capability-section .nav-btn {
  width: 45px;
  height: 45px;
  border: 2px solid var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: 0.3s;
  color: var(--accent-color);
  background: transparent;
  font-size: 28px;
  padding-bottom: 4px;
}

.capability-section .nav-btn:hover {
  background-color: var(--accent-color);
  color: #fff;
}

@media (max-width: 991px) {
  .capability-section {
    text-align: center;
  }

  .capability-section .nav-buttons {
    justify-content: center;
  }

  .capability-card {
    height: 350px;
  }
}


/* ==========================================================================
          meshtek PREMIUM SOLUTION SECTION
       ========================================================================== */
.solution {
  padding: 60px 20px;
}

/* SWIPER */
.solution .swiper {
  max-width: 1200px;
  margin: auto;
  padding-bottom: 50px;
}

.solution .swiper-slide {
  display: flex;
  justify-content: center;
}

/* solution-card */
.solution .parent {
  width: 370px;
  height: 500px;
  perspective: 1000px;
}

.solution-card {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  transform-style: preserve-3d;
  border: 1px solid rgba(0, 229, 255, 0.2);
  transition: 0.5s ease;
  border-radius: 0 25px 0 25px;
}

.solution-card:hover {
  transform: rotateY(10deg) rotateX(10deg) scale(1.05);
  border: 1px solid var(--accent-color);
}

/* IMAGE */
.solution-card-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.solution-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.6s ease;
}

.solution-card:hover .solution-card-img img {
  transform: scale(1.1);
}

/* OVERLAY */
.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.3));
  z-index: 1;
}

/* CONTENT */
.solution-content-box {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 40px 25px 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.solution-card-title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--accent-color);
}

.solution-card-content {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 15px;
}

.solution .swiper-pagination-bullet {
  background: var(--primary-color);
  opacity: 0.5;
}

.solution .swiper-pagination-bullet-active {
  opacity: 1;
}

.solution .swiper-btn.second-btn {
  border-color: var(--accent-color);
  cursor: pointer;
}

.solution .swiper-btn.second-btn:hover {
  background-color: var(--accent-color);
  color: var(--primary-color) !important;
}

.solution .swiper-btn.second-btn::before {
  background-color: var(--accent-color);
}




@media (max-width:767px) {
  .solution .parent {
    width: 370px;
    height: 500px;
    perspective: 1000px;
  }

  .solution-content-box {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 20px 15px 20px;
  }

}



/* ==========================================================================
          meshtek  PARTNER SECTION
       ========================================================================== */

/* MARQUEE */
.marquee-track {
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.marquee-inner {
  display: flex;
  gap: 20px;
  width: max-content;
  align-items: center;
}

/* ANIMATION */
.marquee-left {
  animation: scrollLeft 10s linear infinite;
}

.marquee-right {
  animation: scrollRight 10s linear infinite;
}

@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

/* PAUSE ON HOVER */
.marquee-track:hover .marquee-left,
.marquee-track:hover .marquee-right {
  animation-play-state: paused;
}

/* FADE EDGES */
.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade-left {
  left: 0;
  background: linear-gradient(90deg, #fff, transparent);
}

.marquee-fade-right {
  right: 0;
  background: linear-gradient(-90deg, #fff, transparent);
}

/* LOGO CARD */
.logo-item {
  flex-shrink: 0;
}

.logo-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
}

.logo-card img {
  height: 80px;
  object-fit: contain;
}

.logo-card:hover {
  /* transform: translateY(-5px); */
  background: #000;
}

/* MOBILE FIX */
@media (max-width: 768px) {
  .logo-card img {
    height: 60px;
  }
}


/* ==========================================================================
            PATENT SECTION
       ========================================================================== */

/* Item */
.patent-item {
  padding: 25px 15px;
  border-radius: 12px;
  transition: all 0.3s ease;
  background: #fff;
}

.patent-item:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--accent-color);
}

/* Icon */
.patent-icon {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(43, 102, 195, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  color: var(--primary-color);
  font-size: 24px;
  transition: 0.3s;
  animation: float 3s ease-in-out infinite;
}

.patent-item:hover .patent-icon {
  background: var(--accent-color);
  color: #fff;
  transform: scale(1.1);
}

/* Floating animation */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

/* Number */
.patent-number {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary-color);
}


/* ==========================================================================
            AWARD SECTION
       ========================================================================== */

/* 3D Setup */
.award-item {
  perspective: 1000px;
}

/* Flip container */
.flip-inner {
  position: relative;
  width: 100%;
  height: 150px;
  transform-style: preserve-3d;
  transition: transform 0.7s ease;
  animation: flipIn 0.8s ease forwards;
  opacity: 0;
}

/* Stagger load */
.award-item:nth-child(1) .flip-inner {
  animation-delay: 0.1s;
}

.award-item:nth-child(2) .flip-inner {
  animation-delay: 0.2s;
}

.award-item:nth-child(3) .flip-inner {
  animation-delay: 0.3s;
}

.award-item:nth-child(4) .flip-inner {
  animation-delay: 0.4s;
}

/* Hover flip */
.award-item:hover .flip-inner {
  transform: rotateY(180deg) scale(1.05);
  box-shadow: 0 0 10px rgba(5, 37, 124, 0.715);
  border-radius: 20px;
}

/* Faces */
.flip-front {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-front img {
  height: 100%;
  width: 100%;
  object-fit: contain;
}


/* Entry animation */
@keyframes flipIn {
  from {
    transform: rotateY(90deg);
    opacity: 0;
  }

  to {
    transform: rotateY(0);
    opacity: 1;
  }
}

/* Subtle depth hover */
.award-item:hover {
  transform: translateY(-6px);
  transition: 0.3s;
}

/* Mobile */
@media (max-width: 767px) {

  .flip-front img {
    max-height: 90px !important;
    width: 100%;
  }

  .flip-inner {
    height: 115px;
  }

  .flip-inner {
    transform: rotateY(180deg) scale(1.05);
    box-shadow: 0 0 10px rgba(5, 37, 124, 0.715);
    border-radius: 20px;
  }
}

/* ==========================================================================
            Service SECTION
       ========================================================================== */

/* Card */
.service-card {
  position: relative;
  overflow: hidden;
  background: #000;
  color: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.15);
}

.service-card img {
  height: 300px;
  width: 100%;
  transition: 0.35s ease;
}

.service-card .service-card-content {
  position: absolute;
  inset: 0;
}

/* Title */
.service-card h3 {
  position: absolute;
  top: 0;
  left: 0;
  margin: 0;
  padding: 0 20px;
  line-height: 44px;
  background: var(--accent-color);
  font-size: 16px;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
}

.service-card h3::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 0;
  border-width: 44px 12px 0 0;
  border-style: solid;
  border-color: var(--primary-color) transparent transparent;
}

.service-card a:hover span {
  background-color: var(--primary-color);
  color: var(--white);
}

/* Read More */
.service-card span {
  position: absolute;
  bottom: 0;
  right: 0;
  background: var(--white);
  padding: 0 12px;
  line-height: 40px;
  font-weight: 700;
  font-size: 0.85rem;
  transform: translateX(120%);
  transition: 0.35s ease;
  color: var(--primary-color);
}

.service-card span::before {
  content: '';
  position: absolute;
  right: 100%;
  top: -1%;
  border-width: 0 0 40px 12px;
  border-style: solid;
  border-color: transparent transparent var(--primary-color);
}

/* Hover */
.service-card:hover img {
  transform: scale(1.1);
}

.service-card:hover span {
  transform: translateX(0);
}

/* Colors */
.blue {
  background: var(--off-white);
}

.blue h3,
.blue span {
  background: var(--off-white);
}

@media (max-width:767px) {
  .service-card span {
    transform: translateX(0);
  }

}

/* ==========================================================================
            ble SECTION
       ========================================================================== */
/* Accordion Custom Styling */
.accordion-item {
  border: none;
  margin-bottom: 15px;
  border-radius: 12px !important;
  background-color: #e9f2ff;
  /* Light blue background from image */
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-button {
  background-color: #e9f2ff;
  color: #000;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 20px;
  border: none;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background-color: #e9f2ff;
  color: var(--primary-color);
}

.accordion-button {
  color: var(--text-dark);
}

.accordion-body {
  font-size: 0.95rem;
  color: var(--text-dark);
  line-height: 1.6;
  padding-top: 0;
}

/* Image Styling */
.feature-image-container img {
  width: 100%;
  height: auto;
  border-radius: 30px;
  /* Matching the rounded corners in image */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .feature-image-container {
    margin-top: 40px;
  }
}