/* Layout helpers */
:root {
  --bc-blue: #007bff;
  --bc-dark: #010f24;
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

* {
  font-family: var(--font-family);
}

html,
body {
  width: 100%;
  overflow-x: hidden;
  font-family: var(--font-family);
}

body {
  position: relative;
  padding-top: 70px;
  font-size: 16px;
  line-height: 1.6;
  color: #20294c;
}

body.page-template-page-landing {
  padding-top: 0;
}

.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

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

section {
  width: 100%;
}

/* Header */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.bc-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  padding: 12px 0;
  background: #010f24;
  box-shadow: none;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.site-has-scrolled .bc-header {
  background: #010f24;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
  padding: 8px 0;
  backdrop-filter: blur(8px);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  cursor: pointer;
}

.nav-toggle-line {
  width: 26px;
  height: 2px;
  background: #f5f8ff;
  display: block;
  transition: var(--nav-transition);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-active .nav-toggle-line:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-active .nav-toggle-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.bc-header .container {
  width: min(92%, 1280px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
}

.bc-header .logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-header .logo a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.bc-header .logo-text {
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 1.2rem);
  line-height: 1;
  color: #fff;
}

.bc-header .logo img {
  max-height: 56px;
  width: auto;
}

.bc-header .main-menu {
  flex: 1 1 auto;
  display: flex;
  justify-content: flex-end;
}

.bc-header .main-menu ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  justify-content: flex-end;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Buttons */
.cta-primary,
.cta-btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #010f24;
  color: #fff;
  border-radius: 6px;
  padding: 12px 30px;
}

.cta-primary:hover,
.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: #fff;
}

/* Hero */
.bc-hero {
  min-height: 78vh;
  padding: 120px 0 60px;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, #010f24, #010f24);
  position: relative;
  overflow: hidden;
}

/* Hero Background Elements */
.hero-bg-elements {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Animations */
@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(20px, -20px) rotate(5deg);
  }
  50% {
    transform: translate(-15px, -40px) rotate(-5deg);
  }
  75% {
    transform: translate(-25px, -20px) rotate(3deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.5);
    opacity: 1;
  }
}

/* Sound Wave Visualization - Both Sides of Chat Window */
.sound-wave {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 350px;
  opacity: 0.15;
  z-index: 2;
}

/* Position relative to the hero-illustration (chat container) */
.sound-wave-left {
  right: 42%;
  margin-right: 0px;
}

.sound-wave-right {
  right: 8%;
  margin-left: 0px;
}

