:root{
  --primary:#067473;
  --accent:#60d4d0;
  --dark:#0c3f3f;
  --light:#f4fbfb;
  --text:#23313a;
  --white:#ffffff;
  --muted:#5f727a;
  --shadow:0 18px 45px rgba(6,116,115,0.14);
}

/* RESET */

*{
  box-sizing:border-box;
  margin:0;
  padding:0;Fhero
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:linear-gradient(to bottom,var(--light),#ffffff);
  color:var(--text);
  line-height:1.65;
}

.container{
  width:min(92%,1180px);
  margin:auto;
}

img{
  max-width:100%;
  display:block;
}

a{
  text-decoration:none;
  color:inherit;
}

/* HEADER */

header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,0.95);
  backdrop-filter:blur(10px);
  border-bottom:1px solid rgba(6,116,115,.08);
  z-index:1000;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:16px 0;
  position:relative;
}

.brand{
  display:inline-flex;
  align-items:center;
  flex-shrink:0;
  min-width:0;
}

.brand img{
  height:68px;
  width:auto;
  max-width:220px;
  object-fit:contain;
}

/* MOBILE NAV TOGGLE */

.nav-toggle{
  display:none;
  width:48px;
  height:48px;
  border:none;
  background:var(--white);
  border-radius:14px;
  cursor:pointer;
  box-shadow:0 8px 20px rgba(6,116,115,.10);
  padding:0;
  flex-shrink:0;
}

.nav-toggle span{
  display:block;
  width:22px;
  height:2px;
  background:var(--primary);
  margin:5px auto;
  border-radius:999px;
  transition:.25s ease;
}

.nav-toggle.active span:nth-child(1){
  transform:translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2){
  opacity:0;
}

.nav-toggle.active span:nth-child(3){
  transform:translateY(-7px) rotate(-45deg);
}

/* NAVIGATION */

.site-nav{
  display:flex;
  align-items:center;
  gap:24px;
  flex-wrap:nowrap;
}

.site-nav a{
  font-weight:700;
  color:var(--primary);
  position:relative;
  padding-bottom:6px;
  transition:.25s ease;
  white-space:nowrap;
}

.site-nav a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:0;
  height:3px;
  background:var(--primary);
  border-radius:999px;
  transition:width .25s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after{
  width:100%;
}

.site-nav a:hover,
.site-nav a.active{
  color:var(--dark);
}

/* BOOK ENQUIRY BUTTON */

.nav-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:0 18px;
  border-radius:999px;
  background:var(--primary);
  color:var(--white) !important;
  box-shadow:var(--shadow);
  white-space:nowrap;
  line-height:1;
  flex-shrink:0;
}

.nav-btn::after{
  display:none;
}

.nav-btn:hover{
  transform:translateY(-2px);
  background:var(--primary);
  color:var(--white) !important;
}

/* HERO */

.hero{
  position:relative;
  background:linear-gradient(
    to bottom,
    #067473 0%,
    #0a7f7d 40%,
    #0a8b89 70%,
    #60d4d0 100%
  );
  color:var(--white);
}
.hero::after{
  content:"";
  position:absolute;
  bottom:-1px;
  left:0;
  width:100%;
  height:60px;
  background:linear-gradient(to bottom,rgba(255,255,255,0),#ffffff);
  pointer-events:none;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:38px;
  align-items:center;
  padding:50px 0;
}

.badge{
  display:inline-block;
  padding:8px 16px;
  border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.22);
  margin-bottom:12px;
  font-size:14px;
  font-weight:700;
}

.hero h1{
  font-size:clamp(2.2rem,4.5vw,3.4rem);
  margin-bottom:14px;
  line-height:1.2;
  max-width:600px;
}

.hero p{
  font-size:1.08rem;
  max-width:680px;
  color:#eafefe;
}

.hero-actions{
  display:flex;
  gap:16px;
  margin-top:22px;
  flex-wrap:wrap;
}


.hero-card{
  display:flex;
  align-items:center;
  justify-content:center;
}

.hero-card-inner{
  width:100%;
  background:rgba(255,255,255,0.14);
  border:1px solid rgba(255,255,255,0.22);
  border-radius:24px;
  padding:28px;
  box-shadow:0 18px 45px rgba(0,0,0,.12);
  backdrop-filter:blur(8px);
}

