/* Index Page - Clean, Simple Styling with Brand Colors */
.main {
  background-color: white;
}

/* Video Section */
.video {
  padding: 3rem 0;
  background-color: white;
}

.video-sub-heading {
  color: #4361ee;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.video-heading {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2d3748;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.text-primary {
  color: #4361ee !important;
}

.video-desc {
  color: #4a5568;
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 1.5rem;
}

.video-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(67, 97, 238, 0.1);
}

.video-frame iframe {
  width: 100%;
  height: 315px;
  border: none;
}

.video-content {
  padding-right: 2rem;
}

.btn-gradient-primary {
  background-color: #4361ee;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-gradient-primary:hover {
  background-color: #3651d4;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(67, 97, 238, 0.2);
}

/* FAQ Section */
.faq {
  background: #293D58;
  padding: 0px 0px;
  color: #fff;
  margin: 0rem;
  background-color: white;
}

.faq .fs-1 {
  color: #2d3748;
  font-weight: 700;
}

.faq .fs-5 {
  color: #4361ee;
  font-weight: 600;
}

.faq small {
  color: #4a5568;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Section Gap */
.section-gap {
  height: 3rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .quick-heading-box::after {
    display: none;
  }

  .section-gap {
    height: 2rem;
  }

  .video .container {
    padding: 1.5rem;
  }

  .video-content {
    padding-right: 0;
    margin-bottom: 2rem;
  }
}

/* Expertise Spotlight Section - Enhanced Design */
.expertise-spotlight-container {
  background-color: white;
  border-top: none;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}

.section-header {
  position: relative;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.75rem;
  text-align: center;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #4361ee, #6384ff);
  border-radius: 2px;
}

.section-subtitle {
  color: #4a5568;
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

/* Spotlight icon decorations */
.section-header:before {
  content: '\f002'; /* magnifying glass */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  font-size: 6rem;
  color: rgba(67, 97, 238, 0.04);
  top: -60px;
  left: 50%;
  transform: translateX(-200px) rotate(-20deg);
  z-index: 0;
}

.section-header:after {
  content: '\f5fc'; /* spotlight */
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  position: absolute;
  font-size: 5rem;
  color: rgba(67, 97, 238, 0.04);
  top: -50px;
  left: 50%;
  transform: translateX(120px) rotate(15deg);
  z-index: 0;
}

.expertise-carousel {
  position: relative;
  margin-bottom: 2rem;
  z-index: 1;
  padding-top: 15px; /* Add padding to prevent cut-off on hover/active */
}

/* Carousel Navigation */
.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  z-index: 10;
  transform: translateY(-50%);
}

.carousel-prev,
.carousel-next {
  position: absolute;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  font-size: 1rem;
  color: #4361ee;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-prev {
  left: -20px;
}

.carousel-next {
  right: -20px;
}

.carousel-prev:hover,
.carousel-next:hover {
  background-color: #4361ee;
  color: white;
  transform: scale(1.1);
}

/* Expertise Cards */
.expertise-cards-wrapper {
  overflow: hidden; /* Hide overflow to show only 3 cards */
  padding: 15px 0;
  position: relative;
}

.expertise-cards {
  display: flex;
  gap: 1.5rem;
  padding: 0 1rem;
  width: 100%;
  transition: transform 0.5s ease;
  justify-content: flex-start; /* Start from the left */
}

.expertise-card {
  background-color: white;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  min-height: 160px;
  flex: 0 0 calc(33.333% - 1rem); /* Each card takes 1/3 of the width minus gap */
  max-width: calc(33.333% - 1rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 1;
}

.expertise-icon {
  font-size: 2rem;
  color: #4361ee;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.expertise-card h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2d3748;
  margin: 0;
  line-height: 1.3;
  transition: all 0.3s ease;
}

.expertise-card.active {
  background-color: #4361ee;
  box-shadow: 0 8px 15px rgba(67, 97, 238, 0.2);
  transform: translateY(-10px);
  z-index: 2; /* Higher z-index for active card */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.expertise-card.active .expertise-icon {
  color: white;
}

.expertise-card.active h3 {
  color: white;
}

.expertise-card:hover:not(.active) {
  transform: translateY(-5px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.08);
  z-index: 2; /* Same z-index on hover as active */
}

/* Redesign expertise details container for two-column layout */
.expertise-details {
  background-color: white;
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* Enhance content layout to fill available space */
.expertise-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}

/* Larger heading and description text */
.expertise-details h4 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  color: #2d3748;
  font-size: 1.8rem; /* Increased font size */
  line-height: 1.3;
}

.expertise-description {
  color: #4a5568;
  line-height: 1.7;
  margin-bottom: 2rem;
  font-size: 1.05rem; /* Slightly larger description text */
}

/* Enhance stats display */
.expertise-stats {
  display: flex;
  gap: 2.5rem; /* Increased gap between stats */
  margin-bottom: 2.5rem; /* More space below stats */
  width: 100%;
}

.stat-item {
  display: flex;
  align-items: center;
  color: #4a5568;
  font-size: 1.05rem; /* Larger stats text */
}

.stat-item i {
  color: #4361ee;
  margin-right: 0.7rem;
  font-size: 1.2rem; /* Larger icons */
}

/* Make price button more prominent */
.expertise-price {
  background: linear-gradient(to right, #4361ee, #6384ff);
  border: none;
  border-radius: 50px;
  padding: 0.8rem 2rem; /* Larger padding */
  font-weight: bold;
  font-size: 1.2rem; /* Larger font size */
  color: white;
  display: inline-block;
  box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
  margin-top: 1rem; /* Add space above button */
  transition: all 0.3s ease;
}

.expertise-price:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(67, 97, 238, 0.3);
}

/* Add additional content styling to fill space */
.expertise-highlights {
  margin: 0 0 2rem;
  padding: 0;
}

.expertise-highlights li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  list-style: none;
  color: #4a5568;
  font-size: 1.05rem;
}

.expertise-highlights li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #4361ee;
  font-weight: bold;
}

