/* Custom component elements */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 2rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  color: var(--text-light);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(243, 112, 33, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--text-dark);
  border-color: var(--text-dark);
}

.bg-dark-section .btn-secondary {
  color: var(--text-light);
  border-color: var(--text-light);
}

.btn-secondary:hover {
  background: var(--text-dark);
  color: var(--text-light);
  transform: translateY(-3px);
}

.bg-dark-section .btn-secondary:hover {
  background: var(--text-light);
  color: var(--text-dark);
}

.btn-accent {
  background: transparent;
  border: 2px solid transparent;
  background-image: linear-gradient(var(--bg-white), var(--bg-white)), 
                    linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--text-dark);
}

.btn-accent:hover {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  color: var(--text-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

/* Service & Work Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--bg-white);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition-smooth);
}

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

.card:hover::before {
  transform: scaleX(1);
}

.card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-sm);
  background: rgba(243, 112, 33, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  transition: var(--transition-smooth);
}

.card:hover .card-icon {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  color: var(--text-light);
  transform: rotate(5deg) scale(1.05);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

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

/* Testimonial slider elements */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}

.testimonial-quote {
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-style: italic;
  font-weight: 400;
  color: var(--text-light-muted);
  margin-bottom: 2rem;
  position: relative;
}

.testimonial-quote::before, .testimonial-quote::after {
  content: '"';
  font-size: 4rem;
  color: var(--primary-orange);
  line-height: 0;
  position: absolute;
  opacity: 0.3;
}

.testimonial-quote::before {
  top: 1rem;
  left: -2rem;
}

.testimonial-quote::after {
  bottom: -1rem;
  right: -2rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--text-light);
  font-size: 1.1rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--primary-orange);
  margin-top: 0.25rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background: var(--primary-orange);
  transform: scale(1.25);
}

/* Statistics Counter Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 2rem;
  background-color: var(--bg-dark-card);
  border: 1px solid var(--glass-border-dark);
  border-radius: var(--border-radius-md);
}

.stat-number {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light-muted);
}

/* WhatsApp Floating Action Button */
.whatsapp-bubble {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #25d366;
  color: white;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  font-size: 1.5rem;
  cursor: pointer;
  position: relative;
  animation: wa-pulse 2s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
  position: absolute;
  right: 60px;
  top: 5px;
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 0.75rem 1.25rem;
  border-radius: var(--border-radius-md);
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0,0,0,0.05);
  opacity: 0;
  visibility: hidden;
  transform: translateX(15px);
  transition: var(--transition-smooth);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--bg-white);
}

.whatsapp-bubble.show-tooltip .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* BTL Campaign Calculator UI */
.calculator-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
}

@media (max-width: 992px) {
  .calculator-container {
    grid-template-columns: 1fr;
    padding: 2rem;
  }
}

.calc-section-title {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dark);
}

.calc-group {
  margin-bottom: 2rem;
}

.calc-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.calc-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.calc-chip {
  padding: 0.65rem 1.25rem;
  background: var(--bg-light);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.calc-chip:hover {
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.calc-chip.active {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  color: var(--text-light);
  border-color: transparent;
  box-shadow: var(--shadow-sm);
}

.range-slider-wrapper {
  position: relative;
  margin-top: 1.5rem;
}

.range-slider {
  width: 100%;
  height: 6px;
  background: #e0e0e0;
  border-radius: 5px;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}

.range-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-orange);
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  transition: var(--transition-fast);
}

.range-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--primary-purple);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.calc-results-card {
  background: linear-gradient(135deg, var(--bg-dark), hsl(220, 25%, 15%));
  color: var(--text-light);
  padding: 2.5rem;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--glass-border-dark);
  box-shadow: var(--shadow-glow);
}

.result-stat-group {
  margin-bottom: 2rem;
}

.result-stat-val {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-orange);
  margin-bottom: 0.25rem;
}

.result-stat-lbl {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-strategy-box {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid var(--primary-purple);
  padding: 1.25rem;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
  margin-bottom: 2.5rem;
}

.result-strategy-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.result-strategy-text {
  font-size: 0.85rem;
  color: var(--text-light-muted);
  line-height: 1.45;
}

/* Glassmorphic Contact & Inquiry Form */
.inquiry-form-card {
  background: var(--bg-white);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-size: 0.95rem;
  font-family: var(--font-main);
  background-color: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: var(--border-radius-sm);
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  background-color: var(--bg-white);
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(243, 112, 33, 0.15);
}

.form-input.error {
  border-color: #e53e3e;
}

.form-error-msg {
  color: #e53e3e;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  display: block;
}

/* Service select tag grid inside form */
.form-checkbox-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background-color: var(--bg-light);
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: var(--border-radius-sm);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.form-checkbox-label input {
  display: none;
}

.form-checkbox-label::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 4px;
  border: 2px solid rgba(0,0,0,0.2);
  display: inline-block;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.form-checkbox-label.checked {
  background-color: rgba(243, 112, 33, 0.08);
  border-color: var(--primary-orange);
  color: var(--primary-orange);
}

.form-checkbox-label.checked::before {
  border-color: var(--primary-orange);
  background-color: var(--primary-orange);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white' width='12px' height='12px'%3E%3Cpath d='M0 0h24v24H0V0z' fill='none'/%3E%3Cpath d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E");
  background-position: center;
  background-repeat: no-repeat;
}

/* Success Modal components */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 10, 12, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: var(--transition-smooth);
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  font-size: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal-title {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.modal-text {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

/* Showcase Grid Hover styles */
.showcase-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  border: 1px solid rgba(0,0,0,0.05);
  background: var(--bg-white);
}
.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}
.showcase-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.showcase-item:hover img {
  transform: scale(1.05);
}

/* Floating Call Action Button */
.call-bubble {
  position: fixed;
  bottom: 85px;
  right: 25px;
  z-index: 999;
}
.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  color: white;
  box-shadow: 0 8px 24px rgba(243, 112, 33, 0.3);
  font-size: 1.4rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.call-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(243, 112, 33, 0.5);
}
@media (max-width: 768px) {
  .whatsapp-bubble {
    bottom: 15px;
    right: 15px;
  }
  .call-bubble {
    bottom: 63px;
    right: 15px;
  }
  .whatsapp-btn, .call-btn {
    width: 38px;
    height: 38px;
    font-size: 1.15rem;
  }
}

/* Hero Carousel button hovers */
.hero-carousel:hover .carousel-btn {
  background-color: rgba(255, 255, 255, 0.9) !important;
}
.carousel-btn:hover {
  background-color: var(--primary-orange) !important;
  color: white !important;
}

/* Service Card Image Banners & Overlaid Icons */
.service-card-banner {
  width: 100%;
  height: 160px;
  overflow: hidden;
  border-radius: var(--border-radius-sm);
  margin-bottom: 1.5rem;
  position: relative;
  border: 1px solid rgba(0,0,0,0.03);
}

.service-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-banner img {
  transform: scale(1.05);
}

.service-card-icon-overlay {
  position: absolute;
  bottom: 10px;
  right: 10px;
  margin-bottom: 0;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: var(--shadow-sm);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-orange);
  transition: var(--transition-smooth);
}

.service-card:hover .service-card-icon-overlay {
  background: linear-gradient(135deg, var(--primary-orange), var(--primary-purple));
  color: var(--text-light);
  transform: rotate(5deg) scale(1.05);
}

/* Customer Brand Logo Hover Effects */
.brand-logo-img {
  max-height: 100%;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter var(--transition-smooth), opacity var(--transition-smooth), transform var(--transition-smooth);
}

.brand-logo-img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.08);
}


