/* ==========================================================================
   Digi Bharat Media — Style System
   Clean, professional White + Saffron theme
   Fonts: Poppins (headings) + Inter (body)
   ========================================================================== */

:root {
  --bg: #ffffff;
  --bg-alt: #fff8f0;
  --surface: #ffffff;
  --surface-2: #fff4e6;
  --text: #241b12;
  --text-muted: #6b6258;
  --text-dim: #948b7f;
  --primary: #ff9933;
  --primary-light: #ffb366;
  --primary-dark: #e07b00;
  --primary-darker: #b35f00;
  --border: rgba(20, 15, 10, 0.09);
  --border-light: rgba(255, 153, 51, 0.35);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px rgba(255, 153, 51, 0.16);
  --shadow-sm: 0 8px 24px rgba(40, 25, 10, 0.08);
  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --container: 1200px;
  --success: #16a34a;
  --error: #dc2626;
  --footer-bg: #211710;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.5vw, 2.7rem); font-weight: 600; }
h3 { font-size: 1.3rem; }

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 100px 0; position: relative; }

/* Background gradients */
.bg-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 153, 51, 0.10), transparent 45%),
              radial-gradient(circle at 80% 60%, rgba(255, 153, 51, 0.07), transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 40px;
  background: rgba(255, 153, 51, 0.12);
  border: 1px solid var(--border-light);
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; position: relative; z-index: 1; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 10px 26px rgba(255, 153, 51, 0.38);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(255, 153, 51, 0.5); }

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-light);
}
.btn-outline:hover { background: rgba(255, 153, 51, 0.1); border-color: var(--primary); color: var(--primary-dark); }

.btn-block { width: 100%; }

/* Grid utilities */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 14px 0;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(40, 25, 10, 0.06);
  padding: 10px 0;
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-weight: 700; font-size: 1.25rem; color: var(--text); }
.brand img { height: 72px; width: auto; max-width: 280px; object-fit: contain; }
.brand .brand-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.footer-about .brand img { height: 78px; max-width: 260px; }
.footer-about .brand { margin-bottom: 14px; }

@media (max-width: 480px) {
  .brand img { height: 52px; max-width: 190px; }
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a { font-size: 0.95rem; font-weight: 500; color: var(--text-muted); transition: color 0.25s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--primary-dark); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -8px; left: 0; right: 0; height: 2px;
  background: var(--primary); border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 18px; }
.nav-toggle { display: none; background: none; border: none; color: var(--text); font-size: 1.5rem; cursor: pointer; z-index: 1001; }

.mobile-nav {
  position: fixed; top: 0; right: -100%; width: min(340px, 85vw); height: 100vh;
  background: #ffffff; z-index: 1000; padding: 100px 30px 30px;
  transition: right 0.35s ease; box-shadow: -10px 0 40px rgba(40, 25, 10, 0.18);
  display: flex; flex-direction: column; gap: 26px;
}
.mobile-nav.mobile-open { right: 0; }
.mobile-nav a { font-size: 1.1rem; font-weight: 500; color: var(--text); }
.mobile-nav a:hover { color: var(--primary-dark); }
.mobile-nav-overlay {
  position: fixed; inset: 0; background: rgba(20, 14, 8, 0.55); z-index: 999; opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mobile-nav-overlay.show { opacity: 1; pointer-events: auto; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf3 0%, #ffffff 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 24px; }
.hero h1 span { color: var(--primary-dark); }
.hero-sub { font-size: 1.15rem; max-width: 540px; margin-bottom: 36px; }
.hero-cta { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 50px; }
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hero-stat strong { display: block; font-family: var(--font-heading); font-size: 1.8rem; color: var(--primary-dark); }
.hero-stat span { font-size: 0.85rem; color: var(--text-muted); }
.hero-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

/* ==========================================================================
   Home Services Slider
   ========================================================================== */
.services-slider {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.slider-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
}
.slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-sm);
}
.slide-content { min-width: 0; overflow-wrap: break-word; }
.slider-track { cursor: grab; user-select: none; }
.slider-track:active { cursor: grabbing; }
.slide-media {
  border-radius: var(--radius);
  overflow: hidden;
  height: 280px;
}
.slide-media img { width: 100%; height: 100%; object-fit: cover; }
.slide-content .section-tag { margin-bottom: 16px; }
.slide-content h3 { font-size: 1.6rem; margin-bottom: 14px; }
.slide-content ul { margin-top: 16px; color: var(--text-muted); font-size: 0.95rem; line-height: 2; }
.slide-content ul li i { color: var(--primary-dark); margin-right: 10px; }
.slider-nav {
  display: flex; align-items: center; justify-content: center; gap: 24px; margin-top: 30px;
}
.slider-arrow {
  width: 46px; height: 46px; border-radius: 50%; background: var(--surface);
  border: 1px solid var(--border); color: var(--text); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}
