/* Mobile Optimization */
@media (max-width: 767px) {
  /* General Spacing */
  .elementor-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Text Adjustments */
  h1.elementor-heading-title {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }
  
  h2.elementor-heading-title {
    font-size: 1.8rem !important;
    line-height: 1.3 !important;
    text-align: center !important;
  }
  
  h3.elementor-heading-title {
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    text-align: center !important;
  }
  
  h4.elementor-heading-title, h5.elementor-heading-title {
    font-size: 1.2rem !important;
    text-align: center !important;
  }

  .elementor-text-editor p {
    font-size: 1rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
  }
  
  /* Image Adjustments */
  .elementor-widget-image img {
    max-width: 100% !important;
    height: auto !important;
    margin: 0 auto;
    display: block;
  }
  
  /* Buttons */
  .elementor-button {
    width: 100%;
    justify-content: center;
  }
  
  /* Counters */
  .elementor-counter .elementor-counter-number-wrapper {
    font-size: 2rem !important;
  }
  
  .elementor-counter .elementor-counter-title {
    font-size: 1.1rem !important;
  }
  
  /* Columns Order Fix for reverse mobile */
  .elementor-reverse-mobile > .elementor-container {
    display: flex;
    flex-direction: column-reverse;
  }
  
  /* Grid gaps and margins */
  .elementor-column {
    margin-bottom: 20px;
  }
  
  /* Remove excessive padding on inner sections */
  .elementor-inner-section {
    padding: 0 !important;
  }
}

/* Tablet Optimization */
@media (min-width: 768px) and (max-width: 1024px) {
  .elementor-section {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
  
  h1.elementor-heading-title {
    font-size: 2.8rem !important;
  }
  
  h2.elementor-heading-title {
    font-size: 2.2rem !important;
  }
  
  .elementor-text-editor p {
    font-size: 1.1rem !important;
  }
}
