/* ==========================================================================
   Bhakti Yatra Travels - Astrology Page Styling
   ========================================================================== */

.astrology-page {
  --primary-color: #d46c19;       /* Vedic Saffron Orange */
  --primary-hover: #b05210;       /* Deep Saffron */
  --secondary-color: #401314;     /* Deep Devotional Burgundy */
  --secondary-hover: #290809;     /* Darker Burgundy */
  --dark-bg: #0f071d;             /* Cosmic Night Violet */
  --light-bg: #fdfaf6;            /* Sacred Parchment Cream */
  --panel-bg: #f9f4ec;            /* Warm Panel Background */
  --text-dark: #2d2621;           /* Deep Charcoal */
  --text-muted: #665b53;          /* Warm Muted Grey */
  --white: #ffffff;
  --gold-accent: #ebd6a8;         /* Soft Gold */
  
  --font-heading: 'Marcellus', 'Georgia', serif;
  --font-body: 'Outfit', 'Arial', sans-serif;
  --font-italic: 'Playfair Display', serif;
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --box-shadow: 0 10px 30px rgba(64, 19, 20, 0.05);
  --box-shadow-hover: 0 15px 35px rgba(212, 108, 25, 0.15);
}

/* --- Section Heading Utility --- */
.astrology-page .section-title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 8px;
}

.astrology-page .section-title-wrapper.align-left {
  justify-content: flex-start;
}

.astrology-page .section-title {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--secondary-color);
  text-align: center;
  font-weight: 400;
  letter-spacing: 1.5px;
}

.astrology-page .section-title.small {
  font-size: 24px;
  text-align: left;
}

.astrology-page .ornament-line {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  flex-grow: 1;
  max-width: 80px;
  position: relative;
}

.astrology-page .ornament-line::before {
  content: '✦';
  position: absolute;
  top: -9px;
  color: var(--primary-color);
  font-size: 12px;
}

.astrology-page .ornament-line.left::before {
  right: 0;
}

.astrology-page .ornament-line.right::before {
  left: 0;
}

.astrology-page .section-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 45px;
  font-weight: 500;
}

/* --- Hero Section --- */
.astrology-page .hero-section {
  position: relative;
  background: url('images/hero_bg.png') no-repeat center center/cover;
  min-height: 378px;
  display: flex;
  align-items: center;
  padding: 60px 0 35px 0;
  color: var(--white);
  overflow: hidden;
}

.astrology-page .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(15, 7, 29, 0.95) 0%, rgba(15, 7, 29, 0.75) 45%, rgba(15, 7, 29, 0.2) 75%, rgba(15, 7, 29, 0.7) 100%),
              linear-gradient(0deg, rgba(15, 7, 29, 0.85) 0%, rgba(15, 7, 29, 0) 100%);
  z-index: 1;
}

.astrology-page .hero-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.astrology-page .hero-content {
  max-width: 600px;
  margin-bottom: 40px;
}

.astrology-page .hero-title {
  font-family: var(--font-heading);
  font-size: 56px;
  line-height: 1.15;
  margin-bottom: 8px;
  letter-spacing: 1px;
  font-weight: 400;
}

.astrology-page .hero-subtitle {
  font-size: 24px;
  color: var(--primary-color);
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.astrology-page .hero-description {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Hero Quick Features Bar (Horizontal) */
.astrology-page .hero-features-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  max-width: 580px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 25px;
}

.astrology-page .feature-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.astrology-page .feature-bar-item:hover {
  transform: translateY(-3px);
}

.astrology-page .feature-bar-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-color);
  background-color: rgba(15, 7, 29, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 8px;
  transition: var(--transition-smooth);
}

.astrology-page .feature-bar-icon svg {
  width: 20px;
  height: 20px;
}

.astrology-page .feature-bar-item:hover .feature-bar-icon {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(212, 108, 25, 0.4);
}

.astrology-page .feature-bar-item h3 {
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--white);
  letter-spacing: 0.3px;
  line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

.astrology-page .feature-bar-item p {
  font-size: 10.5px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* --- Our Astrology Services Section --- */
.astrology-page .services-section {
  padding: 85px 0;
  background-color: var(--white);
}

.astrology-page .services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.astrology-page .service-card {
  background-color: var(--white);
  border: 1px solid #f2e9dc;
  border-radius: 8px;
  padding: 30px 20px;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--box-shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.astrology-page .service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--box-shadow-hover);
  border-color: var(--primary-color);
}

.astrology-page .service-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, #fffdfb 0%, #faecd8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  transition: var(--transition-smooth);
  box-shadow: inset 0 2px 6px rgba(212, 108, 25, 0.08);
}

