/* Remove any page‑level horizontal scroll */
html, body {
  overflow-x: hidden;
}



/* ---------- LAYOUT ---------- */
.whatsapp-hero-section {
  background: linear-gradient(to bottom, #f0fffb 0%, #ffffff 100%);
  padding: 40px 20px;
}
.whatsapp-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
  flex-wrap: wrap;
}
.whatsapp-content {
  flex: 1 1 500px;
}
.whatsapp-image-wrapper {
  flex: 1 1 400px;
  text-align: right;
}
.whatsapp-hero-image {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

/* ---------- LOGOS ---------- */
.whatsapp-logo-group {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 24px;
}
.whatsapp-logo {
  height: 32px;
  object-fit: contain;
}

/* ---------- TYPOGRAPHY ---------- */
.whatsapp-heading {
  font-size: 2.5rem;
  line-height: 1.2;
  margin: 0 0 16px;
  color: #111827;
}
.whatsapp-highlight {
  color: #10b981; /* WhatsApp green */
}
.whatsapp-meta-logo {
  display: block;
  max-width: 140px;
  margin: 0 0 16px;
}
.whatsapp-subheading {
  font-size: 1rem;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 24px;
}

/* ---------- CTA BUTTON ---------- */
.whatsapp-cta-button {
  display: inline-block;
  background: #10b981;
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background 0.2s ease;
}
.whatsapp-cta-button:hover {
  background: #0f9c75;
}

/* ---------- ROTATING WORDS ---------- */
.whatsapp-rotator {
  display: inline-block;
  position: relative;
  width: 15ch; /* space for longest word */
  height: 1.2em;
  vertical-align: bottom;
  overflow: hidden;
}
.whatsapp-rotator span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(100%);
  animation: whatsapp-rotate 8s linear infinite;
  color: #f59e0b; /* highlight color for rotating word */
}
.whatsapp-rotator span:nth-child(1) {
  animation-delay: 0s;
}
.whatsapp-rotator span:nth-child(2) {
  animation-delay: 2s;
}
.whatsapp-rotator span:nth-child(3) {
  animation-delay: 4s;
}
.whatsapp-rotator span:nth-child(4) {
  animation-delay: 6s;
}

@keyframes whatsapp-rotate {
  0% {
    opacity: 0;
    transform: translateY(100%);
  }
  5% {
    opacity: 1;
    transform: translateY(0);
  }
  25% {
    opacity: 1;
    transform: translateY(0);
  }
  30% {
    opacity: 0;
    transform: translateY(-100%);
  }
  100% {
    opacity: 0;
    transform: translateY(-100%);
  }
}

@media (max-width: 768px) {
  /* 1) Stack container top-to-bottom */
  .whatsapp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  /* 2) Enforce content first, image second */
  .whatsapp-content {
    order: 1;
    width: 100%;
  }
  .whatsapp-image-wrapper {
    order: 2;
    width: 100%;
    margin-bottom: 40px;
  }

  /* 3) Then stack the form below */
  .whatsapp-hero-form {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 0 20px;
  }
  .whatsapp-hero-form > *,
  .whatsapp-phone-group {
    width: 100%;
    flex: none;
  }

  /* 4) Stack the country-code pill above the phone input */
  .whatsapp-phone-group {
    flex-direction: column;
    gap: 8px;
  }
  .whatsapp-country-code {
    border-radius: 6px;
  }
  .whatsapp-phone-group > input {
    border-radius: 6px;
    border-top: 1px solid #ccc;
    border-left: 1px solid #ccc;
  }
}

