body {
box-sizing: border-box;
font-family: 'B Yekan', sans-serif;
}

.color-font{
color: #07004c;
}

.hero-bg {
background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
position: relative;
overflow: hidden;
}

.hero-bg::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="1" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="0.5" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.05"/><circle cx="90" cy="90" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>') repeat;
animation: float 20s linear infinite;
}

.timeline-line {
position: absolute;
left: 50%;
top: 0;
bottom: 0;
width: 4px;
background: linear-gradient(to bottom, #667eea, #764ba2);
transform: translateX(-50%);
}

.timeline-dot {
position: absolute;
left: 50%;
width: 20px;
height: 20px;
background: white;
border: 4px solid #667eea;
border-radius: 50%;
transform: translateX(-50%);
transition: all 0.3s ease;
}

.timeline-dot.active {
background: #667eea;
box-shadow: 0 0 20px rgba(102, 126, 234, 0.5);
transform: translateX(-50%) scale(1.2);
}

.timeline-card {
opacity: 0;
transform: translateX(-50px);
transition: all 0.8s ease;
}

.timeline-card.animate {
opacity: 1;
transform: translateX(0);
}

.timeline-card.right {
transform: translateX(50px);
}

.timeline-card.right.animate {
transform: translateX(0);
}

.value-card {
transition: all 0.3s ease;
cursor: pointer;
}

.value-card:hover {
transform: translateY(-10px);
box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.value-description {
overflow: hidden;
transition: max-height 0.3s ease;
}

.value-card:hover .value-description {
max-height: 100px;
}

.team-card {
cursor: pointer;
transition: all 0.3s ease;
position: relative;
overflow: hidden;
}

.team-card:hover {
transform: translateY(-5px);
box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.team-overlay {
position: absolute;
bottom: 0;
left: 0;
right: 0;
background: linear-gradient(transparent, rgba(0,0,0,0.8));
color: white;
padding: 1.5rem;
transform: translateY(20px);
transition: transform 0.3s ease;
}

.team-card:hover .team-overlay {
transform: translateY(0);
}

.cert-logo {
filter: grayscale(100%);
transition: all 0.3s ease;
cursor: pointer;
}

.cert-logo:hover {
filter: grayscale(0%);
transform: scale(1.1);
}

.modal {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
z-index: 1000;
justify-content: center;
align-items: center;
}

.modal.active {
display: flex;
}

.modal-content {
background: white;
padding: 2rem;
border-radius: 15px;
max-width: 500px;
width: 90%;
max-height: 80vh;
overflow-y: auto;
position: relative;
}

.lightbox {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0,0,0,0.9);
z-index: 2000;
justify-content: center;
align-items: center;
}

.lightbox.active {
display: flex;
}

.lightbox img {
max-width: 90%;
max-height: 90%;
border-radius: 10px;
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(30px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

@keyframes slideInLeft {
from {
    opacity: 0;
    transform: translateX(-50px);
}
to {
    opacity: 1;
    transform: translateX(0);
}
}

@keyframes slideInRight {
from {
    opacity: 0;
    transform: translateX(50px);
}
to {
    opacity: 1;
    transform: translateX(0);
}
}

@keyframes float {
0%, 100% { transform: translateY(0px) rotate(0deg); }
50% { transform: translateY(-20px) rotate(180deg); }
}

.scroll-indicator {
position: absolute;
bottom: 2rem;
left: 50%;
transform: translateX(-50%);
animation: float 2s ease-in-out infinite;
}


/*کارت های معرفی*/

.container {
max-width: 1200px;
margin: 0 auto;
padding: 40px 20px;
}

.section-header {
text-align: center;
margin-bottom: 60px;
}

.section-title {
font-size: 2.5rem;
font-weight: 700;
color: #07004c;
margin-bottom: 16px;
letter-spacing: -0.02em;
}

.section-subtitle {
font-size: 1.2rem;
font-weight: 300;
color: #666;
max-width: 600px;
margin: 0 auto;
}

.team-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
gap: 32px;
margin-top: 40px;
}

.card-wrapper {
position: relative;
}

.team-card {
background: #07004c;
border-radius: 12px;
overflow: hidden;
box-shadow: 0 4px 20px rgba(7, 0, 76, 0.08);
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
position: relative;
cursor: pointer;
width: 100%;
max-width: 380px;
margin: 0 auto;
}

.team-card:hover {
transform: translateY(-12px);
box-shadow: 0 20px 40px rgba(7, 0, 76, 0.15);
}

.card-image-container {
position: relative;
width: 100%;
height: 380px;
overflow: hidden;
}

.card-image {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-card:hover .card-image {
transform: scale(1.1);
}

.card-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(7, 0, 76, 0.7), rgba(7, 0, 76, 0.5));
opacity: 1;
transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
z-index: 2;
}

.team-card:hover .card-overlay {
opacity: 0;
}

.image-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(135deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
opacity: 0;
transition: opacity 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
z-index: 1;
}

.team-card:hover .image-overlay {
opacity: 1;
}

.social-links {
position: absolute;
right: 20px;
top: 50%;
transform: translateY(-50%) translateX(20px);
display: flex;
flex-direction: column;
gap: 12px;
opacity: 0;
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
z-index: 3;
}

.team-card:hover .social-links {
opacity: 1;
transform: translateY(-50%) translateX(0);
}

.social-link {
width: 44px;
height: 44px;
background: rgba(255, 255, 255, 0.9);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #07004c;
text-decoration: none;
transition: all 0.3s ease;
backdrop-filter: blur(10px);
}

.social-link:nth-child(1) {
transition-delay: 0.1s;
}

.social-link:nth-child(2) {
transition-delay: 0.15s;
}

.social-link:nth-child(3) {
transition-delay: 0.2s;
}

.social-link:hover {
background: #07004c;
color: white;
transform: scale(1.1);
}

.card-content {
padding: 24px;
text-align: center;
background: #07004c;
border-radius: 50%;
box-shadow: 0 4px 20px rgba(7, 0, 76, 0.3);
transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);

}

.team-card:hover .card-content {
box-shadow: 0 8px 32px rgba(7, 0, 76, 0.5);
}

.member-name {
font-size: 1.4rem;
font-weight: 700;
color: #ffffff;
margin-bottom: 8px;
letter-spacing: -0.01em;
}

.member-position {
font-size: 1rem;
font-weight: 400;
color: rgba(255, 255, 255, 0.8);
margin-bottom: 0;
    }

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 30px 16px;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1.1rem;
    }

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 24px;
    }

    .card-image-container {
        height: 280px;
    }

    .team-card:hover {
        transform: translateY(-8px);
    }

    .social-links {
        gap: 10px;
    }

    .social-link {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .card-content {
        padding: 20px;
    }

    .member-name {
        font-size: 1.2rem;
    }

    .member-position {
        font-size: 0.9rem;
    }
}

