/* ============================================================
   Sarvaantar – Corporate Website Stylesheet
   Theme: Deep Blue (#0d2240) + Orange (#f97316)
   Bootstrap 5 base
   ============================================================ */

:root {
  --primary:   #0d2240;
  --primary-light: #1a3a6b;
  --accent:    #f97316;
  --accent-dark: #e05a00;
  --light-bg:  #f4f7fb;
  --text-dark: #1a1a2e;
  --text-muted:#6b7280;
  --white:     #ffffff;
  --border:    #dde3ed;
  --gradient:  linear-gradient(135deg, #0d2240 0%, #1a3a6b 100%);
  --gradient-hero: linear-gradient(135deg, #0a1a30 0%, #0d2240 50%, #1a3a6b 100%);
}

/* ---- Reset / Base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-dark); }
img { max-width: 100%; height: auto; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary);
}
.text-accent { color: var(--accent) !important; }
.text-primary-brand { color: var(--primary) !important; }
.lead { font-size: 1.15rem; color: var(--text-muted); }

/* ---- Buttons ---- */
.btn-primary-brand {
  background: var(--accent);
  color: var(--white);
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  letter-spacing: .3px;
  transition: background .2s, transform .15s, box-shadow .2s;
}
.btn-primary-brand:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249,115,22,.35);
}
.btn-outline-brand {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
  border-radius: 6px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  transition: all .2s;
}
.btn-outline-brand:hover {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-outline-accent {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
  border-radius: 6px;
  padding: .65rem 1.8rem;
  font-weight: 600;
  transition: all .2s;
}
.btn-outline-accent:hover {
  background: var(--accent);
  color: var(--white);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar-brand-custom {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white) !important;
  letter-spacing: -0.5px;
}
.navbar-brand-custom span { color: var(--accent); }

.site-navbar {
  background: var(--primary) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: .9rem 0;
  transition: padding .3s;
}
.site-navbar.scrolled { padding: .5rem 0; }

.site-navbar .nav-link {
  color: rgba(255,255,255,.85) !important;
  font-weight: 500;
  font-size: .92rem;
  padding: .4rem .85rem !important;
  border-radius: 4px;
  transition: color .2s, background .2s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
  color: var(--accent) !important;
  background: rgba(249,115,22,.1);
}
.site-navbar .dropdown-menu {
  background: var(--primary-light);
  border: none;
  border-top: 3px solid var(--accent);
  border-radius: 0 0 8px 8px;
  box-shadow: 0 8px 30px rgba(0,0,0,.3);
  min-width: 200px;
}
.site-navbar .dropdown-item {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  padding: .55rem 1.2rem;
  transition: background .15s;
}
.site-navbar .dropdown-item:hover {
  background: rgba(249,115,22,.15);
  color: var(--accent);
}
.navbar-toggler { border-color: rgba(255,255,255,.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  background: var(--gradient-hero);
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-section::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 80px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero-eyebrow {
  display: inline-block;
  background: rgba(249,115,22,.2);
  color: var(--accent);
  border: 1px solid rgba(249,115,22,.4);
  border-radius: 20px;
  padding: .3rem 1rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.2rem;
}
.hero-title span { color: var(--accent); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.75);
  max-width: 560px;
  margin-bottom: 2rem;
}
.hero-badges { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2.5rem; }
.hero-badge {
  display: flex;
  align-items: center;
  gap: .4rem;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 6px;
  padding: .45rem .9rem;
  color: rgba(255,255,255,.85);
  font-size: .82rem;
  font-weight: 500;
}
.hero-badge i { color: var(--accent); font-size: .9rem; }

/* Hero visual card */
.hero-visual {
  position: relative;
  z-index: 2;
}
.hero-app-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}
.hero-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hero-stat-item {
  background: rgba(255,255,255,.07);
  border-radius: 10px;
  padding: 1.2rem;
  text-align: center;
}
.hero-stat-number {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.hero-stat-label {
  font-size: .75rem;
  color: rgba(255,255,255,.65);
  margin-top: .3rem;
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
.section-py { padding: 80px 0; }
.section-py-sm { padding: 50px 0; }
.section-bg-light { background: var(--light-bg); }
.section-bg-primary { background: var(--primary); }
.section-bg-gradient { background: var(--gradient); }

.section-label {
  display: inline-block;
  color: var(--accent);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.section-title {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-title-white { color: var(--white); }
.section-divider {
  width: 50px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
  margin: .8rem 0 1.5rem;
}
.section-divider-center { margin: .8rem auto 1.5rem; }

/* ============================================================
   CARDS
   ============================================================ */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem 1.8rem;
  height: 100%;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(13,34,64,.12);
  border-color: var(--accent);
}
.feature-icon {
  width: 54px; height: 54px;
  background: rgba(249,115,22,.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: background .2s;
}
.feature-card:hover .feature-icon { background: rgba(249,115,22,.2); }
.feature-icon i { font-size: 1.4rem; color: var(--accent); }
.feature-card h4 { font-size: 1.05rem; margin-bottom: .6rem; }
.feature-card p { color: var(--text-muted); font-size: .9rem; margin: 0; }

.product-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 25px rgba(13,34,64,.08);
  height: 100%;
  transition: transform .25s, box-shadow .25s;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(13,34,64,.16);
}
.product-card-header {
  background: var(--gradient);
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
}
.product-card-header::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 140px; height: 140px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
}
.product-card-icon {
  width: 60px; height: 60px;
  background: var(--accent);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.product-card-icon i { font-size: 1.6rem; color: var(--white); }
.product-card-header h3 { color: var(--white); font-size: 1.25rem; margin: 0; }
.product-card-header p { color: rgba(255,255,255,.7); font-size: .88rem; margin-top: .4rem; }
.product-card-body { padding: 2rem; }
.product-card-body ul { padding: 0; list-style: none; margin: 0; }
.product-card-body ul li {
  padding: .45rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9rem;
  color: var(--text-dark);
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.product-card-body ul li:last-child { border: none; }
.product-card-body ul li i { color: var(--accent); font-size: .75rem; margin-top: .35rem; flex-shrink: 0; }

/* Industry card */
.industry-card {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  height: 260px;
  cursor: default;
  transition: transform .25s;
}
.industry-card:hover { transform: translateY(-5px); }
.industry-card-bg {
  position: absolute;
  inset: 0;
  background: var(--gradient);
}
.industry-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.7) 100%);
}
.industry-card-content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.8rem 1.5rem;
}
.industry-card-icon {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .8rem;
}
.industry-card-icon i { color: var(--white); font-size: 1.2rem; }
.industry-card h4 { color: var(--white); margin: 0; font-size: 1.05rem; }
.industry-card p { color: rgba(255,255,255,.7); font-size: .82rem; margin: .3rem 0 0; }

/* Stats strip */
.stats-strip { background: var(--primary); }
.stat-item { padding: 2rem 1rem; text-align: center; }
.stat-number {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}
.stat-label { color: rgba(255,255,255,.7); font-size: .88rem; margin-top: .4rem; }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background: var(--gradient);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: rgba(249,115,22,.12);
  border-radius: 50%;
}
.cta-band::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,.04);
  border-radius: 50%;
}
.cta-band-content { position: relative; z-index: 2; }

