/* ===== Hero Section ===== */
.hero-section {
  background: linear-gradient(135deg, #0b1e33, #1e3a8a, #2563eb);
  padding: 180px 0 100px;
  color: white;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 30px;
}

.hero-section h1 span {
  color: #0dcaf0;
}

.hero-section .btn-explore {
  background: linear-gradient(135deg, #0dcaf0, #0a58ca);
  color: white;
  padding: 15px 40px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.hero-section .btn-explore:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px rgba(13, 202, 240, 0.3);
}

.user-avatars {
  display: flex;
  align-items: center;
  margin-top: 30px;
}

.user-avatars img {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 3px solid #0dcaf0;
  margin-left: -10px;
}

.user-avatars img:first-child {
  margin-left: 0;
}

.user-avatars span {
  margin-left: 15px;
  color: rgba(255, 255, 255, 0.9);
}

/* ===== Client Logos Carousel - UPDATED ===== */
.clients-section {
  padding: 60px 0;
  background: white;
  overflow: hidden;
}

.clients-section h4 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 40px;
  font-size: 1.5rem;
  font-weight: 600;
}

.client-carousel {
  position: relative;
  padding: 0 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.client-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
  padding: 10px;
}

.client-slide img {
  max-width: 500px;
  max-height: 200px;
  width: auto;
  height: auto;
  opacity: 0.7;
  transition: all 0.3s;
  object-fit: contain;
}

.client-slide img:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* Hide navigation buttons */
.clientSwiper .swiper-button-next,
.clientSwiper .swiper-button-prev {
  display: none;
}

/* Hide pagination dots */
.clientSwiper .swiper-pagination {
  display: none;
}

/* Auto-scroll only - no visible controls */
.clientSwiper {
  overflow: visible !important;
}

/* ===== Services Section ===== */
.services-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0b1e33, #1e3a8a);
  color: white;
}

.services-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.services-section h2 span {
  color: #0dcaf0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-15px);
  background: rgba(255, 255, 255, 0.15);
  border-color: #0dcaf0;
}

