/* Modern Client Logo Cards Styling */

.client-logo-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.client-logo-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.client-logo-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.client-logo-card:hover::before {
  opacity: 0.3;
}

.client-logo-card img {
  max-width: 100%;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(30%);
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.client-logo-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .client-logo-card {
    padding: 20px;
    height: 140px;
  }

  .client-logo-card img {
    max-height: 80px;
  }
}

@media (max-width: 576px) {
  .client-logo-card {
    padding: 15px;
    height: 120px;
  }

  .client-logo-card img {
    max-height: 60px;
  }
}

/* Animation for logo grid */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.client-logo-card {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger animation delays */
.col-6:nth-child(1) .client-logo-card {
  animation-delay: 0.1s;
}
.col-6:nth-child(2) .client-logo-card {
  animation-delay: 0.15s;
}
.col-6:nth-child(3) .client-logo-card {
  animation-delay: 0.2s;
}
.col-6:nth-child(4) .client-logo-card {
  animation-delay: 0.25s;
}
.col-6:nth-child(5) .client-logo-card {
  animation-delay: 0.3s;
}
.col-6:nth-child(6) .client-logo-card {
  animation-delay: 0.35s;
}
.col-6:nth-child(7) .client-logo-card {
  animation-delay: 0.4s;
}
.col-6:nth-child(8) .client-logo-card {
  animation-delay: 0.45s;
}
.col-6:nth-child(9) .client-logo-card {
  animation-delay: 0.5s;
}
.col-6:nth-child(10) .client-logo-card {
  animation-delay: 0.55s;
}

/* Alternative Card Style with Border */
.client-logo-card-bordered {
  background: transparent;
  border: 2px solid #e8ecf0;
}

.client-logo-card-bordered:hover {
  border-color: #1976d2;
  background: rgba(25, 118, 210, 0.02);
}

/* Services Cards Uniform Height */
.icon-box-1 {
  height: 340px !important;
  background: #071639;
  color: #fff;
  overflow: hidden;
  position: relative;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-box-1 img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.5;
  top: 0;
  left: 0;
  transition: all 0.4s ease;
}

.icon-box-1:hover img {
  opacity: 0.3;
  transform: scale(1.1);
}

.icon-box-1 .text {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  font-size: 1rem;
  font-weight: 700;
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.icon-box-1 .text i {
  font-size: 3.5rem;
  display: block;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.icon-box-1:hover .text i {
  transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 768px) {
  .icon-box-1 {
    height: 280px !important;
  }

  .icon-box-1 .text i {
    font-size: 3rem;
  }
}

@media (max-width: 576px) {
  .icon-box-1 {
    height: 240px !important;
  }

  .icon-box-1 .text {
    font-size: 0.9rem;
  }

  .icon-box-1 .text i {
    font-size: 2.5rem;
  }
}

/* ==============================================
Modern Partners Carousel Section - Optimized
=============================================== */

.partners-section-modern {
  position: relative;
  padding: 80px 0;
  background: #ffffff;
}

.partners-section-modern .heading-main {
  color: #232135;
}

.partners-section-modern .heading-main span {
  color: #0C4CA3;
}

.partners-carousel-wrapper {
  position: relative;
  padding: 20px 0 50px;
}

/* Modern Partner Logo Card - Simplified */
.client-logo-card-modern {
  background: #ffffff;
  border-radius: 12px;
  padding: 25px 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e0e0e0;
  margin: 10px;
}

.client-logo-card-modern:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(12, 76, 163, 0.15);
  border-color: #0C4CA3;
}

.client-logo-card-modern img {
  max-width: 90%;
  max-height: 85px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(60%) opacity(0.75);
  transition: all 0.3s ease;
}

.client-logo-card-modern:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* Owl Carousel Customization for Partners */
#partners-carousel.owl-carousel,
#partners-carousel-about.owl-carousel {
  position: relative;
}

#partners-carousel .owl-nav,
#partners-carousel-about .owl-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

#partners-carousel .owl-nav button,
#partners-carousel-about .owl-nav button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff !important;
  color: #0C4CA3 !important;
  border: 2px solid #d0d0d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#partners-carousel .owl-nav button:hover,
#partners-carousel-about .owl-nav button:hover {
  background: #0C4CA3 !important;
  color: #ffffff !important;
  border-color: #0C4CA3;
  box-shadow: 0 4px 12px rgba(12, 76, 163, 0.25);
}

#partners-carousel .owl-nav button.owl-prev,
#partners-carousel-about .owl-nav button.owl-prev {
  left: -60px;
}

#partners-carousel .owl-nav button.owl-next,
#partners-carousel-about .owl-nav button.owl-next {
  right: -60px;
}

#partners-carousel .owl-dots,
#partners-carousel-about .owl-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  position: relative;
  z-index: 5;
}

#partners-carousel .owl-dots button,
#partners-carousel-about .owl-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #c0c0c0 !important;
  border: none;
  padding: 0;
  margin: 0 4px;
  transition: all 0.3s ease;
  cursor: pointer;
}

#partners-carousel .owl-dots button.active,
#partners-carousel-about .owl-dots button.active {
  background: #0C4CA3 !important;
  width: 28px;
  border-radius: 5px;
}

#partners-carousel .owl-dots button:hover,
#partners-carousel-about .owl-dots button:hover {
  background: #0C4CA3 !important;
  opacity: 0.8;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  #partners-carousel .owl-nav button,
  #partners-carousel-about .owl-nav button {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  #partners-carousel .owl-nav,
  #partners-carousel-about .owl-nav {
    padding: 0 10px;
  }

  .client-logo-card-modern {
    height: 140px;
    padding: 22px 18px;
  }

  .client-logo-card-modern img {
    max-height: 80px;
  }
}

