/* Achievements Page Specific Styles */

.achievements-hero {
    background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.achievements-hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Biography Section */
.biography-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.bio-timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: 100px;
}

.bio-timeline::before {
    content: '';
    position: absolute;
    left: 80px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.bio-item {
    position: relative;
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-start;
}

.bio-item .year {
    position: absolute;
    left: -100px;
    width: 70px;
    text-align: right;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.125rem;
}

.bio-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 5px;
    width: 12px;
    height: 12px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
}

.bio-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    flex: 1;
}

.bio-content h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.bio-content p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Government Service Section */
.government-section {
    padding: 4rem 0;
    background: white;
}

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

.service-card {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.service-year {
    display: inline-block;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Achievements Section */
.achievements-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.achievement-category {
    margin-bottom: 4rem;
}

.category-title {
    font-size: 1.75rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

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

.stat-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-light);
    line-height: 1.4;
}

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

.innovation-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.innovation-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.innovation-card ul {
    list-style: none;
}

.innovation-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-light);
}

.innovation-card li::before {
    content: '🌟';
    position: absolute;
    left: 0;
}

/* Awards Grid */
.awards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.award-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    border-top: 4px solid var(--primary-color);
    transition: transform 0.3s;
}

.award-card.gold {
    border-top-color: #ffd700;
    background: linear-gradient(135deg, #fffef5 0%, #fff9e6 100%);
}

.award-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.award-year {
    display: inline-block;
    background: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.award-card h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.award-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Patriotic Section */
.patriotic-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe0cc 100%);
}

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

.contribution-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.contribution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.contribution-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.contribution-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.75rem;
}

.contribution-card p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Videos Section */
.videos-section {
    padding: 4rem 0;
    background: var(--background-light);
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.125rem;
}

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

.video-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.video-card:hover {
    transform: translateY(-5px);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-card h3 {
    padding: 1rem 1.5rem 0.5rem;
    color: var(--secondary-color);
}

.video-card p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-light);
}

/* Testimonials Section */
.testimonials-section {
    padding: 4rem 0;
    background: white;
}

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

.testimonial-card {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 10px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
}

.testimonial-card p {
    color: var(--text-dark);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-card cite {
    color: var(--text-light);
    font-style: normal;
    font-weight: 600;
}

/* Why Matters Section */
.why-matters-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

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

.matter-point {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--success-color);
}

.matter-point h3 {
    color: var(--success-color);
    margin-bottom: 0.75rem;
}

.matter-point p {
    color: var(--text-light);
    line-height: 1.6;
}

/* Video Placeholder Styles */
.video-placeholder {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
}

.placeholder-content {
    text-align: center;
    padding: 2rem;
}

.play-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.placeholder-content h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.placeholder-content p {
    color: var(--text-dark);
    font-weight: 500;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
}

.video-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recommendation-card {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 10px;
}

.recommendation-card h4 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.recommendation-card ul {
    list-style: none;
}

.recommendation-card li {
    padding: 0.5rem 0;
    color: var(--text-light);
    border-bottom: 1px solid var(--border-color);
}

.recommendation-card li:last-child {
    border-bottom: none;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bio-timeline {
        padding-left: 40px;
    }

    .bio-timeline::before {
        left: 20px;
    }

    .bio-item .year {
        position: static;
        margin-bottom: 0.5rem;
        text-align: left;
    }

    .bio-item::before {
        left: -36px;
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .matters-content {
        grid-template-columns: 1fr;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .achievements-hero h1 {
        font-size: 1.75rem;
    }
}