/* ============================================================
   TESTIMONIALS / TRUST
   ============================================================ */
.trust-logo {
  filter: grayscale(1) opacity(.5);
  transition: filter .2s;
  height: 36px;
  object-fit: contain;
}
.trust-logo:hover { filter: grayscale(0) opacity(1); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #07151f;
  color: rgba(255,255,255,.7);
  padding: 60px 0 0;
}
.footer-brand { font-size: 1.6rem; font-weight: 800; color: var(--white); }
.footer-brand span { color: var(--accent); }
.footer-tagline { color: rgba(255,255,255,.5); font-size: .88rem; margin-top: .4rem; }
.footer-heading {
  color: var(--white);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  background: rgba(0,0,0,.3);
  padding: 1.2rem 0;
  margin-top: 2.5rem;
}
.footer-bottom p { margin: 0; font-size: .84rem; color: rgba(255,255,255,.4); }
.social-icons { display: flex; gap: .6rem; margin-top: 1rem; }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.07);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  transition: background .2s, color .2s;
}
.social-icon:hover { background: var(--accent); color: var(--white); }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  background: var(--gradient);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 50px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero h1 { color: var(--white); font-size: clamp(1.9rem, 3.5vw, 2.8rem); }
.page-hero p { color: rgba(255,255,255,.75); max-width: 600px; }
.breadcrumb { background: none; padding: 0; margin-bottom: 1rem; }
.breadcrumb-item a { color: rgba(255,255,255,.6); font-size: .85rem; }
.breadcrumb-item.active { color: var(--accent); font-size: .85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: .7rem 1rem;
  font-size: .93rem;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(249,115,22,.15);
  outline: none;
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--primary); }