/* ---------- INLINE FORM ---------- */
.whatsapp-hero-form {
  display: flex;
  gap: 16px;
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 0 0px;
  align-items: center;
  flex-wrap: wrap;
}
.whatsapp-hero-form input,
.whatsapp-hero-form button {
  font-size: 1rem;
  padding: 12px 16px;
  border-radius: 6px;
  border: 1px solid #ccc;
}
.whatsapp-hero-form input {
  flex: 1 1 0;
  min-width: 0;
}
.whatsapp-hero-form button {
  flex: 0 0 auto;
  background: #10b981;
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.whatsapp-hero-form button:hover {
  background: #0f9c75;
}

/* ---------- PHONE GROUP (+91 + NUMBER) ---------- */
.whatsapp-phone-group {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  align-items: center;
}
.whatsapp-country-code {
  padding: 12px 16px;
  background: #eef2f7;
  border: 1px solid #ccc;
  border-right: none;
  border-radius: 6px 0 0 6px;
  font-size: 1rem;
  color: #374151;
  white-space: nowrap;
}
.whatsapp-phone-group > input {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid #ccc;
  border-left: none;
  border-radius: 0 6px 6px 0;
  font-size: 1rem;
  color: #374151;
  min-width: 0;
}

/* ---------- RESPONSIVE BREAKPOINTS ---------- */
@media (max-width: 1200px) {
  .whatsapp-container {
    padding: 0 20px;
  }
}
@media (max-width: 992px) {
  .whatsapp-container {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .whatsapp-image-wrapper {
    margin-bottom: 40px;
  }
}
@media (max-width: 768px) {
  /* 1) Stack the entire form vertically */
  .whatsapp-hero-form {
    flex-direction: column;
    gap: 12px;
  }

  /* 2) Make each direct child (inputs/groups/button) full-width */
  .whatsapp-hero-form > input,
  .whatsapp-hero-form > button,
  .whatsapp-hero-form > .whatsapp-phone-group {
    flex: none; /* cancel any flex:1 */
    width: 100%;
    min-width: 0;
  }

  /* 3) Phone group: stack the code pill and number input */
  .whatsapp-phone-group {
    flex-direction: column;
    gap: 8px;
  }

  /* 4) Adjust border-radius so they look like standalone fields */
  .whatsapp-country-code {
    border-radius: 6px;
  }
  .whatsapp-phone-group > input {
    border-radius: 6px;
    border-top: 1px solid #ccc; /* restore top border */
    border-left: 1px solid #ccc; /* restore left border */
  }
}


.whatsapp-hero-form span {
  display: inline-block;
  flex: 0 0 auto;
  margin-top: 4px;
  color: #e53e3e;
  font-size: 0.875rem;
}
/* ---------- SECTION WRAPPER ---------- */
.whatsapp-features-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f0fffb 100%);
  padding: 40px 20px;
}
.whatsapp-features-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- PILL & HEADINGS ---------- */
.whatsapp-features-pill {
  display: inline-block;
  background: #ecfdf5;
  color: #10b981;
  border: 1px solid #10b981;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 0.75rem;
  margin-bottom: 16px;
}
.whatsapp-features-title {
  font-size: 2.5rem;
  margin: 8px 0 12px;
  color: #111827;
}
.whatsapp-features-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.6;
}

/* ---------- TABS ---------- */
.whatsapp-tabs-list {
  display: inline-flex;
  background: #f3f4f6;
  border-radius: 999px;
  padding: 4px;
  margin-bottom: 40px;
  overflow-x: auto;
}
.whatsapp-tab {
  cursor: pointer;
  padding: 8px 20px;
  margin: 0 4px;
  font-size: 0.95rem;
  color: #4b5563;
  display: flex;
  align-items: center;
  gap: 6px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}
.whatsapp-tab:hover {
  background: #e5e7eb;
}
.whatsapp-tab--active {
  background: #ffffff;
  color: #10b981;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* ---------- CONTENT PANELS ---------- */
.whatsapp-tab-content {
  display: none;
}
.whatsapp-content--active {
  display: block;
}

/* ---------- GRID LAYOUT ---------- */
.whatsapp-features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.whatsapp-features-left img {
  width: 100%;
  border-radius: 12px;
}
.whatsapp-features-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ---------- FEATURE CARD ---------- */
.whatsapp-feature-card {
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 24px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}
.icon-circle {
  width: 48px;
  height: 48px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}
.card-text h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
  color: #111827;
  text-align: left;
}
.card-text p {
  margin: 0;
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.5;
  text-align: left;
}
.card-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 0.75rem;
  color: #10b981;
  border: 1px solid #10b981;
  border-radius: 12px;
  padding: 4px 12px;
}
.whatsapp-feature-card .icon-circle::before {
  content: none !important;
  display: none !important;
}
/* ---------- RESPONSIVE ---------- */
/* Tablet (≤992px) */
@media (max-width: 992px) {
  .whatsapp-features-grid {
    /* still single‑column */
    grid-template-columns: 1fr;
  }
  .whatsapp-features-wrapper {
    text-align: center;
  }
  .whatsapp-tabs-list {
    display: flex;            /* flex layout */
    justify-content: center;  /* center all tabs */
    flex-wrap: wrap;          /* allow wrapping */
    gap: 8px;                 /* space between tabs */
    padding: 0 16px;          /* pad left/right so tabs aren’t flush */
    margin: 0 auto 16px;      /* vertical spacing, auto‑center horizontally */
    box-sizing: border-box;   /* include padding in width */
    width: 100%;              /* span the full viewport */
    overflow: hidden;         /* hide any accidental overflow */
  }

  .whatsapp-tab {
    flex: 0 0 auto;           /* don’t stretch or shrink */
    white-space: nowrap;      /* keep label on one line */
  }
  .whatsapp-feature-card {
    /* center contents if you like */
    align-items: center;
    text-align: center;
  }
}

