/* Responsive Design */

/* Hover effect for card (disable on touch devices) */
@media (hover: hover) {
  .service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(255, 95, 31, 0.7);
  }
}

/* Hover effect for the image (desktop only) */
@media (hover: hover) {
  .service-card:hover .service-icon {
    transform: scale(1.05);
    border-radius: 21px;
  }
}

/* Ensure the link hover effect works (desktop only) */
@media (hover: hover) {
  .service-card-link:hover .service-card {
    transform: translateY(-10px);
    box-shadow: 0 6px 16px rgba(255, 95, 31, 0.4);
  }
}

/* Mobile Nav */
@media (max-width: 768px) {
  /* Header */
  header {
    background-color: rgba(0, 0, 0, 0.9);
  }
  /* Hide navigation links by default */
  #nav-links {
    display: none;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.9);
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    z-index: 99;
    padding: 10px 0;
  }

  /* Display menu toggle (hamburger icon) */
  .menu-toggle {
    display: block;
  }

  /* Show the navigation links when the menu is active */
  #nav-links.show {
    display: flex;
  }

  header nav ul li {
    margin: 15px 0;
    text-align: center;
  }

  header nav ul li a {
    font-size: 1.3em;
    padding: 15px;
  }

  /* Slogan */
  .slogan {
    font-size: 2em;
  }

  /* Call now button */
  .call-now-button {
    font-size: 1.3em;
    padding: 12px 20px;
  }

  /* Image background */
  #phi {
    height: 70vh;
    background-position: center;
  }

  /* Services */

  .service-card {
    padding: 15px 10px 20px;
    border-radius: 16px;
    transform: none;
    box-shadow: 0 2px 8px rgba(255, 95, 31, 0.2);
  }

  .service-card h3 {
    font-size: 1.4em;
    min-height: auto;
    margin-bottom: 10px;
  }

  .service-card p {
    font-size: 1em;
    min-height: auto;
    padding: 0 5px;
  }

  .service-icon {
    border-radius: 9px;
    margin-bottom: 10px;
  }

  /* Insight */

  .insight h2 {
    margin-top: 100px;
  }

  .insight p {
    font-size: 1.1em;
    max-width: auto;
  }

  /* Testimonials */
  .testimonials h2 {
    font-size: 2em;
  }

  .testimonial-card {
    padding: 20px;
  }

  /* Location */
  .location h2 {
    font-size: 2em;
  }

  /* Map container */
  .map-container {
    width: 100%;
  }

  /* Contact form */
  .contact-form h2 {
    font-size: 2em;
  }

  /* Input fields */
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    width: 100%;
    padding: 11px;
    font-size: 1em;
  }

  /* FAQ Section */
  .faq-section h2 {
    font-size: 2em;
  }

  .faq-question {
    font-size: 1.1em;
    padding: 12px;
  }

  /* Blog Section */
  .blog-section h2 {
    font-size: 2.5em;
  }

  /* Confirmation Section */
  .confirmation h2 {
    font-size: 2em;
  }
}
