/* Responsive design styles for the Lovable website */

/* Hide any loading screens */
.security-loader, .loader, .page-loader, .preloader {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

/* Footer styling fixes */
#footer .footer-section:nth-child(4) .footer-header {
  border-bottom: none !important;
}

#footer .footer-section:nth-child(4) .location,
#footer .footer-section:nth-child(4) .phone {
  border-top: none !important;
  border-bottom: none !important;
}

/* Override any border in the copyright section */
#footer .copyright {
  border-top: none !important;
}

/* Responsive design improvements */
@media (max-width: 1200px) {
  .features-container {
    padding: 0 20px;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .timeline-container {
    padding: 0 20px;
  }
  
  .security-resources .resources-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  /* Timeline responsive adjustments */
  .timeline-header__title {
    font-size: 1.8rem;
  }
  
  .timeline-header__subtitle {
    font-size: 1rem;
  }
  
  .timeline-item {
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content h2 {
    font-size: 1.8rem !important;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  /* Hide timeline completely on mobile */
  .timeline-container {
    display: none !important;
  }
  
  /* Other mobile adjustments */
  .terminal-container {
    overflow-x: auto;
  }
  
  .terminal-content {
    white-space: pre-wrap;
    word-break: break-word;
  }
  
  .security-resources .resources-grid {
    grid-template-columns: 1fr;
  }
  
  .explore-blogs-section .new-blog-card {
    height: auto;
  }
  
  #rotating-blog-cards .col-lg-4 {
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.8rem;
  }
  
  .hero-content h2 {
    font-size: 1.5rem !important;
  }
  
  .hero-content p {
    font-size: 0.9rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .feature-card {
    padding: 15px;
  }
  
  .feature-card h3 {
    font-size: 1.2rem;
  }
  
  /* Timeline small screen adjustments */
  .timeline-header__title {
    font-size: 1.3rem;
  }
  
  .timeline-header__subtitle {
    font-size: 0.85rem;
  }
  
  .timeline__content-title {
    font-size: 1.1rem;
  }
  
  .timeline__content-desc-new strong {
    font-size: 0.9rem;
  }
  
  .timeline-features-list {
    padding-left: 15px;
  }
  
  .timeline-features-list li {
    font-size: 0.8rem;
  }
  
  /* Other small screen adjustments */
  .terminal-container {
    margin: 0 10px;
  }
  
  .terminal-content {
    font-size: 12px;
  }
  
  .buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .buttons button, .buttons a {
    width: 100%;
    margin-bottom: 10px;
  }
}
