@import url('https://fonts.googleapis.com/css2?family=Heebo:wght@400;700;900&family=Assistant:wght@400;600&display=swap');

body {
    font-family: 'Assistant', sans-serif;
    background-color: #F8F9FA; /* Off-White / Pearl White */
    color: #333333; /* Dark Charcoal */
    margin: 0;
    padding: 0;
    direction: rtl;
}

header {
    background-color: #1A365D; /* Navy Blue */
    color: white;
    padding: 40px 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

header h1 {
    font-family: 'Heebo', sans-serif;
    margin: 0;
    font-size: 2.5em;
    font-weight: 900;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.faculty-section {
    margin-bottom: 50px;
}

.faculty-title {
    font-family: 'Heebo', sans-serif;
    color: #1A365D;
    border-bottom: 3px solid #4682B4; /* Steel Blue */
    padding-bottom: 10px;
    margin-bottom: 25px;
}

/* Grid Layout for Degrees */
.degrees-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

/* Degree Card */
.degree-card {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #1A365D;
}

.degree-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.degree-title {
    font-family: 'Heebo', sans-serif;
    color: #1A365D;
    font-size: 1.4em;
    margin-top: 0;
    margin-bottom: 10px;
}

.degree-type {
    display: inline-block;
    background-color: #e2e8f0;
    color: #4a5568;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    margin-bottom: 20px;
}

/* Accordion Styles */
.accordion {
    background-color: #f1f5f9;
    color: #2d3748;
    cursor: pointer;
    padding: 15px;
    width: 100%;
    border: none;
    text-align: right;
    outline: none;
    font-size: 16px;
    font-family: 'Heebo', sans-serif;
    font-weight: 700;
    transition: 0.4s;
    border-radius: 6px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.active, .accordion:hover {
    background-color: #e2e8f0;
    color: #1A365D;
}

.accordion:after {
    content: '\002B'; /* Plus sign */
    font-size: 20px;
    font-weight: bold;
    float: left;
    margin-right: 5px;
}

.active:after {
    content: "\2212"; /* Minus sign */
}

.panel {
    padding: 0 15px;
    background-color: white;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    border-radius: 0 0 6px 6px;
    margin-bottom: 15px;
}

/* Course Item inside Panel */
.course-item {
    border-bottom: 1px solid #edf2f7;
    padding: 15px 0;
}
.course-item:last-child {
    border-bottom: none;
}

.course-name {
    font-weight: 600;
    color: #2b6cb0;
    font-size: 1.1em;
    margin-bottom: 5px;
}

.course-meta {
    font-size: 0.9em;
    color: #718096;
    margin-bottom: 10px;
}

.course-links a {
    display: inline-block;
    background-color: #4682B4; /* Steel Blue */
    color: white;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85em;
    margin-left: 8px;
    margin-bottom: 5px;
    transition: background 0.3s;
}
.course-links a:hover {
    background-color: #2c5282;
}

.no-data {
    color: #a0aec0;
    font-style: italic;
    font-size: 0.9em;
}
/* Search Bar Styles */
.search-wrapper input {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1em;
    font-family: 'Assistant', sans-serif;
    border: 2px solid #cbd5e0;
    border-radius: 30px;
    box-sizing: border-box;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.search-wrapper input:focus {
    outline: none;
    border-color: #4682B4;
    box-shadow: 0 4px 12px rgba(70, 130, 180, 0.2);
}