/*
Theme Name: Boomindia ISP & Fiber
Theme URI: https://boomindia.net.in
Author: Boomindia Network Solutions Pvt Ltd
Author URI: https://boomindia.net.in
Description: Production WordPress theme for Boomindia Network Solutions Pvt Ltd featuring FTTH Fiber & Enterprise DIA plans, Colocation Rack & Neutral Network sliders, Real-Time Speed Test, WhatsApp Support FAB, Company News, FAQs, and full WordPress Customizer live editing.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boomindia-isp
Tags: isp, broadband, telecom, custom-logo, custom-colors, custom-menu, theme-options
*/

:root {
  --bm-primary: #2563eb;
  --bm-primary-hover: #1d4ed8;
  --bm-teal: #0d9488;
  --bm-orange: #ea580c;
  --bm-violet: #7c3aed;
  --bm-dark: #020617;
  --bm-surface: #ffffff;
  --bm-muted: #f8fafc;
  --bm-border: #e2e8f0;
  --bm-text: #0f172a;
  --bm-text-muted: #475569;
  --bm-radius: 12px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Plus Jakarta Sans", "Segoe UI", Roboto, sans-serif;
  color: var(--bm-text);
  background: var(--bm-muted);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.bm-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top Banner */
.bm-top-banner {
  background: var(--bm-primary);
  color: #ffffff;
  font-size: 12px;
  padding: 8px 0;
}

.bm-top-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.bm-top-banner-cta {
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

/* 3-Zone Sticky Header */
.bm-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--bm-border);
}

.bm-header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.bm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

.bm-brand img {
  max-height: 36px;
  width: auto;
}

.bm-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14px;
  font-weight: 500;
  color: var(--bm-text-muted);
}

.bm-nav a:hover {
  color: var(--bm-primary);
}

.bm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}

.bm-btn-primary {
  background: var(--bm-primary);
  color: #ffffff;
}

.bm-btn-primary:hover {
  background: var(--bm-primary-hover);
}

.bm-btn-outline {
  background: transparent;
  border-color: #334155;
  color: #e2e8f0;
}

.bm-btn-outline:hover {
  border-color: var(--bm-teal);
  color: #ffffff;
}

.bm-btn-light {
  background: #ffffff;
  border-color: var(--bm-border);
  color: var(--bm-text);
}

/* Hero Section */
.bm-hero {
  background: var(--bm-dark);
  color: #ffffff;
  padding: 64px 0;
}

.bm-hero-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 40px;
  align-items: center;
}

.bm-hero-copy {
  grid-column: span 7;
}

.bm-hero-card {
  grid-column: span 5;
  background: #0f172a;
  border: 1px solid #1e293b;
  border-radius: var(--bm-radius);
  padding: 28px;
}

.bm-kicker {
  font-size: 12px;
  font-weight: 600;
  color: #5eead4;
  margin-bottom: 12px;
}

.bm-h1 {
  font-size: clamp(32px, 4.2vw, 54px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin: 0 0 20px;
}

.bm-h2 {
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.bm-kpi-strip {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid #1e293b;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* Sections & Cards */
.bm-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--bm-border);
}

.bm-section-white {
  background: #ffffff;
}

.bm-section-dark {
  background: var(--bm-dark);
  color: #ffffff;
  border-bottom-color: #1e293b;
}

.bm-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bm-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.bm-card {
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: var(--bm-radius);
  padding: 24px;
}

.bm-section-dark .bm-card {
  background: #0f172a;
  border-color: #1e293b;
  color: #f8fafc;
}

.bm-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.bm-tab {
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--bm-border);
  background: #ffffff;
  color: var(--bm-text);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.bm-tab.is-active {
  background: var(--bm-primary);
  color: #ffffff;
  border-color: var(--bm-primary);
}

.bm-mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-variant-numeric: tabular-nums;
}

/* Footer */
.bm-footer {
  background: var(--bm-dark);
  color: #cbd5e1;
  padding: 56px 0 36px;
  font-size: 13px;
}

.bm-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid #1e293b;
}

/* WhatsApp Floating Action Button */
.bm-wa-fab-wrap {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

.bm-wa-fab {
  width: 54px;
  height: 54px;
  border-radius: 999px;
  background: #128c7e;
  color: #ffffff;
  border: none;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.bm-wa-panel {
  width: 340px;
  max-width: calc(100vw - 40px);
  background: #ffffff;
  border: 1px solid var(--bm-border);
  border-radius: 16px;
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.22);
  overflow: hidden;
  display: none;
}

.bm-wa-panel.is-open {
  display: block;
}

/* Bundled Image Showcase & Cards */
.bm-card-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 16px;
}

.bm-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bm-hero-media {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1e293b;
  margin-bottom: 18px;
  aspect-ratio: 16 / 9;
}

.bm-hero-media img,
.bm-showcase-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bm-showcase-media {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--bm-border);
  aspect-ratio: 16 / 9;
  margin-bottom: 24px;
}

.bm-section-dark .bm-showcase-media {
  border-color: #1e293b;
}

.bm-avatar-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid #e2e8f0;
  padding-top: 12px;
}

.bm-avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid #cbd5e1;
}

@media (max-width: 960px) {
  .bm-nav {
    display: none;
  }
  .bm-hero-grid,
  .bm-grid-3,
  .bm-grid-2,
  .bm-kpi-strip,
  .bm-footer-grid {
    grid-template-columns: 1fr;
  }
  .bm-hero-copy,
  .bm-hero-card {
    grid-column: span 12;
  }
}
