:root {
    --primary-color: #BF9A33;
    --secondary-color: #333333;
    --dark-bg: #212529;
    --light-bg: #f8f9fa;
}

/* Hero Section */
.cv-hero {
    background: linear-gradient(rgba(33, 37, 41, 0.9), rgba(33, 37, 41, 0.9)), url('../images/midyear.jpg');
    background-size: cover;
    background-position: center;
    padding: 160px 0 100px;
    margin-bottom: -50px;
}

/* Upload Section */
.upload-card {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
    transition: transform 0.3s ease;
}

.upload-card:hover {
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: rgba(191, 154, 51, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.file-upload-wrapper {
    margin: 2rem 0;
}

/* Features */
.feature-box {
    background: white;
    border-radius: 10px;
    height: 100%;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.feature-box:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
}

/* Results Modal */
.avatar-circle {
    width: 80px;
    height: 80px;
    background: #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #6c757d;
    margin: 0 auto;
}

.skill-tag {
    background: rgba(191, 154, 51, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.bg-light-primary {
    background-color: rgba(191, 154, 51, 0.05);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal.show .modal-body {
    animation: fadeIn 0.4s ease-out;
}

/* Modal Styling - Cleaner Look */
.modal-content {
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.modal-header {
    background-color: #212529 !important;
    border-bottom: 1px solid var(--primary-color) !important;
}

.modal-title {
    color: var(--secondary-color);
}

/* Force dark close button if header is white */

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cv-hero {
        padding: 120px 0 60px;
        background-position: center top;
    }

    .upload-card {
        padding: 1.5rem !important;
        margin-top: -30px;
    }

    .feature-box {
        margin-bottom: 20px;
    }

    /* Adjust modal for mobile */
    .modal-dialog {
        margin: 10px;
    }

    .avatar-circle {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Ensure navbar collapses with dark bg */
    .navbar-collapse {
        background: rgba(33, 37, 41, 0.95);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }
}