/* Slider Contact Info and Service Description Fix - High Specificity Override */

/* Service Description - Make Text Larger */
#persian-slider .slider .slide .card .service-description {
  text-align: center !important;
  margin-bottom: 1rem !important;
}

#persian-slider .slider .slide .card .service-description > p {
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: #e5efff !important;
  margin: 0 0 0.5rem 0 !important;
  font-weight: 400 !important;
}

/* Contact Info - Make Boxes Smaller */
#persian-slider .slider .slide .card .contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.4rem !important;
  margin-top: 0.5rem !important;
}

#persian-slider .slider .slide .card .contact-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  padding: 0.4rem !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
}

#persian-slider .slider .slide .card .contact-card h4 {
  font-size: 0.8rem !important;
  margin-bottom: 0.2rem !important;
  color: #22d3ee !important;
  font-weight: 600 !important;
}

#persian-slider .slider .slide .card .contact-card p {
  font-size: 0.7rem !important;
  margin-bottom: 0.1rem !important;
  line-height: 1.2 !important;
  color: #e5efff !important;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  #persian-slider .slider .slide .card .service-description > p {
    font-size: 0.8rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card {
    padding: 0.4rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card h4 {
    font-size: 0.75rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card p {
    font-size: 0.65rem !important;
  }
}

@media (max-width: 480px) {
  #persian-slider .slider .slide .card .service-description > p {
    font-size: 0.75rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card {
    padding: 0.35rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card h4 {
    font-size: 0.7rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card p {
    font-size: 0.6rem !important;
  }
}

/* Mobile Slider Specific Overrides */
.mobile-slider #persian-slider .slider .slide .card .service-description > p {
  font-size: clamp(12px, 3vw, 14px) !important;
  line-height: 1.6 !important;
  margin-bottom: 0.5rem !important;
}

.mobile-slider #persian-slider .slider .slide .card .contact-info {
  gap: 0.75rem !important;
}

.mobile-slider #persian-slider .slider .slide .card .contact-card {
  border-radius: 8px !important;
  padding: 0.75rem !important;
}

.mobile-slider #persian-slider .slider .slide .card .contact-card h4 {
  font-size: clamp(14px, 3.5vw, 16px) !important;
  margin-bottom: 0.25rem !important;
}

.mobile-slider #persian-slider .slider .slide .card .contact-card p {
  font-size: clamp(12px, 3vw, 13px) !important;
  margin-bottom: 0.15rem !important;
  line-height: 1.3 !important;
}

/* Tablet Specific Overrides */
@media (min-width: 769px) and (max-width: 1024px) {
  #persian-slider .slider .slide .card .service-description > p {
    font-size: 1rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card {
    padding: 0.65rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card h4 {
    font-size: 0.85rem !important;
  }
  
  #persian-slider .slider .slide .card .contact-card p {
    font-size: 0.75rem !important;
  }
}

/* Hide images on first slide */
#persian-slider .slider .slide:first-child .media-wrap {
  display: none !important;
}

#persian-slider .slider .slide:first-child .media {
  display: none !important;
}

/* Force override any conflicting styles */
#persian-slider .slider .slide .card .service-description,
#persian-slider .slider .slide .card .contact-info,
#persian-slider .slider .slide .card .contact-card {
  all: unset;
  display: block;
}

#persian-slider .slider .slide .card .service-description {
  text-align: center !important;
  margin-bottom: 1.5rem !important;
}

#persian-slider .slider .slide .card .service-description > p {
  font-size: 1rem !important;
  line-height: 1.6 !important;
  color: #e5efff !important;
  margin: 0 0 0.75rem 0 !important;
  font-weight: 400 !important;
  display: block !important;
}

#persian-slider .slider .slide .card .contact-info {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.75rem !important;
  margin-top: 1rem !important;
}

#persian-slider .slider .slide .card .contact-card {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 8px !important;
  padding: 0.75rem !important;
  backdrop-filter: blur(5px) !important;
  -webkit-backdrop-filter: blur(5px) !important;
  display: block !important;
}

#persian-slider .slider .slide .card .contact-card h4 {
  font-size: 0.9rem !important;
  margin-bottom: 0.25rem !important;
  color: #22d3ee !important;
  font-weight: 600 !important;
  display: block !important;
}

#persian-slider .slider .slide .card .contact-card p {
  font-size: 0.8rem !important;
  margin-bottom: 0.15rem !important;
  line-height: 1.3 !important;
  color: #e5efff !important;
  display: block !important;
}
