@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #007B60;
  --primary-dark: #00604b;
  --secondary: #009efb;
  --bg: #f8fafc;
  --text: #1e293b;
  --text-muted: #475569; /* Darkened for better contrast */
  --white: #ffffff;
  --radius-xl: 32px;
  --gradient-primary: linear-gradient(135deg, #007B60 0%, #009efb 100%);
  --shadow-lg: 0 30px 60px rgba(0, 175, 137, 0.2);
  --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif !important;
}

html,
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4 {
  font-weight: 800;
  /* Mirror Zakalam boldness */
  letter-spacing: -0.04em;
  /* Tight architectural feel */
  line-height: 1.1;
  color: var(--text);
}

h1 span,
h2 span,
h3 span {
  color: var(--primary);
}

p {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.01em;
  color: #475569;
  /* Exact Slate color */
}

.container {
  max-width: 1400px;
  /* Wider container for Zakalam look */
  margin: 0 auto;
  padding: 0 40px;
}

/* Navbar */
/* Top Bar */
.top-bar {
  background: #000;
  color: #fff;
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100px;
  background: var(--white);
  border-bottom: 1px solid #f1f5f9;
  z-index: 1000;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

nav.scrolled {
  height: 90px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 30px;
  /* Pushed further to the corner */
}

.logo {
  display: flex;
  align-items: center;
  gap: 15px;
  text-decoration: none;
  margin-left: -10px;
  /* Nudge to the far corner */
}

.logo img.logo-icon {
  height: 70px;
  width: auto;
  mix-blend-mode: multiply;
  transition: var(--transition);
  display: block;
}

.logo .logo-text {
  font-size: 32px;
  font-weight: 700;
  /* Robust bold as seen in Zakalam */
  color: var(--primary);
  /* Keeping the Dentrix Teal theme */
  font-family: 'Outfit', sans-serif;
  letter-spacing: -1.5px;
  /* Tighter, more modern kerning */
  text-transform: uppercase;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
  mix-blend-mode: screen;
  /* Invert blend for dark footer if logo is white, else use multiply */
  filter: brightness(1.2);
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: #334155;
  font-weight: 600;
  /* Bolder like Zakalam */
  font-size: 15px;
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-get-started {
  background: var(--primary);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 10px 20px -5px rgba(0, 175, 137, 0.3);
  display: inline-block;
}

#navbar .btn-get-started {
  background: var(--white);
  /* White button for the nav */
  color: var(--primary);
  border: 1px solid #e2e8f0;
}

.btn-get-started:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* Hero Section - Zakalam Card Style */
.hero {
  padding: 40px 0 100px;
  background: var(--bg);
}

.hero-card {
  background: #007B60;
  /* Premium Deep Navy */
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  color: var(--white);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 40px 100px -20px rgba(15, 23, 42, 0.4);
}

.hero-card h1 {
  font-size: 56px;
  line-height: 1.1;
  color: var(--white);
  margin: 20px 0;
}

.hero-card h1 span {
  color: #ffffff;
  /* Restoring visibility on teal */
  opacity: 1;
  text-decoration: none;
}

.hero-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 19px;
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns .btn-get-started {
  background: #ffffff;
  /* Solid White Button */
  color: #007B60;
  /* Dentrix Teal Text */
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: none;
}

.hero-btns .btn-get-started:hover {
  background: #f8fafc;
  /* Subtle hover effect */
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.badge-pill {
  background: rgba(255, 255, 255, 0.15);
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(4px);
  display: inline-block;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.15);
  border: 4px solid var(--white);
}

/* Platform Section */
.platforms {
  padding: 100px 0;
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 70px;
}

.section-header h2 {
  font-size: 40px;
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 18px;
}

.platform-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.platform-card {
  background: var(--bg);
  padding: 50px 40px;
  border-radius: var(--radius-xl);
  text-align: center;
  transition: var(--transition);
  border: 1.5px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  /* Ensures buttons align at the bottom */
  align-items: center;
  height: 100%;
  /* Important for grid alignment */
}

.platform-card .card-top {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.platform-card:hover {
  background: var(--white);
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow);
}

.p-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 24px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.p-icon img {
  width: 60px;
}

.platform-card h3 {
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--text);
}

