/* 
 * Advisory Pages Styles
 * Enhanced styling for blog-style advisory pages
 */

/* Step Icons - Proper Circular Shape */
.advisory-step-icon {
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  background: linear-gradient(135deg, #3b79a3 0%, #2d6389 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(59, 121, 163, 0.3);
  transition: all 0.3s ease;
}

.advisory-step-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(59, 121, 163, 0.4);
}

/* Image Container with Hover Effect */
.advisory-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.advisory-image-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.advisory-image-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.advisory-image-container:hover img {
  transform: scale(1.05);
}

/* Interactive Cards */
.advisory-interactive-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.advisory-interactive-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #3b79a3;
}

/* Highlight Box */
.advisory-highlight-box {
  background: linear-gradient(135deg, #f8f9fa 0%, #e8ecef 100%);
  border-left: 4px solid #3b79a3;
  padding: 24px 32px;
  border-radius: 8px;
  margin: 32px 0;
  position: relative;
}

.advisory-highlight-box::before {
  content: "💡";
  position: absolute;
  top: 24px;
  left: -30px;
  font-size: 24px;
  background: white;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Icon Grid */
.advisory-icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  margin: 40px 0;
}

.advisory-icon-item {
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px;
  transition: all 0.3s ease;
  border: 2px solid #f1f5f9;
}

.advisory-icon-item:hover {
  transform: translateY(-4px);
  border-color: #3b79a3;
  box-shadow: 0 4px 12px rgba(59, 121, 163, 0.15);
}

.advisory-icon-item img {
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
}

.advisory-icon-item span {
  display: block;
  font-size: 14px;
  color: #64748b;
  font-weight: 500;
}

/* Quote Box */
.advisory-quote {
  background: #1d3e59;
  color: white;
  padding: 40px 48px;
  border-radius: 12px;
  margin: 48px 0;
  position: relative;
  font-size: 1.25rem;
  line-height: 1.8;
  font-style: italic;
}

.advisory-quote::before {
  content: """;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.2);
  font-family: Georgia, serif;
  line-height: 1;
}

/* Stats Grid Enhanced */
.advisory-stats-enhanced {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin: 48px 0;
}

.advisory-stat-card {
  text-align: center;
  padding: 32px 24px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.advisory-stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b79a3, #2d6389);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.advisory-stat-card:hover::before {
  transform: scaleX(1);
}

.advisory-stat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.advisory-stat-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #3b79a3;
  margin-bottom: 12px;
  line-height: 1;
}

.advisory-stat-label {
  font-size: 1.125rem;
  color: #64748b;
  font-weight: 500;
}

/* Checklist Style */
.advisory-checklist {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}

.advisory-checklist li {
  padding: 16px 0 16px 48px;
  position: relative;
  font-size: 1.125rem;
  line-height: 1.6;
  border-bottom: 1px solid #e2e8f0;
}

.advisory-checklist li:last-child {
  border-bottom: none;
}

.advisory-checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 16px;
  width: 32px;
  height: 32px;
  background: #3b79a3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Process Timeline */
.advisory-timeline {
  position: relative;
  padding-left: 40px;
  margin: 48px 0;
}

.advisory-timeline::before {
  content: "";
  position: absolute;
  left: 40px;
  top: 40px;
  bottom: 40px;
  width: 2px;
  background: linear-gradient(to bottom, #3b79a3, #e2e8f0);
}

.advisory-timeline-item {
  position: relative;
  margin-bottom: 48px;
  padding-left: 60px;
}

.advisory-timeline-item::before {
  content: "";
  position: absolute;
  left: -8px;
  top: 8px;
  width: 16px;
  height: 16px;
  background: #3b79a3;
  border-radius: 50%;
  box-shadow: 0 0 0 4px white, 0 0 0 6px #3b79a3;
}

/* Tabs for Interactive Content */
.advisory-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 32px;
  border-bottom: 2px solid #e2e8f0;
  overflow-x: auto;
}

.advisory-tab {
  padding: 12px 24px;
  background: transparent;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.advisory-tab:hover {
  color: #3b79a3;
}

.advisory-tab.active {
  color: #3b79a3;
  border-bottom-color: #3b79a3;
}

.advisory-tab-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

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

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .advisory-step-icon {
    width: 60px;
    height: 60px;
    min-width: 60px;
    min-height: 60px;
    font-size: 1.5rem;
  }

  .advisory-stat-number {
    font-size: 2.5rem;
  }

  .advisory-quote {
    padding: 32px 24px;
    font-size: 1.125rem;
  }

  .advisory-highlight-box::before {
    display: none;
  }
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
}

/* Back to Top Button */
.advisory-back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  background: #3b79a3;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.advisory-back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.advisory-back-to-top:hover {
  background: #2d6389;
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}