.wave-bar {
  width: 5px;
  background: linear-gradient(to top, #4fc3f7, #6ef0ff);
  border-radius: 3px;
  animation: waveHeight 1.5s ease-in-out infinite;
}

/* Individual bar animation delays for wave effect */
.bar-1 { animation-delay: 0s; }
.bar-2 { animation-delay: 0.1s; }
.bar-3 { animation-delay: 0.2s; }
.bar-4 { animation-delay: 0.3s; }
.bar-5 { animation-delay: 0.4s; }
.bar-6 { animation-delay: 0.5s; }
.bar-7 { animation-delay: 0.4s; }
.bar-8 { animation-delay: 0.3s; }
.bar-9 { animation-delay: 0.2s; }
.bar-10 { animation-delay: 0.1s; }
.bar-11 { animation-delay: 0.2s; }
.bar-12 { animation-delay: 0.3s; }

/* Offset right wave animation slightly for variety */
.sound-wave-right .bar-1 { animation-delay: 0.3s; }
.sound-wave-right .bar-2 { animation-delay: 0.4s; }
.sound-wave-right .bar-3 { animation-delay: 0.5s; }
.sound-wave-right .bar-4 { animation-delay: 0.6s; }
.sound-wave-right .bar-5 { animation-delay: 0.7s; }
.sound-wave-right .bar-6 { animation-delay: 0.8s; }
.sound-wave-right .bar-7 { animation-delay: 0.7s; }
.sound-wave-right .bar-8 { animation-delay: 0.6s; }
.sound-wave-right .bar-9 { animation-delay: 0.5s; }
.sound-wave-right .bar-10 { animation-delay: 0.4s; }
.sound-wave-right .bar-11 { animation-delay: 0.5s; }
.sound-wave-right .bar-12 { animation-delay: 0.6s; }

@keyframes waveHeight {
  0%, 100% {
    height: 40px;
  }
  50% {
    height: 350px;
  }
}

.bc-hero .hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.bc-hero .hero-text {
  flex: 1 1 320px;
  min-width: 0;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  max-width: 400px;
}

.bc-hero .hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.bc-hero .hero-text p {
  font-size: clamp(1rem, 2vw, 1.15rem);
  line-height: 1.6;
  margin-bottom: 30px;
  color: #f0f0f0;
}

.hero-illustration {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hero-chat {
  width: 100%;
  max-width: 320px;
  background: linear-gradient(180deg, #071124, #0f2040);
  border-radius: 36px;
  box-shadow: 0 30px 60px rgba(3, 6, 22, 0.55),
              0 0 0 10px rgba(13, 32, 59, 0.4),
              0 0 0 14px rgba(13, 32, 59, 0.2);
  padding: 14px;
  color: #e2e8ff;
  border: 2px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

/* Mobile device notch effect */
.hero-chat::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.hero-chat::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  z-index: 11;
}

.chat-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #9db5ff;
  margin-bottom: 10px;
  margin-top: 20px;
  font-weight: 600;
  position: relative;
  z-index: 5;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ef19e;
  box-shadow: 0 0 8px rgba(78, 241, 158, 0.7);
}

.status-indicator {
  font-size: 0.65rem;
  text-transform: lowercase;
  color: #74ffc3;
}

.chat-screen {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 24px;
  padding: 12px;
  height: 380px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-screen::-webkit-scrollbar {
  display: none;
}

.chat-stream {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  overflow-y: auto;
  scrollbar-width: none;
}

.chat-stream::-webkit-scrollbar {
  display: none;
}

.bubble {
  max-width: 80%;
  padding: 10px 13px 8px;
  border-radius: 18px;
  font-size: 0.85rem;
  line-height: 1.4;
  position: relative;
  animation: bubble-in 0.35s ease;
}

.bubble p {
  margin: 0 0 3px;
}

.bubble .timestamp {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.55);
}

.bubble-out {
  align-self: flex-end;
  background: linear-gradient(135deg, #4f9bff, #6ef0ff);
  color: #021632;
  border-bottom-right-radius: 4px;
}

.bubble-in {
  align-self: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border-bottom-left-radius: 4px;
}

@keyframes bubble-in {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero-text .cta-primary,
.hero-text .cta-secondary {
  margin-top: 12px;
  display: inline-flex;
  position: relative;
  overflow: hidden;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 30px;
  transition: color 0.3s ease;
}

.hero-text .cta-primary::before,
.hero-text .cta-secondary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
  z-index: 0;
}

.hero-text .cta-primary span,
.hero-text .cta-secondary span {
  position: relative;
  z-index: 1;
}

.hero-text .cta-primary:hover,
.hero-text .cta-secondary:hover {
  color: #0d203b;
}

.hero-text .cta-primary:hover::before,
.hero-text .cta-secondary:hover::before {
  transform: scaleX(1);
}

/* Features */
.bc-features {
  padding: 70px 0;
}

.bc-features h2,
.bc-workflow h2,
.bc-demo h2 {
  font-size: clamp(2rem, 3vw, 2.75rem);
}

.bc-workflow h2 {
  position: relative;
  padding-bottom: 20px;
  margin-bottom: 10px;
}

.bc-workflow h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #4fc3f7, #6ef0ff);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.feature-card {
  position: relative;
  perspective: 1400px;
  min-height: 320px;
  outline: none;
}

.feature-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 0px solid rgba(13, 32, 59, 0.2);
  border-radius: 24px;
  pointer-events: none;
}

.feature-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s ease;
  transform-style: preserve-3d;
}

.feature-card:hover .feature-card-inner,
.feature-card:focus-visible .feature-card-inner,
.feature-card.is-active .feature-card-inner {
  transform: rotateY(-180deg);
}

.feature-card-face {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  padding: 50px 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: transparent;
}

.feature-card-face img {
  width: 104px;
  height: 104px;
  margin-bottom: 24px;
}

.feature-card-face h3 {
  margin-top: 10px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #0d203b;
}

.feature-card-face p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4d5772;
}

.feature-card-back h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: #0d203b;
}

