/* ============================================
   BulkReach - WhatsApp Marketing Website
   Custom Stylesheet
   ============================================ */

:root {
  --wa-green: #25D366;
  --wa-dark-green: #128C7E;
  --wa-light-green: #DCF8C6;
  --primary-blue: #1a73e8;
  --gradient-start: #128C7E;
  --gradient-end: #1a73e8;
  --dark-bg: #0d1b2e;
}

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.7;
}

/* ---- NAVBAR ---- */
.navbar {
  transition: all 0.3s ease;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 800;
}

.navbar-brand span {
  color: var(--wa-green);
}

.nav-link {
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.navbar-dark .nav-link:hover {
  color: var(--wa-green) !important;
}

.bg-gradient-custom {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%) !important;
}

.navbar-scrolled {
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* ---- BUTTONS ---- */
.btn-wa {
  background: var(--wa-green);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-wa:hover {
  background: var(--wa-dark-green);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
}

.btn-outline-wa {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn-outline-wa:hover {
  background: #fff;
  color: var(--wa-dark-green);
  transform: translateY(-2px);
}

.btn-primary-custom {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(26, 115, 232, 0.4);
}

.btn-primary-custom:hover {
  opacity: 0.9;
  color: #fff;
  transform: translateY(-2px);
}

/* ---- HERO ---- */
.hero-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 60px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.hero-title span {
  color: var(--wa-green);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.hero-stat h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--wa-green);
  margin: 0;
}

.hero-stat p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin: 0;
}

/* ---- PHONE MOCKUP ---- */
.hero-phone-mockup {
  width: 280px;
  background: #fff;
  border-radius: 30px;
  padding: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
  margin: 0 auto;
}

.phone-header {
  background: var(--wa-dark-green);
  border-radius: 15px 15px 0 0;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
}

.phone-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--wa-green);
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-body {
  background: #e5ddd5;
  padding: 12px;
  min-height: 200px;
  border-radius: 0 0 15px 15px;
}

.chat-bubble {
  background: #fff;
  border-radius: 0 12px 12px 12px;
  padding: 8px 12px;
  margin-bottom: 8px;
  font-size: 0.8rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  max-width: 85%;
}

.chat-bubble.sent {
  background: var(--wa-light-green);
  border-radius: 12px 0 12px 12px;
  margin-left: auto;
}

.chat-bubble .time {
  font-size: 0.65rem;
  color: #999;
  text-align: right;
}

.meta-badges {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 12px;
  flex-wrap: wrap;
}

.meta-badge {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---- TRUST BADGES ---- */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 50px;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.trust-badge i {
  color: var(--wa-green);
}

/* ---- SECTION STYLES ---- */
.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, rgba(18, 140, 126, 0.1), rgba(26, 115, 232, 0.1));
  color: var(--wa-dark-green);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(18, 140, 126, 0.2);
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  color: #1a1a2e;
}

