/* Phases 4-10: Comprehensive Features CSS */

/* Phase 4: Citizen Engagement */
.grievance-tracking-section {
    background: #f8f9fa;
    padding: 60px 0;
}

.grievance-form {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #ff9933;
}

.submit-btn {
    background: linear-gradient(135deg, #ff9933, #ff6b35);
    color: white;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 51, 0.4);
}

.talent-directory {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.talent-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.talent-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.talent-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.talent-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.talent-skill {
    color: #666;
    margin-bottom: 10px;
}

.talent-contact {
    color: #ff9933;
    font-weight: 600;
}

/* Phase 5: Culture & Heritage */
.heritage-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.heritage-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: all 0.3s;
}

.heritage-item:hover {
    transform: scale(1.05);
}

.heritage-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.heritage-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 30px 20px 20px;
    color: white;
}

.heritage-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.heritage-description {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Phase 6: Education & Youth */
.student-showcase {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 50px;
    border-radius: 20px;
    color: white;
    text-align: center;
}

.student-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin: 0 auto 20px;
    border: 5px solid #ffd700;
}

.student-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.student-achievement {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.youth-blog {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.blog-post {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: 25px;
}

.blog-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.blog-excerpt {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #999;
}

/* Phase 7: Environment */
.green-scoreboard {
    background: linear-gradient(135deg, #138808, #0a5c05);
    padding: 50px;
    border-radius: 20px;
    color: white;
}

.scoreboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.score-item {
    text-align: center;
    padding: 25px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.score-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.score-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.score-label {
    font-size: 1rem;
    opacity: 0.9;
}

.adopt-tree-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.tree-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.tree-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.tree-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #138808;
    margin-bottom: 10px;
}

.adopt-btn {
    background: #138808;
    color: white;
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.adopt-btn:hover {
    background: #0a5c05;
    transform: translateY(-2px);
}

/* Phase 8: Media & Gallery */
.video-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.video-item {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 250px;
    background-size: cover;
    background-position: center;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: rgba(255, 153, 51, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.play-overlay:hover {
    background: rgba(255, 153, 51, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.video-description {
    color: #666;
    font-size: 0.9rem;
}

/* Phase 9: Analytics & QR Codes */
.qr-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.qr-card {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.qr-code {
    width: 150px;
    height: 150px;
    margin: 0 auto 15px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.qr-service-name {
    font-weight: 700;
    color: #333;
    margin-bottom: 5px;
}

.qr-description {
    font-size: 0.85rem;
    color: #666;
}

.achievements-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.achievement-card {
    background: linear-gradient(135deg, #ff9933, #ff6b35);
    padding: 30px;
    border-radius: 16px;
    color: white;
    box-shadow: 0 8px 25px rgba(255, 153, 51, 0.3);
}

.achievement-rank {
    font-size: 3rem;
    font-weight: 700;
    opacity: 0.3;
}

.achievement-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.achievement-description {
    opacity: 0.9;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {

    .talent-directory,
    .heritage-gallery,
    .youth-blog,
    .scoreboard-grid,
    .adopt-tree-section,
    .video-gallery-grid,
    .qr-services,
    .achievements-showcase {
        grid-template-columns: 1fr;
    }

    .green-scoreboard,
    .student-showcase {
        padding: 30px 20px;
    }
}