/* RESPONSIVE.CSS - OPTIMUM TECHNOLOGIES PORTFOLIO WEBSITE */

@media (max-width: 1024px) {
  header {
    padding: 15px 5%;
  }
  header.sticky {
    padding: 10px 5%;
  }
  section {
    padding: 50px 5%;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .about-grid, .contact-grid {
    gap: 30px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px;
  }
}

@media (max-width: 768px) {
  /* Navigation Menu Toggle */
  .mobile-nav-toggle {
    display: flex;
    z-index: 101;
  }
  
  /* Mobile menu drawer */
  nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    transition: var(--transition-normal);
    z-index: 100;
  }
  nav.active {
    right: 0;
  }
  .mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero Section */
  #hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 30px;
  }
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 20px;
  }
  .hero-desc {
    margin: 0 auto 30px;
    font-size: 1rem;
  }
  .hero-buttons {
    justify-content: center;
    gap: 12px;
  }
  .hero-illustration {
    margin: 20px auto 0;
    max-width: 280px;
    height: 280px;
  }
  
  section {
    padding: 40px 5%;
  }

  /* About Section */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Development Process Timeline */
  .process-timeline::before {
    left: 20px;
  }
  .process-step {
    width: 100%;
    justify-content: flex-start !important;
    padding-left: 45px;
    margin-left: 0 !important;
  }
  .process-dot {
    left: 12px !important;
    right: auto !important;
  }
  .process-card {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  /* Contact Section */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
  }
  .section-title {
    font-size: 2rem;
  }
  .about-blocks {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-form-card {
    padding: 25px;
  }
}
