/* Responsive Styles */

/* Tablets and smaller desktops */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.2rem;
  }
  
  .portal-title {
    font-size: 2.2rem;
  }
}

/* Mobile devices */
@media (max-width: 900px) {
  /* Mobile navigation */
  .mobile-toggle {
    display: flex;
  }
  
  /* Remove the closed class styling since we're using visibility and opacity */
  .mobile-closed .nav-links {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
  }
  
  .nav-links {
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    border-radius: 0 0 10px 10px;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  
  .mobile-open .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  
  .nav-link, .btn {
    width: 100%;
    text-align: center;
    padding: 0.7rem;
    margin: 0.3rem 0;
  }
  
  /* Hero section */
  .hero {
    flex-direction: column;
    padding: 3rem 5%;
  }
  
  .hero-content {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .hero-logo {
    justify-content: center;
  }
  
  .hero-image {
    max-width: 100%;
    width: 100%;
    max-height: 350px;
  }
  
  .hero-image img {
    max-height: 350px;
    object-position: center;
  }
  
  /* Portal section */
  .portal-buttons {
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .portal-buttons .btn {
    width: 80%;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-info {
    text-align: center;
    margin: 0 auto;
  }
  
  .footer-logo {
    justify-content: center;
  }
  
  .footer-links {
    text-align: center;
    margin-bottom: 1.5rem;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  .logo img {
    height: 40px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .section-title, .portal-title {
    font-size: 1.8rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .portal-buttons .btn {
    width: 100%;
  }
  
  .hero-logo img {
    height: 45px;
  }
  
  .hero-text {
    font-size: 1rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
}