/* ===========================
   employees.css
   Team Member Cards
   =========================== */

/* Hero Section for Team */
.team-hero {
  text-align: center;
  padding: 140px 20px 80px;
  background: linear-gradient(135deg, rgba(13,17,23,0.85) 0%, rgba(26,86,219,0.75) 100%), 
              url('https://images.unsplash.com/photo-1556761175-b413da4baf72?w=1920&q=80') center/cover no-repeat fixed;
  position: relative;
  overflow: hidden;
  color: white;
}

.team-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(26,86,219,0.3) 0%, transparent 50%),
              radial-gradient(circle at 70% 50%, rgba(201,162,39,0.2) 0%, transparent 50%);
  animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13,17,23,0.7) 0%, rgba(13,17,23,0.4) 100%);
  z-index: 1;
}

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

.team-hero .section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9a227;
  margin-bottom: 16px;
  padding: 8px 20px;
  background: rgba(201,162,39,0.15);
  border: 1px solid rgba(201,162,39,0.3);
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.team-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.team-hero h1 em {
  font-style: italic;
  color: #c9a227;
}

.team-hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.9);
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* Founder Message Section */
.founder-message-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 100%);
}

.founder-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-tag-small {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #1a56db;
  margin-bottom: 12px;
  padding: 6px 16px;
  background: rgba(26,86,219,0.1);
  border: 1px solid rgba(26,86,219,0.2);
  border-radius: 50px;
}

.founder-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #0d1117;
  margin: 0;
}

.founder-content-wrapper {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 50px;
  align-items: start;
}

.founder-profile-card {
  background: white;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.1);
  text-align: center;
  position: sticky;
  top: 100px;
}

.founder-image-wrapper {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 30px;
}

.founder-initials {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a56db 0%, #3b82f6 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  font-weight: 900;
  color: white;
  z-index: 1;
}

.founder-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 2;
  opacity: 0.9;
}

.founder-info {
  margin-bottom: 20px;
}

.founder-name {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  font-weight: 700;
  color: #0d1117;
  margin: 0 0 10px;
}

.founder-title {
  font-size: 18px;
  font-weight: 600;
  color: #1a56db;
  margin: 0 0 25px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.founder-credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #f8fafc;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #334155;
}

.credential-item .icon {
  font-size: 18px;
}

.founder-bio {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.founder-bio p {
  font-size: 16px;
  line-height: 1.9;
  color: #334155;
  margin: 0 0 20px;
}

.founder-quote {
  margin-top: 30px;
  padding: 25px 30px;
  background: linear-gradient(135deg, rgba(26,86,219,0.05) 0%, rgba(201,162,39,0.05) 100%);
  border-left: 4px solid #c9a227;
  border-radius: 0 10px 10px 0;
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-style: italic;
  color: #0d1117;
  line-height: 1.7;
}

/* Team Wrap */
.team-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 20px 100px;
  background: transparent;
}

/* Employee Grid */
.employees {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

/* Card */
.employee-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid #f1f5f9;
  position: relative;
}

.employee-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #1a56db, #3b82f6, #1a56db);
  background-size: 200% 100%;
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.employee-card:hover::before {
  transform: scaleX(1);
}

.employee-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(26,86,219,0.15);
}

/* Image Wrapper */
.emp-image-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  overflow: hidden;
  background: #f8fafc;
}

.emp-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.employee-card:hover .emp-image-wrap img {
  transform: scale(1.1);
}

/* Emp Info */
.emp-info {
  padding: 25px 20px;
  text-align: center;
  background: white;
}

.emp-name {
  font-size: 20px;
  font-weight: 700;
  color: #0d1117;
  margin-bottom: 8px;
  line-height: 1.3;
}

.emp-position {
  font-size: 14px;
  font-weight: 600;
  color: #1a56db;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 992px) {
  .founder-content-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .founder-profile-card {
    position: static;
    max-width: 400px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .team-hero {
    padding: 100px 20px 60px;
  }

  .team-hero h1 {
    font-size: 32px;
  }

  .team-hero p {
    font-size: 15px;
  }

  .founder-message-section {
    padding: 50px 20px;
  }

  .founder-bio {
    padding: 25px;
  }

  .founder-quote {
    font-size: 16px;
    padding: 20px;
  }

  .employees {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
  }

  .emp-name {
    font-size: 18px;
  }

  .emp-position {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .team-hero {
    padding: 80px 15px 50px;
  }

  .team-hero h1 {
    font-size: 28px;
  }

  .employees {
    grid-template-columns: 1fr;
  }
}