/* BP2S Website — Global Styles */

/* ============ RESET & BASE ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1a2744;
  --navy-light: #243354;
  --blue: #2c5aa0;
  --blue-light: #3a7bd5;
  --gold: #c9a84c;
  --gold-light: #e0c06a;
  --white: #ffffff;
  --off-white: #f5f6fa;
  --gray-100: #f0f1f5;
  --gray-200: #e2e4ea;
  --gray-300: #c8ccd6;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --red-accent: #b91c1c;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1200px;
  --section-padding: 80px 0;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--gray-900);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--blue-light);
}

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

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

/* ============ TYPOGRAPHY ============ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
h4 { font-size: 1.125rem; margin-bottom: 8px; }

p { margin-bottom: 16px; }

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  text-align: center;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(201, 168, 76, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}

.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

/* ============ NAVIGATION ============ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
}

.nav-logo .logo-icon {
  width: 40px;
  height: 40px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  overflow: hidden;
}

.nav-logo .logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-logo-img {
  height: 64px;
  width: auto;
  border-radius: 6px;
  filter: brightness(0) invert(1);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.85);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
}

.nav-links .btn-primary {
  color: var(--navy);
  margin-left: 8px;
  padding: 10px 24px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 8px;
}

/* ============ HERO ============ */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 50%, var(--blue) 100%);
  color: var(--white);
  padding: 160px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 168, 76, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 39, 68, 0.6);
  z-index: 0;
}

.hero h1 {
  color: var(--white);
  font-size: 3.25rem;
  max-width: 800px;
  margin-bottom: 24px;
  line-height: 1.15;
}

.hero .highlight {
  color: var(--gold);
}

.hero p {
  font-size: 1.25rem;
  max-width: 650px;
  opacity: 0.9;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ============ CREDENTIAL BAR ============ */
.credential-bar {
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}

.credential-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.credential-item .icon {
  font-size: 1.25rem;
}

.credential-divider {
  width: 1px;
  height: 24px;
  background: rgba(255, 255, 255, 0.2);
}

/* ============ SBA CERTIFICATION BADGES ============ */
.sba-badges {
  background: var(--white);
  padding: 40px 0;
}

.sba-badges-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
}

.sba-badges-row img {
  height: 120px;
  width: auto;
}

/* ============ SECTIONS ============ */
.section {
  padding: var(--section-padding);
}

.section-light {
  background: var(--off-white);
}

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
}

/* ============ SERVICES GRID ============ */
.services-tier-label {
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 24px;
}

.services-grid {
  display: grid;
  gap: 24px;
  margin-bottom: 48px;
}

.services-grid.tier-1 {
  grid-template-columns: repeat(3, 1fr);
}

.services-grid.tier-2 {
  grid-template-columns: repeat(4, 1fr);
}

.services-grid.tier-3 {
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
  border-color: var(--blue);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card.signature::before {
  background: var(--gold);
}

.service-card.signature:hover {
  border-color: var(--gold);
}

.service-card .card-icon {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.service-card.signature .card-icon {
  background: rgba(201, 168, 76, 0.1);
}

.service-card h3 {
  font-size: 1.125rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.6;
}

.service-card .learn-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue);
  display: flex;
  align-items: center;
  gap: 4px;
}

.service-card.signature .learn-more {
  color: var(--gold);
}

/* ============ DIFFERENTIATORS ============ */
.diff-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.diff-card {
  flex: 0 1 calc(33.333% - 22px);
  min-width: 280px;
}

.diff-card {
  text-align: center;
  padding: 32px 24px;
}

