@import url(https://fonts.googleapis.com/css?family=Poppins:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins',sans-serif;
}

:root {
  --primary-color: #a78bfa;
  --primary-dark: #8b5cf6;
  --primary-light: #c4b5fd;
  --primary-gradient: linear-gradient(135deg, #a78bfa, #8b5cf6);
  --bg-dark: #1a1a1a;
  --text-light: #f3f4f6;
  --text-gray: #9ca3af;
  --card-bg: #252525;
  --card-hover: #2e2e2e;
  --border-radius: 12px;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
  --border-light: rgba(255, 255, 255, 0.05);
  --bg-overlay: rgba(255, 255, 255, 0.1);
  --text-dark: #000;
  --shadow-color-primary: rgba(139, 92, 246, 0.3);
  --shadow-color-primary-hover: rgba(139, 92, 246, 0.4);
}

body{
    background-color: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex; 
    justify-content: center;
    align-items: center;
    padding: 50px 15px;
    line-height: 1.6;
}

.container{
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

header{
    text-align: center;
    margin-bottom: 60px;
}

header h1{
    font-size: 2.7rem;
    margin-bottom: 15px;
    background: linear-gradient(90deg,var(--primary-color),var(--primary-light));
    background-clip: text;
    color: transparent;
    display: inline-block;
    position: relative;
}

header h1::after{
    content: "";
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--primary-gradient);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
}

header p{
    color: var(--text-gray);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    margin-top: 20px;
}

.team-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(200px,1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.team-card{
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.team-card:hover{
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.team-card:hover .profile-bg{
    transform: scale(1.1);
}

.card-top{
    position: relative;
    padding-top: 70px;
    padding-bottom: 30px;
    text-align: center;
    z-index: 1;
}

.profile-bg{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: var(--primary-gradient);
    z-index: -1;
    transition: transform 0.4s ease;
}

.profile-img{
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid var(--card-bg);
    position: relative;
}

.profile-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-card:hover .profile-img img{
    transform: scale(1.1);
}

.card-top h3{
    font-size: 1.4rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.role{
    color: var(--primary-color);
    font-size: 0.95rem;
    font-weight: 500;
}

.card-bottom{
    padding: 20px 25px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
}

.bio{
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 25px;
    flex-grow: 1;
    line-height: 1.6;
}

.social-links{
    display: flex;
    gap: 15px;
    justify-content: center;
}

.social-icon{
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    text-decoration: none;
    background-color: var(--bg-overlay);
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-icon:hover{
    background-color: var(--primary-color);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.team-cta{
    text-align: center;
    margin-top: 30px;
    padding: 40px;
    background-color: var(--bg-overlay);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.team-cta::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    background: var(--primary-gradient);
    width: 100%;
    height: 5px;
}

.team-cta h2{
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-light);
}

.team-cta p{
    color: var(--text-gray);
    max-width: 500px;
    margin: 0 auto 25px;
}

.cta-button{
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-gradient);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 30px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 5px 15px var(--shadow-color-primary);
}

.cta-button:hover{
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--shadow-color-primary-hover);
}

@media (max-width:768px){
    header{
        margin-bottom: 40px;
    }
    header h1{
        font-size: 2.2rem;
    }
    .team-grid{
        gap: 20px;
    }
    .team-cta{
        padding: 30px 20px;
    }
    .team-cta h2{
        font-size: 1.5rem;
    }
}
