/* ==========================================================================
   Shreeji Man Power Supplier - Site Styles
   Premium corporate theme: navy, blue, white, subtle orange accent.
   ========================================================================== */

:root {
  --navy: #0b1f3a;
  --navy-dark: #071527;
  --blue: #1957c2;
  --blue-light: #2e7bf0;
  --orange: #f5811f;
  --orange-dark: #d96a0f;
  --gray-50: #f7f9fc;
  --gray-100: #eef1f6;
  --gray-600: #5b6b82;
  --text-dark: #10233f;
  --radius-lg: 18px;
  --radius-md: 12px;
  --shadow-soft: 0 10px 30px rgba(11, 31, 58, 0.08);
  --shadow-strong: 0 20px 45px rgba(11, 31, 58, 0.16);
  font-size: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, .brand-name, .footer-brand {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy);
}

a { text-decoration: none; }

.section { padding: 80px 0; }
@media (max-width: 767px) { .section { padding: 56px 0; } }

.eyebrow {
  display: inline-block;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}

.section-heading { margin-bottom: 48px; }
.section-heading h2 { font-size: 2.1rem; margin-bottom: 12px; }
.section-heading p { color: var(--gray-600); max-width: 640px; margin: 0 auto; }

/* ---------------- Header / Navbar ---------------- */
.site-header { background: #fff; box-shadow: 0 2px 18px rgba(11,31,58,.06); z-index: 1030; }
.navbar { padding: 12px 0; }
.navbar > .container { flex-wrap: nowrap; }
.navbar-brand { min-width: 0; flex-shrink: 1; overflow: hidden; }
.brand-text { line-height: 1.1; display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-size: 1.25rem; color: var(--navy);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-tagline { font-size: 0.7rem; color: var(--gray-600); font-weight: 500; letter-spacing: .03em; }

@media (max-width: 575.98px) {
  .navbar-brand img { height: 36px; }
  .brand-name { font-size: 0.92rem; }
}
@media (max-width: 340px) {
  .navbar-brand img { height: 30px; }
  .brand-name { font-size: 0.78rem; }
}
@media (min-width: 576px) and (max-width: 991.98px) {
  .brand-name { font-size: 1.05rem; }
}

.nav-link {
  font-weight: 600;
  color: var(--text-dark) !important;
  padding: 10px 14px !important;
  border-radius: 8px;
  transition: all .2s ease;
}
.nav-link:hover, .nav-link.active { color: var(--blue) !important; background: var(--gray-50); }

.btn-cta {
  background: var(--orange);
  color: #fff !important;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 999px;
  border: none;
  box-shadow: 0 8px 20px rgba(245,129,31,.35);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn-cta:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245,129,31,.45); color: #fff; }

.btn-outline-navy {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 999px;
  transition: all .2s ease;
}
.btn-outline-navy:hover { background: #fff; color: var(--navy); }

/* ---------------- Hero ---------------- */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 60%, var(--blue) 140%);
  color: #fff;
  padding: 120px 0 100px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(46,123,240,.35), transparent 55%),
              radial-gradient(circle at 10% 90%, rgba(245,129,31,.18), transparent 45%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero h1 { color: #fff; font-size: 2.8rem; line-height: 1.2; margin-bottom: 22px; }
.hero p.lead { color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 560px; }
.hero .btn-lg { padding: 14px 30px; font-size: 1rem; }
@media (max-width: 991px) { .hero h1 { font-size: 2.2rem; } .hero { padding: 100px 0 70px; } }

.hero-image-wrap { position: relative; }
.hero-image-wrap img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* Content photos sized via Bootstrap's .w-100: without this, the browser keeps
   the HTML height="" attribute as a literal pixel height while width shrinks
   to fit its column, distorting/stretching the image. */
img.w-100 {
  height: auto;
}
.hero-badge {
  position: absolute; bottom: -22px; left: -22px;
  background: #fff; color: var(--navy);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-strong);
  display: flex; align-items: center; gap: 12px;
}
.hero-badge i { font-size: 1.6rem; color: var(--orange); }
@media (max-width: 991px) { .hero-badge { position: static; margin-top: 20px; } }

/* Trust indicators strip */
.trust-strip { background: #fff; margin-top: -46px; position: relative; z-index: 3; }
.trust-strip .card {
  border: none; border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 22px 18px;
  text-align: center;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.trust-strip .card:hover { transform: translateY(-6px); box-shadow: var(--shadow-strong); }
.trust-strip i { font-size: 1.8rem; color: var(--blue); margin-bottom: 10px; }
.trust-strip h6 { margin-bottom: 0; font-size: 0.95rem; }

/* ---------------- Cards (services) ---------------- */
.solution-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.solution-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.solution-card .icon-box {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff; font-size: 1.5rem;
  margin-bottom: 18px;
}
.solution-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.solution-card p { color: var(--gray-600); font-size: 0.92rem; margin-bottom: 0; }

/* ---------------- Cards (industries, with photo) ---------------- */
.industry-card {
  background: #fff;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.industry-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
  border-color: transparent;
}
.industry-card-img {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--gray-100);
}
.industry-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.industry-card .icon-box {
  position: absolute;
  left: 18px;
  bottom: -22px;
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-light), var(--blue));
  color: #fff; font-size: 1.3rem;
  box-shadow: 0 8px 18px rgba(11,31,58,.25);
}
.industry-card h3 {
  font-size: 1rem;
  margin: 34px 18px 20px;
  text-align: left;
}

/* ---------------- Why us ---------------- */
.why-item { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--gray-100); }
.why-item:last-child { border-bottom: none; }
.why-item i { color: var(--orange); font-size: 1.4rem; flex-shrink: 0; }
.why-item h4 { font-size: 1.02rem; margin-bottom: 4px; }
.why-item p { color: var(--gray-600); margin-bottom: 0; font-size: 0.92rem; }

/* ---------------- Process steps ---------------- */
.process-step { text-align: center; position: relative; padding: 0 14px; }
.process-step .step-num {
  width: 64px; height: 64px; margin: 0 auto 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--navy); color: #fff; font-weight: 700; font-size: 1.3rem;
  box-shadow: var(--shadow-soft);
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--gray-600); font-size: 0.9rem; }
.process-line { display: none; }
@media (min-width: 992px) {
  .process-step:not(:last-child)::after {
    content: "";
    position: absolute; top: 32px; left: 60%; width: 80%;
    border-top: 2px dashed var(--gray-100);
    z-index: 0;
  }
}

