/* Guidelines Page Styles */
.guidelines-hero {
    padding: 140px 0 60px;
    background: url('../images/31.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    position: relative;
}

.guidelines-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
    z-index: 1;
    animation: heroGlow 4s ease-in-out infinite;
}

.guidelines-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.guidelines-section {
    padding: 5rem 0;
    background: #f8fafc;
}

.section-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.section-description {
    font-size: 1.1rem;
    color: #374151;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

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

.guideline-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    animation: fadeInUp 0.6s ease-out;
}

.guideline-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.15);
}

.guideline-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.guideline-icon i {
    font-size: 2rem;
    color: white;
}

.guideline-content {
    padding: 1.5rem;
    flex: 1;
}

.guideline-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}

.guideline-description {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.guideline-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.file-size, .file-type {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    background: #f1f5f9;
    color: #64748b;
}

.file-type {
    background: #dbeafe;
    color: #2563eb;
    font-weight: 500;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #4c4c4d 0%, #151515 100%);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.download-btn i {
    font-size: 1rem;
}

.cta-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #1e293b 0%, #475569 100%);
    color: white;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.cta-section p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-btn {
    background: white;
    color: #1e293b;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}
.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroGlow {
    0% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        opacity: 0.3;
    }
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.pagination-btn {
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
    min-width: 40px;
    text-align: center;
}

.pagination-btn:hover,
.pagination-btn.active {
    background: linear-gradient(135deg, #4c4c4d 0%, #151515 100%);
    color: #fff;
    border-color: transparent;
    transform: translateY(-2px);
}

.pagination-btn.disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
    border-color: #cbd5e1;
}

.pagination-btn.disabled:hover {
    background: #f1f5f9;
    color: #94a3b8;
    transform: none;
}

/* Responsive */
@media (max-width: 768px) {
    .guidelines-hero {
        padding: 120px 0 40px;
    }

    .guidelines-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .guideline-card {
        flex-direction: column;
    }

    .guideline-icon {
        min-width: 100%;
        padding: 1.5rem;
    }

    .cta-section h2 {
        font-size: 1.5rem;
    }

    .cta-section p {
        font-size: 1rem;
    }
    
    .pagination {
        gap: 0.5rem;
        flex-wrap: wrap;
    }
    
    .pagination-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .pagination-btn.disabled {
        background: #f1f5f9;
        color: #94a3b8;
        cursor: not-allowed;
        border-color: #cbd5e1;
    }

    .pagination-btn.disabled:hover {
        background: #f1f5f9;
        color: #94a3b8;
        transform: none;
    }
}