.astrology-page .service-card:hover .service-card-icon {
  transform: scale(1.08) rotate(5deg);
  background: radial-gradient(circle, #fffbf7 0%, #f7dfbe 100%);
  box-shadow: 0 5px 15px rgba(212, 108, 25, 0.15);
}

.astrology-page .service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 12px;
  font-family: var(--font-heading);
}

.astrology-page .service-card p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.astrology-page .service-card .learn-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 5px;
}

.astrology-page .service-card .learn-more i {
  font-size: 11px;
  transition: var(--transition-smooth);
}

.astrology-page .service-card:hover .learn-more i {
  transform: translateX(4px);
}

/* --- Why Choose Us & Process Split Section --- */
.astrology-page .info-split-section {
  position: relative;
  background-color: #fdf8f3;
  background-image: linear-gradient(180deg, #fdfaf6 0%, #f9f2e8 100%);
  padding: 55px 0;
  border-top: 1px solid #ebdcb9;
  border-bottom: 1px solid #ebdcb9;
  overflow: hidden;
}

.astrology-page .split-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(380px, 2.2fr) minmax(170px, 0.85fr);
  gap: 0;
  align-items: center;
}

/* Why Choose Us Column */
.astrology-page .why-choose-us {
  border-right: 1px solid rgba(180, 140, 90, 0.3);
  padding: 10px 30px 10px 0;
  display: flex;
  flex-direction: column;
}

.astrology-page .sub-section-title.centered-ornament {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--secondary-color);
  text-align: center;
  margin-bottom: 0;
  font-weight: 400;
  letter-spacing: 0.8px;
}

.astrology-page .title-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 28px;
}

.astrology-page .title-ornament .dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-color);
  transform: rotate(45deg);
}

.astrology-page .title-ornament .line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  width: 55px;
}

.astrology-page .why-list-rich {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.astrology-page .why-list-rich li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.astrology-page .why-icon-rich {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: rgba(212, 108, 25, 0.12);
  border: 1px solid rgba(212, 108, 25, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-color);
}

.astrology-page .why-icon-rich svg {
  width: 18px;
  height: 18px;
}

.astrology-page .why-list-rich span {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
}

/* Consultation Process Column */
.astrology-page .consultation-process-rich {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 10px 20px;
  border-right: 1px solid rgba(180, 140, 90, 0.3);
}

.astrology-page .section-title-wrapper-rich {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
}

.astrology-page .section-title-rich {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--secondary-color);
  font-weight: 400;
  letter-spacing: 0.8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
}

.astrology-page .title-side-ornament {
  display: inline-block;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  opacity: 0.75;
}

.astrology-page .title-side-ornament.left {
  border-right: 10px solid var(--primary-color);
}

.astrology-page .title-side-ornament.right {
  border-left: 10px solid var(--primary-color);
}

.astrology-page .title-ornament-rich {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
}

.astrology-page .title-ornament-rich .dot {
  width: 7px;
  height: 7px;
  background-color: var(--primary-color);
  transform: rotate(45deg);
}

.astrology-page .title-ornament-rich .line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
  width: 55px;
}

.astrology-page .process-horizontal-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  gap: 6px;
}

.astrology-page .horizontal-step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 130px;
  max-width: 130px;
}

.astrology-page .step-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: rgba(212, 108, 25, 0.1);
  border: 1.5px solid rgba(212, 108, 25, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.astrology-page .step-icon-circle svg {
  width: 28px;
  height: 28px;
}

.astrology-page .horizontal-step-item:hover .step-icon-circle {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(212, 108, 25, 0.3);
}

.astrology-page .horizontal-step-item:hover .step-icon-circle svg path,
.astrology-page .horizontal-step-item:hover .step-icon-circle svg circle,
.astrology-page .horizontal-step-item:hover .step-icon-circle svg line,
.astrology-page .horizontal-step-item:hover .step-icon-circle svg ellipse {
  stroke: var(--white);
}

.astrology-page .horizontal-step-item h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
  line-height: 1.3;
}

.astrology-page .horizontal-step-item p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 0;
}

.astrology-page .step-arrow-line {
  color: var(--primary-color);
  opacity: 0.55;
  font-size: 12px;
  margin-top: 26px;
  flex-shrink: 0;
  padding: 0 2px;
}

/* Scroll Illustration Panel */
.astrology-page .scroll-illustration-panel {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0 10px 15px;
  min-height: 280px;
}

.astrology-page .scroll-illustration-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 50%, transparent 30%, rgba(212, 108, 25, 0.07) 31%, rgba(212, 108, 25, 0.07) 32%, transparent 33%),
    radial-gradient(circle at 50% 50%, transparent 45%, rgba(212, 108, 25, 0.06) 46%, rgba(212, 108, 25, 0.06) 47%, transparent 48%),
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(212, 108, 25, 0.05) 59%, rgba(212, 108, 25, 0.05) 60%, transparent 61%),
    radial-gradient(circle at 50% 50%, rgba(212, 108, 25, 0.04) 0%, transparent 65%);
  pointer-events: none;
}

