/* =========================================================
   Bhoomi Health Care – Landing Page Styles
   ========================================================= */

/* ---------- Local Fonts (Poppins) ---------- */
@font-face { font-family: "Poppins"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/poppins-300.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/poppins-800.woff2") format("woff2"); }

/* ---------- Variables ---------- */
:root {
  --primary: #0889B8;   /* logo sky blue (deepened for readable white text) */
  --primary-dark: #006F8F;
  --secondary: #10B8EA;  /* logo sky blue */
  --teal: #008587;       /* logo ring teal */
  --light-bg: #EEF8FB;
  --white: #FFFFFF;
  --heading: #0D3B4F;
  --text: #64748B;
  --accent: #13C9A5;   /* logo mint green */
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(13, 59, 79, .06);
  --shadow: 0 12px 34px rgba(13, 59, 79, .10);
  --shadow-lg: 0 22px 50px rgba(8, 137, 184, .18);
  --gradient: linear-gradient(135deg, var(--primary) 0%, var(--teal) 100%);
  --transition: all .35s cubic-bezier(.25, .8, .25, 1);
  --nav-h: 78px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--text);
  font-size: 15.5px;
  line-height: 1.75;
  background: var(--white);
  overflow-x: hidden;
}
/* "clip" stops sideways scrolling on mobile without breaking the sticky navbar */
@supports (overflow-x: clip) {
  html, body { overflow-x: clip; }
}
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 700; line-height: 1.3; }
a { text-decoration: none; transition: var(--transition); }
img { max-width: 100%; }
::selection { background: var(--secondary); color: #fff; }

.section { padding: 100px 0; }
.bg-light-teal { background: var(--light-bg); }

/* Section heading */
.section-head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--primary); background: rgba(8, 137, 184, .09);
  padding: 7px 18px; border-radius: 50px; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: 14px; }
.section-title span { color: var(--primary); }
.section-sub { font-size: 1.05rem; margin: 0; }

/* ---------- Buttons ---------- */
.btn-brand, .btn-accent, .btn-outline-light-brand, .btn-outline-brand {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-weight: 600; font-size: 15px; padding: 13px 28px; border-radius: 50px;
  border: 2px solid transparent; transition: var(--transition); cursor: pointer;
}
.btn-brand { background: var(--gradient); color: #fff; box-shadow: 0 8px 22px rgba(8, 137, 184, .30); }
.btn-brand:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 30px rgba(8, 137, 184, .38); }
.btn-accent { background: var(--accent); color: var(--heading); box-shadow: 0 8px 22px rgba(19, 201, 165, .35); }
.btn-accent:hover { background: #0FB594; color: var(--heading); transform: translateY(-3px); }
.btn-outline-light-brand { border-color: rgba(255, 255, 255, .85); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-outline-light-brand:hover { background: #fff; color: var(--primary); transform: translateY(-3px); }
.btn-outline-brand { border-color: var(--primary); color: var(--primary); background: transparent; }
.btn-outline-brand:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ---------- Top Bar ---------- */
.topbar { background: var(--heading); color: rgba(255, 255, 255, .8); font-size: 13.5px; padding: 8px 0; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--accent); }
.topbar i { color: var(--accent); margin-right: 6px; }

/* ---------- Navbar ---------- */
.main-nav {
  background: rgba(255, 255, 255, .98); min-height: var(--nav-h);
  box-shadow: 0 2px 18px rgba(13, 59, 79, .06); transition: var(--transition); padding: 8px 0;
}
.main-nav.scrolled { box-shadow: 0 8px 30px rgba(13, 59, 79, .12); padding: 4px 0; }
.navbar-brand { display: flex; align-items: center; gap: 10px; margin-right: 0; }
.brand-logo { height: 52px; width: auto; transition: var(--transition); }
.main-nav.scrolled .brand-logo { height: 46px; }
.brand-name { font-weight: 800; color: var(--primary); font-size: 1.35rem; line-height: 1.05; letter-spacing: -.2px; }
.brand-name small { display: block; font-size: .68rem; font-weight: 600; color: var(--teal); letter-spacing: 3.2px; text-transform: uppercase; margin-top: 3px; }
.main-nav .nav-link {
  color: var(--heading); font-weight: 500; font-size: 15px; padding: 8px 14px !important;
  position: relative;
}
.main-nav .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--primary); border-radius: 2px; transform: scaleX(0); transition: var(--transition);
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--primary); }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.nav-call { padding: 10px 22px; font-size: 14.5px; }
.navbar-toggler { border: none; padding: 6px; box-shadow: none !important; }
.toggler-bar { display: block; width: 26px; height: 2.5px; background: var(--heading); border-radius: 3px; margin: 5px 0; transition: var(--transition); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .toggler-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero Carousel ---------- */
.hero { position: relative; }
.hero .carousel-item {
  height: calc(100vh - var(--nav-h) - 38px); min-height: 580px; max-height: 860px;
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.hero .carousel-item::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6, 40, 56, .88) 0%, rgba(0, 104, 120, .68) 45%, rgba(8, 137, 184, .12) 100%);
}
.hero .slide-1 { background-image: url("../images/slider/slide-1-indian-nurse-patient-checkup.jpg"); background-position: 70% center; }
.hero .slide-2 { background-image: url("../images/slider/slide-2-indian-elderly-family-care.jpg"); background-position: 75% center; }
.hero .slide-3 { background-image: url("../images/slider/slide-3-indian-newborn-baby-care.jpg"); background-position: 75% center; }

