/* ==========================================================================
   Islamic Spiritual Healer & Astrologer - Design System & Styles
   ========================================================================== */

:root {
  /* Color Palette */
  --primary-emerald: #0F766E;
  --primary-emerald-dark: #094F4A;
  --primary-emerald-light: #149187;
  --accent-gold: #D4AF37;
  --accent-gold-light: #F3E5AB;
  --accent-gold-dark: #9A7B1C;
  --bg-cream: #FAF8F5;
  --bg-white: #FFFFFF;
  --text-dark: #111827;
  --text-muted: #4B5563;
  --text-light: #F9FAFB;
  --whatsapp-green: #25D366;
  --whatsapp-green-hover: #1DA851;
  --border-light: #E5E7EB;

  /* Typography */
  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Layout & Shadows */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 10px 25px -5px rgba(15, 118, 110, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 35px -10px rgba(15, 118, 110, 0.15);
  --transition: all 0.3s ease;
}

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.25;
}

.text-gold { color: var(--accent-gold); }
.text-emerald { color: var(--primary-emerald); }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--whatsapp-green);
  color: #fff;
}
.btn-whatsapp:hover {
  background-color: var(--whatsapp-green-hover);
  color: #fff;
}

.btn-gold {
  background: linear-gradient(135deg, var(--accent-gold) 0%, #B89020 100%);
  color: #fff;
}
.btn-gold:hover {
  background: linear-gradient(135deg, #E6C248 0%, var(--accent-gold) 100%);
  color: #fff;
}

.btn-outline-emerald {
  background: transparent;
  border: 2px solid var(--primary-emerald);
  color: var(--primary-emerald);
}
.btn-outline-emerald:hover {
  background: var(--primary-emerald);
  color: #fff;
}

.btn-phone {
  background: var(--primary-emerald);
  color: #fff;
}
.btn-phone:hover {
  background: var(--primary-emerald-dark);
  color: #fff;
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

.section-subtitle {
  color: var(--accent-gold-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  color: var(--primary-emerald-dark);
}

/* 1. Continuous Marquee Announcement Bar */
.announcement-bar {
  background-color: var(--primary-emerald-dark);
  color: var(--accent-gold-light);
  font-size: 0.875rem;
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  z-index: 1001;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.marquee-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

.announcement-bar:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  padding: 0 20px;
  font-weight: 500;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* 2. Header & Navigation */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-emerald-dark);
}

.brand-logo i {
  color: var(--accent-gold);
  font-size: 1.6rem;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-emerald);
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-emerald);
  cursor: pointer;
}

/* 3. Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, rgba(15, 118, 110, 0.05) 0%, rgba(212, 175, 55, 0.08) 100%);
  padding: 60px 0 100px 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold-dark);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.hero-title {
  font-size: 2.8rem;
  color: var(--primary-emerald-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  text-align: center;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid #fff;
}

.floating-cards {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--primary-emerald-dark);
  border: 1px solid var(--border-light);
  animation: float 4s ease-in-out infinite;
}

.floating-card i {
  color: var(--accent-gold);
}

.fc-1 { top: 10%; left: -20px; animation-delay: 0s; }
.fc-2 { bottom: 15%; right: -20px; animation-delay: 2s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Trust Statistics Bar */
.trust-stats {
  background: var(--primary-emerald-dark);
  color: #fff;
  padding: 40px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.85);
}

/* Why Choose Us */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.why-card {
  background: var(--bg-white);
  padding: 30px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border-light);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-gold);
}

.why-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.why-card h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.why-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.service-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(212, 175, 55, 0.15);
  color: var(--accent-gold-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary-emerald);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--primary-emerald-dark);
}

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

.service-card .btn-whatsapp-sm {
  align-self: flex-start;
  font-size: 0.875rem;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--whatsapp-green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.service-card .btn-whatsapp-sm:hover {
  background: var(--whatsapp-green-hover);
}

/* Timeline Process */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  position: relative;
}

.process-step {
  text-align: center;
  background: var(--bg-white);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
}

.step-number {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #fff;
  font-weight: 700;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px auto;
}

.process-step h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-image img {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-content h2 {
  font-size: 2.2rem;
  color: var(--primary-emerald-dark);
  margin-bottom: 20px;
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Testimonials Slider styling */
.testimonials-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 15px;
}

.testimonials-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.testimonial-card {
  flex: 0 0 100%;
  width: 100%;
  background: var(--bg-white);
  padding: 40px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.slider-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-emerald);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  z-index: 10;
}

.slider-control:hover {
  background: var(--primary-emerald);
  color: #fff;
  border-color: var(--primary-emerald);
  box-shadow: var(--shadow-md);
}

.slider-control.prev {
  left: 0;
}

.slider-control.next {
  right: 0;
}

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 25px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #D1D5DB;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--accent-gold);
  transform: scale(1.2);
}

.stars {
  color: #F59E0B;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.user-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
}

.user-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.user-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  margin-bottom: 15px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-emerald-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
}

.faq-answer p {
  padding-bottom: 20px;
  color: var(--text-muted);
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

/* CTA Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-emerald-dark) 0%, var(--primary-emerald) 100%);
  color: #fff;
  text-align: center;
  padding: 70px 20px;
  border-radius: var(--radius-lg);
  margin: 50px auto;
  max-width: 1160px;
}

.cta-banner h2 {
  color: #fff;
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-banner p {
  color: var(--accent-gold-light);
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.cta-banner .btn-group {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background: var(--bg-white);
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 15px;
}

.info-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.1);
  color: var(--primary-emerald);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-form-card {
  background: var(--bg-white);
  padding: 35px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-emerald);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: #fff;
  padding: 60px 0 20px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  color: var(--accent-gold);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: #9CA3AF;
  font-size: 0.95rem;
}

.footer-links h4 {
  color: #fff;
  margin-bottom: 15px;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #9CA3AF;
}

.footer-links ul li a:hover {
  color: var(--accent-gold);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 20px;
  text-align: center;
  color: #9CA3AF;
  font-size: 0.875rem;
}

/* Sticky Floating Action Buttons */
.floating-actions {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.floating-btn {
  pointer-events: auto;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.6rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.floating-whatsapp {
  background-color: var(--whatsapp-green);
  animation: pulse-green 2s infinite;
}

.floating-call {
  background-color: var(--primary-emerald);
}

@keyframes pulse-green {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .services-grid, .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .btn-gold{
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .services-grid, .why-us-grid, .process-timeline {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2.1rem;
  }
}
