/* About page specific styles */
@import url('style.css');

/* Add animation keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Page Header enhancements */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,0 100,100 0,100" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%;
    opacity: 0.3;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.policy-highlights {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.highlight-item {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    max-width: 250px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.highlight-item:hover {
    background-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.highlight-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: white;
}

.highlight-item p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

/* About content */
.about-content {
    padding: 4rem 0;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.about-text h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.about-text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #666;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.about-image {
    text-align: center;
    position: relative;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.about-image img {
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.02);
}

.image-placeholder {
    background-color: var(--light-gray);
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    color: var(--primary-color);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    animation: fadeInUp 0.8s ease 0.4s both;
}

.image-placeholder p {
    margin-top: 1rem;
    font-weight: 500;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    background: linear-gradient(135deg, var(--light-color) 0%, #e8f5e9 100%);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: fadeInUp 0.8s ease 0.6s both;
}

.stat-item {
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.stat-item p {
    color: #666;
    margin: 0;
    font-weight: 500;
}

/* Team section */
.team-section {
    padding: 4rem 0;
    background-color: var(--light-color);
    position: relative;
}

.team-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><circle cx="20" cy="20" r="3" fill="rgba(139, 195, 74, 0.1)"/><circle cx="80" cy="80" r="2" fill="rgba(139, 195, 74, 0.1)"/></svg>');
    background-size: 100px 100px;
}

.team-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
    animation: fadeInUp 0.8s ease;
}

.team-section h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 3px;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.team-member {
    text-align: center;
    background: white;
    border-radius: 12px;
    padding: 2rem 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #eee;
    opacity: 0;
    transform: translateY(20px);
}

.team-member.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.team-member::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.team-member:hover::before {
    transform: scaleX(1);
}

.member-image {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--light-color), #e8f5e9);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: transform 0.3s ease;
}

.team-member:hover .member-image {
    transform: scale(1.1);
    animation: pulse 1s infinite;
}

.team-member h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.member-title {
    color: #666;
    font-style: italic;
    margin-bottom: 1rem;
}

/* Copyright info */
.copyright-info {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.copyright-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.copyright-section h3,
.developer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #333;
    position: relative;
    padding-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease;
}

.copyright-section h3::after,
.developer-section h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.copyright-section p,
.developer-section p {
    margin-bottom: 1rem;
    color: #666;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-content {
        padding: 3rem 0;
    }
    
    .about-grid {
        gap: 2rem;
    }
    
    .about-text h2 {
        font-size: 1.7rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .team-section {
        padding: 3rem 0;
    }
    
    .team-section h2 {
        font-size: 1.7rem;
    }
    
    .copyright-info {
        padding: 3rem 0;
    }
    
    .policy-highlights {
        gap: 1rem;
    }
    
    .highlight-item {
        padding: 1rem;
        max-width: 100%;
    }
    
    .highlight-item h3 {
        font-size: 1.1rem;
    }
}