/* ==========================================================================
   Senguine Business Group Of India - custom theme
   Layered on top of Bootstrap 5.3. Brand palette is deliberately independent
   of the reference logo (navy + amber, not the logo's peach/black).
   ========================================================================== */

:root {
  --sbg-navy: #1B3358;
  --sbg-navy-dark: #0E2038;
  --sbg-amber: #F5A623;
  --sbg-amber-dark: #D98C0F;
  --sbg-bg: #F7F9FC;
  --sbg-text: #26344A;
  --sbg-muted: #4E5D74;
  --sbg-border: #E5EAF2;
  --sbg-radius: 1rem;
  --sbg-shadow-sm: 0 2px 10px rgba(14, 32, 56, 0.06);
  --sbg-shadow-md: 0 12px 32px rgba(14, 32, 56, 0.10);
  --sbg-shadow-lg: 0 20px 48px rgba(14, 32, 56, 0.16);
}

html[lang="hi"] body {
  font-family: "Hind", "Poppins", "Segoe UI", Arial, sans-serif;
}

body {
  font-family: "Poppins", "Hind", "Segoe UI", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--sbg-text);
  background-color: var(--sbg-bg);
  -webkit-font-smoothing: antialiased;
}

p {
  line-height: 1.75;
}

/* Bootstrap's default .text-muted is too low-contrast for body copy - override it
   with a darker, brand-matched tone so paragraphs stay readable in both languages. */
.text-muted {
  color: var(--sbg-muted) !important;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
}

a {
  color: var(--sbg-navy);
  text-decoration: none;
}

.btn-brand {
  background-color: var(--sbg-amber);
  border-color: var(--sbg-amber);
  color: var(--sbg-navy-dark);
  font-weight: 600;
}
.btn-brand:hover, .btn-brand:focus {
  background-color: var(--sbg-amber-dark);
  border-color: var(--sbg-amber-dark);
  color: #fff;
}

.btn-brand-outline {
  border: 2px solid #fff;
  color: #fff;
  font-weight: 600;
  background: transparent;
}
.btn-brand-outline:hover {
  background: #fff;
  color: var(--sbg-navy);
}

.btn-outline-navy {
  border: 2px solid var(--sbg-navy);
  color: var(--sbg-navy);
  font-weight: 600;
  background: transparent;
}
.btn-outline-navy:hover {
  background: var(--sbg-navy);
  color: #fff;
}

.btn-navy {
  background-color: var(--sbg-navy);
  border-color: var(--sbg-navy);
  color: #fff;
  font-weight: 600;
}
.btn-navy:hover, .btn-navy:focus {
  background-color: var(--sbg-navy-dark);
  border-color: var(--sbg-navy-dark);
  color: #fff;
}

.text-brand { color: var(--sbg-amber) !important; }
.text-navy { color: var(--sbg-navy) !important; }
.bg-navy { background-color: var(--sbg-navy) !important; }
.bg-soft { background-color: var(--sbg-bg) !important; }

.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--sbg-amber-dark);
  margin-bottom: .5rem;
}

/* ---------------------------------------------------------------------- */
/* Header / navbar                                                        */
/* ---------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: #fff;
  box-shadow: var(--sbg-shadow-sm);
}

.site-header .navbar-brand img {
  height: 84px;
  width: auto;
}
@media (min-width: 992px) {
  .site-header .navbar-brand img {
    height: 112px;
  }
}

.site-header .nav-link {
  font-weight: 600;
  color: var(--sbg-text);
  padding-left: .9rem !important;
  padding-right: .9rem !important;
}
.site-header .nav-link.active,
.site-header .nav-link:hover {
  color: var(--sbg-navy);
}

.lang-toggle {
  display: inline-flex;
  border: 1px solid var(--sbg-border);
  border-radius: 999px;
  overflow: hidden;
  font-weight: 700;
  font-size: .85rem;
}
.lang-toggle a {
  padding: .35rem .9rem;
  color: var(--sbg-muted);
}
.lang-toggle a.active {
  background: var(--sbg-navy);
  color: #fff;
}

/* ---------------------------------------------------------------------- */
/* Hero                                                                    */
/* ---------------------------------------------------------------------- */
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: .12;
  background: var(--sbg-amber);
  pointer-events: none;
}
.hero-shape--1 { width: 420px; height: 420px; top: -140px; right: -100px; }
.hero-shape--2 { width: 260px; height: 260px; bottom: -120px; right: 20%; opacity: .08; background: #fff; }

/* Full-bleed hero: background image/photo (admin-managed banner, or the bundled
   fallback graphic) with a dark overlay so white text always stays readable. */
.hero-full {
  position: relative;
  overflow: hidden;
  color: #fff;
  min-height: 640px;
  display: flex;
  align-items: center;
}
.hero-full__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-full__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,32,56,.80), rgba(14,32,56,.62));
  z-index: 1;
}
.hero-full__content {
  position: relative;
  z-index: 2;
  width: 100%;
}
.hero-full .display-title {
  font-weight: 800;
  line-height: 1.15;
}
.hero-full__points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2rem;
}
.hero-full__scroll {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: .75rem;
  font-weight: 600;
  opacity: .75;
}
.hero-full__scroll i {
  display: block;
  animation: hero-scroll-bounce 1.6s ease-in-out infinite;
}
@keyframes hero-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.hero-full__badge-card {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: .75rem;
  background: rgba(14,32,56,.55);
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(4px);
  border-radius: var(--sbg-radius);
  padding: .85rem 1.1rem;
  color: #fff;
}
.hero-full__badge-circle {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sbg-amber);
  color: var(--sbg-navy-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .8rem;
  text-align: center;
}
@media (max-width: 767.98px) {
  .hero-full { min-height: 560px; }
  .hero-full__badge-card { left: 1rem; right: 1rem; bottom: 1rem; }
}

