/* ===== TOKENGEN AI - RESPONSIVE STYLES ===== */

/* Mobile First Approach */

/* Extra Small devices (phones, 576px and down) */
@media (max-width: 575.98px) {
  /* No animations on mobile as per requirements */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  /* Typography adjustments */
  .display-4 {
    font-size: 2rem;
  }
  
  h1, .h1 {
    font-size: 2rem;
  }
  
  h2, .h2 {
    font-size: 1.75rem;
  }
  
  .lead {
    font-size: 1rem;
  }
  
  /* Navbar brand smaller on mobile */
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  /* Button adjustments */
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  /* Hero section */
  #hero {
    min-height: 100vh;
    padding: 2rem 0;
  }
  
  /* Card adjustments */
  .card-body {
    padding: 1.5rem;
  }
  
  /* Gallery images */
  #gallery img {
    height: 150px;
  }
  
  /* Team photos */
  #team_1, #team_2, #team_3, #team_4, #team_5 {
    width: 120px;
    height: 120px;
  }
  
  /* Section padding */
  section {
    padding: 2rem 0;
  }
  
  /* Timeline adjustments */
  .timeline-item {
    padding-left: 2rem;
  }
  
  .timeline-item::before {
    left: 15px;
  }
  
  /* Contact form */
  .form-control,
  .form-select {
    padding: 0.625rem 0.875rem;
  }
  
  /* Footer */
  footer {
    text-align: center;
  }
  
  footer .row > div {
    margin-bottom: 2rem;
  }
  
  /* Space section */
  #space {
    padding: 2rem 0;
    min-height: calc(100vh - 140px);
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
  /* No animations on mobile as per requirements */
  [data-sal] {
    opacity: 1 !important;
    transform: none !important;
  }
  
  .display-4 {
    font-size: 2.25rem;
  }
  
  h1, .h1 {
    font-size: 2.25rem;
  }
  
  .navbar-brand {
    font-size: 1.375rem !important;
  }
  
  #gallery img {
    height: 175px;
  }
  
  #team_1, #team_2, #team_3, #team_4, #team_5 {
    width: 130px;
    height: 130px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
  .display-4 {
    font-size: 2.375rem;
  }
  
  h1, .h1 {
    font-size: 2.375rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem !important;
  }
  
  /* Gallery adjustments */
  #gallery img {
    height: 180px;
  }
  
  /* Team photos */
  #team_1, #team_2, #team_3, #team_4, #team_5 {
    width: 140px;
    height: 140px;
  }
  
  /* Hero section adjustment */
  #hero {
    padding: 2.5rem 0;
  }
  
  /* Section padding */
  section {
    padding: 2.5rem 0;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Full typography sizes */
  .display-4 {
    font-size: 2.5rem;
  }
  
  /* Gallery adjustments */
  #gallery img {
    height: 190px;
  }
  
  /* Team photos */
  #team_1, #team_2, #team_3, #team_4, #team_5 {
    width: 150px;
    height: 150px;
  }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  /* Gallery adjustments */
  #gallery img {
    height: 200px;
  }
  
  /* Team photos */
  #team_1, #team_2, #team_3, #team_4, #team_5 {
    width: 150px;
    height: 150px;
  }
  
  /* Enhanced spacing for large screens */
  section {
    padding: 4rem 0;
  }
  
  .hero {
    padding: 4rem 0;
  }
}

/* Navigation responsive adjustments */
@media (max-width: 991.98px) {
  .navbar-collapse {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #E2E8F0;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 0;
    text-align: center;
  }
}

/* Card responsive adjustments */
@media (max-width: 767.98px) {
  .card-img-top {
    height: 180px;
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .card-img-top {
    height: 190px;
  }
}

/* Form responsive adjustments */
@media (max-width: 575.98px) {
  .row.g-3 > * {
    margin-bottom: 1rem;
  }
  
  .btn-lg {
    width: 100%;
  }
}

/* Hero responsive layout */
@media (max-width: 991.98px) {
  #hero .row > div:first-child {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  #hero .row > div:last-child {
    text-align: center;
  }
}

/* Timeline responsive */
@media (max-width: 767.98px) {
  .timeline-item {
    padding-left: 1.5rem;
  }
  
  .timeline-item::before {
    left: 10px;
  }
  
  .timeline-item .rounded-circle {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
}

/* Contact info responsive */
@media (max-width: 767.98px) {
  .contact-info {
    text-align: center;
    margin-bottom: 2rem;
  }
}

/* Blog grid responsive */
@media (max-width: 575.98px) {
  #blog_grid .col-lg-4 {
    margin-bottom: 2rem;
  }
}

/* Services grid responsive */
@media (max-width: 575.98px) {
  .services .row > div {
    margin-bottom: 1.5rem;
  }
}

/* Features responsive */
@media (max-width: 767.98px) {
  .features .d-flex {
    text-align: center;
    flex-direction: column;
  }
  
  .features .d-flex i {
    margin-bottom: 1rem;
    margin-right: 0 !important;
  }
}

/* Stats/metrics responsive */
@media (max-width: 575.98px) {
  .display-4 {
    font-size: 2.5rem;
  }
  
  .stats .col-md-6 {
    margin-bottom: 2rem;
  }
}

/* Space page responsive */
@media (max-width: 575.98px) {
  #space h1 {
    font-size: 2rem;
  }
  
  #space .lead {
    font-size: 1rem;
  }
}

/* Additional page responsive */
@media (max-width: 767.98px) {
  .additional-page section {
    padding: 2rem 0;
  }
  
  .additional-page .card-body {
    padding: 1.5rem;
  }
}

/* Accessibility responsive */
@media (max-width: 575.98px) {
  .skip-link {
    left: 4px;
    right: 4px;
    text-align: center;
  }
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  footer,
  [data-sal] {
    display: none !important;
  }
  
  body {
    color: #000 !important;
    background: #fff !important;
  }
  
  .container {
    max-width: none !important;
  }
} 
/* Disable horizontal scroll on desktop resolutions */
@media (min-width: 992px) {
    html, body {
        overflow-x: hidden;
        max-width: 100%;
    }
}
