/* Anulog Power and Data Solutions Limited - Responsive Stylesheet */

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .hero {
    height: 50vh;
  }
  
  .hero h1 {
    font-size: 2.2rem;
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .header-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .logo {
    margin-bottom: 1rem;
  }
  
  .logo img {
    max-height: 40px;
  }
  
  nav ul {
    flex-direction: column;
    text-align: center;
  }
  
  nav ul li {
    margin: 0.5rem 0;
  }
  
  .hero {
    height: 40vh;
    text-align: center;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero {
    height: 35vh;
  }
  
  .logo img {
    max-height: 35px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .section-title h2 {
    font-size: 1.6rem;
  }
  
  .service-card {
    padding: 1.2rem;
  }
  
  .contact-form {
    padding: 1.5rem;
  }
}

/* Mobile Menu Styles */
@media (max-width: 767.98px) {
  .menu-toggle {
    display: block;
    position: absolute;
    top: 1rem;
    right: 1rem;
  }
  
  nav {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  
  nav.active {
    max-height: 300px;
  }
  
  .header-container {
    flex-direction: column;
    align-items: flex-start;
  }
}
