/* ============================================================
   assets/css/style.css – FSSAI Agency
   Design: Deep Navy + Amber Gold, Plus Jakarta Sans + Lora
   ============================================================ */

:root {
  --navy:        #0d1b2e;
  --navy-mid:    #162540;
  --navy-light:  #1e3558;
  --gold:        #f5a623;
  --gold-light:  #fbbf47;
  --gold-dark:   #d4871a;
  --green:       #22c55e;
  --sky:         #38bdf8;
  --red:         #ef4444;
  --text-body:   #1f2937;
  --text-muted:  #6b7280;
  --border:      #e5e7eb;
  --card-bg:     #ffffff;
  --section-bg:  #f8fafc;
  --radius:      12px;
  --shadow-sm:   0 2px 8px rgba(0,0,0,.06);
  --shadow-md:   0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:   0 20px 48px rgba(0,0,0,.14);
  --font-body:   'Plus Jakarta Sans', sans-serif;
  --font-display:'Lora', serif;
  --transition:  .25s ease;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: #fff;
  line-height: 1.7;
  font-size: 1rem;
}
h1,h2,h3 { font-family: var(--font-display); line-height: 1.2; }
h4,h5,h6 { font-family: var(--font-body); font-weight: 700; }
a { color: var(--gold-dark); transition: color var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; }

/* ── Navbar ── */
.site-nav {
  background: var(--navy) !important;
  box-shadow: 0 2px 20px rgba(0,0,0,.25);
  padding: .75rem 0;
  z-index: 1050;
}
.site-nav .navbar-brand { font-size: 1.25rem; }
.brand-icon { font-size: 1.5rem; color: var(--gold); }
.brand-text  { color: #fff; letter-spacing: -.3px; }
.site-nav .nav-link {
  color: rgba(255,255,255,.82) !important;
  font-weight: 500;
  padding: .5rem .75rem !important;
  border-radius: 6px;
  transition: all var(--transition);
}
.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--gold) !important; background: rgba(255,255,255,.08); }
.site-nav .dropdown-menu { background: var(--navy-mid); border: 1px solid rgba(255,255,255,.1); }
.site-nav .dropdown-item { color: rgba(255,255,255,.82); font-weight: 500; padding: .6rem 1.25rem; }
.site-nav .dropdown-item:hover { background: rgba(255,255,255,.1); color: var(--gold); }

.sticky-apply-mobile {
  position: sticky; top: 0; z-index: 1040;
  background: var(--gold); border-bottom: 2px solid var(--gold-dark);
}
.sticky-apply-mobile .btn { border-radius: 0; font-size: .9rem; padding: .55rem; }

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #0a3060 100%);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::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='%23f5a623' fill-opacity='0.04'%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 .badge-pill {
  background: rgba(245,166,35,.18);
  border: 1px solid rgba(245,166,35,.4);
  color: var(--gold-light);
  font-size: .8rem;
  padding: .4rem 1rem;
  border-radius: 100px;
  display: inline-block;
}
.hero h1 { font-size: clamp(2rem, 4.5vw, 3.5rem); color: #fff; }
.hero h1 span { color: var(--gold); }
.hero p.lead { color: rgba(255,255,255,.78); font-size: 1.15rem; }
.hero-stats .stat-box {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 1rem;
  text-align: center;
  backdrop-filter: blur(6px);
}
.hero-stats .stat-num { font-size: 1.75rem; font-weight: 800; color: var(--gold); }
.hero-stats .stat-label { font-size: .78rem; color: rgba(255,255,255,.7); }
.hero-form-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  padding: 2rem;
}

/* ── Section styles ── */
.section { padding: 5rem 0; }
.section-alt { background: var(--section-bg); }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: .75rem; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; }
.section-label {
  color: var(--gold-dark); font-weight: 700; font-size: .8rem;
  text-transform: uppercase; letter-spacing: 1.5px;
}

/* ── Service Cards ── */
.service-card {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  height: 100%;
  transition: all var(--transition);
  position: relative; overflow: hidden;
}
.service-card::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0); transition: transform var(--transition);
}
.service-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--gold); }
.service-card:hover::after { transform: scaleX(1); }
.service-card .icon-wrap {
  width: 60px; height: 60px; border-radius: 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: #fff; margin-bottom: 1rem;
}
.service-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: .5rem; }

