/* ============================================
   Banner Features - Desktop Grid Styles
   ============================================ */

.banner-features-desktop {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.banner-features-desktop [role="listitem"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.banner-features-desktop .feature-icon {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  color: white;
}

.banner-features-desktop .feature-icon svg {
  width: 2rem;
  height: 2rem;
}

.banner-features-desktop .text-lg {
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-weight: 500;
  color: white;
  margin-bottom: 0.25rem;
}

.banner-features-desktop .text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Mobile Carousel - Hidden by default */
.banner-features-swiper {
  display: none;
}

/* ============================================
   Media Query: Mobile Only
   ============================================ */

@media (max-width: 767px) {
  /* Footer Takeda logo mobile */
  .takeda-ftr {
    margin-left:-38px;
  }
  /* Hide desktop grid on mobile */
  .banner-features-desktop {
    display: none !important;
  }

  /* Show mobile carousel */
  .banner-features-swiper {
    display: block;
    position: relative;
    padding-bottom: 48px;
    width: 100%;
  }

  .banner-features-swiper .swiper {
    width: 100%;
    overflow: visible;
  }

  .banner-features-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
  }

  .banner-features-swiper .swiper-slide {
    flex-shrink: 0;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 180px;
  }

  /* Feature item centering - ONLY for carousel */
  .banner-features-swiper .swiper-slide [role="listitem"] {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    padding: 0 24px;
  }

  /* Icon centering - ONLY for carousel */
  .banner-features-swiper .feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    width: 2rem;
    height: 2rem;
  }

  .banner-features-swiper .feature-icon svg {
    display: block;
    margin: 0 auto;
    width: 2rem;
    height: 2rem;
  }

  /* Text alignment - ONLY for carousel */
  .banner-features-swiper span,
  .banner-features-swiper p {
    width: 100%;
    text-align: center;
  }

  /* Pagination Dots */
  .banner-features-swiper .swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    padding: 16px 0 0;
    z-index: 10;
  }

  .banner-features-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 1;
    margin: 0 !important;
  }

  .banner-features-swiper .swiper-pagination-bullet-active {
    background: rgba(255, 255, 255, 1);
    width: 24px;
    border-radius: 4px;
  }

  /* Content spacing - ONLY for carousel */
  .banner-features-swiper .text-lg {
    margin-top: 12px;
    margin-bottom: 8px;
    line-height: 1.5;
  }

  .banner-features-swiper .text-sm {
    line-height: 1.6;
    max-width: 280px;
    margin: 0 auto;
  }
}

/* ============================================
   Media Query: Desktop - Ensure grid shows
   ============================================ */

@media (min-width: 768px) {
  .banner-features-desktop {
    display: grid !important;
  }

  .banner-features-swiper {
    display: none !important;
  }
}

/* ============================================
   Keep Connecting - Desktop Grid
   ============================================ */

.keep-connecting-card {
  background-color: white;
  border: 1px solid #e5e7eb;
}

/* ============================================
   Keep Connecting - Mobile Carousel
   ============================================ */

@media (max-width: 1023px) {
  .keep-connecting-carousel {
    position: relative;
    padding-bottom: 48px;
  }

  .keep-connecting-carousel .swiper {
    overflow: visible;
  }

  .keep-connecting-carousel .swiper-wrapper {
    display: flex;
  }

  .keep-connecting-carousel .swiper-slide {
    flex-shrink: 0;
    width: 100%;
  }

  /* Pagination Dots */
  .keep-connecting-carousel .swiper-pagination {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 8px;
    justify-content: center;
    padding: 16px 0 0;
  }

  .keep-connecting-carousel .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d1d5db;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s;
    opacity: 1;
    margin: 0 !important;
  }

  .keep-connecting-carousel .swiper-pagination-bullet-active {
    background: #891515;
    width: 24px;
    border-radius: 4px;
  }
}

/* Hide carousel on desktop */
@media (min-width: 1024px) {
  .keep-connecting-carousel {
    display: none;
  }
}


/* Proofpilot new lang switch css */
/* Language Selector Container */
.wc-language-selector {
  position: relative;
}

/* Dropdown Button */
.wc-language-selector button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 150px;
  height: 48px;
  padding: 12px 16px;
  background: #FAFAFA;
  border: 1px solid #EDEDF0;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 500;
  color: #891515;
  cursor: pointer;
  transition: all 0.2s;
}

.wc-language-selector button:hover {
  border-color: #891515;
}

.wc-language-selector button span {
  color: #891515;
  font-weight: 500;
}

.wc-language-selector button svg {
  width: 14px;
  height: 14px;
  margin-left: 8px;
  color: #343840;
  flex-shrink: 0;
}

/* Dropdown Menu */
.wc-language-selector [role="menu"] {
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  min-width: 200px;
  background: white;
  border: 3px solid #343840; /* Dark border - matches design */
  border-radius: 12px; /* More rounded - matches design */
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  overflow: hidden;
}

/* Dropdown Links */
.wc-language-selector [role="menuitem"] {
  display: block;
  padding: 16px 20px;
  color: #343840;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: background-color 0.15s;
}

.wc-language-selector [role="menuitem"]:hover {
  background-color: #FFF5F4; /* Light pink/blush - matches design */
}

/* Active Language */
.wc-language-selector [role="menuitem"].active {
  background-color: #FFF5F4;
  font-weight: 600;
}

/* Hidden State */
.wc-language-selector .hidden {
  display: none;
}

/* Prevent scroll when dropdown is open (optional) */
body.dropdown-open {
  overflow: hidden;
}