/* ---------------------------------------------------------------------- */
/* Marquee - pure CSS, no plugin, GPU-friendly transform animation        */
/* ---------------------------------------------------------------------- */
.marquee {
  background: var(--sbg-navy-dark);
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  padding: .65rem 0;
}
.marquee__track {
  display: inline-block;
  padding-left: 100%;
  animation: marquee-scroll 28s linear infinite;
  font-weight: 600;
  letter-spacing: .3px;
}
.marquee:hover .marquee__track {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-100%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ---------------------------------------------------------------------- */
/* Cards / shadow boxes                                                    */
/* ---------------------------------------------------------------------- */
.shadow-box {
  background: #fff;
  border-radius: var(--sbg-radius);
  box-shadow: var(--sbg-shadow-sm);
  border: 1px solid var(--sbg-border);
  transition: transform .2s ease, box-shadow .2s ease;
}
.shadow-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--sbg-shadow-md);
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(27, 51, 88, 0.08);
  color: var(--sbg-navy);
  font-size: 1.5rem;
}

.stat-box {
  text-align: center;
  padding: 1.5rem 1rem;
}
.stat-box .stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--sbg-navy);
}

.process-step {
  position: relative;
  padding-left: 3.25rem;
}
.process-step .step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--sbg-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* ---------------------------------------------------------------------- */
/* Our Process page - full alternating timeline                           */
/* ---------------------------------------------------------------------- */
.process-timeline {
  position: relative;
}
.process-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 27px;
  width: 3px;
  background: var(--sbg-border);
}
.process-timeline-item {
  position: relative;
  padding-left: 4.5rem;
  margin-bottom: 2.5rem;
}
.process-timeline-item:last-child {
  margin-bottom: 0;
}
.process-timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sbg-navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  box-shadow: var(--sbg-shadow-sm);
  z-index: 1;
  flex-shrink: 0;
}
@media (min-width: 992px) {
  .process-timeline::before {
    left: 50%;
    transform: translateX(-1.5px);
  }
  .process-timeline-item {
    width: 50%;
    padding-left: 0;
    margin-bottom: 3rem;
  }
  .process-timeline-item:nth-child(odd) {
    padding-right: 4rem;
    text-align: right;
  }
  .process-timeline-item:nth-child(even) {
    margin-left: 50%;
    padding-left: 4rem;
  }
  .process-timeline-item:nth-child(odd) .process-timeline-marker {
    left: auto;
    right: -28px;
  }
  .process-timeline-item:nth-child(even) .process-timeline-marker {
    left: -28px;
  }
  .process-timeline-item:nth-child(odd) ul {
    list-style-position: inside;
    padding-left: 0;
  }
}

/* ---------------------------------------------------------------------- */
/* Forms                                                                   */
/* ---------------------------------------------------------------------- */
.form-card {
  background: #fff;
  border-radius: var(--sbg-radius);
  box-shadow: var(--sbg-shadow-md);
  padding: 2rem;
}
.captcha-box img {
  border-radius: .5rem;
  border: 1px solid var(--sbg-border);
  cursor: pointer;
}

/* ---------------------------------------------------------------------- */
/* Footer                                                                  */
/* ---------------------------------------------------------------------- */
.site-footer {
  background: var(--sbg-navy-dark);
  color: rgba(255,255,255,.85);
}
.site-footer a { color: rgba(255,255,255,.85); }
.site-footer a:hover { color: var(--sbg-amber); }
.site-footer h6 {
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: .85rem;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
}

/* ---------------------------------------------------------------------- */
/* Admin panel                                                             */
/* ---------------------------------------------------------------------- */
.admin-sidebar {
  background: var(--sbg-navy-dark);
  min-height: 100vh;
  color: #fff;
}
.admin-sidebar .nav-link {
  color: rgba(255,255,255,.75);
  border-radius: .5rem;
  font-weight: 600;
}
.admin-sidebar .nav-link.active,
.admin-sidebar .nav-link:hover {
  background: rgba(255,255,255,.08);
  color: #fff;
}
/* Offcanvas is a flex column; without this its body won't shrink to scroll
   when the nav list is taller than the screen, which can push the logout
   button out of view on short mobile screens. */
.offcanvas.admin-sidebar {
  min-height: 0;
}
.offcanvas.admin-sidebar .offcanvas-body {
  min-height: 0;
  overflow-y: auto;
}
.admin-card {
  background: #fff;
  border-radius: var(--sbg-radius);
  box-shadow: var(--sbg-shadow-sm);
  border: 1px solid var(--sbg-border);
}
.admin-login-wrap {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sbg-navy-dark), var(--sbg-navy));
}

@media (max-width: 767.98px) {
  .hero .display-title { font-size: 2rem; }
  .form-card { padding: 1.25rem; }
}
