:root {
    --gradient-primary: linear-gradient(135deg, #FF6B6B 0%, #4ECDC4 100%);
    --color-accent: #FF6B6B;
    --font-family-base: 'Inter', system-ui, -apple-system, sans-serif;
}

body {
    font-family: var(--font-family-base);
    line-height: 1.6;
    background-color: var(--bs-dark);
}

.navbar {
    background: var(--bs-dark);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
}

.brand-emoji {
    font-size: 1.8rem;
    vertical-align: middle;
    margin-right: 0.5rem;

.feedback-content {
    font-family: var(--font-family-base);
}

.feedback-content strong,
.feedback-content b {
    font-weight: 600;
}

.feedback-content em,
.feedback-content i {
    font-style: italic;
}

.feedback-content ul {
    list-style-type: disc;
    margin-left: 1.2rem;
}

.feedback-content li {
    margin-bottom: 0.5rem;
}

}

.nav-link {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9) !important;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-1px);
}

.hero-section {
    text-align: center;
    padding: 8rem 0 6rem;
    background: var(--gradient-primary);
    border-radius: 0 0 3rem 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

/* Dark overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* Made darker for better contrast */
    z-index: 2; /* Between content and CV templates */
}

.hero-content {
    position: relative;
    z-index: 3; /* Above the overlay */
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5),
                 -1px -1px 0 rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 1);
    max-width: 600px;
    margin: 0 auto 3rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

.floating-cv {
    position: absolute;
    width: 300px;
    height: 400px;
    background: white;
    border-radius: 1rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotate(-5deg);
    animation: float 6s ease-in-out infinite;
    z-index: 1; /* Behind the overlay */
}

.floating-cv.left {
    left: -50px;
    bottom: -100px;
    transform: rotate(-15deg);
}

.floating-cv.right {
    right: -50px;
    bottom: -150px;
    transform: rotate(10deg);
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(-3deg); }
}

.upload-container {
    max-width: 800px;
    margin: -100px auto 2rem;
    padding: 2rem;
    border-radius: 1.5rem;
    background-color: var(--bs-dark);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

.upload-icon {
    font-size: 3.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1.5rem;
}

.custom-file-upload {
    cursor: pointer;
    padding: 3rem;
    border: 3px dashed rgba(255, 255, 255, 0.1);
    border-radius: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
}

.custom-file-upload:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    padding: 1rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border-radius: 0.8rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 107, 0.3);
}

.upload-instructions {
    margin-top: 1.5rem;
    color: var(--bs-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 1rem;
}

.features-section {
    padding: 4rem 0;
    text-align: center;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.alert {
    margin-top: 1rem;
}

.analysis-content {
    white-space: pre-line;
    line-height: 1.6;
    padding: 1rem;
    background-color: var(--bs-dark);
    border-radius: 4px;
}

.card {
    border: 1px solid var(--bs-secondary);
    margin-bottom: 1.5rem;
}

.card-header {
    background-color: var(--bs-dark);
    border-bottom: 1px solid var(--bs-secondary);
}

.chat-container {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 16px;
    background-color: var(--bs-dark);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.chat-messages {
    height: 400px;
    overflow-y: auto;
    margin-bottom: 1rem;
    padding: 1rem;
    border: 1px solid var(--bs-secondary);
    border-radius: 16px;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.8rem 1.2rem;
    border-radius: 16px;
    max-width: 80%;
}

.user-message {
    margin-left: auto;
    background: var(--gradient-primary);
    color: white;
}

.assistant-message {
    margin-right: auto;
    background-color: var(--bs-secondary);
    color: white;
}

.chat-input-form {
    margin-top: 1rem;
}

.welcome-message {
    text-align: center;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.interview-cta-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    margin: 2rem auto;
    max-width: 800px;
    padding: 3rem 2rem;
}

.interview-cta-section .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
}