.platform-card p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 30px;
}

.btn-visit {
  width: 100%;
  padding: 14px;
  background: var(--white);
  border: 1.5px solid var(--primary);
  color: var(--primary);
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.platform-card:hover .btn-visit {
  background: var(--primary);
  color: var(--white);
}

/* Features Section */
.features {
  padding: 100px 0;
  background: var(--bg);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.feature-item {
  background: var(--white);
  padding: 30px;
  border-radius: 20px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: var(--transition);
}

.feature-item:hover {
  transform: translateX(10px);
  box-shadow: var(--shadow);
}

.f-icon {
  font-size: 32px;
  background: rgba(0, 175, 137, 0.1);
  padding: 12px;
  border-radius: 12px;
}

.feature-item h4 {
  font-size: 20px;
  margin-bottom: 8px;
}

.feature-item p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Contact Section */
.contact {
  padding: 100px 0;
}

.contact-card {
  background: var(--white);
  border-radius: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.contact-info {
  background: var(--primary);
  color: var(--white);
  padding: 60px;
}

.contact-info h2 {
  color: var(--white);
  margin-bottom: 20px;
}

.contact-info p {
  opacity: 0.8;
  margin-bottom: 40px;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-form {
  padding: 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
  transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 175, 137, 0.1);
}

.contact-form button {
  width: 100%;
  border: none;
  cursor: pointer;
}

/* Footer */
footer {
  background: var(--text);
  color: var(--white);
  padding: 80px 0 40px;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 60px;
}

.footer-brand .logo-text {
  color: var(--white);
  margin-bottom: 20px;
  display: block;
}

.footer-brand p {
  opacity: 0.6;
  max-width: 300px;
}

.footer-links h4 {
  margin-bottom: 24px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--white);
  opacity: 0.6;
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.benefit-list {
  list-style: none;
  margin-top: 20px;
}

.benefit-list li {
  margin-bottom: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
}

.alternate-gradient {
  background: linear-gradient(135deg, #009efb 0%, #007B60 100%);
  /* Blue to Teal */
}

.growth-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  background: var(--white);
  padding: 60px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  align-items: center;
}

.growth-visual {
  background: #f8fafc;
  padding: 40px;
  border-radius: 24px;
  text-align: center;
}

.chart-container {
  margin: 30px 0;
  position: relative;
}

.chart-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 10px rgba(0, 175, 137, 0.2));
}

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 30px;
}

.stat-box {
  padding: 24px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
}

.stat-box.green {
  background: #ecfdf5;
  color: #065f46;
}

.stat-box.blue {
  background: #eff6ff;
  color: #1e40af;
}

.stat-box .value {
  font-size: 28px;
  font-weight: 700;
}

.stat-box .label {
  font-size: 14px;
  opacity: 0.8;
  margin-bottom: 5px;
}

.stat-box .subtext {
  font-size: 12px;
  opacity: 0.6;
}

.highlight-box {
  background: var(--primary);
  color: #fff;
  padding: 24px;
  border-radius: 16px;
  display: flex;
  gap: 15px;
  margin-top: 40px;
}

.section {
  padding: 80px 0;
  /* Slightly tighter default */
}

.help-section {
  padding-top: 20px;
  /* Bring the Contact Us header much closer to the cards */
  background: #f8fafc;
  /* Subtle background shift for the contact area */
}

.alternate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 80px;
  margin-top: 60px;
}

.alternate-grid:nth-child(even) {
  direction: rtl;
}

.alternate-grid:nth-child(even)>div {
  direction: ltr;
}

/* FAQ Styling */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-weight: 700;
  font-size: 18px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.faq-answer {
  margin-top: 15px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
}

/* Help Section Styling */
.help-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.help-info h2 {
  font-size: 48px;
}

