/* === Hero Section === */
section.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  padding: 80px 0 0 0;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
    display: flex;
    gap: 20px;
    max-width: 550px;
    flex-direction: column;
}

.hero-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content p {
  color: #546375;
  font-size: 1.1rem;
}


/* =========================
FITNEX HERO ZOHO FORM
========================= */

.fitnex-zoho-form .wf-parent{
padding:0;
background:none;
}

.fitnex-zoho-form .wf-wrapper{
width:100%;
max-width:100%;
margin:0;
background:none;
box-shadow:none;
}

.fitnex-zoho-form .wf-row{
margin-bottom:15px;
}

.fitnex-zoho-form .wf-field-input{
width:100%;
padding:12px 15px;
font-size:1rem;
border:2px solid #ccc;
border-radius:5px;
outline:none;
}

.fitnex-zoho-form .wf-field-input:focus{
border-color:#ff4b2b;
}

.fitnex-zoho-form .wf-btn{
background:#ff4b2b;
color:#fff;
border:none;
padding:14px 0;
font-size:1.1rem;
font-weight:600;
border-radius:5px;
cursor:pointer;
width:100%;
transition:background .3s;
}

.fitnex-zoho-form .wf-btn:hover{
background:#ff6a4b;
}

/* =========================
Hero Form Error Style
========================= */

.hero-error{
display:block;
font-family: 'Montserrat', sans-serif;
font-weight:400;
font-size:16px;
line-height:26px;
color:rgb(220,50,50);
margin-top:2px;
}


/* SUCCESS MESSAGE */

.hero-success{
display:none;
margin-top:15px;
padding:12px 16px;
background:#e7f9ed;
border:1px solid #28a745;
color:#1f7a3e;
font-family:Montserrat, sans-serif;
font-size:16px;
border-radius:5px;
}
/* REMOVE BROWSER INVALID RED BORDER */

.fitnex-zoho-form .wf-field-input:focus{
border-color:#ccc;
box-shadow:none;
}

.fitnex-zoho-form input:invalid,
.fitnex-zoho-form input:required:invalid,
.fitnex-zoho-form input:focus:invalid{
border:2px solid #ccc !important;
box-shadow:none !important;
outline:none;
}

/* =========================
Hero Form Loader
========================= */

.hero-loader{
display:none;
justify-content:center;
align-items:center;
margin-top:10px;
}

.loader-spinner{
width:22px;
height:22px;
border:3px solid #eee;
border-top:3px solid #28a745;
border-radius:50%;
animation:spin 0.8s linear infinite;
}

@keyframes spin{
0%{transform:rotate(0deg);}
100%{transform:rotate(360deg);}
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #c5f9fc;
  border-radius: 15px;
  height: 100%;
  position: relative;
  max-width: 450px;
}

.hero-image img {
  border-radius: 20px;
  width: 100%;
  position: relative;
  bottom: 0;
}
/* Black overlay */
.final-cta-bg-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgb(44 44 44 / 85%); /* adjust opacity here */
}


section.stats {
  text-align: center;
}

section.fitness-software {
  text-align: center;
}

h2 {
  font-size: 2.6rem;
  margin-bottom: 12px;
  font-weight: 700;
  color: #0b1220;
}