.feature-card-back {
  background: transparent;
  color: #0d203b;
  transform: rotateY(-180deg);
  justify-content: center;
  padding: 12px;
}

.feature-card-back p {
  color: #0d203b;
  font-size: 1rem;
}

.bc-section-divider {
  position: relative;
  padding: 70px 0;
  background: url('../images/pattern1.jpg') center/cover no-repeat;
  overflow: hidden;
}

.bc-section-divider::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.4);
  z-index: 1;
}

.bc-section-divider .divider-content {
  width: min(90%, 960px);
  margin: 0 auto;
  text-align: center;
  color: #0d203b;
  position: relative;
  z-index: 2;
}

.bc-section-divider h3 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 12px;
  color: #0d203b;
}

.bc-section-divider p {
  font-size: 1.25rem;
  line-height: 1.8;
  color: #0d203b;
  font-weight: 600;
}

/* Workflow Stepper */
.bc-workflow {
  padding: 70px 0;
  background: linear-gradient(180deg, #f5f7fb 0%, #e8eef5 100%);
  position: relative;
  overflow: hidden;
}

.bc-workflow::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bc-workflow::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(110, 240, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.bc-stepper {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 360px);
  gap: 40px;
  margin-top: 50px;
  align-items: flex-start;
  min-height: auto;
}

.stepper-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stepper-step {
  border: none;
  text-align: left;
  padding: 22px 22px 40px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fafcfd 100%);
  border: 2px solid rgba(13, 32, 59, 0.08);
  display: flex;
  gap: 16px;
  align-items: flex-start;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(13, 32, 59, 0.04);
}

.stepper-step:hover {
  transform: translateX(4px);
  border-color: rgba(79, 195, 247, 0.3);
  box-shadow: 0 8px 20px rgba(79, 195, 247, 0.12);
}

.stepper-step .step-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: #0d203b;
}

.stepper-step .step-text p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: #4d5772;
}