.help-info p {
  margin: 24px 0 40px;
  font-size: 18px;
  color: var(--text-muted);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-method .c-icon {
  background: var(--gradient-primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.contact-method .c-text {
  display: flex;
  flex-direction: column;
}

.contact-method .c-text strong {
  font-size: 18px;
}

.help-form-card {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.input-group {
  margin-bottom: 24px;
}

.input-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 16px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-family: inherit;
}

/* Testimonials Section */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
}

.stars {
  color: #ffc107;
  font-size: 18px;
  margin-bottom: 20px;
}

.testimonial-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  font-style: italic;
  margin-bottom: 30px;
  flex-grow: 1;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.avatar {
  width: 50px;
  height: 50px;
  background: #f1f5f9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.user-details strong {
  display: block;
  font-size: 16px;
  color: var(--text);
}

.user-details span {
  font-size: 14px;
  color: var(--text-muted);
}

/* Get Started Section */
.steps-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 60px;
  gap: 20px;
}

.step-item {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.s-icon-circle {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #FF7E5F, #FEB47B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  color: white;
  box-shadow: 0 10px 20px rgba(255, 126, 95, 0.2);
}

.step-item h3 {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 700;
}

.step-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-arrow {
  font-size: 32px;
  color: #FF7E5F;
  font-weight: 300;
  margin-top: -60px;
  /* Align with icons roughly */
}

/* Why Choose Section */
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
  margin-top: 60px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.f-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin-bottom: 24px;
  color: white;
}

.gradient-1 {
  background: linear-gradient(135deg, #FF6B6B, #FF8E53);
}

.gradient-2 {
  background: linear-gradient(135deg, #4FACFE, #00F2FE);
}

.gradient-3 {
  background: linear-gradient(135deg, #667EEA, #764BA2);
}

.gradient-4 {
  background: linear-gradient(135deg, #43E97B, #38F9D7);
}

.feature-item h3 {
  font-size: 19px;
  margin-bottom: 15px;
  font-weight: 700;
}

.feature-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.f-check {
  font-size: 24px;
}

/* Legacy Footer Styling */
.legacy-footer {
  background: var(--primary);
  /* Deep Teal */
  color: white;
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.footer-col h4 {
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
}

.footer-col p {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.footer-copyright p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}



/* Premium Checklist Styling */
.premium-check-list {
  list-style: none;
  padding: 0;
}

.premium-check-list li {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 19px;
  margin-bottom: 20px;
  color: var(--text);
  font-weight: 500;
  /* Balanced medium weight */
}

.p-tick {
  width: 28px;
  height: 28px;
  border: 2px solid #007B60;
  /* The signature Teal circle */
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}

.p-tick::after {
  content: '';
  position: absolute;
  width: 6px;
  height: 11px;
  border: solid #007B60;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  left: 8px;
  top: 4px;
}

/* Brand New Help Section Excellence */
.help-section-new {
  padding: 100px 0;
  background: #ffffff;
}

.help-grid-new {
  display: flex !important;
  flex-direction: row-reverse !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 80px !important;
}

@media (max-width: 992px) {
  .help-grid-new {
    flex-direction: column !important;
    gap: 50px !important;
  }
  .help-info-new, .contact-card-new {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.help-info-new {
  flex: 1;
}

@media (min-width: 993px) {
  .help-info-new {
    width: 50% !important;
  }
}

.help-title-new {
  font-size: 52px !important;
  margin-bottom: 24px !important;
  font-weight: 800 !important;
  letter-spacing: -1px !important;
}

.help-title-new span {
  color: var(--primary) !important;
}

.help-subtitle-new {
  font-size: 18px !important;
  line-height: 1.6 !important;
  color: var(--text-muted) !important;
  margin-bottom: 50px !important;
}

.support-item-new {
  display: flex !important;
  align-items: center !important;
  gap: 20px !important;
}

.support-icon-box-new {
  width: 50px !important;
  height: 50px !important;
  background: #007B60 !important;
  border-radius: 50% !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: white !important;
  box-shadow: 0 10px 20px rgba(0, 175, 137, 0.2) !important;
}

.support-detail-new h3 {
  font-size: 20px !important;
  margin-bottom: 4px !important;
  font-weight: 700 !important;
}

.support-detail-new p {
  font-size: 15px !important;
  margin: 0 !important;
  color: var(--text-muted) !important;
}

/* Force Expand Contact Card */
.contact-card-new {
  flex: 1;
  background: #ffffff !important;
  padding: 40px !important;
  border-radius: 12px !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.05) !important;
  border: 1px solid #eef2f6 !important;
  box-sizing: border-box !important;
}

@media (min-width: 993px) {
  .contact-card-new {
    width: 50% !important;
  }
}

.contact-form-new {
  width: 100% !important;
  display: block !important;
}

.form-row-new {
  margin-bottom: 24px !important;
  width: 100% !important;
}

.form-row-new label {
  display: block !important;
  font-weight: 600 !important;
  margin-bottom: 10px !important;
  font-size: 14px !important;
  color: #334155 !important;
  text-align: left !important;
}

.form-row-new input,
.form-row-new textarea {
  width: 100% !important;
  padding: 16px 20px !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-family: inherit !important;
  color: #1e293b !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
  transition: all 0.2s ease !important;
}

.form-row-new input:focus,
.form-row-new textarea:focus {
  outline: none !important;
  border-color: var(--primary) !important;
  box-shadow: 0 0 0 3px rgba(0, 175, 137, 0.1) !important;
}

.premium-btn-new {
  width: 100% !important;
  padding: 18px !important;
  margin-top: 10px !important;
  border: none !important;
  border-radius: 8px !important;
  background: #007B60 !important;
  color: white !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}

.premium-btn-new:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 15px 30px rgba(0, 175, 137, 0.25) !important;
}

.footer-bottom-centered {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom-centered p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

/* Comprehensive Responsive Layouts */
@media (max-width: 1024px) {
  .container {
    padding: 0 24px;
  }

  .top-bar {
    display: none; /* Hide secondary top bar on smaller screens */
  }

  .nav-links {
    display: none !important; /* Hide regular links on mobile */
  }

  .hero-card {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 60px 40px;
  }

  .hero-card p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-card h1 {
    font-size: 46px;
  }

  .growth-card {
    grid-template-columns: 1fr;
    padding: 40px 20px;
    gap: 40px;
  }

  .growth-visual {
    padding: 30px 15px;
  }

  .stat-grid {
    grid-template-columns: 1fr; /* Stack stats on mobile */
  }

  .platform-cards,
  .testimonials-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .alternate-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 50px;
  }

  /* Reset RTL direction for alternate stacked grids */
  .alternate-grid:nth-child(even) > div {
    direction: ltr;
  }

  .benefit-list li {
    justify-content: center; /* Center checkmarks when stacked */
  }

  .features-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-row {
    flex-direction: column;
    gap: 30px;
  }

  .step-arrow {
    transform: rotate(90deg);
    margin: 0;
  }
}

@media (max-width: 768px) {
  nav {
    height: 70px;
  }

  .logo img.logo-icon {
    height: 45px; /* Scale down logo */
  }

  .logo .logo-text {
    font-size: 20px; /* Scale down logo text */
  }

  .btn-get-started {
    padding: 10px 20px; /* Smaller button */
    font-size: 13px;
  }

  .hero-card h1 {
    font-size: 32px;
  }
  
  .hero-card {
    padding: 40px 20px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .features-row {
    grid-template-columns: 1fr;
  }

  .help-title-new {
    font-size: 32px !important;
  }

  .help-grid-new {
    gap: 30px !important;
  }

  .contact-card-new {
    padding: 30px 20px !important;
  }

  .stat-box .value {
    font-size: 24px;
  }
}

/* WhatsApp Floating Widget */
.whatsapp-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.whatsapp-bubble {
    background-color: white;
    color: #1e293b;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-right: 15px;
    white-space: nowrap;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}

.whatsapp-widget:hover .whatsapp-bubble {
    opacity: 1;
    transform: translateX(0);
}

.whatsapp-widget:hover .whatsapp-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
}

@keyframes whatsapp-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-icon-wrapper {
    animation: whatsapp-pulse 2s infinite;
}

/* Modal System */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-card {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-icon {
    width: 64px;
    height: 64px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 24px;
    color: white;
}

.modal-card h2 {
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 12px;
    text-align: center;
    font-weight: 800;
}

.modal-card p {
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.modal-btn {
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.premium-btn-new {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 20px rgba(0, 123, 96, 0.2);
}

.premium-btn-new:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 123, 96, 0.3);
}

/* WhatsApp Social Proof in Hero */
.hero-social-proof {
    display: flex;
    align-items: center;
    gap: 20px;
}

@media (max-width: 768px) {
    .hero-social-proof {
        flex-direction: column;
        gap: 10px !important;
        text-align: center;
    }
}

/* Multi-Step Trial Modal Styles (Image 1) */
.trial-modal-card {
    max-width: 420px !important;
    padding: 30px 25px !important;
    position: relative;
    max-height: 95vh;
    overflow-y: auto;
}

.close-modal-x {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 2px solid #fff;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.trial-title {
    font-size: 20px !important;
    font-weight: 800 !important;
    margin-bottom: 20px !important;
    text-align: center;
    line-height: 1.2 !important;
    padding-top: 10px;
}

.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.step {
    padding: 0 15px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #94a3b8;
    position: relative;
}

.step-active {
    color: #007bff;
}

.step-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #007bff;
}

/* Triangle pointer for active step */
.step-active::before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #007bff;
}

.step-label {
    font-weight: 800;
    font-size: 13px;
}

.step-sub {
    font-size: 10px;
    font-weight: 600;
}

.step-divider {
    width: 1px;
    height: 20px;
    background: #e2e8f0;
    margin-bottom: 8px;
}

.trial-form {
    max-width: 100%;
    margin: 0 auto;
}

.trial-form .form-row-new input {
    width: 100%;
    padding: 10px 15px !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    margin-bottom: 10px;
}

.phone-input-row {
    display: flex;
    align-items: center;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding-left: 12px;
    background: #fff;
    margin-bottom: 15px;
}

.phone-input-row input {
    border: none !important;
    margin-bottom: 0 !important;
    padding-left: 8px !important;
}

.flag-placeholder {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #64748b;
    font-weight: 600;
    font-size: 13px;
}

.trial-submit-btn {
    width: 100%;
    padding: 12px !important;
    background: #007bff !important;
    color: #fff !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 18px !important;
    font-weight: 800 !important;
    cursor: pointer;
}

.trial-submit-btn:hover {
    background: #0056b3 !important;
    transform: translateY(-2px);
}

.trial-disclaimer {
    text-align: center;
    font-size: 12px !important;
    color: #94a3b8 !important;
    margin-top: 12px !important;
}

.terms-row {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin-bottom: 15px !important;
    padding: 0 5px !important;
}

.terms-row input[type="checkbox"] {
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    cursor: pointer;
    flex-shrink: 0;
}

.terms-row label {
    font-size: 13px !important;
    color: #64748b !important;
    line-height: 1.4 !important;
    cursor: pointer;
}

.terms-row a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

/* WhatsApp Chat Box Styles (Image 2) */
.whatsapp-chat-box {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    z-index: 10000;
    display: none;
    flex-direction: column;
    overflow: hidden;
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.whatsapp-chat-box.active {
    display: flex;
}

.whatsapp-chat-header {
    background: #25d366;
    padding: 20px;
    color: #fff;
}

.header-main {
    display: flex;
    align-items: center;
    gap: 15px;
}

.chat-logo {
    background: #fff;
    padding: 8px;
    border-radius: 50%;
    display: flex;
}

.header-text h3 {
    font-size: 20px;
    color: #fff;
}

.chat-close-btn {
    margin-left: auto;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.whatsapp-chat-body {
    padding: 20px;
    background: #f0f2f5;
    flex-grow: 1;
}

.chat-message-bubble {
    background: #fff;
    padding: 15px;
    border-radius: 0 12px 12px 12px;
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.msg-content {
    font-size: 14px;
    color: #1e293b;
    line-height: 1.5;
}

.chat-form {
    background: #fff;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.chat-input-row {
    margin-bottom: 12px;
}

.chat-input-row input, .chat-input-row textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
}

.phone-row {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding-left: 10px;
}

.phone-row input {
    border: none !important;
}

.chat-flag {
    font-size: 12px;
    white-space: nowrap;
}

.chat-send-btn {
    background: #25d366;
    color: #fff;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.3);
}

.whatsapp-chat-footer {
    padding: 10px;
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    background: #fff;
    border-top: 1px solid #f1f5f9;
}

.brand-accent {
    color: #25d366;
    font-weight: 700;
}