/* ==========================================================
   Digital Service Center - Main Stylesheet (v2, colorful redesign)
   Palette: Deep Teal (primary/trust) + Marigold Amber (warmth/CTA)
            + a rotating category-color system for visual variety
   ========================================================== */

:root {
  --teal: #0f6b5c;
  --teal-dark: #0a4a40;
  --teal-light: #14856f;
  --amber: #f2a71b;
  --amber-dark: #d68c0a;
  --coral: #e8593f;
  --plum: #7c4a9e;
  --sky: #1e88b8;
  --white: #ffffff;
  --cream: #faf7f0;
  --bg: #f6f4ee;
  --border: #e8e2d4;
  --text: #23302c;
  --text-muted: #6b6459;
  --success: #1a9c5b;
  --warning: #e0a000;
  --danger: #d84b3a;
  --info: #1e88b8;
  --orange: #e07b1f;
  --radius: 14px;
  --shadow: 0 3px 14px rgba(15, 42, 34, 0.08);
  --shadow-lg: 0 14px 34px rgba(15, 42, 34, 0.16);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Hind Siliguri', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

h1, h2, h3, h4 {
  font-family: 'Baloo Da 2', 'Hind Siliguri', sans-serif;
  font-weight: 700;
  margin: 0 0 .5rem;
  color: var(--teal-dark);
}
p { margin: 0 0 1rem; color: var(--text); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header { background: var(--white); box-shadow: var(--shadow); position: sticky; top: 0; z-index: 100; border-bottom: 3px solid var(--amber); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 9px; font-family: 'Baloo Da 2', sans-serif; font-weight: 700; font-size: 1.2rem; color: var(--teal-dark); }
.logo i { color: var(--amber-dark); font-size: 1.35rem; }

.main-nav { display: flex; align-items: center; gap: 26px; }
.main-nav a { font-weight: 600; color: var(--text); font-size: .95rem; transition: color .15s; padding: 6px 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--teal); border-bottom-color: var(--amber); }
.main-nav a.nav-admin-link { color: var(--teal-dark); background: var(--bg); padding: 7px 16px; border-radius: 20px; border-bottom: none; }
.main-nav a.nav-admin-link:hover { background: var(--amber); color: #fff; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--teal-dark); border-radius: 2px; }

.sticky-call-btn {
  position: fixed; right: 18px; bottom: 18px; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; box-shadow: 0 10px 26px rgba(214,140,10,.45);
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; border-radius: 10px; font-weight: 700; font-size: .95rem; cursor: pointer; border: none; transition: all .18s; }
.btn-primary { background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%); color: #fff; box-shadow: 0 6px 16px rgba(214,140,10,.35); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(214,140,10,.45); }
.btn-outline { background: transparent; color: var(--teal-dark); border: 1.5px solid var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-white { background: #fff; color: var(--teal-dark); }
.btn-white:hover { background: var(--amber); color: #fff; }
.btn-lg { padding: 14px 30px; font-size: 1rem; }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 8px 16px; font-size: .85rem; }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--teal-dark) 0%, var(--teal) 55%, var(--teal-light) 100%);
  color: #fff; padding: 68px 0; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(242,167,27,.25) 0%, transparent 70%);
}
.hero-inner { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; position: relative; z-index: 1; }
.hero-content { flex: 1 1 460px; }
.hero-content h1 { color: #fff; font-size: 2.4rem; line-height: 1.3; margin-bottom: 16px; }
.hero-content p { color: #dcf1ea; font-size: 1.05rem; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.hero-visual { flex: 1 1 320px; display: flex; justify-content: center; }
.hero-visual .icon-badge {
  width: 220px; height: 220px; border-radius: 50%;
  background: rgba(242,167,27,.15); display: flex; align-items: center; justify-content: center;
  font-size: 5rem; color: var(--amber); border: 2px solid rgba(242,167,27,.4);
}

/* ---------- Search ---------- */
.search-section { margin-top: -30px; position: relative; z-index: 5; }
.search-box { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 22px; display: flex; gap: 12px; flex-wrap: wrap; border-top: 4px solid var(--amber); }
.search-box input { flex: 1 1 260px; border: 1.5px solid var(--border); border-radius: 8px; padding: 13px 16px; font-size: 1rem; font-family: inherit; }
.search-box input:focus { outline: none; border-color: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 60px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 40px; }
.section-head h2 { font-size: 1.85rem; }
.section-head p { color: var(--text-muted); }

/* ---------- Category color system (signature element) ----------
   Each card in a category/service grid cycles through a curated set
   of accent colors via nth-child, giving the service catalogue a
   colorful, organized "tabbed folder" feel without any PHP changes. */
.grid { display: grid; gap: 22px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 26px; transition: transform .18s, box-shadow .18s; border: 1px solid var(--border);
  border-top: 4px solid var(--teal); position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-icon { width: 54px; height: 54px; border-radius: 14px; background: rgba(15,107,92,.1); color: var(--teal); display: flex; align-items: center; justify-content: center; font-size: 1.45rem; margin-bottom: 16px; }
.card h3 { font-size: 1.12rem; margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: .92rem; margin-bottom: 14px; }
.card-link { color: var(--teal); font-weight: 700; font-size: .9rem; display: inline-flex; align-items: center; gap: 6px; }
.card-link i { transition: transform .15s; }
.card:hover .card-link i { transform: translateX(3px); }

/* Color cycle: teal / amber / coral / plum / sky / forest — repeats every 6 cards */
.grid-3 .card:nth-child(6n+2), .grid-4 .card:nth-child(6n+2) { border-top-color: var(--amber); }
.grid-3 .card:nth-child(6n+2) .card-icon, .grid-4 .card:nth-child(6n+2) .card-icon { background: rgba(242,167,27,.15); color: var(--amber-dark); }
.grid-3 .card:nth-child(6n+2) .card-link, .grid-4 .card:nth-child(6n+2) .card-link { color: var(--amber-dark); }

.grid-3 .card:nth-child(6n+3), .grid-4 .card:nth-child(6n+3) { border-top-color: var(--coral); }
.grid-3 .card:nth-child(6n+3) .card-icon, .grid-4 .card:nth-child(6n+3) .card-icon { background: rgba(232,89,63,.12); color: var(--coral); }
.grid-3 .card:nth-child(6n+3) .card-link, .grid-4 .card:nth-child(6n+3) .card-link { color: var(--coral); }

.grid-3 .card:nth-child(6n+4), .grid-4 .card:nth-child(6n+4) { border-top-color: var(--plum); }
.grid-3 .card:nth-child(6n+4) .card-icon, .grid-4 .card:nth-child(6n+4) .card-icon { background: rgba(124,74,158,.12); color: var(--plum); }
.grid-3 .card:nth-child(6n+4) .card-link, .grid-4 .card:nth-child(6n+4) .card-link { color: var(--plum); }

.grid-3 .card:nth-child(6n+5), .grid-4 .card:nth-child(6n+5) { border-top-color: var(--sky); }
.grid-3 .card:nth-child(6n+5) .card-icon, .grid-4 .card:nth-child(6n+5) .card-icon { background: rgba(30,136,184,.12); color: var(--sky); }
.grid-3 .card:nth-child(6n+5) .card-link, .grid-4 .card:nth-child(6n+5) .card-link { color: var(--sky); }

.grid-3 .card:nth-child(6n+6), .grid-4 .card:nth-child(6n+6) { border-top-color: var(--success); }
.grid-3 .card:nth-child(6n+6) .card-icon, .grid-4 .card:nth-child(6n+6) .card-icon { background: rgba(26,156,91,.12); color: var(--success); }
.grid-3 .card:nth-child(6n+6) .card-link, .grid-4 .card:nth-child(6n+6) .card-link { color: var(--success); }

.service-mini-list { list-style: none; margin: 0 0 14px; padding: 0; font-size: .88rem; color: var(--text-muted); }
.service-mini-list li { padding: 3px 0; }
.service-mini-list li::before { content: "•"; color: inherit; margin-right: 8px; font-weight: 700; }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; padding: 24px 16px; }
.step-number {
  width: 56px; height: 56px; border-radius: 50%; color: #fff; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 1.15rem; margin: 0 auto 14px;
  font-family: 'Baloo Da 2', sans-serif; box-shadow: var(--shadow);
}
.step:nth-child(1) .step-number { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); }
.step:nth-child(2) .step-number { background: linear-gradient(135deg, var(--amber) 0%, var(--amber-dark) 100%); }
.step:nth-child(3) .step-number { background: linear-gradient(135deg, var(--coral) 0%, #c73d26 100%); }
.step:nth-child(4) .step-number { background: linear-gradient(135deg, var(--plum) 0%, #5c3579 100%); }

/* ---------- Notices ---------- */
.notice-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.notice-item:last-child { border-bottom: none; }
.notice-title { font-weight: 700; margin-bottom: 4px; }
.notice-meta { font-size: .85rem; color: var(--text-muted); }
.notice-deadline { white-space: nowrap; font-size: .85rem; background: rgba(224,160,0,.15); color: var(--amber-dark); padding: 5px 12px; border-radius: 16px; font-weight: 700; }

/* ---------- Why choose us ---------- */
.feature-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.feature-item { display: flex; gap: 14px; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.feature-item i { color: var(--teal); font-size: 1.3rem; margin-top: 2px; }
.feature-item:nth-child(6n+2) i { color: var(--amber-dark); }
.feature-item:nth-child(6n+3) i { color: var(--coral); }
.feature-item:nth-child(6n+4) i { color: var(--plum); }
.feature-item:nth-child(6n+5) i { color: var(--sky); }
.feature-item:nth-child(6n+6) i { color: var(--success); }
.feature-item h4 { margin-bottom: 4px; font-size: 1rem; color: var(--text); font-family: 'Hind Siliguri', sans-serif; font-weight: 700; }
.feature-item p { margin: 0; font-size: .88rem; color: var(--text-muted); }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 32px; border: 1px solid var(--border); border-top: 4px solid var(--teal); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 700; margin-bottom: 6px; font-size: .92rem; color: var(--teal-dark); }
.form-group label .required { color: var(--coral); }
.form-control {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 8px;
  font-size: .95rem; font-family: inherit; background: #fff;
}
.form-control:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(15,107,92,.12); }
textarea.form-control { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-hint { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
.file-drop { border: 2px dashed var(--amber); border-radius: 8px; padding: 24px; text-align: center; color: var(--text-muted); background: rgba(242,167,27,.05); }
.file-drop i { font-size: 1.8rem; color: var(--amber-dark); margin-bottom: 8px; display: block; }

.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: .92rem; }
.alert-success { background: rgba(26,156,91,.1); color: #0e6b3e; border: 1px solid rgba(26,156,91,.25); }
.alert-danger { background: rgba(216,75,58,.1); color: #a8351f; border: 1px solid rgba(216,75,58,.25); }
.alert-info { background: rgba(30,136,184,.1); color: #0d5a78; border: 1px solid rgba(30,136,184,.25); }

/* ---------- Badges ---------- */
.badge { display: inline-block; padding: 5px 14px; border-radius: 16px; font-size: .82rem; font-weight: 700; }
.badge-secondary { background: #e9e4d8; color: #57503f; }
.badge-warning { background: rgba(224,160,0,.15); color: #8a6400; }
.badge-info { background: rgba(30,136,184,.15); color: #0d5a78; }
.badge-primary { background: rgba(15,107,92,.15); color: var(--teal-dark); }
.badge-orange { background: rgba(224,123,31,.15); color: #a5570f; }
.badge-success { background: rgba(26,156,91,.15); color: #0e6b3e; }
.badge-danger { background: rgba(216,75,58,.15); color: #a8351f; }

/* ---------- Tracking result ---------- */
.track-result { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--border); border-top: 4px solid var(--amber); padding: 28px; margin-top: 24px; }
.track-row { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); font-size: .95rem; }
.track-row:last-child { border-bottom: none; }
.track-row span:first-child { color: var(--text-muted); }
.track-row span:last-child { font-weight: 700; }

/* ---------- Confirmation ---------- */
.confirm-box { text-align: center; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 44px 30px; max-width: 520px; margin: 40px auto; border-top: 5px solid var(--success); }
.confirm-box .check-icon { width: 76px; height: 76px; border-radius: 50%; background: rgba(26,156,91,.12); color: var(--success); font-size: 2.3rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.request-id-box { background: linear-gradient(135deg, rgba(242,167,27,.12), rgba(15,107,92,.08)); border: 1.5px dashed var(--amber-dark); border-radius: 10px; padding: 16px; font-size: 1.35rem; font-weight: 700; color: var(--teal-dark); margin: 18px 0; letter-spacing: .5px; font-family: 'Baloo Da 2', sans-serif; }
.copy-btn { font-size: .85rem; color: var(--teal); cursor: pointer; border: none; background: none; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq-item { border: 1px solid var(--border); border-radius: 10px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-question { padding: 16px 20px; font-weight: 700; cursor: pointer; display: flex; justify-content: space-between; align-items: center; color: var(--teal-dark); }
.faq-answer { padding: 0 20px; max-height: 0; overflow: hidden; transition: all .2s ease; color: var(--text-muted); font-size: .92rem; }
.faq-item.open { border-color: var(--amber); }
.faq-item.open .faq-answer { padding: 0 20px 16px; max-height: 400px; }
.faq-item.open .faq-question i { transform: rotate(180deg); color: var(--amber-dark); }
.faq-question i { transition: transform .2s; }

/* ---------- Footer ---------- */
.site-footer { background: var(--teal-dark); color: #cfe6df; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.3fr; gap: 30px; padding: 50px 20px 30px; }
.footer-logo { color: #fff; margin-bottom: 12px; }
.footer-col h4 { color: var(--amber); font-size: 1rem; margin-bottom: 14px; font-family: 'Baloo Da 2', sans-serif; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 10px; font-size: .9rem; }
.footer-col a:hover { color: #fff; }
.footer-social { display: flex; gap: 12px; margin-top: 14px; }
.footer-social a { width: 36px; height: 36px; border-radius: 50%; background: rgba(242,167,27,.15); display: flex; align-items: center; justify-content: center; color: var(--amber); }
.footer-social a:hover { background: var(--amber); color: #fff; }
.footer-contact li { display: flex; align-items: center; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding: 18px 20px; text-align: center; font-size: .85rem; }
.footer-bottom .disclaimer { color: #8fb3a8; margin-top: 4px; font-size: .78rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { background: #fff; border-bottom: 1px solid var(--border); padding: 14px 0; font-size: .88rem; color: var(--text-muted); }
.breadcrumb a { color: var(--teal); font-weight: 600; }

/* ---------- Page header banner ---------- */
.page-banner { background: linear-gradient(120deg, var(--teal-dark) 0%, var(--teal) 100%); color: #fff; padding: 42px 0; text-align: center; border-bottom: 4px solid var(--amber); }
.page-banner h1 { color: #fff; margin-bottom: 6px; font-size: 1.8rem; }
.page-banner p { color: #dcf1ea; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed; top: 70px; left: 0; right: 0; background: #fff;
    flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 20px;
    box-shadow: var(--shadow-lg); transform: translateY(-150%); transition: transform .2s ease; z-index: 99;
    border-bottom: 3px solid var(--amber);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { width: 100%; padding: 13px 0; border-bottom: 1px solid var(--border); font-size: 1rem; }
  .hamburger { display: flex; }
  .hero-content h1 { font-size: 1.8rem; }
  .grid-4, .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; text-align: left; }
  .steps { grid-template-columns: 1fr; }
  .feature-list { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual .icon-badge { width: 140px; height: 140px; font-size: 3rem; }
}
