/* Project Selector Component CSS */

.hero-form-container {
    width: 100%;
    max-width: 110%;
    transition: all 0.3s ease;
}

.hero-form-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.selection-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.selection-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-color: #cbd5e1;
}

.selection-card select {
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 1rem;
    background-color: white;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    appearance: none;
}

.selection-card select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.project-preview-section {
    background: #f8fafc;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e2e8f0;
    height: 300px;
    overflow-y: auto;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.project-preview-section:hover {
    border-color: #cbd5e1;
}

.project-item {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #2563eb;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.project-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-left-width: 6px;
}

.project-item h5 {
    color: #0f172a;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
}

.project-item p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-item .badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hook styling for engaging project titles */
.project-item h5 i {
    color: #2563eb;
    margin-right: 10px;
    font-size: 1.2rem;
}

.hook-text {
    font-weight: 700;
    color: #2563eb;
}

/* Custom scrollbar styling */
.project-preview-section::-webkit-scrollbar {
    width: 8px;
}

.project-preview-section::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.project-preview-section::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

.project-preview-section::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Intro text styling */
.project-preview-section > p:first-child {
    background: linear-gradient(90deg, #2563eb, #7c3aed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #e2e8f0;
}

.project-preview-section > p:first-child a {
    color: #7c3aed;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 1px dotted #7c3aed;
}

.project-preview-section > p:first-child a:hover {
    color: #2563eb;
    border-bottom: 1px solid #2563eb;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .selection-card {
        padding: 15px;
    }
    
    .selection-card select {
        padding: 10px 12px;
        font-size: 0.95rem;
    }
    
    .project-preview-section {
        padding: 15px;
        height: 250px;
    }
    
    .project-item {
        padding: 15px;
    }
    
    .project-item h5 {
        font-size: 1rem;
    }
    
    .project-item p {
        font-size: 0.85rem;
    }
    
    /* Make heading and description stack on mobile */
    h2.fw-bold.mb-4.text-dark.d-inline-block {
        display: block !important;
        margin-bottom: 10px !important;
        font-size: 1.5rem;
    }
    
    p.text-muted.mb-4.d-inline-block.ms-3 {
        display: block !important;
        margin-left: 0 !important;
        margin-bottom: 20px !important;
        font-size: 0.9rem;
    }
    
    .hero-form-container {
        max-width: 100%;
    }
}