/* ===== ROOT VARIABLES — Logo palette ===== */
/* Teal   : #0d7177  (logo "Safety" + right net)  */
/* Crimson : #9c1239  (logo "Noor/Nets" + left net) */
:root {
  --dark-teal: #084f54; /* deep navbar / footer     */
  --mid-teal: #0d7177; /* primary brand teal       */
  --light-teal: #17959d; /* lighter teal accents     */
  --crimson: #9c1239; /* accent crimson/wine red  */
  --crimson-dark: #7d0e2e; /* darker crimson hover     */
  --white: #ffffff;
  --light-grey: #f4f6f9;
  --grey: #6c757d;
  --dark-grey: #343a40;
  --shadow: 0 8px 30px rgba(8, 79, 84, 0.13);
  --shadow-hover: 0 16px 48px rgba(8, 79, 84, 0.22);
  --radius: 12px;
  --transition: all 0.35s ease;
}

/* ===== GLOBAL ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden; /* must be on html too — body alone doesn't stop fixed-child overflow */
  max-width: 100%;
}

body {
  font-family:
    "Segoe UI",
    system-ui,
    -apple-system,
    sans-serif;
  color: var(--dark-grey);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100%;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
}

section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-teal);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--grey);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 30px;
  margin-bottom: 12px;
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(156, 18, 57, 0.35);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--crimson-dark), var(--crimson));
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(156, 18, 57, 0.48);
}

.btn-outline-custom {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline-custom:hover {
  background: #fff;
  color: var(--dark-teal);
  transform: translateY(-2px);
}

/* ===== NAVBAR ===== */
/* ---- Navbar: white background always ---- */
#mainNav {
  background: #ffffff;
  padding: 16px 0;
  transition:
    padding 0.35s ease,
    box-shadow 0.35s ease;
  z-index: 1050;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
}

#mainNav.scrolled {
  padding: 10px 0;
  box-shadow: 0 3px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand img {
  height: 56px;
  width: auto;
}

/* ---- Nav links — dark-teal on white ---- */
.navbar-nav .nav-link {
  color: var(--dark-teal) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 8px 16px !important;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.3px;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--crimson);
  transition:
    left 0.3s ease,
    right 0.3s ease;
  border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  left: 16px;
  right: 16px;
}

.navbar-nav .nav-link:hover {
  color: var(--crimson) !important;
}

/* ---- Mobile collapse menu ---- */
.navbar-collapse {
  background: #ffffff;
}

.btn-call-nav {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff !important;
  border-radius: 50px;
  padding: 9px 22px !important;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 3px 12px rgba(156, 18, 57, 0.4);
  transition: var(--transition);
}

.btn-call-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(156, 18, 57, 0.55);
}

.btn-call-nav::after {
  display: none !important;
}

.navbar-toggler {
  border: 2px solid rgba(8, 79, 84, 0.35);
  padding: 5px 10px;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23084f54' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== HERO SLIDER ===== */
#heroCarousel {
  height: 100vh;
  min-height: 600px;
}

.hero-slide {
  height: 100vh;
  min-height: 600px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 79, 84, 0.86) 0%,
    rgba(13, 113, 119, 0.6) 55%,
    rgba(156, 18, 57, 0.35) 100%
  );
}

.slide-1 {
  background-image: url("../images/gallery/1.webp");
}
.slide-2 {
  background-image: url("../images/gallery/2.jfif");
}
.slide-3 {
  background-image: url("../images/gallery/3.jfif");
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  width: 90%;
  max-width: 860px;
}

.hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 30px;
  margin-bottom: 20px;
  animation: fadeInDown 0.8s ease;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* highlighted word in hero title uses the lighter teal from the logo */
.hero-title span {
  color: #7ae0e6;
}

.hero-desc {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.carousel-control-prev,
.carousel-control-next {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  top: 50%;
  transform: translateY(-50%);
  margin: 0 20px;
  backdrop-filter: blur(6px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--crimson);
  border-color: var(--crimson);
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: transparent;
  transition: var(--transition);
  margin: 0 5px;
}

.carousel-indicators .active {
  background: var(--crimson);
  border-color: var(--crimson);
  transform: scale(1.3);
}

/* ===== ABOUT ===== */
#about {
  background: var(--white);
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-img-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  transition: var(--transition);
}

.about-img-wrap:hover img {
  transform: scale(1.04);
}

.about-badge-float {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  line-height: 1.2;
  box-shadow: 0 4px 20px rgba(156, 18, 57, 0.4);
}

.about-badge-float span {
  font-size: 0.8rem;
  font-weight: 500;
  display: block;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #eef0f4;
}

.about-feature:last-child {
  border-bottom: none;
}