@media (max-width: 992px) {
  .partners-section-modern {
    padding: 60px 0;
  }

  .client-logo-card-modern {
    height: 130px;
    padding: 20px 15px;
    margin: 8px;
  }

  .client-logo-card-modern img {
    max-height: 70px;
  }

  #partners-carousel .owl-nav button,
  #partners-carousel-about .owl-nav button {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}

@media (max-width: 768px) {
  .partners-section-modern {
    padding: 50px 0;
  }

  .partners-carousel-wrapper {
    padding: 15px 0 40px;
  }

  .client-logo-card-modern {
    height: 120px;
    padding: 18px 12px;
    margin: 5px;
    border-radius: 10px;
  }

  .client-logo-card-modern img {
    max-height: 60px;
    filter: grayscale(40%) opacity(0.85);
  }

  .client-logo-card-modern:hover {
    transform: translateY(-5px);
  }

  #partners-carousel .owl-nav,
  #partners-carousel-about .owl-nav {
    padding: 0;
  }

  #partners-carousel .owl-nav button,
  #partners-carousel-about .owl-nav button {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  #partners-carousel .owl-dots,
  #partners-carousel-about .owl-dots {
    margin-top: 30px;
  }
}

@media (max-width: 576px) {
  .partners-section-modern {
    padding: 40px 0;
  }

  .partners-carousel-wrapper {
    padding: 10px 0 35px;
  }

  .client-logo-card-modern {
    height: 100px;
    padding: 15px 10px;
    margin: 3px;
    border-radius: 8px;
  }

  .client-logo-card-modern img {
    max-height: 50px;
  }

  .client-logo-card-modern:hover {
    transform: translateY(-4px);
  }

  #partners-carousel .owl-nav button,
  #partners-carousel-about .owl-nav button {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }

  #partners-carousel .owl-dots,
  #partners-carousel-about .owl-dots {
    margin-top: 25px;
    gap: 6px;
  }

  #partners-carousel .owl-dots button,
  #partners-carousel-about .owl-dots button {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }

  #partners-carousel .owl-dots button.active,
  #partners-carousel-about .owl-dots button.active {
    width: 24px;
  }
}

/* Smooth fade-in animation for carousel items */
#partners-carousel .owl-item,
#partners-carousel-about .owl-item {
  opacity: 0;
  transition: opacity 0.4s ease;
}

#partners-carousel .owl-item.active,
#partners-carousel-about .owl-item.active {
  opacity: 1;
}

/* ==============================================
FAQ Accordion Styles - Modern Two Column Layout
=============================================== */

.faq-accordion-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
  padding: 20px 0;
}

.faq-accordion-item {
  background: #ffffff;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
  height: fit-content;
}

.faq-accordion-item:hover {
  box-shadow: 0 8px 25px rgba(12, 76, 163, 0.12);
  transform: translateY(-2px);
}

.faq-question {
  width: 100%;
  padding: 22px 25px;
  background: #ffffff;
  border: none;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  transition: all 0.3s ease;
  font-family: "Montserrat", sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: #232135;
  position: relative;
  border-left: 4px solid transparent;
}

.faq-question:hover {
  background: linear-gradient(135deg, rgba(12, 76, 163, 0.03) 0%, rgba(254, 135, 4, 0.03) 100%);
  border-left-color: var(--color-secondary, #fe8704);
}

.faq-question.active {
  background: linear-gradient(135deg, rgba(12, 76, 163, 0.05) 0%, rgba(254, 135, 4, 0.05) 100%);
  color: var(--color-primary, #0C4CA3);
  border-left-color: var(--color-secondary, #fe8704);
}

.faq-question-text {
  flex: 1;
  padding-right: 15px;
  line-height: 1.5;
}

.faq-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  background: linear-gradient(135deg, var(--color-primary, #0C4CA3) 0%, #1a5fc9 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: #fff;
  transition: all 0.3s ease;
  flex-shrink: 0;
  margin-top: 2px;
}

.faq-question:hover .faq-icon {
  background: linear-gradient(135deg, var(--color-secondary, #fe8704) 0%, #ff9a2e 100%);
}

.faq-question.active .faq-icon {
  background: linear-gradient(135deg, var(--color-secondary, #fe8704) 0%, #ff9a2e 100%);
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  background: #ffffff;
  border-top: 1px solid transparent;
}

.faq-answer.open {
  max-height: 1000px;
  padding: 0 25px 22px 25px;
  border-top-color: rgba(0, 0, 0, 0.05);
}

.faq-answer-content {
  padding-top: 18px;
  padding-left: 10px;
  border-left: 2px solid var(--color-secondary, #fe8704);
}

.faq-answer-content p {
  margin: 0;
  color: #555;
  line-height: 1.75;
  font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .faq-accordion-wrapper {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 768px) {
  .faq-accordion-wrapper {
    padding: 15px 0;
  }

  .faq-question {
    padding: 18px 20px;
    font-size: 0.9rem;
  }

  .faq-question-text {
    padding-right: 12px;
  }

  .faq-icon {
    width: 26px;
    height: 26px;
    min-width: 26px;
    font-size: 0.8rem;
  }

  .faq-answer.open {
    padding: 0 20px 18px 20px;
  }

  .faq-answer-content {
    padding-top: 15px;
    padding-left: 8px;
  }

  .faq-answer-content p {
    font-size: 0.85rem;
  }
}

@media (max-width: 576px) {
  .faq-question {
    padding: 15px 18px;
    font-size: 0.88rem;
  }

  .faq-question-text {
    padding-right: 10px;
  }

  .faq-answer.open {
    padding: 0 18px 15px 18px;
  }

  .faq-answer-content {
    padding-top: 12px;
  }
}