.section-subtitle {
  color: #666;
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ---- BRANDS ---- */
.brands-section {
  background: #f8f9fa;
}

.brand-logo {
  width: 120px;
  height: 48px;
  background: #e9ecef;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #999;
  font-size: 0.8rem;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.brand-logo:hover {
  background: linear-gradient(135deg, rgba(18, 140, 126, 0.1), rgba(26, 115, 232, 0.1));
  color: var(--wa-dark-green);
}

/* ---- FEATURE CARDS ---- */
.feature-card {
  border: none;
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.icon-green {
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa-dark-green);
}

.icon-blue {
  background: rgba(26, 115, 232, 0.12);
  color: var(--primary-blue);
}

.icon-purple {
  background: rgba(103, 58, 183, 0.12);
  color: #673AB7;
}

.icon-orange {
  background: rgba(255, 152, 0, 0.12);
  color: #FF9800;
}

.icon-red {
  background: rgba(244, 67, 54, 0.12);
  color: #F44336;
}

.icon-teal {
  background: rgba(0, 188, 212, 0.12);
  color: #00BCD4;
}

/* ---- STATS ---- */
.stats-section {
  background: linear-gradient(135deg, #f0fdf9 0%, #eff8ff 100%);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- PRICING ---- */
.pricing-card {
  border: 2px solid #e9ecef;
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
  background: #fff;
  position: relative;
  height: 100%;
}

.pricing-card:hover {
  border-color: var(--wa-green);
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pricing-card.popular {
  border-color: var(--wa-green);
  background: linear-gradient(135deg, #f0fdf9, #eff8ff);
  box-shadow: 0 20px 60px rgba(37, 211, 102, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  padding: 4px 20px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-amount {
  font-size: 2.8rem;
  font-weight: 800;
  color: #1a1a2e;
}

.price-amount sup {
  font-size: 1.2rem;
  vertical-align: top;
  margin-top: 0.8rem;
}

.price-amount .per {
  font-size: 1rem;
  font-weight: 400;
  color: #666;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.pricing-feature .fa-check-circle {
  color: var(--wa-green);
}

.pricing-feature .fa-times-circle {
  color: #ddd;
}

.save-badge {
  background: rgba(37, 211, 102, 0.15);
  color: var(--wa-dark-green);
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 50px;
  font-weight: 700;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.toggle-group {
  display: flex;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50px;
  padding: 4px;
}

.toggle-group .btn {
  border-radius: 50px;
  padding: 8px 24px;
  font-weight: 600;
  color: #002920;
  border: none;
  background: transparent;
  transition: all 0.3s;
}

.toggle-group .btn.active {
  background: #73d894;
  color: var(--wa-dark-green);
}

/* Pricing table */
.pricing-table th {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
}

.pricing-table td {
  vertical-align: middle;
}

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  height: 100%;
  transition: all 0.3s;
  border: 1px solid #f0f0f0;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.t-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.stars {
  color: #FFC107;
}

.quote-icon {
  color: var(--wa-green);
  font-size: 2rem;
  opacity: 0.3;
}

/* ---- FAQ ---- */
.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(18, 140, 126, 0.08), rgba(26, 115, 232, 0.08));
  color: var(--wa-dark-green);
  font-weight: 600;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-item {
  border: 1px solid #e9ecef !important;
  border-radius: 12px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

/* ---- CTA ---- */
.cta-section {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  padding: 140px 0 60px;
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
}

.breadcrumb-item a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.9);
}

.breadcrumb-item+.breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ---- BLOG ---- */
.blog-card {
  border: none;
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.blog-img {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--wa-dark-green);
}

.read-more {
  color: var(--wa-dark-green);
  font-weight: 600;
  text-decoration: none;
}

.read-more:hover {
  color: var(--primary-blue);
}

/* ---- CONTACT ---- */
.contact-card {
  border: none;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
}

.contact-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--wa-green);
  box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.15);
}

.map-placeholder {
  background: linear-gradient(135deg, #f0fdf9, #eff8ff);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--wa-dark-green);
  min-height: 300px;
  gap: 0.5rem;
}

/* ---- NEWSLETTER ---- */
.newsletter-section {
  background: linear-gradient(135deg, #f0fdf9 0%, #eff8ff 100%);
}

.newsletter-input {
  border-radius: 50px 0 0 50px !important;
  border-right: none;
  padding: 12px 20px !important;
}

.newsletter-btn {
  border-radius: 0 50px 50px 0 !important;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  color: #fff;
  border: none;
  padding: 12px 24px;
  font-weight: 600;
}

.newsletter-btn:hover {
  opacity: 0.9;
  color: #fff;
}

/* ---- FOOTER ---- */
footer {
  background: var(--dark-bg);
  color: rgba(255, 255, 255, 0.75);
}

.footer-brand {
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.footer-brand span {
  color: var(--wa-green);
}

footer h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.25rem;
}

footer a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
  display: block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: var(--wa-green);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  transition: all 0.3s;
  margin-right: 8px;
  text-decoration: none;
}

.social-icon:hover {
  background: var(--wa-green);
  color: #fff;
  transform: translateY(-3px);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---- FLOATING BUTTONS ---- */
.wa-float {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 55px;
  height: 55px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.5rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  z-index: 9999;
  transition: all 0.3s;
  animation: waPulse 2.5s infinite;
}

.wa-float:hover {
  background: var(--wa-dark-green);
  color: #fff;
  transform: scale(1.1);
  animation: none;
}

@keyframes waPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.scroll-top-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 45px;
  height: 45px;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  transform: translateY(-3px);
}

/* ---- POLICY PAGES ---- */
.policy-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1a1a2e;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.policy-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-top: 1.25rem;
}

.policy-content p,
.policy-content li {
  color: #555;
}

/* ---- GRADIENT TEXT ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- SERVICE DETAIL ---- */
.service-card {
  border: none;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.07);
  transition: all 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.service-num {
  font-size: 4rem;
  font-weight: 900;
  color: rgba(18, 140, 126, 0.08);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .hero-stats {
    gap: 1rem;
  }

  .hero-phone-mockup {
    width: 240px;
  }

  .pricing-card {
    margin-bottom: 1.5rem;
  }

  .page-hero {
    padding: 120px 0 40px;
  }
}