*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Segoe UI', Arial, sans-serif;
}

body{
  background:#fff;
  color:#333;
  line-height:1.6;
}

/* TOP BAR */
.top-bar{
  text-align:center;
  padding:12px;
  font-weight:700;
  color:#2e7d32;
  border-bottom:1px solid #ddd;
}

/* HERO */
.hero{
  min-height:100svh; /* modern safe viewport */
  background:linear-gradient(135deg,#00c853,#2e7d32);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:20px;
}

@supports not (height: 100svh) {
  .hero {
    min-height: 100vh;
  }
}


.hero-content{
  color:#fff;
}

.hero h1{
  font-weight:300;
}

.hero h2{
  font-size:3rem;
  margin:10px 0;
}

.formula{
  margin:20px 0;
  background:rgba(255,255,255,.2);
  padding:10px 20px;
  border-radius:30px;
}

/* BUTTON */
.btn{
  display:inline-block;
  padding:14px 30px;
  background:#fff;
  color:#2e7d32;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  cursor:pointer;
  border:none;
}

/* SECTIONS */
.section{
  padding:70px 20px;
  max-width:1100px;
  margin:auto;
}

.section h2{
  text-align:center;
  color:#2e7d32;
  margin-bottom:20px;
}

.center{
  text-align:center;
}

/* ABOUT */
.about-card{
  background:#fff;
  padding:40px;
  border-radius:22px;
  box-shadow:0 18px 40px rgba(0,0,0,.1);
  text-align:center;
}

/* GRID */
.bg-light{background:#f5f8f6;}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:20px;
}

.card{
  background:#fff;
  padding:28px;
  border-radius:18px;
  box-shadow:0 12px 25px rgba(0,0,0,.08);
}

.card h3{
  color:#2e7d32;
  margin-bottom:8px;
}

/* COMPARISON */
.highlight{
  text-align:center;
  font-weight:600;
  margin-bottom:30px;
}

.comparison{
  display:flex;
  gap:30px;
  justify-content:center;
  flex-wrap:wrap;
}

.box{
  width:320px;
  padding:30px;
  border-radius:20px;
}

.red{background:#ffebee;}
.green{background:#e8f5e9;}

/* BENEFITS */
.benefits{
  list-style:none;
  max-width:650px;
  margin:auto;
}

.benefits li{
  background:#fff;
  margin-bottom:12px;
  padding:16px;
  border-radius:14px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
}

/* MOTIVATION */
.bg-dark{
  background:#2e7d32;
  color:#fff;
  text-align:center;
}

.quote{
  font-size:1.8rem;
  font-style:italic;
}

.motivation{
  margin-top:10px;
}

/* FORM */
.contact-form{
  max-width:520px;
  margin:40px auto 0;
  background:#fff;
  padding:36px;
  border-radius:22px;
  box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.form-group{margin-bottom:18px;}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width:100%;
  padding:14px 16px;
  border-radius:12px;
  border:1.5px solid #dcdcdc;
  background:#f9fbfa;
}

.contact-form select{
  appearance:none;
  background-image:
    linear-gradient(45deg,transparent 50%,#2e7d32 50%),
    linear-gradient(135deg,#2e7d32 50%,transparent 50%);
  background-position:calc(100% - 20px) 22px,calc(100% - 15px) 22px;
  background-size:5px 5px;
  background-repeat:no-repeat;
}

.contact-form textarea{resize:none;}

.contact-form .btn{
  width:100%;
  background:linear-gradient(135deg,#00c853,#2e7d32);
  color:#fff;
}

#thankyou{
  display:none;
  text-align:center;
  margin-top:20px;
  font-weight:600;
  color:#2e7d32;
}

/* FOOTER */
footer{
  background:#111;
  color:#ccc;
  text-align:center;
  padding:30px;
}

footer h3{color:#00c853;}


/* ===== MODERN BEFORE AFTER TABS ===== */
.ba-modern-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:30px;
  margin-top:40px;
}

.ba-modern-card{
  background:#fff;
  border-radius:22px;
  padding:18px;
  box-shadow:0 15px 35px rgba(0,0,0,0.12);
  text-align:center;
}

.ba-tabs{
  display:flex;
  background:#f0f0f0;
  border-radius:30px;
  padding:4px;
  margin-bottom:14px;
}

.ba-tab{
  flex:1;
  padding:8px 0;
  border:none;
  border-radius:30px;
  background:transparent;
  font-weight:600;
  cursor:pointer;
  transition:all .3s ease;
}

.ba-tab.active{
  background:#2e7d32;
  color:#fff;
}

.ba-image{
  width:100%;
  height:auto;
  max-height:420px;
  object-fit:contain;
  background:#000; /* optional: fills empty space */
  border-radius:18px;
}


.ba-caption{
  margin-top:12px;
  font-weight:600;
  color:#2e7d32;
}

/* Mobile */
@media(max-width:480px){
  .ba-image{
    height:220px;
  }
}





/* Range Slider */
.ba-range{
  width:100%;
  margin:18px 0;
  -webkit-appearance:none;
  appearance:none;
  height:6px;
  background:#ddd;
  border-radius:10px;
  outline:none;
}

.ba-range::-webkit-slider-thumb{
  -webkit-appearance:none;
  appearance:none;
  width:22px;
  height:22px;
  background:#2e7d32;
  border-radius:50%;
  cursor:pointer;
}

.ba-range::-moz-range-thumb{
  width:22px;
  height:22px;
  background:#2e7d32;
  border-radius:50%;
  cursor:pointer;
}

.ba-caption{
  font-weight:600;
  color:#2e7d32;
}

/* Mobile optimization */
@media(max-width:480px){
  .ba-img-wrapper{
    height:240px;
  }
}

/* ===== MOBILE INTERACTION EFFECTS ===== */



/* Better mobile tap areas */
button,
.btn,
input,
select,
textarea{
  min-height:48px;
}

/* Mobile typography scaling */
@media(max-width:480px){
  body{
    font-size:15px;
  }

  .hero h2{
    font-size:2.1rem;
  }

  .section{
    padding:60px 16px;
  }
}

/* Touch feedback */
.card:active,
.btn:active{
  transform:scale(0.97);
}

/* ===== FINAL MOBILE VISIBILITY SAFETY ===== */
@media (max-width: 768px) {
  body,
  section,
  header,
  footer {
    overflow: visible !important;
    height: auto !important;
  }
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 55px;
  height: 55px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}



/* ===== MAP STYLING ===== */
.map-container {
  width: 100%;
  height: 300px;
  margin: 20px 0;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}


/* Mobile */
@media (max-width: 768px) {
  .map-container {
    height: 250px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}

/* Mobile number validation */
.error-msg{
  display:none;
  color:#d32f2f;
  font-size:0.85rem;
  margin-top:6px;
}


/* Input error highlight */
.contact-form input:invalid {
  border-color:#d32f2f;
}

.contact-form input:valid {
  border-color:#2e7d32;
}