/* --- Responsive Styles --- */

/* Tablet Screens */
@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  .section-title {
    font-size: 2.5rem;
  }
}

/* Mobile Screens */
@media (max-width: 768px) {
  .main-nav ul {
    display: none; /* Hide nav by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%; /* Position below the header */
    left: 0;
    width: 100%;
    background-color: var(--white-color);
    box-shadow: var(--shadow);
    padding: 5px 0;
   gap: 10px;
  }
  .main-nav ul.active {
    display: flex; /* Show when hamburger is clicked */
  }
  .main-nav ul li {
    margin: 5px 0;
    width: 100%;
    text-align: center;
    
  }
  .menu-toggle {
    display: flex; /* Show hamburger icon */
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    cursor: pointer;
  }
  .menu-toggle .bar {
    height: 3px;
    width: 100%;
    background: var(--primary-color);
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
  }
  .menu-toggle.is-active .bar:nth-child(1) {
    transform: rotate(45deg) translate(7px, 6px);
  }
  .menu-toggle.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.is-active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }
  .hero-content p {
    font-size: 1.1rem;
  }
  section {
    padding: 60px 0;
  }
}
