
:root {
    --primary-color: #8e44ad;     
    --secondary-color: #9b59b6;  
    --accent-color: #e73c9d;      
    --light-pink: #f39c12;       
    --background-color: #f8f0fc; 
    --card-background-glass: rgba(255, 255, 255, 0.15); 
    --card-border-glass: rgba(255, 255, 255, 0.25);    
    --text-color: #333;          
    --muted-text-color: #555;    
    --member-name-color: #8e44ad; 
    --member-role-color: #9b59b6; 
    --social-icon-color: #8e44ad; 
    --social-icon-hover-color: #7d3c98; 
    --hero-gradient-start: rgba(142, 68, 173, 0.8);
    --hero-gradient-end: rgba(155, 89, 182, 0.6);
}

body {
    font-family: 'Vazir', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
    margin: 0;
    padding: 0;
    overflow-x: hidden; 
}

.hero-section {
    background: linear-gradient(135deg, var(--hero-gradient-start) 0%, var(--hero-gradient-end) 100%);
    color: white;
    padding: 80px 20px;
    text-align: center;
    border-radius: 15px; 
    margin-bottom: 60px;
    box-shadow: 0 10px 30px rgba(142, 68, 173, 0.2); 
    position: relative;
    overflow: hidden; 
}
.hero-section::before, .hero-section::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}
 .hero-section::before {
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
}
 .hero-section::after {
    bottom: -30px;
    right: -30px;
    width: 80px;
    height: 80px;
    animation-direction: reverse;
}

.hero-section h1 {
    font-size: 2.8em;
    font-weight: 700; 
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.4);
    position: relative; 
    z-index: 1;
}
.hero-section p {
    font-size: 1.2em;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 8px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

@keyframes float {
    0% { transform: translate(0, 0); }
    50% { transform: translate(-20px, 20px); }
    100% { transform: translate(0, 0); }
}


/* -- Styling for Team Cards -- */
.team-member-card {
    background-color: var(--card-background-glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--card-border-glass);
    border-radius: 20px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1); 
    padding: 35px;
    text-align: center;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%; 
}

.team-member-card:hover {
    transform: translateY(-10px) scale(1.02); 
    box-shadow: 0 15px 45px rgba(142, 68, 173, 0.25); 
}

.member-avatar {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 30px;
    border: 6px solid rgba(255, 255, 255, 0.5); 
    transition: border-color 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); 
}
.team-member-card:hover .member-avatar {
     border-color: var(--accent-color); 
}

.member-name {
    font-size: 1.7em; 
    font-weight: 700;
    color: var(--member-name-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.member-role {
    font-size: 1.15em; 
    color: var(--member-role-color);
    margin-bottom: 20px;
    font-style: normal; 
    position: relative;
    padding-bottom: 5px;
}
.member-role::after { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 2px;
    background: linear-gradient(to left, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.member-bio {
    font-size: 0.98em; 
    color: var(--muted-text-color);
    margin-bottom: 30px;
    flex-grow: 1; 
}

.member-social-links {
    margin-top: auto; 
}
.member-social-links a {
    color: var(--social-icon-color);
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s ease, transform 0.3s ease;
    display: inline-block; 
}
.member-social-links a:hover {
    color: var(--social-icon-hover-color);
    transform: translateY(-3px); 
}


.why-choose-us {
    background: linear-gradient(135deg, rgba(243, 229, 245, 0.8) 0%, rgba(255, 235, 240, 0.6) 100%); /* گرادیان صورتی-کرم */
    padding: 60px 30px;
    border-radius: 20px;
    margin-top: 60px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.15); 
    border: 1px solid rgba(155, 89, 182, 0.2);
}
.why-choose-us h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: 700;
    font-size: 2em;
}
.why-choose-us p {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: var(--text-color);
    line-height: 1.8;
}

/* --- Responsive  --- */

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 15px;
    }
    .hero-section h1 {
        font-size: 2em;
    }
    .hero-section p {
        font-size: 1em;
    }
    .why-choose-us {
        padding: 40px 20px;
        margin-top: 40px;
    }
    .why-choose-us h3 {
        font-size: 1.7em;
    }
}