.step-progress {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  height: 3px;
  background: rgba(13, 32, 59, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.step-progress span {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0%;
  background: linear-gradient(90deg, #4fc3f7, #6ef0ff);
  transition: width 0.2s linear;
}

.stepper-step.is-active {
  border-color: rgba(79, 195, 247, 0.6);
  background: linear-gradient(135deg, rgba(79, 195, 247, 0.15) 0%, rgba(110, 240, 255, 0.12) 100%);
  transform: translateX(8px) scale(1.02);
  box-shadow: 0 12px 28px rgba(79, 195, 247, 0.25),
              0 0 0 3px rgba(79, 195, 247, 0.1);
}

.stepper-step.is-active .step-text strong {
  color: #007acc;
}

.stepper-panels {
  position: relative;
}

.stepper-panel {
  display: none;
  background: linear-gradient(135deg, #ffffff 0%, #f9fbfd 100%);
  border-radius: 32px;
  padding: 48px 40px;
  border: 1px solid rgba(79, 195, 247, 0.15);
  box-shadow: 0 20px 50px rgba(13, 32, 59, 0.1),
              0 0 0 1px rgba(79, 195, 247, 0.05) inset;
  gap: 32px;
  align-items: center;
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stepper-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(1, 15, 36, 0.65) 0%, rgba(13, 32, 59, 0.55) 100%);
  border-radius: 32px;
  pointer-events: none;
  z-index: 1;
}

.stepper-panel.is-active {
  display: flex;
}

.panel-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.panel-copy h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #0d203b;
  background: linear-gradient(135deg, #0d203b 0%, #1a3a5c 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.3;
}

.panel-copy p {
  font-size: 1.35rem;
  line-height: 1.8;
  color: #ffffff;
  position: relative;
  padding: 24px 28px;
  margin-bottom: 0;
  background: rgba(79, 195, 247, 0.15);
  border-left: 4px solid #4fc3f7;
  border-radius: 12px;
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.panel-copy p::before {
  display: none;
}

/* Demo */
.bc-demo {
  background: #010f24;
  padding: 80px 0;
  text-align: center;
}

.bc-demo h2 {
  color: #fff;
  margin-bottom: 30px;
}

.bc-demo .cta-primary {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 36px;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .bc-header {
    position: fixed;
    padding: 10px 0;
    top: 0;
    left: 0;
    right: 0;
  }

  .bc-hero {
    padding: 180px 0 60px;
  }

  .bc-header .container {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .nav-toggle {
    display: flex;
    align-self: flex-end;
    margin-left: auto;
  }

  .bc-header .main-menu {
    width: 100%;
    flex-direction: column;
    overflow: hidden;
    max-height: 0;
    transition: max-height var(--nav-transition);
  }

  .bc-header .main-menu.is-open {
    max-height: 300px;
  }

  .bc-header .main-menu ul {
    flex-direction: column;
    justify-content: center;
    gap: 18px;
    padding: 20px 0;
  }
}

@media (max-width: 992px) {
  .bc-hero .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-cta-group {
    justify-content: center;
    max-width: 90%;
  }

  .bc-stepper {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .stepper-panel {
    flex-direction: column;
    text-align: center;
    min-height: auto;
  }

  .step-progress {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  /* Hide sound waves in tablet view */
  .sound-wave {
    display: none;
  }
}

@media (max-width: 768px) {
  .bc-hero {
    padding: 160px 0 70px;
  }

  .bc-hero .hero-text {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-text .cta-primary,
  .hero-text .cta-secondary {
    width: 280px !important;
    max-width: 280px;
    min-width: 280px;
    margin: 0;
    text-align: center;
    justify-content: center;
    box-sizing: border-box;
    display: inline-flex;
    padding: 15px 30px;
  }

  /* Normalize button element to match anchor styling */
  .hero-text button.cta-secondary,
  .hero-text button.cta-primary {
    border: 2px solid #fff;
    background: transparent;
  }

  .hero-cta-group {
    width: 100%;
    max-width: none;
    flex-direction: column;
    margin-bottom: 40px;
    align-items: center;
    justify-content: center;
  }

  .hero-illustration {
    margin-top: 20px;
  }

  .bc-header .main-menu ul {
    flex-direction: column;
    gap: 15px;
  }

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

  .stepper-step {
    padding: 16px;
  }

  .step-progress {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  /* Adjust background elements for mobile */
  .sound-wave {
    opacity: 0.1;
    height: 80px;
    gap: 6px;
  }

  .sound-wave-left {
    right: 54%;
    margin-right: 20px;
  }

  .sound-wave-right {
    left: 54%;
    margin-left: 20px;
  }

  .sound-wave .wave-bar {
    width: 4px;
  }

  @keyframes waveHeight {
    0%, 100% {
      height: 20px;
    }
    50% {
      height: 80px;
    }
  }
}

@media (max-width: 480px) {
  .bc-hero {
    padding: 180px 0 80px;
  }

  .bc-features,
  .bc-workflow,
  .bc-demo {
    padding: 60px 0;
  }
}
.bc-header,
.bc-header a {
  color: #f5f8ff;
}

.bc-header .main-menu a {
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 8px 16px;
  border-radius: 8px;
  background: transparent;
  transition: all 0.3s ease;
  text-decoration: none;
}

.bc-header .main-menu a:hover {
  color: #6ef0ff;
  background: rgba(79, 195, 247, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 195, 247, 0.2);
}
:root {
  --nav-transition: 0.3s ease;
}

/* Contact Form Modal */
.bc-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.bc-modal.is-open {
  display: flex;
  opacity: 1;
}

.bc-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(1, 15, 36, 0.95);
  backdrop-filter: blur(8px);
  cursor: pointer;
}

.bc-modal-container {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: linear-gradient(180deg, #fff, #f9fafb);
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(1, 15, 36, 0.3);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  margin: 0 auto;
  box-sizing: border-box;
}

.bc-modal.is-open .bc-modal-container {
  transform: translateY(0);
}

.bc-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 32, 59, 0.08);
  border: none;
  border-radius: 50%;
  color: #0d203b;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.bc-modal-close:hover {
  background: rgba(13, 32, 59, 0.15);
  transform: rotate(90deg);
}

.bc-modal-content {
  padding: 50px 40px 40px;
}

.bc-modal-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #0d203b;
  margin-bottom: 8px;
  text-align: center;
}

.bc-modal-subtitle {
  font-size: 1rem;
  color: #4d5772;
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Contact Form Styles */
.bc-contact-form {
  width: 100%;
}

.bc-form-group {
  margin-bottom: 24px;
}

.bc-form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0d203b;
  margin-bottom: 8px;
}

.bc-form-group .required {
  color: #ff4757;
}

.bc-form-group input,
.bc-form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 1rem;
  font-family: var(--font-family);
  color: #0d203b;
  background: #fff;
  border: 2px solid rgba(13, 32, 59, 0.12);
  border-radius: 12px;
  transition: all 0.3s ease;
  outline: none;
  box-sizing: border-box;
}

.bc-form-group input:focus,
.bc-form-group textarea:focus {
  border-color: #4fc3f7;
  box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.1);
}

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

.bc-form-error {
  display: none;
  font-size: 0.875rem;
  color: #ff4757;
  margin-top: 6px;
}

.bc-form-group.has-error .bc-form-error {
  display: block;
}

.bc-form-group.has-error input,
.bc-form-group.has-error textarea {
  border-color: #ff4757;
}

.bc-form-actions {
  margin-top: 32px;
}

.bc-btn-submit {
  width: 100%;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: linear-gradient(135deg, #4fc3f7, #6ef0ff);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bc-btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 195, 247, 0.4);
}

.bc-btn-submit:active {
  transform: translateY(0);
}

.bc-btn-submit.is-loading {
  pointer-events: none;
}

.bc-btn-submit.is-loading .btn-text {
  opacity: 0;
}

.bc-btn-submit.is-loading .btn-loader {
  opacity: 1;
}

.btn-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 24px;
  height: 24px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  opacity: 0;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

.bc-form-message {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
}

.bc-form-message.is-visible {
  display: block;
}

.bc-form-message.success {
  background: rgba(78, 241, 158, 0.15);
  color: #059669;
  border: 1px solid rgba(78, 241, 158, 0.3);
}

.bc-form-message.error {
  background: rgba(255, 71, 87, 0.15);
  color: #dc2626;
  border: 1px solid rgba(255, 71, 87, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .bc-modal-container {
    max-width: 100%;
    border-radius: 16px;
    max-height: 95vh;
  }

  .bc-modal-content {
    padding: 50px 24px 30px;
  }

  .bc-modal-content h2 {
    font-size: 1.5rem;
  }

  .bc-modal-subtitle {
    font-size: 0.95rem;
  }

  .bc-form-group {
    margin-bottom: 20px;
  }
}

/* Footer */
.bc-footer {
  background: linear-gradient(180deg, #010f24 0%, #0d203b 100%);
  color: #f0f0f0;
  padding: 60px 0 30px;
  position: relative;
  overflow: hidden;
}

.bc-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #4fc3f7, transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #4fc3f7, #6ef0ff);
  border-radius: 2px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  line-height: 1.8;
}

.contact-item strong {
  display: block;
  color: #4fc3f7;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p {
  margin: 4px 0;
  font-size: 1rem;
  color: #e0e0e0;
}

.contact-item a {
  color: #e0e0e0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #6ef0ff;
}

.footer-social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: rgba(79, 195, 247, 0.1);
  border: 2px solid rgba(79, 195, 247, 0.3);
  border-radius: 12px;
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.social-link:hover {
  background: rgba(79, 195, 247, 0.2);
  border-color: #4fc3f7;
  color: #6ef0ff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(79, 195, 247, 0.2);
}

.social-link svg {
  width: 28px;
  height: 28px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(79, 195, 247, 0.2);
}

.footer-bottom p {
  margin: 8px 0;
  font-size: 0.95rem;
  color: #b0b0b0;
}

.footer-bottom a {
  color: #4fc3f7;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: #6ef0ff;
  text-decoration: underline;
}

.footer-credits {
  margin-top: 20px;
}

.footer-credits p {
  font-size: 0.7rem;
}

/* Footer Mobile Responsive */
@media (max-width: 768px) {
  .bc-footer {
    padding: 50px 0 25px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 30px;
  }

  .footer-section h3 {
    font-size: 1.15rem;
  }

  .contact-item strong {
    font-size: 0.9rem;
  }

  .contact-item p {
    font-size: 0.95rem;
  }

  .social-link {
    padding: 10px 16px;
    font-size: 0.95rem;
  }

  .social-link svg {
    width: 24px;
    height: 24px;
  }

  .footer-bottom p {
    font-size: 0.9rem;
  }
}
