/* =========================================================
   DigitVibes – main stylesheet
   Colours: change them here and the whole site updates.
   ========================================================= */
:root {
  --blue: #0070af;        /* brand blue (logo colour) */
  --blue-dark: #00598b;
  --blue-light: #e8f3fa;
  --red: #de1414;         /* accent */
  --text: #1f2933;
  --muted: #5f6b76;
  --border: #e3e8ee;
  --bg-soft: #f6f9fc;
  --white: #ffffff;
  --radius: 12px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Poppins", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
}

img { max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }
h1, h2, h3, h4 { line-height: 1.3; margin: 0 0 12px; }
h1 { font-size: 44px; }
h2 { font-size: 32px; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  padding: 12px 26px;
  border-radius: 50px;
  font-weight: 600;
  border: 2px solid var(--blue);
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); color: var(--white); }
.btn-outline { background: transparent; color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--blue-light); color: var(--blue-dark); border-color: var(--blue-light); }
.btn-small { padding: 8px 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo img { display: block; width: 170px; height: auto; }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text); font-weight: 500; font-size: 15px; }
.main-nav a:hover { color: var(--blue); }
.main-nav a.btn { color: var(--white); }

/* highlight the menu link of the page you are on */
.page-home .nav-home,
.page-about .nav-about,
.page-brands .nav-brands,
.page-timeline .nav-timeline,
.page-team .nav-team,
.page-career .nav-career { color: var(--blue); }

.menu-toggle { display: none; }
.menu-button { display: none; cursor: pointer; padding: 10px; }
.menu-button span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; }

/* ---------- Page hero (top banner on inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--blue) 0%, #004f7c 100%);
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.page-hero h1 { margin-bottom: 8px; }
.page-hero p { font-size: 18px; opacity: .9; margin: 0; }

/* ---------- Home hero ---------- */
.home-hero {
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--white) 70%);
  padding: 100px 0 90px;
  text-align: center;
}
.home-hero h1 { max-width: 760px; margin: 0 auto 16px; }
.home-hero h1 span { color: var(--blue); }
.home-hero p { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto 30px; }
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-title p { color: var(--muted); }
.eyebrow {
  display: inline-block;
  color: var(--red);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}
.card p { color: var(--muted); margin: 0; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--blue-light);
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700;
  margin-bottom: 18px;
}

/* ---------- Stats ---------- */
.stats { background: var(--blue); color: var(--white); padding: 50px 0; }
.stats .grid { text-align: center; }
.stat-number { font-size: 40px; font-weight: 700; line-height: 1.1; }
.stat-label { opacity: .85; }
/* lighter version, used right under the blue page banner */
.stats-light { background: var(--blue-light); color: var(--text); }
.stats-light .stat-number { color: var(--blue); }

/* ---------- Brands ---------- */
.brand-card { text-align: center; }
.brand-card h3 { color: var(--blue); }
.brand-card .btn { margin-top: 18px; }

/* ---------- Two columns (text + box) ---------- */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { padding: 8px 0 8px 32px; position: relative; }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 8px;
  color: var(--blue); font-weight: 700;
}
.no-list li::before { content: "✕"; color: var(--red); }