/* ============================================================
   ACCORDION (FAQ)
   ============================================================ */
.accordion-item {
  border: 1.5px solid var(--border) !important;
  border-radius: 10px !important;
  margin-bottom: .6rem;
  overflow: hidden;
}
.accordion-button {
  font-weight: 600;
  font-size: .95rem;
  color: var(--primary);
  background: var(--white);
}
.accordion-button:not(.collapsed) {
  color: var(--accent);
  background: #fff8f3;
  box-shadow: none;
}
.accordion-button:focus { box-shadow: none; }
.accordion-button::after { filter: none; }
.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f97316'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.step-item { position: relative; padding-left: 70px; margin-bottom: 2rem; }
.step-number {
  position: absolute;
  left: 0; top: 0;
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 1rem;
}
.step-item h5 { font-size: 1rem; margin-bottom: .4rem; }
.step-item p { color: var(--text-muted); font-size: .9rem; margin: 0; }

/* ============================================================
   TECH PILLS
   ============================================================ */
.tech-pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  padding: .4rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  margin: .3rem;
  transition: border-color .2s, color .2s;
}
.tech-pill:hover { border-color: var(--accent); color: var(--accent); }
.tech-pill i { color: var(--accent); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal-content { max-width: 860px; margin: 0 auto; }
.legal-content h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-top: 2.5rem;
  margin-bottom: .8rem;
  padding-bottom: .4rem;
  border-bottom: 2px solid var(--border);
}
.legal-content h3 { font-size: 1.05rem; margin-top: 1.5rem; color: var(--primary-light); }
.legal-content p, .legal-content li { color: #374151; font-size: .95rem; line-height: 1.8; }
.legal-content ul { padding-left: 1.5rem; }
.legal-badge {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  background: rgba(249,115,22,.1);
  color: var(--accent);
  border-radius: 6px;
  padding: .3rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  margin-right: .4rem;
  margin-bottom: .4rem;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-icon {
  width: 46px; height: 46px;
  background: rgba(249,115,22,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-icon i { color: var(--accent); font-size: 1.1rem; }
.contact-info-text h6 { font-size: .85rem; color: var(--text-muted); margin: 0 0 .2rem; }
.contact-info-text p { margin: 0; font-weight: 600; font-size: .95rem; }

/* ============================================================
   SUPPORT PAGE
   ============================================================ */
.permission-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.permission-card:hover {
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(249,115,22,.1);
}
.permission-badge {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 20px;
  font-size: .75rem;
  font-weight: 700;
  margin-left: .5rem;
}
.permission-badge.required { background: rgba(220,38,38,.1); color: #dc2626; }
.permission-badge.optional { background: rgba(34,197,94,.1); color: #16a34a; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}
.animate-fade-up { animation: fadeInUp .7s ease both; }
.animate-fade-up-d1 { animation: fadeInUp .7s .15s ease both; }
.animate-fade-up-d2 { animation: fadeInUp .7s .3s ease both; }
.animate-fade-up-d3 { animation: fadeInUp .7s .45s ease both; }
.animate-float { animation: float 4s ease-in-out infinite; }

/* Scroll reveal classes (JS toggles .revealed) */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .6s ease, transform .6s ease; }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 100px 0 80px; }
  .hero-section::after { display: none; }
  .section-py { padding: 55px 0; }
  .stat-number { font-size: 1.8rem; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .hero-visual { margin-top: 2.5rem; }
}
@media (max-width: 576px) {
  .hero-title { font-size: 2rem; }
  .hero-badges { gap: .5rem; }
  .hero-badge { font-size: .78rem; padding: .35rem .75rem; }
}

/* ============================================================
   UTILITY OVERRIDES
   ============================================================ */
.rounded-xl { border-radius: 16px !important; }
.shadow-soft { box-shadow: 0 4px 25px rgba(13,34,64,.08); }
.shadow-medium { box-shadow: 0 8px 40px rgba(13,34,64,.12); }
.bg-accent { background: var(--accent) !important; }
.bg-primary-brand { background: var(--primary) !important; }