.slider-arrow:hover { background: var(--primary); border-color: var(--primary); color: #fff; }
.slider-dots { display: flex; gap: 10px; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); cursor: pointer; transition: all 0.25s; border: none; }
.slider-dot.active { background: var(--primary); width: 26px; border-radius: 6px; }

@media (max-width: 780px) {
  .slide { grid-template-columns: 1fr; padding: 30px 24px; }
  .slide-media { height: 200px; order: -1; }
}

/* ==========================================================================
   Service detail photo (services.html)
   ========================================================================== */
.service-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 340px;
}
.service-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Generic image bands / photo pairs
   ========================================================================== */
.img-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.img-pair img { border-radius: var(--radius); height: 240px; width: 100%; object-fit: cover; box-shadow: var(--shadow-sm); }

/* ==========================================================================
   Positioning statement band
   ========================================================================== */
.positioning-band {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.positioning-band p { font-size: 1.15rem; color: var(--text); line-height: 1.8; }

/* ==========================================================================
   Cards / Services / Industries
   ========================================================================== */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 28px;
  transition: all 0.35s ease;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-8px); border-color: var(--border-light); box-shadow: var(--shadow); }
.card-icon {
  width: 58px; height: 58px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,153,51,0.22), rgba(255,153,51,0.08));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--primary-dark); margin-bottom: 22px;
}
.card h3 { margin-bottom: 12px; }
.card p { font-size: 0.95rem; }
.card a.learn-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; color: var(--primary-dark); font-weight: 600; font-size: 0.9rem; }
.card .sub-services { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.card .sub-services span {
  background: rgba(255, 153, 51, 0.12); border: 1px solid var(--border-light);
  color: var(--text-muted); font-size: 0.78rem; padding: 5px 12px; border-radius: 20px;
}

.industry-tag {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  text-align: center;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
}
.industry-tag:hover { border-color: var(--primary); color: var(--primary-dark); transform: translateY(-4px); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }

/* ==========================================================================
   Process / Steps
   ========================================================================== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.step-card { position: relative; padding-top: 20px; }
.step-num {
  font-family: var(--font-heading); font-size: 2.6rem; font-weight: 700;
  color: transparent; -webkit-text-stroke: 1.5px var(--primary); opacity: 0.55; margin-bottom: 10px;
}

/* ==========================================================================
   Stats band
   ========================================================================== */
.stats-band {
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark));
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-item strong { display: block; font-family: var(--font-heading); font-size: 2.6rem; color: #fff; }
.stat-item span { color: rgba(255,255,255,0.85); font-size: 0.95rem; }

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonial-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: #f5a623; margin-bottom: 16px; font-size: 0.95rem; }
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.testimonial-author img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.testimonial-author strong { display: block; font-size: 0.95rem; }
.testimonial-author span { font-size: 0.82rem; color: var(--text-dim); }

/* ==========================================================================
   Clients section (real logo grid)
   ========================================================================== */
.clients-logo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.client-logo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  transition: all 0.3s;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 160px;
}
.client-logo-card:hover { border-color: var(--primary); transform: translateY(-6px); box-shadow: var(--shadow); }
.client-logo-card img {
  max-width: 100%;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.client-logo-card span { font-size: 0.82rem; color: var(--text-dim); font-weight: 500; }
.clients-summary { max-width: 800px; margin: 40px auto 0; text-align: center; font-size: 0.95rem; color: var(--text-muted); }

@media (max-width: 1080px) {
  .clients-logo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .clients-logo-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  background: linear-gradient(135deg, #fff3e0 0%, #ffe4bc 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 32px; color: var(--text-muted); }

/* ==========================================================================
   Forms
   ========================================================================== */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 8px; color: var(--text-muted); }
.form-control {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm);
  background: var(--surface-2); border: 1px solid var(--border); color: var(--text);
  font-family: var(--font-body); font-size: 0.95rem; transition: border-color 0.25s;
}
.form-control:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,153,51,0.15); }
textarea.form-control { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
#form-status { margin-top: 16px; font-size: 0.9rem; }
#form-status.success { color: var(--success); }
#form-status.error { color: var(--error); }

/* ==========================================================================
   Location cards
   ========================================================================== */
.location-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.location-card h3 { margin-bottom: 16px; color: var(--primary-dark); }
.location-card ul li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; font-size: 0.92rem; color: var(--text-muted); }
.location-card ul li i { color: var(--primary-dark); margin-top: 3px; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-tabs { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px; }
.faq-tab {
  padding: 10px 22px; border-radius: 30px; border: 1px solid var(--border);
  background: var(--surface); color: var(--text-muted); font-size: 0.88rem; font-weight: 600; cursor: pointer; transition: all 0.25s;
}
.faq-tab.active, .faq-tab:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm);
  margin-bottom: 14px; overflow: hidden; box-shadow: var(--shadow-sm);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between; padding: 20px 24px;
  cursor: pointer; font-weight: 600; font-size: 0.98rem;
}
.faq-question i { transition: transform 0.3s; color: var(--primary-dark); }
.faq-item.open .faq-question i { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; padding: 0 24px; }
.faq-item.open .faq-answer { max-height: 500px; padding: 0 24px 22px; }
.faq-answer p { font-size: 0.92rem; }

