/* Our Team Page Styles */
@font-face {
  font-family: 'Wildstripe';
  src: url('Wildstripe.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Inter', sans-serif;
  margin: 0;
  padding: 0;
  background: #f5f8fb;
}

/* Hero Section */
.team-hero-section {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(7, 63, 82, 0.95) 0%, rgba(99, 183, 211, 0.9) 100%), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff" fill-opacity="0.1" points="0,1000 1000,0 1000,1000"/></svg>');
  background-size: cover;
  background-position: center;
  color: white;
  text-align: center;
  padding: 120px 20px 80px;
  position: relative;
  overflow: hidden;
}

.team-hero-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 188, 52, 0.2) 0%, rgba(235, 188, 52, 0) 70%);
  z-index: 0;
}

.team-hero-section::after {
  content: "";
  position: absolute;
  bottom: -80px;
  left: -80px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 135, 85, 0.15) 0%, rgba(232, 135, 85, 0) 70%);
  z-index: 0;
}

.team-hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.team-hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  margin-bottom: 20px;
  letter-spacing: -1px;
  line-height: 1.2;
}

.team-hero-accent {
  color: #EBBC34;
  font-family: 'Wildstripe', serif;
  position: relative;
  margin-right: 10px;
}

.team-hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Main Team Section */
.team-section {
    padding: 2px 0;
    background: linear-gradient(135deg, rgba(7, 63, 82, 0.02) 0%, rgba(99, 183, 211, 0.05) 100%);
    position: relative;
    overflow: hidden;
}

.team-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.team-header {
  text-align: center;
  margin-bottom: 60px;
}

.team-title {
  font-size: 2.8rem;
  font-weight: 400;
  color: #073F52;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-block;
}

.team-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: #EBBC34;
  border-radius: 2px;
}

.team-description {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 25px auto 0;
  line-height: 1.6;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  justify-content: center;
}

/* Team Cards */
.team-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(7, 63, 82, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 30px 35px;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
  border: 2px solid transparent;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(7, 63, 82, 0.15);
  border-color: rgba(235, 188, 52, 0.3);
}

.team-image-container {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 5px solid #63B7D3;
  margin-bottom: 25px;
  position: relative;
  box-shadow: 0 10px 20px rgba(99, 183, 211, 0.2);
}

.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.5s;
}

.team-card:hover .team-image {
  transform: scale(1.05);
}

.team-info {
  text-align: center;
  flex: 1;
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #073F52;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.3s;
}

.team-name:hover {
  color: #63B7D3;
}

.team-designation {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.4;
}

.team-social {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.team-social-link {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: linear-gradient(135deg, #073F52 0%, #63B7D3 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s;
  box-shadow: 0 5px 15px rgba(7, 63, 82, 0.2);
}

.team-social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(7, 63, 82, 0.3);
  background: linear-gradient(135deg, #EBBC34 0%, #E88755 100%);
}

/* Special styling for leader card (first card) */
.team-card:first-child {
  background: linear-gradient(135deg, rgba(235, 188, 52, 0.05) 0%, rgba(232, 135, 85, 0.05) 100%);
  border: 2px solid rgba(235, 188, 52, 0.2);
}

.team-card:first-child .team-image-container {
  border-color: #EBBC34;
  box-shadow: 0 15px 25px rgba(235, 188, 52, 0.3);
}

.team-card:first-child .team-name {
  color: #E88755;
}

/* Decorative Elements */
.team-card::before {
  content: "";
  position: absolute;
  top: -10px;
  right: -10px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(235, 188, 52, 0.6) 0%, rgba(235, 188, 52, 0) 70%);
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover::before {
  opacity: 1;
}

/* Responsive Styles */
@media (max-width: 1200px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .team-hero-section {
    min-height: 50vh;
    padding: 100px 15px 60px;
  }
  
  .team-hero-title {
    font-size: 2.5rem;
  }
  
  .team-hero-subtitle {
    font-size: 1.1rem;
  }
  
  .team-section {
    padding: 60px 0;
  }
  
  .team-title {
    font-size: 2.2rem;
  }
  
  .team-description {
    font-size: 1.1rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .team-card {
    padding: 30px 25px;
  }
  
  .team-image-container {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .team-hero-title {
    font-size: 2.2rem;
  }
  
  .team-card {
    padding: 25px 20px;
  }
  
  .team-image-container {
    width: 130px;
    height: 130px;
  }
  
  .team-name {
    font-size: 1.3rem;
  }
}

/* Animation Styles */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.team-card {
  animation: fadeInUp 0.6s ease-out;
}

.team-card:nth-child(2) { animation-delay: 0.1s; }
.team-card:nth-child(3) { animation-delay: 0.2s; }
.team-card:nth-child(4) { animation-delay: 0.3s; }
.team-card:nth-child(5) { animation-delay: 0.4s; }
.team-card:nth-child(6) { animation-delay: 0.5s; }




.erickson-hero-sectionx {
    background: url('teamwork1.png') no-repeat top center/cover !important;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-right: 5vw;
    padding-left: 5vw;
}
.erickson-hero-titlex {
    font-size: 4.5rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-align: center;
    font-family: 'Montserrat', Arial, sans-serif;
    width: 100%;
    color: #63b7d3;
}