/* ===== ADDITIONAL FIXES ===== */

/* Hero link style */
.hero-link {
  color: var(--secondary);
  text-decoration: none;
  border-bottom: 1px solid var(--secondary);
  transition: all var(--transition-fast);
}

.hero-link:hover {
  color: var(--secondary-light);
  border-bottom-color: var(--secondary-light);
}

/* Footer services - 2 columns for 8 services */
.footer-services-col {
  grid-column: span 1;
}

.footer-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
}

/* ===== MOBILE RESPONSIVE FIXES ===== */

/* Mobile navigation dropdown fix */
@media (max-width: 768px) {
  .nav.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: var(--white);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    max-height: 80vh;
    overflow-y: auto;
    z-index: 1000;
  }
  
  .nav.active .nav-dropdown {
    width: 100%;
  }
  
  .nav.active .nav-dropdown-content {
    position: static;
    display: none;
    background: var(--gray-50);
    box-shadow: none;
    padding: 10px 20px;
    margin-top: 5px;
    border-radius: 8px;
  }
  
  .nav.active .nav-dropdown.open .nav-dropdown-content {
    display: block;
  }
  
  .nav.active .nav-link {
    color: var(--gray-700);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  
  .nav.active .nav-dropdown-link {
    padding: 10px 0;
    display: block;
  }
  
  /* Hero mobile */
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
  }
  
  .hero-content {
    padding: 0 15px;
  }
  
  .hero h1 {
    font-size: 2rem;
    margin-bottom: 20px;
  }
  
  .hero-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 25px;
  }
  
  .hero-content .btn {
    padding: 14px 24px;
    font-size: 0.95rem;
  }
  
  /* Footer mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }
  
  .footer-services-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  
  /* Page header mobile */
  .page-header {
    padding: 100px 0 40px;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
  
  /* Section padding mobile */
  .section {
    padding: 50px 0;
  }
  
  /* Container padding mobile */
  .container {
    padding: 0 20px;
  }
  
  /* Buttons wrap on mobile */
  .hero-content > div[style*="flex"] {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-content .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.75rem;
  }
  
  .hero-content p {
    font-size: 0.95rem;
  }
  
  /* Team grid mobile */
  .team-grid-new {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  
  .team-card-name {
    font-size: 0.9rem;
  }
  
  .team-card-role {
    font-size: 0.8rem;
  }
  
  .team-section-title {
    font-size: 1.4rem;
  }
}

/* Fix for very small screens */
@media (max-width: 360px) {
  .team-grid-new {
    grid-template-columns: 1fr;
    max-width: 250px;
    margin: 0 auto;
  }
}
