/* =========================================================
   INFICONS RISK MANAGEMENT PVT LTD — Corporate Website
   Design System / Global Stylesheet
   ========================================================= */

:root {
  /* Brand Palette — derived from corporate logo & letterhead */
  --ink-900: #0A1F38;      /* Deep Navy (primary brand) */
  --ink-800: #0E2A47;      /* Navy */
  --ink-700: #15395E;      /* Steel Navy */
  --blue-600: #1F4E79;     /* Corporate Blue */
  --blue-500: #2C6CA3;     /* Accent Blue */
  --steel-300: #A9B8C6;    /* Silver Steel */
  --steel-200: #D4DDE4;    /* Light Steel */
  --gold-500: #BF9B4D;     /* Premium Gold Accent */
  --gold-400: #D4B978;     /* Light Gold */
  --bg-light: #F6F8FA;     /* Page background */
  --bg-soft: #EEF2F6;      /* Section alt background */
  --white: #FFFFFF;
  --text-900: #16212E;     /* Primary text */
  --text-600: #3A4A5A;     /* Secondary text */
  --text-400: #5E7186;     /* Muted text */
  --border-200: #E1E7EC;

  --font-head: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --shadow-sm: 0 2px 10px rgba(10, 31, 56, 0.06);
  --shadow-md: 0 8px 30px rgba(10, 31, 56, 0.10);
  --shadow-lg: 0 20px 60px rgba(10, 31, 56, 0.14);

  --radius: 10px;
  --radius-lg: 16px;
}

/* ---------------------------------------------------------
   Base
   --------------------------------------------------------- */
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-900);
  background-color: var(--bg-light);
  font-size: 1rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6,
.font-head {
  font-family: var(--font-head);
  color: var(--ink-900);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p { color: var(--text-600); }

a { color: var(--blue-500); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--ink-800); }

.text-gold { color: var(--gold-500) !important; }
.text-steel { color: var(--steel-300) !important; }
.bg-ink { background-color: var(--ink-900) !important; }
.bg-soft { background-color: var(--bg-soft) !important; }
.bg-navy-gradient {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--ink-700) 55%, var(--blue-600) 100%);
}

.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }

@media (max-width: 767.98px) {
  .section { padding: 3.25rem 0; }
  .section-sm { padding: 2.25rem 0; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--gold-500);
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}

.section-lead {
  color: var(--text-600);
  font-size: 1.08rem;
  max-width: 720px;
}

/* ---------------------------------------------------------
   Buttons
   --------------------------------------------------------- */
.btn {
  font-family: var(--font-head);
  font-weight: 600;
  border-radius: 6px;
  padding: .75rem 1.75rem;
  letter-spacing: .01em;
  transition: all .2s ease;
}

.btn-gold {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--ink-900);
}
.btn-gold:hover {
  background-color: var(--gold-400);
  border-color: var(--gold-400);
  color: var(--ink-900);
}

.btn-outline-light:hover { color: var(--ink-900); }

.btn-navy {
  background-color: var(--ink-900);
  border-color: var(--ink-900);
  color: var(--white);
}
.btn-navy:hover {
  background-color: var(--blue-600);
  border-color: var(--blue-600);
  color: var(--white);
}

.btn-outline-navy {
  border: 1.5px solid var(--ink-900);
  color: var(--ink-900);
  background: transparent;
}
.btn-outline-navy:hover {
  background-color: var(--ink-900);
  color: var(--white);
}

/* ---------------------------------------------------------
   Navbar
   --------------------------------------------------------- */
.navbar-inficons {
  background-color: rgba(10, 31, 56, 0.97);
  padding-top: .65rem;
  padding-bottom: .65rem;
  transition: all .25s ease;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.navbar-inficons.scrolled {
  padding-top: .35rem;
  padding-bottom: .35rem;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: .65rem;
}
.navbar-brand img {
  height: 42px;
  transition: height .25s ease;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
}
.navbar-inficons.scrolled .navbar-brand img { height: 36px; }

.navbar-brand .brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  line-height: 1.3;
  color: var(--steel-200);
  letter-spacing: .07em;
  text-transform: uppercase;
  white-space: nowrap;
}
@media (max-width: 575.98px) {
  .navbar-brand .brand-name { display: none; }
}

