/* Wealth Hero Section */
.wealth-hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/wealth-management-preview.jpg") no-repeat
    center center/cover;
  z-index: -1;
  background-attachment: fixed;
}

.wealth-hero {
  position: relative;
  padding: 8rem 0;
  color: #fff;
  overflow: hidden;
}

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

.wealth-hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.wealth-hero .highlight {
  color: #ffd700;
  position: relative;
}

.wealth-hero .highlight::after {
  content: "";
  position: absolute;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 10px;
  background-color: rgba(255, 215, 0, 0.2);
  z-index: -1;
  border-radius: 50px;
}

.wealth-hero .hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  max-width: 600px;
  opacity: 0.9;
}

.wealth-hero .hero-cta {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

/* Wealth Features */
.wealth-features {
  padding: 5rem 0;
  background-color: #fff;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: #0056b3;
}

.feature-icon {
  width: 60px;
  height: 60px;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #0056b3;
  font-size: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

/* Wealth Services */
.wealth-services {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.services-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 1rem;
}

.tab-btn {
  padding: 0.75rem 1.5rem;
  background: none;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.tab-btn.active {
  background-color: #0056b3;
  color: white;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.service-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
}

.service-card.featured {
  border: 2px solid #0056b3;
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: 20px;
  background-color: #0056b3;
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
}

.service-icon {
  width: 60px;
  height: 60px;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  color: #0056b3;
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #212529;
}

.service-features {
  margin: 1.5rem 0;
}

.service-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.service-features li::before {
  content: "•";
  color: #0056b3;
  font-weight: bold;
  position: absolute;
  left: 0;
}

/* Wealth Process */
.wealth-process {
  padding: 5rem 0;
  background-color: #fff;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.process-step {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.process-step::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -1rem;
  width: 2rem;
  height: 2rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230056b3'%3E%3Cpath d='M8.59 16.59L13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z'/%3E%3C/svg%3E")
    no-repeat center center;
  opacity: 0.5;
  transform: translateY(-50%);
}

.process-step:last-child::after {
  display: none;
}

.step-number {
  width: 50px;
  height: 50px;
  background-color: #0056b3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #212529;
}

/* Wealth Advisors */
.wealth-advisors {
  padding: 5rem 0;
  background-color: #f8f9fa;
}

.advisors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.advisor-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

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

.advisor-image {
  height: 250px;
  overflow: hidden;
}

.advisor-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.advisor-card:hover .advisor-image img {
  transform: scale(1.05);
}

.advisor-info {
  padding: 1.5rem;
}

.advisor-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #212529;
}

.advisor-title {
  color: #6c757d;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.advisor-bio {
  margin-bottom: 1.5rem;
  color: #495057;
}

.advisor-contact p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #495057;
  margin-bottom: 0.5rem;
}

.advisor-contact i {
  color: #0056b3;
}

/* Wealth Testimonials */
.wealth-testimonials {
  padding: 5rem 0;
  background-color: #fff;
}

.testimonial-slider {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonial {
  display: none;
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.testimonial.active {
  display: block;
}

.rating {
  color: #ffc107;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: #495057;
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-text::before,
.testimonial-text::after {
  content: '"';
  font-size: 3rem;
  color: #e9ecef;
  position: absolute;
  line-height: 1;
}

.testimonial-text::before {
  top: -1rem;
  left: -1.5rem;
}

.testimonial-text::after {
  bottom: -2rem;
  right: -1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 60px;
  height: 60px;
  background-color: #e6f0ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  color: #0056b3;
  font-weight: 600;
  font-size: 1.25rem;
}

.author-info h4 {
  margin-bottom: 0.25rem;
  color: #212529;
}

.author-info p {
  color: #6c757d;
  font-size: 0.9rem;
}

.slider-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  gap: 1rem;
}

.slider-prev,
.slider-next {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: #6c757d;
  cursor: pointer;
  padding: 0.5rem;
  transition: color 0.3s ease;
}

.slider-prev:hover,
.slider-next:hover {
  color: #0056b3;
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #e9ecef;
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: #0056b3;
  transform: scale(1.2);
}

/* Wealth Contact */
.wealth-contact {
  padding: 5rem 0;
  background-color: #0056b3;
  color: white;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.contact-info p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.contact-details {
  margin-top: 2rem;
}

.contact-details p {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.contact-details i {
  width: 20px;
  text-align: center;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #212529;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0056b3;
}

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

.btn-block {
  display: block;
  width: 100%;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .process-step::after {
    display: none;
  }
}

@media (max-width: 992px) {
  .wealth-hero h1 {
    font-size: 3rem;
  }

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

  .contact-info {
    text-align: center;
  }

  .contact-details {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .wealth-hero h1 {
    font-size: 2.5rem;
  }

  .wealth-hero .hero-cta {
    flex-direction: column;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step {
    text-align: left;
    padding: 1.5rem;
  }

  .step-number {
    margin: 0 0 1rem 0;
  }
}

@media (max-width: 576px) {
  .wealth-hero h1 {
    font-size: 2rem;
  }

  .wealth-hero .hero-subtitle {
    font-size: 1.25rem;
  }

  .services-tabs {
    flex-wrap: wrap;
  }

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