body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    max-width: 800px;
    width: 100%;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}
.title {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5em;
    margin-bottom: 10px;
}
.subtitle {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1em;
    margin-bottom: 30px;
}
.search-container {
    margin: 20px 0;
}
.search-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 16px;
    box-sizing: border-box;
}
.search-btn {
    width: 100%;
    padding: 15px;
    background: #3498db;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}
.search-btn:hover {
    background: #2980b9;
}
.search-btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}
.loading {
    display: none;
    text-align: center;
    margin: 20px 0;
}
.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 2s linear infinite;
    margin: 0 auto;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.features {
    display: flex;
    justify-content: space-around;
    margin: 40px 0;
    flex-wrap: wrap;
}
.feature {
    text-align: center;
    max-width: 200px;
    margin: 20px 10px;
}
.feature-icon {
    font-size: 2em;
    margin-bottom: 10px;
}
.feature-title {
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 5px;
}
.feature-desc {
    color: #7f8c8d;
    font-size: 0.9em;
}

/* Results styling */
.results-container {
    margin-top: 30px;
    border-top: 2px solid #ecf0f1;
    padding-top: 20px;
}

.program-result {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.program-result:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.program-name {
    color: #2980b9;
    font-size: 1.4em;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: capitalize;
}

.program-description {
    color: #7f8c8d;
    margin-bottom: 15px;
    font-style: italic;
    line-height: 1.5;
}

.section-title {
    color: #34495e;
    font-weight: 600;
    margin: 10px 0;
    font-size: 1.1em;
}

.requirements {
    margin: 15px 0;
    background: white;
    padding: 15px;
    border-radius: 8px;
    border-left: 4px solid #3498db;
}

.requirements h4 {
    color: #34495e;
    margin-bottom: 10px;
    font-size: 1.1em;
}

.requirements ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: none;
}

.requirements li {
    margin: 8px 0;
    padding: 5px 0;
    color: #555;
    border-bottom: 1px solid #ecf0f1;
    position: relative;
    padding-left: 20px;
}

.requirements li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.requirements li:last-child {
    border-bottom: none;
}

.view-more {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9em;
    margin-top: 15px;
    transition: background 0.2s ease;
    font-weight: 500;
}

.view-more:hover {
    background: #2980b9;
    text-decoration: none;
}

.no-results {
    text-align: center;
    color: #7f8c8d;
    font-style: italic;
    padding: 40px 20px;
    background: #f8f9fa;
    border-radius: 10px;
    margin: 20px 0;
    border: 1px solid #e9ecef;
}

/* Error styling */
.error-message {
    background: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid #f5c6cb;
    text-align: center;
}

/* Show More Results styling */
.results-summary {
    text-align: center;
    margin-bottom: 20px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.results-summary p {
    margin: 0;
    color: #6c757d;
    font-weight: 500;
    font-size: 0.95em;
}

.show-more-container {
    text-align: center;
    margin: 30px 0;
    padding: 20px 0;
}

.show-more-btn {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.show-more-btn:hover {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.4);
}

.show-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(46, 204, 113, 0.3);
}

.show-more-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}