/*
 Theme Name:   Astra Child
 Theme URI:    https://wpastra.com/
 Description:  Child theme for Astra
 Author:       Your Name
 Author URI:   https://yourwebsite.com
 Template:     astra
 Version:      1.0.0
*/
/* === MOBILE & TABLET OPTIMIZATION === */
@media only screen and (max-width: 1024px) {
  /* Hero section */
  .hero {
    height: auto !important;
    padding: 40px 20px !important;
    text-align: center !important;
  }
  .hero h1 {
    font-size: 2.2rem !important;
  }
  .hero p {
    font-size: 1rem !important;
  }
  .hero a {
    padding: 10px 20px !important;
    font-size: 0.95rem !important;
  }

  /* Services grid */
  #services div[style*="grid-template-columns"] {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
  }
  #services h3 {
    font-size: 1.1rem !important;
  }
  #services p {
    font-size: 0.95rem !important;
  }

  /* FAQ section */
  #faq button {
    font-size: 0.95rem !important;
    padding: 12px !important;
  }
  #faq div > div {
    font-size: 0.9rem !important;
  }

  /* Testimonials */
  .testimonials blockquote {
    font-size: 0.95rem !important;
    padding: 15px !important;
  }

  /* Footer adjustments */
  footer div[style*="flex"] {
    flex-direction: column !important;
    gap: 15px !important;
  }
  footer h4 {
    font-size: 1rem !important;
  }
  footer p, footer li {
    font-size: 0.85rem !important;
  }

  /* Buttons */
  a, button {
    font-size: 0.95rem !important;
    padding: 10px 15px !important;
  }
}

/* Extra small phones */
@media only screen and (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem !important;
  }
  .hero p {
    font-size: 0.9rem !important;
  }
  .hero a {
    font-size: 0.9rem !important;
    padding: 8px 15px !important;
  }
  #services div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
  #faq button {
    font-size: 0.9rem !important;
  }
  #faq div > div {
    font-size: 0.85rem !important;
  }
  .testimonials blockquote {
    font-size: 0.9rem !important;
    padding: 12px !important;
  }
}