/* ===== BACKGROUND COLORS ===== */
.bg-tertiary {
  background-color: #f2f2ee !important;
}

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonial-carousel-container {
  position: relative;
  padding: 0 60px;
  min-height: 400px;
}

.testimonial-swiper {
  overflow: hidden;
  width: 100%;
}

.swiper-wrapper {
  display: flex;
  width: 100%;
}

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

.testimonial-card-slide {
  height: 100%;
  padding: 20px 10px;
}

/* Navigation Arrows */
.testimonial-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border: none;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.testimonial-nav-btn iconify-icon {
  font-size: 64px !important;
}

.testimonial-nav-btn:hover {
  border-color: #3D90D7;
  background: #3D90D7;
  color: white;
}

.testimonial-nav-prev {
  left: 0;
}

.testimonial-nav-next {
  right: 0;
}

/* Pagination Dots */
.testimonial-pagination {
  display: flex;
  justify-content: center;
  margin-top: 30px;
  gap: 8px;
}

.swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: #dee2e6;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #3D90D7;
  transform: scale(1.2);
}

.testimonial-card-slide {
  height: 100%;
  padding: 20px 10px;
}

.testimonial-card-slide p {
  text-align: justify;
  line-height: 1.6;
}

/* ===== TESTIMONIAL CARD HOVER EFFECTS ===== */
.testimonial-card-slide .card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative !important;
  overflow: visible !important;
  background: transparent !important;
  border-radius: 0 !important;
  height: 270px !important;
  display: flex !important;
  flex-direction: column !important;
}

.testimonial-card-slide .card .card-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
}

.testimonial-card-slide .card p {
  flex-grow: 1 !important;
  margin-bottom: 0 !important;
}

.testimonial-card-slide .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #3D90D7 0%, #2d3748 100%);
  opacity: 0;
  transition: opacity 0.4s ease !important;
  z-index: 1;
  border-radius: 0 !important;
}

.testimonial-card-slide .card:hover::before {
  opacity: 0.3;
}

.testimonial-card-slide .card > * {
  position: relative;
  z-index: 2;
}

.testimonial-card-slide .card:hover h6,
.testimonial-card-slide .card:hover span {
  color: rgb(8, 71, 126) !important;
  transition: color 0.3s ease !important;
}



/* ===== BRANDS MARQUEE ===== */
.brands-marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 20px 0;
}

.brands-marquee {
  width: 100%;
}

.brands-track {
  display: flex;
  align-items: center;
  animation: scroll 30s linear infinite;
  width: max-content;
}

.brand-item {
  flex-shrink: 0;
  margin: 0 10px;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
}

.brand-item img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%) !important;
  opacity: 0.7 !important;
  transition: all 0.3s ease !important;
}

.brand-item:hover img {
  filter: grayscale(0%) !important;
  opacity: 1 !important;
  transform: scale(1.05) !important;
}

.brand-item:hover {
  transform: translateY(-2px) !important;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.brands-marquee:hover .brands-track {
  animation-play-state: paused;
}

/* ===== UNIFIED SLIDE ANIMATION FOR ALL BUTTONS ===== */
.talk-to-expert-btn,
.hero-learn-more-btn,
.learn-more-btn {
  position: relative;
  overflow: hidden;
  border-radius: 0 !important;
  transition: all 0.3s ease !important;
}

.talk-to-expert-btn::before,
.hero-learn-more-btn::before,
.learn-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #3D90D7;
  transition: left 0.5s ease;
  z-index: 1;
}

.talk-to-expert-btn:hover::before,
.hero-learn-more-btn:hover::before,
.learn-more-btn:hover::before {
  left: 0;
}

.talk-to-expert-btn span,
.talk-to-expert-btn iconify-icon,
.hero-learn-more-btn span,
.hero-learn-more-btn iconify-icon,
.learn-more-btn span,
.learn-more-btn iconify-icon {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.talk-to-expert-btn:hover,
.hero-learn-more-btn:hover,
.learn-more-btn:hover {
  border-color: #3D90D7 !important;
  box-shadow: 0 2px 8px rgba(61, 144, 215, 0.3) !important;
}

.talk-to-expert-btn:hover span,
.talk-to-expert-btn:hover iconify-icon,
.hero-learn-more-btn:hover span,
.hero-learn-more-btn:hover iconify-icon,
.learn-more-btn:hover span,
.learn-more-btn:hover iconify-icon {
  color: white !important;
}

/* ===== CARD HOVER EFFECTS ===== */
.services-card,
.real-results-hover {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
  position: relative !important;
  overflow: visible !important;
  background: transparent !important;
}

.services-card::before,
.real-results-hover::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #3D90D7 0%, #2d3748 100%);
  opacity: 0;
  transition: opacity 0.4s ease !important;
  z-index: 1;
  border-radius: 0;
}

.services-card:hover::before,
.real-results-hover:hover::before {
  opacity: 0.3;
}

.services-card > *,
.real-results-hover > * {
  position: relative;
  z-index: 2;
}

.services-card:hover h6,
.real-results-hover:hover h6 {
  color: rgb(8, 71, 126) !important;
  transition: color 0.3s ease !important;
}

/* ===== REAL RESULTS CARDS LAYOUT ===== */
.real-results-hover {
  height: 600px !important;
  display: flex !important;
  flex-direction: column !important;
  position: relative !important;
}

.real-results-hover .text-start {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.real-results-hover .text-end {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important;
  width: 100% !important;
}

.real-results-hover .d-flex.justify-content-center {
  margin-top: 1rem !important;
  justify-content: flex-start !important;
  margin-bottom: 1rem !important;
}

.real-results-hover p {
  margin-bottom: 1rem !important;
  flex-grow: 1 !important;
}

/* ===== REAL RESULTS SECTION GRID ===== */
.row.g-4 .col-lg-6 {
  display: flex !important;
}

.row.g-4 .col-lg-6 > div {
  width: 100% !important;
}

/* ===== WHY US SECTION ICONS ===== */
.services-card .w-12 {
  width: 2.2rem !important;
  height: 2.2rem !important;
}

.services-card .w-12 iconify-icon {
  font-size: 1.5rem !important;
}

/* ===== WHY US SECTION CARD HEIGHTS ===== */
.row.g-4 .col-lg-4 .services-card {
  height: 200px !important;
  display: flex !important;
  flex-direction: column !important;
}

.row.g-4 .col-lg-4 .services-card p {
  flex-grow: 1 !important;
  margin-bottom: 0 !important;
}

/* ===== UTILITY CLASSES ===== */
.custom-icon-color {
  color: rgb(8, 71, 126) !important;
}

.main-heading-color {
  color: rgb(8, 71, 126) !important;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .testimonial-carousel-container {
    padding: 0 40px;
  }
  
  .testimonial-nav-btn {
    width: 40px;
    height: 40px;
  }
  
  .brand-item {
    margin: 0 5px;
  }
  
  .brand-item img {
    max-height: 40px;
  }
}