.navbar-inficons .nav-link {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .92rem;
  color: rgba(255,255,255,0.85) !important;
  padding: .5rem 1rem !important;
  letter-spacing: .01em;
}
.navbar-inficons .nav-link:hover,
.navbar-inficons .nav-link.active {
  color: var(--gold-400) !important;
}

.navbar-inficons .btn-gold {
  font-size: .88rem;
  padding: .55rem 1.4rem;
}

.navbar-toggler { border: none; box-shadow: none !important; }

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero {
  position: relative;
  background: var(--bg-soft);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(191,155,77,0.10), transparent 60%),
    linear-gradient(135deg, var(--ink-900) 0%, var(--ink-800) 45%, var(--blue-600) 100%);
  color: var(--white);
  padding: 9.5rem 0 6rem;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,0.6), transparent 75%);
  pointer-events: none;
}

.hero h1 { color: var(--white); }
.hero .lead { color: rgba(255,255,255,0.82); font-size: 1.18rem; }

.hero-shape {
  position: absolute;
  right: -120px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 50%;
}
.hero-shape::before {
  content: "";
  position: absolute;
  inset: 60px;
  border: 1px solid rgba(191,155,77,0.18);
  border-radius: 50%;
}

@media (max-width: 991.98px) {
  .hero { padding: 7.5rem 0 4rem; }
  .hero-shape { display: none; }
}

/* Page header (inner pages) */
.page-header {
  background: linear-gradient(135deg, var(--ink-900) 0%, var(--blue-600) 100%);
  color: var(--white);
  padding: 8.5rem 0 3.5rem;
}
.page-header h1 { color: var(--white); }
.page-header .breadcrumb-link { color: var(--steel-300); font-weight: 600; font-size: .9rem; }
.page-header .breadcrumb-link a { color: var(--gold-400); }

/* ---------------------------------------------------------
   Cards
   --------------------------------------------------------- */
.card-inficons {
  background: var(--white);
  border: 1px solid var(--border-200);
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.85rem;
  height: 100%;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-inficons:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.icon-tile {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--ink-900), var(--blue-600));
  color: var(--gold-400);
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card-inficons h3, .card-inficons h4 { font-size: 1.18rem; }

/* Stat block */
.stat-block { text-align: center; }
.stat-number {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--white);
  line-height: 1;
}
.stat-label {
  font-size: .85rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--steel-300);
  font-weight: 600;
  margin-top: .5rem;
}

/* Numbered process step */
.step-card {
  position: relative;
  padding-left: 4.5rem;
  margin-bottom: 2.25rem;
}
.step-number {
  position: absolute;
  left: 0; top: 0;
  width: 3.25rem; height: 3.25rem;
  border-radius: 10px;
  background: var(--ink-900);
  color: var(--gold-400);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.step-card h4 { font-size: 1.1rem; margin-bottom: .35rem; }

/* Checklist */
.list-check { list-style: none; padding-left: 0; margin: 0; }
.list-check li {
  position: relative;
  padding-left: 1.85rem;
  margin-bottom: .65rem;
  color: var(--text-600);
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0; top: .42em;
  width: 14px; height: 14px;
  border-radius: 50%;
  background-color: var(--gold-500);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-6.5 6.5a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06L6.5 9.94l5.97-5.97a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M13.78 4.22a.75.75 0 0 1 0 1.06l-6.5 6.5a.75.75 0 0 1-1.06 0l-3-3a.75.75 0 1 1 1.06-1.06L6.5 9.94l5.97-5.97a.75.75 0 0 1 1.06 0Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Badge / pill */
.pill {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 100px;
  background: var(--bg-soft);
  border: 1px solid var(--border-200);
  font-size: .85rem;
  font-weight: 600;
  color: var(--ink-800);
  margin: .25rem;
}
.pill-dark {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.14);
  color: var(--steel-200);
}

/* Quote block */
.quote-block {
  border-left: 3px solid var(--gold-500);
  padding: .25rem 0 .25rem 1.75rem;
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-style: italic;
  color: var(--ink-900);
  line-height: 1.6;
}

/* Table (value proposition) */
.table-inficons {
  --bs-table-bg: transparent;
  border-collapse: separate;
  border-spacing: 0;
}
.table-inficons thead th {
  font-family: var(--font-head);
  background-color: var(--ink-900);
  color: var(--white);
  border: none;
  padding: 1rem 1.25rem;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.table-inficons thead th:first-child { border-top-left-radius: 10px; }
.table-inficons thead th:last-child { border-top-right-radius: 10px; }
.table-inficons tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-200);
  vertical-align: middle;
  background: var(--white);
}
.table-inficons tbody tr:last-child td { border-bottom: none; }