/* ==========================================================================
   Blog
   ========================================================================== */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.blog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: all 0.3s; display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: var(--border-light); }
.blog-card-media { height: 200px; overflow: hidden; }
.blog-card-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-tag { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--primary-dark); margin-bottom: 10px; }
.blog-card h3 { font-size: 1.15rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card p { font-size: 0.9rem; margin-bottom: 18px; flex: 1; }
.blog-card-meta { display: flex; align-items: center; justify-content: space-between; font-size: 0.78rem; color: var(--text-dim); border-top: 1px solid var(--border); padding-top: 16px; }
.blog-card-link { color: var(--primary-dark); font-weight: 600; font-size: 0.88rem; display: inline-flex; align-items: center; gap: 6px; }

.article-content { max-width: 760px; margin: 0 auto; }
.article-content h2 { margin: 44px 0 18px; }
.article-content h3 { margin: 32px 0 14px; color: var(--primary-dark); }
.article-content p { margin-bottom: 18px; font-size: 1.02rem; }
.article-content ul, .article-content ol { margin: 0 0 22px 22px; color: var(--text-muted); }
.article-content li { margin-bottom: 10px; font-size: 1rem; }
.article-content .article-lead { font-size: 1.15rem; color: var(--text); font-weight: 500; }
.article-content blockquote {
  border-left: 4px solid var(--primary); background: var(--bg-alt); padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 28px 0; font-style: italic; color: var(--text);
}
.article-meta { display: flex; align-items: center; gap: 18px; justify-content: center; flex-wrap: wrap; margin-top: 20px; font-size: 0.88rem; color: var(--text-dim); }
.article-meta span { display: flex; align-items: center; gap: 6px; }
.article-faq-box {
  background: var(--bg-alt); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 28px 32px; margin: 32px 0;
}
.article-faq-box h4 { margin-bottom: 8px; color: var(--primary-dark); }
.article-faq-box p { margin-bottom: 20px; }
.article-faq-box p:last-child { margin-bottom: 0; }
.article-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 40px; }
.article-tags span { background: var(--surface-2); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; font-size: 0.78rem; color: var(--text-muted); }
.related-articles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 20px; }

