* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #1d3666;
  --accent: #ffcfd4;
  --light-bg: #f0f7ff;
  --white: #ffffff;
  --text: #1d3666;
  --text-secondary: #4a5f7f;
  --border: #e0e8f0;
  --shadow-sm: 0 2px 8px rgba(29, 54, 102, 0.08);
  --shadow-md: 0 8px 16px rgba(29, 54, 102, 0.12);
  --shadow-lg: 0 16px 32px rgba(29, 54, 102, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--white);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.btn-primary {
  background-color: var(--accent);
  color: var(--primary);
}

.btn-primary:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
}

.btn-secondary:hover {
  background-color: var(--white);
  border-color: var(--primary);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 16px;
}

/* Hero Section with carousel support */
.hero {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, rgba(29, 54, 102, 0.85) 0%, rgba(29, 54, 102, 0.75) 100%),
    url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="1200" height="600" fill="%231d3666"/><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(29, 54, 102, 0.7);
  z-index: 1;
}

.hero-wrapper {
  display: flex;
  flex-direction: column;
  gap: 60px;
  position: relative;
  z-index: 2;
}

.hero-carousel-container {
  position: relative;
  width: 100%;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* Added overflow hidden to prevent content bleeding */
  overflow: hidden;
}

.hero-carousel {
  display: flex;
  width: 100%;
  height: 100%;
  position: relative;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  /* Added will-change for better mobile performance */
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  background: var(--light-bg);
  color: var(--primary);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
  animation: slideInDown 0.6s ease-out forwards;
  opacity: 0;
}

.hero-slide.active .hero-badge {
  animation: slideInDown 0.6s ease-out forwards;
}

.hero-title {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
  letter-spacing: -1px;
  animation: slideInUp 0.6s ease-out 0.15s both;
  opacity: 0;
}

.hero-slide.active .hero-title {
  animation: slideInUp 0.6s ease-out 0.15s forwards;
}

.hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 0;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  animation: slideInUp 0.6s ease-out 0.3s both;
  opacity: 0;
}

.hero-slide.active .hero-subtitle {
  animation: slideInUp 0.6s ease-out 0.3s forwards;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  order: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--accent);
  border-color: var(--accent);
  width: 32px;
  border-radius: 6px;
}

.dot:hover {
  border-color: var(--white);
}

.hero-static-section {
  position: relative;
  z-index: 2;
}

.hero-button {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: var(--white);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--primary);
  letter-spacing: -0.5px;
}

.section-header p {
  font-size: 18px;
  color: var(--text);
  font-weight: 500;
}

/* Why Choose Section */
.why-choose {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.benefit-card {
  padding: 40px;
  background: var(--white);
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background-color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 20px;
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.benefit-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.benefit-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* Impact Section */
.impact {
  padding: 100px 0;
  background: var(--white);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.impact-card {
  padding: 40px;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.impact-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--accent) 0%, var(--light-bg) 100%);
}

.impact-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

.impact-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 12px;
}

.impact-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

/* Modules Section */
.modules {
  padding: 100px 0;
  background-color: var(--light-bg);
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.module-card {
  padding: 36px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.module-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.module-icon {
  width: 48px;
  height: 48px;
  background-color: var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 16px;
}

.module-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

.module-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.module-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* Case Studies Preview Section */
.case-studies-preview {
  padding: 100px 0;
  background: var(--white);
}

.case-studies-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 32px;
}

.case-study-image {
  height: 100%;
  object-fit: cover;
  margin: -16px -16px 16px -16px;
  border-radius: 12px;
  object-position: bottom;
}

.case-study-preview-card {
  padding: 40px;
  background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.case-study-preview-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
  background: var(--white);
}

.case-study-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
  width: fit-content;
}

.case-study-preview-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 20px;
}

.case-study-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.metric {
  text-align: left;
}

.metric-value {
  font-size: 28px;
  font-weight: 700;
  color: #1d3666;
  margin-bottom: 4px;
}

