:root {
  --color-primary: #30236b;
  --color-primary-dark: #30236b;
  --color-primary-light: #30236b;
  --color-bg-light: #f9fafb;
  --color-bg-white: #ffffff;
  --color-text-dark: #111827;
  --color-text-medium: #374151;
  --color-text-light: #4b5563;
  --color-border-light: #cbd5e1;
  --color-accent-blue: #30236b;
  --color-accent-blue-dark: #30236b;
}

/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap");

body {
  font-family: "Poppins", sans-serif !important;
  margin: 0;
}

/* ============================= */
/* Hero Section                  */
/* ============================= */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: transparent;
  color: #a9a9a9;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 5rem);
  color: #1e2428;
  line-height: 1.2;
  margin-bottom: 1rem;
  max-width: 90%;
  word-break: break-word;
}
.hero p {
  font-size: clamp(1rem, 2vw, 1.5rem);
  max-width: 40%;
  margin: 0 auto 2rem auto;
  line-height: 1.4;
  color: #303030;
}

/* Buttons */
.hero-buttons .btn {
  padding: 0.9rem 1.2rem;
  border-radius: 30px;
  font-size: clamp(0.9rem, 1.5vw, 1.2rem);
  transition: 0.3s ease;
}
#filled {
  background-color: #30236b;
  color: white;
}
#filled:hover {
  background-color: white;
  color: #30236b;
  border: 1px solid #30236b;
}
#outlined {
  border: 1px solid #30236b;
  color: #30236b;
}
#outlined:hover {
  background-color: #30236b;
  color: white;
}

/* ============================= */
/* Problem Section               */
/* ============================= */
.problem-section {
  padding: 3rem 1rem;
  text-align: center;
  background-color: #f5f5f5;
}
.problem-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 0.5rem;
  color: #1e2428;
  margin-top: 2rem;
  max-width: 80%;
  margin: auto;
}
.problem-section p {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #5f5e60;
  margin: 2rem;
  max-width: 50%;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
  text-justify: inter-word;
}

/* ============================= */
/* App Intro Section             */
/* ============================= */
.app-intro {
  padding: 3rem 1rem;
  background-color: #fff;
  text-align: center;
}
.app-intro h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 1.5rem;
  color: #1e2428;
  margin-top: 2rem;
  max-width: 80%;
  margin: auto;
}
.app-row {
  display: flex;
  flex-wrap: wrap;
  margin: 3rem;
  align-items: center;
}
.app-row.reverse {
  flex-direction: row-reverse;
}
.app-image-col {
  flex: 0 0 66.66%;
  display: flex;
  justify-content: center;
}
.image-wrapper {
  flex: 0 0 75%;
  background-color: #f3f4f6;
  border-radius: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  box-sizing: border-box;
  height: 435px;
}
.image-box {
  flex: 0 0 66.66%;
  height: 100%;
}
.image-box img {
  width: 100%;
  height: 100%;
  border-radius: 0.5rem;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  display: block;
  margin: auto;
  padding: auto;
}
.app-text-col {
  flex: 0 0 33.33%;
  padding: 0 1rem;
  box-sizing: border-box;
}
.app-text-col h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  font-weight: 600;
   text-align:center;
}
.app-text-col p {
  font-size: 1.15rem;
  color: var(--color-text-light);
  line-height: 1.8;
  text-align: left;
}
.app-row:not(.app-image-col):nth-of-type(1) .image-wrapper {
  margin-right: auto;
}
.app-row:not(.app-image-col):nth-of-type(2) .image-wrapper {
  margin-left: auto;
}
.app-row:not(.app-image-col):nth-of-type(4) .image-wrapper {
  margin-left: auto;
}
.app-row:not(.app-image-col):nth-of-type(3) .image-wrapper {
  margin-right: auto;
}

/* ============================= */
/* More Features Section         */
/* ============================= */
.custom-more-features {
  background-color: var(--color-bg-light);
  text-align: center;
  padding: 4rem 1rem;
  font-family: Montserrat, sans-serif;
}
.custom-mf-wrapper {
  max-width: 900px;
  margin: 0 auto;
}
.custom-mf-heading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 0.5rem;
  color: #1e2428;
  margin-top: 2rem;
  max-width: 80%;
  margin: auto;
}
.custom-mf-subheading {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #5f5e60;
  margin-bottom: 2rem;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

/* ============================= */
/* How It Works Section          */
/* ============================= */
.how-it-works {
  padding: 4rem 1rem;
  text-align: center;
  background: var(--color-bg-light);
}
.how-wrapper {
  max-width: 100%;
  margin: 0 auto;
}
.how-title {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 0.5rem;
  color: #1e2428;
  margin-top: 2rem;
  max-width: 80%;
  margin: auto;
}
.how-subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #5f5e60;
  margin-bottom: 2rem;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}
