body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #d2d3d6;
}

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

h1, p {
    color: #303030;
}

h3 {
    font-size: x-large;
    color: #303030;
}

.header {
    text-align: center;
    margin-bottom: 2rem;
}

.search-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 2rem;
}

.search-input {
    padding: 12px;
    width: 70%;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #0055af;
}

.search-button {
    padding: 12px 24px;
    background-color: #0055af;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: #0165cf;
}

.welcome-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #007bff;
}

.welcome-message {
    text-align: center;
    padding: 2rem;
    color: #000000;
    font-size: large;
    margin-bottom: 2rem;
}

.redirect-container {
    text-align: center;
    background: linear-gradient(145deg, #eaedf0, #e0e2e7);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin: 10px auto;
    padding: 0px 20px 24px;
    max-width: 800px;
    border: 1px solid rgba(0, 102, 204, 0.1);
    transition: all 0.2s ease;
    color: #4a5568;
}

.redirect-container:hover {
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(0, 102, 204, 0.2);
}

.redirect-button {
    display: inline-block;
    padding: 14px 28px;
    background-color: #0055af;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.redirect-button:hover {
    background-color: #0165cf;
    transform: translateY(-2px);
}

.feedback {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.feedback-btn {
    font-size: 1.7rem;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    transition: all 0.2s;
    filter: contrast(0);
}

.feedback-btn:hover {
    transform: scale(1.3);
}

.feedback-btn.selected {
    filter: none;
}

.features {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 3rem;
    padding-bottom: 60px;
}

.feature-card {
    flex: 1;
    padding: 1rem;
    background: #eaedf0;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.tech-stack-header {
    color: #3f3f3f;
    font-size: 14px;
    margin: auto;
}

.tech-icons {
    position: absolute;
    transform: translateX(-50%);
    left: 50%;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    filter: grayscale(100%);
}

.tech-icon {
    position: relative;
    max-width: 80px;
    height: 24px;
}

.tech-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid #0055af;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Adjustments for mobile devices */
@media screen and (max-width: 768px) {
    .features {
        flex-direction: column;
        gap: 15px;
    }

    .tech-icons {
        position: static; /* Remove fixed positioning on mobile */
        padding: 20px 0px;
        width: 100%;
        max-width: 100%;
        transform: none;
    }

    .tech-icon {
        max-width: 60px;
        height: 20px;
    }
}
