/* ==========================================================================
   Customer Service Centre Pune - Reference Accurate Stylesheet
   Matches exact layout of reference:
   - Header: White with clean navigation & Red CTA
   - Hero: High-res technician photo with dark-teal gradient & left-aligned text
   - Our Premium Services: 3-column cards with photo on top & red underline
   - Why Choose the Authorized Centre: 50/50 split with checklist & photo
   - Areas We Serve: Light gray with white pill chips & "View All 1000+ Areas"
   - Footer: Dark navy 3-column layout
   - Bottom Bar: Red sticky banner with white "Call Now" pill button
   ========================================================================== */

:root {
  --ref-red: #ED1C24;
  --ref-red-dark: #C70F16;
  --ref-dark-navy: #0B1B2B;
  --ref-hero-overlay: #081E30;
  --ref-text-dark: #111827;
  --ref-text-muted: #4B5563;
  --ref-text-light: #6B7280;
  --ref-bg-light: #F9FAFB;
  --ref-border: #E5E7EB;
  --whatsapp-green: #25D366;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-card: 0 4px 18px rgba(0, 0, 0, 0.07);
  --shadow-hover: 0 10px 28px rgba(0, 0, 0, 0.12);
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--ref-text-dark);
  background: #FFFFFF;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   1. NAVBAR / HEADER
   ========================================================================== */
.site-header {
  background: #FFFFFF;
  border-bottom: 1px solid #F3F4F6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.ref-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.ref-logo-badge {
  background: var(--ref-red);
  color: #FFFFFF;
  font-weight: 900;
  font-size: 14px;
  padding: 4px 8px;
  border-radius: 3px;
  letter-spacing: 0.8px;
}

.ref-logo-text {
  font-size: 17px;
  font-weight: 700;
  color: #1F2937;
  letter-spacing: -0.2px;
}

.ref-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.ref-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #374151;
  transition: color 0.2s ease;
}

.ref-nav a:hover {
  color: var(--ref-red);
}

.btn-header-cta {
  background: var(--ref-red);
  color: #FFFFFF !important;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-header-cta:hover {
  background: var(--ref-red-dark);
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.ref-hero {
  position: relative;
  background: linear-gradient(90deg, rgba(8, 30, 48, 0.94) 0%, rgba(11, 41, 64, 0.82) 55%, rgba(11, 41, 64, 0.45) 100%), 
              url('/assets/images/hero_bg.jpg') center/cover no-repeat;
  color: #FFFFFF;
  padding: 72px 0 84px;
  min-height: 520px;
  display: flex;
  align-items: center;
}

.ref-hero-content {
  max-width: 680px;
}

.ref-hero-title {
  font-size: 44px;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  color: #FFFFFF;
  letter-spacing: -0.5px;
}

.ref-hero-title span {
  color: #FFFFFF;
}

.ref-hero-sub {
  font-size: 16px;
  color: #E5E7EB;
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 580px;
}

.ref-hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-ref-primary {
  background: var(--ref-red);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 14px rgba(237, 28, 36, 0.35);
}

.btn-ref-primary:hover {
  background: var(--ref-red-dark);
  transform: translateY(-1px);
}

.btn-ref-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: #FFFFFF !important;
  font-size: 15px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.btn-ref-outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #FFFFFF;
}

/* ==========================================================================
   3. SECTION HEADINGS (With Center Red Underline)
   ========================================================================== */
.ref-section {
  padding: 70px 0;
}

.ref-section-gray {
  background: var(--ref-bg-light);
}

.ref-title-center {
  text-align: center;
  margin-bottom: 40px;
}

.ref-title-center h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--ref-text-dark);
  margin-bottom: 8px;
}

.ref-title-bar {
  width: 48px;
  height: 3px;
  background: var(--ref-red);
  margin: 10px auto 0;
  border-radius: 2px;
}

.ref-title-center p.subtitle {
  font-size: 15px;
  color: var(--ref-text-muted);
  max-width: 680px;
  margin: 14px auto 0;
  line-height: 1.6;
}

/* ==========================================================================
   4. OUR PREMIUM SERVICES (3 Card Grid)
   ========================================================================== */
.premium-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.premium-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid #F3F4F6;
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
}

.premium-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.premium-card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  background: #E5E7EB;
}

.premium-card-body {
  padding: 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.premium-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ref-text-dark);
  margin-bottom: 8px;
}

.premium-card-body p {
  font-size: 14px;
  color: var(--ref-text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
}

.premium-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #F3F4F6;
  padding-top: 14px;
  margin-top: auto;
}