.diff-card .diff-icon {
  width: 64px;
  height: 64px;
  background: rgba(201, 168, 76, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 20px;
}

.diff-card h3 {
  color: var(--white);
  font-size: 1.125rem;
  margin-bottom: 8px;
}

.diff-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

/* ============ STATS BAR ============ */
.stats-bar {
  background: var(--blue);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-item .stat-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* ============ SOLUTION PARTNERS ============ */
.partners-section {
  background: var(--off-white);
  padding: 64px 0;
}

.partners-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.partners-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: marquee-scroll 20s linear infinite;
}

.partners-track:hover {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 32px;
  background: transparent;
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  min-height: 90px;
}

.partner-logo-card:hover {
  border-color: var(--blue-light);
  box-shadow: 0 4px 16px rgba(44, 90, 160, 0.12);
  transform: translateY(-2px);
}

.partner-logo-card img {
  max-height: 60px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: var(--transition);
}

/* ============ ABOUT SECTION ============ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

.about-photo-area {
  position: relative;
}

.about-photo-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-align: center;
  padding: 32px;
}

.about-photo-placeholder .initials {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 16px;
  opacity: 0.3;
}

.about-photo-placeholder p {
  font-size: 0.875rem;
  opacity: 0.6;
}

.about-badges {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.badge {
  background: var(--off-white);
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--navy);
  text-align: center;
  flex: 1;
  min-width: 80px;
}

.badge.gold {
  background: rgba(201, 168, 76, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.about-content h2 {
  text-align: left;
}

.about-content h2::after {
  left: 0;
  transform: none;
}

.credentials-list {
  list-style: none;
  margin: 24px 0;
}

.credentials-list li {
  padding: 6px 0;
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.credentials-list li::before {
  content: '\\2713';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

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

.award-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: var(--off-white);
  border-radius: 8px;
  font-size: 0.875rem;
  font-weight: 500;
}

.award-item .award-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ============ NAICS / REGISTRATION ============ */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 32px;
}

.reg-table {
  width: 100%;
  border-collapse: collapse;
}

.reg-table th,
.reg-table td {
  padding: 10px 14px;
  text-align: left;
  font-size: 0.9375rem;
  border-bottom: 1px solid var(--gray-200);
}

.reg-table th {
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
  width: 40%;
}

/* ============ CTA SECTION ============ */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 32px;
  opacity: 0.9;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 32px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-item .ci-icon {
  width: 44px;
  height: 44px;
  background: var(--blue);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  margin-bottom: 4px;
  color: var(--navy);
}

.contact-info-item p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.9375rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--gray-300);
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  transition: var(--transition);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--gray-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.875rem;
}

.footer-col ul a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8125rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--white);
}

.footer-legal {
  display: flex;
  gap: 24px;
}

/* ============ SERVICE DETAIL PAGE ============ */
.service-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 100%);
  color: var(--white);
  padding: 140px 0 60px;
}

.service-hero h1 {
  color: var(--white);
  font-size: 2.5rem;
}

.service-hero .breadcrumb {
  font-size: 0.875rem;
  margin-bottom: 16px;
  opacity: 0.7;
}

.service-hero .breadcrumb a {
  color: rgba(255, 255, 255, 0.8);
}

.service-content {
  padding: 64px 0;
}

.service-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}

.service-main h2 {
  font-size: 1.5rem;
  margin-top: 32px;
  margin-bottom: 16px;
}

.service-main ul {
  margin-left: 20px;
  margin-bottom: 24px;
}

.service-main ul li {
  margin-bottom: 8px;
  color: var(--gray-700);
}

.service-sidebar .sidebar-card {
  background: var(--off-white);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

.sidebar-card h4 {
  color: var(--navy);
  margin-bottom: 16px;
  font-size: 1rem;
}

.sidebar-card ul {
  list-style: none;
}

.sidebar-card ul li {
  padding: 6px 0;
  font-size: 0.875rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sidebar-card ul li::before {
  content: '\\2713';
  color: var(--gold);
  font-weight: 700;
}

.sector-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sector-tag {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--navy);
}

/* ============ MOBILE RESPONSIVE ============ */
@media (max-width: 1024px) {
  .services-grid.tier-1,
  .services-grid.tier-2,
  .services-grid.tier-3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .diff-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }

  .navbar .container {
    height: 64px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 16px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 16px;
    width: 100%;
  }

  .nav-links .btn-primary {
    margin-left: 0;
    margin-top: 8px;
    text-align: center;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 120px 0 60px;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .hero p {
    font-size: 1.0625rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .credential-items {
    gap: 20px;
  }

  .credential-divider {
    display: none;
  }

  .services-grid.tier-1,
  .services-grid.tier-2,
  .services-grid.tier-3 {
    grid-template-columns: 1fr;
  }

  .diff-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .partners-track {
    gap: 32px;
    animation-duration: 15s;
  }

  .partner-logo-card {
    padding: 16px 24px;
    min-height: 70px;
  }

  .partner-logo-card img {
    max-height: 48px;
    max-width: 140px;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .reg-grid {
    grid-template-columns: 1fr;
  }

  .service-layout {
    grid-template-columns: 1fr;
  }

  .awards-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
}
