* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Tahoma, Arial, sans-serif;
    background: #0b1120;
    color: #f8fafc;
}

.container {
    width: 92%;
    max-width: 1200px;
    margin: auto;
}

header {
    background: #111827;
    border-bottom: 1px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    min-height: 70px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    margin: 0;
    color: #38bdf8;
    font-size: 27px;
}

nav {
    display: flex;
    gap: 20px;
}

nav a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 15px;
}

nav a:hover {
    color: #38bdf8;
}

.admin-link {
    background: #0284c7;
    padding: 10px 18px;
    border-radius: 8px;
}

.hero {
    min-height: 340px;
    display: flex;
    align-items: center;
    text-align: center;
    background:
        radial-gradient(
            circle at top,
            #172554,
            #0b1120 60%
        );
}

.hero h2 {
    font-size: 42px;
    margin-bottom: 10px;
}

.hero p {
    color: #94a3b8;
    font-size: 18px;
}

.search-box {
    margin: 30px auto 0;
    max-width: 600px;
}

.search-box input {
    width: 100%;
    padding: 17px 20px;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #111827;
    color: white;
    font-size: 16px;
    outline: none;
}

.search-box input:focus {
    border-color: #38bdf8;
}

.section-title {
    margin-top: 55px;
    margin-bottom: 30px;
    font-size: 28px;
}

.program-grid {
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    padding-bottom: 60px;
}

.program-card {
    background: #111827;
    border: 1px solid #1f2937;
    border-radius: 15px;
    overflow: hidden;
    transition: 0.3s;
}

.program-card:hover {
    transform: translateY(-5px);
    border-color: #0ea5e9;
}

.program-image {
    width: 100%;
    height: 190px;
    background: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-image {
    font-size: 65px;
}

.program-content {
    padding: 20px;
}

.category {
    color: #38bdf8;
    font-size: 13px;
}

.program-name {
    margin: 10px 0;
    font-size: 21px;
}

.program-content p {
    color: #94a3b8;
    line-height: 1.8;
    min-height: 55px;
}

.program-info {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #64748b;
    margin: 20px 0;
}

.details-btn {
    display: block;
    text-align: center;
    background: #0284c7;
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 8px;
}

.details-btn:hover {
    background: #0369a1;
}

.empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 80px;
    color: #94a3b8;
}

footer {
    padding: 25px;
    background: #111827;
    text-align: center;
    color: #64748b;
    border-top: 1px solid #1f2937;
}

@media (max-width: 600px) {

    .navbar {
        flex-direction: column;
        padding: 15px;
        gap: 15px;
    }

    .hero h2 {
        font-size: 32px;
    }

}
/* زر شراء رمز التفعيل */

.license-link {
    background: #16a34a;
    color: #ffffff !important;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.license-link:hover {
    background: #15803d;
    transform: translateY(-2px);
}