/* Mobile First Responsive CSS */

/* Base mobile styles */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

/* Navigation for mobile */
.navbar-toggler {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  cursor: pointer;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

@media (max-width: 991.98px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    z-index: 999;
    border-radius: 0 0 0.5rem 0.5rem;
  }
  
  .navbar-nav {
    flex-direction: column;
  }
  
  .nav-item {
    margin-bottom: 0.5rem;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .hero-section {
    text-align: center;
    padding-top: 120px;
  }
  
  .hero-title {
    font-size: 2.2rem;
  }
  
  .hero-subtitle {
    font-size: 1.1rem;
  }
  
  .about-title, .services-title, .features-title, .priceplan-title, 
  .team-title, .reviews-title, .coreinfo-title, .contact-title, .blog-title {
    font-size: 2rem;
  }
  
  .service-card, .review-card, .price-card {
    padding: 20px;
  }
  
  .service-icon, .feature-icon, .coreinfo-icon {
    width: 60px;
    height: 60px;
    font-size: 1rem;
  }
  
  .team-image {
    width: 150px;
    height: 150px;
  }
  
  .footer-column {
    margin-bottom: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom-links {
    margin-top: 15px;
    justify-content: center;
  }
  
  .footer-bottom-links a {
    margin: 0 10px;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  .hero-title {
    font-size: 2.8rem;
  }
  
  .hero-subtitle {
    font-size: 1.3rem;
  }
  
  .about-title, .services-title, .features-title, .priceplan-title, 
  .team-title, .reviews-title, .coreinfo-title, .contact-title, .blog-title {
    font-size: 2.2rem;
  }
  
  .footer-column {
    margin-bottom: 30px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .nav-item {
    margin-left: 1rem;
  }
}

/* Graph neural network specialized responsive styles */
@media (max-width: 767.98px) {
  .network-visualization {
    height: 300px;
  }
  
  .network-node {
    width: 15px;
    height: 15px;
  }
}

/* Additional page responsive styles */
@media (max-width: 767.98px) {
  .inner-page-hero {
    padding-top: 120px;
    padding-bottom: 60px;
  }
  
  .inner-page-title {
    font-size: 2rem;
  }
  
  .section {
    padding: 50px 0;
  }
}

/* Print styles */
@media print {
  header, footer, .contact-form, .btn {
    display: none !important;
  }
  
  body {
    background-color: white;
    color: black;
    font-size: 12pt;
  }
  
  a {
    color: black;
    text-decoration: underline;
  }
  
  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
    margin: 0;
  }
  
  .col-print-12 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* Prefers reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  
  .fade-in {
    opacity: 1;
    transform: none;
  }
  
  .network-node {
    animation: none !important;
  }
  
  .blob-1, .blob-2 {
    animation: none !important;
  }
} 