/* 
* Tech Wolf - Responsive CSS
* Ensures site works well on all devices
*/

/* Mobile Navigation (Tablet & Mobile) */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    z-index: 1001;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    flex-direction: column;
    background-color: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(12px);
    text-align: center;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    transition: left 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-item {
    margin: 15px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mission-values {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .hero-content-left {
    text-align: center;
  }

  .hero-cta-left,
  .hero-trust-row {
    justify-content: center;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .video-player-frame {
    height: 440px;
  }

  .video-overlay-content {
    padding: 25px 20px 15px;
  }

  .video-Dynamic-title {
    font-size: 1.4rem;
  }
}

/* Mobile First Approach */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }
  
  h1,
  .hero-title,
  .page-title {
    font-size: 2rem;
  }
  
  h2,
  .section-title {
    font-size: 1.8rem;
  }

  .hero-subtitle {
    font-size: 1.15rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
  }
  
  .section {
    padding: 3rem 0;
  }
  
  .hero {
    height: auto;
    min-height: 100vh;
    padding: 6rem 0 3rem;
  }
  
  .ecosystem-graphic {
    transform: scale(0.6);
    margin: -4rem 0;
  }
  
  .services-grid,
  .features-grid,
  .values-grid,
  .stats-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .wolf-canvas-wrapper {
    height: 330px;
  }

  .wolf-stage-footer {
    flex-direction: column;
    gap: 5px;
    text-align: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    bottom: 20px;
    right: 20px;
  }
  
  .service-page-header {
    padding: 6rem 0 3rem;
  }
  
  .service-content,
  .about-story,
  .contact-form,
  .cta {
    padding: 2rem 1.25rem;
  }
  
  .service-features {
    grid-template-columns: 1fr;
  }
  
  .service-steps {
    padding-left: 1rem;
  }
  
  .service-step {
    padding-left: 2rem;
  }
  
  .service-step::before {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 0.9rem;
    left: -15px;
  }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
  
  h1,
  .hero-title {
    font-size: 2.5rem;
  }
  
  .section {
    padding: 4rem 0;
  }
  
  .ecosystem-graphic {
    transform: scale(0.8);
    margin: -2rem 0;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .service-features {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Small Desktop */
@media (min-width: 769px) and (max-width: 992px) {
  h1 {
    font-size: 3rem;
  }
  
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large Desktop */
@media (min-width: 993px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .service-features {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Specific Adjustments for Service Pages */
.service-page-header {
  background: linear-gradient(135deg, rgba(13, 17, 23, 0.9), rgba(22, 27, 34, 0.9));
  padding: 10rem 0 5rem;
  position: relative;
  overflow: hidden;
}

.service-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--accent-color) 1px, transparent 1px),
    radial-gradient(var(--accent-color-secondary) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: 0 0, 15px 15px;
  opacity: 0.1;
}

.service-title-large {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.service-content {
  background-color: var(--card-bg);
  padding: 3rem;
  border-radius: 12px;
  margin-top: -3rem;
  position: relative;
  z-index: 2;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.service-features {
  display: grid;
  gap: 2rem;
  margin: 3rem 0;
}

.service-feature {
  background: var(--secondary-color);
  padding: 2rem;
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
}

.service-feature:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border-color: var(--accent-color);
}

.service-feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 1.5rem;
}

.service-steps {
  list-style: none;
  position: relative;
  padding-left: 2rem;
  margin: 3rem 0;
}

.service-steps::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-color), var(--accent-color-secondary));
}

.service-step {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.service-step::before {
  content: attr(data-step);
  position: absolute;
  left: -20px;
  top: 0;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-color), var(--accent-color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
}

.service-faq {
  max-width: 800px;
  margin: 3rem auto;
}

.faq-question:hover {
  color: var(--accent-color);
}

.service-cta {
  margin: 4rem 0 2rem;
  text-align: center;
}