.astrology-page .scroll-canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 230px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.astrology-page .scroll-parchment-img {
  width: 100%;
  max-width: 220px;
  filter: drop-shadow(0 10px 20px rgba(64, 19, 20, 0.15));
  transition: var(--transition-smooth);
}

.astrology-page .scroll-parchment-img:hover {
  transform: scale(1.02);
}

/* --- Expert Astrologers Section --- */
.astrology-page .astrologers-section {
  padding: 70px 0 75px;
  background-color: #fdfaf6;
}

.astrology-page .astrologers-section .section-title {
  font-size: 28px;
  letter-spacing: 1px;
}

.astrology-page .astrologers-title-ornament {
  margin-top: 6px;
  margin-bottom: 40px;
}

.astrology-page .astrologers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.astrology-page .astrologer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background-color: var(--white);
  border: 1px solid #e6ddd0;
  border-radius: 8px;
  padding: 16px 14px;
  box-shadow: 0 2px 10px rgba(64, 19, 20, 0.04);
  transition: var(--transition-smooth);
  text-align: left;
}

.astrology-page .astrologer-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(212, 108, 25, 0.12);
  border-color: rgba(212, 108, 25, 0.35);
}

.astrology-page .astrologer-img-box {
  width: 82px;
  height: 82px;
  min-width: 82px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #f7f1e9;
  border: 2px solid #f0e6d8;
  flex-shrink: 0;
}

.astrology-page .astrologer-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: var(--transition-smooth);
}

.astrology-page .astrologer-card:hover .astrologer-img-box img {
  transform: scale(1.04);
}

.astrology-page .astrologer-info {
  padding: 0;
  flex: 1;
  min-width: 0;
}

.astrology-page .astrologer-info h3 {
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--secondary-color);
  margin-bottom: 3px;
  line-height: 1.3;
}

.astrology-page .astrologer-info .exp {
  font-size: 11.5px;
  color: #9a8b7e;
  font-weight: 500;
  display: block;
  margin-bottom: 6px;
}

.astrology-page .astrologer-info .specs {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.45;
  height: auto;
  overflow: visible;
}

.astrology-page .astrologer-info .stars {
  color: #e8a020;
  font-size: 10px;
  letter-spacing: 1px;
}

.astrology-page .astrologers-cta {
  text-align: center;
  margin-top: 40px;
}

/* --- Client Testimonials Section (Slider version) --- */
.astrology-page .testimonials-slider-section {
  padding: 70px 0 75px;
  background-color: #fdfaf6;
  border-top: 1px solid #ebdcb9;
  border-bottom: 1px solid #ebdcb9;
}

.astrology-page .testimonials-slider-section .section-title {
  font-size: 28px;
  letter-spacing: 1px;
}

.astrology-page .testimonials-title-ornament {
  margin-top: 6px;
  margin-bottom: 40px;
}

.astrology-page .testimonials-slider-container {
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 100%;
  margin: 0 auto;
}

.astrology-page .testimonials-slider-viewport {
  flex: 1;
  overflow: hidden;
}

