/* Main Content Styles */
.main-content {
  background: #ffffff;
}

/* Features Section */
.features-section {
  padding: 80px 0 0 0;
  /* background: #ffffff; */
    background: linear-gradient(to right, #FFFFFF, #E9F4FF );
  
  position: relative;
  overflow: hidden;
}

/* .features-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(67,24,209,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
  z-index: 1;
} */

.features-header {
  position: relative;
   margin-bottom: 70px;
  z-index: 2;
  animation: fadeInUp 1s ease-out;
}

/* Background Image Styling */
.overlap-group-wrapper {
  position: relative;
  width: 710px;
  height: 154px;
  margin: 0 auto;
}

.overlap-group {
  position: relative;
  width: 1236px;
  height: 344px;
  top: -102px;
  left: -254px;
  background-image: url(../img/frame-27.svg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.frame-9 {
  position: relative;
  width: 710px;
  height: 120px;
  top: 134px;
  left: 254px;
  text-align: center;
}

.features-title {
  position: absolute;
  width: 710px;
  top: -1px;
  left: 0;
  font-family: "Inter", Helvetica;
  font-weight: 700;
  color: #0f172a;
  font-size: 40px;
  text-align: center;
  letter-spacing: 0;
  line-height: 60px;
  white-space: nowrap;
  margin: 0;
}

.features-subtitle {
  position: absolute;
  width: 564px;
  top: 65px;
  left: 64px;
  font-family: "Poppins", Helvetica;
  font-weight: 400;
  color: #64748b;
  font-size: 18px;
  text-align: center;
  letter-spacing: 0;
  line-height: 27px;
  margin: 0;
}

/* Feature Cards - Updated to match image exactly */
.feature-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  text-align: left;
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  height: 100%;
  animation: fadeInUp 1s ease-out;
  margin-bottom: 2rem;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: #4318d1;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: #4318d1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
  position: relative;
  top: 0;
  left: 0;
}

.feature-icon i {
  font-size: 1.25rem;
  color: #ffffff;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: #3a15b8;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
  font-family: "Inter", Helvetica;
  line-height: 1.4;
}

.feature-description {
  color: #64748b;
  line-height: 1.5;
  font-size: 0.95rem;
  font-family: "Poppins", Helvetica;
  font-weight: 400;
  margin: 0;
}

/* How It Works Section */
.how-it-works-section {
    padding: 80px 0;
    /* background: linear-gradient(180deg, rgba(239, 236, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%); */
    background: linear-gradient(to right, #FFFFFF, #E9F4FF );

  }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 3rem;
    animation: fadeInLeft 1s ease-out;
}

.steps-list {
    position: relative;
    padding-left: 0;
}

/* Remove the vertical line from the previous style */
.steps-list::before {
    display: none; 
}

.step-item {
    margin-bottom: 1rem;
    background: #E9F4FF;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-item:hover {
    background: #E9F4FF;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    position: relative;
}

.step-header[aria-expanded="true"] .step-icon i {
    transform: rotate(45deg); /* Rotates the + icon to look like an X or - */
}

.step-content {
    padding-right: 20px; /* Space for the icon */
}

.step-title {
    font-size: 1.2rem;
    font-weight: 500;
    color: #0f172a;
    margin: 0;
}

.step-description {
    color: #64748b;
    line-height: 1.6;
    margin-top: 10px;
    /* padding: 0 1.5rem 1.5rem 1.5rem; */
}

.step-icon {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #4318d1, #6366f1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.step-icon i {
    font-size: 0.75em;
    color: #ffffff;
    transition: transform 0.3s ease;
}

.how-it-works-image {
    padding-top: 0; /* Remove padding to align image with text top */
    animation: none;
    position: relative;
    /* Add a semi-transparent blue overlay */
    background: linear-gradient(180deg, rgba(239, 236, 255, 0.7) 0%, rgba(255, 255, 255, 0) 100%);
    border-radius: 16px;
    overflow: hidden;
    margin-top: 34px
}

.how-it-works-image img {
    border-radius: 16px;
    box-shadow: none; /* Remove box shadow from the image itself */
    width: 100%;
    height: auto;
    display: block;
}

/* Testimonials Section */
.testimonials-section {
  padding: 80px 0;
  background: #f8fafc;
}

.testimonial-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  height: 100%;
  transition: all 0.3s ease;
  animation: fadeInUp 1s ease-out;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.testimonial-content {
  margin-bottom: 1.5rem;
}

.testimonial-content p {
  font-size: 1.1rem;
  color: #64748b;
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author h5 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin-bottom: 0.25rem;
}

.testimonial-author span {
  color: #64748b;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .features-title {
    font-size: 2.5rem;
    line-height: 50px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .overlap-group-wrapper {
    width: 600px;
  }
  
  .overlap-group {
    width: 1000px;
    left: -200px;
  }
  
  .frame-9 {
    width: 600px;
    left: 200px;
  }
  
  .features-title {
    width: 600px;
    font-size: 36px;
    line-height: 48px;
  }
  
  .features-subtitle {
    width: 480px;
    left: 60px;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .feature-title {
    font-size: 1.1rem;
  }
  
  .feature-description {
    font-size: 0.9rem;
  }
}

@media (max-width: 992px) {
  .features-section,
  .how-it-works-section,
  .testimonials-section {
    padding: 60px 0;
  }
  
  .features-title {
    font-size: 2rem;
    line-height: 40px;
  }
  
  .features-subtitle {
    font-size: 1.1rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .overlap-group-wrapper {
    width: 500px;
  }
  
  .overlap-group {
    width: 800px;
    left: -150px;
  }
  
  .frame-9 {
    width: 500px;
    left: 150px;
  }
  
  .features-title {
    width: 500px;
    font-size: 32px;
    line-height: 40px;
  }
  
  .features-subtitle {
    width: 400px;
    left: 50px;
  }
  
  .how-it-works-image {
    margin-top: 2rem;
  }
  
  .feature-card {
    padding: 1.25rem;
  }
  
  .feature-icon {
    width: 40px;
    height: 40px;
  }
  
  .feature-icon i {
    font-size: 1rem;
  }
  
  .feature-title {
    font-size: 1rem;
  }
  
  .feature-description {
    font-size: 0.85rem;
  }
}

@media (max-width: 768px) {
  .features-section,
  .how-it-works-section,
  .testimonials-section {
    padding: 40px 0;
  }
  
  .features-title {
    font-size: 1.75rem;
    line-height: 36px;
  }
  
  .features-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .overlap-group-wrapper {
    width: 100%;
    max-width: 400px;
  }
  
  .overlap-group {
    width: 600px;
    left: -100px;
  }
  
  .frame-9 {
    width: 400px;
    left: 100px;
  }
  
  .features-title {
    width: 400px;
    font-size: 28px;
    line-height: 36px;
  }
  
  .features-subtitle {
    width: 320px;
    left: 40px;
    font-size: 16px;
  }
  
  .feature-card {
    padding: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .feature-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 0.75rem;
  }
  
  .feature-icon i {
    font-size: 0.9rem;
  }
  
  .feature-title {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
  
  .feature-description {
    font-size: 0.8rem;
  }
  
  .step-item {
    padding: 1rem;
  }
  
  .step-icon {
    width: 50px;
    height: 50px;
    margin-right: 1rem;
  }
  
  .step-icon i {
    font-size: 1.25rem;
  }
  
  .step-content h4 {
    font-size: 1.1rem;
  }
  
  .testimonial-card {
    padding: 1.5rem;
  }
  
  .testimonial-content p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .features-title {
    font-size: 1.5rem;
    line-height: 32px;
  }
  
  .features-subtitle {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.25rem;
  }
  
  .overlap-group-wrapper {
    width: 100%;
    max-width: 300px;
  }
  
  .overlap-group {
    width: 400px;
    left: -50px;
  }
  
  .frame-9 {
    width: 300px;
    left: 50px;
  }
  
  .features-title {
    width: 300px;
    font-size: 24px;
    line-height: 32px;
  }
  
  .features-subtitle {
    width: 250px;
    left: 25px;
    font-size: 14px;
  }
  
  .feature-card {
    padding: 0.75rem;
    margin-bottom: 1rem;
  }
  
  .feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 0.5rem;
  }
  
  .feature-icon i {
    font-size: 0.8rem;
  }
  
  .feature-title {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }
  
  .feature-description {
    font-size: 0.75rem;
  }
  
  .step-item {
    flex-direction: column;
    text-align: center;
  }
  
  .step-icon {
    margin: 0 auto 1rem;
  }
  
  .testimonial-card {
    padding: 1rem;
  }
  
  .testimonial-content p {
    font-size: 0.9rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Hover Effects */
.feature-card,
.step-item,
.testimonial-card {
  transition: all 0.3s ease;
}

.feature-icon {
  transition: all 0.3s ease;
} 