/* Right column video styling */
.expertise-video {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  background-color: #000; /* Black background for letterboxing */
}

.expertise-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  object-fit: contain; /* Change from cover to contain to prevent stretching */
}

/* Category Buttons */
.category-buttons {
  margin-top: 3rem;
}

.category-button {
  display: block;
  background-color: white;
  border-radius: 12px;
  text-decoration: none;
  color: #2d3748;
  height: 100%;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.category-content {
  padding: 1.5rem 0.5rem;
  text-align: center;
  font-weight: 500;
  font-size: 0.9rem;
  line-height: 1.3;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
}

.category-content i {
  font-size: 1.5rem;
  color: #4361ee;
}

.category-button:hover {
  background-color: #f8f9fa;
  border-color: #4361ee;
  color: #2d3748;
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05);
}

.browse-all-button {
  display: inline-block;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  margin-top: 1.5rem;
  color: #4361ee;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.browse-all-button:hover {
  background-color: #4361ee;
  border-color: #4361ee;
  color: white;
  box-shadow: 0 4px 10px rgba(67, 97, 238, 0.2);
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .expertise-cards {
    justify-content: center;
  }

  .expertise-card {
    min-width: 180px;
  }

  .expertise-details {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .expertise-video {
    order: -1;
    margin-bottom: 1rem;
  }

  .expertise-content {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .expertise-card {
    min-height: 140px;
    padding: 1.5rem 1rem;
  }

  .expertise-icon {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }

  .expertise-card h3 {
    font-size: 1rem;
  }

  .expertise-details h4 {
    font-size: 1.2rem;
  }

  .expertise-price {
    font-size: 1rem;
    padding: 0.5rem 2rem;
  }

  .category-content {
    padding: 1.2rem 0.5rem;
    font-size: 0.85rem;
  }

  .category-content i {
    font-size: 1.3rem;
  }

  .expertise-details {
    padding: 1.5rem;
  }

  .expertise-stats {
    gap: 1.5rem;
  }
}

@media (max-width: 576px) {
  .expertise-carousel {
    margin: 0 1rem;
  }

  .expertise-card {
    min-height: 120px;
  }

  .expertise-details {
    padding: 1.5rem;
  }
}

/* Improve container consistency */
.container-padding {
  padding: 1rem 0;
}

/* Add these new styles to create boxed sections */

/* Boxed Section Container */
.boxed-section {
  background-color: white;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  margin-bottom: 3rem;
}

/* Video Section - Add box styling */
.video .container {
  background-color: #f0f4ff; /* Subtle blue background */
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.08);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

/* Remove the left accent line from video section */
.video .container::before {
  display: none; /* Remove the left line */
}

/* Expertise Spotlight Section - Add box styling */
.expertise-spotlight-container .container {
  background-color: #f0f4ff; /* Subtle blue background */
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.08);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

/* Remove the left accent line from expertise spotlight container */
.expertise-spotlight-container .container::before {
  display: none; /* Remove the left line */
}

/* Keep expertise cards white for contrast */
.expertise-card {
  background-color: white;
  /* Keep existing styles */
}

/* Keep expertise details white for contrast */
.expertise-details {
  background-color: white;
  /* Keep existing styles */
}

/* FAQ Section - Add box styling */
.faq .container {
  background-color: #f0f4ff; /* Subtle blue background */
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(67, 97, 238, 0.08);
  padding: 1rem;
  position: relative;
  overflow: hidden;
}

/* Remove the left accent line from FAQ container */
.faq .container::before {
  display: none; /* Remove the left line */
}

/* Cards section - Add spacing and consistent styling */
.card {
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.08);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .expertise-spotlight-container .container,
  .faq .container {
    padding: 1rem;
  }
}
