/* General Knowledge Page Styles */
:root {
    --gk-gradient: linear-gradient(135deg, #4f46e5, #7c3aed);
    --odisha-color: #ff6b6b;
    --geography-color: #4ade80;
    --world-color: #3b82f6;
    --card-hover: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.gk-hero {
    background: var(--gk-gradient);
    padding: 8rem 2rem 4rem;
    text-align: center;
    color: white;
}

.gk-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    animation: slideDown 0.8s ease-out;
}

.gk-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeIn 1s ease-out 0.3s both;
}

/* Main Content */
.gk-content {
    padding: 4rem 0;
    background: var(--light-background);
}

/* Section Styles */
.gk-section {
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease-out;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.1);
}

.section-header i {
    font-size: 2rem;
    margin-right: 1rem;
}

.odisha-history .section-header i {
    color: var(--odisha-color);
}

.indian-geography .section-header i {
    color: var(--geography-color);
}

.world-affairs .section-header i {
    color: var(--world-color);
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-color);
}

/* Grid Layout */
.gk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Card Styles */
.gk-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.gk-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gk-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.gk-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    background: var(--light-background);
    transition: all 0.3s ease;
}

.odisha-history .card-icon {
    color: var(--odisha-color);
}

.indian-geography .card-icon {
    color: var(--geography-color);
}

.world-affairs .card-icon {
    color: var(--world-color);
}

.gk-card:hover .card-icon {
    transform: scale(1.1);
}

.card-icon i {
    font-size: 1.5rem;
}

.gk-card h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 1rem;
}

.gk-card ul {
    list-style: none;
    padding: 0;
}

.gk-card ul li {
    margin-bottom: 0.8rem;
}

.gk-card ul li a {
    color: var(--text-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.gk-card ul li a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.gk-card ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.gk-card ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

/* Animations */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .gk-hero h1 {
        font-size: 2.5rem;
    }

    .gk-grid {
        grid-template-columns: 1fr;
    }

    .section-header {
        flex-direction: column;
        text-align: center;
    }

    .section-header i {
        margin-right: 0;
        margin-bottom: 1rem;
    }
} 