/* =============================================
   Service Comparison Table Component Styles
   ============================================= */

/* Enhanced Service Comparison Table Styles */
/* Card Background Colors - Different from section */
.comparison-table-section .pricing-plan-card {
  background-color: #1c1c1c !important;
  color: white;
  box-shadow: 0 5px 30px rgba(0,0,0,0.08);
}

.comparison-table-section .pricing-plan-card.premium {
  background-color: #2c3e50 !important;
  color: white;
}

.comparison-table-section .pricing-plan-card.enterprise {
  background-color: #1c1c1c !important;
  color: white;
}

.comparison-table-section .feature-category {
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .comparison-table-section .feature-category {
    margin-bottom: 20px;
  }
}

/* Pricing Cards Layout */
.comparison-table-section .pricing-plan-card {
  display: flex;
  flex-direction: column;
}

.comparison-table-section .pricing-plan-card .included-feature-area {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Highlighted Consultation Button */
/* Standard card button - white background, dark text */
.comparison-table-section .pricing-plan-card:not(.premium):not(.enterprise) .consultation-btn {
  background: white !important;
  color: #1c1c1c !important;
  border: 2px solid white !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.comparison-table-section .pricing-plan-card:not(.premium):not(.enterprise) .consultation-btn:hover {
  background: #1c1c1c !important;
  color: white !important;
  border-color: white !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.4);
}

/* Premium card button - bright cyan background, white text */
.comparison-table-section .pricing-plan-card.premium .consultation-btn {
  background: #00D4FF !important;
  color: #2c3e50 !important;
  border: 2px solid #00D4FF !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
  transition: all 0.3s ease;
}

.comparison-table-section .pricing-plan-card.premium .consultation-btn:hover {
  background: #2c3e50 !important;
  color: #00D4FF !important;
  border-color: #00D4FF !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 212, 255, 0.5);
}

/* Enterprise card button - coral background, dark text */
.comparison-table-section .pricing-plan-card.enterprise .consultation-btn {
  background: #FF6B6B !important;
  color: white !important;
  border: 2px solid #FF6B6B !important;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
  transition: all 0.3s ease;
}

.comparison-table-section .pricing-plan-card.enterprise .consultation-btn:hover {
  background: #1c1c1c !important;
  color: #FF6B6B !important;
  border-color: #FF6B6B !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

/* Remove button classes override to let our styles take precedence */
.comparison-table-section .consultation-btn.white-bg,
.comparison-table-section .consultation-btn.two {
  /* Let the card-specific styles handle the appearance */
}

.comparison-table-section .category-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: #666;
  margin-bottom: 10px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Category titles for dark standard card */
.comparison-table-section .pricing-plan-card .category-title {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.2);
}

@media (min-width: 992px) {
  .comparison-table-section .category-title {
    font-size: 12px;
    margin-bottom: 12px;
    padding-bottom: 6px;
  }
}

.comparison-table-section .pricing-plan-card.premium .category-title {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.2);
}

.comparison-table-section .pricing-plan-card.enterprise .category-title {
  color: rgba(255,255,255,0.7);
  border-bottom-color: rgba(255,255,255,0.2);
}

.comparison-table-section .feature-content {
  display: inline-block;
  margin-left: 0;
}

@media (min-width: 992px) {
  .comparison-table-section .feature-content {
    margin-left: 0;
  }
}

.comparison-table-section .feature-content strong {
  font-weight: 600;
  margin-right: 6px;
  font-size: 13px;
}

/* White text for dark background cards */
.comparison-table-section .pricing-plan-card .feature-content strong {
  color: white;
}

.comparison-table-section .pricing-plan-card.enterprise .feature-content strong {
  color: white;
}

@media (min-width: 992px) {
  .comparison-table-section .feature-content strong {
    font-size: 14px;
    margin-right: 8px;
  }
}

/* Enhanced Highlight Feature Styles */
.comparison-table-section .highlight-feature {
  background: linear-gradient(90deg, rgba(76,175,80,0.15) 0%, rgba(76,175,80,0.05) 100%);
  padding: 8px 12px;
  border-radius: 8px;
  margin: 6px 0;
  position: relative;
  transition: all 0.3s ease;
  border-left: 3px solid #4CAF50;
}

.comparison-table-section .highlight-feature:hover {
  background: linear-gradient(90deg, rgba(76,175,80,0.2) 0%, rgba(76,175,80,0.08) 100%);
  transform: translateX(2px);
}

.comparison-table-section .highlight-feature .feature-content {
  font-weight: 600;
}

