/* Study Guide Page - Academic Professional Theme */

.page-header {
    text-align: center;
    padding: 60px 20px 40px;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    color: white;
}

.page-header h1 {
    font-size: 44px;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 18px;
    opacity: 0.9;
}

/* Subjects Section */
.subjects-section {
    padding: 60px 20px;
}

.subject-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.subject-card {
    background: white;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    border: 3px solid #e5e7eb;
    transition: var(--transition);
    cursor: pointer;
}

.subject-card:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.15);
}

.subject-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.subject-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #1f2937;
}

.subject-card p {
    color: #6b7280;
    margin-bottom: 25px;
    font-size: 14px;
}

.btn-study {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.btn-study:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
}

/* Guide Accordion */
.guide-accordion {
    margin-bottom: 60px;
    padding: 0 20px;
}

.guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e5e7eb;
}

.guide-header h2 {
    color: #1f2937;
    margin: 0;
}

.btn-close {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #6b7280;
    transition: var(--transition);
}

.btn-close:hover {
    color: #1f2937;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
}

.accordion-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.accordion-header {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header::after {
    content: '▼';
    transition: transform 0.3s;
    font-size: 14px;
}

.accordion-header.active::after {
    transform: rotate(180deg);
}

.accordion-header:hover {
    background: linear-gradient(135deg, #e5e7eb 0%, #f3f4f6 100%);
}

.accordion-content {
    padding: 20px;
    background: white;
    display: none;
    animation: slideDown 0.3s ease;
}

.accordion-content.active {
    display: block;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.accordion-content h4 {
    color: #1f2937;
    margin-bottom: 15px;
    margin-top: 0;
}

.accordion-content ul {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.accordion-content li {
    padding: 8px 0;
    padding-left: 20px;
    position: relative;
    color: #4b5563;
    line-height: 1.6;
}

.accordion-content li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.accordion-content p {
    color: #4b5563;
    line-height: 1.8;
    margin: 15px 0;
}

.accordion-content strong {
    color: #1f2937;
}

/* Quick Reference */
.quick-ref {
    background: linear-gradient(135deg, #f3f4f6 0%, #ffffff 100%);
    padding: 60px 20px;
    border-radius: 12px;
    margin: 60px 20px 0;
}

.quick-ref h3 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 40px;
    color: #1f2937;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.tip-card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    transition: var(--transition);
}

.tip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.tip-card h4 {
    color: #1f2937;
    margin-bottom: 10px;
    font-size: 18px;
}

.tip-card p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .page-header h1 {
        font-size: 32px;
    }

    .subject-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .accordion-header {
        padding: 15px;
        font-size: 16px;
    }

    .accordion-content {
        padding: 15px;
    }

    .quick-ref {
        margin: 40px 0;
        padding: 40px 20px;
    }

    .quick-ref h3 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 24px;
    }

    .subject-grid {
        grid-template-columns: 1fr;
    }

    .subject-card {
        padding: 25px 15px;
    }

    .guide-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-close {
        align-self: flex-end;
    }

    .accordion-header {
        font-size: 15px;
    }

    .accordion-content {
        padding: 12px;
    }

    .accordion-content h4 {
        font-size: 16px;
    }

    .quick-ref {
        padding: 30px 15px;
    }

    .quick-ref h3 {
        font-size: 20px;
    }

    .tip-card {
        padding: 15px;
    }

    .tip-card h4 {
        font-size: 16px;
    }
}
