/* Responsive styles */

/* Large screens (desktops) */
@media (min-width: 1200px) {
  .container {
    padding: 0 2rem;
  }
}

/* Medium screens (tablets, less than 1200px) */
@media (max-width: 1199px) {
  .container {
    max-width: 960px;
  }
  
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small screens (tablets, less than 992px) */
@media (max-width: 991px) {
  .container {
    max-width: 720px;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-info {
    display: none;
  }
  
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra small screens (mobile phones, less than 768px) */
@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  h3 {
    font-size: 1.25rem;
  }
  
  .container {
    max-width: 540px;
  }
  
  header {
    padding: 0.75rem 0;
  }
  
  .main-nav {
    display: none;
  }
  
  .cta-button {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
    margin-right: 1rem;
  }
  
  #menu-toggle {
    display: none;
  }
  
  .mobile-menu-toggle label {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
  }
  
  .mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: var(--color-white);
    transition: all 0.3s ease;
  }
  
  #menu-toggle:checked ~ label span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  #menu-toggle:checked ~ label span:nth-child(2) {
    opacity: 0;
  }
  
  #menu-toggle:checked ~ label span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  .mobile-menu {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 0;
    background-color: var(--color-primary);
    overflow: hidden;
    transition: height 0.3s ease;
    z-index: 999;
  }
  
  #menu-toggle:checked ~ .mobile-menu {
    height: calc(100vh - 60px);
    overflow-y: auto;
  }
  
  .mobile-menu ul {
    padding: 2rem 0;
  }
  
  .mobile-menu li {
    text-align: center;
    padding: 1rem 0;
  }
  
  .mobile-menu a {
    font-size: 1.25rem;
  }
  
  .mobile-menu .cta-button {
    display: block;
    width: 80%;
    margin: 1rem auto;
    text-align: center;
  }
  
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 2rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .case-grid {
    grid-template-columns: 1fr;
  }
  
  .form-container {
    padding: 1.5rem;
  }
}

/* Very small screens (small mobile phones, less than 576px) */
@media (max-width: 575px) {
  .container {
    padding: 0 1rem;
  }
  
  .hero-content {
    padding: 1rem;
  }
  
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .about-text {
    padding: 1rem;
  }
  
  .value-item {
    flex: 1 0 100%;
  }
  
  .section-title {
    margin-bottom: 2rem;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
  }
  
  .footer-column {
    margin-bottom: 1.5rem;
  }
}
