/* Hero Section Styles - Revised to maintain original colors and full page width */
.hero-modern {
  background: var(--primary-dark, #0a192f);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.hero-wrapper {
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  min-height: 100vh;
}

/* left content with centered inner container logic */
.hero-content-new {
  padding: 6rem 4rem;
  background: var(--primary-dark, #0a192f);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end; /* for centering strategy */
}

.hero-content-inner {
  max-width: 700px;
  width: 100%;
}

/* right visual / stats area */
.hero-visual {
  background: linear-gradient(135deg, var(--primary-medium, #112240) 0%, var(--primary-dark, #0a192f) 100%);
  padding: 6rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  color: var(--text-light, #e6f1ff);
  position: relative;
  overflow: hidden;
}

.hero-visual-inner {
  max-width: 700px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-visual::before {
  content: "";
  position: absolute;
  top: -30%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: rgba(30, 76, 124, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.hero-visual::after {
  content: "";
  position: absolute;
  bottom: -20%;
  left: -20%;
  width: 250px;
  height: 250px;
  background: rgba(30, 76, 124, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

/* accent badge using theme colors */
.accent-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(30, 76, 124, 0.2);
  color: var(--text-light, #e6f1ff);
  padding: 0.5rem 1.2rem;
  border-radius: 60px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin-bottom: 1.8rem;
  border: 1px solid var(--accent, #1E4C7C);
}

.hero-content-new h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white, #ffffff);
  margin-bottom: 1rem;
}

.highlight-name {
  color: var(--accent, #1E4C7C);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}

.subhead-new {
  font-size: 1.1rem;
  color: var(--text-medium, #a8b2d1);
  font-weight: 500;
  margin-bottom: 1.5rem;
  border-left: 4px solid var(--accent, #1E4C7C);
  padding-left: 1rem;
}

.description-new {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--text-medium, #a8b2d1);
  margin: 1.2rem 0 1.8rem 0;
  font-weight: 400;
  max-width: 600px;
}

.tech-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin: 1.8rem 0;
}

.pill-new {
  background: rgba(30, 76, 124, 0.1);
  border-radius: 60px;
  padding: 0.6rem 1.3rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light, #e6f1ff);
  border: 1px solid rgba(30, 76, 124, 0.3);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pill-new i {
  color: var(--accent, #1E4C7C);
  font-size: 0.9rem;
}

.pill-new:hover {
  background: var(--accent, #1E4C7C);
  color: var(--primary-dark, #0a192f);
  transform: translateY(-2px);
}

.pill-new:hover i {
  color: var(--primary-dark, #0a192f);
}

.button-group-new {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-primary-new {
  background: var(--accent, #1E4C7C);
  color: var(--white, #ffffff);
  border: none;
  padding: 1.1rem 2.2rem;
  border-radius: 56px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 12px rgba(30, 76, 124, 0.2);
  text-decoration: none;
}

.btn-primary-new:hover {
  background: #153a5f;
  transform: translateY(-2px);
  box-shadow: 0 12px 20px -8px rgba(30, 76, 124, 0.4);
}

.btn-outline-new {
  background: transparent;
  border: 1.5px solid var(--accent, #1E4C7C);
  color: var(--accent, #1E4C7C);
  padding: 1.1rem 2.2rem;
  border-radius: 56px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  cursor: pointer;
  transition: 0.2s;
  text-decoration: none;
}

.btn-outline-new:hover {
  background: rgba(30, 76, 124, 0.1);
  transform: translateY(-2px);
}

/* stats area with theme colors */
.stat-item {
  margin-bottom: 2.2rem;
  position: relative;
  z-index: 2;
}

.stat-number {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: baseline;
  gap: 5px;
  color: var(--white, #ffffff);
}

.stat-number i {
  color: var(--accent, #1E4C7C);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-medium, #a8b2d1);
  font-weight: 500;
}

.trust-quote {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(230, 241, 255, 0.1);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  color: var(--text-medium, #a8b2d1);
}

.quote-author {
  margin-top: 0.8rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-light, #e6f1ff);
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.badge-white {
  background: rgba(230, 241, 255, 0.05);
  backdrop-filter: blur(4px);
  padding: 0.5rem 1.2rem;
  border-radius: 40px;
  font-size: 0.8rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-light, #e6f1ff);
  border: 1px solid rgba(230, 241, 255, 0.1);
}

/* responsive adjustments */
@media (max-width: 1024px) {
  .hero-content-new, .hero-visual {
    padding: 4rem 2rem;
  }
}

@media (max-width: 950px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .hero-modern {
    min-height: auto;
  }
}

@media (max-width: 550px) {
  .button-group-new {
    flex-direction: column;
  }
  .btn-primary-new, .btn-outline-new {
    justify-content: center;
  }
  .stat-number {
    font-size: 2.2rem;
  }
  .hero-content-new h1 {
    font-size: 2.5rem;
  }
}
