/* ======================================
   COCONUT TREE SAFETY NETS – MODERN STYLING
   (CONTENT ONLY – HERO USES BALCONY CSS)
====================================== */
/* ======================================
   COCONUT HERO SECTION (SEPARATE FROM BALCONY)
====================================== */

#coco-hero {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  background: linear-gradient(90deg, #0b3c7a 100%);
}

/* overlay */
.coco-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.15);
  z-index: 1;
}

/* container */
.coco-hero-container {
  position: relative;
  z-index: 2;
  text-align: center;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  max-width: 900px;
  width: 100%;
  padding: 75px 20px 0;

  opacity: 0;
  transform: translateX(-40px);
  animation: coco-slide-in 1s ease-out forwards;
}

/* animation */
@keyframes coco-slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* title */
.coco-hero-title {
  font-size: 2.6rem;
  font-weight: 600;
  color: white;
  margin-bottom: 5px;
}

/* text */
.coco-hero-text {
  font-size: 1.1rem;
  color: #f1f1f1;
  line-height: 1.6;
}

/* buttons */
.coco-hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 15px;
}

/* button base */
.coco-btn {
  padding: 11px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

/* call button */
.coco-btn-call {
  background: rgb(216,216,123);
  color: black;
}

.coco-btn-call:hover {
  background: rgb(229,229,99);
  transform: translateY(-2px);
}

/* whatsapp */
.coco-btn-whatsapp {
  background: #52a76e;
  color: white;
}

.coco-btn-whatsapp:hover {
  background: #307149;
  transform: translateY(-2px);
}

/* responsive */
@media (max-width:768px){
  #coco-hero{height:260px;}
  .coco-hero-title{font-size:2rem;}
}

@media (max-width:480px){
  #coco-hero{height:230px;}
  .coco-hero-title{font-size:1.7rem;}
}










/* Page wrapper */
.coco-page {
  color:#1f2a3a;
  background-color: #edeff1;
  padding-top: 40px;
  overflow-x: hidden;
}

/* Section spacing */
.coco-intro,
.coco-benefits,
.coco-contact {
  padding: 90px 0;
}

/* Center alignment helper */
.coco-intro .row,
.coco-contact .row {
  min-height: 420px;
}

/* Titles */
.coco-intro h2,
.coco-benefits h2,
.coco-contact h2 {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 15px;
  position: relative;
}

/* underline accent for intro and benefits */


/* Text */
.coco-intro p,
.coco-benefits p,
.coco-contact p {
  font-size: 1.05rem;
  line-height: 1.9;
  color: black;
  margin-bottom: 20px;
}

/* List styling */
.coco-points {
  list-style: none;
  padding-left: 0;
}

.coco-points li {
  color:black;
  padding-left: 28px;
  margin-bottom: 12px;
  position: relative;
  font-weight: 500;
}

.coco-points li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 2px;
  color: #28a745;
  font-size: 1rem;
}

/* Benefit cards grid */
.coco-benefits .row {
  margin-top: 20px;
}

.benefit-card {
  background: #89b299;
  padding: 14px 16px;
  border-radius: 8px;
  font-weight: 400;
  box-shadow: 0 8px 20px rgba(152, 34, 34, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.benefit-card h5 {
  font-weight: 600;
  margin-bottom: 8px;
}

/* Images */
.coco-img {
  width: 200%;
  max-width: 500px;
  margin: auto;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  object-fit: cover;
  animation: fadeZoom 1s ease forwards;
}

.coco-img:hover {
  transform: scale(1.04);
  transition: transform 0.4s ease;
}

/* Fade + Zoom on load */
@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.coco-benefits {
  text-align: center; /* centers the heading */
}

.coco-benefits h2 {
  position: relative;
  display: inline-block;
}

.coco-benefits h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 80px;   /* small underline */
  height: 5px;
  background-color: #1f2a3a; /* change color if needed */
  border-radius: 2px;
}

/* Contact form */
.coco-form {
  background: #e9efed;
  padding: 10px;
  border-radius: 13px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.coco-form input,
.coco-form textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 14px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 0.95rem;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.coco-form input:focus,
.coco-form textarea:focus {
  outline: none;
  border-color: #f0ad4e;
  box-shadow: 0 0 0 3px rgba(240,173,78,0.25);
}

.coco-form textarea {
  height: 120px;
  resize: none;
}
.coco-contact {
  text-align: center; /* centers the heading */
}

.coco-contact h2 {
  position: relative;
  display: inline-block;
}

.coco-contact h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  width: 50px;   /* small underline */
  height: 3px;
  background-color: #1f2a3a; /* change color if needed */
  border-radius: 2px;
}
/* Submit button */
.coco-form button {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, #f0ad4e, #ec971f);
  color: #fff;
  font-weight: 600;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.coco-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(240,173,78,0.5);
}

/* Responsive */
@media (max-width: 768px) {
  .coco-intro h2,
  .coco-benefits h2,
  .coco-contact h2 {
    font-size: 1.8rem;
  }

  .coco-intro,
  .coco-benefits,
  .coco-contact {
    padding: 60px 0;
  }

  .coco-img {
    max-width: 100%;
    margin-bottom: 20px;
  }

  .coco-benefits .row {
    grid-template-columns: 1fr;
  }
}






/* ======================================
   COCONUT HERO MOBILE FIX (SAME AS BN)
====================================== */

#coco-hero {
  min-height: 420px !important;
  height: auto !important;
  padding: 100px 0 60px !important;
}

.coco-hero-container {
  padding-top: 0 !important;
}

@media (max-width: 768px) {

  #coco-hero {
    min-height: 500px !important;
    padding: 120px 20px 80px !important;
  }

  .coco-hero-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }

  .coco-hero-text {
    font-size: 0.95rem;
    margin-top: 10px;
  }

  .coco-hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .coco-btn {
    width: 100%;
  }
}


/* Scroll To Top Button */

.scroll-top{
  position: fixed;
  right: 25px;
  bottom: 20px; /* above whatsapp button */
  width: 45px;
  height: 45px;
  background: #1b7f5b;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 18px;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.scroll-top:hover{
  background:#145c43;
}

.scroll-top.show{
  opacity:1;
  visibility:visible;
  transform: translateY(0);
}