/* ---------------- Stats ---------------- */
.stat-box { text-align: center; }
.stat-box .stat-num { font-size: 2.4rem; font-weight: 800; color: var(--blue); }
.stat-box .stat-label { color: var(--gray-600); font-weight: 600; font-size: 0.9rem; }

/* ---------------- Testimonials ---------------- */
.testimonial-card {
  background: var(--gray-50);
  border-radius: var(--radius-md);
  padding: 30px;
  height: 100%;
}
.testimonial-card i.bi-quote { font-size: 1.8rem; color: var(--orange); }
.testimonial-card p { color: var(--text-dark); font-style: italic; }
.testimonial-author { font-weight: 700; color: var(--navy); margin-bottom: 0; }
.testimonial-role { color: var(--gray-600); font-size: 0.85rem; }

/* ---------------- CTA Banner ---------------- */
.cta-banner {
  background: linear-gradient(120deg, var(--blue) 0%, var(--navy) 100%);
  color: #fff;
  padding: 64px 0;
  text-align: center;
}
.cta-banner h2 { color: #fff; margin-bottom: 10px; }
.cta-banner p { color: rgba(255,255,255,.85); margin-bottom: 26px; }

/* ---------------- Footer ---------------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.75); padding-top: 60px; }
@media (max-width: 991.98px) {
  /* Leaves room to scroll the footer's last row clear of the fixed sticky CTA bar below it. */
  .site-footer { padding-bottom: 76px; }
}
.site-footer h6 { color: #fff; margin-bottom: 16px; font-weight: 700; }
.footer-brand { color: #fff; font-size: 1.15rem; }
.contact-info-list li > a,
.contact-info-list li > span {
  overflow-wrap: anywhere;
  min-width: 0;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; font-size: 0.9rem; overflow-wrap: anywhere; }
.footer-links a { color: rgba(255,255,255,.7); }
.footer-links a:hover { color: var(--orange); }
.site-footer hr { border-color: rgba(255,255,255,.12); }
.admin-login-link {
  color: rgba(255,255,255,.45);
  white-space: nowrap;
  transition: color .2s ease;
}
.admin-login-link:hover { color: rgba(255,255,255,.8); }
.social-links a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.08); color: #fff; margin-right: 8px;
  transition: background .2s ease;
}
.social-links a:hover { background: var(--orange); }

