.error-name, .error-email, .error-phone, .error-email-valid, .error-phone-valid {
    color: red;
    float: left;
    margin-bottom: 10px;
    display: none;
}

#loading_bottom_1, #loading_bottom_2, #loading_bottom_3 {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0px 0px -50px;
}

#contactForm {
    position: relative;
}



:root {
  --kb-ink: #0f1f1c;
  --kb-forest: #134e43;
  --kb-emerald: #1f7a63;
  --kb-gold: #c9a24a;
  --kb-gold-soft: #f4e9cf;
  --kb-cream: #faf7f1;
  --kb-muted: #5d6b67;
  --kb-line: #e4ddcd;
  --kb-radius: 18px;
  --kb-shadow: 0 18px 40px -18px rgba(15, 31, 28, .35);
}
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: "Manrope", system-ui, -apple-system, sans-serif;
  color: var(--kb-ink);
  background: var(--kb-cream);
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: "Playfair Display", Georgia, serif; letter-spacing: -.01em; }
a { color: inherit; }
img { max-width: 100%; height: auto; }

/* Coming soon banner */
.coming-soon-banner {
  background: linear-gradient(90deg, var(--kb-gold), #e3c372, var(--kb-gold));
  color: var(--kb-ink);
  font-weight: 600;
  font-size: .9rem;
  text-align: center;
  padding: .55rem 1rem;
  letter-spacing: .04em;
}
.coming-soon-banner .pill {
  background: var(--kb-ink);
  color: var(--kb-gold);
  border-radius: 999px;
  padding: .15rem .65rem;
  font-size: .72rem;
  margin-right: .5rem;
  text-transform: uppercase;
  letter-spacing: .12em;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(250, 247, 241, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--kb-line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: 0 8px 24px -16px rgba(15, 31, 28, .4); }
.brand-mark {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--kb-forest), var(--kb-emerald));
  color: var(--kb-gold);
  display: grid; place-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
}
.brand-name { font-family: "Playfair Display", serif; font-weight: 700; line-height: 1.1; color: var(--kb-forest); }
.brand-name small { display: block; font-family: "Manrope", sans-serif; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--kb-muted); font-weight: 600; }
.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--kb-ink) !important;
  padding: .5rem .9rem !important;
  position: relative;
}
.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: .9rem; right: .9rem; bottom: .2rem;
  height: 2px;
  background: var(--kb-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { transform: scaleX(1); }

/* Buttons */
.btn-kb {
  background: var(--kb-forest);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px -12px rgba(19, 78, 67, .8);
}
.btn-kb:hover, .btn-kb:focus { background: var(--kb-emerald); color: #fff; transform: translateY(-2px); }
.btn-kb-gold {
  background: var(--kb-gold);
  color: var(--kb-ink);
  border: none;
  font-weight: 700;
  padding: .75rem 1.4rem;
  border-radius: 999px;
  transition: transform .2s ease, background .2s ease;
}
.btn-kb-gold:hover { background: #d9b45f; color: var(--kb-ink); transform: translateY(-2px); }
.btn-kb-outline {
  border: 2px solid var(--kb-forest);
  color: var(--kb-forest);
  font-weight: 700;
  padding: .7rem 1.3rem;
  border-radius: 999px;
  background: transparent;
}
.btn-kb-outline:hover { background: var(--kb-forest); color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--kb-ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url("../images/slider/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom { from { transform: scale(1.05); } to { transform: scale(1.15); } }
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(15,31,28,.92) 0%, rgba(15,31,28,.65) 50%, rgba(15,31,28,.25) 100%),
    radial-gradient(circle at 80% 20%, rgba(201,162,74,.25), transparent 50%);
  z-index: 1;
}
.hero .container { position: relative; z-index: 2; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--kb-gold);
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--kb-gold); }
.hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4.4rem);
  line-height: 1.05;
  font-weight: 700;
  margin: 1rem 0;
}
.hero h1 em { color: var(--kb-gold); font-style: italic; }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 1.1rem; max-width: 560px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  max-width: 560px;
}
.hero-stats div {
  border-top: 1px solid rgba(201,162,74,.5);
  padding-top: .75rem;
}
.hero-stats strong { display: block; font-family: "Playfair Display", serif; font-size: 1.7rem; color: var(--kb-gold); }
.hero-stats span { font-size: .8rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; }

.enquiry-card {
  background: rgba(255,255,255,.98);
  color: var(--kb-ink);
  border-radius: var(--kb-radius);
  padding: 2rem;
  box-shadow: var(--kb-shadow);
}
.enquiry-card h3 { font-size: 1.5rem; color: var(--kb-forest); }
.form-control, .form-select {
  border-radius: 12px;
  padding: .7rem .9rem;
  border: 1px solid var(--kb-line);
  background: #fff;
}
.form-control:focus, .form-select:focus {
  border-color: var(--kb-emerald);
  box-shadow: 0 0 0 .2rem rgba(31,122,99,.18);
}

