/* ==========================================================================
   Progressive Bit MediaTech - Official Brand Styled CSS with Interactive Graphics
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300..800;1,300..800&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --pbmt-navy: #112a62;
  --pbmt-blue-dark: #0b1a3d;
  --pbmt-blue-royal: #1b6dc5;
  --pbmt-blue-electric: #007bff;
  --pbmt-cyan-glow: #00a8ff;
  
  --pbmt-primary: #1b6dc5;
  --pbmt-primary-hover: #112a62;
  --pbmt-accent: #007bff;
  --pbmt-emerald: #10b981;
  --pbmt-amber: #f59e0b;
  --pbmt-purple: #8b5cf6;
  
  --pbmt-bg-light: #f8fafc;
  --pbmt-surface: #ffffff;
  --pbmt-surface-dark: #0b1a3d;
  --pbmt-surface-dark-accent: #112a62;
  
  --pbmt-text-main: #0f172a;
  --pbmt-text-muted: #475569;
  --pbmt-text-light: #94a3b8;
  
  --pbmt-border: rgba(226, 232, 240, 0.8);
  --pbmt-border-dark: rgba(255, 255, 255, 0.12);
  
  --pbmt-radius-xl: 24px;
  --pbmt-radius-lg: 16px;
  --pbmt-radius-md: 12px;
  
  --pbmt-shadow-soft: 0 10px 30px -10px rgba(17, 42, 98, 0.08);
  --pbmt-shadow-hover: 0 20px 40px -15px rgba(27, 109, 197, 0.2);
  --pbmt-shadow-glow: 0 0 40px rgba(0, 123, 255, 0.25);
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--pbmt-text-main);
  background-color: var(--pbmt-bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--pbmt-navy);
}

/* Gradient Text Utilities */
.text-gradient {
  background: linear-gradient(135deg, #112a62 0%, #1b6dc5 50%, #007bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-purple {
  background: linear-gradient(135deg, #8b5cf6 0%, #007bff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar */
.navbar-custom {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--pbmt-border);
  padding: 0.9rem 0;
  transition: all 0.3s ease;
}

.navbar-custom.scrolled {
  padding: 0.65rem 0;
  box-shadow: 0 8px 25px rgba(17, 42, 98, 0.08);
}

.brand-logo-img {
  height: 85px;
  max-height: 95px;
  width: auto;
  object-fit: contain;
}

.footer-logo-img {
  height: 105px;
  max-height: 120px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 12px 22px;
  border-radius: 14px;
}

.nav-link {
  font-weight: 600;
  font-size: 0.925rem;
  color: #334155;
  padding: 0.5rem 1rem !important;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--pbmt-primary);
}

/* Buttons */
.btn-primary-glow {
  background: linear-gradient(135deg, var(--pbmt-navy) 0%, var(--pbmt-primary) 100%);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  border: none;
  box-shadow: 0 4px 18px rgba(27, 109, 197, 0.35);
  transition: all 0.3s ease;
}

.btn-primary-glow:hover {
  background: linear-gradient(135deg, var(--pbmt-blue-dark) 0%, var(--pbmt-navy) 100%);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(17, 42, 98, 0.45);
}

.btn-ghost {
  background: transparent;
  color: var(--pbmt-navy);
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: 50px;
  border: 1px solid #cbd5e1;
  transition: all 0.3s ease;
}

.btn-ghost:hover {
  background: #ffffff;
  border-color: var(--pbmt-primary);
  color: var(--pbmt-primary);
  transform: translateY(-2px);
}

/* Hero Section & Particle Backdrops */
.hero-section {
  position: relative;
  padding: 6.5rem 0 3.5rem 0;
  background: radial-gradient(circle at 60% 0%, rgba(27, 109, 197, 0.09) 0%, transparent 65%),
              radial-gradient(circle at 10% 80%, rgba(0, 168, 255, 0.06) 0%, transparent 60%);
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.825rem;
  font-weight: 600;
  background: rgba(27, 109, 197, 0.08);
  color: var(--pbmt-primary);
  border: 1px solid rgba(27, 109, 197, 0.2);
  margin-bottom: 1.5rem;
}

/* Interactive Device Mockups & Browser Frames */
.browser-window-frame {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--pbmt-border);
  box-shadow: 0 25px 60px -15px rgba(17, 42, 98, 0.18);
  overflow: hidden;
  transition: all 0.3s ease;
}

.browser-header-bar {
  background: #0f172a;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.browser-url-bar {
  background: rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  font-size: 0.775rem;
  padding: 4px 14px;
  border-radius: 50px;
  font-family: monospace;
}

