/* ==========================================================================
   AL MISBAH CABINS NAGPUR - Custom Stylesheet
   Palette: taken from the logo - Navy Blue (#07306c) / Red (#ca1416) / White / Light Grey
   ========================================================================== */

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

/* ---------- 2. Design tokens ---------- */
:root {
  --navy: #07306c;
  --navy-2: #0d4291;
  --navy-dark: #041d45;
  --accent: #ca1416;
  --accent-light: #ff5a5d;
  --accent-dark: #a30f12;
  --white: #ffffff;
  --grey: #f2f4f7;
  --grey-2: #e4e8ee;
  --text: #4a5568;
  --heading: #07306c;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(7, 48, 108, .10);
  --shadow-lg: 0 20px 50px rgba(7, 48, 108, .18);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --nav-h: 86px;
}

/* ---------- 3. Base ---------- */
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  background: var(--white);
  font-size: 15.5px;
  line-height: 1.75;
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, h6 { color: var(--heading); font-weight: 700; line-height: 1.25; }
a { color: var(--accent); text-decoration: none; transition: color .25s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }
section { position: relative; }
.section-pad { padding: 96px 0; }
.bg-grey { background: var(--grey); }
.text-accent { color: var(--accent) !important; }

/* Section headings */
.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--accent); font-weight: 600; font-size: .82rem;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px;
}
.section-tag::before { content: ''; width: 28px; height: 2px; background: var(--accent); }
.section-title { font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 800; margin-bottom: 12px; }
.section-title span { color: var(--accent); }
.section-sub { font-size: 1.05rem; color: #6b7686; max-width: 640px; }
.section-head { margin-bottom: 52px; }
.section-head.text-center .section-sub { margin-inline: auto; }
.section-head.text-center .section-tag::after { content: ''; width: 28px; height: 2px; background: var(--accent); }

/* ---------- 4. Buttons ---------- */
.btn { font-weight: 600; border-radius: 50px; padding: 12px 28px; letter-spacing: .3px; transition: all .3s var(--ease); }
.btn i { margin-right: 6px; }
.btn-accent { background: var(--accent); color: #fff; border: 2px solid var(--accent); box-shadow: 0 8px 20px rgba(202, 20, 22, .3); }
.btn-accent:hover, .btn-accent:focus { background: var(--accent-dark); border-color: var(--accent-dark); color: #fff; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(202, 20, 22, .4); }
.btn-navy { background: var(--navy); color: #fff; border: 2px solid var(--navy); }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-2); border-color: var(--navy-2); color: #fff; transform: translateY(-3px); }
.btn-outline-light-2 { color: #fff; border: 2px solid rgba(255, 255, 255, .85); background: transparent; }
.btn-outline-light-2:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-outline-navy { color: var(--navy); border: 2px solid var(--navy); background: transparent; }
.btn-outline-navy:hover { background: var(--navy); color: #fff; transform: translateY(-3px); }
.btn-sm-card { padding: 9px 16px; font-size: .85rem; }

/* ---------- 5. Top bar ---------- */
.topbar { background: var(--navy-dark); color: rgba(255, 255, 255, .8); font-size: .85rem; padding: 8px 0; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--accent-light); }
.topbar i { color: var(--accent); margin-right: 6px; }

/* ---------- 6. Navbar (sticky) ---------- */
.main-nav {
  background: #fff; padding: 8px 0;
  box-shadow: 0 2px 18px rgba(7, 48, 108, .08);
  transition: padding .3s, box-shadow .3s;
  z-index: 1030;
}
.main-nav.scrolled { padding: 3px 0; box-shadow: 0 6px 24px rgba(7, 48, 108, .14); }
.main-nav .navbar-brand img { height: 68px; width: auto; transition: height .3s; }
.main-nav.scrolled .navbar-brand img { height: 56px; }
.main-nav .nav-link {
  color: var(--navy); font-weight: 600; font-size: .95rem;
  padding: 10px 14px !important; position: relative;
}
.main-nav .nav-link::after {
  content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 2px; background: var(--accent); transform: scaleX(0); transition: transform .3s var(--ease);
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--accent); }
.main-nav .nav-link:hover::after, .main-nav .nav-link.active::after { transform: scaleX(1); }
.main-nav .navbar-toggler { border: 2px solid var(--navy); padding: 6px 10px; border-radius: 8px; }
.main-nav .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(202, 20, 22, .3); }
.nav-call { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 700; }
.nav-call .icon {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent); color: #fff; animation: ring 2.2s infinite;
}
.nav-call small { display: block; font-size: .72rem; font-weight: 500; color: #7a8495; line-height: 1.1; }
@keyframes ring { 0%, 100% { box-shadow: 0 0 0 0 rgba(202, 20, 22, .55); } 70% { box-shadow: 0 0 0 12px rgba(202, 20, 22, 0); } }

/* ---------- 7. Hero carousel ---------- */
.hero .carousel-item {
  height: calc(100vh - 40px); min-height: 560px; max-height: 860px;
  background-size: cover; background-position: center; background-color: var(--navy);
}
.hero .carousel-item::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(4, 29, 69, .94) 0%, rgba(7, 48, 108, .78) 45%, rgba(7, 48, 108, .25) 100%);
}
.hero .carousel-item.zoom-bg { animation: none; }
.hero .hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero .hero-text { max-width: 720px; color: #fff; }
.hero .hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 50px;
  background: rgba(202, 20, 22, .16); border: 1px solid rgba(202, 20, 22, .55);
  color: var(--accent-light); font-size: .82rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 20px;
}
.hero h1, .hero h2.hero-title {
  color: #fff; font-size: clamp(2rem, 5vw, 3.6rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px;
}
.hero .hero-title span { color: var(--accent); }
.hero p.lead { font-size: clamp(1rem, 1.6vw, 1.18rem); color: rgba(255, 255, 255, .88); margin-bottom: 32px; font-weight: 400; }
.hero .hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .hero-features { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 38px; color: rgba(255, 255, 255, .85); font-size: .9rem; }
.hero .hero-features i { color: var(--accent); margin-right: 6px; }

/* Slide-in animation of caption on active slide */
.hero .carousel-item .anim { opacity: 0; transform: translateY(30px); }
.hero .carousel-item.active .anim { animation: fadeUp .9s var(--ease) forwards; }
.hero .carousel-item.active .anim.d1 { animation-delay: .15s; }
.hero .carousel-item.active .anim.d2 { animation-delay: .35s; }
.hero .carousel-item.active .anim.d3 { animation-delay: .55s; }
.hero .carousel-item.active .anim.d4 { animation-delay: .75s; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.hero .carousel-indicators { margin-bottom: 30px; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 5px; border-radius: 5px; border: 0; background: rgba(255, 255, 255, .55); transition: all .3s; }
.hero .carousel-indicators .active { width: 54px; background: var(--accent); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: 7%; opacity: 1; }
.hero .carousel-control-prev-icon, .hero .carousel-control-next-icon {
  width: 52px; height: 52px; border-radius: 50%; background-color: rgba(255, 255, 255, .14);
  background-size: 40%; border: 1px solid rgba(255, 255, 255, .35); transition: background-color .3s;
}
.hero .carousel-control-prev:hover .carousel-control-prev-icon,
.hero .carousel-control-next:hover .carousel-control-next-icon { background-color: var(--accent); border-color: var(--accent); }

/* ---------- 8. Highlights strip below hero ---------- */
.highlights { margin-top: -60px; position: relative; z-index: 5; }
.highlight-box {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 26px 22px; display: flex; gap: 16px; align-items: center; height: 100%;
  border-bottom: 4px solid transparent; transition: all .35s var(--ease);
}
.highlight-box:hover { transform: translateY(-6px); border-bottom-color: var(--accent); }
.highlight-box .icon {
  flex: 0 0 58px; height: 58px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(202, 20, 22, .12); color: var(--accent); font-size: 1.5rem;
}
.highlight-box h3 { font-size: 1.02rem; margin: 0 0 2px; }
.highlight-box p { margin: 0; font-size: .86rem; line-height: 1.5; }

/* ---------- 9. About ---------- */
.about-img-wrap { position: relative; padding: 0 30px 30px 0; }
.about-img-wrap .main-img { border-radius: var(--radius); box-shadow: var(--shadow-lg); width: 100%; aspect-ratio: 4 / 4.2; object-fit: cover; }
.about-img-wrap .small-img {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1; object-fit: cover;
  border-radius: var(--radius); border: 6px solid #fff; box-shadow: var(--shadow-lg);
}
.about-img-wrap::before {
  content: ''; position: absolute; left: -18px; top: -18px; width: 120px; height: 120px;
  background-image: radial-gradient(var(--accent) 2px, transparent 2px); background-size: 14px 14px; z-index: -1; opacity: .6;
}
.experience-badge {
  position: absolute; left: 24px; bottom: 54px; background: var(--accent); color: #fff;
  padding: 18px 22px; border-radius: var(--radius); box-shadow: var(--shadow-lg); text-align: center;
}
.experience-badge strong { display: block; font-size: 1.9rem; line-height: 1; font-weight: 800; }
.experience-badge span { font-size: .8rem; font-weight: 500; }
.about-list { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.about-list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--navy); font-size: .93rem; }
.about-list i { color: var(--accent); margin-top: 6px; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.stat-box { background: var(--grey); border-radius: 12px; padding: 16px 10px; text-align: center; border-top: 3px solid var(--accent); }
.stat-box strong { display: block; color: var(--navy); font-size: 1.6rem; font-weight: 800; line-height: 1.1; }
.stat-box span { font-size: .78rem; font-weight: 500; }

/* ---------- 10. Products ---------- */
.product-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  height: 100%; display: flex; flex-direction: column; transition: all .4s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.product-card .img-wrap { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .img-wrap img { transform: scale(1.1); }
.product-card .img-wrap::after {
  content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(4, 29, 69, .55), transparent 55%);
}
.product-card .tag {
  position: absolute; top: 16px; left: 16px; z-index: 2; background: var(--accent); color: #fff;
  font-size: .72rem; font-weight: 600; padding: 5px 12px; border-radius: 50px; letter-spacing: .5px; text-transform: uppercase;
}
.product-card .icon-badge {
  position: absolute; right: 20px; top: -28px; z-index: 3; width: 56px; height: 56px; border-radius: 50%;
  background: var(--navy); color: #fff; display: grid; place-items: center; font-size: 1.3rem;
  border: 4px solid #fff; transition: background .3s;
}
.product-card:hover .icon-badge { background: var(--accent); }
.product-card .body { padding: 28px 24px 24px; display: flex; flex-direction: column; flex: 1; position: relative; }
.product-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.product-card p { font-size: .92rem; margin-bottom: 20px; flex: 1; }
.product-card .actions { display: flex; gap: 10px; }
.product-card .actions .btn { flex: 1; }

/* ---------- 11. Why choose us ---------- */
.why-section { background: var(--grey); overflow: hidden; }
.why-intro p { margin-bottom: 14px; }
.feature-box {
  background: #fff; border-radius: var(--radius); padding: 32px 26px; height: 100%; position: relative;
  box-shadow: var(--shadow); overflow: hidden; transition: all .4s var(--ease); z-index: 1;
}
.feature-box::before {
  content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--navy), var(--navy-2));
  transform: translateY(101%); transition: transform .45s var(--ease); z-index: -1;
}
.feature-box:hover::before { transform: translateY(0); }
.feature-box:hover h3, .feature-box:hover p { color: #fff; }
.feature-box .num { position: absolute; right: 20px; top: 12px; font-size: 3.2rem; font-weight: 800; color: rgba(7, 48, 108, .06); line-height: 1; transition: color .4s; }
.feature-box:hover .num { color: rgba(255, 255, 255, .08); }
.feature-box .icon {
  width: 66px; height: 66px; border-radius: 16px; display: grid; place-items: center; font-size: 1.6rem;
  background: rgba(202, 20, 22, .12); color: var(--accent); margin-bottom: 20px; transition: all .4s;
}
.feature-box:hover .icon { background: var(--accent); color: #fff; transform: rotateY(180deg); }
.feature-box h3 { font-size: 1.15rem; margin-bottom: 8px; transition: color .4s; }
.feature-box p { margin: 0; font-size: .92rem; transition: color .4s; }

/* ---------- 12. Strengths strip ---------- */
.strengths {
  background: linear-gradient(rgba(4, 29, 69, .92), rgba(7, 48, 108, .92)), url('../images/gallery/office/office-04.jpg') center / cover no-repeat;
  color: #fff; padding: 80px 0;
}
.strengths .section-title { color: #fff; }
.strengths .section-sub { color: rgba(255, 255, 255, .75); }
.strength-item {
  text-align: center; padding: 30px 14px; border-radius: var(--radius); height: 100%;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: all .35s var(--ease);
}
.strength-item:hover { background: var(--accent); border-color: var(--accent); transform: translateY(-8px); }
.strength-item .icon {
  width: 72px; height: 72px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center;
  font-size: 1.7rem; color: var(--accent); background: rgba(255, 255, 255, .08); border: 2px dashed rgba(202, 20, 22, .6); transition: all .35s;
}
.strength-item:hover .icon { color: #fff; border-color: #fff; background: rgba(255, 255, 255, .15); }
.strength-item h3 { color: #fff; font-size: 1rem; margin: 0; font-weight: 600; }

/* ---------- 13. Gallery ---------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.gallery-filters button {
  border: 2px solid var(--grey-2); background: #fff; color: var(--navy); font-weight: 600; font-size: .88rem;
  padding: 8px 20px; border-radius: 50px; transition: all .3s;
}
.gallery-filters button:hover { border-color: var(--accent); color: var(--accent); }
.gallery-filters button.active { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(202, 20, 22, .3); }
.gallery-item.is-hidden { display: none; }
.gallery-item.reveal-in { animation: galleryIn .5s var(--ease); }
@keyframes galleryIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.gallery-link { display: block; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; background: var(--grey-2); box-shadow: 0 6px 18px rgba(7, 48, 108, .08); }
.gallery-link img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; }
.gallery-link:hover img { transform: scale(1.12); filter: brightness(.75); }
.gallery-overlay {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(to top, rgba(4, 29, 69, .85), rgba(4, 29, 69, .15)); color: #fff; opacity: 0; transition: opacity .4s;
  text-align: center; padding: 10px;
}
.gallery-overlay i { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); font-size: 1.1rem; transform: scale(.4); transition: transform .4s var(--ease); }
.gallery-overlay span { font-weight: 600; font-size: .9rem; }
.gallery-link:hover .gallery-overlay, .gallery-link:focus-visible .gallery-overlay { opacity: 1; }
.gallery-link:hover .gallery-overlay i { transform: scale(1); }
.gallery-link .video-badge {
  position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 2.6rem; pointer-events: none;
  text-shadow: 0 4px 16px rgba(0, 0, 0, .5);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 2000; background: rgba(2, 14, 34, .95); display: none;
  align-items: center; justify-content: center; padding: 60px 70px;
}
.lightbox.open { display: flex; animation: lbFade .3s ease; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
.lightbox .lb-stage { max-width: 100%; max-height: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img, .lightbox video { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.lightbox .lb-caption { color: #fff; margin-top: 14px; font-weight: 500; text-align: center; }
.lightbox .lb-caption small { color: rgba(255, 255, 255, .6); margin-left: 8px; }
.lightbox button {
  position: absolute; border: 0; width: 50px; height: 50px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; font-size: 1.2rem; transition: background .3s;
}
.lightbox button:hover { background: var(--accent); }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- 14. CTA banner ---------- */
.cta-banner {
  background: linear-gradient(100deg, rgba(4, 29, 69, .95) 0%, rgba(7, 48, 108, .85) 55%, rgba(202, 20, 22, .75) 100%),
              url('../images/gallery/cargo%20container/cargo-container-1.jpeg') center / cover no-repeat;
  background-attachment: fixed;
  padding: 100px 0; color: #fff; text-align: center;
}
.cta-banner h2 { color: #fff; font-size: clamp(1.8rem, 3.6vw, 2.8rem); font-weight: 800; margin-bottom: 14px; }
.cta-banner p { font-size: 1.1rem; color: rgba(255, 255, 255, .88); max-width: 660px; margin: 0 auto 34px; }
.cta-banner .cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 15. Contact ---------- */
.contact-info-card {
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-2) 100%); color: rgba(255, 255, 255, .85);
  border-radius: var(--radius); padding: 38px 32px; height: 100%; position: relative; overflow: hidden;
}
.contact-info-card::after {
  content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%;
  border: 40px solid rgba(202, 20, 22, .12); right: -80px; top: -80px;
}
.contact-info-card h3 { color: #fff; font-size: 1.35rem; margin-bottom: 6px; }
.contact-info-card .lead-sm { font-size: .92rem; margin-bottom: 26px; }
.contact-line { display: flex; gap: 16px; margin-bottom: 22px; position: relative; z-index: 1; }
.contact-line .icon {
  flex: 0 0 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(202, 20, 22, .18); color: var(--accent-light); font-size: 1.15rem;
}
.contact-line h4 { color: #fff; font-size: .95rem; margin: 0 0 2px; font-weight: 600; }
.contact-line a, .contact-line p { color: rgba(255, 255, 255, .85); margin: 0; font-size: .93rem; word-break: break-word; }
.contact-line a:hover { color: var(--accent-light); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); margin-top: 24px; line-height: 0; }
.map-wrap iframe { width: 100%; height: 300px; border: 0; }
.map-full { margin-top: 0; height: 100%; min-height: 420px; }
.map-full iframe { height: 100%; min-height: 420px; }

.enquiry-card { background: #fff; border-radius: var(--radius); padding: 38px 34px; box-shadow: var(--shadow-lg); height: 100%; border-top: 5px solid var(--accent); }
.enquiry-card h3 { font-size: 1.4rem; margin-bottom: 4px; }
.form-label { font-weight: 600; color: var(--navy); font-size: .88rem; margin-bottom: 6px; }
.form-label .req { color: var(--accent); }
.form-control, .form-select {
  border: 1.5px solid var(--grey-2); border-radius: 10px; padding: 12px 16px; font-size: .93rem; background-color: #fbfcfd;
  transition: border-color .25s, box-shadow .25s;
}
.form-control:focus, .form-select:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(202, 20, 22, .12); background-color: #fff; }
.input-icon { position: relative; }
.input-icon > i { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); color: #9aa5b4; pointer-events: none; z-index: 4; }
.input-icon textarea ~ i, .input-icon.textarea > i { top: 18px; transform: none; }
.input-icon .form-control, .input-icon .form-select { padding-left: 44px; }
.was-validated .input-icon .form-control:invalid, .was-validated .input-icon .form-select:invalid { background-position: right 14px center; }
.form-success {
  display: none; background: #e8f8ef; border: 1px solid #b6e6c9; color: #1b6b3c; border-radius: 10px; padding: 12px 16px; font-size: .9rem; margin-top: 16px;
}
.form-success.show { display: block; }

/* ---------- 16. Enquiry modal (pop-up form) ---------- */
.enquiry-modal .modal-content { border: 0; border-radius: 18px; overflow: hidden; }
.enquiry-modal .modal-side {
  background: linear-gradient(rgba(4, 29, 69, .88), rgba(7, 48, 108, .92)), url('../images/gallery/office/office-8-thumb.jpg') center / cover;
  color: rgba(255, 255, 255, .88); padding: 38px 30px; height: 100%;
}
.enquiry-modal .modal-side h3 { color: #fff; font-size: 1.4rem; }
.enquiry-modal .modal-side ul { list-style: none; padding: 0; margin: 20px 0 26px; }
.enquiry-modal .modal-side li { margin-bottom: 10px; font-size: .92rem; }
.enquiry-modal .modal-side li i { color: var(--accent); margin-right: 8px; }
.enquiry-modal .modal-side .side-contact a { color: #fff; font-weight: 600; display: block; margin-bottom: 6px; }
.enquiry-modal .modal-side .side-contact i { color: var(--accent); margin-right: 8px; }
.enquiry-modal .modal-form { padding: 34px 30px; }
.enquiry-modal .btn-close-custom {
  position: absolute; top: 14px; right: 14px; z-index: 5; width: 38px; height: 38px; border-radius: 50%;
  border: 0; background: var(--grey); color: var(--navy); transition: all .3s;
}
.enquiry-modal .btn-close-custom:hover { background: var(--accent); color: #fff; transform: rotate(90deg); }
.enquiry-modal .modal-form h3 { font-size: 1.35rem; margin-bottom: 4px; }

/* ---------- 17. Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255, 255, 255, .72); font-size: .92rem; }
.site-footer .footer-logo { background: #fff; padding: 8px 12px; border-radius: 10px; display: inline-block; margin-bottom: 18px; }
.site-footer .footer-logo img { height: 64px; width: auto; }
.site-footer h4 { color: #fff; font-size: 1.1rem; margin-bottom: 22px; position: relative; padding-bottom: 12px; }
.site-footer h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 3px; background: var(--accent); border-radius: 3px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a { color: rgba(255, 255, 255, .72); transition: all .3s; display: inline-flex; gap: 8px; align-items: center; }
.site-footer ul a i { color: var(--accent); font-size: .7rem; }
.site-footer ul a:hover { color: var(--accent-light); transform: translateX(5px); }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact li > i { color: var(--accent); margin-top: 6px; }
.footer-contact a { color: rgba(255, 255, 255, .8) !important; }
.footer-contact a:hover { transform: none !important; color: var(--accent-light) !important; }
.footer-bottom { padding: 22px 0; font-size: .86rem; }
.footer-bottom a { color: var(--accent-light); }

/* ---------- 18. Floating buttons ---------- */
.float-btns { position: fixed; right: 20px; bottom: 22px; z-index: 1040; display: flex; flex-direction: column; gap: 12px; align-items: center; }
.float-btn {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 1.55rem;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25); transition: transform .3s; position: relative;
}
.float-btn:hover { color: #fff; transform: scale(1.1); }
.float-btn.call { background: var(--accent); font-size: 1.3rem; }
.float-btn.call i { animation: shake 2.5s infinite; }
@keyframes shake { 0%, 50%, 100% { transform: rotate(0); } 10%, 30% { transform: rotate(-15deg); } 20%, 40% { transform: rotate(15deg); } }
.float-btn .tip {
  position: absolute; right: 68px; white-space: nowrap; background: var(--navy); color: #fff; font-size: .8rem; font-weight: 500;
  padding: 6px 12px; border-radius: 6px; opacity: 0; pointer-events: none; transform: translateX(10px); transition: all .3s;
}
.float-btn:hover .tip { opacity: 1; transform: translateX(0); }
.back-to-top {
  width: 46px; height: 46px; border-radius: 12px; border: 0; background: var(--navy); color: #fff; font-size: 1rem;
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: all .35s; box-shadow: 0 8px 22px rgba(0, 0, 0, .2);
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); }

/* Fixed vertical "Enquire Now" tab - right side, vertically centred */
.side-enquire {
  position: fixed; right: 0; top: 50%; z-index: 1040; transform: translateY(-50%);
  writing-mode: vertical-rl; transform-origin: center;
  background: var(--accent); color: #fff; border: 0; font-weight: 600; letter-spacing: 1px; font-size: .92rem;
  padding: 20px 11px; border-radius: 10px 0 0 10px; box-shadow: -4px 6px 20px rgba(202, 20, 22, .35); transition: padding .3s, background .3s;
}
.side-enquire i { margin-bottom: 8px; }
.side-enquire:hover { background: var(--navy); padding-right: 16px; }
.side-enquire span { transform: rotate(180deg); display: inline-block; }

/* ---------- 19. Scroll reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.from-left { transform: translateX(-50px); }
.reveal.from-right { transform: translateX(50px); }
.reveal.visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero .carousel-item .anim { opacity: 1 !important; transform: none !important; transition: none !important; animation: none !important; }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 1199.98px) {
  .main-nav .nav-link { padding: 10px 9px !important; font-size: .9rem; }
}
@media (max-width: 991.98px) {
  :root { --nav-h: 72px; }
  .section-pad { padding: 72px 0; }
  .main-nav .navbar-brand img, .main-nav.scrolled .navbar-brand img { height: 54px; }
  .main-nav .navbar-collapse { border-top: 1px solid var(--grey-2); margin-top: 8px; padding: 10px 0 14px; max-height: calc(100vh - 80px); overflow-y: auto; }
  .main-nav .nav-link::after { display: none; }
  .main-nav .nav-link { padding: 10px 4px !important; border-bottom: 1px solid var(--grey); }
  .hero .carousel-item { height: auto; min-height: 640px; max-height: none; padding: 90px 0 120px; }
  .hero .carousel-item::before { background: linear-gradient(180deg, rgba(4, 29, 69, .88), rgba(7, 48, 108, .82)); }
  .about-img-wrap { margin-bottom: 30px; }
  .cta-banner { background-attachment: scroll; }
  .highlights { margin-top: -50px; }
}
@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .section-pad { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .hero .carousel-item { min-height: 600px; padding: 70px 0 110px; text-align: center; }
  .hero .hero-text { margin: 0 auto; }
  .hero .hero-btns, .hero .hero-features { justify-content: center; }
  .hero .hero-features { gap: 12px 18px; margin-top: 28px; }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
  .hero .btn { padding: 11px 22px; font-size: .9rem; }
  .about-list { grid-template-columns: 1fr; }
  .stat-box strong { font-size: 1.3rem; }
  .experience-badge { left: 14px; bottom: 44px; padding: 12px 16px; }
  .experience-badge strong { font-size: 1.4rem; }
  .contact-info-card, .enquiry-card { padding: 28px 20px; }
  .lightbox { padding: 60px 10px; }
  .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 14px; transform: none; }
  .lightbox .lb-prev { left: calc(50% - 60px); }
  .lightbox .lb-next { right: calc(50% - 60px); }
  .float-btns { right: 14px; bottom: 16px; }
  .float-btn { width: 50px; height: 50px; font-size: 1.35rem; }
  .side-enquire { font-size: .8rem; padding: 14px 8px; }
  .enquiry-modal .modal-form { padding: 30px 20px 24px; }
  .gallery-filters button { padding: 6px 14px; font-size: .8rem; }
}
@media (max-width: 575.98px) {
  .product-card .actions { flex-direction: column; }
  .cta-banner .btn, .hero .hero-btns .btn { width: 100%; max-width: 300px; }
  .hero .hero-btns { flex-direction: column; align-items: center; }
  .cta-banner .cta-btns { flex-direction: column; align-items: center; }
}

/* Compact 2x2 highlight boxes on phones */
@media (max-width: 575.98px) {
  .highlight-box { flex-direction: column; text-align: center; padding: 18px 10px; gap: 10px; }
  .highlight-box .icon { flex: 0 0 auto; width: 50px; height: 50px; font-size: 1.25rem; }
  .highlight-box h3 { font-size: .9rem; }
  .highlight-box p { font-size: .78rem; }
}

/* Logo red is too dark on navy: use the lighter red for text/icons on dark backgrounds */
.hero .hero-title span,
.hero .hero-features i,
.strengths .section-title span,
.strengths .section-tag,
.strength-item .icon,
.enquiry-modal .modal-side li i,
.enquiry-modal .modal-side .side-contact i { color: var(--accent-light); }
.strengths .section-tag::before,
.strengths .section-tag::after { background: var(--accent-light); }
.strength-item:hover .icon { color: #fff; }

/* ---------- Mobile horizontal-overflow fixes ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } } /* clip keeps the sticky navbar working */
@media (max-width: 991.98px) {
  /* side slide-ins would start off-screen on mobile - slide up instead */
  .reveal.from-left, .reveal.from-right { transform: translateY(40px); }
  .reveal.from-left.visible, .reveal.from-right.visible { transform: none; }
  .about-img-wrap::before { left: 0; top: -12px; }
}
