/* Auto-extracted from resources/views/academics/index.blade.php */

.academics-tabs {
        max-width: 1200px;
        margin: 0 auto 32px;
        padding: 0 20px;
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
    }

    .tab-btn {
        padding: 14px 28px;
        border: 1px solid #2971b7;
        border-radius: 12px;
        background: white;
        color: #2971b7;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none;
        display: inline-block;
        font-size: 15px;
        text-align: center;
    }

    .tab-btn.active {
        background: #2971b7;
        color: white;
        box-shadow: 0 4px 15px rgba(41, 113, 183, 0.3);
    }

    .tab-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 10px rgba(41, 113, 183, 0.2);
        text-decoration: none;
        color: #2971b7;
    }

    .tab-btn.active:hover {
        color: white;
    }

    .academics-content-area {
        width: 100%;
        max-width: 100%;
    }

    .programs-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }

    .program-card {
        background: #fff;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        border: 1px solid #f0f0f0;
    }

    .program-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.1);
    }

    .program-card-image {
        height: 200px;
        overflow: hidden;
    }

    .program-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s ease;
    }

    .program-card:hover .program-card-image img {
        transform: scale(1.05);
    }

    .program-card-content {
        padding: 22px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .program-card-stream {
        font-size: 12px;
        color: #2971b7;
        font-weight: 700;
        text-transform: uppercase;
        margin-bottom: 8px;
        letter-spacing: 1px;
    }

    .program-card-title {
        font-size: 18px;
        font-weight: 700;
        color: #1a1a1a;
        margin-bottom: 12px;
        line-height: 1.4;
    }

    .program-card-desc {
        font-size: 14px;
        color: #666;
        line-height: 1.6;
        margin-bottom: 16px;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .program-card-footer {
        margin-top: auto;
    }

    .know-more-btn {
        display: inline-block;
        padding: 10px 22px;
        background: #2971b7;
        color: white;
        text-decoration: none;
        border-radius: 50px;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .know-more-btn:hover {
        background: #1e5a9a;
        color: white;
        text-decoration: none;
    }

    .syllabus-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .doc-card-link {
        text-decoration: none;
        color: inherit;
        display: block;
        min-width: 0;
    }

    .doc-card {
        background: white;
        padding: 18px;
        border-radius: 15px;
        border: 1px solid #eee;
        display: flex;
        align-items: center;
        gap: 16px;
        transition: all 0.3s ease;
        min-width: 0;
    }

    .doc-card:hover {
        border-color: #2971b7;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    .doc-icon {
        width: 64px;
        height: 80px;
        flex-shrink: 0;
        background: #f8f9fa;
        border: 1px solid #ddd;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 6px;
    }

    .doc-icon img {
        max-width: 40px;
        height: auto;
    }

    .doc-details {
        min-width: 0;
        flex: 1;
    }

    .doc-details h4 {
        font-size: 16px;
        margin-bottom: 6px;
        color: #333;
        word-wrap: break-word;
    }

    .doc-details p {
        font-size: 13px;
        color: #888;
        margin: 0;
        word-wrap: break-word;
    }

    .docs-empty-state {
        background: #fff;
        border: 1px dashed #cbd5e1;
        border-radius: 16px;
        padding: 48px 20px;
        text-align: center;
        color: #64748b;
        grid-column: 1 / -1;
    }

    @media (max-width: 992px) {
        .programs-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (max-width: 768px) {
        .programs-grid,
        .syllabus-grid {
            grid-template-columns: 1fr;
        }

        .program-card-image {
            height: 180px;
        }

        .doc-card {
            flex-direction: row;
            align-items: flex-start;
        }
    }