.metric-label {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.case-study-quote {
  font-size: 15px;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.8;
  font-style: italic;
  flex-grow: 1;
}

.case-study-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.case-study-meta {
  font-size: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-learn-more {
  background-color: var(--accent);
  color: var(--primary);
  border: none;
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-decoration: none;
  display: inline-block;
}

.btn-learn-more:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Made AI Partner section responsive for mobile and all devices */
.ai-partner-simple {
  padding: 60px 0;
  background: var(--light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ai-partner-badge-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  flex-wrap: wrap;
}

.ai-partner-badge-line img {
  width: 35px;
  height: 35px;
  color: var(--primary);
}

.partner-name {
  font-weight: 700;
  font-size: 18px;
}

/* QHIE Hub Section */
.qhie-hub {
  padding: 100px 0;
  background: var(--white);
}

.qhie-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.qhie-card {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 12px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.qhie-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.qhie-card svg {
  width: 48px;
  height: 48px;
  color: var(--accent);
  margin-bottom: 20px;
}

.qhie-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--primary);
}

.qhie-card p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
}

/* Partners Section */
.partners {
  padding: 100px 0;
  background: var(--white);
}

.partners-grid-compact {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partner-logo-card {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.partner-logo-card:hover {
  transform: scale(1.08);
}

.partner-logo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(29, 54, 102, 0.15));
}

.partner-logo-card:hover .partner-logo-placeholder {
  filter: drop-shadow(0 8px 20px rgba(29, 54, 102, 0.25));
}

.partner-logo-placeholder img {
  width: 150px;
  height: 150px;
  background: white;
  border-radius: 16px;
}

/* Case Studies Section */
.case-studies {
  padding: 100px 0;
  background: var(--light-bg);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.case-study-card {
  padding: 36px;
  background: var(--white);
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.case-study-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
  background: var(--white);
}

.case-study-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 16px;
}

.case-study-card p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.7;
  font-style: italic;
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: var(--light-bg);
}

.faq-container {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
}

.faq-question {
  width: 100%;
  padding: 24px;
  background: var(--white);
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.3s ease;
}

