/* Root variables define brand colours and fonts */
:root {
  --primary-dark: #3A2A6C; /* deep purple brand colour */
  --primary-light: #5f4ea2; /* lighter purple for accents */
  --accent: #5e52a3; /* accent colour for secondary buttons */
  --text-light: #f5f5f7; /* near white for high contrast on dark backgrounds */
  --muted: #6c6c7a; /* muted text colour */
  font-family: 'Poppins', sans-serif;
}

body {
  color: #333;
  background-color: #fff;
  font-family: var(--font-family);
}

/* Ensure navbar uses our brand colour */
header .navbar {
  background-color: #fff !important;
}

.nav-link {
  color: #3a2a6c !important;
}

/* Hero Section Styles */
.hero-section {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.hero-section .hero-bg {
  background-size: cover;
  background-position: center;
  filter: blur(1px);
  transform: scale(1.1);
}
.hero-section .overlay {
  background: rgba(58, 42, 108, 0.6);
}
#questionForm textarea {
  flex: 1;
  min-height: 48px;
}

/* Advisors cards */
.advisor-card {
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}
.advisor-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.advisor-card img {
  object-fit: cover;
  height: 260px;
}

/* Psychic of the Day card */
#psychic-of-day .card {
  border: none;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
#psychic-of-day .card img {
  object-fit: cover;
  height: 340px;
}

/* How it works icons */
.icon-circle {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--text-light);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* Dream section overlay */
.dream-section .overlay {
  background: rgba(58, 42, 108, 0.7);
}

/* Testimonials */
.testimonial {
  max-width: 620px;
  margin: 0 auto;
}
.avatar {
  width: 50px;
  height: 50px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  font-size: 1.25rem;
}

/* Footer styles */
footer a.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}
footer a.footer-link:hover {
  color: #fff;
}
footer .scroll-top i {
  font-size: 1.25rem;
  color: var(--text-light);
  transition: color 0.2s ease;
}
footer .scroll-top:hover i {
  color: #fff;
}

/* Buttons override using brand colour */
/* Override Bootstrap button colours to match brand */
.btn-primary {
  background-color: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: #fff !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-light) !important;
  border-color: var(--primary-light) !important;
  color: #fff !important;
}
.btn-outline-primary {
  border-color: var(--primary-dark) !important;
  color: var(--primary-dark) !important;
}
.btn-outline-primary:hover {
  background-color: var(--primary-dark) !important;
  color: #fff !important;
}

/* Disable text selection on icons (optional) */
i.fa-solid,
i.fa-brands,
i.fas,
i.far {
  user-select: none;
}

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .hero-section {
    text-align: center;
    padding: 3rem 0;
  }
  .advisor-card img {
    height: 220px;
  }
  #psychic-of-day .card img {
    height: 280px;
  }
}