/* ==========================================================================
   PROPTRAIL GLOBAL — RESPONSIVENESS & ANIMATIONS (responsive.css)
   ========================================================================== */

/* Keyframe Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile Drawer Overlay */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(15, 11, 36, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1500;
  display: none;
}

.mobile-drawer.show {
  display: flex;
  justify-content: flex-end;
  animation: fadeIn 0.2s ease-out;
}

.mobile-drawer-content {
  width: min(320px, 85vw);
  background: #ffffff;
  height: 100%;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-elevated);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.mobile-nav-link {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text-main);
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--brand-primary);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .industry-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .steps-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .journey-grid {
    grid-template-columns: 1fr;
  }
  .register-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .header-actions .btn-join-ptg {
    display: none;
  }
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  .steps-container {
    grid-template-columns: 1fr;
  }
  .stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .search-filter-bar {
    flex-direction: column;
  }
  .category-select {
    width: 100%;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .industry-grid {
    grid-template-columns: 1fr;
  }
  .hub-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
  .stats-strip {
    grid-template-columns: 1fr 1fr;
  }
  .hero-section {
    padding: 3rem 0 3.5rem;
  }
  .modal-card {
    padding: 1.5rem;
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
