/* Nammapandit Astrology Consultation Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Marcellus&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  --bg-warm: #FDFBF7;
  --bg-card: #FFFFFF;
  --bg-form: #FFFDF9;
  --text-dark: #2C1810;
  --text-muted: #6C5E58;
  --primary-orange: #E85D04;
  --primary-orange-hover: #D00000;
  --border-color: #EFE8DF;
  --pill-bg: #F4EFEB;
  --gold-star: #F39C12;
  --shadow-soft: 0 10px 30px rgba(44, 24, 16, 0.05);
  --shadow-hover: 0 15px 35px rgba(232, 93, 4, 0.12);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

body {
  background-color: var(--bg-warm);
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
.font-serif {
  font-family: 'Marcellus', serif;
}

/* Header Component */
.header-hero {
  background: #FFFDF9;
  border: 1px solid #F5ECE0;
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 24px;
  box-shadow: 0 6px 24px rgba(44, 24, 16, 0.04);
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: #351B10;
  letter-spacing: -0.5px;
  margin-bottom: 0;
}

@media (max-width: 576px) {
  .hero-title {
    font-size: 1.75rem;
  }
}

.hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  max-width: 400px;
}

@media (min-width: 992px) {
  .hero-divider {
    justify-content: flex-start;
  }
}

.divider-line {
  height: 1px;
  width: 70px;
  background: linear-gradient(90deg, rgba(232, 93, 4, 0.2), #E85D04, rgba(232, 93, 4, 0.2));
}

.divider-icon {
  color: #E85D04;
  font-size: 0.9rem;
}

.hero-subtitle {
  font-size: 0.98rem;
  color: #665750;
  line-height: 1.5;
}

.banner-img-wrapper {
  display: inline-block;
  max-width: 320px;
  width: 100%;
}

.banner-img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(44, 24, 16, 0.06));
}

/* Language Filter Pills */
.filter-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  overflow-x: auto;
  padding: 4px 2px 8px 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.filter-wrapper::-webkit-scrollbar {
  display: none;
}

.btn-filter-pill {
  background-color: #FFFFFF;
  border: 1.5px solid #EAE0D5;
  color: #3A2B25;
  border-radius: 24px;
  padding: 8px 20px;
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-filter-pill:hover {
  background-color: #FAF4EE;
  border-color: #E2D6C7;
  color: var(--text-dark);
}

.btn-filter-pill.active {
  background-color: #E85D04;
  color: #FFFFFF;
  border-color: #E85D04;
  font-weight: 600;
  box-shadow: 0 4px 14px rgba(232, 93, 4, 0.3);
}

.btn-filter-pill .lang-icon {
  font-weight: 700;
  font-size: 0.95rem;
}

/* Astrologer Cards List Grid */
.astrologers-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 25px;
}

.astrologer-card-wrapper {
  width: 100%;
}

.astrologer-card {
  background: #FFFFFF;
  border: 1px solid #F2E8DF;
  border-radius: 20px;
  padding: 18px 20px;
  box-shadow: 0 6px 20px rgba(44, 24, 16, 0.04);
  transition: all 0.25s ease-in-out;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
  position: relative;
}

.astrologer-card:hover {
  border-color: #F3DEC9;
  box-shadow: 0 10px 28px rgba(232, 93, 4, 0.1);
  transform: translateY(-2px);
}

/* Left Photo Frame */
.astrologer-avatar-frame {
  width: 115px;
  height: 125px;
  min-width: 115px;
  border-radius: 16px;
  overflow: hidden;
  background: #F9F2EB;
  border: 1px solid #EFE4D8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.astrologer-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  border-radius: 15px;
}

.avatar-placeholder {
  font-size: 2.5rem;
  color: var(--primary-orange);
  font-weight: bold;
}

/* Right Content Area */
.astrologer-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 125px;
}

.astrologer-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.astrologer-info-main {
  flex: 1;
  min-width: 0;
}

.astrologer-name {
  font-family: 'Marcellus', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #2C1810;
  margin-bottom: 2px;
  line-height: 1.25;
}

.astrologer-exp {
  color: #E85D04;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 3px;
}

.astrologer-languages {
  font-size: 0.82rem;
  color: #75665E;
  margin-bottom: 5px;
  font-weight: 400;
}

.astrologer-rating {
  font-size: 0.85rem;
  color: #2C1810;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.star-icon {
  color: #F39C12;
  font-size: 0.9rem;
}

.rating-score {
  font-weight: 700;
  color: #2C1810;
}

.rating-count {
  color: #75665E;
  font-weight: 400;
}

/* Book Now Button */
.astrologer-action {
  flex-shrink: 0;
}