/* Small tablets & large phones (≤768px) */
@media (max-width: 768px) {
  .whatsapp-tab {
    margin: 4px;
    font-size: 0.95rem;
    padding: 6px 10px;
  }
  .whatsapp-feature-card {
    padding: 16px;
  }
  .icon-circle {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
  .card-text h3 {
    font-size: 1rem;
  }
  .card-text p {
    font-size: 0.9rem;
  }
}

/* Phones (≤576px) */
@media (max-width: 576px) {
  /* shrink gaps */
  .whatsapp-features-wrapper {
    padding: 12px;
  }
  .whatsapp-tabs-list {
    gap: 4px;
  }
  .whatsapp-features-grid {
    gap: 16px;
  }
  .whatsapp-feature-card {
    gap: 8px;
  }
  .icon-circle {
    width: 32px;
    height: 32px;
    font-size: 1rem;
  }
}

/* ---------- SECTION LAYOUT ---------- */
.whatsapp-steps-section {
  background: linear-gradient(to bottom, #f0fffb 0%, #ffffff 100%);
  padding: 60px 20px;
}
.whatsapp-steps-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* ---------- HEADER ---------- */
.whatsapp-steps-title {
  font-size: 2rem;
  color: #111827;
  margin-bottom: 8px;
}
.whatsapp-steps-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* ---------- STEPS ROW ---------- */
.whatsapp-steps-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  position: relative;
}

/* connector lines between cards */
.whatsapp-step-card:not(:last-child)::after {
  position: absolute;
  top: 50%;
  right: -12px; /* adjust to taste */
  width: 24px;
  border-top: 2px dashed #d1d5db;
  transform: translateY(-50%);
}

/* ---------- STEP CARD ---------- */
.whatsapp-step-card {
  flex: 1;
  background: #fff;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  position: relative;
}

/* icon circle */
.whatsapp-step-icon {
  width: 56px;
  height: 56px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 16px;
}

/* title + desc */
.whatsapp-step-name {
  font-size: 1.1rem;
  color: #111827;
  margin: 0 0 8px;
}
.whatsapp-step-desc {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.4;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .whatsapp-steps-section {
    
    padding: 60px 20px;
  }
  .whatsapp-steps-row {
    flex-direction: column;
  }
  .whatsapp-step-card {
    margin-bottom: 24px;
  }
  .whatsapp-step-card:not(:last-child)::after {
    display: none;
  }
}
@media (max-width: 576px) {
  .whatsapp-steps-title {
    font-size: 1.75rem;
  }
  .whatsapp-step-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
  }
  .whatsapp-step-card {
    padding: 24px 16px;
  }
}



/* SECTION WRAPPER */
.whatsapp-choose-section {
  background: #ffffff;
  padding: 40px 20px;
}
.whatsapp-choose-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

/* TITLE & SUBTITLE */
.whatsapp-choose-title {
  font-size: 2.25rem;
  color: #111827;
  margin-bottom: 8px;
}
.whatsapp-choose-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin-bottom: 40px;
  line-height: 1.5;
}

