/* ===================================
   Modern Section Styles
   Channel Partners, About, Deal sections
   =================================== */

/* ============ Featured In / Channel Partners Section ============ */
.featured-in-section {
  background: #10182b;
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}

.featured-in-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(15, 36, 129, 0.1) 0%, transparent 50%, rgba(53, 84, 209, 0.1) 100%);
  pointer-events: none;
}

.featured-in-section h2 {
  color: #fff;
  text-align: center;
  font-weight: 700;
  margin-bottom: 40px;
  letter-spacing: 0.5px;
  font-size: 2rem;
  position: relative;
  z-index: 1;
}

.featured-logos-slider {
  overflow: hidden;
  position: relative;
}

.logos-track {
  gap: 48px;
  animation: scroll-logos 20s linear infinite;
}

.logos-track img {
  height: auto;
  max-height: 48px;
  background: #fff;
  padding: 4px 12px;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.logos-track img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

/* ============ About Section ============ */
.about_section {
  background: #ffffff;
  padding: 64px 0;
}

.about_section .square-box {
  width: 80px;
  opacity: 1;
}

.about_section .img-box {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(15, 36, 129, 0.15);
  position: relative;
}

.about_section .img-box::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 36, 129, 0.05), transparent);
  pointer-events: none;
}

.about_section .img-box video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 16px;
}

.about_section .detail-box {
  padding-left: 40px;
}

.about_section .detail-box h2 {
  font-size: 2.5rem;
  color: #0f2481;
  margin-bottom: 24px;
  font-weight: 800;
}

.about_section .detail-box p {
  color: #444;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 16px;
}

.about_section .detail-box a {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 32px;
  background: linear-gradient(135deg, #0f2481, #3554d1);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(15, 36, 129, 0.3);
}

.about_section .detail-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 36, 129, 0.4);
  color: white;
}

/* ============ Deal Section (Why Invest) ============ */
.deal_section {
  background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
  padding: 64px 0;
}

.deal_section .detail-box h2 {
  font-size: 2.2rem;
  color: #0f2481;
  font-weight: 800;
  margin-bottom: 24px;
  line-height: 1.3;
}

.deal_section .detail-box p {
  color: #444;
  line-height: 1.8;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.deal_section .detail-box a {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, #0f2481, #3554d1);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(15, 36, 129, 0.3);
  margin-top: 16px;
}

.deal_section .detail-box a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 36, 129, 0.4);
  color: white;
}

.deal_section .img-box {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.deal_section .img-box .box {
  flex: 1;
  min-width: 280px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 36, 129, 0.12);
  transition: all 0.3s ease;
}

.deal_section .img-box .box:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(15, 36, 129, 0.18);
}

.deal_section .img-box img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.5s ease;
}

.deal_section .img-box .box:hover img {
  transform: scale(1.05);
}

/* ============ Modal Styles ============ */
.modal-content {
  border-radius: 16px;
  border: none;
  box-shadow: 0 20px 60px rgba(15, 36, 129, 0.3);
}

.modal-header {
  border-bottom: 2px solid #e6eaf3;
  padding: 24px 28px;
  background: linear-gradient(135deg, #f8f9ff 0%, #ffffff 100%);
  border-radius: 16px 16px 0 0;
}

.modal-title {
  font-weight: 700;
  color: #0f2481;
  font-size: 1.5rem;
}

.modal-header .close {
  outline: none;
  font-size: 2rem;
  color: #0f2481;
  opacity: 0.7;
  transition: all 0.3s ease;
  padding: 0;
  margin: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.modal-header .close:hover {
  opacity: 1;
  background: rgba(15, 36, 129, 0.1);
  transform: rotate(90deg);
}

.modal-body {
  padding: 28px;
  max-height: 65vh;
  overflow-y: auto;
  color: #444;
  line-height: 1.7;
}

.modal-body p {
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.modal-body ul {
  padding-left: 20px;
  margin-top: 20px;
}

.modal-body li {
  margin-bottom: 12px;
  line-height: 1.6;
  color: #444;
}

.modal-body li i {
  margin-right: 12px;
  color: #3554d1;
  font-size: 1.1em;
}

.modal-body strong {
  color: #0f2481;
  font-weight: 700;
}

/* Modal Scrollbar */
.modal-body::-webkit-scrollbar {
  width: 8px;
}

.modal-body::-webkit-scrollbar-track {
  background: #f0f4ff;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb {
  background: #3554d1;
  border-radius: 4px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
  background: #0f2481;
}

/* ============ Responsive Styles ============ */
@media (max-width: 768px) {
  .featured-in-section h2 {
    font-size: 1.5rem;
  }

  .logos-track {
    gap: 32px;
  }

  .about_section .detail-box {
    padding-left: 0;
    margin-top: 32px;
  }

  .about_section .detail-box h2,
  .deal_section .detail-box h2 {
    font-size: 1.8rem;
  }

  .deal_section .img-box {
    margin-top: 32px;
  }

  .deal_section .img-box .box {
    min-width: 100%;
  }

  .modal-header {
    padding: 20px;
  }

  .modal-body {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .about_section,
  .deal_section {
    padding: 48px 0;
  }

  .featured-in-section {
    padding: 36px 0;
  }

  .featured-in-section h2 {
    font-size: 1.3rem;
    margin-bottom: 28px;
  }
}