/* ---------------- Floating buttons ---------------- */
.floating-whatsapp {
  position: fixed; right: 22px; bottom: 90px; z-index: 1040;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; box-shadow: 0 10px 24px rgba(37,211,102,.45);
  animation: pulse-wa 2.4s infinite;
}
@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.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); }
}
.floating-call {
  position: fixed; right: 22px; bottom: 22px; z-index: 1040;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; box-shadow: 0 10px 24px rgba(11,31,58,.45);
}
.sticky-mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 1035;
  padding: 10px 16px; background: #fff; box-shadow: 0 -6px 20px rgba(0,0,0,.08);
}

/* ---------------- Breadcrumb / page header ---------------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: #fff; padding: 70px 0 40px; text-align: center;
}
.page-hero h1 { color: #fff; font-size: 2.2rem; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 620px; margin: 10px auto 0; }
.breadcrumb-bar { background: var(--gray-50); padding: 14px 0; }
.breadcrumb { margin-bottom: 0; font-size: 0.9rem; }
.breadcrumb-item a { color: var(--blue); }
.breadcrumb-item.active { color: var(--gray-600); }

/* ---------------- Forms ---------------- */
.form-card {
  background: #fff; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft); padding: 36px;
}
.form-label { font-weight: 600; font-size: 0.9rem; color: var(--text-dark); }
.form-control, .form-select {
  border-radius: 10px; border: 1px solid #dfe5ee; padding: 10px 14px;
}
.form-control:focus, .form-select:focus {
  border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(46,123,240,.15);
}
.honeypot-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; width: 0; }
.alert-success-custom {
  background: #e9f9ee; border: 1px solid #b6ecc7; color: #146c2e;
  border-radius: var(--radius-md); padding: 18px 22px;
}
.reference-badge {
  display: inline-block; background: var(--navy); color: #fff;
  padding: 6px 14px; border-radius: 999px; font-weight: 700; letter-spacing: .03em;
}
.btn-primary-brand {
  background: var(--blue); border: none; color: #fff; font-weight: 600;
  padding: 12px 28px; border-radius: 10px; transition: background .2s ease, transform .2s ease;
}
.btn-primary-brand:hover { background: var(--navy); color: #fff; transform: translateY(-2px); }
.spinner-btn { display: none; }
.btn-loading .spinner-btn { display: inline-block; }
.btn-loading .btn-label { display: none; }

/* ---------------- Utility ---------------- */
.bg-navy { background: var(--navy) !important; }
.text-blue { color: var(--blue) !important; }
.text-orange { color: var(--orange) !important; }
.rounded-xl { border-radius: var(--radius-lg) !important; }
.shadow-soft { box-shadow: var(--shadow-soft) !important; }

/* Fade-in animation on scroll */
.fade-in-up { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.fade-in-up.is-visible { opacity: 1; transform: translateY(0); }

/* Admin-shared bits reused if admin.css not loaded */
.table-status-badge { padding: 4px 10px; border-radius: 999px; font-size: 0.78rem; font-weight: 600; }
