/* Resume Review Section Styles */
.resume-review {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.resume-review::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23667eea" fill-opacity="0.03" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,133.3C960,128,1056,96,1152,90.7C1248,85,1344,107,1392,117.3L1440,128L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

.resume-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

.resume-left {
    background: white;
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
}

.resume-left:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}


.resume-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.3rem;
    line-height: 1.1;
}

.resume-header h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: #666;
    margin-bottom: 1rem;
}

.resume-main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.resume-image {
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.resume-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.resume-image:hover img {
    transform: scale(1.05);
}

.resume-main h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.resume-main p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.resume-features {
    margin-bottom: 1rem;
    flex-grow: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.95rem;
    font-weight: 600;
    color: #333;
}

.resume-right {
    background: white;
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 400px;
}


.resume-right:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
    border-color: var(--primary);
}

.ats-checker {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.ats-checker h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.ats-checker > p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.upload-area {
    border: 3px dashed #ddd;
    border-radius: 15px;
    padding: 2rem 1.5rem;
    text-align: center;
    background: #fafbfc;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 1.5rem;
}

.upload-content i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 0.8rem;
    display: block;
}

.upload-content h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.3rem;
}

.upload-content p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.3;
}

.why-ats h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 1.2rem;
}

.ats-stats {
    margin-bottom: 1.5rem;
}

.ats-stat {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.8rem;
    padding: 0.8rem;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.stat-percentage {
    font-size: 1.3rem;
    font-weight: 900;
    color: #e74c3c;
    flex-shrink: 0;
    min-width: 50px;
}

.stat-icon {
    font-size: 1rem;
    flex-shrink: 0;
    min-width: 25px;
}

.stat-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.ats-checks h5 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.8rem;
}

.check-items {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.check-item:hover {
    background: rgba(102, 126, 234, 0.1);
    transform: translateX(5px);
}

.check-item i {
    color: var(--primary);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.check-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.resume-left .btn {
    margin-top: 0;
    margin-bottom: 0;
}

.resume-left .btn-large {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 968px) {
    .resume-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .resume-left, .resume-right {
        padding: 2rem;
    }
    
    .resume-header h2 {
        font-size: 2rem;
    }
    
    .resume-main h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .resume-review {
        padding: 60px 0;
    }
    
    .resume-left, .resume-right {
        padding: 1.5rem;
    }
    
    .resume-header h2 {
        font-size: 1.8rem;
    }
    
    .resume-main h4 {
        font-size: 1.3rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .upload-content i {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .resume-left, .resume-right {
        padding: 1rem;
    }
    
    .resume-header h2 {
        font-size: 1.5rem;
    }
    
    .resume-main h4 {
        font-size: 1.2rem;
    }
    
    .upload-area {
        padding: 1.5rem 0.5rem;
    }
    
    .feature-item, .ats-stat {
        padding: 0.8rem;
    }
}
