/* ==========================================================
   bulk-sms.css
   Page-specific styles for Bulk SMS service page
   SMEdigital - smedigital.in
   ========================================================== */

/* ── Floating SMS Chat Bubble Decorations ── */
.bsms-bubble {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  animation: bsms-float 9s ease-in-out infinite;
}

.bsms-bubble--1 {
  top: 18%;
  left: 3%;
  animation-delay: 0s;
  animation-duration: 10s;
}

.bsms-bubble--2 {
  top: 28%;
  right: 3%;
  animation-delay: 2s;
  animation-duration: 12s;
}

.bsms-bubble--3 {
  bottom: 30%;
  left: 5%;
  animation-delay: 4s;
  animation-duration: 9s;
}

.bsms-bubble--4 {
  bottom: 20%;
  right: 5%;
  animation-delay: 1.5s;
  animation-duration: 11s;
}

@keyframes bsms-float {
  0%, 100% { transform: translateY(0px); opacity: 0.7; }
  50%       { transform: translateY(-18px); opacity: 1; }
}

/* Chat bubble component */
.bsms-chat-bubble {
  background: rgba(17, 17, 17, 0.85);
  border: 1px solid rgba(235, 96, 31, 0.3);
  border-radius: 1rem 1rem 1rem 0;
  padding: 0.5rem 0.9rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  white-space: nowrap;
  font-family: 'Montserrat', sans-serif;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(235, 96, 31, 0.1);
}

.bsms-chat-bubble--right {
  border-radius: 1rem 1rem 0 1rem;
  background: rgba(235, 96, 31, 0.12);
  border-color: rgba(235, 96, 31, 0.4);
}

@media (max-width: 768px) {
  .bsms-bubble { display: none; }
}

/* ── Stats Counter Section ── */
.bsms-stats-section {
  border-radius: 2rem;
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(235, 96, 31, 0.2);
  padding: 3rem 2rem;
  position: relative;
  overflow: hidden;
}

.bsms-stats-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #eb601f, transparent);
}

.bsms-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .bsms-stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.bsms-stat-card {
  text-align: center;
  padding: 1.5rem 1rem;
  border-radius: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bsms-stat-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 30px rgba(235, 96, 31, 0.15);
}

.bsms-stat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.bsms-stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: #eb601f;
  line-height: 1;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.bsms-stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 480px) {
  .bsms-stat-number { font-size: 2rem; }
}

/* ── Use Cases Grid ── */
.bsms-usecase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .bsms-usecase-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bsms-usecase-grid { grid-template-columns: repeat(3, 1fr); }
}

.bsms-usecase-card {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bsms-usecase-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, #eb601f, transparent);
  transform: scaleX(0);
  transition: transform 0.35s ease;
}

.bsms-usecase-card:hover {
  transform: translateY(-5px);
  border-color: rgba(235, 96, 31, 0.3);
  box-shadow: 0 10px 35px rgba(235, 96, 31, 0.12);
}

.bsms-usecase-card:hover::before { transform: scaleX(1); }

.bsms-usecase-icon {
  font-size: 2.25rem;
  margin-bottom: 0.75rem;
  display: block;
}

.bsms-usecase-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.bsms-usecase-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.6;
}

/* ── Platform Features Grid ── */
.bsms-feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .bsms-feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bsms-feature-grid { grid-template-columns: repeat(3, 1fr); }
}

.bsms-feat-card {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bsms-feat-card::after {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: #eb601f;
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
  border-radius: 0 0 0 1.25rem;
}

.bsms-feat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(235, 96, 31, 0.3);
  box-shadow: 0 10px 35px rgba(235, 96, 31, 0.12);
}

.bsms-feat-card:hover::after { transform: scaleY(1); }

.bsms-feat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  display: block;
}

.bsms-feat-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
  font-family: 'Montserrat', sans-serif;
}

.bsms-feat-desc {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.65;
}

/* ── Why Choose Us Grid ── */
.bsms-why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .bsms-why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .bsms-why-grid { grid-template-columns: repeat(3, 1fr); }
}

.bsms-why-card {
  background: rgba(17, 17, 17, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 1.5rem;
  padding: 2rem 1.75rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bsms-why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent, rgba(235, 96, 31, 0.4), transparent);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.bsms-why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(235, 96, 31, 0.3);
  box-shadow: 0 12px 40px rgba(235, 96, 31, 0.12);
}

.bsms-why-card:hover::after { transform: scaleX(1); }

.bsms-why-card--highlight {
  border-color: rgba(235, 96, 31, 0.3);
  background: rgba(235, 96, 31, 0.06);
}

.bsms-why-card--highlight::after {
  background: linear-gradient(to right, transparent, #eb601f, transparent);
  transform: scaleX(1);
}

.bsms-why-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.bsms-why-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.75rem;
  font-family: 'Montserrat', sans-serif;
}

.bsms-why-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
}

/* ── Ensure cards visible as fallback ── */
.bsms-usecase-card,
.bsms-feat-card,
.bsms-why-card {
  opacity: 1;
}

/* ── Mobile overrides ── */
@media (max-width: 768px) {
  .bsms-stats-section { padding: 2rem 1rem; }
  .bsms-stat-number   { font-size: 1.75rem; }
  .bsms-usecase-grid  { gap: 1rem; }
  .bsms-feature-grid  { gap: 1rem; }
  .bsms-why-grid      { gap: 1rem; }
}