/* =========================================================
   VAJRA PRECAST — Main Stylesheet
   Colors: Dark Blue / Orange / White / Light Grey
   ========================================================= */

:root {
  --navy: #0b1f3a;
  --navy-light: #122a52;
  --orange: #f97316;
  --orange-dark: #dc5f0a;
  --white: #ffffff;
  --concrete-grey: #d1d5db;
  --grey-light: #f4f6f9;
  --grey: #6c7688;
  --text-dark: #1c2534;
  --radius: 8px;
  --shadow: 0 6px 24px rgba(11, 31, 58, 0.08);
  --transition: all 0.25s ease;
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 15.5px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Segoe UI', Arial, sans-serif;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

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

.text-orange { color: var(--orange) !important; }
.bg-navy { background-color: var(--navy) !important; }
.bg-grey-light { background-color: var(--grey-light) !important; }

.section-pad { padding: 70px 0; }
@media (max-width: 768px) { .section-pad { padding: 45px 0; } }

.section-title {
  text-align: center;
  margin-bottom: 45px;
}
.section-title h2 {
  font-size: 2rem;
  letter-spacing: 0.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
}
.section-title h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--orange);
}
.section-title p {
  color: var(--grey);
  max-width: 640px;
  margin: 10px auto 0;
}

/* ---------- Buttons ---------- */
.btn-orange {
  background: var(--orange);
  border: 1px solid var(--orange);
  color: #fff;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-orange:hover { background: var(--orange-dark); border-color: var(--orange-dark); color: #fff; transform: translateY(-2px); }

.btn-navy {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #fff;
  font-weight: 600;
  padding: 11px 26px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.btn-navy:hover { background: var(--navy-light); color: #fff; transform: translateY(-2px); }

.btn-outline-navy {
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  font-weight: 600;
  padding: 10px 25px;
  border-radius: var(--radius);
}
.btn-outline-navy:hover { background: rgba(255,255,255,0.12); color: #fff; }

/* ---------- Top bar ---------- */
.top-bar {
  background: var(--navy);
  color: #cdd6e5;
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar a { color: #cdd6e5; }
.top-bar a:hover { color: var(--orange); }
.top-bar .highlight { color: var(--orange); font-weight: 600; }

/* ---------- Navbar ---------- */
.main-navbar {
  padding: 14px 0;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}
.main-navbar .navbar-brand img { height: 52px; width: auto; }
.brand-text-name { font-family: 'Poppins', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--navy); letter-spacing: 0.5px; }
.brand-text-sub { font-size: 0.72rem; color: var(--grey); display: block; margin-top: -2px; }

.main-navbar .nav-link {
  color: var(--navy) !important;
  font-weight: 600;
  font-size: 0.93rem;
  margin: 0 10px;
  padding: 8px 0 !important;
  position: relative;
}
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { color: var(--orange) !important; }
.main-navbar .nav-link.active::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: var(--orange);
}
.main-navbar .dropdown-menu { border: none; box-shadow: var(--shadow); border-radius: var(--radius); }
.main-navbar .dropdown-item:hover { background: var(--grey-light); color: var(--orange); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(120deg, rgba(11,31,58,0.88), rgba(11,31,58,0.45)), var(--hero-img, none);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 100px 0;
  overflow: hidden;
}
.hero h1 {
  color: #fff;
  font-size: 2.9rem;
  font-weight: 800;
  line-height: 1.15;
}
.hero h1 .accent { color: var(--orange); display: block; }
.hero p { color: #dde3ee; font-size: 1.1rem; max-width: 480px; }
@media (max-width: 768px) {
  .hero { padding: 60px 0; text-align: center; }
  .hero h1 { font-size: 2.1rem; }
  .hero p { margin-left: auto; margin-right: auto; }
}

/* ---------- Feature strip ---------- */
.feature-strip { background: var(--navy); color: #fff; padding: 32px 0; }
.feature-item { display: flex; align-items: flex-start; gap: 14px; }
.feature-icon {
  width: 52px; height: 52px; min-width: 52px;
  background: var(--orange);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
}
.feature-item h6 { color: #fff; margin-bottom: 4px; font-weight: 700; }
.feature-item p { color: #b7c1d6; font-size: 0.85rem; margin: 0; }

/* ---------- Product Cards ---------- */
.product-card {
  border: 1px solid #eaedf2;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  transition: var(--transition);
  height: 100%;
  position: relative;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .img-wrap { height: 210px; overflow: hidden; }
.product-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .img-wrap img { transform: scale(1.07); }
.product-card .card-body { padding: 18px; text-align: center; }
.product-card .card-body h5 { font-size: 1.05rem; margin-bottom: 6px; }
.product-card .view-link { color: var(--orange); font-weight: 700; font-size: 0.82rem; letter-spacing: 0.4px; }
.product-card .view-link:hover { color: var(--navy); }

/* ---------- Category Pills ---------- */
.category-pill {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 30px;
  border: 1px solid #e0e4eb;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.88rem;
  margin: 4px;
  background: #fff;
}
.category-pill.active, .category-pill:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- CTA Band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 40px 0; }
.cta-band h4 { color: #fff; margin-bottom: 4px; }
.cta-band p { color: #b7c1d6; margin: 0; }

/* ---------- About ---------- */
.about-img-wrap { position: relative; }
.about-img-wrap img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; box-shadow: var(--shadow); }
.about-section-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--orange); color: #fff;
  padding: 18px 22px; border-radius: var(--radius);
  text-align: center; box-shadow: var(--shadow);
}
.about-badge h3 { color: #fff; margin: 0; font-size: 1.8rem; }
.about-badge span { font-size: 0.78rem; }
@media (max-width: 767px) { .about-badge { position: static; margin-top: 16px; display: inline-block; } }

.value-list li {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 12px; color: var(--text-dark);
}
.value-list li i { color: var(--orange); font-size: 1.2rem; margin-top: 2px; }

/* ---------- Stats ---------- */
.stat-box { text-align: center; padding: 20px 10px; }
.stat-box h2 { color: var(--orange); font-size: 2.4rem; margin-bottom: 4px; }
.stat-box p { color: var(--grey); margin: 0; font-size: 0.9rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--grey-light);
  border-radius: var(--radius);
  padding: 28px;
  height: 100%;
}
.testimonial-card .stars { color: var(--orange); margin-bottom: 12px; font-size: 0.9rem; }
.testimonial-card p.msg { color: var(--text-dark); font-style: italic; }
.testimonial-client { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.testimonial-client .avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 700;
}
.testimonial-client h6 { margin: 0; font-size: 0.95rem; }
.testimonial-client span { font-size: 0.78rem; color: var(--grey); }

/* ---------- Gallery ---------- */
.gallery-item { border-radius: var(--radius); overflow: hidden; position: relative; margin-bottom: 24px; }
.gallery-item img { width: 100%; height: 230px; object-fit: cover; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,31,58,0.85), transparent 60%);
  opacity: 0; transition: var(--transition);
  display: flex; align-items: flex-end; padding: 16px;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; }

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  background: var(--navy);
  color: #fff;
  padding: 55px 0;
  text-align: center;
}
.page-header h1 { color: #fff; font-size: 2.2rem; margin-bottom: 8px; }
.page-header .breadcrumb { justify-content: center; margin: 0; background: transparent; }
.page-header .breadcrumb-item, .page-header .breadcrumb-item a { color: #b7c1d6; }
.page-header .breadcrumb-item.active { color: var(--orange); }

/* ---------- Forms ---------- */
.form-control, .form-select {
  border-radius: var(--radius);
  border: 1px solid #dde2ea;
  padding: 11px 14px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(242,112,28,0.15);
}
label { font-weight: 600; color: var(--navy); font-size: 0.9rem; margin-bottom: 6px; }

.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}
.contact-card h4 { color: #fff; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.contact-info-item .icon-circle {
  width: 44px; height: 44px; min-width: 44px; border-radius: 50%;
  background: var(--orange); display: flex; align-items: center; justify-content: center;
}
.contact-info-item h6 { color: #fff; margin-bottom: 3px; font-size: 0.92rem; }
.contact-info-item p, .contact-info-item a { color: #b7c1d6; margin: 0; font-size: 0.87rem; }

/* ---------- Footer ---------- */
footer.site-footer { background: #071528; color: #b7c1d6; padding-top: 55px; }
footer.site-footer h5 { color: #fff; font-size: 1rem; margin-bottom: 18px; }
footer.site-footer ul { list-style: none; padding: 0; margin: 0; }
footer.site-footer ul li { margin-bottom: 10px; }
footer.site-footer ul li a { color: #b7c1d6; font-size: 0.9rem; }
footer.site-footer ul li a:hover { color: var(--orange); padding-left: 3px; }
footer.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 40px; padding: 18px 0; font-size: 0.82rem;
}
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  margin-right: 8px;
}
.footer-social a:hover { background: var(--orange); border-color: var(--orange); }
.footer-map { border-radius: var(--radius); overflow: hidden; height: 140px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 1000;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ---------- Fade-in animation ---------- */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Misc ---------- */
.badge-featured {
  position: absolute; top: 12px; left: 12px;
  background: var(--orange); color: #fff; font-size: 0.72rem;
  padding: 4px 10px; border-radius: 20px; font-weight: 600;
}
.badge-360 {
  position: absolute; top: 12px; right: 12px;
  background: var(--navy); color: #fff; font-size: 0.72rem;
  padding: 4px 10px; border-radius: 20px; font-weight: 600;
  display: inline-flex; align-items: center;
}
.badge-3d-studio {
  position: absolute; top: 44px; right: 12px;
  background: linear-gradient(135deg, var(--orange), #dc5f0a); color: #fff; font-size: 0.72rem;
  padding: 4px 10px; border-radius: 20px; font-weight: 600;
  display: inline-flex; align-items: center;
}
/* ---------- Sticky Quotation Button ---------- */
.sticky-quote-btn {
  position: fixed; bottom: 24px; left: 24px; z-index: 1000;
  background: var(--orange); color: #fff; text-decoration: none;
  display: flex; align-items: center;
  padding: 13px 20px; border-radius: 50px; font-weight: 700; font-size: 0.9rem;
  box-shadow: 0 6px 18px rgba(249,115,22,0.35);
  transition: var(--transition);
}
.sticky-quote-btn:hover { background: var(--orange-dark); color: #fff; transform: translateY(-2px); }
@media (max-width: 576px) {
  .sticky-quote-btn { padding: 12px 16px; font-size: 0.8rem; }
}

.back-to-top {
  position: fixed; bottom: 90px; left: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; display: none; align-items: center; justify-content: center;
  box-shadow: var(--shadow);
}
.spinner-border-sm-orange { color: var(--orange); }

.alert-success-custom { background: #e8f7ee; border: 1px solid #b7e6c8; color: #1c6b3a; border-radius: var(--radius); }
.alert-danger-custom { background: #fdeeee; border: 1px solid #f3bcbc; color: #a02020; border-radius: var(--radius); }

/* ---------- Industries We Serve ---------- */
.industry-card {
  background: #fff;
  border: 1px solid #eaedf2;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  height: 100%;
  transition: var(--transition);
}
.industry-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.industry-card .icon-wrap {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin: 0 auto 16px;
}
.industry-card:hover .icon-wrap { background: linear-gradient(135deg, var(--orange), var(--orange-dark)); }
.industry-card h6 { margin-bottom: 6px; font-size: 1rem; }
.industry-card p { color: var(--grey); font-size: 0.85rem; margin: 0; }

/* ---------- Manufacturing Process (timeline) ---------- */
.process-track { position: relative; }
.process-track::before {
  content: "";
  position: absolute; top: 34px; left: 0; right: 0;
  height: 2px; background: repeating-linear-gradient(90deg, #dde2ea 0 10px, transparent 10px 20px);
  z-index: 0;
}
@media (max-width: 991px) { .process-track::before { display: none; } }
.process-step { position: relative; z-index: 1; text-align: center; padding: 0 10px; }
.process-step .step-circle {
  width: 68px; height: 68px; border-radius: 50%;
  background: #fff; border: 2px solid var(--orange);
  color: var(--orange); display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin: 0 auto 16px; position: relative;
}
.process-step .step-number {
  position: absolute; top: -8px; right: -8px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--navy); color: #fff; font-size: 0.72rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.process-step h6 { font-size: 0.92rem; margin-bottom: 6px; }
.process-step p { color: var(--grey); font-size: 0.8rem; }

/* ---------- Team Cards (About page) ---------- */
.team-card {
  text-align: center;
  background: #fff;
  border: 1px solid #eaedf2;
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.team-card .photo-wrap { height: 220px; overflow: hidden; background: var(--grey-light); }
.team-card .photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.team-card .card-body { padding: 18px; }
.team-card h6 { margin-bottom: 4px; }
.team-card .designation { color: var(--orange); font-size: 0.82rem; font-weight: 600; display: block; margin-bottom: 8px; }
.team-card p.bio { color: var(--grey); font-size: 0.82rem; margin: 0; }

/* ---------- Infrastructure / Quality (About page icon rows) ---------- */
.info-icon-row { display: flex; gap: 16px; margin-bottom: 22px; }
.info-icon-row .icon-circle-lg {
  width: 54px; height: 54px; min-width: 54px; border-radius: 50%;
  background: var(--grey-light); color: var(--orange);
  display: flex; align-items: center; justify-content: center; font-size: 1.4rem;
}
.info-icon-row h6 { margin-bottom: 4px; }
.info-icon-row p { color: var(--grey); font-size: 0.88rem; margin: 0; }

/* ---------- WhatsApp Contact Card ---------- */
.whatsapp-card {
  background: linear-gradient(135deg, #25D366, #1da851);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
  text-align: center;
}
.whatsapp-card i.bi-whatsapp { font-size: 2.4rem; margin-bottom: 10px; }
.whatsapp-card h5 { color: #fff; margin-bottom: 6px; }
.whatsapp-card p { color: rgba(255,255,255,0.9); font-size: 0.85rem; margin-bottom: 16px; }
.whatsapp-card .btn-white {
  background: #fff; color: #1da851; font-weight: 700; border-radius: var(--radius);
  padding: 10px 24px; display: inline-block;
}
.whatsapp-card .btn-white:hover { background: #f4f6f9; color: #1da851; }

/* ---------- Gallery Lightbox ---------- */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(7, 15, 28, 0.94);
  z-index: 2000; display: none; align-items: center; justify-content: center;
  padding: 30px;
}
.lightbox-overlay.active { display: flex; }
.lightbox-overlay img {
  max-width: 90vw; max-height: 85vh; border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-caption { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: #fff; font-size: 0.9rem; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute; color: #fff; background: rgba(255,255,255,0.12);
  border: none; width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem;
  cursor: pointer; transition: var(--transition);
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: var(--orange); }
.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 767px) {
  .lightbox-prev, .lightbox-next { width: 38px; height: 38px; font-size: 1.1rem; }
  .lightbox-close { top: 14px; right: 14px; width: 38px; height: 38px; }
}
.gallery-item { cursor: pointer; }

/* =====================================================
   MOBILE UI/UX UPGRADE
   Applies at <= 991px (tablet) and <= 767px (phone) unless noted.
   Desktop layout/behavior is untouched.
   ===================================================== */

/* ---------- Mobile quick-action icons (navbar) ---------- */
.mobile-icon-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--grey-light); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.05rem; flex-shrink: 0; transition: var(--transition);
}
.mobile-icon-btn:hover, .mobile-icon-btn:active { background: var(--orange); color: #fff; }
.mobile-icon-btn.whatsapp { background: #e9f9ef; color: #25D366; }
.mobile-icon-btn.whatsapp:hover { background: #25D366; color: #fff; }

/* ---------- Offcanvas slide-in menu ---------- */
@media (max-width: 991.98px) {
  .offcanvas {
    width: min(320px, 84vw);
    background: var(--navy);
  }
  .offcanvas-header { border-bottom: 1px solid rgba(255,255,255,0.1); padding: 18px 20px; }
  .offcanvas-title { color: #fff; letter-spacing: 0.5px; }
  .offcanvas-body { padding: 20px; }
  .main-navbar .offcanvas .navbar-nav { gap: 2px; }
  .main-navbar .offcanvas .nav-link {
    color: #dde3ee !important; padding: 13px 10px !important; margin: 0;
    border-radius: 8px; font-size: 1rem;
  }
  .main-navbar .offcanvas .nav-link:hover,
  .main-navbar .offcanvas .nav-link.active { background: rgba(255,255,255,0.08); color: #fff !important; }
  .main-navbar .offcanvas .nav-link.active::after { display: none; }
  .main-navbar .offcanvas .dropdown-menu {
    position: static !important; background: rgba(255,255,255,0.05); box-shadow: none;
    border-radius: 8px; margin: 2px 0 6px 10px; width: calc(100% - 10px); transform: none !important;
  }
  .main-navbar .offcanvas .dropdown-item { color: #c3ccdd; padding: 9px 14px; }
  .main-navbar .offcanvas .dropdown-item:hover { background: rgba(255,255,255,0.08); color: #fff; }
  .offcanvas-quick-contact { border-top: 1px solid rgba(255,255,255,0.1); margin-top: 24px; padding-top: 20px; display: flex; flex-direction: column; gap: 14px; }
  .offcanvas-quick-contact a { color: #dde3ee; font-size: 0.9rem; font-weight: 600; }
  .offcanvas-quick-contact a:hover { color: var(--orange); }
  .offcanvas-cta { display: block; width: 100%; text-align: center; }
}
@media (min-width: 992px) {
  .offcanvas-cta { width: auto; }
}

/* ---------- Sticky header polish on mobile ---------- */
@media (max-width: 767px) {
  .main-navbar { padding: 10px 0; }
  .main-navbar .navbar-brand img { height: 40px; width: auto; }
  .brand-text-name { font-size: 1.05rem; }
  .brand-text-sub { font-size: 0.64rem; }
  .navbar-toggler { padding: 6px 10px; border: none; }
  .navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(249,115,22,0.35); }
}

/* ---------- Typography scale (mobile) ---------- */
@media (max-width: 767px) {
  h1, .hero h1 { font-size: 30px !important; line-height: 1.2; }
  h2, .section-title h2 { font-size: 26px !important; }
  .hero p, .section-title p { font-size: 16px; }
  body, p { font-size: 15.5px; }
  .btn { font-size: 16px; }
}
@media (max-width: 359px) {
  h1, .hero h1 { font-size: 28px !important; }
}

/* ---------- Buttons: tap targets & full-width on mobile ---------- */
@media (max-width: 767px) {
  .btn { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; }
  .hero .d-flex.gap-3, .cta-band .d-flex.gap-3 { width: 100%; }
  .hero .btn, .cta-band .btn { width: 100%; }
  .cta-band .d-flex.flex-wrap { flex-direction: column; }
}

/* Tap ripple + press feedback (lightweight, no JS needed for the base effect) */
.btn, .category-pill, .mobile-icon-btn, .contact-action-btn {
  position: relative; overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.btn:active, .contact-action-btn:active { transform: scale(0.97); }
.ripple {
  position: absolute; border-radius: 50%; transform: scale(0);
  background: rgba(255,255,255,0.45); pointer-events: none;
  animation: ripple-effect 0.55s ease-out;
}
@keyframes ripple-effect { to { transform: scale(2.8); opacity: 0; } }

/* ---------- Hero: reduced height on mobile ---------- */
@media (max-width: 767px) {
  .hero { padding: 40px 0 34px; text-align: center; }
  .hero-eyebrow { font-size: 0.78rem; }
  .hero p { max-width: 100%; margin-left: auto; margin-right: auto; }
}

/* ---------- Product cards: equal height + action row ---------- */
.product-card { display: flex; flex-direction: column; }
.product-card .card-body { display: flex; flex-direction: column; flex: 1; }
.product-card-actions { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 6px; }
@media (max-width: 767px) {
  .product-card-actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .product-card-quote-btn { width: 100%; min-height: 44px; }
  .product-card .img-wrap { height: 170px; }
}

.process-swipe-hint { display: none; }
/* ---------- Process timeline: swipeable card slider on mobile ---------- */
@media (max-width: 767px) {
  .process-track {
    display: flex !important; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory;
    gap: 14px; padding: 6px 4px 18px; margin: 0 -4px;
    -webkit-overflow-scrolling: touch;
  }
  .process-track::-webkit-scrollbar { height: 5px; }
  .process-track::-webkit-scrollbar-thumb { background: var(--concrete-grey); border-radius: 10px; }
  .process-track > [class*="col-"] {
    flex: 0 0 76%; max-width: 76%; scroll-snap-align: center;
  }
  .process-step {
    background: #fff; border-radius: var(--radius); padding: 22px 16px;
    box-shadow: var(--shadow); height: 100%;
  }
  .process-swipe-hint {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    color: var(--grey); font-size: 0.78rem; margin-top: 4px;
  }
}

/* ---------- Contact action grid ---------- */
.contact-action-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.contact-action-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; border-radius: 10px; font-weight: 700; font-size: 0.88rem;
  background: var(--grey-light); color: var(--navy); text-decoration: none;
  transition: var(--transition);
}
.contact-action-btn:hover { background: var(--navy); color: #fff; }
.contact-action-btn.whatsapp { background: #e9f9ef; color: #1c8a45; }
.contact-action-btn.whatsapp:hover { background: #25D366; color: #fff; }
.contact-action-btn.primary { background: var(--orange); color: #fff; grid-column: span 2; }
.contact-action-btn.primary:hover { background: var(--orange-dark); }

/* ---------- Mobile bottom floating action bar ---------- */
.mobile-action-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
  display: flex; background: var(--navy);
  box-shadow: 0 -4px 18px rgba(0,0,0,0.18);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.mobile-action-bar a {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; color: #c3ccdd; text-decoration: none; font-size: 0.68rem; font-weight: 700;
  padding: 10px 4px; min-height: 58px; letter-spacing: 0.2px;
}
.mobile-action-bar a i { font-size: 1.15rem; }
.mobile-action-bar a.whatsapp { color: #6fe39a; }
.mobile-action-bar a.primary { background: var(--orange); color: #fff; }
.mobile-action-bar a:active { background: rgba(255,255,255,0.08); }
.mobile-action-bar a.primary:active { background: var(--orange-dark); }
body { padding-bottom: 0; }
@media (max-width: 991.98px) {
  body { padding-bottom: 62px; }
}

/* ---------- Footer: simplified spacing on mobile ---------- */
@media (max-width: 767px) {
  .site-footer { padding-top: 40px; text-align: center; }
  .site-footer .col-lg-3 { margin-bottom: 8px; }
  .site-footer h5 { margin-top: 10px; }
  .site-footer ul { padding-left: 0; }
  .footer-social { justify-content: center; display: flex; }
  .cta-band .d-flex.flex-column { text-align: center; align-items: center; }
}

/* ---------- Slide-up animation variant ---------- */
.slide-up { opacity: 0; transform: translateY(40px); transition: opacity 0.5s ease, transform 0.5s ease; }
.slide-up.in-view { opacity: 1; transform: translateY(0); }

/* ---------- Accessibility: visible focus states ---------- */
a:focus-visible, button:focus-visible, .btn:focus-visible, .nav-link:focus-visible {
  outline: 3px solid rgba(249,115,22,0.55);
  outline-offset: 2px;
}
.whatsapp-float:focus-visible, .sticky-quote-btn:focus-visible, .back-to-top:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

/* ---------- Reduced motion respect ---------- */
@media (prefers-reduced-motion: reduce) {
  .fade-up, .slide-up, .ripple { transition: none !important; animation: none !important; opacity: 1 !important; transform: none !important; }
}

/* ---------- No horizontal scroll safeguard ---------- */
html, body { max-width: 100%; overflow-x: hidden; }
img { max-width: 100%; }
.footer-brand-logo { height: 46px; width: auto; }

/* ---------- Skip to content (accessibility) ---------- */
.skip-link {
  position: absolute; top: -60px; left: 12px; z-index: 2000;
  background: var(--orange); color: #fff; font-weight: 700;
  padding: 12px 20px; border-radius: 8px; text-decoration: none;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 12px; color: #fff;
  outline: 3px solid #fff; outline-offset: 2px;
}

/* =====================================================
   INDUSTRY DETAILS PAGE — premium corporate redesign
   ===================================================== */

.industry-hero {
  background: linear-gradient(180deg, #fff 0%, var(--grey-light) 100%);
  padding: 32px 0 50px;
}
.industry-breadcrumb { background: none; padding: 0; margin: 0; font-size: 0.85rem; }

.industry-hero-img-wrap {
  height: 420px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(11,31,58,0.12);
}
.industry-hero-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.industry-hero-img-wrap:hover img { transform: scale(1.06); }

.industry-hero-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: var(--navy); color: var(--orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; margin-bottom: 18px;
}
.industry-hero-heading {
  font-size: 48px; font-weight: 800; color: var(--navy);
  margin-bottom: 18px; line-height: 1.15;
}
.industry-hero-desc {
  font-size: 18px; line-height: 1.9; color: var(--grey);
  max-width: 640px;
}
.industry-badges {
  display: flex; flex-wrap: wrap; gap: 10px 16px; margin-top: 22px;
}
.industry-badges span {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  background: #fff; border: 1px solid var(--concrete-grey);
  padding: 7px 14px; border-radius: 30px;
}
.industry-badges span i { color: var(--orange); }

@media (max-width: 767px) {
  .industry-hero-img-wrap { height: 260px; }
  .industry-hero-heading { font-size: 32px; }
  .industry-hero-desc { font-size: 16px; }
}

/* Stats row on the industry page reuses .stat-box but with a card shell */
.industry-stat-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px 10px;
}

/* Icon cards — used for Applications, Benefits, and Why Vajra Precast */
.industry-icon-card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 30px 24px; height: 100%; text-align: center;
  transition: var(--transition);
}
.industry-icon-card:hover { transform: translateY(-6px); box-shadow: 0 14px 30px rgba(11,31,58,0.12); }
.industry-icon-card-icon {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(249,115,22,0.1); color: var(--orange); font-size: 1.4rem;
}
.industry-icon-card h6 { font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.industry-icon-card--navy .industry-icon-card-icon { background: var(--navy); color: #fff; }

.industry-gallery-item { cursor: pointer; }

/* Full-width CTA band */
.industry-cta-band {
  background: var(--navy);
  background-image: radial-gradient(circle at 20% 20%, rgba(249,115,22,0.08) 0%, transparent 45%),
                     radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 45%);
  padding: 70px 0;
  color: #fff;
}
.industry-cta-band h2 { font-weight: 800; font-size: 2.2rem; margin-bottom: 12px; }
.industry-cta-band p { color: #c3ccdd; font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.btn-outline-light { border: 1px solid #fff; color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); }

@media (max-width: 767px) {
  .industry-cta-band h2 { font-size: 1.6rem; }
}

/* Specifications card (replaces plain bordered table) */
.spec-card {
  border: 1px solid #e5e8ee;
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}
.spec-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid #e5e8ee;
  transition: var(--transition);
}
.spec-row:last-child { border-bottom: none; }
.spec-row:hover { background: var(--grey-light); }
.spec-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  flex: 0 0 auto;
}
.spec-label i { color: var(--orange); font-size: 1rem; }
.spec-value {
  color: var(--grey);
  font-size: 0.95rem;
  text-align: right;
  font-weight: 500;
}
@media (max-width: 575px) {
  .spec-row { flex-direction: column; align-items: flex-start; gap: 4px; padding: 12px 16px; }
  .spec-value { text-align: left; }
}

/* Engineering Product Studio loading / error state */
.studio-loader {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: var(--grey-light);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  opacity: 1;
  transition: opacity 0.35s ease;
  pointer-events: none;
}
.studio-loader-hidden { opacity: 0; visibility: hidden; }
.studio-loader-spinner {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #d7dce6;
  border-top-color: var(--orange);
  animation: studio-spin 0.8s linear infinite;
}
@keyframes studio-spin { to { transform: rotate(360deg); } }
.studio-loader-text {
  color: var(--grey);
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
  text-align: center;
}
.studio-loader-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.studio-loader-error i {
  font-size: 1.8rem;
  color: var(--orange-dark);
}

/* Live Engineering Estimate — extra breathing room */
.estimate-card { padding: 1.5rem 1.5rem; }
.estimate-card .d-flex { padding: 4px 0; font-size: 0.95rem; }
.estimate-card span { color: #b7c1d6; }
.estimate-card strong { letter-spacing: 0.2px; }

/* Compact spec card variant used inside the studio panel */
.spec-card--compact .spec-row { padding: 10px 14px; }
.spec-card--compact .spec-label,
.spec-card--compact .spec-value { font-size: 0.85rem; }

/* Editable dimension input next to sliders */
.dim-input {
  border-radius: var(--radius);
  border: 1px solid #d7dce6;
  font-weight: 600;
  color: var(--navy);
}
.dim-input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 2px rgba(249,115,22,0.15);
  outline: none;
}

.product-card .img-wrap { cursor: pointer; }

@media (max-width: 991px) {
  .studio-viewer-wrap { height: 460px !important; }
}
@media (max-width: 575px) {
  .studio-viewer-wrap { height: 340px !important; }
}

/* Quick-size preset buttons inside the Engineering Studio (white card background) */
.studio-quick-size-btn {
  border: 1px solid #c7cedb;
  color: var(--navy);
  background: #fff;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.studio-quick-size-btn:hover {
  background: var(--grey-light);
  border-color: var(--navy);
  color: var(--navy);
}

/* ===== Engineering Studio redesign ===== */

/* Floating icon toolbar on the viewer */
.studio-toolbar {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  padding: 6px;
  border-radius: 10px;
  box-shadow: 0 4px 16px rgba(11,31,58,0.15);
  z-index: 2;
}
.studio-tool-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: var(--navy);
  font-size: 1rem;
  transition: var(--transition);
}
.studio-tool-btn:hover { background: var(--grey-light); }
.studio-tool-btn.active { background: var(--orange); color: #fff; }

/* Hint badge on the viewer */
.studio-hint-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(11,31,58,0.75);
  color: #fff;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 20px;
  z-index: 2;
  pointer-events: none;
}

/* Control panel sidebar */
.studio-control-panel { padding: 1.25rem; }
.control-section-title {
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--grey);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef0f4;
}
.dim-field-row { margin-bottom: 18px; }
.dim-field-row:last-child { margin-bottom: 0; }

/* Live Estimate stat grid */
.estimate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}
.estimate-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
}
.estimate-stat-label { font-size: 0.72rem; color: #b7c1d6; text-transform: uppercase; letter-spacing: 0.3px; }
.estimate-stat strong { font-size: 1.05rem; }

@media (max-width: 575px) {
  .estimate-grid { grid-template-columns: 1fr; }
  .studio-toolbar { flex-wrap: wrap; right: 10px; bottom: 10px; }
}

/* Fullscreen 3D viewer — fill the entire screen, toolbar stays visible since it's a child */
.studio-viewer-wrap:fullscreen,
.studio-viewer-wrap:-webkit-full-screen {
  width: 100vw !important;
  height: 100vh !important;
  border-radius: 0 !important;
  background: var(--grey-light);
}
.studio-viewer-wrap:fullscreen #studioViewer,
.studio-viewer-wrap:-webkit-full-screen #studioViewer {
  border-radius: 0 !important;
}

/* 3D / 360 tab toggle above the studio viewer */
.studio-view-tabs { display: flex; gap: 8px; }
.studio-view-tab {
  border: 1px solid #d7dce6;
  background: #fff;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: var(--transition);
}
.studio-view-tab:hover { background: var(--grey-light); }
.studio-view-tab.active { background: var(--navy); color: #fff; border-color: var(--navy); }
