/* TIM PAGE SPECIFIC STYLES */
.tim-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 120px 20px 80px;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
  margin-top: 60px;
}

.tim-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/background-pattern.png') repeat;
  opacity: 0.05;
}

.tim-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tim-hero p {
  font-size: 1.2rem;
  opacity: 0.9;
  position: relative;
  z-index: 2;
  font-weight: 300;
}

.tim-content {
  padding: 60px 0;
  background-color: #f5f8fb;
  min-height: 60vh;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.team-card {
  background-color: var(--secondary-color);
  color: var(--white);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  text-align: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.team-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.team-card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 15px 30px rgba(0,0,0,0.4);
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
  border: 3px solid var(--accent-color);
}

.team-card h3 {
  font-size: 18px;
  margin-bottom: 5px;
}

.team-card p {
  font-size: 14px;
  opacity: 0.85;
}

/* RESPONSIVE STYLES */
@media (max-width: 1024px) {
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .tim-hero {
    padding: 100px 20px 60px;
  }
  
  .tim-hero h1 {
    font-size: 2rem;
  }
  
  .tim-hero p {
    font-size: 1rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .team-card {
    padding: 20px;
  }
  
  .team-card img {
    width: 120px;
    height: 120px;
  }
}

@media (max-width: 576px) {
  .tim-hero h1 {
    font-size: 1.8rem;
  }
  
  .team-card {
    padding: 15px;
  }
  
  .team-card img {
    width: 100px;
    height: 100px;
  }
  
  .team-card h3 {
    font-size: 16px;
  }
  
  .team-card p {
    font-size: 13px;
  }
}