/* Investments Page Styles */
.investments-banner {
  background: linear-gradient(135deg, #0a2463 0%, #3e92cc 100%);
  position: relative;
  overflow: hidden;
}

.investments-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../images/patterns/dots-pattern.svg");
  background-size: 200px;
  opacity: 0.1;
  z-index: 0;
}

/* Approach Section */
.approach-text p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.approach-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.approach-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  font-size: 20px;
  flex-shrink: 0;
  margin-right: 20px;
}

.approach-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #333;
}

.approach-content p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.approach-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.approach-stats-card {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  width: 80%;
  backdrop-filter: blur(5px);
}

.stats-item {
  text-align: center;
  padding: 0 15px;
  flex: 1;
}

.stats-item h4 {
  font-size: 24px;
  font-weight: 800;
  color: var(--bs-primary);
  margin-bottom: 5px;
}

.stats-item p {
  font-size: 14px;
  color: #555;
  margin-bottom: 0;
}

/* Plan Cards */
.plan-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.plan-card.popular {
  border: 2px solid var(--bs-primary);
}

.popular-badge {
  position: absolute;
  top: 15px;
  right: -35px;
  background: var(--bs-primary);
  color: white;
  padding: 5px 40px;
  font-size: 14px;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 1;
}

.plan-header {
  background-color: #f8f9fa;
  padding: 25px 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.plan-name {
  font-size: 22px;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.plan-price {
  margin-bottom: 10px;
}

.plan-price .percentage {
  font-size: 32px;
  font-weight: 800;
  color: var(--bs-primary);
  display: block;
  margin-bottom: 5px;
}

.plan-price .period {
  font-size: 14px;
  color: #666;
}

.plan-body {
  padding: 25px 20px;
}

.plan-minimum {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.plan-minimum span {
  font-size: 14px;
  color: #666;
}

.plan-minimum strong {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

.plan-features {
  margin-bottom: 20px;
}

.plan-feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
}

.plan-feature-item i {
  color: var(--bs-primary);
  margin-right: 10px;
  font-size: 16px;
  margin-top: 2px;
}

.plan-feature-item span {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.plan-risk {
  margin-bottom: 20px;
}

.plan-risk span {
  font-size: 14px;
  color: #666;
  display: block;
  margin-bottom: 8px;
}

.risk-meter {
  height: 8px;
  background-color: #eee;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.risk-level {
  height: 100%;
  background: linear-gradient(to right, #4caf50, #ffc107, #f44336);
  border-radius: 4px;
}

.risk-label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  text-align: right;
}

.plan-disclaimer {
  font-size: 14px;
  color: #666;
  max-width: 800px;
  margin: 0 auto;
}

/* Process Timeline */
.process-timeline {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 2px;
  background-color: rgba(var(--bs-primary-rgb), 0.2);
}

.process-item {
  position: relative;
  padding-left: 70px;
  margin-bottom: 40px;
}

.process-item:last-child {
  margin-bottom: 0;
}

.process-icon {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--bs-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  z-index: 1;
}

.process-number {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: white;
  color: var(--bs-primary);
  font-size: 12px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bs-primary);
}

.process-content {
  background-color: white;
  border-radius: 10px;
  padding: 20px 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.process-content h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #333;
}

.process-content p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Asset Allocation */
.allocation-chart-container {
  background-color: white;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
}

.allocation-categories {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.allocation-category {
  display: flex;
  align-items: flex-start;
  background-color: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.category-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  margin-right: 15px;
  margin-top: 5px;
  flex-shrink: 0;
}

.category-info h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}

.category-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  line-height: 1.5;
}

.category-examples {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.category-examples span {
  background-color: #f5f5f5;
  color: #555;
  font-size: 12px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Fee Cards */
.fee-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
  padding: 30px;
  height: 100%;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.fee-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.fee-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  font-size: 28px;
}

.fee-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #333;
}

.fee-amount {
  font-size: 36px;
  font-weight: 800;
  color: var(--bs-primary);
  margin-bottom: 15px;
}

.fee-card p {
  color: #666;
  margin-bottom: 0;
  line-height: 1.6;
}

.fee-note {
  font-size: 14px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Investment Accordion */
.investment-accordion {
  --bs-accordion-border-width: 0;
  --bs-accordion-border-radius: 8px;
  --bs-accordion-inner-border-radius: 8px;
  --bs-accordion-btn-padding-x: 1.5rem;
  --bs-accordion-btn-padding-y: 1.25rem;
  --bs-accordion-active-color: var(--bs-primary);
  --bs-accordion-active-bg: rgba(var(--bs-primary-rgb), 0.05);
}

.investment-accordion .accordion-item {
  border: none;
  background-color: transparent;
  margin-bottom: 15px;
}

.investment-accordion .accordion-button {
  background-color: #fff;
  border-radius: 8px !important;
  font-weight: 600;
  color: #333;
  padding: 20px 25px;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid #eaeaea;
}

.investment-accordion .accordion-button:not(.collapsed) {
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  border-color: #e0e0e0;
}

.investment-accordion .accordion-body {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-top: none;
  padding: 25px;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .approach-stats-card {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    width: 100%;
    margin-top: -50px;
    z-index: 1;
  }

  .process-timeline::before {
    left: 20px;
  }

  .process-item {
    padding-left: 60px;
  }

  .process-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .process-number {
    width: 20px;
    height: 20px;
    font-size: 10px;
    top: -5px;
    right: -5px;
  }
}

@media (max-width: 767.98px) {
  .stats-item h4 {
    font-size: 20px;
  }

  .stats-item p {
    font-size: 12px;
  }

  .plan-header {
    padding: 20px 15px;
  }

  .plan-body {
    padding: 20px 15px;
  }

  .plan-name {
    font-size: 20px;
  }

  .plan-price .percentage {
    font-size: 28px;
  }

  .allocation-chart-container {
    margin-bottom: 30px;
  }
}
