﻿@font-face {
    font-family: 'Cairo';
    src: url('../fonts/arabic/Cairo/Cairo-VariableFont_slnt_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'tajawal';
    src: url('../fonts/arabic/Tajawal/Tajawal-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'helvetica';
    src: url('../fonts/arabic/Helvetica/alfont_com_AlFont_com_helveticaneueltarabicroman1.ttf') format('truetype');
}

body {
    font-family: 'helvetica', sans-serif;
    display: flex;
}

.sidebar {
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    background: #2d3436;
    color: white;
    padding: 20px;
    position: fixed;
    top: 0;
    box-sizing: border-box;
}

    .sidebar::-webkit-scrollbar {
        display: none;
    }

    .sidebar a {
        display: flex;
        align-items: center;
        padding: 7px;
        color: white;
        font-size: 17px;
        text-decoration: none;
        border-radius: 5px;
        transition: 0.3s;
    }

        .sidebar a:hover, .sidebar a.active {
            background: #15171c;
            border-radius: 30px;
        }

    .sidebar i {
        font-size: 15px;
        /*margin-right: 10px;*/
    }

.content h1 {
    color: #265687;
}

.content img {
    max-width: 100%;
    height: auto;
}
/* Dropdown Styling */
.dropdown-menu {
    position: relative;
    background: #1A252F;
    border: none;
}

    .dropdown-menu a {
        color: #1A252F !important;
        padding-left: 30px;
    }

        .dropdown-menu a:hover {
            background: #15171c;
            color: white !important;
        }

.nested-menu {
    background-color: #222;
    padding: 10px;
    border-radius: 5px;
    margin-top: 5px;
}

.module-item.active {
    background-color: #15171c;
    color: white;
}

.search-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.4em;
    flex-wrap: nowrap;
    width: 100%;
}

    .search-section input {
        flex: 1;
        min-width: 0;
        height: 2.5em;
        border: solid white;
        border-radius: 1.5em;
        margin: 0.5em 0;
        padding: 0 1em;
        box-sizing: border-box;
        font-size: 0.85em;
    }

    .search-section button {
        border: solid white;
        border-radius: 2em;
        height: 2.5em;
        padding: 0 0.8em;
        font-size: 0.85em;
        white-space: nowrap;
        flex-shrink: 0;
    }
/*.search-section input {
    width: 80%;
    height: 20%;
    border: solid white;
    border-radius: 25px;
    margin: 10px 0px;
}

.search-section button {
    border: solid white;
    border-radius: 15px;
}*/

.highlight {
    background-color: yellow;
    font-weight: bold;
}

.search-results {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.result-card {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 15px;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.3s;
    border: 1px solid #ddd;
}

    .result-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    }

    .result-card a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

.result-title {
    font-size: 18px;
    font-weight: bold;
    color: #265687;
    margin-bottom: 5px;
}

.result-description {
    font-size: 14px;
    color: #666;
}

.video-size {
    width: 60%;
}

.downloads-page {
    padding: 30px 20px;
    max-width: 750px;
    margin: 0 auto;
}

.page-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #333;
}

    .page-title i {
        margin-inline-end: 8px;
        color: #0078D4;
    }

/* Card */
.version-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 28px 24px;
    margin-bottom: 24px;
    transition: box-shadow 0.3s ease;
}

    .version-card:hover {
        box-shadow: 0 8px 28px rgba(0, 0, 0, 0.13);
    }

/* Buttons — stacked vertically */
.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 40%;
}

    .download-btn i {
        font-size: 22px;
    }

    .download-btn span {
        flex: 1;
        text-align: center;
    }

.windows-btn {
    background-color: #0078D4;
    color: white;
}

    .windows-btn:hover {
        background-color: #005fa3;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 120, 212, 0.35);
    }

.mac-btn {
    background-color: #1d1d1f;
    color: white;
}

    .mac-btn:hover {
        background-color: #000;
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
    }
/* Divider */
.btn-desc-divider {
    margin: 20px 0;
    border-color: #f0f0f0;
}

/* Description */
.version-description {
    font-size: 14px;
    line-height: 1.9;
    color: #555;
}