.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 3rem;
}
.steps::before {
  content: "";
  position: absolute;
  top: 45px;
  left: calc(16.66%);
  right: calc(16.66%);
  height: 3px;
  background: var(--color-border-light);
  z-index: 0;
}
.step {
  position: relative;
  text-align: center;
  width: 30%;
  z-index: 1;
}
.step-circle {
  width: 80px;
  height: 80px;
  background: var(--color-bg-white);
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 1rem;
  border: 4px solid var(--color-accent-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-circle img {
  width: 60%;
  height: auto;
}
.step-card {
  background: var(--color-bg-white);
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.step-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}
.step-card p {
  font-size: 0.95rem;
  color: #555;
}

/* ============================= */
/* Social Proof Section          */
/* ============================= */
.logos-section {
  background-image: radial-gradient(at center center, #2d1c49 0%, #10001a 100%);
  color: #fff;
  padding: 2rem;
}
.social-proof {
  font-family: Arial, sans-serif;
  padding: 4rem 1rem;
  background: var(--color-bg-light);
}
.sp-layer {
  text-align: center;
  margin-bottom: 4rem;
}
.social-proof h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #1e2428;
  margin: 2rem auto;
  max-width: 80%;
}
.logos-section .sp-layer h2 {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  margin-bottom: 0.5rem;
  color: #fff;
  margin-top: 2rem;
  max-width: 80%;
  margin: auto;
}
.sp-layer p.description {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: #fff;
  margin: 2rem;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}
.testimonial-slider {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.testimonial {
  background: var(--color-bg-white);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  max-width: 300px;
  flex: 1 1 250px;
}
.testimonial img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}
.testimonial h3 {
  margin: 0.5rem 0 0;
}
.testimonial .designation {
  color: #777;
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.testimonial blockquote {
  font-style: italic;
  color: #333;
}
.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.logo-track {
  display: flex;
  width: max-content;
  animation: scrollLeft 15s linear infinite;
}
.quote {
  flex: 0 0 auto;
  background: transparent;
  padding: 1rem 0.8rem;
  border-radius: 8px;
  margin: 1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  width: 200px;
}
.quote-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  margin-bottom: 0.5rem;
}
.logo-slider::-webkit-scrollbar {
  display: none;
}
.logo-slider {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
@keyframes scrollLeft {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
.logos {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.logos img {
  max-height: 100%;
  object-fit: contain;
}

/* FAQ CSS */
.qaheading {
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  color: #1e2428;
  margin: 2rem auto;
  max-width: 80%;
  text-align: center;
}
.faq-container {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}
.faq-item {
  background-color: hsl(0, 0%, 100%);
  margin: 15px 0;
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(242, 243, 252, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}
.faq-question {
  font-size: 1.1rem;
  font-weight: bold;
  padding: 20px;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question:hover {
  background-color: #f7f6fe;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  text-align: left;
  transition: all 0.4s ease;
  background-color: #f7f6fe;
}
.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 20px;
}
.arrow {
  border: solid #1e2428;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 5px;
  transform: rotate(45deg);
  transition: transform 0.3s ease;
}
.faq-item.active .arrow {
  transform: rotate(-135deg);
}

/* ============================= */
/* Responsive                    */
/* ============================= */
@media (max-width: 992px) {
  .image-wrapper {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .hero h1,
  .hero p{
    max-width: 100%;
  }
  .hero{
    height: 70vh;
  }
  .problem-section p{
     max-width: 100%;
  }
  .problem-section h2{
      max-width: 100%;
  }
  .app-intro h2{
    max-width: 100%;
  }
  .custom-mf-subheading{
    max-width: 100%;
  }
  .custom-mf-heading{
    max-width: 100%;
  }
  .how-subtitle{
    max-width: 100%;
  }
  .how-title{
    max-width: 100%;
  }
.buttons .btn{
    padding: 0.9rem 1.1rem!important;
     margin:8px;
}
.faq-question{
      margin:0.5rem!important;
      padding:0.5rem!important;
}
  .app-row,
  .app-row.reverse {
    flex-direction: column;
  }
  .app-image-col,
  .app-text-col {
    flex: 0 0 100%;
    padding: 0;
  }
  .app-text-col {
    text-align: center;
    margin-top: 1rem;
  }
  .image-wrapper {
    flex: 0 0 100%;
    padding: 0.5rem;
    height: auto;
  }
  .image-box {
    flex: 0 0 100%;
    height: auto;
  }
  .image-box img {
    height: auto;
  }
  .hero {
    margin: 2rem;
  }
  .steps {
    flex-direction: column;
  }
  .steps::before {
    display: none;
  }
  .step {
    width: 100%;
   margin: auto;
  }
  .testimonial-slider {
    flex-direction: column;
    align-items: center;
  }
  .step-circle {
    margin: 1rem auto!important; /* horizontal center */
  }
  .sp-layer h2{
    max-width: 100%;
  }
  .testimonial{
    max-width: 100%;
  }
  .app-image-col{
    max-width: 100%;
  }
}

/* REMOVE LEFT/RIGHT MARGIN & PADDING FOR MOBILE */
@media (max-width: 480px) {
  .hero {
    margin: 1rem;
  }
  .faq-question{
     margin:0.5rem!important;
      padding:0.5rem!important;
}

  /* Universal reset for containers, div, section on mobile */
  section,
  div,
  .container,
  .wrapper {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}