.comparison-table-section .highlight-icon {
  color: #4CAF50;
  font-size: 1.1em;
  margin-right: 4px;
  animation: sparkle 2s ease-in-out infinite;
  display: inline-block;
}

@keyframes sparkle {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1) rotate(0deg); 
  }
  50% { 
    opacity: 0.7; 
    transform: scale(1.15) rotate(5deg); 
  }
}

/* Premium Card Highlight Styles */
.comparison-table-section .pricing-plan-card.premium .highlight-feature {
  background: linear-gradient(90deg, rgba(0,212,255,0.15) 0%, rgba(0,212,255,0.05) 100%);
  border-left-color: #00D4FF;
}

.comparison-table-section .pricing-plan-card.premium .highlight-feature:hover {
  background: linear-gradient(90deg, rgba(0,212,255,0.2) 0%, rgba(0,212,255,0.08) 100%);
}

.comparison-table-section .pricing-plan-card.premium .highlight-icon {
  color: #00D4FF;
}

/* Enterprise Card Highlight Styles */
.comparison-table-section .pricing-plan-card.enterprise .highlight-feature {
  background: linear-gradient(90deg, rgba(255,107,107,0.15) 0%, rgba(255,107,107,0.05) 100%);
  border-left-color: #FF6B6B;
}

.comparison-table-section .pricing-plan-card.enterprise .highlight-feature:hover {
  background: linear-gradient(90deg, rgba(255,107,107,0.2) 0%, rgba(255,107,107,0.08) 100%);
}

.comparison-table-section .pricing-plan-card.enterprise .highlight-icon {
  color: #FF6B6B;
}

/* Mobile Responsive Adjustments for Highlights */
@media (max-width: 767px) {
  .comparison-table-section .highlight-feature {
    padding: 6px 10px;
    margin: 4px 0;
  }
  
  .comparison-table-section .highlight-icon {
    font-size: 1em;
  }
}

.comparison-table-section .feature-content span {
  font-size: 13px;
  color: var(--text-color);
  line-height: 1.4;
}

@media (min-width: 992px) {
  .comparison-table-section .feature-content span {
    font-size: 14px;
    line-height: 1.5;
  }
}

.comparison-table-section .pricing-plan-card.premium .feature-content span {
  color: rgba(255,255,255,0.85);
}

.comparison-table-section .pricing-plan-card.enterprise .feature-content span {
  color: rgba(255,255,255,0.85);
}

/* Ensure proper text color on dark cards */
.comparison-table-section .pricing-plan-card .feature-content span {
  color: rgba(255,255,255,0.85);
}

/* Old highlight styles - removed as replaced by enhanced styles above */

/* Popular Badge Styles */
.comparison-table-section .popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
}

