/* =========================================================
    GLOBAL FONT
========================================================= */
body,
button,
input,
select,
textarea {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* =========================================================
    DOWNLOAD SECTION (Spacing)
========================================================= */
.download-section {
    padding: 60px 0;
}

.download-section h1 {
    margin-bottom: 15px;
}

.download-section p {
    margin-bottom: 35px;
    color: #444;
    line-height: 1.7;
}

/* =========================================================
    SEARCH SECTION (Glass Box)
========================================================= */
.search-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);

    line-height: 1.8;
    text-align: center;
}

.search-section h1 {
    margin-bottom: 15px;
    color: #333;
}

.search-section p {
    margin-bottom: 18px;
    color: #555;
}

/* =========================================================
    SEARCH BOX
========================================================= */
.search-box {
    width: 100%;
    max-width: 700px;
    margin: 30px auto 40px;

    display: flex;
    gap: 10px;
}

.search-box input[type="text"] {
    flex: 1;
    padding: 12px 15px;
    font-size: 15px;

    border: 1px solid #bbb;
    border-radius: 8px;
    outline: none;

    transition: 0.25s;
}

.search-box input[type="text"]:focus {
    border-color: #0073ff;
    box-shadow: 0 0 5px rgba(0, 115, 255, 0.05);
}

.search-box button {
    padding: 12px 22px;
    font-size: 15px;

    background: #0073ff;
    color: #fff;

    border: none;
    border-radius: 8px;
    cursor: pointer;

    transition: 0.25s;
}

.search-box button:hover {
    background: #005fd4;
}

/* =========================================================
    CATEGORY GRID (Files Page)
========================================================= */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

/* =========================================================
    FILE CARD (Glass)
========================================================= */
.file-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);

    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.file-card:hover {
    transform: translateY(-6px);
}

.file-card img {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
}

.file-card h3 {
    font-size: 16px;
    margin-bottom: 15px;
    min-height: 45px;
}

/* =========================================================
    CARD BUTTONS
========================================================= */
.card-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.card-buttons a {
    padding: 6px 12px;
    border-radius: 8px;

    text-decoration: none;
    font-size: 14px;

    transition: 0.3s;
}

.btn-download {
    background: #00bcd4;
    color: #fff;
}

.btn-info {
    background: #444;
    color: #fff;
}

/* =========================================================
    DOWNLOAD GRID (Homepage Columns)
========================================================= */
.download-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.download-column h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.2rem;
    color: #333;
}

/* =========================================================
    GLASS COLUMN
========================================================= */
.glass-column {
    width: 100%;
    height: 420px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);

    padding: 15px;
}

.items-wrapper {
    flex: 1;
    overflow-y: auto;
    padding-right: 5px;
}

.view-all-btn {
    display: block;
    text-align: center;

    margin-top: 12px;
    padding: 8px 0;

    text-decoration: none;

    color: #0d6efd;
    font-weight: 600;

    transition: 0.2s;
}

.view-all-btn:hover {
    color: #0048c7;
}

/* =========================================================
    DOWNLOAD ITEMS
========================================================= */
.download-item {
    display: block;

    margin: 6px 0;
    padding: 6px 0;

    text-decoration: none;
    color: #2c3e50;

    font-size: 15px;
    font-weight: 500;

    text-align: center;

    transition: all 0.2s ease;
}

.download-item:hover {
    color: #0d6efd;
    transform: translateX(4px);
}

/* =========================================================
    BUTTONS
========================================================= */
.download-btn {
    display: inline-block;

    padding: 10px 22px;
    font-size: 15px;

    text-decoration: none;
    color: #fff;

    background: #2d2d2d;
    border-radius: 8px;

    transition: 0.3s;
}

.download-btn:hover {
    background: #000;
}

.more-btn {
    display: inline-block;
    margin-top: 10px;
    color: #00b2ff;
}

/* =========================================================
    BREADCRUMB
========================================================= */
.breadcrumb {
    font-size: 14px;
    margin-bottom: 25px;
    color: #666;
}

.breadcrumb a {
    color: #1e73e8;
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* =========================================================
    MAIN FILE BOX (Glass Card)
========================================================= */
.file-detail-box {
    max-width: 1320px;
    margin: 0 auto;
    padding: 45px 50px;

    border-radius: 20px;

    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);

    text-align: center;
    transition: 0.3s ease;
}

.file-detail-box:hover {
    transform: translateY(-5px);
}

/* =========================================================
    FILE ICON
========================================================= */
.file-icon-large {
    width: 120px;
    margin-bottom: 25px;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.25));
}

/* =========================================================
    TITLE (Inside File Box)
========================================================= */
.file-detail-box h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #222;
}

/* =========================================================
    DESCRIPTION (Inside File Box)
========================================================= */
.file-description {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 30px;
}

/* =========================================================
    DOWNLOAD BUTTON (Big, Professional)
========================================================= */
.btn-download-big {
    display: inline-block;
    padding: 14px 38px;

    font-size: 17px;
    font-weight: 600;

    color: #fff;
    text-decoration: none;

    border-radius: 12px;
    background: linear-gradient(135deg, #2c7be5, #1a5adf);

    box-shadow: 0 8px 22px rgba(44, 123, 229, 0.35);
    transition: all 0.25s ease;
}

.btn-download-big:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(44, 123, 229, 0.45);
}

.btn-download-big:active {
    transform: scale(0.97);
}

/* =========================================================
    META INFO
========================================================= */
.file-meta {
    margin-top: 28px;
    font-size: 13px;
    color: #777;
    line-height: 1.6;
}

/* =========================================================
    RESPONSIVE
========================================================= */

/* Tablet Large */
@media (max-width: 992px) {
    .download-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Tablet */
@media (max-width: 768px) {
    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .file-detail-box {
        padding: 30px 25px;
    }

    .file-detail-box h1 {
        font-size: 22px;
    }

    .file-description {
        font-size: 14px;
    }

    .btn-download-big {
        font-size: 15px;
        padding: 12px 28px;
    }
}

/* Mobile */
@media (max-width: 600px) {
    .download-grid {
        grid-template-columns: 1fr;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box button {
        width: 100%;
    }
}
