/* Updated styles for improved sizing & alignment */
.get-started-section {
  background: #f8faff;
  padding: 70px 0;
  font-family: 'Poppins', sans-serif;
  color: #222;
  box-sizing: border-box;
}

.get-started-section .container {
  max-width: 1200px;
  margin: auto;
  padding: 0 20px;
}

.get-started-section .content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.form-container {
  flex: 1 1 520px;
  animation: slideInLeft 0.9s ease;
  min-width: 300px;
}

.form-container h2 {
  font-size: 30px;
  margin-bottom: 12px;
}

.form-container h2 span {
  color: #007bff;
}

.subtitle {
  font-size: 17px;
  margin-bottom: 18px;
  color: #555;
  line-height: 1.35;
}

.highlight { color:#007bff; font-weight:600; }

.quote {
  font-style: italic;
  color: #333;
  margin-bottom: 18px;
  background: #e9f2ff;
  padding: 10px 14px;
  border-left: 4px solid #007bff;
  border-radius: 6px;
  font-size: 20px;
}

/* Form inputs */
.register-form input,
.register-form select {
  width: 100%;
  padding: 10px 12px;     /* slightly reduced padding */
  margin-bottom: 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 15px;
  outline: none;
  transition: 0.18s;
  box-sizing: border-box;
  height: 44px;
  line-height: 1;
}

.register-form input:focus,
.register-form select:focus {
  border-color: #007bff;
  box-shadow: 0 0 8px rgba(0, 123, 255, 0.12);
}

/* Phone field: fixed width for country, flexible phone input */
.phone-field {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.country-select {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #ccc;
  padding: 6px 8px;
  border-radius: 6px;
  background: #fff;
  flex: 0 0 110px;           /* fixed width so phone input doesn't get huge */
  height: 44px;
  box-sizing: border-box;
}

.country-select img {
  width: 20px;
  height: 14px;
  display: block;
}

.country-select select {
  border: none;
  outline: none;
  background: transparent;
  font-size: 14px;
  height: 100%;
  -webkit-appearance: none;
  appearance: none;
}

/* make the phone input vertically aligned with country select */
.phone-field input[type="tel"] {
  flex: 1 1 auto;
  padding: 10px 12px;
}

/* Checkbox alignment and sizing */
.register-form input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  vertical-align: middle;
  accent-color: #007bff; /* modern browsers will color the checkbox */
}

.small-checkbox,
.checkbox-field {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  margin: 0 0 14px 0;
}

/* ensure labels wrap properly and align */
.small-checkbox label,
.checkbox-field label {
  margin: 0;
  color: #555;
  line-height: 1.2;
}

/* Terms link */
.checkbox-field a {
  color: #007bff;
  text-decoration: none;
}

/* Button: smaller on desktop, full width on small screens */
.btn {
  background: #007bff;
  color: #fff;
  border: none;
  padding: 10px 18px;
  font-size: 15px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-block;
  width: auto;               /* no longer full width */
  max-width: 220px;         /* smaller button */
  transition: 0.22s;
  text-align:center;
}

.btn:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* Right Side Image */
.image-container {
  flex: 1 1 420px;
  text-align: center;
  animation: slideInRight 0.9s ease;
}

.image-container img {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* Animations */
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .get-started-section .content {
    flex-direction: column;
    text-align: center;
  }

  .form-container, .image-container {
    width: 100%;
    animation: none;
  }

  .phone-field { justify-content: center; }

  /* Button full width on mobile */
  .btn {
    display: block;
    width: 100%;
    max-width: none;
    margin-top: 6px;
  }

  .checkbox-field, .small-checkbox {
    justify-content: center;
  }
}

/* Section Styling */
.how-it-works {
  background: linear-gradient(135deg, #f8faff 0%, #e9f2ff 100%);
  padding: 80px 0;
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.section-header {
  max-width: 750px;
  margin: 0 auto 50px;
}

.section-header h2 {
  font-size: 32px;
  color: #222;
  margin-bottom: 15px;
}

.section-header h2 span {
  color: #007bff;
}

.section-header p {
  color: #555;
  font-size: 16px;
  line-height: 1.6;
}

/* Steps Grid */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 60px;
}

.step-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  animation: fadeInUp 1s ease;
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.step-card .icon {
  width: 70px;
  height: 70px;
  background: #e9f2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: 0.3s;
}

.step-card:hover .icon {
  background: #007bff;
}

.step-card .icon img {
  width: 38px;
  height: 38px;
  transition: 0.3s;
}

.step-card:hover .icon img {
  filter: brightness(0) invert(1);
}

.step-card h4 {
  font-size: 18px;
  color: #222;
  margin-bottom: 10px;
}

.step-card p {
  color: #555;
  font-size: 15px;
  line-height: 1.5;
}

/* CTA Box */
.cta-box {
  text-align: center;
  background: #007bff;
  color: #fff;
  padding: 50px 30px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.2);
  animation: fadeIn 1.2s ease;
}

.cta-box h3 {
  font-size: 26px;
  margin-bottom: 12px;
}

.cta-box p {
  font-size: 16px;
  margin-bottom: 20px;
}

.cta-btn {
  display: inline-block;
  background: #fff;
  color: #007bff;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.cta-btn:hover {
  background: #0056b3;
  color: #fff;
  transform: translateY(-2px);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Responsive */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 26px;
  }
  .cta-box h3 {
    font-size: 22px;
  }
  .cta-btn {
    padding: 10px 22px;
  }
}


/* Testimonials Section */
.testimonials {
  background: linear-gradient(135deg, #f8f9fa, #ffffff);
  overflow: hidden;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: #333;
  position: relative;
  text-align: center;
  display: block;
  margin-bottom: 40px;
}

.section-title::after {
  content: "";
  width: 70px;
  height: 4px;
  background: #007bff;
  position: absolute;
  left: 50%;
  bottom: -12px;
  transform: translateX(-50%);
  border-radius: 5px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-items: center;
}

.testimonial-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  padding: 25px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
  max-width: 340px;
}

.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.1);
}

.testimonial-content p {
  color: #555;
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
}

.testimonial-user {
  display: flex;
  align-items: center;
  margin-top: 20px;
  gap: 12px;
}

.testimonial-user img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  border: 3px solid #007bff;
}

.testimonial-user h5 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #222;
}

.testimonial-user span {
  color: #666;
  font-size: 0.9rem;
}

/* Entrance Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.8rem;
  }
  .testimonial-card {
    padding: 20px;
  }
}


/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #ffffff, #f8f9fa);
  overflow: hidden;
}

.faq-container {
  max-width: 850px;
  margin: 0 auto;
}

.faq-item {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active {
  border-left: 4px solid #007bff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 18px 22px;
  font-weight: 600;
  color: #222;
  background: #fff;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: #f1f5ff;
}

.faq-icon {
  font-size: 22px;
  color: #007bff;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  background: #fafafa;
  padding: 0 22px;
  transition: all 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 15px 22px;
}

.faq-answer p {
  margin: 0;
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Animation on Load */
.faq-item {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

/* Responsive */
@media (max-width: 768px) {
  .faq-question h5 {
    font-size: 1rem;
  }
  .faq-icon {
    font-size: 18px;
  }
}