.faq-question:hover {
  background-color: var(--light-bg);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: var(--primary);
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item.active .faq-question {
  background-color: var(--light-bg);
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer p {
  padding: 0 24px 24px 24px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.7;
  background: var(--white);
}

/* Final CTA Section */
.final-cta {
  padding: 100px 0;
  background: var(--primary);
  color: var(--white);
  text-align: center;
}

.final-cta h2 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.final-cta p {
  font-size: 18px;
  margin-bottom: 40px;
  opacity: 0.95;
  font-weight: 500;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background-color: var(--white);
  color: var(--primary);
  border: 2px solid var(--white);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cta-primary:hover {
  background-color: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-cta-secondary {
  background-color: var(--accent);
  color: var(--primary);
  border: 2px solid var(--accent);
  font-weight: 700;
  padding: 14px 40px;
  border-radius: 8px;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Mobile-friendly responsive adjustments */
@media (max-width: 768px) {
  .hero {
    padding: 80px 0 60px;
  }

  .hero-carousel-container {
    min-height: 150px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.3;
  }

  .hero-subtitle {
    font-size: 14px;
    line-height: 1.6;
  }

  .hero-badge {
    font-size: 11px;
    padding: 6px 12px;
    margin-bottom: 16px;
  }

  .hero-button {
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .stat-card {
    padding: 20px;
  }

  .stat-number {
    font-size: 32px;
  }

  .stat-label {
    font-size: 12px;
  }

  .carousel-dots {
    gap: 8px;
    margin-top: 20px;
  }

  .dot {
    width: 10px;
    height: 10px;
  }

  .dot.active {
    width: 28px;
  }

  /* Added mobile styles for AI partner section */
  .ai-partner-badge-line {
    font-size: 16px;
    gap: 8px;
  }

  .ai-partner-badge-line img {
    width: 30px;
    height: 30px;
  }

  .partner-name {
    font-size: 16px;
  }

  /* Improved alignment and spacing for all sections on tablets */
  .section-header h2 {
    font-size: 32px;
  }

  .section-header p {
    font-size: 16px;
  }

  .benefits-grid,
  .impact-grid,
  .modules-grid,
  .qhie-content {
    gap: 20px;
  }

  .benefit-card,
  .impact-card,
  .module-card,
  .qhie-card,
  .case-study-preview-card {
    padding: 24px;
  }

  .case-studies-preview-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .case-study-image {
    height: 180px;
  }

  .final-cta h2 {
    font-size: 32px;
  }

  .final-cta p {
    font-size: 16px;
  }

  .faq-question {
    font-size: 14px;
    padding: 16px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0 50px;
  }

  .hero-carousel-container {
    min-height: 100px;
  }

  .hero-wrapper {
    gap: 40px;
  }

  .hero-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .hero-subtitle {
    font-size: 13px;
    line-height: 1.5;
  }

  .hero-badge {
    font-size: 10px;
    padding: 5px 10px;
    margin-bottom: 12px;
  }

  .hero-button {
    margin-bottom: 30px;
    gap: 10px;
  }

  .btn {
    width: 100%;
    padding: 10px 20px;
    font-size: 13px;
  }

  .hero-stats {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-label {
    font-size: 11px;
  }

  /* Added mobile styles for AI partner section */
  .ai-partner-simple {
    padding: 40px 0;
  }

  .ai-partner-badge-line {
    font-size: 14px;
    gap: 6px;
  }

  .ai-partner-badge-line img {
    width: 25px;
    height: 25px;
  }

  .partner-name {
    font-size: 14px;
  }

  /* Improved alignment and spacing for all sections on small mobile */
  .section-header h2 {
    font-size: 24px;
  }

  .section-header p {
    font-size: 14px;
    margin-bottom: 40px;
  }

  .benefits-grid,
  .impact-grid,
  .modules-grid,
  .qhie-content {
    gap: 16px;
    grid-template-columns: 1fr;
  }

  .benefit-card,
  .impact-card,
  .module-card,
  .qhie-card,
  .case-study-preview-card {
    padding: 20px;
  }

  .case-studies-preview-grid {
    grid-template-columns: 1fr;
  }

  .case-study-image {
    height: 160px;
    margin: -20px -20px 12px -20px;
  }

  .case-study-preview-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .case-study-metrics {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 16px;
  }

  .metric-value {
    font-size: 24px;
  }

  .metric-label {
    font-size: 10px;
  }

  .case-study-quote {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .partners-grid-compact {
    gap: 20px;
  }

  .partner-logo-placeholder img {
    width: 120px;
    height: 120px;
  }

  .final-cta h2 {
    font-size: 24px;
  }

  .final-cta p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .cta-buttons {
    gap: 10px;
  }

  .btn-cta-primary,
  .btn-cta-secondary {
    padding: 12px 24px;
    font-size: 13px;
  }

  .faq-container {
    max-width: 100%;
  }

  .faq-question {
    font-size: 13px;
    padding: 14px;
  }

  .faq-answer p {
    padding: 0 14px 14px 14px;
    font-size: 13px;
  }
}

/* Complete QHIE Hub section redesign with modern professional aesthetics */

.qhie-hub {
  padding: 100px 0;
  background: linear-gradient(135deg, #f8f9fd 0%, #ffffff 50%, #f5f7fc 100%);
  position: relative;
  overflow: hidden;
}

/* Header Card with Gradient */
.qhie-header-card {
  background: linear-gradient(135deg, #1d3666 0%, #2d4e8c 100%);
  border-radius: 20px;
  padding: 60px 50px;
  text-align: center;
  margin-bottom: 80px;
  box-shadow: 0 20px 60px rgba(29, 54, 102, 0.15);
  position: relative;
  overflow: hidden;
}

.qhie-header-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 207, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.qhie-header-content {
  position: relative;
  z-index: 2;
}

.qhie-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.qhie-header-card h2 {
  font-size: 44px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.qhie-header-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

/* What is QHIE Hub - Split Section */
.qhie-what-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 32px;
  margin-bottom: 100px;
}

.qhie-what-card {
  padding: 50px;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
}

.qhie-what-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1d3666 0%, #ffd0d8 100%);
}

.qhie-what-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fd 100%);
  border: 2px solid #e8eef5;
}

.qhie-what-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(29, 54, 102, 0.12);
  border-color: #1d3666;
}

.qhie-what-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.qhie-what-header h3 {
  font-size: 26px;
  font-weight: 700;
  color: #1d3666;
  margin: 0 0 16px 0;
}

.qhie-what-secondary .qhie-what-header h3 {
  color: #1d3666;
  /* Changed from red (#c73a4a) to brand blue */
}

.qhie-what-header p {
  font-size: 15px;
  color: #4a5568;
  line-height: 1.9;
  margin: 0;
}

.qhie-what-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #1d3666 0%, #2d4e8c 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  flex-shrink: 0;
}

.qhie-what-icon svg {
  width: 36px;
  height: 36px;
  stroke-width: 2;
}

/* QHIE Benefits Section */
.qhie-benefits-section {
  margin-bottom: 100px;
}

.qhie-section-title {
  font-size: 36px;
  font-weight: 700;
  color: #1d3666;
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  padding-bottom: 20px;
}

.qhie-section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 5px;
  background: linear-gradient(90deg, #1d3666 0%, #ffd0d8 100%);
  border-radius: 3px;
}

.qhie-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.qhie-benefit-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 14px;
  border: 2px solid #e8eef5;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.qhie-benefit-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1d3666 0%, #2d4e8c 100%);
}

.qhie-benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(29, 54, 102, 0.15);
  border-color: #1d3666;
}

.benefit-number {
  color: #1d3666;
  font-weight: 700;
  margin-bottom: 8px;
}

.benefit-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(29, 54, 102, 0.1) 0%, rgba(45, 78, 140, 0.05) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1d3666;
  margin-bottom: 16px;
  transition: all 0.3s ease;
}

.qhie-benefit-card:hover .benefit-icon {
  background: linear-gradient(135deg, rgba(29, 54, 102, 0.15) 0%, rgba(45, 78, 140, 0.1) 100%);
  transform: scale(1.1);
}

.benefit-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 2;
}

.qhie-benefit-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: #1d3666;
  margin: 0 0 12px 0;
}