/* CARDS GRID */
.whatsapp-choose-cards {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

/* INDIVIDUAL CARD */
.whatsapp-choose-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ICON CIRCLE */
.whatsapp-choose-icon {
  width: 56px;
  height: 56px;
  background: #ecfdf5;
  color: #10b981;
  border-radius: 50%;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* CARD TEXT */
.whatsapp-choose-card-title {
  font-size: 1.1rem;
  color: #111827;
  margin: 0 0 8px;
}
.whatsapp-choose-card-desc {
  font-size: 0.95rem;
  color: #4b5563;
  margin: 0;
  line-height: 1.4;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .whatsapp-choose-section {
    padding: 40px 10px;
  }
  .whatsapp-choose-title {
    font-size: 1.75rem;
  }
  .whatsapp-choose-card {
    padding: 24px 16px;
  }
  .whatsapp-choose-icon {
    width: 48px;
    height: 48px;
    font-size: 1.25rem;
    margin-bottom: 12px;
  }
}

/* ---------- FAQ LAYOUT ---------- */
.whatsapp-faq-section {
  background: linear-gradient(to bottom, #ffffff 0%, #f0fffb 100%);
  padding: 40px 20px;
}
.whatsapp-faq-container {
  max-width: 1200px;
  margin: 0 auto;
}

/* TITLE */
.whatsapp-faq-title {
  font-size: 2rem;
  color: #111827;
  text-align: center;
  margin-bottom: 32px;
}

/* EACH ITEM */
.whatsapp-faq-item {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
}

/* QUESTION BUTTON */
.whatsapp-faq-question {
  width: 100%;
  background: #f9fafb;
  border: none;
  padding: 16px 20px;
  font-size: 1rem;
  color: #111827;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.whatsapp-faq-question:hover {
  background: #f3f4f6;
}

/* PLUS/MINUS ICON */
.whatsapp-faq-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border: 2px solid #10b981;
  border-radius: 50%;
  color: #10b981;
  font-weight: bold;
  transition: transform 0.2s;
}

/* ANSWER PANEL */
.whatsapp-faq-answer {
  max-height: 0;
  padding: 0 20px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.whatsapp-faq-answer p {
  margin: 16px 0;
  color: #4b5563;
  line-height: 1.6;
}

/* OPEN STATE */
.whatsapp-faq-item.open .whatsapp-faq-answer {
  max-height: 500px; /* enough to show your content */
}
.whatsapp-faq-item.open .whatsapp-faq-icon {
  transform: rotate(45deg); /* plus → “×” */
}


.whatsapp-faq-list {
  list-style-type: disc;        
  list-style-position: inside;  
  margin: 12px 0 16px;          
  padding-left: 1.5rem;        
  color: #4b5563;              
}

.whatsapp-faq-list li {
  margin-bottom: 8px;           
  line-height: 1.5;             
}

/* Optional: nested lists style */
.whatsapp-faq-list li ul {
  list-style-type: circle;
  margin-top: 4px;
  padding-left: 1.2rem;
}


@media only screen and (max-width: 767px) {
  .whatsapp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
    width: 100%;
  }

  .whatsapp-faq-icon {
    flex-shrink: 0;
    margin-left: auto;
  }

  .whatsapp-faq-question > *:not(.whatsapp-faq-icon) {
    flex: 1;
    min-width: 0;
  }
}


@media only screen and (max-width: 480px) {
  .whatsapp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    flex-wrap: nowrap;
  }

  .whatsapp-faq-question .whatsapp-faq-icon {
    flex-shrink: 0;
    margin-left: auto;
    width: 24px;
    height: 24px;
    font-size: 16px;
  }

  .whatsapp-faq-question > *:not(.whatsapp-faq-icon) {
    flex: 1 1 auto;
    min-width: 0;
    white-space: normal;
    word-break: break-word;
  }
}











/* Hide mobile section by default, show desktop */
.whatsapp-hero-section-mobile {
  display: none;
}

@media (max-width: 768px) {
  /* Hide desktop, show mobile hero */
  .whatsapp-hero-section { display: none; }
  .whatsapp-hero-section-mobile {
    display: block;
    background: linear-gradient(to bottom, #f0fffb 0%, #ffffff 100%);
  }

  /* Center & pad the mobile wrap */
  .whatsapp-mobile-wrap {
    max-width: 90%;
    margin: 0 auto;
    padding: 20px 0;
    text-align: center;
  }

  /* Rotator & image */
  .whatsapp-rotator { margin: 0 auto 16px; }
  .whatsapp-mobile-image { margin-bottom: 24px; }
  .whatsapp-mobile-image .whatsapp-hero-image {
    width: 100%; height: auto;
  }

  /* Form stacks its rows, but phone‐group stays inline */
  .whatsapp-hero-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 16px;
  }

  /* override: keep country code + input side by side */
  .whatsapp-phone-group {
    display: flex;
    flex-direction: row;
    gap: 8px;
    width: 100%;
  }
  .whatsapp-country-code {
    flex: 0 0 auto;
    width: auto;
  }
  .whatsapp-phone-group > input {
    flex: 1 1 auto;
    width: auto;
  }

  /* if you still need other inputs/buttons full-width */
  .whatsapp-hero-form > input,
  .whatsapp-hero-form > button {
    width: 100%;
  }
}




.whatsapp-pricing-btn {
  margin-top: 30px;
  display: inline-block;
  padding: 12px 24px;
  background-color: #10B981;  /* WhatsApp‑green */
  color: #fff;
  font-size: 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.2s;
}

.whatsapp-pricing-btn:hover {
  background-color: #0F9E72;
}
