body {
    font-family: 'Tajawal', sans-serif;
    background-color: #f1f4f8;
}
.hero-section {
    padding: 0;
    min-height: 420px;
    position: relative;
    background: none;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: url('../hero-bg.png') no-repeat center center/cover;
    z-index: 1;
}
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.38); /* تغبيش أبيض أخف ليظهر الخلفية بوضوح */
    z-index: 2;
}
.hero-content {
    position: relative;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 0;
    flex-direction: row-reverse;
}
.login-form-container {
    width: 410px;
    background: rgba(255,255,255,0.95);
    box-shadow: 0 4px 24px rgba(0,43,91,0.08);
    border-radius: 16px;
    padding: 32px 28px 24px 28px;
    margin-bottom: 0;
}
.form-title {
    color: #002b5b;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}
.form-group {
    margin-bottom: 18px;
}
.form-label {
    color: #002b5b;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}
.form-input {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    padding: 0 12px;
}
.form-help-text {
    text-align: center;
    margin-bottom: 18px;
    font-size: 13px;
}
.form-help-text a {
    color: #0074d9;
    font-weight: 700;
    text-decoration: none;
}
.submit-btn {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    background-color: #0074d9;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    margin-top: 8px;
}
.hero-text {
    width: 480px;
    text-align: right;
}
.hero-title {
    color: #002b5b;
    font-size: 28px;
    font-weight: 800;
    line-height: 43px;
    margin-bottom: 18px;
}
.hero-description {
    color: #555;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 28px;
}
.hero-buttons {
    display: flex;
    gap: 18px;
    margin-top: 18px;
}
.outline-btn, .primary-btn {
    height: 48px;
    padding: 0 32px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
    box-shadow: none;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}
.outline-btn {
    background-color: #fff;
    color: #0074d9;
    border: 2px solid #0074d9;
}
.outline-btn:hover {
    background: #0074d9;
    color: #fff;
}
.primary-btn {
    background-color: #0074d9;
    color: #fff;
    border: none;
}
.primary-btn:hover {
    background: #005fa3;
}
.university-selector {
    background-color: #002b5b;
    border-radius: 16px;
    padding: 38px 0 32px 0;
    margin: 40px 0 32px 0;
    box-shadow: 0 4px 24px rgba(0,43,91,0.06);
}
.section-title {
    color: #fff;
    font-size: 21px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}
.university-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
}
.university-card {
    width: 170px;
    background-color: #fff;
    border-radius: 12px;
    padding: 18px 10px 12px 10px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,43,91,0.04);
    transition: box-shadow 0.2s;
}
.university-card:hover {
    box-shadow: 0 4px 16px rgba(0,43,91,0.10);
}
.university-logo-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #f1f4f8;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.university-logo {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
}
.university-name {
    color: #002b5b;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.universities-section {
    padding: 40px 0;
}
.universities-title {
    color: #002b5b;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}
.universities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
}
.lecturers-section {
    padding: 40px 0;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.show-all-link {
    color: #0074d9;
    font-weight: 700;
    text-decoration: none;
}
.lecturers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.lecturer-placeholder {
    height: 120px;
    background-color: #e7edf8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 600;
}

/* College Styles */
.college-card {
    transition: all 0.3s ease;
    border: 1px solid #e7edf8;
    border-radius: 15px;
    background: #fff;
}

.college-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-color: #0074d9;
}

.college-card .card-body {
    padding: 2rem 1.5rem;
}

.college-icon {
    color: #0074d9;
}

.university-logo-large {
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.university-title {
    color: #002b5b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.college-title {
    color: #002b5b;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.college-stats {
    text-align: center;
}

.stat-item {
    display: inline-block;
    margin: 0 1rem;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #0074d9;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.level-title {
    color: #002b5b;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #e7edf8;
}

.section-card {
    transition: all 0.3s ease;
    border: 1px solid #e7edf8;
    border-radius: 10px;
}

.section-card:hover {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.form-check-input:checked + .form-check-label {
    color: #0074d9;
    font-weight: 600;
}

.breadcrumb {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1rem 1.5rem;
}

.breadcrumb-item a {
    color: #0074d9;
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: #0056b3;
}

.breadcrumb-item.active {
    color: #6c757d;
}

@media (max-width: 991px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    .login-form-container,
    .hero-text {
        width: 100%;
        max-width: 480px;
    }
    .lecturers-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    .university-cards, .universities-list {
        gap: 15px;
    }
}
@media (max-width: 640px) {
    .lecturers-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
    .university-card, .universities-list .university-card {
        width: 140px;
        padding: 15px 8px 10px 8px;
    }
}
.register-container {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,43,91,0.08);
    padding: 40px;
    margin: 40px auto;
    max-width: 800px;
}
.register-title {
    color: #002b5b;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}
.register-form {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}
.form-col {
    flex: 1;
    min-width: 300px;
}
.form-group {
    margin-bottom: 20px;
}
.form-label {
    color: #002b5b;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}
.form-input, .form-select {
    width: 100%;
    height: 44px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    background-color: #fff;
    padding: 0 12px;
}
.form-input:focus, .form-select:focus {
    outline: none;
    border-color: #0074d9;
}
.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}
.btn-register {
    height: 48px;
    padding: 0 32px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-register {
    background-color: #0074d9;
    color: #fff;
}
.btn-register:hover {
    background: #005fa3;
}
.btn-cancel {
    height: 48px;
    padding: 0 32px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    border: 2px solid #6c757d;
    background-color: transparent;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.2s;
}
.btn-cancel:hover {
    background: #6c757d;
    color: #fff;
}
.order-form-container {
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0,43,91,0.08);
    padding: 40px;
    margin: 40px auto;
    max-width: 1000px;
}
.order-form-title {
    color: #002b5b;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
    text-align: center;
}
.order-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
textarea {
    width: 100%;
    min-height: 100px;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    padding: 12px;
    resize: vertical;
}
.btn-order {
    height: 48px;
    padding: 0 32px;
    border-radius: 10px;
    font-size: 17px;
    font-weight: 700;
    background-color: #0074d9;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    align-self: center;
}
.btn-order:hover {
    background: #005fa3;
}
.alert-warning, .alert-success, .alert-danger {
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 20px;
    border: none;
}
@media (max-width: 900px) {
    .register-form,
    .order-form {
        flex-direction: column;
    }
    .form-col {
        min-width: auto;
    }
}