.comparison-table-section .popular-badge span {
  background: linear-gradient(90deg, #4CAF50 0%, #45a049 100%);
  color: white;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(76, 175, 80, 0.3);
}

/* WhatsApp Button Styles */
.comparison-table-section button.primary-btn3 {
  cursor: pointer;
  transition: all 0.3s ease;
}

.comparison-table-section button.primary-btn3:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Mobile Tab Navigation */
.comparison-table-section .btn-group {
  display: flex;
  gap: 5px;
  background: #f5f5f5;
  padding: 5px;
  border-radius: 10px;
  overflow: visible;
  position: relative;
}

.comparison-table-section .btn-group .btn {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 8px !important;
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
  border-bottom-left-radius: 8px !important;
  border-bottom-right-radius: 8px !important;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  position: relative;
  z-index: 1;
}

.comparison-table-section .btn-group .btn-dark {
  background: #1c1c1c;
  color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.comparison-table-section .btn-group .btn:focus {
  outline: none;
  box-shadow: none;
}

.comparison-table-section .btn-group .btn-dark:focus {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Override Bootstrap btn-group border radius */
.comparison-table-section .btn-group .btn:first-child {
  border-radius: 8px !important;
}

.comparison-table-section .btn-group .btn:last-child {
  border-radius: 8px !important;
}

.comparison-table-section .btn-group .btn:not(:first-child):not(:last-child) {
  border-radius: 8px !important;
}

.comparison-table-section .btn-group .btn-outline-dark {
  background: transparent;
  color: #666;
}

.comparison-table-section .btn-group .btn-outline-dark:hover {
  background: #e0e0e0;
  color: #333;
}

/* CTA Section */
.comparison-table-section .cta-section {
  padding: 40px;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  border-radius: 20px;
  text-align: center;
}

@media (min-width: 992px) {
  .comparison-table-section .cta-section {
    padding: 60px 50px;
    border-radius: 25px;
  }
}

.comparison-table-section .cta-section h4 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

@media (min-width: 992px) {
  .comparison-table-section .cta-section h4 {
    font-size: 32px;
    margin-bottom: 15px;
  }
}

@media (min-width: 1200px) {
  .comparison-table-section .cta-section h4 {
    font-size: 36px;
    margin-bottom: 20px;
  }
}

.comparison-table-section .cta-section p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

@media (min-width: 992px) {
  .comparison-table-section .cta-section p {
    font-size: 20px;
    margin-bottom: 30px;
    line-height: 1.6;
  }
}

@media (min-width: 1200px) {
  .comparison-table-section .cta-section p {
    font-size: 22px;
    margin-bottom: 35px;
  }
}

/* Desktop Enhancements for Better Readability */
@media (min-width: 992px) {
  .comparison-table-section .pricing-plan-card {
    padding: 30px 25px;
  }
  
  .comparison-table-section .pricing-plan-card .pricing-plan-top {
    margin-bottom: 20px;
  }
  
  .comparison-table-section .pricing-plan-card .pricing-plan-top .title-area h4 {
    font-size: 26px;
    margin-bottom: 5px;
  }
  
  .comparison-table-section .pricing-plan-card .pricing-plan-top h2 {
    font-size: 32px;
    margin-bottom: 0;
  }
  
  .comparison-table-section .pricing-plan-card p {
    font-size: 15px;
    line-height: 1.5;
    margin-bottom: 20px;
  }
  
  .comparison-table-section .pricing-plan-card .included-feature-area {
    padding-top: 25px;
  }
  
  .comparison-table-section .pricing-plan-card .included-feature-area h6 {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .comparison-table-section .pricing-plan-card .included-feature-area ul li {
    font-size: 14px;
    margin-bottom: 12px;
    gap: 8px;
  }
}

@media (min-width: 1200px) {
  .comparison-table-section .pricing-plan-card {
    padding: 35px 30px;
  }
  
  .comparison-table-section .pricing-plan-card .pricing-plan-top .title-area h4 {
    font-size: 28px;
  }
  
  .comparison-table-section .pricing-plan-card .pricing-plan-top h2 {
    font-size: 36px;
  }
  
  .comparison-table-section .pricing-plan-card p {
    font-size: 16px;
  }
  
  .comparison-table-section .pricing-plan-card .included-feature-area h6 {
    font-size: 20px;
    margin-bottom: 25px;
  }
  
  .comparison-table-section .pricing-plan-card .included-feature-area ul li {
    font-size: 15px;
    margin-bottom: 15px;
  }
}

/* Section Title Enhancements for Desktop */
@media (min-width: 992px) {
  .comparison-table-section .comparison-section-title {
    margin-bottom: 40px;
  }
  
  .comparison-table-section .comparison-section-title h2 {
    font-size: 36px;
    margin-bottom: 15px;
  }
  
  .comparison-table-section .comparison-section-title p {
    font-size: 16px;
    line-height: 1.5;
  }
}

@media (min-width: 1200px) {
  .comparison-table-section .comparison-section-title {
    margin-bottom: 50px;
  }
  
  .comparison-table-section .comparison-section-title h2 {
    font-size: 40px;
    margin-bottom: 20px;
  }
  
  .comparison-table-section .comparison-section-title p {
    font-size: 18px;
  }
}

/* Desktop Card Grid Spacing */
@media (min-width: 992px) {
  .comparison-table-section .row.gy-5 {
    --bs-gutter-y: 1.5rem;
  }
  
  .comparison-table-section .row.mt-5 {
    margin-top: 2rem !important;
  }
}

@media (min-width: 1200px) {
  .comparison-table-section .row.gy-5 {
    --bs-gutter-y: 2rem;
  }
  
  .comparison-table-section .row.mt-5 {
    margin-top: 2.5rem !important;
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .comparison-table-section .feature-category {
    margin-bottom: 15px;
  }
  
  .comparison-table-section .feature-content {
    display: block;
    margin-left: 0;
    margin-top: 5px;
  }
  
  .comparison-table-section .feature-content strong {
    display: block;
    margin-bottom: 3px;
  }
}

@media (max-width: 767px) {
  .comparison-table-section .btn-group {
    gap: 3px;
    padding: 4px;
  }
  
  .comparison-table-section .btn-group .btn {
    font-size: 12px;
    padding: 8px 10px;
    min-height: 36px;
  }
  
  .comparison-table-section .cta-section {
    padding: 30px 20px;
  }
  
  .comparison-table-section .cta-section h4 {
    font-size: 20px;
  }
  
  .comparison-table-section .cta-section p {
    font-size: 14px;
  }
}