:root {
  --primary-color: #3498db;
  --secondary-color: #2c3e50;
  --light-color: #f0f2f5;
  --text-color: #333;
  --white: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

html, body {
  width: 100%;
  height: 100%;
}

body {
  color: var(--text-color);
  line-height: 1.5;
  background-image: url('/img/bg.png');
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 100vh;
  background-color: var(--light-color);
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.box {
  background-color: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid #eaeaea;
  margin: 20px auto;
  max-width: 1200px;
  width: calc(100% - 40px);
}

/* Header styling */
header {
  background-color: transparent;
  padding: 40px 0 60px;
}

.header-content {
  width: 50%;
  text-align: left;
}

.main-title {
  font-size: 42px;
  color: var(--white);
  margin-bottom: 15px;
  line-height: 1.2;
  word-wrap: break-word;
}

.subtitle {
  font-size: 22px;
  color: var(--white);
  margin-bottom: 5px;
  font-weight: 600;
  line-height: 1.3;
}

.tagline {
  font-size: 18px;
  color: var(--white);
  margin-bottom: 25px;
  line-height: 1.4;
}

.highlight {
  color: var(--primary-color);
  font-weight: bold;
}

.cta-button {
  background: linear-gradient(90deg, #2aa85b 0%, #2d71b0 50%, #2f42f9 100%);
  color: var(--white);
  border: none;
  padding: 18px 45px;
  font-size: 20px;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(42, 123, 200, 0.3);
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  background: linear-gradient(90deg, #2aa85b 0%, #2d71b0 50%, #2f42f9 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(42, 123, 200, 0.4);
}
.cta-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(42, 123, 200, 0.3);
}
.cta-button::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}
.cta-button:hover::after {
  left: 100%;
}
.stats {
  font-size: 16px;
  color: var(--white);
  display: inline-block;
  padding: 0px 20px;
}

/* How It Works section */
.how-it-works {
  padding: 20px 0;
  background-color: transparent;
}

.section-title {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 50px;
  font-weight: 700;
  text-align: center;
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.step {
  text-align: center;
  transition: var(--transition);
}

.step:hover {
  transform: translateY(-5px);
}

.step-number {
  width: 70px;
  height: 70px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 900;
  margin: 0 auto 20px;
  box-shadow: 0 4px 10px rgba(52, 152, 219, 0.3);
}

.step img {
  height: 40px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.step-title {
  margin-top: 10px;
  word-wrap: break-word;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.step-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.step-line {
  border-bottom: 2px dashed #ccc;
  padding-bottom: 40px;
}

/* Features section */
.features {
  padding: 20px 0;
  background-color: transparent;
}

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

.feature {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 30px;
  margin-bottom: 30px;
  transition: var(--transition);
  border: 1px solid rgba(234, 234, 234, 0.5);
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.feature-icon {
  flex-shrink: 0;
  margin-right: 20px;
}

.feature-icon img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.feature-content {
  flex-grow: 1;
}

.feature-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.feature-desc {
  color: #7f8c8d;
  font-size: 16px;
  line-height: 1.6;
}

/* Testimonials section */
.testimonials {
  padding: 20px 0;
  background-color: transparent;
}

.testimonials-title {
  text-align: center;
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 50px;
  font-weight: 700;
}

.testimonial-slider-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 8px;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  flex: 0 0 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  padding: 0 10px;
  box-sizing: border-box;
}

.testimonial-item {
  display: flex;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 25px;
    border: 1px solid rgba(234, 234, 234, 0.5);
    height: 100%;
    min-height: 220px;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.testimonial-avatar {
    width: 80px; 
    height: 80px;
    border-radius: 50%; 
    overflow: hidden;
    margin-bottom: 15px;
    border: 3px solid var(--primary-color); 
    flex-shrink: 0; 
    align-self: center; 
}
.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
.testimonial-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    text-align: center; 
    position: relative;
    flex-grow: 1;
    padding: 15px;
    border-radius: 8px;
    background-color: rgba(240, 242, 245, 0.5); 
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: center; 
    margin-bottom: 15px;
    text-align: center; 
}

.user-details {
    display: flex;
    flex-direction: column;
    align-items: center; 
}

.user-name {
    font-weight: bold;
    color: var(--secondary-color);
    font-size: 18px; 
    margin-bottom: 5px;
}

.user-age-location {
    color: #7f8c8d;
    font-size: 14px;
    font-weight: 500; 
}

/* Slider navigation */
.slider-nav {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  margin: 0 8px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.slider-dot.active {
  background-color: var(--primary-color);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.9);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  color: var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  z-index: 10;
}

.slider-arrow:hover {
  background-color: var(--white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slider-arrow.prev {
  left: 10px;
}

.slider-arrow.next {
  right: 10px;
}

/* FAQ section */
.faq {
  padding: 20px 0;
  background-color: transparent;
}

.faq-title {
  text-align: center;
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 50px;
  font-weight: 700;
}

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

.faq-item {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
  border: 1px solid rgba(52, 152, 219, 0.2);
}

.faq-item:hover {
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.faq-question {
  padding: 20px;
  font-weight: bold;
  font-size: 18px;
  color: var(--secondary-color);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(240, 242, 245, 0.8);
}

.faq-question i {
  transition: var(--transition);
}

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

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #7f8c8d;
  font-size: 16px;
}

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

/* Bottom CTA */
.bottom-cta {
  padding: 40px 0 20px;
  text-align: center;
  background-color: transparent;
}

.bottom-cta-title {
  font-size: 36px;
  color: #ffffff;
  margin-bottom: 20px;
  font-weight: 700;
}

.bottom-cta-subtitle {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 30px;
}

/* Footer */
footer {
  padding: 20px 0 45px;
  text-align: center;
  font-size: 14px;
  color: var(--white);
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
  margin-bottom: 20px;
}

.footer-links a {
  color: #ecf0f1;
  text-decoration: none;
  font-size: 14px;
}

.footer-links a:hover {
  text-decoration: underline;
}



@media (max-width: 1200px) {
  .container {
    max-width: 960px;
  }
  
  .main-title {
    font-size: 38px;
  }
  
  .section-title, .testimonials-title, .faq-title, .bottom-cta-title {
    font-size: 32px;
  }
}

@media (max-width: 992px) {
  .container {
    max-width: 720px;
  }
  
  .main-title {
    font-size: 32px;
  }
  
  .subtitle {
    font-size: 20px;
  }
  
  .section-title, .testimonials-title, .faq-title, .bottom-cta-title {
    font-size: 28px;
    margin-bottom: 40px;
  }
  
  .step-number {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }
  
  .step-title {
    font-size: 18px;
  }
  
  .testimonial-item {
    padding: 20px;
    min-height: 200px;
  }
  
  .testimonial-text {
    font-size: 15px;
  }
  
  .cta-button {
    padding: 16px 40px;
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .container {
    max-width: 540px;
  }
  
  header {
    padding: 30px 0 20px;
  }
  
  .main-title {
    font-size: 28px;
  }
  
  .subtitle {
    font-size: 18px;
  }
  
  .section-title, .testimonials-title, .faq-title, .bottom-cta-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  

  .steps-container {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .feature {
    flex-direction: column;
    text-align: center;
  }
  
  .feature-icon {
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .testimonial-slide {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .testimonial-item {
    min-height: 180px;
  }
.testimonial-avatar {
        width: 70px;
        height: 70px;
    }
    .user-name {
        font-size: 16px;
    }
        .testimonial-text {
        font-size: 15px;
        padding: 12px;
    }
  .cta-button {
    padding: 14px 35px;
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .container {
    padding: 0 20px;
  }
  
  .header-content {
    width: 100%;
  }
  
  .main-title {
    font-size: 24px;
  }
  
  .section-title, .testimonials-title, .faq-title, .bottom-cta-title {
    font-size: 22px;
    margin-bottom: 25px;
  }
    .testimonial-avatar {
        width: 60px;
        height: 60px;
        border-width: 2px;
    }
        .testimonial-text {
        font-size: 14px;
        padding: 10px;
    }
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
  
  .step-title {
    font-size: 18px;
  }
  
  .feature {
    padding: 20px 15px;
  }
  
  .feature-title {
    font-size: 20px;
  }
  
  .faq-question {
    padding: 16px;
    font-size: 16px;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 15px;
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-content {
    width: 100%;
  }
  
  .main-title {
    font-size: 22px;
  }
  
  .section-title, .testimonials-title, .faq-title, .bottom-cta-title {
    font-size: 20px;
  }
  
  .step-number {
    width: 45px;
    height: 45px;
    font-size: 22px;
  }
  
  .step-title {
    font-size: 16px;
  }
  
  .testimonial-item {
    padding: 15px;
  }
}