.astrology-page .testimonials-slider-track {
  display: flex;
  gap: 18px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.astrology-page .testimonial-card {
  flex: 0 0 calc(33.333% - 12px);
  max-width: calc(33.333% - 12px);
  background-color: var(--white);
  padding: 28px 24px 22px;
  border-radius: 10px;
  border: 1px solid #efe5d6;
  box-shadow: 0 4px 18px rgba(64, 19, 20, 0.06);
  text-align: left;
  position: relative;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  min-height: 210px;
}

.astrology-page .quote-mark {
  font-family: var(--font-italic);
  font-size: 52px;
  line-height: 1;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.astrology-page .quote-text {
  font-size: 14px;
  color: var(--text-dark);
  font-style: normal;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}

.astrology-page .testimonial-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.astrology-page .quote-author {
  font-weight: 700;
  font-size: 13px;
  color: var(--secondary-color);
}

.astrology-page .testimonial-card .stars {
  color: #e8a020;
  font-size: 11px;
  letter-spacing: 1px;
  flex-shrink: 0;
}

.astrology-page .slider-btn {
  position: relative;
  top: auto;
  transform: none;
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: 50%;
  background-color: var(--white);
  border: 1px solid #e3d4b6;
  color: var(--secondary-color);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(64, 19, 20, 0.08);
  transition: var(--transition-smooth);
  z-index: 5;
  flex-shrink: 0;
}

.astrology-page .slider-btn.is-hidden {
  visibility: hidden;
  pointer-events: none;
}

.astrology-page .slider-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

/* --- Banner CTA Section --- */
.astrology-page .banner-cta-section {
  position: relative;
  background-color: #3f1416;
  background-image: url('images/calltoaction.jpeg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  padding: 38px 0;
  min-height: 168px;
  color: var(--white);
  text-align: left;
  display: flex;
  align-items: center;
}

.astrology-page .banner-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
  padding: 0 24px;
}

.astrology-page .banner-text {
  flex: 1;
  min-width: 260px;
  max-width: 640px;
}

.astrology-page .banner-text h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  margin-bottom: 8px;
  font-weight: 400;
  letter-spacing: 0.4px;
  line-height: 1.35;
  color: #f0d9a8;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

.astrology-page .banner-text p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.astrology-page .banner-button {
  flex-shrink: 0;
}

/* --- Scroll triggered fade-in styles --- */
.astrology-page .animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.astrology-page .animate-on-scroll.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries (Only the scoped ones) */
@media (max-width: 1100px) {
  .astrology-page .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .astrology-page .astrologers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .astrology-page .split-container {
    grid-template-columns: minmax(180px, 0.9fr) minmax(300px, 1.8fr) minmax(140px, 0.7fr);
  }
  .astrology-page .scroll-parchment-img {
    max-width: 170px;
  }
  .astrology-page .section-title-rich {
    font-size: 20px;
    gap: 10px;
  }
  .astrology-page .sub-section-title.centered-ornament {
    font-size: 20px;
  }
  .astrology-page .horizontal-step-item {
    max-width: 130px;
  }
  .astrology-page .horizontal-step-item p {
    font-size: 10.5px;
  }
  .astrology-page .step-icon-circle {
    width: 58px;
    height: 58px;
  }
}

@media (max-width: 1024px) {
  .astrology-page .split-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .astrology-page .why-choose-us {
    border-right: none;
    padding: 0 0 30px;
    border-bottom: 1.5px solid rgba(180, 140, 90, 0.3);
  }
  .astrology-page .consultation-process-rich {
    padding: 0 0 30px;
    border-right: none;
    border-bottom: 1.5px solid rgba(180, 140, 90, 0.3);
  }
  .astrology-page .process-horizontal-steps {
    flex-direction: column;
    align-items: center;
    gap: 22px;
    width: 100%;
  }
  .astrology-page .horizontal-step-item {
    width: 100%;
    max-width: 280px;
  }
  .astrology-page .step-arrow-line {
    display: none;
  }
  .astrology-page .scroll-illustration-panel {
    padding: 10px 0 0;
    min-height: auto;
  }
  .astrology-page .scroll-canvas {
    margin: 0 auto;
  }
  .astrology-page .scroll-parchment-img {
    max-width: 200px;
  }
  .astrology-page .hero-title {
    font-size: 40px;
  }
  .astrology-page .hero-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .astrology-page .testimonial-card {
    flex: 0 0 calc(50% - 9px);
    max-width: calc(50% - 9px);
  }
}

@media (max-width: 580px) {
  .astrology-page .hero-section {
    min-height: 0;
    padding: 48px 0 24px;
  }
  .astrology-page .hero-content {
    margin-bottom: 18px;
  }
  .astrology-page .hero-features-bar {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px 10px;
    padding-top: 16px;
    max-width: 100%;
  }
  .astrology-page .feature-bar-icon {
    width: 34px;
    height: 34px;
    margin-bottom: 6px;
  }
  .astrology-page .feature-bar-icon svg {
    width: 16px;
    height: 16px;
  }
  .astrology-page .feature-bar-item h3 {
    font-size: 12px;
    margin-bottom: 2px;
  }
  .astrology-page .feature-bar-item p {
    font-size: 10px;
    line-height: 1.3;
  }
  .astrology-page .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .astrology-page .astrologers-grid {
    grid-template-columns: 1fr;
  }
  .astrology-page .banner-container {
    flex-direction: column;
    text-align: center;
    padding: 0 16px;
  }
  .astrology-page .banner-text {
    max-width: 100%;
  }
  .astrology-page .banner-text h2 {
    font-size: 22px;
  }
  .astrology-page .banner-button .btn {
    white-space: normal;
  }
  .astrology-page .section-title {
    font-size: 26px;
  }
  .astrology-page .testimonial-card {
    padding: 24px 18px 18px;
    min-height: 190px;
  }
  .astrology-page .quote-mark {
    font-size: 44px;
  }
}

@media (max-width: 640px) {
  .astrology-page .testimonials-slider-container {
    gap: 10px;
  }
  .astrology-page .slider-btn {
    width: 38px;
    height: 38px;
    min-width: 38px;
    font-size: 12px;
  }
  .astrology-page .testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 22px 16px 16px;
  }
}

@media (max-width: 420px) {
  .astrology-page .services-grid {
    grid-template-columns: 1fr;
  }
}