.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-text { max-width: 640px; color: #fff; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .14);
  border: 1px solid rgba(255, 255, 255, .25); backdrop-filter: blur(6px);
  padding: 8px 18px; border-radius: 50px; font-size: 13.5px; font-weight: 500; margin-bottom: 22px;
}
.hero-badge i { color: var(--accent); }
.hero-text h1 { color: #fff; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 20px; letter-spacing: -.5px; }
.hero-text h1 span { color: var(--accent); }
.hero-text p { font-size: clamp(1rem, 1.6vw, 1.15rem); color: rgba(255, 255, 255, .88); margin-bottom: 34px; max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }

.carousel-item.active .hero-badge { animation: fadeUp .8s .1s both; }
.carousel-item.active h1 { animation: fadeUp .8s .3s both; }
.carousel-item.active p { animation: fadeUp .8s .5s both; }
.carousel-item.active .hero-btns { animation: fadeUp .8s .7s both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(35px); } to { opacity: 1; transform: none; } }

.hero .carousel-control-prev, .hero .carousel-control-next { width: 6%; opacity: 0; transition: var(--transition); }
.hero:hover .carousel-control-prev, .hero:hover .carousel-control-next { opacity: 1; }
.hero .ctrl-icon {
  width: 52px; height: 52px; border-radius: 50%; background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .35); display: grid; place-items: center; color: #fff; font-size: 18px;
  backdrop-filter: blur(6px); transition: var(--transition);
}
.hero .ctrl-icon:hover { background: var(--accent); color: var(--heading); border-color: var(--accent); }
.hero .carousel-indicators { margin-bottom: 90px; }
.hero .carousel-indicators [data-bs-target] {
  width: 12px; height: 12px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .55); margin: 0 6px; transition: var(--transition);
}
.hero .carousel-indicators .active { width: 34px; border-radius: 10px; background: var(--accent); }

