/* Tablets - up to 1024px */
@media (max-width: 1024px) {
  .site-header .container {
    gap: 20px;
  }

  .site-header nav {
    gap: 15px;
  }

  .about-us .check-list {
    gap: 8px 18px;
    width: 100%;
  }

  .site-footer .footer-widgets {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    padding: 0 40px;
  }
}
@media (max-width: 991px) {
  section {
    padding: 40px 0;
  }
  .site-header .container {
    flex-wrap: wrap;
    align-items: center;
    position: relative;
    gap: 6px;
  }

  .site-header nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 40vh;
    padding: 20px;
    gap: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  .site-header nav.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .site-header .buttons {
    width: 100%;
    justify-content: center;
  }

  .hero-banner .container {
    grid-template-columns: 2fr 1fr;
  }

  .pricing-section {
    height: auto;
    padding-top: 50px;
    margin-bottom: 50px;
  }

  .pricing-section .heading-2 {
    width: 70%;
    font-size: 22px;
    margin-bottom: 25px;
  }

  .pricing-section .tab-navigation {
    width: 200px;
    padding: 3px 5px;
  }

  .pricing-section .pricing-cards {
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 25px;
  }

  .pricing-section .pricing-cards .card {
    padding: 20px;
    gap: 22px;
  }

  .pricing-section .card .price {
    width: 90%;
    font-size: 14px;
  }

  .pricing-section .card ul li {
    font-size: 14px;
  }

  .site-footer .footer-widgets .widget h4 {
    margin-bottom: 18px;
  }
  .site-footer .footer-widgets .widget ul li:not(:last-child) {
    margin-bottom: 8px;
  }
}

/* Medium Devices - up to 768px */
@media (max-width: 768px) {
  section {
    padding: 35px 0;
  }
  .section-with-visuals {
    flex-wrap: wrap;
  }
  .section-with-visuals .content,
  .section-with-visuals .stacked-images {
    width: 100%;
  }
  .section-heading {
    flex-wrap: wrap;
    text-align: left;
    justify-content: flex-start;
    gap: 10px;
    padding-bottom: 18px;
    margin-bottom: 28px;
  }
  .section-heading h2,
  .heading-2 {
    margin-bottom: 10px;
    font-size: 30px;
    line-height: 38px;
  }
  .site-header nav {
    flex-wrap: wrap;
    gap: 12px;
  }

  .hero-banner {
    padding: 40px 0 40px 0;
    margin-bottom: 0;
  }
  .hero-banner h1 {
    font-size: 34px;
    line-height: 38px;
  }
  .hero-banner .banner-content .buttons {
    margin-top: 20px;
  }
  .hero-banner .container {
    gap: 0;
  }
  .cta .btn-primary {
    margin-top: 20px;
  }
  .team .experts-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .team .card figure {
    height: 250px;
  }

  .team .card .card-body {
    padding: 12px;
  }

  .team .card-body h3 {
    font-size: 16px;
    line-height: 20px;
  }

  .pricing-section {
    height: auto;
    padding-top: 40px;
  }

  .pricing-section .heading-2 {
    width: 100%;
    font-size: 20px;
    line-height: 1.4;
    margin-bottom: 20px;
  }

  .pricing-section .tab-navigation {
    padding: 2px 4px;
  }

  .pricing-section .pricing-cards {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 20px;
  }

  .pricing-section .pricing-cards .card {
    width: 100%;
    padding: 18px;
    gap: 18px;
  }

  .pricing-section .card span {
    font-size: 14px;
  }

  .pricing-section .card .price {
    width: 100%;
    padding: 12px 20px;
    font-size: 13px;
  }

  .pricing-section .card .price strong {
    font-size: 18px;
  }

  .pricing-section .card ul {
    padding-left: 18px;
  }

  .pricing-section .card ul li {
    font-size: 13px;
    margin-bottom: 15px;
  }

  .pricing-section .card .booking-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

  .site-footer .footer-widgets {
    grid-template-columns: 1fr 1fr;
    padding: 0 30px;
  }
}

/* Small Devices - up to 576px */
@media (max-width: 576px) {
  .heading-2 {
    width: 100%;
  }
  section {
    padding: 30px 0;
  }
  .site-header .logo {
    font-size: 18px;
  }

  .hero-banner .container {
    grid-template-columns: 1fr;
  }
  .hero-banner .banner-content {
    padding-right: 0;
    width: 100%;
  }
  .hero-banner h1 {
    font-size: 30px;
    line-height: 34px;
  }

  .team .experts-cards {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .team .card figure {
    height: 200px;
  }

  .team .card .card-body {
    padding: 12px;
  }

  .team .card-body h3 {
    font-size: 14px;
    line-height: 18px;
  }

  .team .social-media-icons {
    gap: 12px;
  }
  .about-us .check-list {
    gap: 8px;
  }

  .pricing-section .pricing-cards {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 60px 0 15px 0;
  }

  .site-footer .footer-widgets {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
    width: 100%;
  }

  .site-footer .footer-widgets .widget input[type="submit"] {
    width: 100%;
    max-width: none;
  }
}

/* Extra Small Devices - up to 400px */
@media (max-width: 400px) {
  .section-heading h2,
  .heading-2 {
    font-size: 26px;
    line-height: 32px;
  }
  .site-header nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .site-header .buttons button {
    width: 100%;
  }
  .site-header .buttons {
    flex-direction: column;
    gap: 10px;
  }

  .site-footer .footer-widgets {
    gap: 25px;
    padding: 0 15px;
  }

  .site-footer .footer-bottom p {
    font-size: 13px;
  }
}
