/* About Page Specific Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #0a3d52 100%);
    color: var(--white);
    padding: 120px 0 80px;
    text-align: center;
}

.page-title {
    font-size: 3rem;
    color: var(--accent-yellow);
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* Vision & Mission */
.vision-mission {
    padding: 80px 0;
    background-color: var(--white);
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.vision-card,
.mission-card,
.values-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.vision-card::before,
.mission-card::before,
.values-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-yellow), var(--primary-dark-blue));
}

.vision-card:hover,
.mission-card:hover,
.values-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow);
    border-color: var(--accent-yellow);
}

.card-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-yellow), #d4d61a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(224, 226, 29, 0.3);
}

.card-icon i {
    font-size: 2rem;
    color: var(--primary-dark-blue);
}

.vision-card h3,
.mission-card h3,
.values-card h3 {
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vision-card p,
.mission-card p {
    color: var(--gray);
    line-height: 1.7;
}

.values-card ul {
    list-style: none;
    padding: 0;
    text-align: right;
}

.values-card li {
    color: var(--gray);
    margin-bottom: 0.8rem;
    position: relative;
    padding-right: 1.5rem;
}

.values-card li::before {
    content: '✓';
    position: absolute;
    right: 0;
    color: var(--accent-yellow);
    font-weight: bold;
    font-size: 1.1rem;
}

/* Statistics */
.statistics {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-dark-blue) 0%, #0a3d52 100%);
    color: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-item:hover {
    transform: translateY(-5px);
    background-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-yellow);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--white);
    font-weight: 500;
}

/* Team Sections */
.team-section {
    padding: 80px 0;
    background-color: var(--white);
}

.team-section:nth-child(even) {
    background-color: var(--off-white);
}

.section-title {
    text-align: center;
    color: var(--primary-dark-blue);
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 2.5rem;
}

.section-title i {
    color: var(--accent-yellow);
    font-size: 2rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.staff-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border: 2px solid transparent;
    height: 350px;
    display: flex;
    flex-direction: column;
}


.staff-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
}

.staff-icon {
    color: #000;
    font-size: 4rem;
}



.staff-content {
    padding: 1.5rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.staff-name {
    color: var(--primary-dark-blue);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.staff-title {
    color: var(--gray);
    font-size: 0.9rem;
    margin: 0;
}

/* Contact CTA */
.contact-cta {
    padding: 80px 0;
    background-color: var(--white);
    text-align: center;
    
}

.cta-content h2 {
    color: var(--primary-dark-blue);
    margin-bottom: 1rem;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-content h2 i {
    color: var(--primary-dark-blue);
    font-size: 2.5rem;
}

.cta-content p {
    color: var(--black);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-content .btn-whatsapp {
    background-color: var(--accent-yellow);
    color: var(--primary-dark-blue);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 2px solid var(--accent-yellow);
}

.cta-content .btn-whatsapp:hover {
    background-color: var(--primary-dark-blue);
    color: var(--accent-yellow);
    border-color: var(--primary-dark-blue);
    transform: translateY(-2px);
}

/* Animation for team cards */
.staff-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.staff-card:nth-child(1) { animation-delay: 0.1s; }
.staff-card:nth-child(2) { animation-delay: 0.2s; }
.staff-card:nth-child(3) { animation-delay: 0.3s; }
.staff-card:nth-child(4) { animation-delay: 0.4s; }
.staff-card:nth-child(5) { animation-delay: 0.5s; }
.staff-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation for vision cards */
.vision-card,
.mission-card,
.values-card {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.vision-card { animation-delay: 0.1s; }
.mission-card { animation-delay: 0.2s; }
.values-card { animation-delay: 0.3s; }

/* Animation for statistics */
.stat-item {
    opacity: 0;
    transform: scale(0.8);
    animation: scaleIn 0.6s ease forwards;
}

.stat-item:nth-child(1) { animation-delay: 0.1s; }
.stat-item:nth-child(2) { animation-delay: 0.2s; }
.stat-item:nth-child(3) { animation-delay: 0.3s; }
.stat-item:nth-child(4) { animation-delay: 0.4s; }

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1rem;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
    }
    
    .vision-card,
    .mission-card,
    .values-card {
        padding: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .staff-icon {
        font-size: 4rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-content h2 i {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .vision-mission {
        padding: 60px 0;
    }
    
    .statistics {
        padding: 60px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .team-section {
        padding: 60px 0;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .staff-content {
        padding: 1rem;
    }
    
    .staff-icon {
        font-size: 3.5rem;
    }
    
    .contact-cta {
        padding: 60px 0;
    }
    
    .cta-content h2 {
        font-size: 1.8rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .cta-content h2 i {
        font-size: 1.8rem;
    }
    
    .values-card ul {
        text-align: center;
    }
    
    .values-card li {
        text-align: center;
        padding-right: 1.5rem; /* keep space for check on the right */
        padding-left: 0;
    }
    
    .values-card li::before {
        right: 0; /* place the checkmark on the right */
        left: auto;
    }
    
    .vision-card,
    .mission-card,
    .values-card {
        padding: 1.5rem;
    }
    
    .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .card-icon i {
        font-size: 1.5rem;
    }
}

/* Hover effects for team cards */
.staff-card {
    position: relative;
    overflow: hidden;
}

.staff-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(224, 226, 29, 0.1), transparent);
    transition: left 0.5s;
    z-index: 1;
}

.staff-card:hover::before {
    left: 100%;
}

.staff-content {
    position: relative;
    z-index: 2;
}

/* Special styling for management team */
.team-section:first-of-type .staff-card {
    border: 2px solid var(--accent-yellow);
    box-shadow: 0 5px 15px rgba(224, 226, 29, 0.2);
}

.team-section:first-of-type .staff-card:hover {
    box-shadow: 0 10px 25px rgba(224, 226, 29, 0.3);
}