.btn-book-card {
  background-color: #E85D04;
  color: #FFFFFF;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  padding: 9px 20px;
  font-size: 0.88rem;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.22);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-book-card:hover {
  background-color: #D00000;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(208, 0, 0, 0.35);
  transform: translateY(-1px);
}

/* Specialization Pills */
.spec-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.spec-badge {
  background-color: #F6F0E9;
  color: #4A3A34;
  font-size: 0.76rem;
  padding: 3px 10px;
  border-radius: 14px;
  font-weight: 500;
  border: 1px solid #ECE2D7;
}

/* Mobile Responsiveness Fine-Tuning */
@media (max-width: 576px) {
  .astrologer-card {
    padding: 12px 14px;
    gap: 12px;
    border-radius: 16px;
  }

  .astrologer-avatar-frame {
    width: 95px;
    height: 105px;
    min-width: 95px;
    border-radius: 12px;
  }

  .astrologer-name {
    font-size: 1.1rem;
  }

  .astrologer-exp {
    font-size: 0.8rem;
  }

  .astrologer-languages {
    font-size: 0.78rem;
  }

  .astrologer-rating {
    font-size: 0.78rem;
  }

  .btn-book-card {
    padding: 7px 14px;
    font-size: 0.82rem;
    border-radius: 8px;
  }

  .spec-badge {
    font-size: 0.72rem;
    padding: 2px 8px;
  }
}

@media (max-width: 420px) {
  .astrologer-card {
    padding: 10px 12px;
    gap: 10px;
  }

  .astrologer-avatar-frame {
    width: 85px;
    height: 95px;
    min-width: 85px;
  }

  .astrologer-name {
    font-size: 1.02rem;
  }

  .btn-book-card {
    padding: 6px 10px;
    font-size: 0.78rem;
  }
}

/* Booking Form Sidebar Card */
.booking-form-card {
  background: var(--bg-form);
  border: 1px solid #F3DEC9;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: 0 10px 30px rgba(232, 93, 4, 0.08);
  position: sticky;
  top: 20px;
}

.booking-form-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.booking-form-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-label-custom {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 5px;
}

.form-control-custom,
.form-select-custom {
  border: 1px solid #E5D9CC;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.92rem;
  background-color: #FFFFFF;
  transition: border-color 0.2s;
}

.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
  outline: none;
}

/* 3 Plan Cards Side-by-Side in 1 Row (Matches Reference Icons & Tick Badge) */
.plan-radio-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.plan-radio-card {
  position: relative;
  height: 100%;
}

.plan-radio-card input[type="radio"] {
  display: none;
}

.plan-card-label {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: 8px 6px;
  background: #FFFFFF;
  border: 1.5px solid #E5D9CC;
  border-radius: 10px;
  cursor: pointer;
  position: relative;
  transition: all 0.2s ease-in-out;
}

.plan-card-label:hover {
  border-color: #E85D04;
  background-color: #FFFDF9;
}

.plan-radio-card input[type="radio"]:checked+.plan-card-label {
  border: 2px solid #E85D04;
  background-color: #FFF8F3;
  box-shadow: 0 4px 12px rgba(232, 93, 4, 0.15);
}

.plan-card-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 4px;
}