.qhie-benefit-card p {
  font-size: 14px;
  color: #5a6b7f;
  line-height: 1.8;
  margin: 0;
}

/* QHIE Capabilities Section */
.qhie-capabilities-section {
  background: #ffffff;
  padding: 70px 50px;
  border-radius: 20px;
  border: 2px solid #e8eef5;
  margin-bottom: 100px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.qhie-section-subtitle {
  font-size: 16px;
  color: #5a6b7f;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
}

.qhie-capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.capability-card {
  background: linear-gradient(135deg, #f8f9fd 0%, #ffffff 100%);
  padding: 36px 28px;
  border-radius: 12px;
  border: 2px solid #e8eef5;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow:hidden;
}

.capability-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #1d3666 0%, #ffd0d8 100%);
  border-radius: 12px 12px 0 0;
}

.capability-card:hover {
  transform: translateY(-8px);
  border-color: #1d3666;
  box-shadow: 0 15px 40px rgba(29, 54, 102, 0.12);
}

.capability-badge {
  display: inline-block;
  background: linear-gradient(135deg, #1d3666 0%, #2d4e8c 100%);
  color: #ffffff;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.capability-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #1d3666;
  margin: 0 0 8px 0;
}

.capability-card p {
  font-size: 13px;
  color: #5a6b7f;
  line-height: 1.6;
  margin: 0;
}

/* QHIE Core Components */
.qhie-components-section {
  margin-bottom: 80px;
}

.qhie-components-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.component-card {
  background: #ffffff;
  padding: 50px 36px;
  border-radius: 14px;
  border: 2px solid #e8eef5;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.component-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, #1d3666 0%, #ffd0d8 100%);
}

.component-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 25px 50px rgba(29, 54, 102, 0.15);
  border-color: #1d3666;
}

.component-number {
  display: inline-flex;
  background: linear-gradient(135deg, #ffcfd4 0%, #ffe0e5 100%);
  color: #1d3666;
  /* Changed number color from red to brand blue */
  width: 70px;
  height: 70px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 24px;
}

.component-main .component-number {
  background: rgba(255, 255, 255, 0.2);
  color: #ffcfd4;
}

.component-card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1d3666;
  margin: 0 0 12px 0;
}

.component-main h4 {
  color: #ffffff;
}

.component-card p {
  font-size: 14px;
  color: #5a6b7f;
  line-height: 1.8;
  margin: 0;
}

.component-main p {
  color: rgba(255, 255, 255, 0.85);
}

/* QHIE CTA */
/* Final CTA Section */
.qhie-final-cta {
  text-align: center;
  padding: 80px 50px;
  background: linear-gradient(135deg, #1d3666 0%, #2d4e8c 100%);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(29, 54, 102, 0.2);
  position: relative;
  overflow: hidden;
}

.qhie-final-cta::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 207, 212, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.qhie-final-cta::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 207, 212, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.qhie-final-cta h3 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 16px 0;
  position: relative;
  z-index: 2;
}

.qhie-final-cta p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 auto 40px;
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.qhie-cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.qhie-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
}