.about-feature-icon {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--mid-teal), var(--dark-teal));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.about-feature-text {
  font-weight: 600;
  color: var(--dark-teal);
  font-size: 0.95rem;
}

/* ===== SERVICES ===== */
#services {
  background: var(--light-grey);
}

.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid #e8ecf0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--crimson);
}

.service-img-wrap {
  overflow: hidden;
  height: 200px;
  position: relative;
}

.service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img-wrap img {
  transform: scale(1.1);
}

/* Icon overlay now lives between img-wrap and service-body in the DOM,
   so overflow:hidden on img-wrap can no longer clip it.
   We use negative margin to pull it up over the image edge. */
.service-icon-overlay {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--mid-teal), var(--dark-teal));
  border-radius: 50%;
  color: #fff;
  font-size: 1.25rem;
  border: 3px solid #fff;
  box-shadow: 0 4px 16px rgba(13, 113, 119, 0.45);
  margin: -26px auto 0;
  position: relative;
  z-index: 3;
}

.service-body {
  padding: 16px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.service-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--dark-teal);
  margin-bottom: 10px;
}

.service-desc {
  font-size: 0.88rem;
  color: var(--grey);
  line-height: 1.6;
  flex: 1;
  margin-bottom: 18px;
}

.service-btns {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-service-call {
  background: var(--dark-teal);
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-service-call:hover {
  background: var(--mid-teal);
  color: #fff;
  transform: translateY(-2px);
}

.btn-service-enquire {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  border: none;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.btn-service-enquire:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* ===== WHY CHOOSE US ===== */
#why {
  background: var(--dark-teal);
  position: relative;
  overflow: hidden;
}

/* subtle net-pattern overlay using logo teal */
#why::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 38px
    ),
    repeating-linear-gradient(
      -45deg,
      rgba(255, 255, 255, 0.03) 0px,
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 38px
    );
}

#why .section-title {
  color: #fff;
}
#why .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.why-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(4px);
  height: 100%;
}

.why-item:hover {
  background: rgba(156, 18, 57, 0.18);
  border-color: var(--crimson);
  transform: translateY(-6px);
}

.why-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.4rem;
  margin: 0 auto 16px;
  box-shadow: 0 4px 16px rgba(156, 18, 57, 0.4);
  transition: var(--transition);
}

.why-item:hover .why-icon {
  transform: rotateY(180deg);
}

.why-title {
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
}

/* ===== CTA SECTION ===== */
#cta {
  background-image: url("../images/gallery/4.jfif");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
}

#cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(8, 79, 84, 0.9) 0%,
    rgba(156, 18, 57, 0.72) 100%
  );
}

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

#cta h2 {
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 16px;
}

#cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: 36px;
}

/* ===== CONTACT ===== */
#contact {
  background: var(--light-grey);
}

.contact-info-box {
  background: linear-gradient(160deg, var(--dark-teal) 0%, #0a6268 100%);
  border-radius: var(--radius);
  padding: 40px 36px;
  height: 100%;
  color: #fff;
}

.contact-info-box h4 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: #fff;
}

.contact-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  align-items: flex-start;
}

.contact-item-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  flex-shrink: 0;
}

.contact-item-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.6;
}
.contact-item-text strong {
  color: #fff;
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

/* ===== CONTACT FORM BOX ===== */
.contact-form-box {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(8, 79, 84, 0.13);
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Gradient header strip */
.cfb-header {
  background: linear-gradient(
    135deg,
    var(--dark-teal) 0%,
    var(--mid-teal) 100%
  );
  padding: 24px 32px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.cfb-header-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  flex-shrink: 0;
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.cfb-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 4px;
}

.cfb-sub {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Form body padding */
.cfb-form {
  padding: 28px 32px 32px;
  flex: 1;
}

/* Individual field card */
.form-field {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: #f8fafc;
  border: 1.5px solid #e4eaf0;
  border-radius: 12px;
  padding: 14px 16px;
  transition:
    border-color 0.25s,
    box-shadow 0.25s,
    background 0.25s;
}

.form-field:focus-within {
  border-color: var(--mid-teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(13, 113, 119, 0.1);
}

.field-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--mid-teal), var(--dark-teal));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.95rem;
  flex-shrink: 0;
  margin-top: 2px;
  transition: transform 0.25s;
}

.form-field:focus-within .field-icon {
  transform: scale(1.08);
}

.field-body {
  flex: 1;
  min-width: 0;
}

.field-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 5px;
}

.field-label span {
  color: var(--crimson);
}

.field-input {
  display: block;
  width: 100%;
  border: none;
  outline: none;
  background: transparent;
  font-size: 0.93rem;
  color: var(--dark-grey);
  font-family: inherit;
  padding: 0;
  line-height: 1.5;
}