.service-card img {
  width: 80px;
  margin-bottom: 20px;
  align-self: center;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.service-card p {
  opacity: 0.9;
  margin-bottom: 20px;
}

.service-badge {
  display: inline-block;
  padding: 5px 20px;
  background: linear-gradient(135deg, #0dcaf0, #0a58ca);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin: 10px auto;
}

.service-card .btn-link {
  color: white;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.3s;
  margin-top: auto;
}

.service-card .btn-link:hover {
  color: #0dcaf0;
  gap: 10px;
}

/* ===== Community Section ===== */
.community-section {
  padding: 80px 0;
  background: white;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.community-content h2 {
  font-size: 2.5rem;
  color: #1e3a8a;
  margin-bottom: 20px;
}

.community-content p {
  color: #4b5563;
  line-height: 1.8;
  margin-bottom: 30px;
}

.btn-explore {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 600;
  border: none;
  transition: all 0.3s;
  text-decoration: none;
  display: inline-block;
}

.btn-explore:hover {
  background: linear-gradient(135deg, #2563eb, #0dcaf0);
  transform: translateY(-3px);
  color: white;
}

.community-images {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.community-images img {
  width: 100%;
  border-radius: 20px;
  transition: all 0.3s;
}

.community-images img:hover {
  transform: scale(1.05);
}

/* ===== Trading Tools Section ===== */
.tools-section {
  padding: 80px 0;
  background: #f8fafc;
}

.tools-section h2 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 50px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.tool-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
}

.tool-card:hover {
  transform: translateX(10px);
  box-shadow: 0 20px 40px rgba(13, 202, 240, 0.1);
}

.tool-card img {
  width: 60px;
}

.tool-card h4 {
  color: #1e3a8a;
  margin-bottom: 5px;
}

.tool-card p {
  color: #6b7280;
  margin: 0;
}

.tool-card a {
  color: #1e3a8a;
  transition: all 0.3s;
}

.tool-card a:hover {
  color: #0dcaf0;
  transform: translateX(5px);
}

/* ===== Stats Section ===== */
.stats-section {
  padding: 60px 0;
  background: linear-gradient(135deg, #0b1e33, #1e3a8a);
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-item .number {
  font-size: 3rem;
  font-weight: 700;
  color: #0dcaf0;
}

.stat-item .label {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* ===== Courses Section with Categories ===== */
.courses-section {
  padding: 80px 0;
  background: white;
}

.courses-section h2 {
  color: #1e3a8a;
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.courses-section h2 span {
  color: #0dcaf0;
}

.section-subtitle {
  text-align: center;
  color: #6b7280;
  margin-bottom: 40px;
}

/* Category Tabs */
.category-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.category-btn {
  padding: 12px 35px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  font-weight: 600;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.3s;
}

.category-btn:hover {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  transform: translateY(-2px);
}

.category-btn.active {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  border-color: transparent;
  box-shadow: 0 10px 20px rgba(13, 202, 240, 0.2);
}

/* Courses Grid */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.course-card {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
  border: 1px solid rgba(30, 58, 138, 0.1);
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(13, 202, 240, 0.15);
}

.course-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #0dcaf0, #0a58ca);
  color: white;
  padding: 5px 15px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.course-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.course-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s;
}

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

.course-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent, rgba(11, 30, 51, 0.5));
}

.course-content {
  padding: 25px;
}

.course-content h3 {
  color: #1e3a8a;
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.course-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 15px;
  color: #6b7280;
  font-size: 0.9rem;
}

.course-meta i {
  color: #0dcaf0;
  margin-right: 5px;
}

.course-description {
  color: #4b5563;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e3a8a;
}

.course-price span {
  font-size: 0.9rem;
  color: #6b7280;
  font-weight: 400;
}

.btn-buy {
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-buy:hover {
  background: linear-gradient(135deg, #2563eb, #0dcaf0);
  transform: translateX(3px);
  color: white;
}

/* ===== Testimonials Carousel Section ===== */
.testimonials-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #0b1e33, #1e3a8a);
  color: white;
  overflow: hidden;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.testimonials-section h2 span {
  color: #0dcaf0;
}

.testimonials-section > .container > p {
  text-align: center;
  margin-bottom: 50px;
  color: rgba(255, 255, 255, 0.9);
}

.testimonials-carousel {
  position: relative;
  padding: 0 40px;
}

.testimonial-slide {
  padding: 10px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.3s;
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.15);
}

.testimonial-card .rating {
  color: #ffc107;
  margin-bottom: 15px;
}

.testimonial-card p {
  line-height: 1.8;
  margin-bottom: 20px;
  opacity: 0.9;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author h5 {
  margin: 0;
  color: white;
}

.testimonial-author span {
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Testimonials Navigation */
.testimonials-section .swiper-button-next,
.testimonials-section .swiper-button-prev {
  color: #0dcaf0;
  background: rgba(255, 255, 255, 0.2);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  transition: all 0.3s;
}

.testimonials-section .swiper-button-next:hover,
.testimonials-section .swiper-button-prev:hover {
  background: #0dcaf0;
  color: white;
}

.testimonials-section .swiper-pagination-bullet {
  background: white;
  opacity: 0.5;
}

.testimonials-section .swiper-pagination-bullet-active {
  background: #0dcaf0;
  opacity: 1;
}

/* ===== Blog Section ===== */
.blog-section {
  padding: 80px 0;
  background: white;
}

.blog-section h2 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 50px;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-card {
  background: #f8fafc;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s;
}

.blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(13, 202, 240, 0.1);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-content h3 {
  font-size: 1.3rem;
  color: #1e3a8a;
  margin-bottom: 10px;
}

.blog-meta {
  display: flex;
  gap: 20px;
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.blog-meta i {
  color: #0dcaf0;
  margin-right: 5px;
}

.blog-content p {
  color: #4b5563;
  line-height: 1.6;
}

/* ===== FAQ Accordion Section ===== */
.faq-section {
  padding: 80px 0;
  background: #f8fafc;
}

.faq-section h2 {
  color: #1e3a8a;
  text-align: center;
  margin-bottom: 10px;
}

.faq-section .lead {
  text-align: center;
  color: #6b7280;
  margin-bottom: 50px;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: white;
  border-radius: 15px;
  margin-bottom: 15px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item:hover {
  border-color: #0dcaf0;
  box-shadow: 0 5px 20px rgba(13, 202, 240, 0.1);
}

.faq-question {
  padding: 20px 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s;
}

.faq-question h4 {
  color: #1e3a8a;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.faq-question i {
  color: #0dcaf0;
  transition: transform 0.3s;
  font-size: 1.2rem;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease-out,
    padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px 25px;
  max-height: 200px;
}

.faq-answer p {
  color: #4b5563;
  margin: 0;
  line-height: 1.7;
}

.btn-faq {
  display: inline-block;
  margin-top: 40px;
  padding: 15px 50px;
  background: linear-gradient(135deg, #1e3a8a, #2563eb);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-faq:hover {
  background: linear-gradient(135deg, #2563eb, #0dcaf0);
  transform: translateY(-3px);
  color: white;
}

/* ===== Footer Contact & Legal Styles ===== */
.contact-details-footer {
  margin-bottom: 25px;
  padding-bottom: 20px;
}

.contact-details-footer h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  position: relative;
}

.contact-details-footer h4::after {
  content: "";
  width: 35px;
  height: 3px;
  background: #0dcaf0;
  position: absolute;
  bottom: -8px;
  left: 0;
}

.contact-item-footer {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  transition: all 0.3s;
}

.contact-item-footer:hover {
  transform: translateX(5px);
}

.contact-item-footer i {
  width: 35px;
  height: 35px;
  background: rgba(13, 202, 240, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0dcaf0;
  font-size: 1rem;
  transition: all 0.3s;
}

.contact-item-footer:hover i {
  background: #0dcaf0;
  color: #0b1e33;
}

.contact-item-footer div p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-item-footer div p:first-child {
  margin-bottom: 3px;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .courses-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .client-slide img {
    max-width: 200px;
    max-height: 150px;
  }
}

@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2.5rem;
  }

  .community-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .courses-grid {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .client-carousel,
  .testimonials-carousel {
    padding: 0 20px;
  }

  .faq-question h4 {
    font-size: 1rem;
  }

  .clients-section {
    padding: 60px 0;
  }

  .clients-section h4 {
    font-size: 1.3rem;
    margin-bottom: 30px;
  }

  .client-slide {
    height: 100px;
  }

  .client-slide img {
    max-width: 300px;
    max-height: 150px;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }

  .client-slide {
    height: 200px;
  }

  .client-slide img {
    max-width: 250px;
    max-height: 200px;
  }
}