/* Interactive Tabs inside Hero Graphics */
.hero-tab-btn {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.hero-tab-btn.active {
  background: var(--pbmt-navy);
  color: #ffffff;
}

/* Simulated Animated Charts */
.animated-bar-chart {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
  padding-top: 10px;
}

.bar-col {
  flex: 1;
  background: linear-gradient(180deg, var(--pbmt-blue-electric) 0%, var(--pbmt-navy) 100%);
  border-radius: 6px 6px 0 0;
  transition: height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.bar-col:hover::after {
  content: attr(data-val);
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--pbmt-navy);
}

/* Interactive Web Showcase Component */
.web-preview-canvas {
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.theme-btn-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  transition: transform 0.2s ease;
}

.theme-btn-dot:hover {
  transform: scale(1.25);
}

/* Smartphone Mockup Frame */
.phone-mockup-frame {
  width: 260px;
  margin: 0 auto;
  background: #0f172a;
  border-radius: 36px;
  padding: 12px;
  border: 4px solid #334155;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

.phone-screen {
  background: #ffffff;
  border-radius: 26px;
  overflow: hidden;
  padding: 12px;
}

.phone-notch {
  width: 90px;
  height: 14px;
  background: #0f172a;
  border-radius: 0 0 10px 10px;
  margin: -12px auto 10px auto;
}

/* Client Logos Grid */
.clients-section {
  padding: 3rem 0;
  background: #ffffff;
  border-top: 1px solid var(--pbmt-border);
  border-bottom: 1px solid var(--pbmt-border);
}

.client-logo-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.client-logo-card:hover {
  transform: translateY(-3px);
  border-color: var(--pbmt-primary);
  box-shadow: 0 8px 20px rgba(27, 109, 197, 0.12);
}

.client-logo-img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Service Cards */
.card-clean {
  background: var(--pbmt-surface);
  border: 1px solid var(--pbmt-border);
  border-radius: var(--pbmt-radius-xl);
  padding: 2.25rem;
  height: 100%;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-clean:hover {
  transform: translateY(-4px);
  border-color: rgba(27, 109, 197, 0.4);
  box-shadow: var(--pbmt-shadow-hover);
}

.icon-box-sleek {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(27, 109, 197, 0.08);
  color: var(--pbmt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card-clean:hover .icon-box-sleek {
  background: var(--pbmt-primary);
  color: #ffffff;
  transform: scale(1.05);
}

/* Data Flow Process Diagram Graphics */
.flow-node {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
}

.flow-node:hover {
  border-color: var(--pbmt-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(27, 109, 197, 0.12);
}

.flow-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pbmt-primary);
  font-size: 1.5rem;
}

/* LocalTuitions Spotlight */
.spotlight-card {
  background: linear-gradient(135deg, var(--pbmt-blue-dark) 0%, var(--pbmt-navy) 100%);
  border-radius: var(--pbmt-radius-xl);
  color: #ffffff;
  padding: 3.5rem;
  box-shadow: 0 25px 50px -12px rgba(11, 26, 61, 0.4);
}

.loca-logo-img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
}

.tutor-card-mini {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--pbmt-radius-md);
  padding: 1.25rem;
  transition: all 0.2s ease;
}

.tutor-card-mini:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
}

/* ROI Calculator */
.calc-box {
  background: #ffffff;
  border: 1px solid var(--pbmt-border);
  border-radius: var(--pbmt-radius-xl);
  padding: 2.5rem;
  box-shadow: var(--pbmt-shadow-soft);
}

.calc-output {
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-radius: var(--pbmt-radius-lg);
  padding: 2rem;
  border: 1px solid #e2e8f0;
  text-align: center;
}

/* Footer */
footer {
  background: var(--pbmt-blue-dark);
  color: #94a3b8;
  padding: 4rem 0 2rem 0;
}

footer a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--pbmt-primary);
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
  .hero-section { 
    padding: 4.5rem 0 2.5rem 0; 
  }
  .spotlight-card { 
    padding: 2.25rem 1.5rem; 
  }
  .comparison-container, .calc-box {
    padding: 1.5rem 1.25rem;
  }
  .display-4 {
    font-size: 2.5rem !important;
  }
  .display-5 {
    font-size: 2rem !important;
  }
  .display-6 {
    font-size: 1.75rem !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-custom {
    padding: 0.6rem 0;
  }
  .brand-logo-img {
    height: 60px;
    max-height: 65px;
  }
  .footer-logo-img {
    height: 75px;
    max-height: 85px;
    padding: 10px 16px;
  }
  .hero-section {
    padding: 3.5rem 0 2rem 0;
  }
  .display-4 {
    font-size: 2.1rem !important;
    line-height: 1.2;
  }
  .display-5 {
    font-size: 1.75rem !important;
  }
  .display-6 {
    font-size: 1.5rem !important;
  }
  .pill-badge {
    font-size: 0.75rem;
    padding: 5px 12px;
  }
  .btn-primary-glow, .btn-ghost {
    width: 100%;
    text-align: center;
    padding: 0.7rem 1.25rem;
  }
  .card-clean {
    padding: 1.5rem 1.25rem;
  }
  .pill-tab-btn {
    font-size: 0.8rem;
    padding: 0.45rem 0.9rem;
    margin-bottom: 4px;
  }
  .client-logo-card {
    height: 70px;
    padding: 0.6rem;
  }
  .client-logo-img {
    max-height: 38px;
  }
  .navbar-collapse {
    background: #ffffff;
    padding: 1.25rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin-top: 0.75rem;
  }
  .phone-mockup-frame {
    width: 100%;
    max-width: 260px;
  }
}