.qhie-btn-primary {
  background: linear-gradient(135deg, #ffcfd4 0%, #ffe0e5 100%);
  color: #1d3666;
  /* Changed button text color from red to brand blue */
}

.qhie-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255, 207, 212, 0.3);
  background: #ffbcc7;
  color: #1d3666;
  /* Changed hover text color to brand blue */
}

.qhie-btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.qhie-btn-secondary:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffd0d8;
  color: #ffd0d8;
}

/* Responsive Adjustments for QHIE Hub */
/* Responsive Design */
@media (max-width: 1024px) {
  .qhie-what-section {
    grid-template-columns: 1fr;
  }

  .qhie-components-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .qhie-hub {
    padding: 80px 0;
  }

  .qhie-header-card {
    padding: 50px 30px;
    margin-bottom: 60px;
    border-radius: 16px;
  }

  .qhie-header-card h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .qhie-header-card p {
    font-size: 15px;
  }

  .qhie-what-section {
    gap: 24px;
    margin-bottom: 80px;
  }

  .qhie-what-card {
    padding: 40px;
  }

  .qhie-what-header {
    flex-direction: column;
  }

  .qhie-what-icon {
    align-self: flex-start;
  }

  .qhie-section-title {
    font-size: 28px;
    margin-bottom: 40px;
  }

  .qhie-benefits-grid {
    gap: 24px;
  }

  .qhie-benefit-card {
    padding: 32px;
  }

  .qhie-capabilities-section {
    padding: 50px 30px;
    margin-bottom: 80px;
  }

  .qhie-capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .capability-card {
    padding: 28px 20px;
  }

  .qhie-components-grid {
    gap: 20px;
  }

  .component-card {
    padding: 40px 28px;
  }

  .qhie-final-cta {
    padding: 60px 30px;
  }

  .qhie-final-cta h3 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .qhie-final-cta p {
    font-size: 15px;
    margin-bottom: 32px;
  }

  .qhie-cta-buttons {
    gap: 16px;
  }

  .qhie-btn {
    padding: 14px 32px;
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .qhie-hub {
    padding: 60px 0;
  }

  .qhie-header-card {
    padding: 40px 20px;
    margin-bottom: 40px;
    border-radius: 12px;
  }

  .qhie-header-card h2 {
    font-size: 24px;
  }

  .qhie-header-card p {
    font-size: 14px;
  }

  .qhie-badge {
    font-size: 10px;
    padding: 8px 16px;
  }

  .qhie-what-section {
    gap: 16px;
    margin-bottom: 60px;
  }

  .qhie-what-card {
    padding: 30px;
    border-radius: 12px;
  }

  .qhie-what-header h3 {
    font-size: 20px;
  }

  .qhie-what-icon {
    width: 60px;
    height: 60px;
  }

  .qhie-what-icon svg {
    width: 30px;
    height: 30px;
  }

  .qhie-section-title {
    font-size: 24px;
    margin-bottom: 32px;
  }

  .qhie-benefits-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .qhie-benefit-card {
    padding: 24px;
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
  }

  .benefit-icon svg {
    width: 24px;
    height: 24px;
  }

  .qhie-benefit-card h4 {
    font-size: 16px;
  }

  .qhie-benefit-card p {
    font-size: 13px;
  }

  .qhie-capabilities-section {
    padding: 24px;
    margin-bottom: 40px;
    border-radius: 12px;
  }

  .qhie-capabilities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .capability-card {
    padding: 20px 16px;
  }

  .capability-badge {
    font-size: 10px;
    padding: 5px 12px;
  }

  .capability-card h4 {
    font-size: 15px;
  }

  .capability-card p {
    font-size: 12px;
  }

  .qhie-components-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .component-card {
    padding: 36px 24px;
  }

  .component-number {
    width: 60px;
    height: 60px;
    font-size: 28px;
  }

  .component-card h4 {
    font-size: 18px;
  }

  .component-card p {
    font-size: 13px;
  }

  .qhie-final-cta {
    padding: 40px 20px;
  }

  .qhie-final-cta h3 {
    font-size: 22px;
    margin-bottom: 12px;
  }

  .qhie-final-cta p {
    font-size: 14px;
    margin-bottom: 24px;
  }

  .qhie-cta-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .qhie-btn {
    padding: 12px 28px;
    font-size: 12px;
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }
}