/* Sections */
section { padding: 6rem 0; position: relative; }
.section-tag {
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--kb-emerald);
}
.section-title { font-size: clamp(2rem, 4vw, 2.9rem); line-height: 1.12; color: var(--kb-ink); margin: .6rem 0 1rem; }
.section-sub { color: var(--kb-muted); font-size: 1.05rem; max-width: 620px; }
.section-head { margin-bottom: 3rem; }

/* About */
.about-visual { position: relative; }
.about-visual img {
  border-radius: 28px;
  box-shadow: var(--kb-shadow);
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: -24px; right: -18px;
  background: var(--kb-forest);
  color: #fff;
  border-radius: 18px;
  padding: 1.2rem 1.4rem;
  box-shadow: var(--kb-shadow);
  max-width: 220px;
}
.about-badge strong { font-family: "Playfair Display", serif; font-size: 2rem; color: var(--kb-gold); display: block; line-height: 1; }
.feature-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1rem 0;
  border-bottom: 1px dashed var(--kb-line);
}
.feature-item:last-child { border-bottom: none; }
.feature-icon {
  flex: 0 0 48px; height: 48px;
  border-radius: 14px;
  background: var(--kb-gold-soft);
  color: var(--kb-forest);
  display: grid; place-items: center;
  font-size: 1.3rem;
}
.feature-item h4 { font-size: 1.1rem; margin: 0 0 .2rem; }
.feature-item p { margin: 0; color: var(--kb-muted); font-size: .95rem; }

/* Gallery */
.gallery-section { background: #fff; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 220px;
  gap: 1rem;
}
.gallery-item {
  position: relative;
  border-radius: var(--kb-radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--kb-ink);
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .7s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
  content: attr(data-caption);
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.2rem 1.2rem 1rem;
  background: linear-gradient(0deg, rgba(15,31,28,.85), transparent);
  color: #fff;
  font-weight: 600;
  transform: translateY(20%);
  opacity: 0;
  transition: all .4s ease;
}
.gallery-item:hover::after { transform: translateY(0); opacity: 1; }
.g-1 { grid-column: span 7; grid-row: span 2; }
.g-2 { grid-column: span 5; }
.g-3 { grid-column: span 5; }
.g-4 { grid-column: span 4; }
.g-5 { grid-column: span 4; }
.g-6 { grid-column: span 4; }

/* Amenities */
.amenities-section {
  background: var(--kb-forest);
  color: #fff;
  overflow: hidden;
}
.amenities-section .section-title { color: #fff; }
.amenities-section .section-sub { color: rgba(255,255,255,.75); }
.amenities-section .section-tag { color: var(--kb-gold); }
.amenity-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--kb-radius);
  padding: 1.8rem 1.4rem;
  height: 100%;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.amenity-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,.1);
  border-color: var(--kb-gold);
}
.amenity-card i {
  font-size: 2rem;
  color: var(--kb-gold);
  display: inline-block;
  margin-bottom: 1rem;
}
.amenity-card h4 { font-size: 1.15rem; color: #fff; margin-bottom: .4rem; }
.amenity-card p { font-size: .92rem; color: rgba(255,255,255,.72); margin: 0; }

/* Location */
.location-wrap { background: var(--kb-cream); }
.map-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--kb-shadow);
  border: 6px solid #fff;
  height: 100%;
  min-height: 380px;
}
.map-frame iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; }
.distance-list li {
  display: flex; justify-content: space-between; align-items: center;
  padding: .9rem 0;
  border-bottom: 1px solid var(--kb-line);
  font-weight: 600;
}
.distance-list li span:last-child { color: var(--kb-emerald); font-weight: 700; }
.distance-list li:last-child { border-bottom: none; }

/* FAQ */
.faq-section { background: #fff; }
.accordion-item {
  border: 1px solid var(--kb-line);
  border-radius: 16px !important;
  margin-bottom: .8rem;
  overflow: hidden;
  background: var(--kb-cream);
}
.accordion-button {
  font-weight: 700;
  font-size: 1.02rem;
  background: transparent;
  color: var(--kb-ink);
  padding: 1.1rem 1.3rem;
  box-shadow: none !important;
}
.accordion-button:not(.collapsed) { background: var(--kb-gold-soft); color: var(--kb-forest); }
.accordion-body { color: var(--kb-muted); padding: 0 1.3rem 1.3rem; }

/* Partners */
.partners-section { background: var(--kb-cream); padding: 4.5rem 0; }
.partner-card {
  background: #fff;
  border: 1px solid var(--kb-line);
  border-radius: var(--kb-radius);
  padding: 2rem;
  height: 100%;
  transition: transform .3s ease, box-shadow .3s ease;
}
.partner-card:hover { transform: translateY(-4px); box-shadow: var(--kb-shadow); }
.partner-logo {
  width: 64px; height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--kb-gold), #e3c372);
  display: grid; place-items: center;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--kb-ink);
  margin-bottom: 1rem;
}