.hero-card-top{
  display:flex;
  align-items:center;
  gap:14px;
  margin-bottom:18px;
}

.hero-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:var(--white);
  color:var(--primary);
  font-size:1.5rem;
  font-weight:700;
  flex-shrink:0;
}

.hero-card h2{
  margin:0;
  font-size:1.35rem;
  line-height:1.2;
  color:var(--white);
}

.hero-card small{
  color:#eafefe;
  display:block;
  margin-top:4px;
}

.pill{
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.18);
  border-radius:18px;
  padding:18px 20px;
}

.pill p{
  margin:0 0 12px 0;
  color:#eafefe;
}

.pill p:last-child{
  margin-bottom:0;
}

/* BUTTONS */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:0 22px;
  border-radius:16px;
  font-weight:700;
  transition:.25s ease;
}

.btn-light{
  background:var(--white);
  color:var(--primary);
  box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.btn-outline{
  border:1px solid rgba(255,255,255,.4);
  color:var(--white);
  background:rgba(255,255,255,.08);
}

.btn:hover{
  transform:translateY(-2px);
}

/* SECTION SPACING */

main section{
  padding:22px 0;
}

/* HEADINGS */

.section-head{
  max-width:760px;
  margin-bottom:14px;
}

.kicker{
  color:var(--primary);
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:12px;
  font-weight:800;
  margin-bottom:6px;
}

.section-title{
  font-size:clamp(1.6rem,2.5vw,2.2rem);
  line-height:1.15;
  color:#143139;
  margin-bottom:10px;
}

.lead{
  color:var(--muted);
  font-size:1.05rem;
}

/* GRID */

.three-col{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  align-items:stretch;
}

/* CARDS */

.card{
  background:var(--white);
  border-radius:26px;
  padding:28px;
  box-shadow:var(--shadow);
  border:1px solid rgba(6,116,115,.06);
  display:flex;
  flex-direction:column;
  height:100%;
}

.card-icon{
  width:56px;
  height:56px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ffffff;
  border:2px solid var(--primary);
  margin-bottom:14px;
  font-size:0; /* hides emoji icons */

  background-image:url("/images/butterfly-logo.jpg");
  background-size:80%;
  background-repeat:no-repeat;
  background-position:center;
}

.card h3{
  color:var(--primary);
  margin-bottom:8px;
  font-size:1.35rem;
}

.card p{
  color:#63757d;
}

/* CONTACT AREA */

.contact-strip{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.contact-card,
.info-card{
  background:var(--white);
  padding:26px;
  border-radius:26px;
  box-shadow:var(--shadow);
}

.info-value{
  color:var(--primary);
  font-weight:800;
  font-size:1.15rem;
  margin-bottom:10px;
}

/* CONTACT FORM */

.contact-panel{
  background:linear-gradient(180deg,var(--primary),#0c6463);
  color:var(--white);
  border-radius:30px;
  padding:34px;
  box-shadow:0 24px 50px rgba(6,116,115,.24);
}

.contact-panel h3{
  font-size:1.9rem;
  margin-bottom:8px;
}

.contact-panel p{
  color:#ddffff;
  margin-bottom:18px;
}

.contact-panel form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.form-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:16px;
}

.contact-panel input,
.contact-panel textarea,
.contact-panel button,
.contact-panel select{
  font:inherit;
}

.contact-panel input,
.contact-panel textarea{
  width:100%;
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.1);
  color:var(--white);
  line-height:1.4;
  box-sizing:border-box;
  appearance:none;
  -webkit-appearance:none;
  transition:border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-panel textarea{
  min-height:140px;
  resize:vertical;
}

.contact-panel input::placeholder,
.contact-panel textarea::placeholder{
  color:#dbffff;
}

.contact-panel input:focus,
.contact-panel textarea:focus{
  outline:none;
  border-color:rgba(255,255,255,.7);
  box-shadow:0 0 0 3px rgba(255,255,255,.12);
  background:rgba(255,255,255,.14);
}

.submit-btn{
  margin-top:6px;
  width:100%;
  min-height:52px;
  border:none;
  border-radius:16px;
  background:var(--white);
  color:var(--primary);
  font-weight:800;
  cursor:pointer;
  box-shadow:0 10px 25px rgba(0,0,0,.12);
  transition:.25s ease;
}

.submit-btn:hover{
  transform:translateY(-2px);
}

.form-error{
  background:#ffe9e9;
  border:1px solid #ffb5b5;
  color:#b30000;
  padding:12px 16px;
  border-radius:12px;
  margin-bottom:16px;
  font-size:14px;
  line-height:1.45;
}

.hidden-field{
  display:none;
}

/* STANDARD IMAGE CARDS */

.photo-placeholder{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,0.08);
}

.photo-placeholder img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* HERO IMAGE HOLDER - SAME ON ALL PAGES */

.hero-image{
  position:relative;
  width:100%;
  height:420px;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 12px 40px rgba(0,0,0,0.08);
}

.hero-image > img,
.hero-image .slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* HERO IMAGE ROTATION */

.hero-slider{
  position:relative;
}

.hero-slider .slide{
  opacity:0;
  animation:heroFade 15s infinite;
}

.hero-slider .slide:first-child{
  opacity:1;
}

.hero-slider .slide:nth-child(1){
  animation-delay:0s;
}

.hero-slider .slide:nth-child(2){
  animation-delay:5s;
}

.hero-slider .slide:nth-child(3){
  animation-delay:10s;
}

@keyframes heroFade{
  0%{opacity:0;}
  5%{opacity:1;}
  30%{opacity:1;}
  35%{opacity:0;}
  100%{opacity:0;}
}

/* FOOTER */

footer{
  margin-top:6px;
  padding:22px 0;
  border-top:1px solid rgba(6,116,115,.08);
  background:#fbffff;
}

.footer-inner{
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  color:#3c4f56;
  font-size:14px;
}

.footer-left p{
  margin-bottom:6px;
}

.footer-left strong{
  color:var(--text);
}

.footer-left a{
  color:var(--primary);
  font-weight:700;
}

.footer-right{
  text-align:right;
}

/* RESPONSIVE */

@media (max-width:980px){

  .hero-grid,
  .three-col,
  .contact-strip{
    grid-template-columns:1fr;
  }

  .footer-right{
    text-align:left;
  }
}

@media (max-width:860px){

  .brand img{
    height:58px;
    max-width:190px;
  }

  .nav-toggle{
    display:block;
  }

  .site-nav{
    display:none;
    position:absolute;
    top:100%;
    right:0;
    left:0;
    background:rgba(255,255,255,0.98);
    backdrop-filter:blur(10px);
    border-top:1px solid rgba(6,116,115,.08);
    box-shadow:0 16px 30px rgba(0,0,0,.08);
    padding:18px;
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }

  .site-nav.open{
    display:flex;
  }

  .site-nav a{
    width:100%;
    padding:8px 0;
  }

  .site-nav a::after{
    bottom:2px;
  }

  .nav-btn{
    width:100%;
    justify-content:center;
    min-height:48px;
    padding:0 18px;
  }

  .hero-grid{
    padding:60px 0;
  }

  .hero-image{
    height:360px;
  }

  .form-grid{
    grid-template-columns:1fr;
  }

  main section{
    padding:18px 0;
  }
}

@media (max-width:640px){

  .header-inner{
    gap:16px;
    padding:14px 0;
  }

  .brand img{
    height:52px;
    max-width:170px;
  }

  .hero h1{
    font-size:clamp(2rem,8vw,2.8rem);
  }

  .hero p{
    font-size:1rem;
  }

  .hero-actions{
    flex-direction:column;
    align-items:stretch;
  }

  .hero-actions .btn{
    width:100%;
  }

  .card,
  .contact-card,
  .info-card,
  .contact-panel{
    padding:22px;
  }

  .section-title{
    font-size:clamp(1.5rem,6vw,1.9rem);
  }

  .hero-image{
    height:280px;
  }
}

.form-embed {
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.form-embed iframe {
  display: block;
  width: 100%;
  border: 0;
}

.iframe-wrap{
  border-radius:22px;
  overflow:hidden;
  background:#fff;
}

.iframe-wrap iframe{
  display:block;
  width:100%;
  border:0;
}

.contact-strip {
  background: #f7f9fb;
  padding: 20px 0;
}

#form-loading{
  text-align:center;
  padding:24px;
  font-weight:600;
  color:var(--muted);
}