.plan-icon-circle-sm {
  width: 22px;
  height: 22px;
  min-width: 22px;
  border-radius: 50%;
  background-color: #FFF0E6;
  color: #E85D04;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

.plan-card-divider-sm {
  width: 1px;
  height: 16px;
  background-color: #F0E6DC;
  flex-shrink: 0;
}

.plan-card-title-sm {
  font-size: 0.76rem;
  font-weight: 700;
  color: #1A1A1A;
  line-height: 1.1;
  text-align: left;
}

.plan-card-price-sm {
  font-size: 0.92rem;
  font-weight: 800;
  color: #E85D04;
  text-align: center;
  margin-bottom: 2px;
}

.plan-card-duration-sm {
  font-size: 0.68rem;
  color: #555555;
  text-align: center;
}

.card-tick-badge {
  position: absolute;
  top: -7px;
  right: -5px;
  font-size: 0.9rem;
  color: #E85D04;
  background: #FFFFFF;
  border-radius: 50%;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
  z-index: 2;
}

.plan-radio-card input[type="radio"]:checked+.plan-card-label .card-tick-badge {
  opacity: 1;
  transform: scale(1);
}

/* Consultation Mode Radio */
.mode-option-group {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.mode-radio-btn {
  flex: 1;
  min-width: 90px;
  text-align: center;
}

.mode-radio-btn input {
  display: none;
}

.mode-radio-btn label {
  display: block;
  padding: 6px 6px;
  border: 1px solid #E5D9CC;
  border-radius: 8px;
  background: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mode-radio-btn input:checked+label {
  border-color: var(--primary-orange);
  background-color: #FFF3EB;
  color: var(--primary-orange);
  font-weight: 600;
}

.btn-submit-enquiry {
  background-color: var(--primary-orange);
  color: #FFFFFF;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px;
  width: 100%;
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-submit-enquiry:hover {
  background-color: var(--primary-orange-hover);
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(232, 93, 4, 0.3);
}

.form-trust-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

/* Plans Section */
.plans-section {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color);
}

.plans-title {
  font-size: 2.2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 10px;
}

.plans-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 35px;
}

.plan-card {
  background: #FFFFFF;
  border: 2px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 26px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.plan-card.plan-standard {
  border-top: 5px solid #28a745;
}

.plan-card.plan-senior {
  border-top: 5px solid #fd7e14;
}

.plan-card.plan-expert {
  border-top: 5px solid #dc3545;
}

.plan-badge-icon {
  font-size: 1.2rem;
  margin-right: 6px;
}

.plan-header {
  margin-bottom: 18px;
}

.plan-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.plan-price {
  font-size: 2rem;
  font-weight: 800;
  color: var(--text-dark);
}

.plan-duration {
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 500;
}

.plan-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex-grow: 1;
}

.plan-features-list li {
  font-size: 0.9rem;
  color: #4A3A34;
  padding: 6px 0;
  border-bottom: 1px dashed #F0E8E0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.plan-features-list li::before {
  content: "✓";
  color: var(--primary-orange);
  font-weight: bold;
}

/* Trust Badges Bar */
.trust-bar {
  margin-top: 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.trust-icon {
  width: 50px;
  height: 36px;
  background: #FFF3EB;
  color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
}

.trust-title {
  font-weight: 700;
  font-size: 11px;
  margin: 0;
}

.trust-desc {
  font-size: 10px;
  color: var(--text-muted);
  margin: 0;
}

/* Admin Dashboard Specifics */
.admin-sidebar {
  background: #2C1810;
  min-height: 100vh;
  color: #FFFFFF;
}

.admin-sidebar .nav-link {
  color: #D3C5BD;
  padding: 12px 20px;
  border-radius: 8px;
  margin-bottom: 4px;
  font-weight: 500;
}

.admin-sidebar .nav-link:hover,
.admin-sidebar .nav-link.active {
  background: rgba(232, 93, 4, 0.2);
  color: var(--primary-orange);
}

.stat-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  border: 1px solid #EFE8DF;
}

/* Consultation Types Container (Exact Match to Reference Image) */
.consultation-types-container {
  background: #FFFDF9;
  border: 1px solid #F5ECE0;
  box-shadow: 0 12px 36px rgba(44, 24, 16, 0.05);
}

.types-main-title {
  font-size: 2.2rem;
  color: #2C1810;
}

.text-orange-gradient {
  color: #C85A17;
}

.types-header-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.types-line {
  height: 1px;
  width: 50px;
  background: linear-gradient(90deg, transparent, #E85D04, transparent);
}

.types-icon {
  color: #E85D04;
  font-size: 0.8rem;
}

.types-subtitle {
  font-size: 0.95rem;
  color: #7A6B63;
}

/* 4-Column Responsive Grid */
.consultation-types-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

@media (max-width: 1200px) {
  .consultation-types-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .consultation-types-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .consultation-types-grid {
    grid-template-columns: 1fr;
  }
}

/* Individual Card Styling */
.consultation-type-card {
  background: #FFFFFF;
  border: 1px solid #F0E6DC;
  border-radius: 14px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s ease-in-out;
  cursor: pointer;
  text-decoration: none;
}

.consultation-type-card:hover {
  border-color: #E85D04;
  background-color: #FFF9F4;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(232, 93, 4, 0.12);
}

.type-icon-wrapper {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.type-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #2C1810;
  flex-grow: 1;
  line-height: 1.25;
  font-family: 'Marcellus', serif;
}

.type-card-arrow {
  color: #C2B3A5;
  font-size: 0.75rem;
  transition: transform 0.2s, color 0.2s;
}

.consultation-type-card:hover .type-card-arrow {
  color: #E85D04;
  transform: translateX(3px);
}

/* Bottom Lotus Ornament */
.types-bottom-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0.7;
}

.types-bottom-line {
  height: 1px;
  width: 140px;
  background: linear-gradient(90deg, transparent, #E5D9CC, transparent);
}

.types-lotus {
  font-size: 1.1rem;
  color: #E85D04;
}