/* ── Steps / Process ── */
.step-item { display: flex; gap: 1.25rem; margin-bottom: 2rem; align-items: flex-start; }
.step-num {
  min-width: 44px; height: 44px;
  background: var(--gold); color: var(--navy);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 800; font-size: 1rem;
  flex-shrink: 0;
}
.step-content h6 { font-weight: 700; margin-bottom: .25rem; }
.step-content p { color: var(--text-muted); font-size: .92rem; margin: 0; }

/* ── FAQ Accordion ── */
.faq-accordion .accordion-button {
  background: var(--section-bg);
  color: var(--text-body);
  font-weight: 600;
  border-radius: var(--radius) !important;
  font-size: 1rem;
}
.faq-accordion .accordion-button:not(.collapsed) {
  background: var(--navy); color: #fff;
  box-shadow: none;
}
.faq-accordion .accordion-button::after { filter: brightness(0.5); }
.faq-accordion .accordion-button:not(.collapsed)::after { filter: brightness(5); }
.faq-accordion .accordion-item { border: 1px solid var(--border); border-radius: var(--radius) !important; margin-bottom: .75rem; overflow: hidden; }
.faq-accordion .accordion-body { color: var(--text-muted); line-height: 1.8; }

/* ── Multi-step Form ── */
.cta-dot-pattern {
  position: absolute;
  inset: 0;
  opacity: .1;
  background-image: radial-gradient(circle, #f5a623 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.form-step { display: none; }
.form-step.active { display: block; }
.progress-steps { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.step-dot {
  width: 36px; height: 36px; border-radius: 50%;
  border: 2px solid var(--border); background: #fff;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: .8rem; color: var(--text-muted);
  position: relative; transition: all .3s ease;
}
.step-dot.active { background: var(--gold); border-color: var(--gold); color: #fff; }
.step-dot.done   { background: var(--green); border-color: var(--green); color: #fff; }
.step-dot::after {
  content: attr(data-label);
  position: absolute; top: 42px; left: 50%; transform: translateX(-50%);
  font-size: .7rem; font-weight: 600; color: var(--text-muted);
  white-space: nowrap;
}
.step-connector {
  flex: 1; height: 2px; background: var(--border);
  margin: 17px -.5rem 0; transition: background .3s ease;
}
.step-connector.done { background: var(--green); }
.form-progress-bar { border-radius: 100px; }

/* Form inputs */
.form-control, .form-select {
  border-radius: 8px; border: 1.5px solid var(--border);
  padding: .6rem 1rem; font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245,166,35,.15);
  outline: none;
}
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: #9d9696ee}

/* ── Blog Cards ── */
.blog-card {
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  background: var(--card-bg);
  height: 100%;
  transition: all var(--transition);
}
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card .card-img-wrap { overflow: hidden; height: 200px; background: var(--section-bg); }
.blog-card .card-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.blog-card:hover .card-img-wrap img { transform: scale(1.05); }
.blog-card .card-body { padding: 1.25rem; }
.blog-card .cat-badge {
  font-size: .72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px; padding: .25rem .65rem;
  background: rgba(245,166,35,.12); color: var(--gold-dark);
  border-radius: 100px; border: 1px solid rgba(245,166,35,.25);
}
.blog-card h6 { font-size: .98rem; font-weight: 700; line-height: 1.4; margin: .5rem 0; }
.blog-card h6 a { color: var(--text-body); text-decoration: none; }
.blog-card h6 a:hover { color: var(--gold-dark); }
.blog-card .card-meta { font-size: .78rem; color: var(--text-muted); }

/* ── Breadcrumb ── */
.breadcrumb-wrap { background: var(--section-bg); padding: .75rem 0; border-bottom: 1px solid var(--border); }
.breadcrumb-item a { color: var(--gold-dark); }
.breadcrumb-item.active { color: var(--text-muted); }

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 4.5rem 0 3.5rem;
 
}

.page-hero .badge-tag {
  background: rgba(245,166,35,.18); color: var(--gold-light);
  border: 1px solid rgba(245,166,35,.3); padding: .3rem .9rem;
  border-radius: 100px; font-size: .78rem; font-weight: 600;
}
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 3rem); }
.page-hero p  { color: rgba(255,255,255,.78); max-width: 580px; }

/* ── Counters / Trust badges ── */
.trust-bar { background: var(--navy); padding: 1.5rem 0; }
.trust-bar .trust-item { text-align: center; color: #fff; }
.trust-bar .trust-num  { font-size: 1.5rem; font-weight: 800; color: var(--gold); }
.trust-bar .trust-label{ font-size: .78rem; color: rgba(255,255,255,.65); }

/* ── License Type Cards ── */
.license-card {
  border: 2px solid var(--border); border-radius: 16px;
  padding: 2rem 1.5rem; text-align: center; height: 100%;
  transition: all var(--transition); position: relative;
}
.license-card.popular { border-color: var(--gold); }
.license-card .popular-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-weight: 800;
  font-size: .75rem; padding: .3rem .9rem; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .5px;
}
.license-card:hover { box-shadow: var(--shadow-md); border-color: var(--gold); }
.license-card .price { font-size: 2rem; font-weight: 800; color: var(--navy); }
.license-card .price-label { font-size: .8rem; color: var(--text-muted); }
.license-card ul { list-style: none; padding: 0; text-align: left; margin: 1.25rem 0; }
.license-card ul li { padding: .35rem 0; font-size: .9rem; color: var(--text-body); }
.license-card ul li::before { content: '✓ '; color: var(--green); font-weight: 800; }

/* ── Alert / Notice ── */
.notice-urgent {
  background: linear-gradient(90deg, #fff3cd, #fffbf0);
  border-left: 4px solid var(--gold);
  border-radius: 8px; padding: 1rem 1.25rem;
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff !important;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; box-shadow: 0 4px 20px rgba(37,211,102,.45);
  text-decoration: none; transition: all var(--transition);
  animation: pulse-green 2.5s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); background: #1da851; }
@keyframes pulse-green {
  0%,100% { box-shadow: 0 4px 20px rgba(37,211,102,.45); }
  50%      { box-shadow: 0 4px 32px rgba(37,211,102,.7); }
}

/* ── Footer ── */
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); text-decoration: none; font-size: .9rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.tracking-wide { letter-spacing: .8px; }

/* ── Buttons ── */
.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; border: none; }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-navy { background: var(--navy); color: #fff; font-weight: 700; border: none; }
.btn-navy:hover { background: var(--navy-light); color: #fff; }
.btn-outline-gold { border: 2px solid var(--gold); color: var(--gold-dark); font-weight: 600; }
.btn-outline-gold:hover { background: var(--gold); color: var(--navy); }

/* ── Blog Article ── */
.blog-content h2 { font-size: 1.6rem; color: var(--navy); margin: 2rem 0 .75rem; }
.blog-content h3 { font-size: 1.3rem; color: var(--navy); margin: 1.5rem 0 .5rem; }
.blog-content p  { color: var(--text-body); line-height: 1.85; margin-bottom: 1rem; }
.blog-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.blog-content ul li { margin-bottom: .35rem; color: var(--text-body); }
.blog-content strong { color: var(--navy); }

/* ── Admin ── */
.admin-sidebar { background: var(--navy); min-height: 100vh; width: 260px; }
.admin-sidebar .nav-link { color: rgba(255,255,255,.75); padding: .6rem 1.25rem; border-radius: 8px; font-weight: 500; }
.admin-sidebar .nav-link:hover, .admin-sidebar .nav-link.active { background: rgba(255,255,255,.1); color: var(--gold); }
.admin-topbar { background: #fff; border-bottom: 1px solid var(--border); }
.admin-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 1.5rem; box-shadow: var(--shadow-sm); }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp .6s ease forwards; }
.delay-100  { animation-delay: .1s; }
.delay-200  { animation-delay: .2s; }
.delay-300  { animation-delay: .3s; }

/* ── Utilities ── */
.text-gold   { color: var(--gold) !important; }
.text-navy   { color: var(--navy) !important; }
.bg-navy     { background: var(--navy) !important; }
.bg-gold     { background: var(--gold) !important; }
.rounded-xl  { border-radius: 16px !important; }
.shadow-card { box-shadow: var(--shadow-md) !important; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .hero { min-height: auto; padding: 5rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .hero-form-card { padding: 1.5rem; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; }
  .progress-steps { display: none; }
}

/* Lazy image placeholder */
img[loading="lazy"] { background: #f1f5f9; }

/* ── Cursor helpers ── */
.cursor-pointer { cursor: pointer; }

/* ── Upload zone base ── */
.upload-zone { cursor: pointer; }

/* ── Step dot done: show checkmark ── */
.step-dot.done { font-size: 0 !important; }
.step-dot.done::before { content: '✓'; font-size: .85rem; font-weight: 800; }

/* ── Form validation overrides ── */
.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #ef4444 !important;
  background-image: none !important;
  box-shadow: 0 0 0 3px rgba(239,68,68,.12) !important;
}
.invalid-feedback {
  display: block;
  color: #dc2626;
  font-size: .78rem;
  margin-top: .25rem;
  font-weight: 500;
}