/* Trust highlights */
.trust-strip { position: relative; z-index: 5; margin-top: -60px; }
.trust-wrap { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 10px; }
.trust-item { display: flex; align-items: center; gap: 15px; padding: 18px 20px; border-radius: var(--radius-sm); transition: var(--transition); height: 100%; }
.trust-item:hover { background: var(--light-bg); }
.trust-icon {
  flex-shrink: 0; width: 54px; height: 54px; border-radius: 14px; background: rgba(8, 137, 184, .1);
  color: var(--primary); display: grid; place-items: center; font-size: 22px; transition: var(--transition);
}
.trust-item:hover .trust-icon { background: var(--gradient); color: #fff; transform: rotateY(180deg); }
.trust-item h6 { margin: 0; font-size: 15px; font-weight: 600; }

/* ---------- About ---------- */
.about-img-wrap { position: relative; padding: 0 30px 30px 0; }
.about-img-wrap::before {
  content: ""; position: absolute; right: 0; bottom: 0; width: 75%; height: 80%;
  background: var(--gradient); border-radius: var(--radius); opacity: .15; z-index: 0;
}
.about-img-main { position: relative; z-index: 1; width: 100%; height: 520px; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-img-small {
  position: absolute; z-index: 2; left: -24px; bottom: -10px; width: 46%; height: 210px; object-fit: cover;
  border-radius: var(--radius); border: 7px solid #fff; box-shadow: var(--shadow);
}
.about-float {
  position: absolute; z-index: 3; right: 6px; top: 34px; background: #fff; border-radius: var(--radius-sm);
  box-shadow: var(--shadow); padding: 14px 18px; display: flex; align-items: center; gap: 12px;
  animation: floatY 4s ease-in-out infinite;
}
.about-float i { width: 44px; height: 44px; border-radius: 12px; background: var(--accent); color: var(--heading); display: grid; place-items: center; font-size: 18px; }
.about-float strong { display: block; color: var(--heading); font-size: 15px; line-height: 1.2; }
.about-float small { font-size: 12.5px; }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.about-content .section-title { text-align: left; }
.about-content p { margin-bottom: 16px; }
.about-points { list-style: none; padding: 0; margin: 24px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; }
.about-points li { display: flex; align-items: center; gap: 10px; color: var(--heading); font-weight: 500; font-size: 14.5px; }
.about-points li i { color: var(--secondary); font-size: 18px; }

/* ---------- Services ---------- */
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  height: 100%; display: flex; flex-direction: column; transition: var(--transition); border: 1px solid rgba(8, 137, 184, .06);
}
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.service-img { position: relative; height: 230px; overflow: hidden; }
.service-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.service-card:hover .service-img img { transform: scale(1.08); }
.service-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(13, 59, 79, .45)); }
.service-body { position: relative; }
.service-icon {
  position: absolute; z-index: 2; left: 24px; top: -29px; width: 58px; height: 58px; border-radius: 16px;
  background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 22px;
  box-shadow: 0 10px 22px rgba(8, 137, 184, .35); border: 4px solid #fff; transition: var(--transition);
}
.service-card:hover .service-icon { background: var(--accent); color: var(--heading); }
.service-body { padding: 40px 24px 24px; display: flex; flex-direction: column; flex-grow: 1; }
.service-body h3 { font-size: 1.2rem; margin-bottom: 10px; }
.service-body p { font-size: 14.5px; margin-bottom: 22px; flex-grow: 1; }
.service-actions { display: flex; gap: 10px; }
.service-actions a, .service-actions button { flex: 1; padding: 10px 12px; font-size: 14px; }

/* ---------- Why Choose Us ---------- */
.why-section { position: relative; overflow: hidden; }
.why-section::before {
  content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; top: -220px; right: -200px;
  background: radial-gradient(circle, rgba(16, 184, 234, .12), transparent 70%);
}
.why-card {
  position: relative; background: #fff; border-radius: var(--radius); padding: 34px 28px; height: 100%;
  box-shadow: var(--shadow-sm); transition: var(--transition); overflow: hidden; border: 1px solid rgba(8, 137, 184, .06);
}
.why-card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 4px; background: var(--gradient);
  transform: scaleX(0); transform-origin: left; transition: var(--transition);
}
.why-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 66px; height: 66px; border-radius: 18px; background: rgba(8, 137, 184, .09); color: var(--primary);
  display: grid; place-items: center; font-size: 26px; margin-bottom: 22px; transition: var(--transition);
}
.why-card:hover .why-icon { background: var(--gradient); color: #fff; transform: scale(1.08) rotate(-6deg); }
.why-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.why-card p { font-size: 14.5px; margin: 0; }

/* CTA band */
.cta-band {
  position: relative; border-radius: 24px; overflow: hidden; padding: 56px 50px; color: #fff;
  background: linear-gradient(110deg, rgba(8, 137, 184, .96) 0%, rgba(16, 184, 234, .9) 60%, rgba(16, 184, 234, .7) 100%), url("../images/slider/slide-2-indian-elderly-family-care.jpg") right center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, .88); margin: 0; }