/* ---------- Call to action ---------- */
.cta {
  background: linear-gradient(135deg, var(--blue) 0%, #004f7c 100%);
  color: var(--white);
  border-radius: var(--radius);
  padding: 50px;
  text-align: center;
}
.cta p { opacity: .9; font-size: 18px; margin-bottom: 24px; }

/* ---------- FAQ (uses <details>, no JavaScript needed) ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  padding: 0 24px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 18px 0;
  list-style: none;
  position: relative;
  padding-right: 30px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 22px; color: var(--blue); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 820px; margin: 0 auto; padding-left: 40px; }
.timeline::before { content: ""; position: absolute; left: 11px; top: 0; bottom: 0; width: 3px; background: var(--blue-light); }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-item::before {
  content: "";
  position: absolute; left: -36px; top: 26px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--blue); border: 4px solid var(--blue-light);
}
.timeline-date { display: inline-block; background: var(--blue-light); color: var(--blue); font-weight: 600; font-size: 14px; padding: 3px 12px; border-radius: 50px; margin-bottom: 10px; }
/* ---------- Brand boxes (brands page) ---------- */
.brand-box { display: flex; flex-direction: column; }
.brand-box p { flex: 1; margin-bottom: 20px; }
.brand-box .btn { align-self: flex-start; }
.brand-head { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.brand-head h3 { margin: 0; color: var(--blue); }
.brand-letter {
  flex: 0 0 56px; height: 56px; border-radius: 14px;
  background: var(--blue); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px; font-weight: 700;
}
.brand-type { color: var(--red); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Business information table ---------- */
.info-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.info-table th, .info-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
.info-table th { width: 38%; color: var(--muted); font-weight: 500; }
.info-table td { font-weight: 500; }
.info-table tr:last-child th, .info-table tr:last-child td { border-bottom: 0; }

/* ---------- Legal / policy pages ---------- */
.legal { max-width: 820px; margin: 0 auto; }
.legal h2 { font-size: 24px; margin-top: 40px; }
.legal h3 { font-size: 18px; margin-top: 24px; }
.legal ul { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin-bottom: 6px; }
.legal .updated { color: var(--muted); font-size: 14px; }
.legal .note { background: var(--blue-light); border-left: 4px solid var(--blue); border-radius: 8px; padding: 16px 20px; margin: 20px 0; }
.legal table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 15px; }
.legal table th, .legal table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.legal table th { background: var(--bg-soft); }

/* ---------- MSME badge ---------- */
.msme-badge {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--blue);
  font-size: 14px; font-weight: 600;
  padding: 8px 18px;
  border-radius: 50px;
}
.hero-badge { margin-top: 28px; }

/* ---------- Footer legal note ---------- */
.footer-note { border-top: 1px solid #22313f; padding: 22px 0 8px; font-size: 13px; color: #8f9aa5; }
.footer-note strong { color: #e1e7ec; }

/* ---------- Process steps (home page) ---------- */
.step-number { font-size: 40px; font-weight: 700; color: var(--blue-light); -webkit-text-stroke: 1.5px var(--blue); line-height: 1; margin-bottom: 14px; }

.timeline-tag { display: block; color: var(--red); font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: var(--blue);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 600;
}
.team-card h3 { margin-bottom: 4px; }
.team-lead { border: 2px solid var(--blue); background: var(--blue-light); }
.team-lead .avatar { background: var(--red); }

/* ---------- Contact ---------- */
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { display: flex; gap: 16px; margin-bottom: 22px; }
.contact-list .icon { flex: 0 0 48px; height: 48px; margin: 0; }
.contact-list strong { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: #0f1b26; color: #b8c2cc; font-size: 15px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; gap: 40px; padding: 60px 20px; }
.footer-logo { background: var(--white); padding: 8px 12px; border-radius: 8px; margin-bottom: 14px; width: 160px; }
.site-footer h4 { color: var(--white); font-size: 17px; margin: 0 0 14px; }
.site-footer h4 + ul + h4,
.site-footer p + h4 { margin-top: 24px; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 20px; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #e1e7ec; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.social { display: inline-block; background: var(--blue); padding: 6px 16px; border-radius: 50px; }
.copyright { border-top: 1px solid #22313f; padding: 18px 0; font-size: 14px; text-align: center; }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 30px; }

  /* mobile menu */
  .menu-button { display: block; }
  .main-nav {
    display: none;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column; align-items: stretch; gap: 0;
    border-bottom: 1px solid var(--border);
    padding: 10px 20px 20px;
  }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .main-nav a.btn { margin-top: 12px; text-align: center; border-bottom: 0; }
  .menu-toggle:checked ~ .main-nav { display: flex; }
}

/* ---------- Mobile ---------- */
@media (max-width: 600px) {
  h1 { font-size: 32px; }
  h2 { font-size: 26px; }
  .section { padding: 56px 0; }
  .home-hero { padding: 64px 0; }
  .page-hero { padding: 50px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .stats .grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .cta { padding: 36px 22px; }
  .container { padding: 0 16px; }
}