.lead {
  color: #6b7785;
  margin-bottom: 44px;
  font-size: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.cta-btn {
  display: inline-block;
  background: #0b0b0b;
  color: #fff;
  padding: 14px 34px;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.cta-btn:hover {
  opacity: 0.9;
}

@media (max-width: 900px) {
  .hero-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-image {
    margin-top: 40px;
    border-radius: 10px;
  }

  .hero-form input {
    width: 100%;
  }

  .stats-grid {
    flex-direction: column;
    gap: 28px;
  }

  .stat-item {
    max-width: 100%;
  }

  .image-grid {
    flex-direction: column;
  }

  .image-grid img {
    width: 100% !important;
    max-height: none !important;
  }
}

section.fitness-software {
  padding: 60px 0 100px;
}

.image-grid {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin: 40px 0;
}

.image-grid img {
  width: auto;
  max-height: 400px;
  border-radius: 10px;
}

.feature-section {
  padding: 100px 0;
  background: #fff;
}

.feature-section:nth-child(even) {
  background: #f9fafb;
}

.feature-layout {
  display: flex;
  align-items: center;
  gap: 60px;
}

.feature-layout.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  text-align: left;
}

.feature-content h2 {
  margin-bottom: 30px;
}

.feature-content p {
  margin-bottom: 30px;
  color: #6b7280;
  font-size: 1rem;
}

.feature-image {
  flex: 1;
}

.feature-image img {
  width: 100%;
  max-width: 500px;
  border-radius: 15px;
}

@media (max-width: 900px) {
  .feature-layout,
  .feature-layout.reverse {
    flex-direction: column;
    gap: 40px;
  }

  .feature-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}

.cta-section {
  background: #eafeff;
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: #0b1220;
  margin-bottom: 16px;
}

.cta-section .lead {
  color: #6b7785;
  margin-bottom: 40px;
}

.cta-section .cta-btn {
  margin-bottom: 20px;
}

.cta-disclaimer {
  color: #6b7785;
  font-size: 0.9rem;
}

.testimonials-section {
  background: #e2e8f0;
  padding: 100px 0;
  text-align: center;
}

.testimonials-rating {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 60px;
}

/* .rating-icon {
  width: 40px;
  height: 40px;
} */

.stars {
  color: #fbbf24;
  font-size: 1.5rem;
}

.rating-text {
  color: #374151;
  font-weight: 600;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.testimonial-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.testimonial-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 20px;
}

.testimonial-meta {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.testimonial-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0b1220;
  margin-bottom: 15px;
  line-height: 1.4;
}

.testimonial-link {
  color: #4f46e5;
  text-decoration: none;
  font-weight: 500;
}

.testimonial-link:hover {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.quote-section {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  padding: 100px 0;
  text-align: center;
}

.quote-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto;
}

.quote-image {
  width: 300px;
  height: 300px;
  object-fit: cover;
}

.quote-content {
  flex: 1;
  text-align: left;
}

.quote-text {
  font-size: 1.2rem;
  color: #374151;
  line-height: 1.6;
  margin-bottom: 30px;
  font-style: italic;
}

.quote-author {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0b1220;
  margin-bottom: 5px;
}

.quote-title {
  color: #6b7280;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .quote-container {
    flex-direction: column;
    gap: 40px;
  }

  .quote-content {
    text-align: center;
  }

  .quote-image {
    width: 250px;
    height: 250px;
  }
}
.final-cta-section {
  /* CRITICAL: Set position relative for absolute children */
  position: relative;
  padding: 100px 0;
  text-align: center;
  color: white;
  /* Original background properties removed */
}

/* NEW: Background Layer for Final CTA */
.final-cta-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;

  /* Apply specific background properties that were previously on section.final-cta-section */
  background-size: cover;
  background-position: top;
}

.final-cta-section .container {
  position: relative;
  z-index: 1;
}

.final-cta-section h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.final-cta-section .brand-highlight::after {
  content: "";
  display: block;
  width: 20%; /* Adjust width as needed */
  height: 4px; /* Thickness of the underline */
  background: #ff5e19; /* Underline color */
  margin: 2px auto 0; /* Space above the underline, center it */
  border-radius: 2px; /* Optional: rounded edges */
}
.final-cta-section .brand-highlight:hover::after {
  background: #fff;
}

.final-cta-form {
  max-width: 600px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.final-cta-form input {
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
}

.final-cta-form input::placeholder {
  color: #9ca3af;
}

.phone-input {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 8px;
  padding: 15px 20px;
}

.phone-input img {
  width: 24px;
  height: 16px;
  margin-right: 10px;
}

.phone-input input {
  border: none;
  background: transparent;
  padding: 0;
  flex: 1;
  font-size: 1rem;
}

.final-cta-btn {
  background: #ff4b2b;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.final-cta-btn:hover {
  background: #e63946;
}

.final-cta-disclaimer {
  color: #d1d5db;
  font-size: 0.9rem;
  margin-top: 20px;
}

@media (max-width: 900px) {
  .final-cta-section h2 {
    font-size: 2rem;
  }
}



/* APPLY OLD FINAL CTA FORM STYLE TO ZOHO FORM */

.final-cta-form-wrap {
  max-width: 600px;
  margin: 40px auto 0;
}

.final-cta-form-wrap .fitnex-zoho-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* INPUT STYLE SAME AS OLD FINAL CTA FORM */
.final-cta-form-wrap .wf-field-input{
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  background: white;
  width: 100%;
}

.final-cta-form-wrap input::placeholder {
  color: #9ca3af;
}

/* BUTTON STYLE SAME AS OLD */
.final-cta-form-wrap .wf-btn {
  background: #ff4b2b;
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.final-cta-form-wrap .wf-btn:hover {
  background: #ff4b2b;
}

.final-cta-form-wrap .hero-error{
text-align:left;
display:block;
width:100%;
margin-top:4px;
}
.final-cta-form-wrap .hero-success{
text-align:left;
}