/* IELTS to CLB Converter Styles */

/* Hero Section */
.converter-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0 60px;
    text-align: center;
}

.converter-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.converter-hero i {
    margin-right: 10px;
    color: #ffd700;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.feature i {
    color: #4ade80;
    margin-right: 8px;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Converter Layout */
.converter-main {
    padding: 60px 0;
    background: #f8fafc;
}

.converter-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Input Card */
.input-card, .results-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: fit-content;
}

.input-card h2, .results-card h2 {
    color: #334155;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.input-card p, .results-card p {
    color: #64748b;
    margin-bottom: 25px;
}

/* Form Styles */
.converter-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skill-input {
    display: flex;
    flex-direction: column;
}

.skill-input label {
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.skill-input label i {
    margin-right: 10px;
    width: 20px;
    color: #667eea;
}

.skill-input select {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    background: white;
    transition: all 0.3s ease;
}

.skill-input select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Convert Button */
.convert-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 25px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.convert-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.convert-button i {
    margin-right: 8px;
}

/* Results */
.results-container {
    min-height: 200px;
}

.result-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #94a3b8;
}

.result-placeholder i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.result-item {
    background: #f1f5f9;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.result-item.excellent {
    border-color: #22c55e;
    background: #f0fdf4;
}

.result-item.good {
    border-color: #3b82f6;
    background: #eff6ff;
}

.result-item.fair {
    border-color: #f59e0b;
    background: #fffbeb;
}

.result-item.poor {
    border-color: #ef4444;
    background: #fef2f2;
}

.result-item h4 {
    margin: 0 0 10px;
    color: #334155;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-item .clb-score {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 5px;
}

.result-item .clb-label {
    font-size: 0.8rem;
    color: #64748b;
}

/* CRS Points */
.crs-points {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.crs-points h3 {
    margin: 0 0 15px;
    font-size: 1.1rem;
}

.points-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.points-item {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.points-label {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-bottom: 5px;
}

.points-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffd700;
}

/* Information Section */
.converter-info {
    padding: 60px 0;
    background: white;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.info-card {
    background: #f8fafc;
    padding: 30px;
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.info-card h3 {
    color: #334155;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.info-card h3 i {
    margin-right: 10px;
    color: #667eea;
}

.info-card p {
    color: #64748b;
    margin-bottom: 15px;
    line-height: 1.6;
}

.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card li {
    padding: 8px 0;
    color: #475569;
    position: relative;
    padding-left: 20px;
}

.info-card li::before {
    content: "•";
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Conversion Table */
.conversion-table-section {
    padding: 60px 0;
    background: #f8fafc;
}

.conversion-table-section h2 {
    text-align: center;
    color: #334155;
    margin-bottom: 40px;
    font-size: 2rem;
}

.table-container {
    overflow-x: auto;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.conversion-table {
    width: 100%;
    border-collapse: collapse;
}

.conversion-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
    font-weight: 600;
}

.conversion-table td {
    padding: 15px 20px;
    text-align: center;
    border-bottom: 1px solid #e2e8f0;
}

.conversion-table tbody tr:hover {
    background: #f1f5f9;
}

.clb-10 { background: #ecfdf5; }
.clb-9 { background: #f0fdf4; }
.clb-8 { background: #eff6ff; }
.clb-7 { background: #fffbeb; }
.clb-6 { background: #fef2f2; }
.clb-5 { background: #fdf2f8; }
.clb-4 { background: #f1f5f9; }

/* CTA Section */
.converter-cta {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cta-btn {
    padding: 15px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.cta-btn i {
    margin-right: 8px;
}

.cta-btn.primary {
    background: white;
    color: #667eea;
}

.cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
}

.cta-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid white;
}

.cta-btn.secondary:hover {
    background: white;
    color: #667eea;
}

/* Footer */
.footer {
    background: #1e293b;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    margin-bottom: 15px;
    color: #f1f5f9;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #667eea;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: #334155;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #667eea;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #334155;
    color: #94a3b8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .converter-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
    }
    
    .converter-hero h1 {
        font-size: 2rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .points-grid {
        flex-direction: column;
        gap: 15px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .converter-hero {
        padding: 60px 0 40px;
    }
    
    .converter-main {
        padding: 40px 0;
    }
    
    .input-card, .results-card {
        padding: 20px;
    }
    
    .conversion-table th,
    .conversion-table td {
        padding: 10px;
        font-size: 0.9rem;
    }
}