/* Contact */
.contact-section {
  background:
    radial-gradient(circle at 10% 10%, rgba(201,162,74,.15), transparent 40%),
    var(--kb-ink);
  color: #fff;
}
.contact-section .section-title { color: #fff; }
.contact-section .section-sub { color: rgba(255,255,255,.75); }
.contact-section .section-tag { color: var(--kb-gold); }
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  margin-bottom: 1.6rem;
}
.contact-info-item i {
  flex: 0 0 48px; height: 48px;
  border-radius: 14px;
  background: rgba(201,162,74,.15);
  color: var(--kb-gold);
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.contact-info-item strong { display: block; color: #fff; }
.contact-info-item a, .contact-info-item span { color: rgba(255,255,255,.75); text-decoration: none; }
.contact-info-item a:hover { color: var(--kb-gold); }
.contact-form {
  background: #fff;
  color: var(--kb-ink);
  border-radius: 24px;
  padding: 2.4rem;
}
.contact-form .form-label { font-weight: 600; font-size: .88rem; color: var(--kb-ink); }

/* Footer */
.site-footer {
  background: #0a1614;
  color: rgba(255,255,255,.7);
  padding: 3rem 0 2rem;
  font-size: .92rem;
}
.site-footer h5 { font-family: "Manrope", sans-serif; font-size: .95rem; color: #fff; font-weight: 700; margin-bottom: 1rem; }
.site-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.site-footer a:hover { color: var(--kb-gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: .5rem; }
.social-link {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.2);
  display: inline-grid; place-items: center;
  margin-right: .4rem;
  transition: all .25s ease;
}
.social-link:hover { background: var(--kb-gold); color: var(--kb-ink) !important; border-color: var(--kb-gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .85rem; }

/* Floating + mobile shortcuts */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  font-size: 1.8rem;
  box-shadow: 0 12px 28px -8px rgba(37, 211, 102, .7);
  z-index: 1050;
  text-decoration: none;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); }
  50% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
}
.mobile-cta-bar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1040;
  background: #fff;
  border-top: 1px solid var(--kb-line);
  box-shadow: 0 -10px 30px -12px rgba(15,31,28,.35);
  padding: .6rem .6rem calc(.6rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(3, 1fr);
  gap: .5rem;
}
.mobile-cta-bar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .15rem;
  padding: .5rem .3rem;
  border-radius: 14px;
  text-decoration: none;
  font-size: .78rem;
  font-weight: 700;
  color: var(--kb-ink);
}
.mobile-cta-bar a i { font-size: 1.3rem; }
.mobile-cta-bar .wa { background: #e8fbef; color: #128c4a; }
.mobile-cta-bar .enq { background: var(--kb-forest); color: #fff; }
.mobile-cta-bar .call { background: var(--kb-gold-soft); color: var(--kb-forest); }

@media (max-width: 991.98px) {
  .mobile-cta-bar { display: grid; }
  body { padding-bottom: 88px; }
  .whatsapp-float { bottom: 100px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }
  .g-1, .g-2, .g-3, .g-4, .g-5, .g-6 { grid-column: span 1; grid-row: span 1; }
  .g-1 { grid-column: span 2; grid-row: span 2; }
  .hero { min-height: auto; padding: 4rem 0 5rem; }
  .hero-bg { animation: none; }
  .about-badge { right: 10px; bottom: -20px; }
  section { padding: 4.2rem 0; }
  .contact-form { padding: 1.8rem; }
}
@media (max-width: 575.98px) {
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-1 { grid-column: span 1; grid-row: span 1; }
  .hero-stats { grid-template-columns: 1fr 1fr 1fr; gap: .6rem; }
  .hero-stats strong { font-size: 1.3rem; }
  .enquiry-card { padding: 1.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}


/* Custom CAPTCHA Section */
.captcha-section {
    background: rgba(255,255,255,.08);
    border-radius: 15px;
    padding: 10px;
    margin: 22px 0;
    border: 1px solid rgba(255,255,255,.2);
    position: relative;
}

.captcha-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary-color);
}

.captcha-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.captcha-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
}

.captcha-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    background: var(--white-color);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,.2);
}

.captcha-code {
    font-family: 'Courier New', monospace;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 10px;
    padding: 0;
    background: rgba(255,255,255,.08);
    border-radius: 8px;
    color: var(--primary-color);
    user-select: none;
    text-align: center;
    flex-grow: 1;
    margin-right: 20px;
    border: 1px dashed #cbd5e1;
}

.captcha-refresh-btn {
    background: var(--gradient-primary);
    color: var(--white-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(12, 74, 110, 0.2);
}

.captcha-refresh-btn:hover {
    transform: rotate(180deg);
    box-shadow: 0 8px 20px rgba(12, 74, 110, 0.3);
}

.captcha-input-container {
    margin-bottom: 15px;
}

.captcha-input {
    color: #000;
    width: 100%;
    padding: 8px 10px;
    border: 1px dashed #cbd5e1;
    border-radius: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    letter-spacing: 5px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s;
    background-color: var(--white-color);
}

.captcha-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(12, 74, 110, 0.1);
}

.captcha-message {
    font-size: 0.9rem;
    margin-top: 10px;
    padding: 12px 15px;
    border-radius: 8px;
    display: none;
    align-items: center;
    gap: 10px;
}

.captcha-success {
    background-color: #d1fae5;
    color: #065f46;
    display: flex;
}

.captcha-error {
    background-color: #fee2e2;
    color: #991b1b;
    display: flex;
}