.field-input::placeholder {
  color: #adb5c0;
}

.form-field--textarea .field-icon {
  margin-top: 4px;
}

textarea.field-input {
  resize: none;
  min-height: 72px;
}

/* Submit button */
.cfb-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 15px 24px;
  background: linear-gradient(
    135deg,
    var(--crimson) 0%,
    var(--crimson-dark) 100%
  );
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(156, 18, 57, 0.35);
  position: relative;
  overflow: hidden;
}

.cfb-submit::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.18),
    transparent
  );
  transition: left 0.55s ease;
}

.cfb-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(156, 18, 57, 0.45);
}
.cfb-submit:hover::after {
  left: 150%;
}
.cfb-submit:active {
  transform: translateY(0);
}

/* ===== MAP ===== */
#map {
  background: var(--dark-teal);
  padding: 0;
}
#map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: none;
  filter: grayscale(20%) contrast(1.05);
}

/* ===== GALLERY ===== */
#gallery {
  background: var(--white);
}

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 220px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

/* ===== FOOTER — copyright only ===== */
footer {
  background: #030e10;
}

.footer-bottom {
  padding: 18px 0;
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
}

/* ===== FLOATING ENQUIRE NOW TAB — right side center ===== */
/* Uses writing-mode only; no rotate() so mobile doesn't miscalculate layout width */
.float-enquire-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(180deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  border: none;
  padding: 18px 12px;
  border-radius: 0px 10px 10px 0px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  z-index: 9990;
  box-shadow: -3px 0 16px rgba(156, 18, 57, 0.45);
  transition:
    box-shadow 0.3s ease,
    background 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  /* flip so text reads bottom-to-top */
  transform: translateY(-50%) scale(-1, -1);
  line-height: 1;
}

/* undo the flip for the icon so it stays upright */
.float-enquire-tab i {
  transform: scale(-1, -1);
  font-size: 0.95rem;
}

.float-enquire-tab:hover {
  box-shadow: -5px 0 22px rgba(156, 18, 57, 0.6);
  background: linear-gradient(180deg, var(--crimson-dark), var(--crimson));
  color: #fff;
}

/* ===== FLOATING BUTTONS ===== */
.float-btn-wrap {
  position: fixed;
  bottom: 24px;
  right: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 9999;
}

.float-call {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.3rem;
  box-shadow: 0 4px 18px rgba(156, 18, 57, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.float-call:hover {
  transform: scale(1.12);
  color: #fff;
}

/* ===== MODAL ===== */
.modal-content {
  border-radius: 16px;
  overflow: hidden;
  border: none;
}

.modal-header {
  background: linear-gradient(135deg, var(--dark-teal), var(--mid-teal));
  color: #fff;
  border: none;
  padding: 20px 28px;
}

.modal-title {
  font-weight: 800;
  font-size: 1.2rem;
}

.btn-close-white {
  filter: invert(1) grayscale(100%) brightness(2);
}

.modal-body {
  padding: 28px 32px 32px;
}

.modal-body p.text-muted {
  font-size: 0.88rem;
  margin-bottom: 20px;
  color: var(--grey);
}

.modal-badge {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 14px;
}

/* ===== BACK TO TOP ===== */
#backToTop {
  position: fixed;
  bottom: 100px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: var(--dark-teal);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 9998;
  border: none;
}

#backToTop.show {
  opacity: 1;
  visibility: visible;
}
#backToTop:hover {
  background: var(--crimson);
  transform: translateY(-3px);
}

/* ===== ABOUT SECTION highlight colour ===== */
#about .section-title span {
  color: var(--crimson);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.8);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.pulse {
  position: relative;
}

.pulse::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: inherit;
  animation: pulse-ring 1.6s ease-out infinite;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 991.98px) {
  section {
    padding: 60px 0;
  }
  .navbar-collapse {
    background: #ffffff;
    margin-top: 10px;
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  }
  .about-img-wrap img {
    height: 300px;
  }
  .contact-info-box {
    padding: 28px 24px;
  }
  .cfb-header {
    padding: 20px 24px;
  }
  .cfb-form {
    padding: 20px 24px 24px;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.7rem;
  }
  #heroCarousel,
  .hero-slide {
    min-height: 100svh;
  }
  .float-btn-wrap {
    bottom: 16px;
    right: 14px;
  }
  #cta {
    background-attachment: scroll;
  }

  /* Prevent any child from punching past viewport on mobile */
  section,
  nav,
  footer,
  #map,
  #heroCarousel {
    max-width: 100vw;
    overflow-x: hidden;
  }

  /* Shrink the enquire tab slightly on small screens */
  .float-enquire-tab {
    font-size: 0.75rem;
    padding: 14px 10px;
    gap: 8px;
  }
}