/* ---------- Testimonials ---------- */
.testimonial-section { background: var(--light-bg); position: relative; }
.testi-card {
  background: #fff; border-radius: var(--radius); padding: 38px 32px 30px; box-shadow: var(--shadow-sm);
  height: 100%; position: relative; transition: var(--transition); border: 1px solid rgba(8, 137, 184, .06);
}
.testi-card:hover { box-shadow: var(--shadow); }
.testi-quote { position: absolute; right: 28px; top: 24px; font-size: 46px; color: rgba(8, 137, 184, .1); }
.testi-stars { color: var(--accent); font-size: 15px; letter-spacing: 3px; margin-bottom: 16px; }
.testi-card p { font-size: 1.02rem; color: var(--heading); font-style: italic; margin-bottom: 26px; min-height: 84px; }
.testi-author { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px dashed rgba(8, 137, 184, .2); }
.testi-avatar {
  width: 52px; height: 52px; border-radius: 50%; background: var(--gradient); color: #fff;
  display: grid; place-items: center; font-weight: 700; font-size: 17px; flex-shrink: 0;
}
.testi-author h4 { font-size: 1rem; margin: 0; }
.testi-author small { color: var(--primary); font-weight: 500; }
#testimonialCarousel .carousel-inner { padding: 12px 6px 20px; }
.testi-controls { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 26px; }
.testi-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--primary); background: transparent;
  color: var(--primary); display: grid; place-items: center; transition: var(--transition);
}
.testi-btn:hover { background: var(--primary); color: #fff; }
.testi-dots { display: flex; gap: 8px; }
.testi-dots button { width: 10px; height: 10px; border-radius: 10px; border: 0; padding: 0; background: rgba(8, 137, 184, .25); transition: var(--transition); }
.testi-dots button.active { width: 28px; background: var(--primary); }

/* ---------- Contact ---------- */
.contact-info-card { background: var(--gradient); color: #fff; border-radius: var(--radius); padding: 40px 34px; height: 100%; position: relative; overflow: hidden; }
.contact-info-card::after {
  content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -90px; bottom: -110px;
  background: rgba(255, 255, 255, .08);
}
.contact-info-card h3 { color: #fff; font-size: 1.5rem; margin-bottom: 8px; }
.contact-info-card > p { color: rgba(255, 255, 255, .85); margin-bottom: 26px; }
.contact-line { display: flex; gap: 16px; margin-bottom: 22px; position: relative; z-index: 1; }
.contact-line .ci-icon {
  flex-shrink: 0; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .16);
  display: grid; place-items: center; font-size: 18px; color: #fff;
}
.contact-line span { display: block; font-size: 13px; color: rgba(255, 255, 255, .75); }
.contact-line a, .contact-line address { color: #fff; font-weight: 500; margin: 0; font-style: normal; line-height: 1.6; word-break: break-word; }
.contact-line a:hover { color: var(--accent); }
.contact-info-card .btn-accent, .contact-info-card .btn-outline-light-brand { position: relative; z-index: 1; }

.form-label { font-weight: 500; color: var(--heading); font-size: 14px; margin-bottom: 6px; }
.form-label .req { color: #e05252; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 16px; top: 16px; color: var(--primary); font-size: 15px; pointer-events: none; z-index: 2; }
.input-icon .form-control, .input-icon .form-select { padding-left: 44px; }
.form-control, .form-select {
  border: 1.5px solid #dbe7e7; border-radius: var(--radius-sm); padding: 12px 16px; font-size: 15px; color: var(--heading);
  background-color: #fbfefe; transition: var(--transition);
}
.form-control:focus, .form-select:focus { border-color: var(--secondary); box-shadow: 0 0 0 4px rgba(16, 184, 234, .14); background: #fff; }
.form-control::placeholder { color: #9aa8b8; }
textarea.form-control { min-height: 110px; resize: vertical; }
.invalid-feedback { font-size: 13px; }
.form-success {
  display: none; text-align: center; padding: 30px 10px;
}
.form-success.show { display: block; animation: fadeUp .6s both; }
.form-success .success-icon {
  width: 84px; height: 84px; border-radius: 50%; background: rgba(37, 211, 102, .12); color: #1fae55;
  display: grid; place-items: center; font-size: 38px; margin: 0 auto 18px;
}
.form-success h4 { margin-bottom: 8px; }
.form-error { display: none; font-size: 14px; }
.form-error.show { display: block; }

.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); line-height: 0; height: 100%; min-height: 460px; border: 6px solid #fff; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 448px; border: 0; }

/* Modal */
.enquiry-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; }
.enquiry-modal .modal-header { background: var(--gradient); color: #fff; border: 0; padding: 22px 28px; }
.enquiry-modal .modal-title { color: #fff; font-size: 1.25rem; }
.enquiry-modal .modal-header p { color: rgba(255, 255, 255, .85); font-size: 13.5px; }
.enquiry-modal .btn-close { filter: invert(1) grayscale(1) brightness(2); opacity: .9; }
.enquiry-modal .modal-body { padding: 28px; }

/* ---------- Footer ---------- */
.footer { background: #0B2E3D; color: rgba(255, 255, 255, .7); padding-top: 80px; font-size: 14.5px; }
.footer h5 { color: #fff; font-size: 1.1rem; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer h5::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; border-radius: 3px; background: var(--accent); }
.footer-logo { background: #fff; border-radius: 14px; padding: 10px 18px; display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; }
.footer-logo .brand-logo { height: 46px; }
.footer-logo .brand-name { font-size: 1.15rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: rgba(255, 255, 255, .7); display: inline-flex; align-items: center; gap: 8px; }
.footer-links a i { font-size: 11px; color: var(--secondary); transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact li { display: flex; gap: 12px; margin-bottom: 16px; }
.footer-contact i { color: var(--secondary); margin-top: 5px; width: 16px; }
.footer-contact a { color: rgba(255, 255, 255, .75); word-break: break-word; }
.footer-contact a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 50px; padding: 22px 0; font-size: 14px; }

/* ---------- Floating Elements ---------- */
@keyframes pulseRing { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }
.float-tooltip {
  position: absolute; right: 72px; top: 50%; transform: translateY(-50%); white-space: nowrap; background: #fff;
  color: var(--heading); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 8px; box-shadow: var(--shadow-sm);
  opacity: 0; pointer-events: none; transition: var(--transition);
}

/* Floating call button (bottom right) */
.call-float {
  position: fixed; right: 24px; bottom: 26px; z-index: 1040; width: 60px; height: 60px; border-radius: 50%;
  background: var(--gradient); color: #fff; display: grid; place-items: center; font-size: 24px;
  box-shadow: 0 10px 26px rgba(8, 137, 184, .45);
}
.call-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--primary); z-index: -1;
  animation: pulseRing 2s infinite;
}
.call-float i { animation: ring 1.8s ease-in-out infinite; }
.call-float:hover { color: #fff; transform: scale(1.08); }
.call-float:hover .float-tooltip { opacity: 1; right: 76px; }
@keyframes ring {
  0%, 50%, 100% { transform: rotate(0); }
  10%, 30% { transform: rotate(-14deg); }
  20%, 40% { transform: rotate(14deg); }
}

/* Floating "Enquire Now" tab (right edge, vertically centred) */
.enquire-float {
  position: fixed; right: 0; top: 50%; z-index: 1040; transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl; display: flex; align-items: center; gap: 10px;
  background: var(--accent); color: var(--heading); border: 0; border-radius: 0 12px 12px 0;
  padding: 18px 11px; font-weight: 700; font-size: 14.5px; letter-spacing: .5px;
  box-shadow: 0 8px 24px rgba(13, 59, 79, .22); transition: var(--transition);
}
.enquire-float i { transform: rotate(90deg); font-size: 14px; }
.enquire-float:hover { background: var(--primary); color: #fff; padding-left: 15px; }

.back-to-top {
  position: fixed; left: 24px; bottom: 30px; z-index: 1040; width: 48px; height: 48px; border-radius: 14px; border: 0;
  background: var(--primary); color: #fff; font-size: 17px; box-shadow: var(--shadow); opacity: 0; visibility: hidden;
  transform: translateY(20px); transition: var(--transition);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); color: var(--heading); }

.mobile-action-bar {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 1045; background: #fff;
  box-shadow: 0 -6px 24px rgba(13, 59, 79, .14); padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
}
.mobile-action-bar .mab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.mobile-action-bar a, .mobile-action-bar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0;
  padding: 8px 4px; border-radius: 12px; font-size: 12.5px; font-weight: 600; color: #fff;
}
.mobile-action-bar i { font-size: 18px; }
.mab-call { background: var(--primary); }
.mab-enquire { background: var(--accent); color: var(--heading) !important; }

/* ---------- Reveal Animations ---------- */
.reveal { opacity: 0; transition: opacity .9s ease, transform .9s cubic-bezier(.2, .8, .2, 1); will-change: opacity, transform; }
.reveal.fade-up { transform: translateY(50px); }
.reveal.fade-left { transform: translateX(-60px); }
.reveal.fade-right { transform: translateX(60px); }
.reveal.zoom-in { transform: scale(.9); }
.reveal.in-view { opacity: 1; transform: none; }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { animation: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .main-nav .nav-link { padding: 8px 10px !important; font-size: 14.5px; }
  .about-img-small { left: 0; }
}
@media (max-width: 991.98px) {
  /* Slide up instead of in from the sides, so nothing sits off-screen */
  .reveal.fade-left, .reveal.fade-right { transform: translateY(50px); }
  :root { --nav-h: 70px; }
  .section { padding: 80px 0; }
  .brand-logo { height: 46px; }
  .brand-name { font-size: 1.2rem; }
  .main-nav .navbar-collapse {
    background: #fff; margin-top: 10px; border-radius: var(--radius-sm); padding: 12px 16px 18px;
    box-shadow: var(--shadow); max-height: calc(100vh - 100px); overflow-y: auto;
  }
  .main-nav .nav-link { padding: 11px 6px !important; border-bottom: 1px solid #eef4f4; }
  .main-nav .nav-link::after { display: none; }
  .nav-call { width: 100%; margin-top: 14px; }
  .hero .carousel-item { height: 640px; min-height: 0; }
  .hero .carousel-item::before { background: linear-gradient(90deg, rgba(6, 40, 56, .9) 0%, rgba(0, 104, 120, .72) 70%, rgba(8, 137, 184, .45) 100%); }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
  .about-img-wrap { margin-bottom: 30px; }
  .about-img-main { height: 440px; }
  .about-img-small { left: 0; }
  .cta-band { padding: 44px 32px; text-align: center; }
}
@media (max-width: 767.98px) {
  body { font-size: 15px; padding-bottom: 72px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .hero .carousel-item { height: 600px; }
  .hero .carousel-item::before { background: linear-gradient(180deg, rgba(6, 40, 56, .72) 0%, rgba(0, 104, 120, .86) 100%); }
  .hero-text { text-align: center; margin: 0 auto; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-btns a, .hero-btns button { padding: 12px 22px; font-size: 14.5px; }
  .hero .carousel-indicators { margin-bottom: 76px; }
  .trust-strip { margin-top: -50px; }
  .trust-item { padding: 14px; flex-direction: column; text-align: center; gap: 10px; }
  .trust-item h6 { font-size: 13.5px; }
  .about-img-wrap { padding: 0 16px 16px 0; }
  .about-img-main { height: 340px; }
  .about-img-small { display: none; }
  .about-float { right: 24px; top: auto; bottom: 34px; }
  .about-points { grid-template-columns: 1fr; }
  .contact-info-card { padding: 30px 22px; }
  .map-wrap, .map-wrap iframe { min-height: 340px; }
  .mobile-action-bar { display: block; }
  .call-float { right: 16px; bottom: 90px; width: 52px; height: 52px; font-size: 21px; }
  .enquire-float { padding: 14px 9px; font-size: 13px; }
  .call-float .float-tooltip { display: none; }
  .back-to-top { left: 16px; bottom: 90px; width: 44px; height: 44px; }
  .footer { padding-top: 60px; }
  .topbar { display: none; }
}
@media (max-width: 400px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .service-actions { flex-direction: column; }
}