@media (max-width: 1080px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .related-articles { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 780px) {
  .blog-grid { grid-template-columns: 1fr; }
  .related-articles { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer (dark, for contrast against the light theme)
   ========================================================================== */
.site-footer { background: var(--footer-bg); color: #d8cdc0; border-top: 4px solid var(--primary); padding: 80px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer-col h4 { margin-bottom: 20px; font-size: 1rem; color: #fff; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a { font-size: 0.9rem; color: rgba(255,255,255,0.72); transition: color 0.25s; }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-about .brand { color: #fff; }
.footer-about .brand img {
  background: #ffffff; border-radius: 10px; padding: 8px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.footer-about p { font-size: 0.9rem; margin: 18px 0; color: rgba(255,255,255,0.65); }
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center; border: 1px solid rgba(255,255,255,0.15); transition: all 0.25s; color: #fff;
}
.social-links a:hover { background: var(--primary); border-color: var(--primary); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12); padding-top: 26px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 0.85rem; color: rgba(255,255,255,0.5);
}
.footer-legal a { margin-left: 20px; color: rgba(255,255,255,0.5); }
.footer-legal a:hover { color: var(--primary-light); }
.footer-col ul li i, .footer-col li i { color: var(--primary-light); margin-right: 8px; }

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.page-header {
  padding: 170px 0 80px;
  text-align: center;
  position: relative;
  background: linear-gradient(180deg, #fffaf3 0%, #ffffff 100%);
}
.page-header .section-tag { margin-bottom: 20px; }
.page-header p { max-width: 640px; margin: 18px auto 0; }
.breadcrumb { display: flex; gap: 8px; justify-content: center; font-size: 0.85rem; color: var(--text-dim); margin-top: 16px; }
.breadcrumb a { color: var(--text-dim); }
.breadcrumb a:hover { color: var(--primary-dark); }

/* ==========================================================================
   Reveal animation
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   Ask AI Widget
   ========================================================================== */
#ask-ai-launcher {
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff; border: none; border-radius: 50px; padding: 16px 24px;
  display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.92rem;
  box-shadow: 0 12px 28px rgba(255,153,51,0.45); cursor: pointer; transition: all 0.3s;
}
#ask-ai-launcher:hover { transform: translateY(-4px); }
#ask-ai-panel {
  position: fixed; bottom: 96px; right: 26px; width: 360px; max-width: 90vw;
  height: min(560px, 72vh); max-height: calc(100vh - 130px);
  background: #ffffff; border: 1px solid var(--border-light); border-radius: var(--radius);
  box-shadow: var(--shadow); display: flex; flex-direction: column; z-index: 900;
  opacity: 0; transform: translateY(20px) scale(0.96); pointer-events: none; transition: all 0.3s ease;
  overflow: hidden;
}
#ask-ai-panel.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.ask-ai-head {
  padding: 18px 20px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: linear-gradient(135deg, var(--primary-darker), var(--primary-dark)); border-radius: var(--radius) var(--radius) 0 0;
  color: #fff;
}
.ask-ai-head strong { font-family: var(--font-heading); color: #fff; }
.ask-ai-head button { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; }
.ask-ai-body { flex: 1; min-height: 0; overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.ask-msg { max-width: 85%; padding: 12px 16px; border-radius: 14px; font-size: 0.88rem; line-height: 1.5; }
.ask-msg.bot { background: var(--bg-alt); align-self: flex-start; color: var(--text); }
.ask-msg.user { background: var(--primary); color: #fff; align-self: flex-end; }
.ask-ai-menu { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; max-height: 110px; overflow-y: auto; flex-shrink: 0; }
.ask-menu-btn {
  background: #fff; border: 1.5px solid var(--border-light); border-radius: 20px;
  padding: 8px 14px; font-size: 0.8rem; font-weight: 600; cursor: pointer;
  color: var(--primary-dark); transition: all 0.2s;
}
.ask-menu-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.ask-ai-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 20px 12px; max-height: 90px; overflow-y: auto; flex-shrink: 0; }
.ask-ai-suggestions:empty { display: none; padding: 0; }
.ask-chip { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 20px; padding: 7px 14px; font-size: 0.78rem; cursor: pointer; color: var(--text-muted); }
.ask-chip:hover { border-color: var(--primary); color: var(--primary-dark); }
.ask-ai-input { display: flex; border-top: 1px solid var(--border); padding: 12px; gap: 10px; align-items: center; flex-shrink: 0; }
.ask-ai-input input { flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: 30px; padding: 10px 16px; color: var(--text); font-size: 0.88rem; min-width: 0; }
.ask-ai-input button[type="submit"] { background: var(--primary); border: none; color: #fff; width: 40px; height: 40px; min-width: 40px; border-radius: 50%; cursor: pointer; }
#ask-ai-voice {
  background: var(--surface-2); border: 1px solid var(--border); color: var(--primary-dark);
  width: 40px; height: 40px; min-width: 40px; border-radius: 50%; cursor: pointer;
  font-size: 0.95rem; transition: all 0.25s;
}
#ask-ai-voice:hover { border-color: var(--primary); }
#ask-ai-voice.listening {
  background: var(--primary); color: #fff; border-color: var(--primary);
  animation: askVoicePulse 1.2s infinite;
}
@keyframes askVoicePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 153, 51, 0.5); }
  50% { box-shadow: 0 0 0 8px rgba(255, 153, 51, 0); }
}