/* Icon styles */
.icon {
    width: 25px;
    height: 25px;
    fill: currentColor;
}





/**/


/* استایل‌های سفارشی */
.bg-sal {
    border: 2px solid #07004c;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(7, 0, 76, 0.1);
    color: #07004c;
}

.color-font {
    color: #1e3a8a;
}

/* استایل‌های هدر */
.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-link:hover {
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.05);
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: rgba(59, 130, 246, 0.05);
    transform: translateX(-5px);
}

.cta-button {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #374151;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

/* تایم‌لاین */
.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #667eea, #764ba2);
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    border: 4px solid white;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    z-index: 10;
}

.timeline-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.timeline-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* کارت‌های تیم */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card-wrapper {
    background: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-image-container {
    position: relative;
    overflow: hidden;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-wrapper:hover .card-overlay {
    opacity: 1;
}

.social-links {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    gap: 1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.card-wrapper:hover .social-links {
    opacity: 1;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: #3b82f6;
    transform: scale(1.1);
}

.icon {
    width: 20px;
    height: 20px;
    fill: #374151;
}

.social-link:hover .icon {
    fill: white;
}

.card-content {
    padding: 1.5rem;
    text-align: center;
}

.member-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.member-position {
    color: #6b7280;
    font-size: 0.875rem;
}

/* فوتر */
.french-blue {
    background-color: #1e3a8a;
}

.footer-link {
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

.trust-badge {
    background: linear-gradient(135deg, #ebfffd 0%, #d1f7f4 100%);
}

/* انیمیشن‌ها */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* استایل‌های ریسپانسیو */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        padding: 1rem;
        gap: 1.5rem;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 1rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* استایل‌های ترجمه */
.lang-switch {
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background-color: rgba(59, 130, 246, 0.1);
}