/* Leadership card */
.leader-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
  border: 1px solid var(--border-200);
}
.leader-photo {
  height: 230px;
  background: linear-gradient(135deg, var(--ink-900), var(--blue-600));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-400);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 3rem;
  letter-spacing: .05em;
  position: relative;
}
.leader-photo::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.leader-body { padding: 1.75rem; }
.leader-body h3 { font-size: 1.25rem; margin-bottom: .15rem; }
.leader-role {
  color: var(--gold-500);
  font-weight: 700;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 1rem;
  display: block;
}

/* CTA band */
.cta-band {
  background: var(--ink-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  width: 360px; height: 360px;
  background: radial-gradient(circle, rgba(191,155,77,0.18), transparent 70%);
  right: -100px; top: -120px;
  border-radius: 50%;
}
.cta-band h2 { color: var(--white); }

/* ---------------------------------------------------------
   Footer
   --------------------------------------------------------- */
.footer {
  background-color: var(--ink-900);
  color: var(--steel-200);
  padding: 4.5rem 0 1.5rem;
}
.footer h5 {
  color: var(--white);
  font-size: 1.02rem;
  margin-bottom: 1.25rem;
}
.footer a { color: var(--steel-300); }
.footer a:hover { color: var(--gold-400); }
.footer ul { list-style: none; padding: 0; }
.footer ul li { margin-bottom: .6rem; font-size: .94rem; }
.footer .footer-logo {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-bottom: 1rem;
}
.footer .footer-logo img {
  height: 44px;
  background: var(--white);
  border-radius: 6px;
  padding: 4px 10px;
}
.footer .footer-logo .brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .72rem;
  line-height: 1.3;
  color: var(--steel-200);
  letter-spacing: .07em;
  text-transform: uppercase;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 3rem;
  padding-top: 1.5rem;
  font-size: .85rem;
  color: var(--text-400);
}
.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--steel-200);
  margin-right: .5rem;
  transition: all .2s ease;
}
.social-icons a:hover {
  background-color: var(--gold-500);
  border-color: var(--gold-500);
  color: var(--ink-900);
}

/* ---------------------------------------------------------
   Misc utilities
   --------------------------------------------------------- */
.divider-gold {
  width: 64px;
  height: 3px;
  background: var(--gold-500);
  margin: 0 auto 1.5rem;
}
.zigzag-row:nth-of-type(even) .order-lg-row-reverse { flex-direction: row-reverse; }

.fade-in-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.fade-in-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.coverage-map-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
}
.coverage-state {
  background: var(--white);
  border: 1px solid var(--border-200);
  border-radius: var(--radius);
  padding: 1.25rem 1rem;
  text-align: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--ink-900);
  box-shadow: var(--shadow-sm);
}
.coverage-state small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text-400);
  margin-top: .25rem;
  text-transform: uppercase;
  font-size: .7rem;
  letter-spacing: .08em;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ink-900);
  color: var(--gold-400);
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: all .25s ease;
  z-index: 999;
  border: none;
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--blue-600); }

/* ---------------------------------------------------------
   Under-construction toast
   --------------------------------------------------------- */
.uc-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 16px);
  background: var(--ink-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .6rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease, transform .25s ease;
  z-index: 1100;
  white-space: nowrap;
}
.uc-toast i { color: var(--gold-400); font-size: 1.1rem; }
.uc-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

@media (max-width: 575.98px) {
  .uc-toast { white-space: normal; text-align: center; left: 16px; right: 16px; transform: translateY(16px); }
  .uc-toast.show { transform: translateY(0); }
}
