/* MBBS Recommendation Engine Styles */

/* Hero Section */
.recommendation-hero {
    background: linear-gradient(120deg, rgba(0, 55, 235, 0.06), rgba(118, 75, 162, 0.08));
    padding: 100px 0 60px;
    min-height: 300px;
    display: flex;
    align-items: center;
}

.recommendation-hero .hero-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.recommendation-hero .hero-content p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

/* Questionnaire Section */
.recommendation-questionnaire {
    padding: 60px 0;
    background: #fff;
}

.questionnaire-wrapper {
    max-width: 800px;
    margin: 0 auto;
}

/* Progress Bar */
.progress-container {
    margin-bottom: 40px;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #0037eb, #764ba2);
    border-radius: 10px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Question Card */
.question-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #ecedf4;
    margin-bottom: 30px;
}

.question-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
    text-align: center;
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.option-btn {
    padding: 20px 30px;
    background: #fff;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px !important;
    font-size: 1rem;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.option-btn:hover {
    border-color: #0037eb;
    background: rgba(0, 55, 235, 0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 55, 235, 0.1);
}

.option-btn.selected {
    border-color: #0037eb;
    background: linear-gradient(120deg, rgba(0, 55, 235, 0.1), rgba(118, 75, 162, 0.1));
    color: #0037eb;
    font-weight: 600;
}

/* Navigation Buttons */
.question-navigation {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
}

.question-navigation .ep-btn {
    flex: 1;
    max-width: 200px;
}

/* Results Section */
.recommendation-results {
    padding: 60px 0;
    background: #f8f9fa;
}

.results-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.results-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 40px;
    text-align: center;
}

/* Country Recommendation */
.country-recommendation {
    margin-bottom: 50px;
}

.country-card {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
    border: 1px solid #ecedf4;
}

.country-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0037eb;
    margin-bottom: 20px;
}

.country-content {
    color: #555;
    line-height: 1.8;
}

.country-why {
    font-size: 1.1rem;
    color: #333;
    margin-bottom: 15px;
}

.country-highlights {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e5e7eb;
}

.country-highlights h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.country-highlights ul {
    list-style: none;
    padding: 0;
}

.country-highlights ul li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: #555;
}

.country-highlights ul li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0037eb;
    font-weight: bold;
}

/* Universities Recommendation */
.universities-recommendation h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 30px;
}

.universities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.university-card {
    background: #fff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
    border: 1px solid #ecedf4;
    transition: all 0.3s ease;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.university-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e7eb;
}

.university-header h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.university-country {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 55, 235, 0.1);
    color: #0037eb;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
}

.university-details {
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: #555;
    font-size: 0.95rem;
}

.detail-item i {
    color: #0037eb;
    font-size: 1rem;
}

.university-link {
    width: 100%;
    text-align: center;
    margin-top: 15px;
}

.no-results {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.no-results p {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 25px;
}

/* Results Actions */
.results-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.results-actions .ep-btn {
    min-width: 200px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .recommendation-hero .hero-content h1 {
        font-size: 2rem;
    }

    .recommendation-hero .hero-content p {
        font-size: 1rem;
    }

    .question-card {
        padding: 25px 20px;
    }

    .question-title {
        font-size: 1.4rem;
    }

    .option-btn {
        padding: 15px 20px;
        font-size: 0.95rem;
    }

    .country-card {
        padding: 25px 20px;
    }

    .country-header h3 {
        font-size: 1.5rem;
    }

    .universities-grid {
        grid-template-columns: 1fr;
    }

    .question-navigation {
        flex-direction: column;
    }

    .question-navigation .ep-btn {
        max-width: 100%;
    }

    .results-actions {
        flex-direction: column;
    }

    .results-actions .ep-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .recommendation-hero {
        padding: 60px 0 40px;
    }

    .recommendation-hero .hero-content h1 {
        font-size: 1.6rem;
    }

    .question-card {
        padding: 20px 15px;
    }

    .question-title {
        font-size: 1.2rem;
    }

    .country-card {
        padding: 20px 15px;
    }
}