/* ==========================================================================
   Services page — AI Voice Search bar
   ========================================================================== */
.service-voice-search {
  max-width: 640px; margin: 32px auto 0; text-align: left;
  background: var(--surface); border: 1px solid var(--border-light); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow-sm);
}
.service-voice-label {
  display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 600;
  color: var(--primary-dark); margin-bottom: 12px;
}
.service-voice-bar { display: flex; gap: 10px; align-items: center; }
.service-voice-bar input {
  flex: 1; background: var(--surface-2); border: 1px solid var(--border); border-radius: 30px;
  padding: 12px 18px; color: var(--text); font-size: 0.92rem; min-width: 0;
}
.service-voice-bar input:focus { outline: none; border-color: var(--primary); }
#service-voice-search-btn {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border: none; color: #fff;
  width: 46px; height: 46px; min-width: 46px; border-radius: 50%; cursor: pointer; font-size: 1rem;
  transition: all 0.25s; box-shadow: 0 8px 20px rgba(255, 153, 51, 0.35);
}
#service-voice-search-btn:hover { transform: translateY(-2px); }
#service-voice-search-btn.listening {
  animation: askVoicePulse 1.2s infinite;
}
.service-voice-result { margin-top: 12px; font-size: 0.88rem; color: var(--text-muted); min-height: 1.2em; }

/* ==========================================================================
   Photo grid (reusable image grid utility)
   ========================================================================== */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.photo-grid img { border-radius: var(--radius); height: 260px; width: 100%; object-fit: cover; box-shadow: var(--shadow-sm); }

/* Trust marquee */
.trust-strip { padding: 40px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.trust-strip p { text-align: center; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-dim); margin-bottom: 24px; }

/* ==========================================================================
   Credibility band (office/team image feature)
   ========================================================================== */
.credibility-band { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.credibility-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.credibility-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.credibility-content .checklist { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.credibility-content .checklist li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.98rem; color: var(--text-muted); }
.credibility-content .checklist li i { color: var(--primary-dark); margin-top: 3px; font-size: 1.05rem; }

@media (max-width: 780px) {
  .credibility-band { grid-template-columns: 1fr; gap: 30px; }
  .credibility-media { order: -1; height: 260px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(3, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .stats-band { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
}

@media (max-width: 780px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  section { padding: 70px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .stats-band { grid-template-columns: repeat(2, 1fr); padding: 40px 24px; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: 1fr; }
  #ask-ai-panel { right: 12px; left: 12px; width: auto; height: min(70vh, 520px); bottom: 86px; }
  #ask-ai-launcher { padding: 13px 18px; font-size: 0.85rem; bottom: 18px; right: 18px; }
}