.premium-card-action a {
  color: var(--ref-red);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.premium-card-action a:hover {
  text-decoration: underline;
}

/* Extended Services Toggle Section */
.extended-services-toggle {
  margin-top: 40px;
  text-align: center;
}

.btn-toggle-services {
  background: #FFFFFF;
  border: 1px solid var(--ref-border);
  color: var(--ref-text-dark);
  font-size: 14px;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-toggle-services:hover {
  border-color: var(--ref-red);
  color: var(--ref-red);
}

.all-services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.mini-service-box {
  background: #FFFFFF;
  border: 1px solid var(--ref-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

.mini-service-box h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--ref-text-dark);
}

.mini-service-box p {
  font-size: 13px;
  color: var(--ref-text-muted);
  line-height: 1.45;
  margin-bottom: 8px;
}

/* ==========================================================================
   5. WHY CHOOSE THE AUTHORIZED CENTRE (50/50 Split)
   ========================================================================== */
.why-authorized-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.why-authorized-content h2 {
  font-size: 34px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ref-text-dark);
  margin-bottom: 22px;
}

.why-checklist {
  list-style: none;
  margin-bottom: 28px;
}

.why-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 14px;
}

.check-icon {
  width: 22px;
  height: 22px;
  background: #FEE2E2;
  color: var(--ref-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  flex-shrink: 0;
}

.why-authorized-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.why-authorized-img-wrap img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

/* ==========================================================================
   6. AREAS WE SERVE IN PUNE
   ========================================================================== */
.areas-chips-container {
  max-width: 980px;
  margin: 0 auto 28px;
}

.areas-chips-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-ref-chip {
  background: #FFFFFF;
  border: 1px solid var(--ref-border);
  padding: 10px 22px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.2s ease;
  display: inline-block;
}

.area-ref-chip:hover {
  border-color: var(--ref-red);
  color: var(--ref-red);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.view-all-areas-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid #9CA3AF;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  padding: 10px 24px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin: 0 auto;
}

.view-all-areas-btn:hover {
  background: #FFFFFF;
  border-color: var(--ref-text-dark);
  color: var(--ref-text-dark);
}

/* Full Directory Dropdown */
.full-areas-expanded {
  margin-top: 30px;
  display: none;
}

.full-areas-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-top: 16px;
}

/* ==========================================================================
   7. INTERACTIVE TROUBLESHOOTER WIDGET
   ========================================================================== */
.troubleshooter-section {
  padding: 50px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--ref-border);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 14px;
  border: 1px solid var(--ref-border);
  border-radius: 6px;
  background: #FAFAFA;
  color: var(--ref-text-dark);
  font-family: inherit;
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--ref-red);
  background: #FFFFFF;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.ref-footer {
  background: var(--ref-dark-navy);
  color: #9CA3AF;
  padding: 60px 0 28px;
  font-size: 14px;
}

.ref-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1.2fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.ref-footer-col h4 {
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}

.ref-footer-col p {
  line-height: 1.6;
  margin-bottom: 12px;
}

.ref-footer-col a {
  color: #D1D5DB;
  transition: color 0.2s ease;
}

.ref-footer-col a:hover {
  color: #FFFFFF;
}

.ref-footer-links {
  list-style: none;
}

.ref-footer-links li {
  margin-bottom: 10px;
}

.ref-footer-copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #6B7280;
}

/* ==========================================================================
   9. BOTTOM STICKY RED EMERGENCY BAR
   ========================================================================== */
.ref-bottom-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ref-red);
  color: #FFFFFF;
  padding: 12px 24px;
  z-index: 999;
  box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.18);
}

.ref-bottom-sticky-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.ref-bottom-sticky-text {
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.2px;
}

.btn-sticky-pill {
  background: #FFFFFF;
  color: var(--ref-red) !important;
  font-size: 15px;
  font-weight: 800;
  padding: 8px 22px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: all 0.2s ease;
}

.btn-sticky-pill:hover {
  background: #F9FAFB;
  transform: translateY(-1px);
}

/* Add bottom padding to body so sticky bar does not cover footer */
body {
  padding-bottom: 60px;
}

/* ==========================================================================
   10. RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
  .premium-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-authorized-grid {
    grid-template-columns: 1fr;
  }
  .why-authorized-img-wrap img {
    height: 320px;
  }
  .ref-footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .ref-hero-title {
    font-size: 30px;
  }
  .ref-nav {
    display: none;
  }
  .premium-services-grid {
    grid-template-columns: 1fr;
  }
  .all-services-grid {
    grid-template-columns: 1fr;
  }
  .full-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-footer-grid {
    grid-template-columns: 1fr;
  }
  .ref-bottom-sticky-inner {
    justify-content: center;
    text-align: center;
  }
  .ref-bottom-sticky-text {
    font-size: 14px;
    width: 100%;
  }
  .btn-sticky-pill {
    width: 100%;
    justify-content: center;
    padding: 10px;
  }
}
